:root {
  --canvas: #08090b;
  --surface: #111318;
  --ink: #f4f4f2;
  --muted: #939a9e;
  --line: #272c30;
  font-family: "Helvetica Neue", "Avenir Next", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible { outline: 2px solid #cdd5e1; outline-offset: 6px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
p { line-height: 1.75; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
img { display: block; max-width: 100%; }
.section-width { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 14px 20px; background: var(--ink); color: var(--canvas); z-index: 100; border-radius: 6px; }
.skip-link:focus { top: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1; }
.brand:hover { text-decoration: none; }
.brand img { width: 31px; height: 31px; }
.brand-word { font-family: "Avenir Next", Arial, sans-serif; font-size: 30px; letter-spacing: -1.6px; font-weight: 650; }
.brand-ai { font-size: .52em; font-weight: 400; color: #b0b2b9; letter-spacing: -.5px; margin-left: 3px; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.header-inner { width: calc(100% - 100px); max-width: 1560px; min-height: 97px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 45px; }
.header-inner > .brand { justify-self: start; }
.header-nav { display: flex; gap: 36px; align-items: center; }
.header-nav a { color: #b1b6c0; font-size: 13px; letter-spacing: .1px; }
.header-nav a:hover { color: #fff; text-decoration: none; }
.sign-in { justify-self: end; display: inline-flex; align-items: center; gap: 20px; padding: 11px 18px; border: 1px solid #8d97a238; border-radius: 30px; font-size: 12px; color: #d9dce1; background: #d9e5ff04; }
.sign-in:hover { text-decoration: none; background: #d9e5ff0a; border-color: #8997af6e; }
.sign-in svg { width: 14px; height: 14px; }
/* The scene has no canvas or animated full-screen texture. Only the small
   fragments, stars and core glow animate between input events. */
.cosmos-hero {
  --scroll-progress: 0; --gather: 0; --source-opacity: 1; --intro-opacity: 1;
  --burst-opacity: 0; --burst-scale: .1; --burst-progress: 0; --core-x: 50%; --core-y: 29%;
  --breakdown-opacity: 1; --breakdown-shift: 0px; --cursor-x: 0px; --cursor-y: 0px;
  position: relative; height: 320svh; min-height: 2176px; isolation: isolate; background: var(--canvas);
}
.cosmos-hero:not([data-motion-ready]), .cosmos-hero[data-scene="static"] { height: auto; min-height: 0; }
.cosmos-hero:not([data-motion-ready]) .motion-toggle { visibility: hidden; }
.cosmos-scene { position: sticky; top: 0; height: 100svh; min-height: 680px; overflow: hidden; background: #08090b; }
.hero-intro-stage { position: absolute; inset: 0; }
.hero-star-map { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .68; pointer-events: none; }
.hero-atmosphere { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 43%, #717c8715, transparent 48%), radial-gradient(ellipse at 50% 101%, #8a94982c, transparent 49%); }
.hero-horizon { position: absolute; width: 152%; height: 65%; left: -26%; top: 82%; border-radius: 50% 50% 0 0; border-top: 1px solid #dce4e624; background: #08090b; box-shadow: 0 -15px 65px #bdc7d708; pointer-events: none; }
.constellation-parallax { position: absolute; inset: 0; transform: translate3d(var(--cursor-x), var(--cursor-y), 0); transition: transform 180ms ease-out; pointer-events: none; }
.constellation-lines { opacity: var(--intro-opacity); position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; stroke-width: .6; fill: none; }
.constellation-orbit { stroke: url(#orbit-light); opacity: .72; }
.constellation-guide { stroke: #ced7dd; opacity: .075; }
.constellation-trace { stroke: #dce5e9; opacity: .38; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--gather)); }
.source-fragment { position: absolute; width: 220px; transform: translate3d(calc(var(--travel-x, 0px) * var(--gather)), calc(var(--travel-y, 0px) * var(--gather)), 0) scale(calc(1 - var(--gather) * .65)); opacity: var(--source-opacity); }
.source-fragment--written { left: 10%; top: 38%; }
.source-fragment--spoken { left: 75%; top: 26%; }
.source-fragment--revised { left: 16%; top: 66%; }
.source-fragment-float { display: flex; align-items: center; gap: 15px; animation: fragment-drift 9s ease-in-out infinite alternate; }
.source-fragment--spoken .source-fragment-float { animation-delay: -5s; animation-duration: 11s; }
.source-fragment--revised .source-fragment-float { animation-delay: -2s; animation-duration: 10s; }
.source-fragment-float > svg { width: 25px; height: 31px; color: #aeb9c0; stroke-width: 1.1; }
.source-fragment span { display: block; color: #d0d5d8; font-size: 13px; letter-spacing: .05px; }
.source-fragment small { display: block; color: #848e94; font-size: 11px; line-height: 1.5; margin-top: 8px; }
.hero-core-mark { opacity: var(--intro-opacity); position: absolute; width: 64px; height: 64px; left: calc(50% - 32px); top: calc(29% - 32px); }
.hero-core-aura { position: absolute; width: 290px; height: 190px; left: calc(50% - 145px); top: calc(29% - 95px); background: radial-gradient(ellipse, #dce4ed13, #c0d0e106 35%, transparent 69%); animation: core-breathe 7s ease-in-out infinite alternate; }
.cosmos-wordmark { opacity: var(--intro-opacity); position: absolute; top: 35.5%; left: 50%; transform: translateX(-50%); display: flex; align-items: baseline; padding-right: 8px; font-family: "Arial Black", "Avenir Next", sans-serif; font-size: clamp(114px, 10.1vw, 164px); font-weight: 900; line-height: .96; letter-spacing: -.076em; white-space: nowrap; }
.cosmos-wordmark > span:first-child { background: linear-gradient(174deg, #fff 6%, #e9ebef 55%, #b4bac1 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.cosmos-ai { color: #858c91; font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: .29em; letter-spacing: -.055em; margin-left: 9px; }
.hero-copy { opacity: var(--intro-opacity); position: absolute; top: 57%; left: 24px; right: 24px; max-width: 640px; margin: auto; text-align: center; }
.hero-copy h1 { font-size: clamp(32px, 2.9vw, 42px); line-height: 1.16; font-weight: 400; letter-spacing: -1.6px; margin: 0 0 23px; color: #e5e7e8; }
.hero-copy p { color: #9fa7ac; font-size: 15px; line-height: 1.75; font-weight: 400; max-width: 455px; margin: auto; }
/* The burst is a bounded SVG: no particles, timers, animated blur or canvas. */
.hero-burst { position: absolute; z-index: 3; left: var(--core-x); top: calc(var(--core-y) + var(--burst-progress) * 20svh); width: min(600px, 76vw); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: var(--burst-opacity); pointer-events: none; }
.hero-burst-art { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: none; }
.burst-star { fill: url(#burst-light); transform-origin: 300px 300px; transform: scale(var(--burst-scale)); }
.burst-heart { fill: #f9fcff; transform-origin: 300px 300px; transform: scale(calc(.6 + var(--burst-progress) * 2.4)); }
.burst-ring { stroke: #d1e0e8; stroke-width: .8; opacity: .5; transform-origin: 300px 300px; }
.burst-ring--outer { transform: scale(calc(.16 + var(--burst-progress) * 2.1)); }
.burst-ring--inner { opacity: .25; transform: scale(calc(.3 + var(--burst-progress) * 2.6)); }
.burst-rays { stroke: #edf5f9; stroke-width: .8; opacity: .55; transform-origin: 300px 300px; transform: scale(calc(.2 + var(--burst-progress) * 1.5)); }
.hero-breakdown { position: absolute; z-index: 2; top: 20%; left: 40px; right: 40px; width: min(1010px, calc(100% - 80px)); margin-inline: auto; opacity: var(--breakdown-opacity); transform: translateY(var(--breakdown-shift)); }
.breakdown-mark { width: 38px; height: 38px; margin: 0 auto 25px; opacity: .8; }
.hero-breakdown h2 { font-size: clamp(34px, 3.1vw, 46px); line-height: 1.15; letter-spacing: -1.5px; text-align: center; margin: 0 0 48px; font-weight: 400; }
.breakdown-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; list-style: none; margin: 0; padding: 0; }
.breakdown-steps li { border-top: 1px solid #b1c1cb40; padding-top: 20px; }
.breakdown-number { display: block; color: #8e9da6; font-size: 12px; font-variant-numeric: tabular-nums; margin-bottom: 20px; }
.breakdown-steps h3 { color: #e8ecee; font-size: 21px; line-height: 1.25; letter-spacing: -.45px; margin: 0 0 12px; }
.breakdown-steps p { color: #a3adb3; font-size: 14px; line-height: 1.75; margin: 0; }
.breakdown-note { color: #929da4; font-size: 12px; line-height: 1.7; margin: 33px auto 0; text-align: center; max-width: 590px; }
/* Static modes keep both explanations in normal reading order. A manual
   pause during the story leaves its geometry frozen instead of changing layout. */
.cosmos-hero:not([data-motion-ready]) .cosmos-scene, .cosmos-hero[data-scene="static"] .cosmos-scene { position: relative; top: 0; height: auto; }
.cosmos-hero:not([data-motion-ready]) .hero-intro-stage, .cosmos-hero[data-scene="static"] .hero-intro-stage { position: relative; height: 100svh; min-height: 680px; }
.cosmos-hero:not([data-motion-ready]) .hero-breakdown, .cosmos-hero[data-scene="static"] .hero-breakdown { position: relative; top: auto; left: auto; right: auto; padding-block: 40px 110px; }
.hero-twinkles { position: absolute; inset: 0; pointer-events: none; }
.hero-twinkles i { position: absolute; width: 3px; height: 3px; background: #dbe6ec; border-radius: 50%; box-shadow: 0 0 8px #c5deee70; opacity: .3; animation: star-twinkle 5s ease-in-out infinite alternate; }
.hero-twinkles i:nth-child(1) { left: 14%; top: 20%; animation-delay: -3s; }
.hero-twinkles i:nth-child(2) { left: 30%; top: 14%; animation-delay: -1s; animation-duration: 7s; width: 2px; height: 2px; }
.hero-twinkles i:nth-child(3) { left: 63%; top: 18%; animation-delay: -6s; animation-duration: 9s; }
.hero-twinkles i:nth-child(4) { left: 89%; top: 46%; animation-delay: -4s; animation-duration: 6s; width: 2px; height: 2px; }
.hero-twinkles i:nth-child(5) { left: 9%; top: 71%; animation-delay: -2s; animation-duration: 8s; }
.hero-twinkles i:nth-child(6) { left: 67%; top: 75%; animation-delay: -5s; animation-duration: 7s; width: 2px; height: 2px; }
.hero-twinkles i:nth-child(7) { left: 87%; top: 13%; animation-delay: -4s; animation-duration: 10s; width: 2px; height: 2px; }
.hero-twinkles i:nth-child(8) { left: 38%; top: 83%; animation-delay: -6s; animation-duration: 8s; width: 2px; height: 2px; }
@keyframes star-twinkle { from { opacity: .12; } to { opacity: .8; } }
@keyframes fragment-drift { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
@keyframes core-breathe { from { opacity: .5; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.hero-twinkles i, .source-fragment-float, .hero-core-aura { animation-play-state: paused; }
.cosmos-hero[data-motion="running"][data-visible="true"] .hero-twinkles i,
.cosmos-hero[data-motion="running"][data-visible="true"] .source-fragment-float,
.cosmos-hero[data-motion="running"][data-visible="true"] .hero-core-aura { animation-play-state: running; }
.cosmos-bottom { position: absolute; z-index: 5; bottom: 31px; left: 50px; right: 50px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 30px; }
.explore-cue { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 11px; color: #b0bbc1; }
.explore-cue:hover { text-decoration: none; color: #fff; }
.scroll-track { position: relative; display: block; width: 1px; height: 28px; background: #c5d3dd26; }
.scroll-track i { display: block; width: 1px; height: 8px; background: #d5e1e8; transform: translateY(calc(var(--scroll-progress) * 20px)); }
.motion-toggle { grid-column: 3; justify-self: end; padding: 10px 1px; display: inline-flex; align-items: center; gap: 8px; border: 0; color: #a0abb2; font-size: 10px; letter-spacing: .1px; background: transparent; }
.motion-toggle::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c7d9e3; }
.motion-toggle[aria-pressed="true"]::before { background: #66727b; }
.motion-toggle:hover { color: #e2e8eb; }
.motion-toggle:disabled { cursor: default; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 22px; border: 1px solid #68778e55; border-radius: 6px; font-size: 12px; color: #e2e7ef; background: #ffffff04; }
.button:hover { background: #ffffff09; text-decoration: none; border-color: #8e9bb46b; }
.button svg { width: 16px; height: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 12px; color: #c3ccd9; }
.site-footer { display: flex; align-items: center; gap: 30px; min-height: 125px; padding-block: 34px; border-top: 1px solid #7c87971f; }
.site-footer .brand img { width: 28px; height: 28px; } .site-footer .brand-word { font-size: 27px; }
.site-footer p, .site-footer > a:last-child { color: #8b94a2; font-size: 10px; margin: 0; }
.site-footer > a:last-child { margin-left: auto; }
@media (max-width: 1100px) {
  .section-width { width: calc(100% - 64px); }
  .header-inner { width: calc(100% - 64px); gap: 25px; }
  .header-nav { gap: 27px; }
  .cosmos-bottom { left: 32px; right: 32px; }
  .source-fragment { width: 175px; }
  .source-fragment--written { left: 5%; top: 37%; }
  .source-fragment--spoken { left: 77%; }
  .source-fragment--revised { left: 8%; top: 69%; }
  .source-fragment small { max-width: 125px; }
  .hero-copy { max-width: 490px; }
  .hero-copy p { max-width: 385px; font-size: 14px; }
}
@media (max-width: 800px) {
  .source-fragment { width: 145px; }
  .source-fragment-float { gap: 9px; }
  .source-fragment-float > svg { width: 19px; height: 25px; }
  .source-fragment span { font-size: 11px; }
  .source-fragment small { font-size: 10px; }
  .source-fragment--spoken { left: 77%; top: 22%; }
  .source-fragment--written { left: 5%; top: 25%; }
  .source-fragment--revised { left: 6%; top: 77%; }
  .hero-copy { top: 56%; }
}
@media (max-width: 1100px) {
  .breakdown-steps { gap: 28px; }
  .breakdown-steps h3 { font-size: 18px; }
  .breakdown-steps p { font-size: 13px; }
}
@media (max-width: 650px) {
  .section-width { width: calc(100% - 40px); }
  .header-inner { display: flex; justify-content: space-between; width: calc(100% - 40px); min-height: 83px; }
  .header-nav { display: none; }
  .brand img { width: 28px; height: 28px; } .brand-word { font-size: 29px; }
  .sign-in { padding: 10px 15px; font-size: 12px; gap: 13px; }
  .cosmos-hero { height: 340svh; min-height: 1932px; }
  .cosmos-scene { min-height: 568px; }
  .hero-star-map { object-fit: cover; opacity: .55; }
  .hero-horizon { top: 87%; width: 240%; left: -70%; }
  .hero-core-mark { width: 52px; height: 52px; left: calc(50% - 26px); top: calc(31% - 26px); }
  .hero-core-aura { width: 200px; height: 150px; left: calc(50% - 100px); top: calc(31% - 75px); }
  .cosmos-wordmark { top: 37%; font-size: clamp(104px, 27vw, 150px); }
  .cosmos-ai { margin-left: 6px; }
  .hero-copy { top: 54%; left: 24px; right: 24px; max-width: 440px; }
  .hero-copy h1 { font-size: clamp(28px, 6.9vw, 36px); line-height: 1.19; letter-spacing: -1.1px; margin-bottom: 18px; }
  .hero-copy p { font-size: 13px; max-width: 315px; line-height: 1.75; }
  .source-fragment { width: 145px; }
  .source-fragment--written { left: 7%; top: 19%; }
  .source-fragment--spoken { left: 57%; top: 22%; width: calc(43% - 18px); }
  .source-fragment--revised { left: 8%; top: 77%; width: 155px; }
  .source-fragment small { font-size: 10px; margin-top: 6px; }
  .source-fragment--spoken small { max-width: 100px; }
  .constellation-lines { opacity: calc(var(--intro-opacity) * .5); }
  .constellation-guide, .constellation-trace { display: none; }
  .cosmos-bottom { left: 20px; right: 20px; bottom: 20px; gap: 13px; }
  .explore-cue { font-size: 10px; gap: 12px; }
  .motion-toggle { font-size: 9px; gap: 6px; }
  .site-footer { flex-wrap: wrap; gap: 20px; padding-block: 33px; }
  .site-footer p { max-width: 180px; margin-left: auto; text-align: right; }
  .site-footer > a:last-child { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 650px) {
  .hero-burst { width: 94vw; }
  .hero-breakdown { top: 18%; left: 24px; right: 24px; width: calc(100% - 48px); max-width: 430px; }
  .breakdown-mark { width: 30px; height: 30px; margin-bottom: 23px; }
  .hero-breakdown h2 { font-size: clamp(26px, 6.4vw, 34px); letter-spacing: -.9px; margin-bottom: 32px; }
  .breakdown-steps { grid-template-columns: 1fr; gap: 20px; }
  .breakdown-steps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; border-top: 0; padding-top: 0; }
  .breakdown-number { font-size: 11px; margin: 3px 0 0; }
  .breakdown-steps h3 { font-size: 18px; margin-bottom: 7px; }
  .breakdown-steps p { font-size: 13px; line-height: 1.6; }
  .breakdown-note { font-size: 11px; margin-top: 26px; line-height: 1.6; text-align: left; padding-left: 32px; }
}
@media (max-width: 650px) and (max-height: 740px) {
  .hero-core-mark { top: calc(28% - 26px); }
  .hero-core-aura { top: calc(28% - 75px); }
  .cosmos-wordmark { top: 34%; font-size: clamp(86px, 26vw, 126px); }
  .hero-copy { top: 52%; }
  .hero-copy h1 { font-size: clamp(24px, 6.8vw, 31px); margin-bottom: 15px; }
  .hero-copy p { font-size: 12px; max-width: 295px; }
  .source-fragment--written { top: 18%; }
  .source-fragment--spoken { top: 18%; }
  .source-fragment--revised { top: 77%; }
  .cosmos-bottom { bottom: 13px; }
  .scroll-track { height: 23px; }
}
@media (max-width: 650px) and (max-height: 740px) {
  .hero-breakdown { top: 15%; }
  .breakdown-mark { display: none; }
  .hero-breakdown h2 { font-size: 25px; margin-bottom: 26px; }
  .breakdown-steps { gap: 17px; }
  .breakdown-steps h3 { font-size: 17px; }
  .breakdown-steps p { font-size: 12px; line-height: 1.5; }
  .breakdown-note { margin-top: 20px; }
}
@media (max-height: 600px) and (min-width: 651px) {
  .cosmos-hero { height: 2200px; min-height: 0; }
  .cosmos-scene { top: calc(100svh - 720px); height: 720px; }
  .hero-copy { top: 57%; }
  .cosmos-wordmark { font-size: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cosmos-hero { height: auto; min-height: 0; }
  .cosmos-scene { position: relative; top: 0; height: auto; }
  .hero-intro-stage { position: relative; height: 100svh; min-height: 680px; }
  .hero-breakdown { position: relative; top: auto; left: auto; right: auto; opacity: 1; transform: none; padding-block: 40px 110px; }
  .hero-burst { display: none; }
}

@media (max-width:650px) { .cosmos-hero:not([data-motion-ready]) .hero-intro-stage, .cosmos-hero[data-scene="static"] .hero-intro-stage { min-height:568px; } }
