/* Base typography, header and progressively enhanced scroll scene. */
:root { --night: #08090b; --surface: #101215; --line: #272c30; --muted: #939a9e; --silver: #c5ccd1; --ink: #f4f4f2; --edge: #5d656b; --body: #aab2b7; --sans: "Helvetica Neue", "Avenir Next", Arial, sans-serif; --header-h: 64px; color-scheme: dark; }
* { box-sizing: border-box; }
*::before { box-sizing: border-box; }
*::after { box-sizing: border-box; }
html { background: var(--night); color: var(--ink); font-family: var(--sans); scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: transparent; font-size: 1.0625rem; line-height: 1.6; font-synthesis: none; -webkit-font-smoothing: antialiased; }
img { display: block; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1 { margin-top: 0; }
h2 { margin-top: 0; }
h3 { margin-top: 0; }
h4 { margin-top: 0; }
p { margin-top: 0; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 100; left: 16px; top: -100px; padding: 12px 18px; border-radius: 8px; background: var(--ink); color: var(--night); font-size: .9375rem; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mark { flex: none; }
.lockup { --lk: 22px; width: calc(var(--lk) * 2.7592); height: calc(var(--lk) * .5465); fill: currentColor; flex: none; }
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--header-h); background: rgba(8, 9, 11, .94); border-bottom: 1px solid transparent; transition: border-color .3s; will-change: transform; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.bar { height: 100%; width: min(1240px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.brand .mark { width: 28px; height: 28px; }
.site-header .lockup { opacity: var(--head-word, 0); transition: opacity .25s; }
.site-header .lockup.is-off { visibility: hidden; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; color: #b9c0c4; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; color: #b9c0c4; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.signin:hover { color: var(--ink); }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--edge); border-radius: 999px; color: var(--ink); font-size: .875rem; text-decoration: none; white-space: nowrap; }
.pill:hover { border-color: var(--silver); }
.pill--fill { border-color: var(--ink); background: var(--ink); color: var(--night); font-weight: 500; }
.pill--fill:hover { border-color: #fff; background: #fff; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 999px; font-size: .875rem; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .icon { width: 16px; height: 16px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 8px; color: var(--ink); font-size: 1rem; text-decoration: none; }
.menu-panel a:hover { background: rgba(244, 244, 242, .06); }
.menu-panel hr { margin: 6px 8px; border: 0; border-top: 1px solid var(--line); }
.hero { position: relative; background: transparent; }
.scene { position: relative; }
/* Focus must not create internal scroll offsets in the decorative stage. */
.stage { position: relative; overflow: clip; display: flex; flex-direction: column; align-items: center; padding: calc(var(--header-h) + 56px) 24px 30px; text-align: center; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.atmo { position: absolute; inset: 0; background: radial-gradient(ellipse 46% 40% at 50% 33%, rgba(122, 134, 146, .11), transparent 70%), radial-gradient(ellipse 62% 34% at 50% 100%, rgba(138, 148, 152, .17), transparent 72%); }
.flare-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: radial-gradient(ellipse 56% 62% at 50% 100%, rgba(246, 249, 251, .7), rgba(214, 224, 230, .18) 46%, transparent 74%); opacity: .2; }
.constellation { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 18px 44px; pointer-events: none; }
.source { position: relative; text-align: left; transform-origin: 13px 50%; }
.source-row { display: flex; align-items: center; gap: 14px; }
.source-icon { width: 26px; height: 32px; color: var(--silver); stroke-width: 1.2; }
.source b { display: block; font-size: .9375rem; font-weight: 500; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.source small { display: block; margin-top: 3px; font-size: .8125rem; line-height: 1.35; color: var(--body); white-space: nowrap; }
.core { position: relative; grid-column: 1 / -1; justify-self: center; width: 60px; height: 60px; margin-top: 40px; color: var(--ink); }
.core .mark { width: 100%; height: 100%; }
.core-aura { position: absolute; left: calc(50% - 170px); bottom: -85px; width: 340px; height: 230px; background: radial-gradient(ellipse, rgba(220, 228, 237, .14), rgba(192, 208, 225, .05) 38%, transparent 70%); animation: breathe 7s ease-in-out infinite alternate paused; }
.core-boost { display: none; }
.wordmark { position: relative; margin: 26px 0 0; font-size: clamp(84px, 10.2vw, 164px); width: 2.4309em; height: .5465em; }
.intro { position: relative; max-width: 44rem; margin-top: 34px; }
.intro h1 { margin: 0 0 18px; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 400; line-height: 1.14; letter-spacing: -.035em; color: #eceeee; }
.intro p { text-wrap: balance; max-width: 35em; margin: 0 auto; font-size: 1.0625rem; line-height: 1.6; color: var(--body); }
.flood { display: none; }
.flare-line { display: none; }
.horizon { position: absolute; z-index: 5; left: -26%; width: 152%; bottom: -380px; height: 560px; border-radius: 50% 50% 0 0; background: var(--night); border-top: 1px solid rgba(220, 228, 230, .17); pointer-events: none; }
.horizon-edge { position: absolute; inset: -1px -1px auto; height: 100%; border-radius: 50% 50% 0 0; border-top: 2px solid rgba(255, 255, 255, .96); box-shadow: 0 -12px 48px rgba(236, 243, 247, .55); opacity: .2; }
.cue { position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 128px; padding: 6px 10px; border-radius: 8px; color: rgba(197, 204, 209, .78); font-size: .75rem; line-height: 1.2; text-decoration: none; white-space: nowrap; letter-spacing: .015em; }
.cue:hover { color: var(--ink); }
.cue-track { position: relative; width: 1px; height: 22px; overflow: hidden; background: linear-gradient(rgba(197, 204, 209, .32), rgba(197, 204, 209, 0)); }
.cue-track i { position: absolute; left: 0; top: 0; width: 1px; height: 9px; background: linear-gradient(rgba(244, 244, 242, 0), #f4f4f2); transform: none; animation: cue-drop 2.6s cubic-bezier(.45, 0, .2, 1) infinite; }
.motion { position: absolute; z-index: 6; right: max(24px, calc((100% - 1240px) / 2)); bottom: 30px; display: inline-flex; align-items: center; gap: 0; min-height: 0; padding: 0; border: 1px solid var(--edge); border-radius: 999px; background: transparent; color: var(--silver); font-size: .875rem; cursor: pointer; width: 30px; height: 30px; justify-content: center; border-color: rgba(93, 101, 107, .45); opacity: .4; transition: opacity .25s, border-color .25s; }
.motion:hover { color: var(--ink); border-color: var(--silver); opacity: 1; }
.motion .icon { width: 11px; height: 11px; }
.motion .i-play { display: none; }
.motion[data-state="off"] .i-play { display: block; }
.motion[data-state="off"] .i-pause { display: none; }
.no-js .motion { display: none; }
.explain { position: relative; z-index: 3; max-width: 1080px; margin: 0 auto; padding: 88px 24px 120px; text-align: center; }
.explain-mark { width: 32px; height: 32px; margin: 0 auto 22px; color: var(--silver); }
.explain-title { margin: 0 0 48px; font-size: clamp(1.75rem, 3.2vw, 2.875rem); font-weight: 400; line-height: 1.12; letter-spacing: -.033em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; text-align: left; }
.steps li { position: relative; padding-top: 20px; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(197, 204, 209, .36); opacity: var(--rules, 1); }
.step-n { display: block; margin-bottom: 12px; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 10px; font-size: 1.3125rem; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.steps p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--body); }
.explain-note { max-width: none; margin: 40px auto 0; font-size: .9375rem; color: var(--muted); }
[data-motion="animated"] .hero { height: 300svh; }
[data-motion="animated"] .scene { position: sticky; top: 0; height: 100svh; overflow: clip; }
[data-motion="animated"] .stage { position: absolute; inset: 0; display: block; padding: 0; }
[data-motion="animated"] .hero[data-visible="true"] .core-aura { animation-play-state: running; }
[data-motion="animated"] .constellation { position: absolute; inset: 0; display: block; transition: transform .2s ease-out; z-index: 3; }
[data-motion="animated"] .source { position: absolute; }
[data-motion="animated"] .source--guides { left: 10.5%; top: 37%; }
[data-motion="animated"] .source--talk { left: 74%; top: 23.5%; }
[data-motion="animated"] .source--updates { left: 15%; top: 63%; }
[data-motion="animated"] .core { position: absolute; left: calc(50% - 30px); top: calc(29% - 30px); margin: 0; }
[data-motion="animated"] .core-aura { top: calc(29% - 115px); bottom: auto; display: none !important; }
[data-motion="animated"] .core-boost { display: none !important; position: absolute; left: calc(50% - 160px); top: calc(29% - 160px); width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .8), rgba(226, 234, 240, .24) 28%, transparent 66%); opacity: 0; }
[data-motion="animated"] .wordmark { position: absolute; left: 50%; top: calc(35.5% + .344em); margin: 0; transform: translateX(-50%); }
[data-motion="animated"] .intro { position: absolute; left: 24px; right: 24px; top: 57%; margin: 0 auto; }
[data-motion="animated"] .flare-glow { top: 57.5%; bottom: auto; height: 34%; }
[data-motion="animated"] .horizon { top: 89%; bottom: auto; height: 65%; }
[data-motion="animated"] .cue { position: absolute; left: 50%; bottom: 24px; margin: 0; transform: translateX(-50%); }
[data-motion="animated"] .flood { position: absolute; inset: 0; z-index: 4; pointer-events: none; user-select: none; -webkit-user-select: none; }
.flood-disc { position: absolute; border-radius: 0; transform: scale(0); background: transparent; box-shadow: none; }
[data-motion="animated"] .flare-line { position: absolute; z-index: 4; left: 0; right: 0; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .92) 12%, #fff 50%, rgba(255, 255, 255, .92) 88%, transparent); box-shadow: 0 0 24px 2px rgba(240, 246, 250, .5); pointer-events: none; }
[data-motion="animated"] .explain { position: absolute; left: 0; right: 0; top: calc(29% - 16px); padding: 0 24px; }
.explain--echo { color: var(--night); }
.explain--echo .explain-mark { color: var(--night); }
.is-unseen { pointer-events: none !important; user-select: none; -webkit-user-select: none; }
@keyframes breathe { from { opacity: .5; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.fx { display: none; }
[data-motion="animated"] .fx { display: block; position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.site-header:focus-within { transform: none !important; opacity: 1 !important; }
@keyframes cue-drop { 0% { transform: translateY(-9px); opacity: 0; } 30% { opacity: 1; } 85% { opacity: .9; } 100% { transform: translateY(22px); opacity: 0; } }
[data-motion="animated"] .motion { gap: 0; min-height: 0; width: 30px; height: 30px; padding: 0; justify-content: center; border-color: rgba(93, 101, 107, .45); background: transparent; color: var(--silver); opacity: .4; transition: opacity .25s, border-color .25s; }
.motion:focus-visible { opacity: 1; border-color: var(--silver); }
[data-motion="animated"] .motion:hover,
[data-motion="animated"] .motion:focus-visible { opacity: 1; border-color: var(--silver); }
.motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main, .footer { position: relative; z-index: 1; }
html:not([data-motion="animated"]) .cue-track i { animation: none; }
html[data-page-visible="false"] .cue-track i,
html[data-page-visible="false"] .core-aura,
[data-motion="animated"] .hero[data-visible="false"] .cue-track i,
[data-motion="animated"] .hero[data-visible="false"] .core-aura { animation-play-state: paused; }
@media (max-width: 1100px) {
  [data-motion="animated"] .source--guides { left: 5%; }
  [data-motion="animated"] .source--talk { left: 72%; }
  [data-motion="animated"] .source--updates { left: 8%; }
}
@media (max-width: 900px), (max-width: 1000px) and (max-height: 500px) and (pointer: coarse) {
  .nav { display: none; }
  .signin { display: none; }
  .menu { display: block; }
  .bar { grid-template-columns: auto 1fr; gap: 12px; width: calc(100% - 32px); }
  .bar .pill, .menu summary { min-height: 44px; }
}
@media (max-width: 760px) {
  :root { --header-h: 56px; }
  body { font-size: 1rem; }
  .brand .mark { width: 26px; height: 26px; }
  .stars { opacity: .38; }
  .stage { padding: calc(var(--header-h) + 36px) 16px 24px; }
  .constellation { grid-template-columns: repeat(2, auto); gap: 16px 28px; }
  .source-row { gap: 10px; }
  .source-icon { width: 21px; height: 27px; }
  .source { transform-origin: 10px 50%; }
  .source b { font-size: .875rem; }
  .source--updates { grid-column: 1 / -1; justify-self: center; }
  .core { width: 50px; height: 50px; margin-top: 30px; }
  .core-aura { width: 220px; height: 160px; left: calc(50% - 110px); bottom: -55px; }
  .wordmark { font-size: clamp(64px, 24vw, 150px); }
  .intro h1 { font-size: clamp(1.625rem, 7.4vw, 2.125rem); letter-spacing: -.03em; margin-bottom: 14px; }
  .intro p { max-width: 21em; font-size: .9375rem; }
  .horizon { left: -70%; width: 240%; }
  .cue { margin-top: 96px; }
  .motion { position: relative; right: auto; bottom: auto; margin-top: 12px; }
  .explain { padding: 72px 20px 96px; text-align: left; }
  .explain-mark { width: 26px; height: 26px; margin: 0 0 16px; }
  .explain-title { margin-bottom: 26px; font-size: clamp(1.625rem, 7.2vw, 2rem); }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps li { padding-top: 14px; }
  .step-n { display: inline; margin: 0 8px 0 0; }
  .steps h3 { display: inline; font-size: 1.125rem; }
  .steps p { margin-top: 6px; font-size: .9375rem; line-height: 1.5; }
  .explain-note { margin: 24px 0 0; font-size: .875rem; }
  [data-motion="animated"] .source--guides { left: 5%; top: 12%; }
  [data-motion="animated"] .source--talk { left: auto; right: 5%; top: 12%; }
  [data-motion="animated"] .source--updates { left: calc(50% - 66px); top: 19.5%; }
  [data-motion="animated"] .core { left: calc(50% - 25px); top: calc(30% - 25px); }
  [data-motion="animated"] .core-aura { top: calc(30% - 80px); }
  [data-motion="animated"] .core-boost { top: calc(30% - 160px); }
  [data-motion="animated"] .wordmark { top: calc(36% + .344em); font-size: clamp(64px, 27vw, 150px); }
  [data-motion="animated"] .intro { top: 52%; }
  [data-motion="animated"] .horizon { top: 91%; }
  [data-motion="animated"] .cue { bottom: 52px; }
  [data-motion="animated"] .motion { position: absolute; right: 14px; bottom: 14px; margin: 0; }
  [data-motion="animated"] .explain { top: calc(var(--header-h) + 26px); padding: 0 20px; }
}
@media (max-width: 440px) {
  .site-header .lockup { display: none; }
}
@media (max-width: 360px) {
  .constellation { grid-template-columns: 1fr; justify-items: start; }
  .source--updates { grid-column: auto; justify-self: start; }
  .pill { padding: 0 14px; }
  .menu summary { padding: 0 12px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  [data-motion="animated"] .wordmark { top: calc(34% + .344em); }
  [data-motion="animated"] .intro { top: 50%; }
  [data-motion="animated"] .intro p { font-size: .875rem; }
  [data-motion="animated"] .explain-mark { display: none; }
  [data-motion="animated"] .explain-note { display: none; }
  [data-motion="animated"] .steps p { font-size: .875rem; }
}
@media (min-width: 761px) and (max-height: 760px) {
  [data-motion="animated"] .wordmark { top: calc(33% + .344em); font-size: clamp(96px, 9vw, 140px); }
  [data-motion="animated"] .intro { top: 55%; }
  [data-motion="animated"] .intro h1 { font-size: clamp(1.75rem, 2.6vw, 2.375rem); }
  [data-motion="animated"] .horizon { top: 90.5%; }
  [data-motion="animated"] .explain { top: calc(27% - 16px); }
  [data-motion="animated"] .core { top: calc(27% - 30px); }
  [data-motion="animated"] .core-aura { top: calc(27% - 115px); }
  [data-motion="animated"] .core-boost { top: calc(27% - 160px); }
  [data-motion="animated"] .explain-title { margin-bottom: 32px; font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
  [data-motion="animated"] .explain-note { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  *::before { animation: none !important; transition: none !important; }
  *::after { animation: none !important; transition: none !important; }
  .cue-track i { animation: none; }
}

/* Keep the decorative sky aligned with its mark, including subtle pointer drift. */
[data-motion="animated"] .fx { transition: transform .2s ease-out; }
.cue:focus-visible { opacity: 1 !important; pointer-events: auto !important; }
