:root {
  color-scheme: dark;
  --ink: #10131c;
  --ink-soft: #171b26;
  --panel: #1d222e;
  --panel-raised: #242a36;
  --burgundy: #542b35;
  --gold: #c7a46c;
  --gold-light: #e5cc98;
  --ember: #b65c46;
  --ice: #8bb8c1;
  --text: #efe9dd;
  --muted: #b6b4b2;
  --line: rgba(202, 171, 123, .22);
  --line-strong: rgba(202, 171, 123, .56);
  --shadow: 0 28px 70px rgba(0, 0, 0, .3);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', Arial, sans-serif;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --radius: .25rem;
  --content: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); line-height: 1.6; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .16; background-image: radial-gradient(circle at 15% 20%, rgba(199,164,108,.16), transparent 30%), radial-gradient(circle at 80% 70%, rgba(84,43,53,.3), transparent 35%); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
[hidden] { display: none !important; }
.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; }
::selection { background: var(--gold); color: var(--ink); }
.container { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; top: -5rem; left: 1rem; padding: .6rem 1rem; background: var(--gold-light); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(16,19,28,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; flex: none; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-size: 1.6rem; line-height: 1; box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 6px var(--line-strong); }
.brand-copy { display: grid; line-height: 1.1; gap: .35rem; }
.brand-copy strong { font-family: var(--serif); text-transform: uppercase; letter-spacing: .11em; font-weight: 500; font-size: 1.04rem; white-space: nowrap; }
.brand-copy small { color: var(--gold); letter-spacing: .18em; font-size: .55rem; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); }
.site-nav > a:not(.button) { color: #e4dfd5; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.site-nav > a:hover, .footer-links a:hover, .footer-bottom a:hover { color: var(--gold-light); }
.menu-toggle { display: none; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; text-align: center; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; box-shadow: 0 0 0 7px rgba(199,164,108,.15); }
.button-primary { background: var(--gold); color: var(--ink); box-shadow: 0 8px 30px rgba(199,164,108,.18); }
.button-primary:hover { background: var(--gold-light); }
.button-outline { background: transparent; border-color: var(--gold); color: var(--gold-light); }
.button-outline:hover { background: rgba(199,164,108,.12); }
.button-ghost { border-color: var(--line-strong); color: var(--text); }
.button-ghost:hover { border-color: var(--gold-light); }
.button-small { min-height: 40px; padding: .6rem 1rem; font-size: .72rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; color: var(--gold-light); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-line { width: 24px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { max-width: 780px; margin: 1.5rem 0 1.25rem; font-size: clamp(3.4rem, 6.4vw, 6.9rem); letter-spacing: -.055em; }
h2 { margin: 1.1rem 0 0; font-size: clamp(2.6rem, 4.2vw, 4.4rem); letter-spacing: -.045em; }
h3 { font-size: 1.6rem; }
em { color: var(--gold-light); font-weight: 400; }
.hero { position: relative; min-height: min(730px, calc(100svh - 84px)); overflow: hidden; background: radial-gradient(ellipse at 70% 45%, rgba(109,53,54,.33), transparent 35%), linear-gradient(125deg, #121720 5%, #1b1e29 50%, #261c25); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 0%, transparent 65%), repeating-linear-gradient(110deg, transparent 0 80px, rgba(229,204,152,.015) 81px 82px); }
.hero-layout { min-height: inherit; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; position: relative; padding-block: 5rem 6rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy > p:not(.hero-note) { max-width: 500px; color: #d0cbc5; font-size: 1.08rem; }
.hero-copy .button-row { margin-top: 2rem; }
.hero-note { margin: 1.5rem 0 0; color: #c2beb8; font-size: .78rem; letter-spacing: .05em; }
.hero-art { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.hero-side { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; padding-block: 1rem 2rem; color: var(--gold-light); font-size: .65rem; letter-spacing: .18em; }
.hero-index { white-space: nowrap; }
.hero-bottom { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.5rem; color: var(--gold-light); font-size: .66rem; letter-spacing: .17em; }
.hero-scroll-line { width: 60px; height: 1px; background: var(--gold); }
.status-strip { background: #1b202a; border-block: 1px solid var(--line); }
.status-inner { min-height: 88px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.status-inner > div { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; min-height: 45px; padding-inline: 2rem; border-right: 1px solid var(--line); }
.status-inner > div:first-child { padding-left: 0; }.status-inner > div:last-child { border: 0; padding-right: 0; }
.status-label, .demo-label { color: #d1c9bc; font-size: .74rem; letter-spacing: .1em; }
.status-inner strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fb99c; box-shadow: 0 0 0 4px rgba(127,185,156,.13); }
.demo-label { color: var(--gold-light); font-size: .68rem; }
.status-dot.is-offline { background: #bb817b; box-shadow: 0 0 0 4px rgba(187,129,123,.14); }
.countdown-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; min-height: 150px; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.countdown-copy h2 { margin: .35rem 0 .1rem; font-size: clamp(1.6rem, 2vw, 2rem); letter-spacing: -.02em; }
.countdown-copy p { margin: .1rem 0 0; color: var(--muted); font-size: .8rem; }
.countdown-copy code, .final-cta code { color: var(--gold-light); font-size: .9em; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(70px, 1fr)); gap: .7rem; width: min(100%, 410px); }
.countdown > div { display: grid; place-items: center; min-height: 76px; padding: .5rem; border: 1px solid var(--line); background: rgba(16,19,28,.55); }
.countdown strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.7rem; line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.countdown span { color: #d1c9bc; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }
.countdown-fallback { max-width: 360px; margin: 0; padding: .8rem 1rem; border-left: 2px solid var(--gold); color: var(--text); }
.section { padding-block: clamp(4.5rem, 7vw, 6.8rem); }
.section-panel { background: linear-gradient(155deg, #1b1e28, #181c26); border-block: 1px solid rgba(255,255,255,.04); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 8vw, 9rem); }
.section-copy > p, .section-heading > p { max-width: 540px; color: var(--muted); font-size: 1rem; }
.section-copy > p { margin-top: 1.5rem; }
.world-facts { display: flex; gap: 2.5rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.world-facts div { display: grid; gap: .15rem; }.world-facts strong { color: var(--gold-light); font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }.world-facts span { color: var(--muted); font-size: .65rem; letter-spacing: .1em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 2.4rem; }.section-heading > p { max-width: 330px; margin-bottom: .4rem; }
.card-grid { display: grid; gap: 1.2rem; }.classes-grid { grid-template-columns: repeat(4, 1fr); }.news-grid { grid-template-columns: repeat(3, 1fr); }
.card { border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.class-card { min-height: 315px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem; background: linear-gradient(155deg, #252935, #1a1e29); transition: border-color .2s, transform .2s, box-shadow .2s; }
.class-card:hover { border-color: var(--gold-light); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.38), inset 0 0 0 1px rgba(229,204,152,.2); }
.class-number { color: var(--gold-light); font-size: .72rem; letter-spacing: .12em; }.class-glyph { align-self: center; display: grid; place-items: center; flex: 1; color: var(--gold-light); font-size: 4.7rem; text-shadow: 0 0 30px rgba(199,164,108,.35); }
.class-card h3 { margin-bottom: .5rem; }.class-card p { margin-bottom: 1rem; color: #ccc6bf; font-size: .94rem; }.badge { display: inline-flex; padding: .35rem .55rem; border: 1px solid var(--line-strong); color: var(--gold-light); font-size: .67rem; letter-spacing: .09em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }.feature-card { display: flex; flex-direction: column; min-height: 290px; padding: 1.2rem 2rem 1.2rem 0; border-right: 1px solid var(--line); }.feature-card:last-child { border: 0; }.feature-index, .feature-foot { color: var(--gold-light); font-size: .72rem; letter-spacing: .11em; }.feature-icon { display: block; margin: 1rem 0 .4rem; color: var(--gold-light); font-size: 2.5rem; }.feature-card h3 { margin-bottom: .6rem; }.feature-card p { color: #cbc7c1; font-size: .96rem; }.feature-foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }.feature-disclaimer { margin: 2rem 0 0; color: var(--muted); font-size: .78rem; }
.news-card { overflow: hidden; transition: border-color .2s, transform .2s; }.news-card:hover, .news-card:focus-within { border-color: var(--gold); transform: translateY(-3px); }.news-card summary { display: block; height: 100%; cursor: pointer; list-style: none; }.news-card summary::-webkit-details-marker { display: none; }.news-card summary:focus-visible { outline: 3px solid var(--gold-light); outline-offset: -4px; }.news-art { height: 190px; overflow: hidden; background: #202633; }.news-body { padding: 1.6rem; }.news-meta { color: var(--gold-light); font-size: .69rem; letter-spacing: .11em; }.news-body h3 { font-size: 1.5rem; }.news-body > p:not(.news-meta) { color: #ccc6bf; font-size: .94rem; margin-bottom: 1rem; }.news-read-more { color: var(--gold-light); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.news-story { padding: 0 1.6rem 1.4rem; border-top: 1px solid var(--line); color: var(--text); font-size: .94rem; }.news-story p { margin: 1rem 0 0; }
.section-action { margin-top: 1.8rem; }
.rankings-layout { grid-template-columns: .85fr 1.15fr; }.ranking-panel { padding: 1.5rem; }.ranking-head { display: grid; grid-template-columns: 2fr 1fr 1fr; color: var(--gold-light); font-size: .69rem; letter-spacing: .12em; padding-bottom: .9rem; border-bottom: 1px solid var(--line-strong); }.ranking-head span:last-child { text-align: right; }.ranking-panel ol { margin: 0; padding: 0; list-style: none; counter-reset: rank; }.ranking-panel li { display: grid; grid-template-columns: 2fr 1fr; align-items: center; gap: 1rem; min-height: 66px; padding-left: 2.5rem; border-bottom: 1px solid var(--line); position: relative; counter-increment: rank; }.ranking-panel li:last-child { border: 0; }.ranking-panel li::before { content: counter(rank, decimal-leading-zero); position: absolute; left: 0; color: var(--gold-light); font-family: var(--serif); font-size: 1.1rem; }.ranking-name { display: grid; }.ranking-name strong { font-weight: 400; }.ranking-name small { color: var(--muted); font-size: .75rem; }.ranking-panel li > strong { text-align: right; font-weight: 400; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line-strong); }.timeline article { position: relative; padding-top: 2.1rem; }.timeline article::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }.timeline article > span { color: var(--gold-light); font-size: .73rem; letter-spacing: .13em; }.timeline h3 { margin: .7rem 0; }.timeline p { color: #ccc6bf; font-size: .94rem; }.roadmap-note { margin: 1.6rem 0 0; color: var(--muted); font-size: .78rem; }
.final-cta { text-align: center; background: radial-gradient(ellipse at 50% 50%, rgba(93,46,48,.35), transparent 55%); }.final-cta-inner { max-width: 750px; }.final-cta p { max-width: 600px; margin: 1.5rem auto 2rem; color: #ccc6bf; }.final-cta .button-row { justify-content: center; }.final-cta .cta-note { margin: 1.5rem auto 0; color: var(--muted); font-size: .82rem; }
.site-footer { padding-top: 4.2rem; border-top: 1px solid var(--line); background: #11151d; }.footer-main { display: flex; justify-content: space-between; gap: 3rem; padding-bottom: 3rem; }.footer-main > div:first-child { max-width: 380px; }.footer-main p { margin-top: 1.5rem; color: var(--muted); font-size: .95rem; }.footer-main .footer-server { margin-top: 1.2rem; font-size: .82rem; }.footer-server strong { color: var(--gold-light); font-weight: 400; }.footer-links { display: flex; gap: clamp(3rem, 7vw, 8rem); }.footer-links > div { display: grid; align-content: start; gap: .6rem; }.footer-links h2 { margin: 0 0 .6rem; color: var(--gold-light); font-family: var(--sans); font-size: .73rem; letter-spacing: .15em; }.footer-links a { color: #ccc6bf; font-size: .92rem; }.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
/* Shared form primitives are ready for the form pages in stage 4. */
.form-field { display: grid; gap: .45rem; }.form-field label { color: var(--text); font-size: .82rem; }.form-field input, .form-field select, .form-field textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ink-soft); color: var(--text); }.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold-light); }.form-help { color: var(--muted); font-size: .75rem; }.form-error { color: #f0a69a; font-size: .75rem; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); opacity: 1; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
