/* ============================================================
   RAMMENTA - landing page
   Aesthetic: "Spectral night" - sound rendered as light in deep space.
   Surface IS warm-black Ink; Signal Red→Ember is the living signal.
   ============================================================ */

:root {
  /* Brand anchors (exact, matched to RammentaBrand.swift) */
  --red:   #ff3b30;
  --ember: #d70015;
  --ink:   #14110f;
  --bone:  #faf7f2;
  --mist:  #ede9e3;
  --ash:   #8a8580;

  /* Warm-black surface stack (tinted toward the brand hue, never pure black) */
  --bg:     #100d0c;
  --bg-2:   #16110f;
  --surface:#1c1613;
  --raised: #241c18;
  --hair:   rgba(250, 247, 242, 0.14);
  --hair:   color-mix(in srgb, var(--bone) 14%, transparent);
  --hair-2: rgba(250, 247, 242, 0.08);
  --hair-2: color-mix(in srgb, var(--bone) 8%, transparent);

  /* Text on dark (rgba fallbacks first for pre-2023 browsers; contrast on --bg:
     fg 16.9:1, fg-dim 7.7:1, fg-mute bumped to 56% ≈ 6.3:1 - all pass WCAG AA) */
  --fg:     #f4efe8;
  --fg-dim: rgba(250, 247, 242, 0.64);
  --fg-dim: color-mix(in srgb, var(--bone) 64%, transparent);
  --fg-mute:rgba(250, 247, 242, 0.56);
  --fg-mute:color-mix(in srgb, var(--bone) 56%, transparent);

  /* Signal */
  --glow:   #ef2325;
  --glow:   color-mix(in srgb, var(--red) 60%, var(--ember));
  --accent: var(--red);

  /* Type */
  --display: "Fraunces", "New York", Georgia, serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", monospace;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --r-card: 16px;
  --r-lg: 24px;

  /* Motion */
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --quint: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Keyboard focus: a strong, theme-consistent ring that reads on warm-black. */
:where(a, button, input):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 5px rgba(255, 59, 48, 0.28);
}

/* Honor reduced motion globally: quiet every animation + transition, including
   the always-on decorative pulses (livedot, sonar, scrollPulse, spin, floaty). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--ui);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden) so it doesn't break position:sticky */
}

img, canvas { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--red); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 0 0 12px 0; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---- Typography primitives ---- */
.display {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 38ch;
}
.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.num-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---- Buttons / pills ---- */
.pill {
  --pad-y: 0.68rem; --pad-x: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600; font-size: 0.97rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.4s var(--expo), box-shadow 0.4s var(--expo), background 0.3s ease;
  will-change: transform;
}
.pill--lg { --pad-y: 0.9rem; --pad-x: 1.85rem; font-size: 1.04rem; }
.pill--accent {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--ember));
  box-shadow: 0 10px 34px -8px color-mix(in srgb, var(--ember) 75%, transparent),
              inset 0 1px 0 color-mix(in srgb, #fff 30%, transparent);
}
.pill--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px -10px color-mix(in srgb, var(--red) 70%, transparent),
              inset 0 1px 0 color-mix(in srgb, #fff 36%, transparent);
}
.pill--ghost {
  color: var(--fg);
  background: color-mix(in srgb, var(--bone) 6%, transparent);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.pill--ghost:hover { background: color-mix(in srgb, var(--bone) 11%, transparent); transform: translateY(-2px); }

/* ============================================================
   BOOT - cinematic first load
   ============================================================ */
.boot {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 45%, var(--bg-2), var(--bg) 70%);
  transition: opacity 0.7s var(--expo), visibility 0.7s;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__mark { width: min(38vw, 220px); aspect-ratio: 1; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--gutter);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--hair-2);
}
.brandlock { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--fg); }
.brandlock__mark { width: 30px; height: 30px; }
.brandlock__name { font-weight: 700; font-size: 1.18rem; letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav__links a:not(.pill) {
  text-decoration: none; color: var(--fg-dim); font-weight: 500; font-size: 0.94rem;
  transition: color 0.25s ease;
}
.nav__links a:not(.pill):hover { color: var(--fg); }
.nav__cta { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 7rem var(--gutter) 4rem;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(80% 60% at 62% 42%, transparent, color-mix(in srgb, var(--bg) 60%, transparent) 78%),
    linear-gradient(to bottom, transparent 60%, var(--bg) 99%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero__kicker {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--fg-mute); text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(3.4rem, 12vw, 9.5rem);
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 34px rgba(6, 4, 3, 0.55);
}
.hero__title .kw {
  display: inline-block;
  opacity: 0; transform: translateY(0.32em);
  filter: blur(8px);
}
.hero__title .kw--accent { color: var(--red); }
.hero.is-lit .kw { animation: kwIn 0.9s var(--expo) both; }
.hero.is-lit .kw:nth-child(1) { animation-delay: 0.05s; }
.hero.is-lit .kw:nth-child(2) { animation-delay: 0.16s; }
.hero.is-lit .kw:nth-child(3) { animation-delay: 0.27s; }
@keyframes kwIn { to { opacity: 1; transform: none; filter: blur(0); } }

.hero__lede { font-size: clamp(1.12rem, 1.7vw, 1.5rem); max-width: 30ch; color: var(--fg-dim); margin-bottom: 2.2rem; text-shadow: 0 1px 20px rgba(6, 4, 3, 0.6); }
.hero__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__trust {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.92rem; color: var(--fg-mute);
}
.hero__trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 12px 2px color-mix(in srgb, var(--red) 80%, transparent); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.8rem; z-index: 2;
  transform: translateX(-50%);
}
.hero__scrollline { display: block; width: 1px; height: 46px;
  background: linear-gradient(var(--fg-mute), transparent);
  position: relative; overflow: hidden; }
.hero__scrollline::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%;
  background: var(--red);
  animation: scrollPulse 1.9s var(--expo) infinite;
}
@keyframes scrollPulse { to { top: 100%; } }

/* ============================================================
   PROOF LINE
   ============================================================ */
.proof {
  text-align: center;
  padding: clamp(4rem, 11vh, 8rem) var(--gutter);
  max-width: 1000px; margin: 0 auto;
}
.proof__line {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 3.3rem);
  line-height: 1.18; letter-spacing: -0.02em;
}
.proof__line .num { color: var(--red); font-variant-numeric: tabular-nums; }
.proof__sub { color: var(--fg-mute); margin-top: 1.4rem; font-size: 1.05rem; }

/* ============================================================
   Shared section feel
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--expo), transform 0.9s var(--expo); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__title .kw { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---- Device shell shared ---- */
.device { position: relative; }
.device__glow {
  position: absolute; inset: -16% 0 -22%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 45%, color-mix(in srgb, var(--ember) 42%, transparent), transparent 70%);
  filter: blur(38px); opacity: 0.6;
}

/* ============================================================
   CAPTURE → RECALL (pinned scrollytelling)
   ============================================================ */
.capture { position: relative; }
@media (min-width: 961px) { .capture { min-height: 300vh; } }
.capture__sticky {
  position: sticky; top: 0; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 2rem;
  max-width: var(--maxw); margin: 0 auto; padding: 6rem var(--gutter);
}
.capture__copy { max-width: 30rem; }
.capture__steps { list-style: none; margin-top: 2.4rem; display: grid; gap: 0.4rem; }
.capture__step {
  display: flex; gap: 1.1rem; padding: 1rem 1.1rem;
  border-radius: 14px;
  opacity: 0.32; transition: opacity 0.5s var(--expo), background 0.5s var(--expo);
}
.capture__step.is-on { opacity: 1; background: color-mix(in srgb, var(--bone) 4%, transparent); }
.capture__no { font-family: var(--mono); color: var(--red); font-size: 0.9rem; padding-top: 0.25rem; }
.capture__step h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.capture__step p { color: var(--fg-dim); font-size: 0.98rem; margin-top: 0.2rem; }
.capture__stage { display: grid; place-items: center; }

/* ============================================================
   PHONE device
   ============================================================ */
.phone {
  position: relative;
  width: min(310px, 78vw); aspect-ratio: 9 / 19.3;
  background: linear-gradient(160deg, #2a2320, #15110f);
  border-radius: 44px;
  padding: 9px;
  box-shadow:
    0 50px 90px -30px rgba(0,0,0,0.85),
    inset 0 0 0 1.5px color-mix(in srgb, var(--bone) 12%, transparent),
    inset 0 0 0 7px #0b0908;
}
.phone--sm { width: min(250px, 70vw); border-radius: 38px; }
.phone__notch {
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: #0b0908; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone--sm .phone__notch { height: 18px; }
.phone__screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, var(--bg-2), var(--bg) 60%);
  padding: 2.6rem 1rem 1.1rem;
}
.phone--sm .phone__screen { border-radius: 30px; padding: 2.1rem 0.85rem 1rem; }

.screen { position: absolute; inset: 0; padding: inherit;
  opacity: 0; transform: translateY(14px) scale(0.99);
  transition: opacity 0.55s var(--expo), transform 0.55s var(--expo);
  pointer-events: none; }
.screen.is-active { opacity: 1; transform: none; }

/* recording HUD */
.rechud { height: 100%; display: flex; flex-direction: column; }
.rechud__top { display: flex; align-items: center; justify-content: space-between; }
.rechud__time { font-size: 2.1rem; font-weight: 600; color: var(--fg); }
.rechud__live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--fg-dim); }
.livedot { width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 10px 1px color-mix(in srgb, var(--red) 80%, transparent);
  animation: breathe 1.6s var(--expo) infinite; }
.livedot--sm { width: 5px; height: 5px; }
@keyframes breathe { 50% { opacity: 0.45; transform: scale(1.35); } }
.rechud__sonar { position: relative; flex: 1; display: grid; place-items: center; }
.rechud__sonar span {
  position: absolute; width: 86px; height: 86px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--red) 60%, transparent);
  animation: sonar 1.8s var(--expo) infinite;
}
.rechud__sonar span:nth-child(2) { animation-delay: 0.6s; }
.rechud__sonar span:nth-child(3) { animation-delay: 1.2s; }
@keyframes sonar { from { transform: scale(0.7); opacity: 0.65; } to { transform: scale(2.1); opacity: 0; } }
.rechud__stop {
  position: relative; z-index: 1; width: 64px; height: 64px; border: none; cursor: pointer;
  border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--ember));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--red) 18%, transparent), 0 8px 20px -6px var(--ember);
}
.rechud__stop::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; background: #fff; border-radius: 5px; }
.rechud__wave { width: 100%; height: 46px; margin: 0.4rem 0 0.7rem; }
.rechud__caption { font-size: 0.82rem; color: var(--fg-mute); line-height: 1.45; }

/* transcript */
.screen--script { display: flex; flex-direction: column; gap: 0.5rem; overflow: hidden; }
.scripthead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.3rem; }
.scripthead__title { font-weight: 600; font-size: 0.98rem; }
.scripthead__meta { font-size: 0.68rem; color: var(--fg-mute); }
.line { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem; align-items: start; }
.who {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.16rem 0.42rem; border-radius: 999px; white-space: nowrap; margin-top: 0.15rem;
  color: #fff;
}
.who--a { background: linear-gradient(135deg, var(--red), var(--ember)); }
.who--b { background: linear-gradient(135deg, #3b82f6, #1e51c9); }
.who--c { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.line__text { font-size: 0.84rem; color: var(--fg-dim); line-height: 1.4; }
.karaoke { color: var(--fg); background: color-mix(in srgb, var(--red) 16%, transparent);
  border-radius: 4px; box-decoration-break: clone; padding: 0 2px; }

/* recall */
.screen--recall { display: flex; flex-direction: column; gap: 0.7rem; }
.recall__card { background: color-mix(in srgb, var(--bone) 5%, transparent);
  border: 1px solid var(--hair-2); border-radius: 14px; padding: 0.85rem 0.9rem; }
.recall__eyebrow { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); font-weight: 700; margin-bottom: 0.35rem; }
.recall__eyebrow--list { margin-top: 0.2rem; }
.recall__sum { font-size: 0.82rem; color: var(--fg-dim); line-height: 1.45; }
.todo { list-style: none; display: grid; gap: 0.5rem; }
.todo li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; color: var(--fg-dim); }
.todo li em { margin-left: auto; font-style: normal; font-size: 0.66rem; color: var(--fg-mute); }
.todo__box { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid var(--fg-mute); flex: none; }
.todo__box--done { background: linear-gradient(135deg, var(--red), var(--ember)); border-color: transparent;
  position: relative; }
.todo__box--done::after { content: "✓"; position: absolute; inset: 0; font-size: 10px; color: #fff; display: grid; place-items: center; }

/* ============================================================
   FEATURE rows (ask / audio)
   ============================================================ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem, 13vh, 9rem) var(--gutter);
}
.feature__text .lede { margin-top: 1.4rem; }
.feature--audio .feature__art { order: -1; }

/* ---- MAC window ---- */
.mac, .macmini {
  border-radius: 14px; overflow: hidden;
  background: var(--surface);
  box-shadow: 0 50px 90px -34px rgba(0,0,0,0.85), inset 0 0 0 1px var(--hair-2);
}
.mac__bar, .macmini__bar {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.85rem;
  background: color-mix(in srgb, var(--bone) 5%, transparent);
  border-bottom: 1px solid var(--hair-2);
}
.mac__dots, .macmini__dots { display: inline-flex; gap: 6px; }
.mac__dots i, .macmini__dots i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--bone) 18%, transparent); }
.mac__dots i:first-child { background: #ff5f57; }
.mac__dots i:nth-child(2) { background: #febc2e; }
.mac__dots i:nth-child(3) { background: #28c840; }
.mac__title { font-size: 0.8rem; color: var(--fg-mute); }
.mac__body { padding: 1.4rem; }

.chat { display: grid; gap: 0.85rem; }
.chat__q {
  justify-self: end; max-width: 80%;
  background: linear-gradient(135deg, var(--red), var(--ember)); color: #fff;
  padding: 0.6rem 0.9rem; border-radius: 14px 14px 4px 14px; font-size: 0.92rem;
}
.chat__think { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--fg-mute); }
.chat__spark { width: 13px; height: 13px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--red), var(--ember), var(--red));
  animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chat__a { max-width: 92%; }
.chat__a > p { background: color-mix(in srgb, var(--bone) 6%, transparent); border: 1px solid var(--hair-2);
  padding: 0.7rem 0.9rem; border-radius: 14px 14px 14px 4px; font-size: 0.92rem; color: var(--fg); }
.cite {
  display: flex; gap: 0.7rem; align-items: center; margin-top: 0.6rem; text-decoration: none;
  background: color-mix(in srgb, var(--red) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 26%, transparent);
  border-radius: 12px; padding: 0.6rem 0.75rem;
  transition: transform 0.4s var(--expo), border-color 0.3s;
}
.cite:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--red) 50%, transparent); }
.cite__mark { width: 30px; height: 30px; flex: none; }
.cite__body { display: grid; gap: 0.1rem; }
.cite__who { font-size: 0.74rem; font-weight: 600; color: var(--red); }
.cite__quote { font-size: 0.84rem; color: var(--fg-dim); }
.cite__time { font-size: 0.66rem; color: var(--fg-mute); }

/* ---- AUDIO player ---- */
.player {
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--hair-2); border-radius: var(--r-lg);
  padding: 1.6rem; max-width: 460px; margin: 0 auto;
  box-shadow: 0 40px 80px -34px rgba(0,0,0,0.8);
}
.player__head { display: flex; align-items: center; justify-content: space-between; }
.player__badge { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--red), var(--ember));
  padding: 0.28rem 0.6rem; border-radius: 999px; }
.player__len { font-size: 0.8rem; color: var(--fg-mute); }
.player__title { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin-top: 0.9rem; letter-spacing: -0.02em; }
.player__hosts { color: var(--fg-mute); font-size: 0.88rem; margin-top: 0.25rem; }
.player__wave { width: 100%; height: 64px; margin: 1.2rem 0; }
.player__controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; }
.player__t { font-size: 0.78rem; color: var(--fg-mute); }
.player__play { position: relative; width: 56px; height: 56px; border: none; cursor: pointer; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--ember));
  box-shadow: 0 10px 26px -8px var(--ember); }
.player__play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
  transform: translateX(2px); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.chips li { font-size: 0.82rem; color: var(--fg-dim);
  padding: 0.36rem 0.8rem; border-radius: 999px; border: 1px solid var(--hair); }
.chips li:first-child { color: #fff; background: color-mix(in srgb, var(--red) 18%, transparent); border-color: color-mix(in srgb, var(--red) 40%, transparent); }

/* ============================================================
   MEMORY LAYER constellation
   ============================================================ */
.memory { padding: clamp(5rem, 13vh, 9rem) var(--gutter); }
.memory__inner { max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.constellation { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; }
.constellation__core { position: absolute; inset: 18%; width: 64%; height: 64%;
  filter: drop-shadow(0 0 16px rgba(255, 59, 48, 0.45)); }
.source {
  position: absolute; font-size: 0.84rem; font-weight: 600; color: var(--fg-dim);
  padding: 0.5rem 0.85rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: floaty 6s ease-in-out infinite;
}
.source--mail { top: 4%; left: 26%; }
.source--msg  { top: 22%; right: 0; animation-delay: -1.2s; }
.source--note { bottom: 16%; right: 6%; animation-delay: -2.4s; }
.source--obs  { bottom: 2%; left: 22%; animation-delay: -3.6s; }
.source--rec  { top: 38%; left: -2%; animation-delay: -4.8s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* ============================================================
   THREE DEVICES
   ============================================================ */
.devices { padding: clamp(5rem, 13vh, 9rem) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.devices__text { text-align: center; max-width: 40ch; margin: 0 auto 3.5rem; }
.devices__text .lede { margin: 1.2rem auto 0; }
.devices__stage {
  display: grid; grid-template-columns: auto auto auto; align-items: center; justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
}

/* watch */
.watch {
  position: relative; width: 150px; aspect-ratio: 0.82; border-radius: 42px;
  background: linear-gradient(160deg, #2a2320, #0c0a09); padding: 12px;
  box-shadow: 0 40px 70px -28px rgba(0,0,0,0.85), inset 0 0 0 1px var(--hair-2);
}
.watch__back { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 42px; }
.watch__face { position: relative; height: 100%; border-radius: 32px; background: #060504;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.5rem; }
.watch__time { font-size: 1.8rem; font-weight: 600; color: #fff; }
.watch__state { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.64rem; color: var(--ash); }
.watch__btns { display: flex; gap: 0.35rem; margin-top: 0.5rem; width: 100%; }
.watch__btn { flex: 1; text-align: center; font-size: 0.66rem; padding: 0.4rem 0; border-radius: 999px;
  background: color-mix(in srgb, var(--bone) 12%, transparent); color: #fff; }
.watch__btn--go { background: linear-gradient(135deg, var(--red), var(--ember)); }

/* mac mini capture bar */
.macmini { width: min(330px, 80vw); }
.macmini__body { padding: 1.1rem; }
.capturebar { display: flex; align-items: center; gap: 0.6rem;
  background: color-mix(in srgb, var(--bone) 5%, transparent); border: 1px solid var(--hair-2);
  border-radius: 12px; padding: 0.6rem 0.75rem; }
.capturebar__t { font-size: 0.92rem; color: #fff; font-weight: 600; }
.capturebar__wave { flex: 1; height: 26px; }
.capturebar__pill { font-size: 0.62rem; color: var(--fg-dim); padding: 0.2rem 0.5rem; border-radius: 999px; border: 1px solid var(--hair); white-space: nowrap; }
.macmini__hint { font-size: 0.8rem; color: var(--fg-mute); margin-top: 0.7rem; }

/* home dashboard */
.home { height: 100%; display: flex; flex-direction: column; gap: 0.7rem; }
.home__head { display: flex; align-items: center; justify-content: space-between; }
.home__hello { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.home__mark { width: 34px; height: 34px; }
.home__record { display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: none; cursor: pointer; border-radius: 14px; padding: 0.85rem; color: #fff; font-weight: 600; font-size: 0.86rem;
  background: linear-gradient(135deg, var(--red), var(--ember)); box-shadow: 0 8px 20px -8px var(--ember); }
.home__recdot { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.home__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.35rem; }
.tile { font-size: 0.62rem; text-align: center; padding: 0.5rem 0.2rem; border-radius: 10px;
  background: color-mix(in srgb, var(--bone) 5%, transparent); color: var(--fg-dim); }
.home__recent { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-mute); margin-top: 0.2rem; }
.home__row { display: flex; align-items: center; gap: 0.45rem; font-size: 0.74rem; color: var(--fg-dim); }
.home__row em { margin-left: auto; font-style: normal; font-size: 0.64rem; color: var(--fg-mute); }
.home .who { font-size: 0.54rem; }

/* ============================================================
   LEADERBOARD
   ============================================================ */
.leaderboard {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem);
  max-width: var(--maxw); margin: 0 auto; padding: clamp(5rem, 13vh, 9rem) var(--gutter);
}
.leaderboard__text .lede { margin-top: 1.4rem; }
.board {
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--hair-2); border-radius: var(--r-lg); padding: 1.4rem;
  box-shadow: 0 40px 80px -34px rgba(0,0,0,0.8); max-width: 460px; margin: 0 auto; width: 100%;
}
.board__head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--fg-dim); }
.board__headlabel { font-weight: 600; color: var(--fg); }
.board__period { margin-left: auto; font-size: 0.74rem; color: var(--fg-mute); }
.board__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.9rem 0 1.1rem; }
.bchip { font-family: inherit; cursor: pointer; font-size: 0.74rem; padding: 0.34rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--hair); background: transparent; color: var(--fg-dim); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.bchip:hover { color: var(--fg); }
.bchip.is-on { color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, transparent); background: color-mix(in srgb, var(--red) 10%, transparent); }
.brow--skeleton { opacity: 0.5; }
.brow--skeleton .bav { background: color-mix(in srgb, var(--bone) 12%, transparent); }
.board__list { list-style: none; display: grid; gap: 0.4rem; }
.brow { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; border-radius: 12px;
  background: color-mix(in srgb, var(--bone) 3.5%, transparent); }
.brow--me { background: color-mix(in srgb, var(--red) 12%, transparent); border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); }
.brank { font-family: var(--mono); font-size: 0.8rem; width: 1.4rem; text-align: center; color: var(--fg-mute); }
.brow--1 .brank { color: #d9a821; } .brow--2 .brank { color: #a9aeb6; }
.bav { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.6rem; font-weight: 700; color: #fff; overflow: hidden; flex: none;
  background: linear-gradient(135deg, hsl(var(--h, 14) 55% 62%), hsl(var(--h, 14) 60% 48%)); }
.bav--me { background: linear-gradient(135deg, var(--red), var(--ember)); font-size: 0.5rem; }
.bname { font-size: 0.88rem; color: var(--fg); display: flex; align-items: center; gap: 0.4rem; }
.bname em { font-style: normal; font-size: 0.62rem; color: var(--red); }
.bval { margin-left: auto; font-size: 0.92rem; font-weight: 600; color: var(--fg); }
.board__foot { font-size: 0.68rem; color: var(--fg-mute); margin-top: 0.9rem; }

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy { padding: clamp(5rem, 13vh, 9rem) var(--gutter); }
.privacy__inner { max-width: var(--maxw); margin: 0 auto; }
.privacy__cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2.4rem, 5vw, 3.6rem); align-items: start; }
.privacy__lead { position: relative; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--r-lg);
  background: linear-gradient(165deg, color-mix(in srgb, var(--red) 11%, transparent), transparent 72%);
  border: 1px solid color-mix(in srgb, var(--red) 22%, transparent); }
.privacy__mark { width: 60px; height: 60px; margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 12px rgba(255, 59, 48, 0.4)); }
.privacy__lead h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 0.85rem; }
.privacy__lead p { color: var(--fg-dim); font-size: 1.02rem; line-height: 1.55; max-width: 34ch; }
.privacy__list { list-style: none; }
.privacy__list li { padding: 1.25rem 0; border-top: 1px solid var(--hair-2); }
.privacy__list li:first-child { border-top: none; padding-top: 0.2rem; }
.privacy__list h4 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 0.35rem;
  display: flex; align-items: center; gap: 0.6rem; }
.privacy__list h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--red); box-shadow: 0 0 10px 1px color-mix(in srgb, var(--red) 70%, transparent); }
.privacy__list p { color: var(--fg-dim); font-size: 0.96rem; line-height: 1.5; padding-left: 1.3rem; }

/* ============================================================
   EARLY ACCESS
   ============================================================ */
.access { position: relative; overflow: hidden; padding: clamp(6rem, 16vh, 11rem) var(--gutter); text-align: center; }
.access__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.access::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(70% 60% at 50% 50%, transparent, var(--bg) 80%); pointer-events: none; }
.access__inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.access__title { font-size: clamp(3rem, 9vw, 6.5rem); }
.access__lede { color: var(--fg-dim); font-size: 1.15rem; margin: 1.2rem auto 2.2rem; max-width: 40ch; }
.access__form { display: flex; gap: 0.6rem; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.access__input { flex: 1; min-width: 220px; padding: 0.9rem 1.2rem; border-radius: 999px;
  background: color-mix(in srgb, var(--bone) 7%, transparent); border: 1px solid var(--hair);
  color: var(--fg); font-size: 1rem; font-family: var(--ui); }
.access__input::placeholder { color: var(--fg-mute); }
.access__input:focus { outline: none; border-color: color-mix(in srgb, var(--red) 60%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 16%, transparent); }
.access__note { font-size: 0.85rem; color: var(--fg-mute); margin-top: 1.1rem; }
.access.is-sent .access__form { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 3.5rem var(--gutter) 3rem; border-top: 1px solid var(--hair-2); max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a { color: var(--fg-dim); text-decoration: none; font-size: 0.92rem; }
.footer__links a:hover { color: var(--fg); }
.footer__tag { font-family: var(--display); font-size: 1.6rem; color: var(--fg-mute); margin: 1.8rem 0; letter-spacing: -0.02em; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; align-items: baseline; color: var(--fg-mute); font-size: 0.8rem; }
.footer__affirm { flex: 1; min-width: 280px; max-width: 64ch; line-height: 1.5; }
.footer__affirm a { color: var(--fg-dim); text-decoration: underline; }

/* ============================================================
   APP MOCKUPS (accurate to the real SwiftUI screens)
   ============================================================ */
.appbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.appbar__title { font-weight: 600; font-size: 1rem; }
.appbar__ic { color: var(--fg-mute); font-size: 0.95rem; }
.dayhdr { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-mute); font-weight: 600;
  display: flex; align-items: baseline; gap: 0.5rem; margin: 0.2rem 0 0.5rem; }
.dayhdr em { font-style: normal; color: var(--fg-mute); letter-spacing: 0; text-transform: none; font-size: 0.66rem; margin-left: auto; }

/* ---- Recording HUD (capture state 0) ---- */
.rechud { height: 100%; display: flex; flex-direction: column; }
.rechud__timer { display: flex; align-items: baseline; justify-content: space-between; }
.rechud__time { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.rechud__live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; color: var(--fg-dim); }
.rechud__wave { width: 100%; height: 64px; margin: 1rem 0 0.7rem; }
.rechud__caption { font-size: 0.82rem; color: var(--fg-mute); line-height: 1.45; }
.rechud__controls { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 1.3rem; padding-top: 0.8rem; }
.hudbtn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bone) 9%, transparent); color: var(--fg); font-size: 0.85rem; }
.hudstop { position: relative; width: 62px; height: 62px; border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--red) 45%, transparent);
  box-shadow: 0 0 22px -4px color-mix(in srgb, var(--red) 60%, transparent); }
.hudstop::after { content: ""; position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg, var(--red), var(--ember)); }

/* ---- Transcript (capture state 1) ---- */
.tx { display: flex; flex-direction: column; gap: 0.15rem; overflow: hidden; }
.tx__spk { font-size: 0.82rem; font-weight: 600; margin-top: 0.55rem; }
.tx__spk:first-child { margin-top: 0; }
.tx__spk--a { color: var(--red); }
.tx__spk--b { color: #5b9bff; }
.tx__spk--c { color: #c89bff; }
.tx__line { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.4rem; align-items: start; }
.tx__t { font-size: 0.64rem; color: var(--fg-mute); padding-top: 0.18rem; }
.tx__line p { font-size: 0.82rem; color: var(--fg-dim); line-height: 1.4; }

/* ---- Recall (capture state 2) ---- */
.recall__sec { background: color-mix(in srgb, var(--bone) 5%, transparent); border: 1px solid var(--hair-2);
  border-radius: 14px; padding: 0.8rem 0.85rem; margin-bottom: 0.7rem; }
.recall__sec--items { background: color-mix(in srgb, var(--red) 6%, transparent); border-color: color-mix(in srgb, var(--red) 16%, transparent); }
.recall__label { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.45rem; }
.recall__ic { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; font-size: 0.62rem;
  background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red); }
.recall__body { font-size: 0.8rem; color: var(--fg-dim); line-height: 1.45; }
.aitems { list-style: none; display: grid; gap: 0.5rem; }
.aitems li { display: flex; gap: 0.5rem; font-size: 0.8rem; color: var(--fg-dim); line-height: 1.35; }
.aitems__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-top: 0.4rem; flex: none;
  box-shadow: 0 0 8px 0 color-mix(in srgb, var(--red) 70%, transparent); }
.aitems li em { font-style: normal; color: var(--fg-mute); font-size: 0.7rem; }

/* ---- Notes mockup ---- */
.notesui { display: flex; flex-direction: column; gap: 0.6rem; }
.dailyeditor { display: grid; gap: 0.3rem; }
.de__h { font-weight: 600; font-size: 0.92rem; }
.de__li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--fg-dim); }
.de__chk { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid var(--fg-mute); flex: none; display: grid; place-items: center; font-size: 9px; color: transparent; }
.de__chk--done { background: linear-gradient(135deg, var(--red), var(--ember)); border-color: transparent; color: #fff; }
.de__p { font-size: 0.8rem; color: var(--fg-mute); line-height: 1.4; }
.notecard { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.7rem; border-radius: 12px;
  background: color-mix(in srgb, var(--bone) 5%, transparent); border: 1px solid var(--hair-2); }
.notecard__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); font-size: 0.8rem; }
.notecard__b { display: grid; gap: 0.05rem; min-width: 0; }
.notecard__t { font-size: 0.82rem; font-weight: 500; }
.notecard__s { font-size: 0.7rem; color: var(--fg-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notecard__tag { margin-left: auto; font-size: 0.58rem; font-weight: 600; color: #f0c674; white-space: nowrap;
  padding: 0.16rem 0.42rem; border-radius: 999px; background: color-mix(in srgb, #f0c674 16%, transparent); }
.dayrec { display: flex; align-items: center; gap: 0.45rem; font-size: 0.74rem; color: var(--fg-dim);
  padding: 0.55rem 0.7rem; border-radius: 12px; background: color-mix(in srgb, var(--bone) 4%, transparent); }
.dayrec__ic { color: var(--red); }

/* ---- Tasks mockup ---- */
.tasksui { display: flex; flex-direction: column; gap: 0.6rem; }
.taskcard { padding: 0.75rem 0.8rem; border-radius: 14px; background: color-mix(in srgb, var(--bone) 5%, transparent); border: 1px solid var(--hair-2); }
.taskcard__t { font-size: 0.84rem; color: var(--fg); line-height: 1.35; }
.taskcard__row { display: flex; align-items: center; gap: 0.5rem; margin: 0.6rem 0 0.5rem; }
.ownerchip { font-size: 0.66rem; font-weight: 500; padding: 0.2rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.ownerchip--a { color: #5b9bff; background: color-mix(in srgb, #5b9bff 14%, transparent); }
.ownerchip--c { color: #c89bff; background: color-mix(in srgb, #c89bff 14%, transparent); }
.addtask { margin-left: auto; font-size: 0.68rem; font-weight: 600; color: var(--red); white-space: nowrap; }
.addtask--done { color: var(--fg-mute); }
.taskcard__src { display: flex; align-items: center; gap: 0.35rem; font-size: 0.68rem; color: var(--fg-mute); }

/* ---- Voiceprints mockup ---- */
.vpui { display: flex; flex-direction: column; gap: 0.55rem; }
.vpexplain { font-size: 0.72rem; color: var(--fg-mute); line-height: 1.45;
  background: color-mix(in srgb, var(--bone) 4%, transparent); border-radius: 12px; padding: 0.6rem 0.7rem; }
.vpexplain strong { color: var(--fg-dim); font-weight: 600; }
.vplegend { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.3rem; }
.vpd { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 0.1rem; vertical-align: baseline; }
.vpd--pos { background: var(--red); } .vpd--neg { background: #5b9bff; }
.vpsec { font-size: 0.72rem; font-weight: 600; }
.vpcard { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; border-radius: 12px;
  background: color-mix(in srgb, var(--bone) 4%, transparent); border: 1px solid var(--hair-2); }
.vpviz { width: 50px; height: 50px; flex: none; }
.vpcard__info { display: grid; gap: 0.12rem; min-width: 0; }
.vpcard__name { font-size: 0.86rem; font-weight: 500; display: flex; align-items: center; gap: 0.4rem; }
.vpyou { font-size: 0.55rem; font-weight: 700; color: var(--red); background: color-mix(in srgb, var(--red) 16%, transparent);
  padding: 0.06rem 0.34rem; border-radius: 999px; }
.vpstatus { font-size: 0.68rem; }
.vpstatus--certain { color: #58c06a; }
.vpstatus--learning { color: var(--fg-mute); }
.vpcard__act { margin-left: auto; color: var(--fg-mute); }
.device__caption { text-align: center; font-size: 0.78rem; color: var(--fg-mute); margin-top: 0.9rem; }

/* feature art on the left for alternating rhythm */
.feature--flip .feature__art { order: -1; }

/* voiceprint progression chips in the copy column */
.vpprogress { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.vpstep { font-size: 0.78rem; padding: 0.34rem 0.75rem; border-radius: 999px; border: 1px solid var(--hair); color: var(--fg-mute); }
.vpstep--learn { color: var(--fg-dim); border-color: var(--hair); }
.vpstep--certain { color: #58c06a; border-color: color-mix(in srgb, #58c06a 45%, transparent); background: color-mix(in srgb, #58c06a 10%, transparent); }
.vparrow { color: var(--fg-mute); font-size: 0.8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .capture__sticky { position: static; min-height: auto; grid-template-columns: 1fr; gap: 2.4rem; text-align: left; padding-top: 5rem; padding-bottom: 5rem; }
  .capture__copy { order: 1; }
  .capture__stage { order: 0; }
  .feature, .memory__inner, .leaderboard { grid-template-columns: 1fr; gap: 2.6rem; }
  .feature--audio .feature__art, .feature--flip .feature__art { order: 0; }
  .privacy__cols { grid-template-columns: 1fr; gap: 2rem; }
  .devices__stage { grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; }
}
/* Short landscape phones: don't let the full-viewport hero hide the CTA. */
@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 2.5rem; }
  .hero__title { font-size: clamp(2.4rem, 7vw, 4rem); margin-bottom: 1rem; }
  .hero__lede { margin-bottom: 1.2rem; }
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  .nav__links a:not(.pill):not(.nav__cta) { display: none; }
  .nav__cta { padding-top: 0.72rem; padding-bottom: 0.72rem; } /* >=44px touch target */
  .footer__tag { font-size: 1.3rem; }
  .device--macmini, .macmini { width: 100%; max-width: 330px; }
  /* constellation pills shrink + pull in so they don't crash into the core */
  .constellation { max-width: 300px; }
  .source { font-size: 0.72rem; padding: 0.34rem 0.6rem; }
  .source--rec { left: 2%; } .source--msg { right: 2%; } .source--note { right: 2%; }
}
