/* Niner — landing + legal styles.
   Design tokens mirror ios/Niner/Design/DesignTokens.swift so the site and the
   app share one visual language (inky black #09090B + amber #FFA726, monospace
   display type). No web fonts — system stacks keep it fast + on-brand. */

:root {
  --bg:            #09090B;
  --bg-elevated:   #18181B;
  --bg-inset:      #27272A;
  --border:        #27272A;
  --border-strong: #3F3F46;
  --text:          #FAFAFA;
  --text-2:        #B4B4BD;
  --text-3:        #909099;
  --accent:        #FFA726;
  --accent-bright: #FFB84D;
  --accent-soft:   rgba(255,167,38,0.12);
  --accent-glow:   rgba(255,167,38,0.40);
  --success:       #10B981;
  --danger:        #F43F5E;

  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-full: 999px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
/* Keyboard focus ring — amber, visible on the dark theme (WCAG 2.4.7). */
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
.hail-play:focus-visible { outline-offset: 4px; }

/* Ambient background glow — two radial blooms on the inky black. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60rem 40rem at 75% -8%, rgba(255,167,38,0.12), transparent 60%),
    radial-gradient(50rem 40rem at 8% 12%, rgba(59,130,246,0.06), transparent 55%);
  pointer-events: none;
}
/* Film-grain overlay — turns "dark theme" into "expensive dark theme". A faint
   fixed Perlin-noise tile over the black + glows; behind content so it never
   touches text legibility. This is the single cheapest premium-depth tell. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Slow "living" drift on the ambient glow — a few percent, so the background
   feels alive rather than static. Motion-safe. */
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: bgDrift 22s ease-in-out infinite alternate; }
}
@keyframes bgDrift { to { transform: translate3d(-2%, 1.5%, 0) scale(1.06); } }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  background: rgba(9,9,11,0.72);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 800; letter-spacing: -0.5px; font-size: 20px; }
.brand svg, .brand img { width: 26px; height: 26px; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav .links a:not(.btn) { color: var(--text-2); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav .links a:not(.btn):hover { color: var(--text); }
.nav-cta { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 650; font-size: 15px; line-height: 1;
  padding: 13px 20px; border-radius: var(--r-full);
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #09090B; box-shadow: 0 8px 30px -8px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-bright); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { box-shadow: 0 2px 10px rgba(0,0,0,.5), 0 8px 34px -8px var(--accent-glow); }
.btn-primary:hover { box-shadow: 0 2px 10px rgba(0,0,0,.5), 0 12px 46px -6px var(--accent-glow); }

/* ============ Standout polish: motion · ticker · spotlight ============ */

/* Scroll-reveal — sections fade + rise as they enter the viewport. Scoped to
   `.js` (set by an inline head script) so a no-JS visitor sees everything;
   motion-safe via prefers-reduced-motion. JS adds `.in` on intersection. */
@media (prefers-reduced-motion: no-preference) {
  .js .section-head,
  .js .feature,
  .js .nots,
  .js .cta-band .wrap,
  .js .card {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1);
  }
  .js .section-head.in,
  .js .feature.in,
  .js .nots.in,
  .js .cta-band .wrap.in,
  .js .card.in { opacity: 1; transform: none; }
  .js .cards .card:nth-child(2) { transition-delay: .09s; }
  .js .cards .card:nth-child(3) { transition-delay: .18s; }
}

/* Spotlight-follow glow on feature cards — a soft amber radial tracks the cursor
   (desktop only; JS sets --mx/--my). Content sits above it. */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -20%), rgba(255,167,38,.14), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card .ic svg { width: 24px; height: 24px; }

/* ---------- Playable hail (signature moment) ---------- */
.hail-player {
  display: flex; align-items: center; gap: 18px; max-width: 470px;
  background: linear-gradient(180deg, var(--bg-elevated), #131316);
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px;
  transition: border-color .2s;
}
.hail-player:hover { border-color: rgba(255,167,38,.35); }
.hail-play {
  flex: none; width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: radial-gradient(circle at 38% 32%, var(--accent-bright), var(--accent) 60%, #d9791a);
  box-shadow: 0 0 0 6px rgba(255,167,38,.10), 0 0 34px var(--accent-glow);
  color: #09090B; display: grid; place-items: center; transition: transform .12s ease;
}
.hail-play:hover { transform: scale(1.05); }
.hail-play svg { width: 24px; height: 24px; fill: currentColor; }
.hail-meta { flex: 1; min-width: 0; }
.hail-meta .cap { font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.hail-meta .quote { font-size: 15px; color: var(--text); }
.hail-bars { display: flex; align-items: flex-end; gap: 2.5px; height: 26px; margin-top: 11px; }
.hail-bars { flex-wrap: wrap; }
.hail-bars i { width: 3px; border-radius: 3px; background: var(--border-strong); height: 7px; }
.hail-player.playing .hail-bars i { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .hail-player.playing .hail-bars i { animation: heq .85s ease-in-out infinite; }
}
@keyframes heq { 0%,100% { height: 7px; } 50% { height: 24px; } }

/* ---------- Teenage-Engineering-style spec grid (case) ---------- */
.model-code { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--accent); display: inline-block; margin-bottom: 6px; }
.spec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 22px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.spec-grid .cell { background: var(--bg-elevated); padding: 15px 18px; }
.spec-grid .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.spec-grid .v { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -.2px; }
@media (max-width: 480px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(255,167,38,0.25);
  padding: 7px 12px; border-radius: var(--r-full);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.dot.live { background: var(--success); box-shadow: 0 0 10px var(--success); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 {
  font-family: var(--mono); font-weight: 800; letter-spacing: -2px;
  font-size: clamp(42px, 6.2vw, 76px); line-height: 0.98; margin: 20px 0 18px;
}
.hero h1 .glow {
  background: linear-gradient(180deg, #FFD9A0, var(--accent) 72%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}
.hero p.lede { font-size: 20px; color: var(--text); max-width: 34ch; margin-bottom: 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .note { color: var(--text-3); font-size: 13px; margin-top: 16px; font-family: var(--mono); letter-spacing: .3px; }

/* ---------- Device (iPhone) mockup ---------- */
.device-stage { display: flex; justify-content: center; position: relative; }
.device-stage::after {
  content: ""; position: absolute; inset: -10% -16%; z-index: 0;
  background: radial-gradient(42% 42% at 50% 40%, var(--accent-glow), transparent 72%);
  filter: blur(34px); opacity: .6;
}
@media (prefers-reduced-motion: no-preference) {
  .device-stage::after { animation: glowPulse 7s ease-in-out infinite alternate; }
}
@keyframes glowPulse { to { opacity: .85; transform: scale(1.07); } }
/* ---- Official Apple iPhone 16 Pro Max bezel (App Store Marketing Artwork) ----
   Pro Max chosen to match the screenshots (captured on a 16 Pro Max). */
.phone {
  position: relative; z-index: 1;
  width: 300px;
  aspect-ratio: 1470 / 3000;             /* the bezel PNG's exact aspect */
}
/* The bezel image sits ON TOP; its transparent screen window lets the media
   (positioned behind) show through. `size: 100% 100%` is undistorted because
   .phone matches the PNG aspect. Swap the filename for -black / -white. */
.phone::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: url("assets/iphone16promax-natural.png") center / 100% 100% no-repeat;
}
.phone.sm { width: 260px; }
/* Transparent screen window, measured via alpha flood-fill (screenrect2):
   x 5.23% y 2.25% w 89.54% h 95.50%, aspect 0.4594 — matches the media exactly
   (videos 0.4594, screenshots 0.4603), so object-fit:cover fills with no crop.
   Nudged to a round 5/2/90/96 (still centered, same aspect) to bleed a hair under
   the bezel so there's never a seam; the opaque bezel masks the overflow. */
.screen {
  position: absolute; z-index: 1; overflow: hidden;
  left: 5.0%; top: 2.2%; width: 90.0%; height: 96.0%;
  border-radius: 7% / 3.3%;              /* ~iPhone display corner; bezel masks rest */
  background: #000;
}
/* No synthetic Dynamic Island: the screen recording / screenshot already carries
   the real iOS status bar + island, so a CSS pill only doubles up and misaligns.
   Apple's bezel is designed for the media to supply everything inside the screen. */
.scr-pad { padding: 44px 16px 0; flex: 1; display: flex; flex-direction: column; }

/* Real captured media inside a device frame — hero video + app screenshots.
   Fills the .screen; the bezel + rounded corners do the framing. No .island
   overlay is used with these, since the real capture already shows the true
   status bar. */
.screen-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  z-index: 1; display: block; background: var(--bg);
}

/* 3-up overlapping phone showcase (Channels & calls section) — the middle
   phone sits front-and-center, the two flanks fan out behind it. */
.phone-fan { display: flex; justify-content: center; align-items: center; }
.phone-fan .phone { width: 186px; }
.phone-fan .screen-media { object-position: center top; }  /* anchor the header */
.phone-fan .fan-mid   { z-index: 3; }
.phone-fan .fan-left  { z-index: 1; transform: rotate(-8deg) scale(.84); margin-right: -42px; }
.phone-fan .fan-right { z-index: 2; transform: rotate(8deg)  scale(.84); margin-left:  -42px; }
@media (max-width: 560px) {
  .phone-fan .phone { width: 148px; }
  .phone-fan .fan-left, .phone-fan .fan-right { margin-left: -32px; margin-right: -32px; }
}

/* screen: header */
.scr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.scr-title { font-family: var(--mono); font-weight: 800; font-size: 15px; letter-spacing: -.4px; }
.scr-sub { text-align: center; }
.scr-sub .k { font-family: var(--mono); font-size: 8px; letter-spacing: 1.6px; color: var(--text-3); }
.scr-sub .v { font-family: var(--mono); font-weight: 800; font-size: 13px; }
.icon-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-elevated); display: grid; place-items: center; color: var(--text-2); font-size: 13px; }

/* screen: PTT button */
.ptt-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.ptt-label { font-family: var(--mono); font-size: 9px; letter-spacing: 1.6px; color: var(--accent); }
.ptt-name { font-family: var(--mono); font-weight: 800; font-size: 26px; letter-spacing: -1px; }
.ptt {
  position: relative; width: 128px; height: 128px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, var(--accent-bright), var(--accent) 60%, #d9791a);
  box-shadow: 0 0 0 8px rgba(255,167,38,.10), 0 0 48px var(--accent-glow);
  display: grid; place-items: center;
}
.ptt::before, .ptt::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px solid rgba(255,167,38,.5); animation: ring 2.4s ease-out infinite;
}
.ptt::after { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.ptt .glyph { color: #09090B; font-size: 34px; }
.on-air { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: .5px; }

/* screen: waveform */
.wave { display: flex; align-items: center; gap: 3px; height: 30px; justify-content: center; margin: 10px 0 6px; }
.wave i { width: 3px; border-radius: 3px; background: var(--accent); animation: eq 1s ease-in-out infinite; }
@keyframes eq { 0%,100% { height: 6px; } 50% { height: 24px; } }

/* screen: floating tab bar */
.tabbar {
  margin: 14px auto 16px; display: flex; align-items: center; gap: 4px;
  background: rgba(24,24,27,.9); border: 1px solid var(--border); backdrop-filter: blur(8px);
  border-radius: var(--r-full); padding: 6px;
}
.tabbar .tab { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--text-3); font-size: 14px; }
.tabbar .tab.active { color: #09090B; background: var(--accent); width: auto; padding: 0 14px; gap: 6px; font-family: var(--mono); font-weight: 800; font-size: 11px; }

/* screen: channel cards */
.chan { display: flex; align-items: center; gap: 12px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px; margin-bottom: 10px; }
.mono-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-weight: 800; font-size: 15px; color: #09090B; }
.chan .meta { flex: 1; min-width: 0; }
.chan .meta b { font-size: 14px; font-weight: 700; display: block; }
.chan .meta span { font-size: 11px; color: var(--text-3); }
.chip { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; color: var(--success); display: inline-flex; align-items: center; gap: 5px; }

/* screen: hail record row */
.hail-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; }
.hail-row { display: flex; align-items: center; gap: 12px; }
.hail-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); font-size: 18px; }
.hail-row .meta b { font-size: 14px; display: block; }
.hail-row .meta span { font-size: 11px; color: var(--text-3); }
.record-btn { margin-top: 12px; text-align: center; background: var(--accent); color: #09090B; font-weight: 700; font-size: 13px; border-radius: var(--r-full); padding: 10px; }
.count { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.count .num { font-family: var(--mono); font-weight: 900; font-size: 40px; color: var(--accent); text-shadow: 0 0 24px var(--accent-glow); animation: blink 0.7s ease-in-out infinite; line-height: 1; }
.count .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--bg-inset); overflow: hidden; }
.count .bar i { display: block; height: 100%; width: 64%; background: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-family: var(--mono); font-weight: 800; letter-spacing: -1.2px; font-size: clamp(30px,4vw,46px); line-height: 1.05; margin: 16px 0 14px; }
.section-head p { color: var(--text-2); font-size: 18px; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .copy { order: 2; }
.feature .copy h3 { font-family: var(--mono); font-weight: 800; letter-spacing: -.8px; font-size: clamp(26px,3vw,36px); margin: 14px 0 14px; }
.feature .copy p { color: var(--text-2); font-size: 17px; margin-bottom: 18px; }
.feature .art { display: flex; justify-content: center; }
.mini-list { list-style: none; display: grid; gap: 10px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.mini-list li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 8px var(--accent-glow); }

/* feature cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: linear-gradient(180deg, var(--bg-elevated), #131316); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(255,167,38,.35); transform: translateY(-4px); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.card h4 { font-size: 18px; font-weight: 750; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }

/* privacy band */
.privacy-band { background: linear-gradient(180deg, #0d0d10, var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.nots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; max-width: 820px; margin: 0 auto; }
.not { display: flex; gap: 12px; align-items: center; color: var(--text); font-size: 16px; }
.not .x { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(244,63,94,.12); color: var(--danger); display: grid; place-items: center; font-weight: 800; font-size: 14px; }

/* hardware / case */
.case-art { position: relative; width: 210px; aspect-ratio: 210/420; background: linear-gradient(160deg,#1c1c20,#0d0d0f); border-radius: 40px; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -24px #000; display:flex; align-items:center; justify-content:center; }
.case-btn { position: absolute; right: -8px; top: 120px; width: 16px; height: 62px; border-radius: 8px; background: var(--accent); box-shadow: -2px 0 14px var(--accent-glow); }
.case-usb { position: absolute; bottom: 10px; width: 34px; height: 6px; border-radius: 4px; background: var(--bg-inset); }
/* Small qualifier under hardware copy — quieter than body text. */
.muted-note { color: var(--text-tertiary); font-size: .92em; }

/* CTA */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--mono); font-weight: 800; letter-spacing: -1.4px; font-size: clamp(34px,5vw,58px); margin-bottom: 16px; }
.cta-band p { color: var(--text-2); font-size: 19px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 48px 0 60px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
footer .cols { display: flex; gap: 28px; flex-wrap: wrap; }
footer a { color: var(--text-2); font-size: 15px; }
footer a:hover { color: var(--accent); }
footer .fine { color: var(--text-3); font-size: 13px; font-family: var(--mono); letter-spacing: .3px; width: 100%; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; }
.legal .back { font-family: var(--mono); font-size: 13px; color: var(--text-2); letter-spacing: .5px; display: inline-flex; gap: 8px; margin-bottom: 28px; }
.legal .back:hover { color: var(--accent); }
.legal h1 { font-family: var(--mono); font-weight: 800; letter-spacing: -1px; font-size: 40px; margin-bottom: 8px; }
.legal h2 { font-family: var(--mono); font-weight: 800; letter-spacing: -.5px; font-size: 24px; margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal h3 { font-size: 18px; font-weight: 750; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; margin-bottom: 12px; }
.legal strong { color: var(--text); }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
.legal blockquote { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 16px 0; color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-elevated); color: var(--text); font-weight: 700; }
.legal td { color: var(--text-2); }
.legal .meta-date { color: var(--text-3); font-family: var(--mono); font-size: 13px; margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 40px; }
  /* Feature rows put the device above their copy on narrow screens — the
     image is the point of the row. The HERO is deliberately excluded: this
     rule used to be unscoped, so a phone landing on the page saw a silhouette
     with no words above it and had to scroll to learn what Niner is. The hero
     now falls back to source order, which is copy first. */
  .feature .device-stage { order: -1; }
  .feature.flip .copy { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .nots { grid-template-columns: 1fr; }
  .nav .links a:not(.nav-cta) { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
}


/* Apple Watch pair — the device frame is Apple's own (Apple Design Resources,
   Series 11 46mm). Their licence permits marketing use and forbids modifying
   the frame, so it is placed as-is: no crop, no recolour, no overlay. The app
   UI sits behind it through the frame's transparent screen hole. */
.watch-pair { display: flex; justify-content: center; align-items: center; gap: 20px; }
.watch-pair img { width: 190px; height: auto; filter: drop-shadow(0 26px 52px rgba(0,0,0,.55)); }
.watch-pair img.lead { width: 238px; }
@media (max-width: 720px) {
  .watch-pair { gap: 12px; }
  .watch-pair img { width: 140px; }
  .watch-pair img.lead { width: 172px; }
}




/* "Coming soon" rides inside the hardware <h3>, right after "No problem." —
   read before the pitch, not after it, so nobody takes the paragraph for a
   product they can buy today. Neutral rather than amber: it is a caveat and
   must not read as a feature badge next to the eyebrow above it. */



/* A feature row with no device art: the spec grid should start level with the
   headline rather than hang centred in an empty column. */
.feature.top { align-items: start; }



/* Hardware teaser — a centred, narrow column. Centred because it is a short
   aside with no art beside it; left-aligned copy in a half-width column just
   looks like an image failed to load. */
.teaser { max-width: 660px; margin: 0 auto; text-align: center; }
.teaser h3 { margin: 18px 0 14px; }
.teaser p { margin: 0 auto 14px; max-width: 58ch; }
