/* ===========================================================================
   Numen — landing page
   Design language ported from the app: Obsidian ground (#050505), warm ivory
   ink (#f5ede0), gold accent (oklch 0.8 0.13 70 → #f3ae58), Newsreader serif
   (italic numerals are the hero), Manrope sans for UI. "A frame, not a forecast."
   =========================================================================== */

:root {
  --bg0: #050505;
  --bg1: #0d0c0b;
  --bg2: #1b1814;
  --card: rgba(255, 255, 255, 0.035);
  --card-hi: rgba(255, 255, 255, 0.06);

  --ink: #f5ede0;
  --ink-dim: rgba(245, 237, 224, 0.62);
  --ink-faint: rgba(245, 237, 224, 0.40);
  --ink-ghost: rgba(245, 237, 224, 0.22);

  --line: rgba(245, 237, 224, 0.10);
  --line-hi: rgba(245, 237, 224, 0.18);

  --gold: #f3ae58;
  --gold-soft: #cfb47c;
  --rose: #bb7d72;
  --lav: #9589be;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 18px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* prefer the app-exact oklch where the browser supports it (it matches the
   in-app glow more faithfully than the sRGB hex fallbacks above) */
@supports (color: oklch(0.8 0.13 70)) {
  :root {
    --gold: oklch(0.8 0.13 70);
    --gold-soft: oklch(0.78 0.08 85);
    --rose: oklch(0.65 0.08 30);
    --lav: oklch(0.66 0.08 295);
  }
}

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

/* CSS custom properties don't resolve inside SVG presentation attributes, so
   the inline icon colors are driven from CSS here (CSS beats presentation attrs). */
.orbit-mark { display: block; overflow: visible; }
.orbit-mark .om-ring { fill: none; stroke: var(--line-hi); }
.orbit-mark .om-core { fill: var(--gold); opacity: 0.5; filter: blur(2.4px); }
.orbit-mark .om-node { fill: var(--gold); }
.orbit-mark .om-sa { fill: var(--rose); }
.orbit-mark .om-sb { fill: var(--ink-dim); }
.orbit-mark .sat-inner, .orbit-mark .sat-outer { transform-box: view-box; transform-origin: center; }
.orbit-mark .sat-inner { animation: spin 22s linear infinite; }
.orbit-mark .sat-outer { animation: spin-rev 38s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.check svg path { stroke: var(--gold); }
.strip .item svg path, .strip .item svg circle { stroke: var(--gold); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--bg0);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* --- shared typography ------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.018em; line-height: 1.06; }
h2 { font-size: clamp(30px, 4.6vw, 50px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
em, .it { font-style: italic; }
.gold { color: var(--gold); }
.serif { font-family: var(--serif); }

.lead { font-size: clamp(16px, 1.65vw, 19px); line-height: 1.62; color: var(--ink-dim); }
.fine { font-size: 12px; line-height: 1.55; color: var(--ink-faint); letter-spacing: 0.01em; }

.section { position: relative; padding: clamp(72px, 11vw, 150px) var(--gutter); }
.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }

/* the wordmark — "Nu" roman, "men" italic gold (from Welcome.tsx) */
.wordmark { font-family: var(--serif); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.wordmark .a { color: var(--ink); }
.wordmark .b { font-style: italic; color: var(--gold); }

/* ---------------------------------------------------------------------------
   cosmic ground — gradient + gold halo + starfield, recreated from the app's
   CosmicBackground / share-card ground.
   --------------------------------------------------------------------------- */
.cosmos { position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(120% 80% at 50% -10%, #1b1814 0%, #0d0c0b 42%, #050505 78%); }
.cosmos::before { /* warm gold glow, top-center, like obsidian.cosmic.glows */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 38% at 50% 0%, rgba(243, 174, 88, 0.13), transparent 70%);
}
.cosmos::after { /* faint lavender pool, bottom-left */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46% 32% at 14% 96%, rgba(149, 137, 190, 0.07), transparent 72%);
}
#stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.star { position: absolute; border-radius: 50%; background: #f3eee0; animation: twinkle 5s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.7; } }

/* grain overlay for a printed, object-like feel */
.grain { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
  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.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------------------
   nav
   --------------------------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8, 7, 6, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav .bar { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .wordmark { font-size: 25px; }
.nav .links { display: flex; align-items: center; gap: 34px; }
.nav .links a:not(.btn) { font-size: 13.5px; color: var(--ink-dim); letter-spacing: 0.01em; transition: color 0.25s; }
.nav .links a:not(.btn):hover { color: var(--ink); }

/* buttons — PrimaryButton is an ivory pill with dark ink */
.btn { font-family: var(--sans); font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em; border-radius: 999px; padding: 13px 26px; cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 9px; transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s; white-space: nowrap; }
.btn-primary { background: var(--ink); color: #16120c; box-shadow: 0 10px 40px -12px rgba(245, 237, 224, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -12px rgba(245, 237, 224, 0.55); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border-color: var(--line-hi); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn .sub { font-weight: 500; font-size: 11px; opacity: 0.6; }
.btn-store { padding: 11px 22px; flex-direction: row; }
.btn-store .stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-store .stack .top { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.btn-store .stack .big { font-size: 16px; font-weight: 700; font-family: var(--serif); letter-spacing: -0.01em; }

.nav-toggle { display: none; }

/* ---------------------------------------------------------------------------
   hero
   --------------------------------------------------------------------------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 110px; padding-bottom: 60px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy { max-width: 560px; }
.hero .orbit-mark { margin-bottom: 30px; }
.hero h1 { font-size: clamp(64px, 11vw, 124px); letter-spacing: -0.05em; margin-bottom: 26px; }
.hero .tagline { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 27px); line-height: 1.35; color: var(--ink); max-width: 460px; margin-bottom: 18px; font-style: italic; }
.hero .tagline .reg { font-style: normal; color: var(--ink-dim); }
.hero .sub { max-width: 430px; margin-bottom: 36px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 30px; }
.hero .manifesto { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-faint); }
.hero .manifesto .rule { width: 34px; height: 1px; background: var(--line-hi); }

/* hero device cluster */
.hero-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.hero-stage .glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(243, 174, 88, 0.16), transparent 62%); filter: blur(8px); z-index: 0; }
.hero-stage .device.front { z-index: 3; transform: rotate(-3deg); }
.hero-stage .card-float { position: absolute; right: -6%; bottom: 4%; width: 47%; z-index: 4; transform: rotate(5deg); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)); border-radius: 20px; }
.hero-stage .card-float img { border-radius: 20px; border: 1px solid var(--line); }
.float { animation: float 7s ease-in-out infinite; }
.float.b { animation-delay: -3.5s; animation-duration: 8s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-16px) rotate(var(--rot, 0deg)); } }

/* ---------------------------------------------------------------------------
   device frame — bezel + dynamic island around a real screenshot
   --------------------------------------------------------------------------- */
.device { position: relative; width: 100%; max-width: 330px; aspect-ratio: 430 / 932; background: linear-gradient(150deg, #2a2724, #0c0b0a); border-radius: 13% / 6%; padding: 9px; box-shadow: 0 2px 2px rgba(255, 255, 255, 0.08) inset, 0 -1px 2px rgba(0, 0, 0, 0.6) inset, 0 50px 90px -30px rgba(0, 0, 0, 0.8), 0 24px 50px -28px rgba(0, 0, 0, 0.7); }
.device .screen { position: relative; width: 100%; height: 100%; border-radius: 9% / 4.2%; overflow: hidden; background: #050505; border: 1px solid rgba(0, 0, 0, 0.8); }
.device .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device .island { position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%); width: 31%; height: 2.7%; min-height: 16px; background: #000; border-radius: 999px; z-index: 5; }

/* ---------------------------------------------------------------------------
   trust strip
   --------------------------------------------------------------------------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px var(--gutter); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; align-items: center; }
.strip .item { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; color: var(--ink-dim); letter-spacing: 0.02em; }
.strip .item svg { flex: none; }

/* ---------------------------------------------------------------------------
   section header
   --------------------------------------------------------------------------- */
.head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 72px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head .eyebrow { margin-bottom: 22px; }
.head h2 { margin-bottom: 20px; }

/* ---------------------------------------------------------------------------
   feature rows — device + copy, alternating
   --------------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 12vw, 168px); }
.feature.flip .f-media { order: 2; }
.feature .f-media { display: flex; justify-content: center; position: relative; }
.feature .f-media .halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(243, 174, 88, 0.12), transparent 60%); z-index: 0; }
.feature .device { z-index: 1; }
.feature .num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); letter-spacing: 0.04em; margin-bottom: 18px; display: block; }
.feature h3 { margin-bottom: 18px; }
.feature .body { color: var(--ink-dim); font-size: 16px; line-height: 1.62; max-width: 440px; margin-bottom: 26px; }
.feature .bullets { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.feature .bullets li { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; color: var(--ink-dim); }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); background: color-mix(in srgb, var(--gold) 12%, transparent); display: grid; place-items: center; margin-top: 1px; }

/* ---------------------------------------------------------------------------
   share-card showcase
   --------------------------------------------------------------------------- */
.share { overflow: hidden; }
.share .wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.share-art { position: relative; display: flex; justify-content: center; }
.share-art .ring { position: absolute; inset: -6% ; border-radius: 50%; }
.share-art img { width: 100%; max-width: 420px; border-radius: 22px; border: 1px solid var(--line-hi); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.85); }
.share-art .glow { position: absolute; width: 86%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(243, 174, 88, 0.18), transparent 60%); z-index: -1; }
.formats { display: inline-flex; gap: 8px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); margin-top: 26px; }
.formats span { font-size: 12px; padding: 7px 16px; border-radius: 999px; color: var(--ink-faint); }
.formats span.on { background: color-mix(in srgb, var(--gold) 16%, var(--card-hi)); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); color: var(--ink); }
.handle { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--gold); }

/* ---------------------------------------------------------------------------
   the numbers — redesigned numeral chips + constellation motif
   --------------------------------------------------------------------------- */
.numbers .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chip { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 26px 22px 22px; overflow: hidden; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s; }
.chip:hover { border-color: var(--line-hi); transform: translateY(-4px); background: var(--card-hi); }
.chip .glyph { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--gold); text-shadow: 0 0 28px color-mix(in srgb, var(--gold) 50%, transparent); margin-bottom: 16px; display: block; }
.chip .lbl { font-family: var(--sans); font-weight: 600; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.chip .desc { font-size: 13px; color: var(--ink-dim); line-height: 1.5; }

/* ---------------------------------------------------------------------------
   pricing
   --------------------------------------------------------------------------- */
.pricing .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 22px; background: var(--card); padding: 34px 32px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.plan.feat { border-color: color-mix(in srgb, var(--gold) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 7%, transparent), var(--card) 60%); }
.plan .pill { position: absolute; top: 22px; right: 22px; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 12%, transparent); padding: 5px 11px; border-radius: 999px; }
.plan .pname { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.plan .price { font-family: var(--serif); line-height: 1; margin-bottom: 6px; }
.plan .price .big { font-size: 52px; letter-spacing: -0.02em; }
.plan .price .per { font-size: 16px; color: var(--ink-dim); font-style: italic; }
.plan .note { font-size: 13px; color: var(--ink-dim); line-height: 1.5; margin-bottom: 26px; min-height: 40px; }
.plan .feats { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.plan .feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-dim); }
.plan .btn { width: 100%; justify-content: center; }
.pricing .legal { text-align: center; margin-top: 30px; }

/* ---------------------------------------------------------------------------
   philosophy / privacy
   --------------------------------------------------------------------------- */
.philosophy { text-align: center; }
.philosophy .wrap { max-width: 820px; }
.philosophy .big-quote { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 46px); line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 30px; }
.philosophy .big-quote em { color: var(--gold); }

/* ---------------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------------- */
.faq .wrap { max-width: 800px; }
.faq .head { margin-left: auto; margin-right: auto; text-align: center; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px; font-family: var(--serif); font-size: clamp(18px, 2.4vw, 22px); color: var(--ink); letter-spacing: -0.01em; transition: color 0.25s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item .sign { position: relative; flex: none; width: 18px; height: 18px; }
.faq-item .sign::before, .faq-item .sign::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--gold); transition: transform 0.3s var(--ease), opacity 0.3s; }
.faq-item .sign::before { width: 14px; height: 1.5px; }
.faq-item .sign::after { width: 1.5px; height: 14px; }
.faq-item[open] .sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item .ans { padding: 0 4px 26px; max-width: 660px; color: var(--ink-dim); font-size: 15px; line-height: 1.72; }
.faq-item .ans a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------------
   final CTA
   --------------------------------------------------------------------------- */
.final { text-align: center; }
.final .wrap { max-width: 760px; }
.final .orbit-mark { margin: 0 auto 34px; }
.final h2 { font-size: clamp(38px, 6vw, 66px); margin-bottom: 24px; }
.final .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ---------------------------------------------------------------------------
   footer
   --------------------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 60px var(--gutter) 48px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer .wordmark { font-size: 30px; margin-bottom: 16px; }
footer .blurb { color: var(--ink-faint); font-size: 13.5px; line-height: 1.6; max-width: 300px; }
footer .col h4 { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
footer .col a { display: block; font-size: 14px; color: var(--ink-dim); margin-bottom: 12px; transition: color 0.25s; }
footer .col a:hover { color: var(--ink); }
footer .base { max-width: var(--maxw); margin: 48px auto 0; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer .base .fine { max-width: 540px; }

/* ---------------------------------------------------------------------------
   scroll reveal
   --------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------------------------------------------------------------------------
   responsive
   --------------------------------------------------------------------------- */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 620px; margin: 0 auto; }
  .hero .orbit-mark, .hero .manifesto { margin-left: auto; margin-right: auto; }
  .hero .tagline, .hero .sub { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .hero-stage { min-height: 0; margin-top: 14px; }
  .feature, .share .wrap { grid-template-columns: 1fr; }
  .feature.flip .f-media { order: -1; }
  .feature .f-media, .share-art { margin-bottom: 8px; }
  .feature .bullets, .feature .body, .feature .num, .feature h3 { text-align: left; }
  .numbers .grid { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .col.brandcol { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav .links { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; background: rgba(8, 7, 6, 0.96); backdrop-filter: blur(20px); padding: 90px 30px 36px; gap: 4px; transform: translateY(-110%); transition: transform 0.45s var(--ease); height: auto; align-items: stretch; border-bottom: 1px solid var(--line); }
  .nav .links.open { transform: none; }
  .nav .links a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .links .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: inline-flex; z-index: 50; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-hi); background: var(--card); align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle span { position: relative; width: 16px; height: 1.5px; background: var(--ink); transition: 0.3s; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: 0.3s; }
  .nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
  .nav-toggle.open span { background: transparent; }
  .nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }
  .pricing .plans { grid-template-columns: 1fr; }
  .numbers .grid { grid-template-columns: 1fr 1fr; }
  .strip .wrap { justify-content: center; gap: 14px 26px; }
  /* single, upright device on phones — the share card has its own section below */
  .hero-stage { max-width: 300px; margin: 18px auto 0; }
  .hero-stage .card-float { display: none; }
  .hero-stage .device.front { --rot: 0deg; max-width: 270px; }
  .hero-stage .glow { width: 90%; }
  footer .wrap { grid-template-columns: 1fr; }
  .btn-store .stack .big { font-size: 15px; }
  .hero .cta .btn { flex: 1; justify-content: center; }
}

@media (max-width: 420px) {
  .numbers .grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   legal pages (privacy / terms / legal index)
   --------------------------------------------------------------------------- */
.legal-wrap { max-width: 740px; margin: 0 auto; padding: clamp(118px, 15vh, 168px) var(--gutter) 20px; }
.legal-hero { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal-hero .eyebrow { margin-bottom: 20px; }
.legal-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 62px); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 20px; }
.legal-hero h1 em { font-style: italic; color: var(--gold); }
.legal-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--ink-faint); }
.legal-hero .meta .sep { opacity: 0.4; }
.legal-hero .meta a { color: var(--gold); text-underline-offset: 3px; }
.legal-hero .meta a:hover { text-decoration: underline; }

.legal-body { font-size: 15.5px; line-height: 1.72; color: var(--ink-dim); }
.legal-body > p { margin-bottom: 18px; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3.4vw, 28px); color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; margin: 48px 0 15px; }
.legal-body h2 .n { color: var(--gold); font-style: italic; font-size: 0.66em; margin-right: 12px; }
.legal-body h3 { font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--ink); margin: 26px 0 10px; letter-spacing: 0.01em; }
.legal-body ul { list-style: none; margin: 4px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.7; }
.legal-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body .callout { border: 1px solid var(--line); border-left: 2px solid var(--gold); background: var(--card); border-radius: 0 12px 12px 0; padding: 17px 22px; margin: 26px 0; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink); line-height: 1.55; }

/* legal index cards */
.legal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.legal-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 28px 26px; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s; }
.legal-card:hover { border-color: var(--line-hi); transform: translateY(-4px); background: var(--card-hi); }
.legal-card h3 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.legal-card p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.55; margin-bottom: 16px; }
.legal-card .go { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 560px) { .legal-cards { grid-template-columns: 1fr; } }
