/* ==========================================================================
   StarMate website — design system v2 (editorial)
   Warm ivory surfaces, ink-navy type, StarMate blue accent, one midnight
   Cosmic Tea section. Instrument Serif for display, Satoshi for UI/body.
   No framework, no build step.
   ========================================================================== */

/* ---------- Fonts (self-hosted, subset Latin + Cyrillic) ---------- */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --ivory: #F5F3EB;
  --ivory-soft: #FBFAF6;
  --powder: #DFE9FF;
  --powder-soft: #EEF3FF;
  --mint: #D9F0E5;
  --peach: #F8DDCF;
  --midnight: #0B1530;
  --midnight-2: #111D42;
  --line: rgba(7, 17, 31, 0.1);
  --line-strong: rgba(7, 17, 31, 0.2);

  /* Type colours */
  --ink: #07111F;
  --text: var(--ink);
  --text-2: #3A4457;
  --text-3: #4E5A70;

  /* Accent */
  --blue: #3D70F2;           /* brand blue: lines, large numerals, glows */
  --blue-ui: #2A56CF;        /* buttons, links, eyebrows (≥ 4.5:1 on ivory) */
  --blue-deep: #17356D;
  --blue-text-dark: #AFC4FF; /* on midnight */
  --success: #156F3B;
  --warning: #8A5A08;
  --coral: #B3402F;

  /* Type */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-ui: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 100px;

  /* Spacing (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  --page-max: 1200px;
  --page-pad: 20px;
  --section-gap: clamp(72px, 10vw, 136px);

  --shadow-soft: 0 1px 2px rgba(7, 17, 31, 0.04), 0 10px 30px rgba(7, 17, 31, 0.06);
  --shadow-phone: drop-shadow(0 30px 40px rgba(23, 53, 109, 0.28));

  --focus: 0 0 0 3px var(--ivory), 0 0 0 6px var(--blue-ui);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 180ms;
  --t-reveal: 700ms;
}
@media (min-width: 720px) { :root { --page-pad: 32px; } }
@media (min-width: 1100px) { :root { --page-pad: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--text); font-family: var(--font-ui); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-ui); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: rgba(61, 112, 242, 0.22); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 var(--s-4); color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.6vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
h4 { font-family: var(--font-ui); font-weight: 500; font-size: 1.05rem; line-height: 1.3; margin: 0 0 var(--s-2); }
em, .em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
li { margin-bottom: var(--s-2); }
strong { font-weight: 500; }
small { font-size: 0.875em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-8) 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: rgba(7, 17, 31, 0.06); padding: 0.1em 0.4em; border-radius: 6px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: var(--s-3); border-bottom: 1px solid var(--line); }
th { font-weight: 500; color: var(--text-2); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; margin: 0 0 var(--s-6); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ivory-soft); }
.table-wrap table { min-width: 560px; }
.table-wrap th, .table-wrap td { padding: var(--s-3) var(--s-4); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--r-pill); font-weight: 500; }
.skip-link:focus { top: var(--s-4); color: #fff; }

.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-pad); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.eyebrow { display: inline-block; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-ui); margin-bottom: var(--s-5); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text-2); line-height: 1.55; font-weight: 300; max-width: 34em; }
.muted { color: var(--text-3); }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { font-size: 1.125rem; color: var(--text-2); font-weight: 300; max-width: 36em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 52px; padding: 0 var(--s-6); border-radius: var(--r-pill); border: 1px solid transparent; font: 500 1rem/1 var(--font-ui); text-decoration: none; cursor: pointer; transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-ui); color: #fff; box-shadow: 0 8px 20px -10px rgba(42, 86, 207, 0.6); }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--on-dark { background: #fff; color: var(--midnight); }
.btn--on-dark:hover { background: var(--powder); color: var(--midnight); }
.btn--ghost-dark { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
/* Platform "Coming soon" state: branded, non-clickable, deliberately unlike the official store badges. */
.store-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.store-soon { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 20px 8px 16px; border-radius: var(--r-pill); background: var(--ivory-soft); border: 1px solid var(--line-strong); color: var(--ink); font-weight: 500; font-size: 0.95rem; line-height: 1.15; cursor: default; }
.store-soon svg { width: 20px; height: 20px; flex: none; color: var(--blue-ui); }
.store-soon > span { display: flex; flex-direction: column; text-align: left; }
.store-soon small { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.store-soon--light { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.store-soon--light svg { color: var(--blue-text-dark); }
.store-soon--light small { color: rgba(255, 255, 255, 0.6); }
.store-soon--compact { min-height: 40px; padding: 0 14px; font-size: 0.85rem; background: transparent; }
.store-soon--compact > span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 8px; align-self: center; }
.store-soon--compact > span { flex-direction: row; align-items: center; }
.nav-mobile .nav-panel .store-row { margin: var(--s-3) var(--s-1) var(--s-1); flex-direction: column; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; text-decoration: none; color: var(--blue-ui); }
.text-link::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 500; background: rgba(7, 17, 31, 0.06); color: var(--text-2); white-space: nowrap; }
.tag--success { background: rgba(21, 111, 59, 0.12); color: var(--success); }
.tag--blue { background: rgba(42, 86, 207, 0.1); color: var(--blue-ui); }
.tag--warning { background: rgba(138, 90, 8, 0.12); color: var(--warning); }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 235, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t-fast); }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-family: var(--font-ui); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-primary { display: none; align-items: center; gap: 2px; }
.nav-primary a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 10px 14px; border-radius: var(--r-pill); }
.nav-primary a:hover, .nav-primary a[aria-current="page"] { color: var(--ink); background: rgba(7, 17, 31, 0.05); }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.lang-pill { display: none; align-items: center; height: 32px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; color: var(--text-3); }
.header-cta { display: none; }
/* Mobile navigation — <details>, works without JavaScript */
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; font-weight: 500; font-size: 0.9rem; color: var(--ink); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 20px; height: 20px; }
.nav-mobile summary .icon-close, .nav-mobile[open] summary .icon-menu { display: none; }
.nav-mobile[open] summary .icon-close { display: block; }
.nav-mobile .nav-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 2 * var(--page-pad))); background: var(--ivory-soft); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); padding: var(--s-3); }
.nav-mobile .nav-panel a { display: block; min-height: 44px; padding: 11px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-mobile .nav-panel a:hover, .nav-mobile .nav-panel a[aria-current="page"] { background: rgba(7, 17, 31, 0.05); }
.nav-mobile .nav-panel .btn { margin: var(--s-3) var(--s-1) var(--s-1); width: calc(100% - 8px); justify-content: center; }
@media (min-width: 960px) {
  .nav-primary { display: flex; }
  .nav-mobile { display: none; }
  .header-cta, .lang-pill { display: inline-flex; }
}

/* ---------- Orbital line details ---------- */
.orbits { position: absolute; inset: 0; pointer-events: none; color: var(--blue); opacity: 0.55; }
.orbits circle, .orbits ellipse, .orbits path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbits .dot { fill: currentColor; stroke: none; }
@media (max-width: 719px) { .orbits--desktop { display: none; } }

/* ---------- Screenshot frame (ScreenshotFrame) ----------
   Real screenshots only. `shot-media--appstore` holds the phone body cropped
   out of the App Store 6.9" artwork (transparent rounded top corners, cut at
   the bottom) and dissolves it at the bottom edge with a mask; `--raw` draws a
   bezel around a raw device capture. A slot without an image shows an honest
   placeholder, never a mock UI. */
.shot { --shot-w: 300px; width: 100%; max-width: var(--shot-w); min-width: 0; margin: 0; }
.shot-media { position: relative; overflow: hidden; aspect-ratio: 1072 / 1700; }
.shot-media--appstore, .shot-media--raw { -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
.shot-media--appstore img, .shot-media--raw img { position: absolute; left: 0; top: 0; width: 100%; height: auto; filter: var(--shadow-phone); }
.shot-media--raw img { border-radius: 11% / 5%; box-shadow: 0 0 0 10px #0F0E14; }
.shot-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14%; text-align: center; color: var(--text-2); border-radius: 12% / 6%; background: var(--midnight-2); }
.shot-placeholder svg { width: 44px; height: 44px; color: #fff; opacity: 0.9; }
.shot-placeholder .ph-title { color: #fff; font-weight: 500; font-size: 0.9rem; }
.shot-placeholder .ph-note { font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); }
.shot-caption { margin-top: var(--s-3); }
.shot-caption strong { display: block; font-weight: 500; color: var(--text); }
.shot-caption span { color: var(--text-3); font-size: 0.95rem; }
.on-dark .shot-caption strong { color: #fff; }
.on-dark .shot-caption span { color: rgba(255, 255, 255, 0.62); }

/* Real UI crops used as editorial objects */
.crop { display: block; width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow-soft); }

/* ---------- Reveal motion (JS-gated; nothing hides without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--late { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) 0; }
.hero-glow { position: absolute; inset: -10% -20% auto 30%; height: 90%; background: radial-gradient(60% 55% at 60% 40%, rgba(223, 233, 255, 0.95) 0%, rgba(223, 233, 255, 0.5) 45%, transparent 72%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "ctas" "stage" "lede"; gap: var(--s-6); align-items: center; }
.hero-head { grid-area: head; max-width: 600px; }
.hero-head h1 { margin-bottom: 0; }
.hero-lede { grid-area: lede; padding-bottom: clamp(32px, 5vw, 72px); }
.hero-ctas { grid-area: ctas; }
.hero-stage { grid-area: stage; }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-6) 0 0; padding: 0; list-style: none; color: var(--text-3); font-size: 0.9rem; font-weight: 500; }
.trust-row li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero-stage { position: relative; min-height: 420px; }
.hero-stage .shot--main { --shot-w: 360px; position: relative; z-index: 2; margin-inline: auto; }
.hero-stage .shot--back { --shot-w: 300px; position: absolute; left: 0; top: 8%; z-index: 1; opacity: 0.92; transform: scale(0.82); transform-origin: top left; display: none; }
.hero-stage .orbits { inset: -8% -10% -4% -14%; }
.note { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--ivory-soft); border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-size: 0.8rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.note--a { left: 0; bottom: 10%; }
.note--b { right: 0; bottom: 2%; }
@media (max-width: 959px) { .note { display: none; } .hero-stage { min-height: 0; } .hero-stage .shot--main { --shot-w: 320px; } .hero-stage .shot-media { aspect-ratio: 1072 / 1100; } .hero-stage .orbits { inset: -10% -20% 0; } }
@media (min-width: 960px) {
  .hero { padding-block: clamp(56px, 7vw, 96px) 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); grid-template-areas: "head stage" "lede stage" "ctas stage"; gap: var(--s-6) var(--s-12); align-items: start; }
  .hero-head h1 { margin-bottom: var(--s-2); }
  .hero-lede { padding-bottom: 0; }
  .hero-ctas { padding-bottom: clamp(32px, 5vw, 72px); }
  .hero-ctas .btn-row { margin-top: var(--s-4); }
  .hero-stage { min-height: 690px; }
  .hero-stage .shot--main { margin-left: auto; margin-right: 2%; --shot-w: 380px; }
  .hero-stage .shot--back { display: block; left: -2%; top: 10%; }
  .note--a { left: 0; bottom: 13%; }
  .note--b { right: 0; bottom: 1%; }
}
@media (min-width: 1280px) { .hero-stage .shot--main { --shot-w: 400px; } .hero-stage .shot--back { --shot-w: 330px; } }

/* ---------- Claim (context before contact) ---------- */
.claim { background: var(--ivory-soft); border-block: 1px solid var(--line); }
.claim .wrap { display: grid; gap: var(--s-10); align-items: start; }
.claim h2 { max-width: 12em; }
.claim-list { list-style: none; margin: 0; padding: 0; counter-reset: c; display: grid; gap: 0; }
.claim-list li { counter-increment: c; display: grid; grid-template-columns: 52px 1fr; gap: var(--s-4); align-items: baseline; padding: var(--s-5) 0; border-top: 1px solid var(--line); font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text); margin: 0; }
.claim-list li::before { content: "0" counter(c); font-family: var(--font-display); font-size: 1.6rem; color: var(--blue); }
.claim-marker { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-6); font-size: 0.85rem; color: var(--text-3); }
.claim-marker::before { content: ""; width: 18px; height: 1px; background: var(--blue); }
@media (min-width: 900px) { .claim .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-16); } }

/* ---------- Discover objects ---------- */
.objects { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
.obj { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; }
.obj--people { background: var(--mint); }
.obj--plans { background: var(--powder); }
.obj--communities { background: var(--peach); }
.obj-copy { padding: var(--s-8) var(--s-6) 0; }
.obj-copy h3 { margin-bottom: var(--s-2); }
.obj-copy p { color: var(--text-2); margin-bottom: var(--s-3); max-width: 24em; }
.obj-visual { margin-top: auto; padding: var(--s-6) var(--s-6) 0; }
.obj-visual .crop { border-radius: var(--r-md) var(--r-md) 0 0; box-shadow: 0 -10px 30px rgba(7, 17, 31, 0.12); }
.obj--people .obj-visual { display: flex; justify-content: center; padding-bottom: var(--s-6); }
.obj--people .crop { width: min(260px, 70%); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.obj-kicker { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--text-3); margin-bottom: var(--s-3); display: block; }
@media (min-width: 900px) {
  .objects { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .obj--people { grid-column: span 2; }
  .obj--plans { grid-column: span 3; flex-direction: row; align-items: flex-end; }
  .obj--plans .obj-copy { flex: 1 1 46%; padding-bottom: var(--s-8); }
  .obj--plans .obj-visual { flex: 1 1 54%; padding-left: 0; }
  .obj--communities { grid-column: span 5; flex-direction: row; align-items: flex-end; min-height: 300px; }
  .obj--communities .obj-copy { flex: 1 1 42%; padding-bottom: var(--s-8); }
  .obj--communities .obj-visual { flex: 1 1 58%; padding-left: 0; }
}
.modes { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-8); padding: var(--s-4) 0; border-block: 1px solid var(--line); }
.modes span { display: inline-flex; align-items: baseline; gap: 8px; font-size: 0.95rem; color: var(--text-2); }
.modes b { font-weight: 500; color: var(--text); }
.modes span + span::before { content: "·"; color: var(--line-strong); margin-right: var(--s-2); }

/* ---------- Journey (how it works) ---------- */
.journey { position: relative; }
.journey-list { list-style: none; margin: 0; padding: 0; counter-reset: j; display: grid; gap: var(--s-6); position: relative; }
.journey-list::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(var(--blue), rgba(61, 112, 242, 0.15)); }
.journey-list li { counter-increment: j; position: relative; padding-left: 56px; margin: 0; }
.journey-list li::before { content: counter(j); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--blue); color: var(--blue-ui); font-family: var(--font-display); font-size: 1.15rem; }
.journey-list h3 { font-size: 1.45rem; margin-bottom: 4px; }
.journey-list p { color: var(--text-2); margin: 0; max-width: 22em; }
@media (min-width: 900px) {
  .journey-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-6); }
  .journey-list::before { left: 18px; right: 18px; top: 18px; bottom: auto; height: 1px; width: auto; background: linear-gradient(90deg, var(--blue), rgba(61, 112, 242, 0.15)); }
  .journey-list li { padding-left: 0; padding-top: 56px; }
}

/* ---------- Plans feature ---------- */
.feature { position: relative; }
.feature .wrap { display: grid; gap: var(--s-10); align-items: center; grid-template-columns: minmax(0, 1fr); }
.feature-visual { position: relative; display: flex; justify-content: center; }
.feature-visual::before { content: ""; position: absolute; inset: 10% 6% 0; border-radius: var(--r-lg); background: var(--peach); z-index: 0; }
.feature-visual .shot { position: relative; z-index: 1; --shot-w: 340px; }
.feature-visual .shot-media { aspect-ratio: 1072 / 1500; }
.benefits { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.benefits li { padding: var(--s-4) 0; border-top: 1px solid var(--line); margin: 0; display: grid; gap: 2px; }
.benefits li:last-child { border-bottom: 1px solid var(--line); }
.benefits strong { font-weight: 500; font-size: 1.05rem; }
.benefits span { color: var(--text-2); font-size: 0.95rem; }
@media (min-width: 900px) {
  .feature .wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: var(--s-16); }
  .feature--flip .feature-visual { order: 2; }
}

/* ---------- Cosmic constellation ---------- */
.cosmic { background: var(--ivory-soft); border-block: 1px solid var(--line); }
.constellation { position: relative; display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
.node { position: relative; padding: var(--s-6); border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-2); }
.node-step { font-family: var(--font-display); font-size: 1.1rem; color: var(--blue-ui); }
.node h3 { font-size: 1.5rem; margin: 0; }
.node p { color: var(--text-2); margin: 0; font-size: 0.97rem; }
.node .crop { margin-top: var(--s-4); }
.node--visual { grid-row: span 2; }
.foundation { display: grid; gap: var(--s-4); margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.foundation div { display: grid; gap: 4px; }
.foundation strong { font-weight: 500; }
.foundation span { color: var(--text-2); font-size: 0.97rem; }
@media (min-width: 900px) {
  .constellation { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .node--visual { grid-column: span 2; grid-row: auto; }
  .constellation::before { content: ""; position: absolute; left: 24px; right: 24px; top: 38px; height: 1px; background: linear-gradient(90deg, var(--blue), rgba(61, 112, 242, 0.1)); z-index: 0; }
  .node { z-index: 1; }
  .foundation { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
}
.callout { border-left: 2px solid var(--blue); padding: var(--s-3) var(--s-5); color: var(--text-2); }

/* ---------- Cosmic Tea (midnight) ---------- */
.tea { position: relative; background: var(--midnight); color: #fff; overflow: hidden; }
.tea::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80vw; max-width: 1000px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 112, 242, 0.35), rgba(104, 43, 165, 0.18) 45%, transparent 70%); pointer-events: none; }
.tea .wrap { position: relative; }
.tea h2, .tea h3 { color: #fff; }
.tea .eyebrow { color: var(--blue-text-dark); }
.tea p { color: rgba(255, 255, 255, 0.74); }
.tea a { color: var(--blue-text-dark); }
.tea a:hover { color: #fff; }
.tea :focus-visible { box-shadow: 0 0 0 3px var(--midnight), 0 0 0 6px var(--blue-text-dark); }
.tea-intro { display: grid; gap: var(--s-10); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.tea-intro .shot { --shot-w: 360px; margin-inline: auto; }
.tea-intro .shot-media--appstore img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)); }
.tea .orbits { color: var(--blue-text-dark); opacity: 0.35; inset: -10% -10% auto auto; height: 120%; }
.disclaimer { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: var(--s-4); margin-top: var(--s-6); max-width: 34em; }
.tea-grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
.tea-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-lg); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.tea-card h3 { font-size: 1.35rem; margin: 0; }
.tea-card p { margin: 0; font-size: 0.95rem; }
.tea-card .tag { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.8); width: fit-content; margin-bottom: var(--s-2); }
.tea-card--signature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; }
.tea-card--signature .crop { max-width: 220px; border-radius: var(--r-lg); box-shadow: none; }
.tea-card .signature { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: #fff; margin-bottom: var(--s-2); }
.sips { display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); }
.sip { padding: var(--s-4); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.sip small { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-text-dark); margin-bottom: 4px; }
.sip span { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; }
.score-wrap { display: flex; align-items: center; gap: var(--s-4); }
.score-ring { width: 84px; height: 84px; flex: none; }
.score-ring circle { fill: none; stroke-width: 6; }
.score-ring .track { stroke: rgba(255, 255, 255, 0.1); }
.score-ring .val { stroke: var(--blue); stroke-linecap: round; }
.score { font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; }
.score small { display: block; font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-text-dark); margin-top: 6px; }
.dimension { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s-3); align-items: center; font-size: 0.88rem; margin-top: var(--s-3); color: rgba(255, 255, 255, 0.85); }
.dimension .bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.dimension .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), #9DB6FF); }
.private-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--blue-text-dark); }
.private-mark svg { width: 16px; height: 16px; }
details.disclosure { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); }
details.disclosure summary { cursor: pointer; padding: var(--s-4) var(--s-5); font-weight: 500; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); min-height: 44px; }
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure summary::after { content: "+"; font-size: 1.3rem; color: rgba(255, 255, 255, 0.6); }
details.disclosure[open] summary::after { content: "−"; }
details.disclosure .disclosure-body { padding: 0 var(--s-5) var(--s-5); }
details.disclosure ul { margin: 0; padding-left: 1.2em; }
details.disclosure li { color: rgba(255, 255, 255, 0.74); font-size: 0.95rem; }
details.disclosure li strong { color: #fff; }
@media (min-width: 900px) {
  .tea-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--s-16); }
  .tea-intro .shot { --shot-w: 400px; margin-right: 0; }
  .tea-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tea-card--signature { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.2fr); }
  .sips { grid-template-columns: 1fr; }
}

/* ---------- Trust (powder blue) ---------- */
.trust { background: var(--powder); }
.trust .wrap { display: grid; gap: var(--s-10); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.principles li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid rgba(7, 17, 31, 0.12); margin: 0; align-items: start; }
.principles li:last-child { border-bottom: 1px solid rgba(7, 17, 31, 0.12); }
.principles .icon-well { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.7); color: var(--blue-ui); }
.principles .icon-well svg { width: 20px; height: 20px; }
.principles strong { display: block; font-weight: 500; font-size: 1.1rem; }
.principles span { color: var(--text-2); font-size: 0.97rem; }
.trust .btn-row { margin-top: var(--s-6); }
@media (min-width: 900px) { .trust .wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-16); align-items: start; } .principles { grid-template-columns: 1fr 1fr; gap: 0 var(--s-8); } .principles li:nth-child(2) { border-top: 1px solid rgba(7, 17, 31, 0.12); } .principles li:nth-last-child(2) { border-bottom: 1px solid rgba(7, 17, 31, 0.12); } }

/* ---------- Screenshot story (staggered) ---------- */
.story { display: grid; gap: var(--s-8) var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.story .shot { --shot-w: 100%; }
.story .shot-media { aspect-ratio: 1072 / 1400; }
@media (min-width: 720px) { .story { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-5); } .story .shot:nth-child(even) { margin-top: 48px; } }
@media (min-width: 1024px) { .story { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); } .story .shot:nth-child(even) { margin-top: 64px; } }
@media (max-width: 719px) { .story .shot:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 60%; margin-inline: auto; } }

/* ---------- Closing ---------- */
.closing { position: relative; background: var(--ivory-soft); overflow: hidden; }
.closing .wrap { position: relative; text-align: center; max-width: 840px; }
.closing h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.closing .btn-row { justify-content: center; margin-top: var(--s-8); }
.closing .orbits { inset: -30% -10% -30%; opacity: 0.22; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: rgba(255, 255, 255, 0.7); padding-block: var(--s-16) var(--s-8); font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--midnight), 0 0 0 6px var(--blue-text-dark); }
.footer-grid { display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand .brand { color: #fff; margin-bottom: var(--s-3); }
.footer-brand .brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-tagline { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: var(--s-5); }
.footer-brand address { font-style: normal; line-height: 1.6; color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; }
.footer-brand address strong { color: rgba(255, 255, 255, 0.8); font-weight: 500; }
.site-footer h2 { font-family: var(--font-ui); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { margin-top: var(--s-12); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; }

/* ---------- Secondary pages ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.page-hero .lede { max-width: 700px; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--text-3); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.doc-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: 0.9rem; color: var(--text-3); margin-top: var(--s-3); }
.doc-meta span strong { color: var(--text-2); font-weight: 500; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-10); align-items: start; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 260px minmax(0, 1fr); } .doc-toc { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; } }
.doc-toc { padding: var(--s-5); border-radius: var(--r-lg); background: var(--ivory-soft); border: 1px solid var(--line); font-size: 0.92rem; }
.doc-toc h2 { font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-3); }
.doc-toc ol { list-style: none; padding: 0; margin: 0; }
.doc-toc li { margin: 0; }
.doc-toc a { display: block; padding: 10px 8px; border-radius: 8px; color: var(--text-2); text-decoration: none; line-height: 1.35; }
.doc-toc a:hover { background: rgba(7, 17, 31, 0.05); color: var(--ink); }
.doc { max-width: 76ch; }
.doc h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-top: var(--s-12); scroll-margin-top: 100px; }
.doc > h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 1.4rem; margin-top: var(--s-8); scroll-margin-top: 100px; }
.doc h4 { margin-top: var(--s-6); }
.doc p, .doc li { color: var(--text-2); }
.doc li { margin-bottom: 6px; }
.doc .callout { margin: var(--s-5) 0; }
.legal-review { display: block; margin: var(--s-4) 0; padding: var(--s-3) var(--s-4); border-radius: 12px; background: rgba(138, 90, 8, 0.1); color: var(--warning); font-size: 0.92rem; font-weight: 500; border: 1px dashed rgba(138, 90, 8, 0.4); }
.legal-review::before { content: "Legal review required · "; font-weight: 700; }
.doc-nav { margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.doc-index { display: grid; gap: var(--s-3); }
.doc-index a { display: grid; gap: 4px; padding: var(--s-5); border-radius: var(--r-lg); background: var(--ivory-soft); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color var(--t-fast) var(--ease); }
.doc-index a:hover { border-color: var(--blue-ui); color: var(--ink); }
.doc-index a strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.doc-index a span { color: var(--text-2); font-size: 0.95rem; }
.doc-index a small { color: var(--text-3); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s-4) 0; font-weight: 500; display: flex; justify-content: space-between; gap: var(--s-4); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 0 var(--s-5); color: var(--text-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }
.support-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-8); }
.support-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text-2); text-decoration: none; font-size: 0.9rem; font-weight: 500; background: var(--ivory-soft); }
.support-nav a:hover { border-color: var(--ink); color: var(--ink); }
.contact-card { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--midnight); color: #fff; }
.contact-card h2, .contact-card h3, .contact-card p { color: #fff; margin: 0; }
.contact-card a { color: var(--blue-text-dark); font-weight: 500; }
.contact-card :focus-visible { box-shadow: 0 0 0 3px var(--midnight), 0 0 0 6px var(--blue-text-dark); }
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); }
.path span { padding: 4px 10px; border-radius: 8px; background: rgba(7, 17, 31, 0.07); font-size: 0.95rem; }
.path svg { width: 14px; height: 14px; color: var(--text-3); }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .num { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--blue); }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
@media print { .site-header, .site-footer, .doc-toc, .skip-link, .doc-nav, .breadcrumb { display: none; } body { font-size: 12pt; background: #fff; } .doc-layout { display: block; } .legal-review { break-inside: avoid; } }
