/* Atlas — landing page
 *
 * Black ground, navy surfaces, white ink, and gold spent only where it means
 * something: the button that starts an account, the top score, the horizon.
 * Blue is what Atlas does. Type is Inter Tight for structure, Instrument Serif
 * italic for the line in each section that carries the feeling, JetBrains
 * Mono for the small telemetry that makes it read like an instrument.
 */

@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/InterTight-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/InterTight-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/InterTight-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/InterTight-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/InterTight-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/InstrumentSerif-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/InstrumentSerif-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/JetBrainsMono-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/JetBrainsMono-500-normal.woff2) format('woff2'); }

:root {
  --bg: #05070E;
  --bg-2: #070B18;
  --navy: #0C1224;
  --navy-2: #101A38;
  --navy-deep: #122868;
  --line: rgba(151, 170, 230, 0.14);
  --line-strong: rgba(151, 170, 230, 0.3);
  --ink: #F5F7FF;
  --ink-2: #C3CBE8;
  --ink-3: #8B96B8;
  --accent: #3B6BF2;
  --accent-2: #5B86FF;
  --accent-soft: rgba(59, 107, 242, 0.16);
  --gold: #E5B24B;
  --gold-2: #F3D07A;
  --gold-soft: rgba(229, 178, 75, 0.14);
  --on-gold: #1A1200;
  --solid: #8B96B8;
  --font-body: 'Inter Tight', 'SF Pro Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --shell: min(1180px, 100% - 2.5rem);
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 0.84, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.shell { width: var(--shell); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 0.7rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); opacity: 0.9; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font: inherit; font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  padding: 0.9rem 1.65rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.22s var(--ease-out), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, #C99A34);
  color: var(--on-gold);
  box-shadow: 0 10px 30px -12px rgba(229, 178, 75, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-gold:hover { box-shadow: 0 16px 40px -12px rgba(229, 178, 75, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { background: rgba(12, 18, 36, 0.35); color: var(--ink); border-color: var(--line-strong); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--accent-2); background: rgba(59, 107, 242, 0.12); }
.btn-white { background: var(--ink); color: #0A0F22; }
.btn-white:hover { background: #fff; }
.btn .arrow { transition: transform 0.22s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(5, 7, 14, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.9); }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 0.3rem 0; transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav .btn { padding: 0.62rem 1.2rem; font-size: 0.9rem; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(12, 18, 36, 0.5); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-menu { display: none; }
@media (max-width: 880px) {
  .nav-links, .nav .btn-ghost { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; padding: 0.6rem 1.25rem 1.25rem; background: rgba(5, 7, 14, 0.94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); z-index: 79; }
  .nav-menu.is-open { display: block; }
  .nav-menu a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 500; }
  .nav-menu a:last-child { border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-top: var(--nav-h); }
.hero-media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 14, 0.55) 0%, rgba(5, 7, 14, 0) 38%, rgba(5, 7, 14, 0.15) 70%, rgba(5, 7, 14, 0.96) 100%),
    linear-gradient(100deg, rgba(5, 7, 14, 0.55) 0%, rgba(5, 7, 14, 0.1) 45%, rgba(5, 7, 14, 0) 70%);
}
.hero-sky { position: absolute; inset: 0 0 35% 0; z-index: -1; pointer-events: none; opacity: 0.7; will-change: transform; }
.hero-in { position: relative; padding: clamp(4rem, 12vh, 8rem) 0 clamp(3.5rem, 7vh, 5rem); max-width: 760px; }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 6.6rem); line-height: 0.94; letter-spacing: -0.04em; font-weight: 700; margin-top: 1.3rem; text-wrap: balance; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; font-size: 1.06em; color: var(--ink); }

/* the rotating headline: three phrases, each rising in word by word through a mask */
.rotator { position: relative; display: block; }
.rot-line { display: block; position: absolute; inset: 0; pointer-events: none; }
.rot-line.is-on { position: relative; }
.rot-line .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.04em 0.06em 0.1em 0; margin: -0.04em 0 -0.1em 0; }
.rot-line .w > span { display: inline-block; opacity: 0; transform: translateY(115%) rotate(3deg); transform-origin: 0 100%; will-change: transform, opacity; }
.rot-line.is-on .w > span { animation: word-in 0.85s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 75ms); }
.rot-line.is-off .w > span { opacity: 1; transform: none; animation: word-out 0.55s cubic-bezier(0.55, 0, 0.7, 0.2) forwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes word-in { from { opacity: 0; transform: translateY(115%) rotate(3deg); filter: blur(5px); } 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes word-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-110%) rotate(-2deg); } }
.hero-sub { margin-top: 1.6rem; max-width: 52ch; color: var(--ink-2); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.2rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.hero-proof li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-proof li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
.scroll-cue { position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: 2rem; display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold), transparent); display: block; position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: #fff; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 640px) { .scroll-cue { display: none; } .hero-media img, .hero-media video { object-position: 46% 55%; } }

/* stars (generated) */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.stars circle { fill: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* The hero never waits on an observer: it rises on load, whatever the tab is doing. */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease-out) both; animation-delay: calc(var(--d, 0s) + 0.15s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { max-width: 62rem; }
.sec h2 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); line-height: 1.0; letter-spacing: -0.035em; font-weight: 700; margin-top: 1.1rem; text-wrap: balance; }
.sec h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: -0.01em; }
.lead { margin-top: 1.4rem; max-width: 58ch; color: var(--ink-2); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; }
.lead + .lead { margin-top: 1rem; }

/* what */
.what-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 960px) { .what-grid { grid-template-columns: 1fr; } }
.what-statement { font-family: var(--font-serif); font-style: normal; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin-top: 1.3rem; text-wrap: balance; }
.what-statement em { font-style: italic; color: var(--ink); }
.what-copy { margin-top: 1.5rem; color: var(--ink-2); max-width: 54ch; }
.what-copy p + p { margin-top: 1rem; }

/* the machine — the product, drawn in css */
.machine {
  position: relative; border-radius: var(--radius); padding: 1.35rem 1.35rem 1.25rem;
  background: linear-gradient(165deg, rgba(16, 26, 56, 0.85), rgba(8, 13, 30, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
.machine::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(229, 178, 75, 0.35), transparent 35%, transparent 70%, rgba(91, 134, 255, 0.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.m-head { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; color: var(--ink-2); }
.m-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.m-len { margin-left: auto; color: var(--ink-3); }
.m-source { position: relative; margin-top: 1.1rem; height: 58px; border-radius: 10px; background: #070C1C; border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; padding: 0 0.8rem; }
.m-wave { display: flex; align-items: center; gap: 2px; height: 30px; width: 100%; }
.m-wave i { flex: 1; background: var(--accent-2); opacity: 0.32; border-radius: 1px; height: var(--h); }
.m-scrub { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; box-shadow: 0 0 16px #fff; opacity: 0; }
.m-mark { position: absolute; top: 6px; bottom: 6px; left: var(--x); width: 9%; border-radius: 6px; background: var(--gold); opacity: 0; box-shadow: 0 0 22px rgba(229, 178, 75, 0.7); }
.run .m-scrub { animation: scrub 2.4s cubic-bezier(0.45, 0, 0.2, 1) forwards; }
@keyframes scrub { 0% { opacity: 1; left: 0; } 100% { opacity: 1; left: 100%; } }
.run .m-mark { animation: mark 0.45s ease forwards; animation-delay: var(--t); }
@keyframes mark { to { opacity: 0.32; } }
.m-clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1rem; }
.m-clip { display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.7rem; border-radius: 12px; background: rgba(12, 18, 36, 0.8); border: 1px solid var(--line); opacity: 0; transform: translateY(-14px) scale(0.96); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), border-color 0.4s; }
.m-clip.in { opacity: 1; transform: none; }
.m-clip.in.top { border-color: rgba(229, 178, 75, 0.45); }
.ring { position: relative; width: 40px; height: 40px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring-bg { stroke: rgba(151, 170, 230, 0.16); }
.ring-fg { stroke: var(--c, var(--accent-2)); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 97.4; transition: stroke-dashoffset 1.1s var(--ease-out) 0.2s; }
.m-clip.in .ring-fg { stroke-dashoffset: calc(97.4px * (1 - var(--score) / 100)); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--c, var(--accent-2)); }
.m-title { font-weight: 600; font-size: 0.86rem; line-height: 1.15; letter-spacing: -0.01em; }
.m-meta { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.22rem; }
@media (max-width: 520px) { .m-clips { grid-template-columns: 1fr; } .m-clip { padding: 0.55rem 0.7rem; } }
.m-caption { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 12px; background: #070C1C; border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.2; }
.m-caption span { opacity: 0.28; transition: opacity 0.25s, color 0.25s, transform 0.25s; }
.m-caption span.on { opacity: 1; }
.m-caption span.hot { color: var(--accent-2); transform: translateY(-1px); }
.m-foot { margin-top: 0.8rem; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.m-foot b { color: var(--ink-2); font-weight: 500; }
.m-foot b.gold { color: var(--gold); }

/* services — the menu */
.menu { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 960px) { .menu { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .menu { grid-template-columns: 1fr; } }
.menu-item { position: relative; padding: 1.8rem 1.6rem 1.7rem; background: var(--bg-2); transition: background 0.35s; overflow: hidden; }
.menu-item::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(59, 107, 242, 0.16), transparent 70%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.menu-item:hover { background: #0A1022; }
.menu-item:hover::after { opacity: 1; }
.menu-idx { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--ink-3); display: flex; justify-content: space-between; }
.menu-idx span:last-child { color: var(--accent-2); margin-right: 2.4rem; }
.menu-item h3 { margin-top: 1.6rem; font-size: 1.28rem; letter-spacing: -0.025em; line-height: 1.15; font-weight: 600; }
.menu-item p { margin-top: 0.6rem; color: var(--ink-3); font-size: 0.97rem; line-height: 1.55; }
.menu-item .glyph { position: absolute; right: 1.2rem; top: 1.3rem; width: 26px; height: 26px; color: var(--ink-3); opacity: 0.7; }
.steps { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step-n { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gold); padding-top: 0.35rem; }
.step h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.step p { color: var(--ink-3); font-size: 0.95rem; margin-top: 0.3rem; }

/* who */
.who { overflow: hidden; }
.who-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; position: relative; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; } }
.who blockquote { margin: 1.3rem 0 0; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.who blockquote em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.08em; }
.who cite { display: block; margin-top: 1.3rem; font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); line-height: 1.7; }
.who-body p { color: var(--ink-2); font-size: 1.06rem; }
.who-body p + p { margin-top: 1.1rem; }
.who-body p:last-child { color: var(--ink); font-weight: 500; }
.orbits { position: absolute; right: -18%; top: -22%; width: 70vw; max-width: 900px; aspect-ratio: 1; pointer-events: none; opacity: 0.55; z-index: -1; will-change: transform; }
.orbits svg { width: 100%; height: 100%; }
.orbits .o1 { animation: spin 90s linear infinite; transform-origin: 50% 50%; }
.orbits .o2 { animation: spin 140s linear infinite reverse; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.who-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.tag { padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.85rem; color: var(--ink-2); background: rgba(12, 18, 36, 0.5); }

/* pricing */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, #070B19 30%, #070B19 70%, var(--bg) 100%); }
.plans { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.9rem 1.7rem 1.7rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 26, 56, 0.55), rgba(8, 13, 30, 0.7)); }
.plan-featured { border-color: rgba(229, 178, 75, 0.45); background: linear-gradient(180deg, rgba(18, 40, 104, 0.55), rgba(8, 13, 30, 0.85)); box-shadow: 0 40px 90px -50px rgba(59, 107, 242, 0.7); }
.plan-featured::before { content: "Recommended"; position: absolute; top: -0.7rem; left: 1.5rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.plan-name { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.plan-price { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.4rem; font-size: 3rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan-price small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.plan-alt { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-3); }
.plan-tag { margin-top: 1.1rem; font-family: var(--font-serif); font-style: italic; font-size: 1.28rem; line-height: 1.25; color: var(--ink-2); }
.plan ul { margin: 1.5rem 0 1.8rem; display: grid; gap: 0.6rem; font-size: 0.95rem; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 0.7rem; align-items: start; }
.plan li svg { margin-top: 0.3rem; color: var(--accent-2); }
.plan-featured li svg { color: var(--gold); }
.plan .btn { margin-top: auto; width: 100%; }
.packs { margin-top: 1.4rem; padding: 1.3rem 1.6rem; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; align-items: center; color: var(--ink-2); font-size: 0.97rem; }
.packs b { font-weight: 600; color: var(--ink); }
.packs .mono { color: var(--ink-3); }

/* start — the close */
.start { position: relative; overflow: hidden; padding: clamp(7rem, 16vw, 13rem) 0 clamp(9rem, 22vw, 16rem); text-align: center; border-top: 1px solid var(--line); }
.start-layer { position: absolute; left: 50%; transform: translateX(-50%); pointer-events: none; will-change: transform; }
.start-stars { inset: 0; width: 100%; transform: none; left: 0; opacity: 0.8; }
.start-rings { bottom: -62vw; width: 160vw; max-width: 2200px; aspect-ratio: 1; }
.start-rings svg { width: 100%; height: 100%; }
.start-horizon { bottom: -92vw; width: 200vw; max-width: 2800px; aspect-ratio: 1; }
.start-horizon svg { width: 100%; height: 100%; }
@media (max-width: 700px) { .start-rings { bottom: -72vw; width: 210vw; } .start-horizon { bottom: -118vw; width: 260vw; } }
.start-in { position: relative; z-index: 1; }
.start h2 { font-size: clamp(2.6rem, 7vw, 6rem); line-height: 0.96; letter-spacing: -0.04em; font-weight: 700; margin-top: 1.2rem; text-wrap: balance; }
.start h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.08em; }
.start p { margin: 1.4rem auto 0; max-width: 42ch; color: var(--ink-2); font-size: 1.1rem; }
.start .btn { margin-top: 2.3rem; padding: 1.05rem 2rem; font-size: 1.05rem; }

/* footer */
footer { position: relative; border-top: 1px solid var(--line); padding: 2rem 0 2.4rem; font-size: 0.88rem; color: var(--ink-3); background: var(--bg); }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.foot .brand { font-size: 1rem; color: var(--ink); }
.foot .brand svg { width: 26px; height: 26px; border-radius: 7px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-left: auto; }
.foot a:not(.brand) { transition: color 0.2s; }
.foot a:not(.brand):hover { color: var(--ink); }
.foot-note { flex: 1 1 100%; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); opacity: 0.8; }

/* ---------- legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 3rem) 0 5rem; }
.legal-in { max-width: 70ch; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.035em; line-height: 1; font-weight: 700; }
.legal .updated { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.legal .intro { margin-top: 1.5rem; font-size: 1.08rem; color: var(--ink-2); }
.legal section { margin-top: 2.6rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.1; font-weight: 600; }
.legal h3 { font-size: 1.05rem; letter-spacing: -0.015em; line-height: 1.25; margin-top: 1.4rem; font-weight: 600; }
.legal p { margin-top: 0.9rem; color: var(--ink-2); }
.legal a { color: var(--accent-2); }
.legal a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.legal ul { margin: 0.9rem 0 0; padding-left: 1.25rem; list-style: disc; color: var(--ink-2); }
.legal li + li { margin-top: 0.35rem; }
.legal .toc { margin-top: 1.8rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(12, 18, 36, 0.6); }
.legal .toc p { margin: 0 0 0.5rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.legal .toc ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.3rem; font-size: 0.95rem; font-weight: 500; }
.legal .toc a { color: var(--ink); }
.legal .toc a:hover { color: var(--gold-2); text-decoration: none; }

/* 404 */
.oops { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 6rem 0; }
.oops h1 { font-size: clamp(3rem, 12vw, 9rem); letter-spacing: -0.05em; line-height: 0.9; font-weight: 700; }
.oops p { margin-top: 1rem; color: var(--ink-2); }
.oops .btn { margin-top: 2rem; }

/* ---------- motion preferences ---------- */
@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; }
  .reveal { opacity: 1; transform: none; }
  .m-clip { opacity: 1; transform: none; }
  .m-clip .ring-fg { stroke-dashoffset: calc(97.4px * (1 - var(--score) / 100)); }
  .m-mark { opacity: 0.32; }
  .m-caption span { opacity: 1; }
  .hero-media video { display: none; }
  [data-depth] { transform: none !important; }
  .rot-line .w > span { opacity: 1; transform: none; animation: none !important; }
  .rot-line:not(.is-on) { display: none; }
  .orbits .o1, .orbits .o2 { animation: none; }
}
