/* space.css — the Hologram Space, built ON the real OS kernel.
 * holo-theme.css gives palette + type + the 16px readability floor.
 * holo-phi.css gives the golden ratio (--holo-size-*, --holo-phi-fr).
 * This layer composes them into one calm screen. One accent. Dark first.
 * One type size for everything except the headline — disciplined by design. */

:root { --ui: 1.125rem; }              /* the single body size, ~18px */

* { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; background: var(--holo-bg); }
body {
  margin: 0;
  color: var(--holo-ink);
  background: var(--holo-bg);
  font-size: var(--ui);
  line-height: 1.5;
  letter-spacing: var(--holo-tracking-tight);
  overflow: hidden;                    /* one screen, never scrolls */
  display: grid;
  grid-template-rows: auto 1fr;        /* masthead · stage */
  -webkit-font-smoothing: antialiased;
}

/* ── The living layer: a slow Hologram glow, the way the Q orb breathes.
 *    Pure light, behind everything, so text stays razor sharp. ─────────── */
.aura { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aura::before, .aura::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5; mix-blend-mode: screen;
}
.aura::before {
  width: 44vmax; height: 44vmax; left: -8vmax; top: -16vmax;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--holo-accent) 68%, transparent), transparent 62%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.aura::after {
  width: 40vmax; height: 40vmax; right: -10vmax; bottom: -16vmax;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, #7aa2ff 55%, transparent), transparent 62%);
  animation: drift2 27s ease-in-out infinite alternate;
}
.grid-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--holo-ink) 7%, transparent) 1px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: radial-gradient(130% 90% at 50% 40%, #000 30%, transparent 78%);
}
@keyframes drift1 { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-7vmax, -5vmax, 0) scale(1.08); } }

/* ── Shared column frame ──────────────────────────────────────────────── */
.masthead, .stage { position: relative; z-index: 1; width: 100%;
  max-width: 74rem; margin-inline: auto; padding-inline: var(--holo-size-l); }

/* ── Masthead: brand lockup + two quiet links ─────────────────────────── */
.masthead { display: flex; align-items: center; justify-content: space-between;
  gap: var(--holo-size-m); padding-block: clamp(0.7rem, 2vh, 1.5rem); }
.brand { display: inline-flex; align-items: center; gap: var(--holo-size-xs);
  font-weight: 700; text-decoration: none; color: var(--holo-ink); }
.mark { display: block; width: 30px; height: 30px;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--holo-accent) 45%, transparent)); }
.nav { display: flex; gap: var(--holo-size-l); }
.nav a { color: var(--holo-ink-dim); text-decoration: none; font-weight: 500;
  transition: color .15s ease; }
.nav a:hover { color: var(--holo-accent); }

/* ── The stage: a balanced golden split, vertically centred ─────────────
 *    Hero (φ) beside the three promises (1). Narrow screens stack. ────── */
.stage { align-self: center; display: grid;
  gap: clamp(1rem, 3vh, var(--holo-size-l));
  padding-block: clamp(0.6rem, 2vh, var(--holo-size-m)); }
.hero { display: grid; gap: clamp(1rem, 2.4vh, var(--holo-size-m)); align-content: center; }

@media (min-width: 64rem) {
  .stage { grid-template-columns: var(--holo-phi-fr) 1fr; align-items: center;
    gap: var(--holo-size-2xl); }
  .promises { grid-template-columns: 1fr;
    padding-left: var(--holo-size-l); border-left: 1px solid var(--holo-border); }
}

h1 { margin: 0; font-weight: 700; letter-spacing: -0.035em;
  font-size: clamp(2.6rem, min(6.6vw, 10vh), 4.75rem); line-height: 1.03;
  max-width: 16ch; }

.lede { margin: 0; max-width: 42ch; line-height: 1.5; color: var(--holo-ink-dim); }
.lede strong { color: var(--holo-ink); font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; gap: var(--holo-size-xs); margin-top: var(--holo-size-2xs); }
.btn { display: inline-flex; align-items: center;
  padding: 0.7rem var(--holo-size-m); border-radius: var(--holo-radius);
  font: inherit; font-weight: 600; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--holo-accent); color: var(--holo-accent-ink);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--holo-accent) 38%, transparent); }
.btn.primary:hover { transform: translateY(-1px);
  box-shadow: 0 10px 40px color-mix(in srgb, var(--holo-accent) 52%, transparent); }
.btn.ghost { color: var(--holo-ink); border-color: var(--holo-border-emphasized);
  background: color-mix(in srgb, var(--holo-surface) 65%, transparent); }
.btn.ghost:hover { background: var(--holo-surface); }

/* ── Three plain promises. Same size as everything, weight sets the rank ── */
.promises { display: grid; gap: var(--holo-size-m); grid-template-columns: 1fr; }
@media (min-width: 46rem) and (max-width: 63.999rem) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { display: grid; gap: var(--holo-size-3xs); }
.promise h3 { margin: 0; font-size: inherit; font-weight: 700; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: var(--holo-size-xs); }
.promise h3::before { content: ""; width: 9px; height: 9px; border-radius: 3px; flex: none;
  background: var(--holo-accent); box-shadow: 0 0 12px color-mix(in srgb, var(--holo-accent) 60%, transparent); }
.promise p { margin: 0; line-height: 1.5; color: var(--holo-ink-dim); }
