@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* Login/account pages in the original GDAIS identity: dark, lime accent, Manrope + DM Mono. */
:root {
  --navy-950: #080909;
  --navy-900: #0f1110;
  --navy-800: #171a17;
  --navy-700: #222622;
  --turquoise: #d6ff4b;
  --turquoise-soft: rgba(214,255,75,.14);
  --blue: #55e2cf;

  --bg: #080909;
  --surface: #0f1110;
  --surface-2: #171a17;
  --text: #f5f5ed;
  --text-muted: #9b9e9a;
  --border: #2b2e2c;
  --accent: #d6ff4b;
  --accent-text: #d6ff4b;
  --accent-contrast: #080909;
  --link: #d6ff4b;
  --danger: #ff8a9a;
  --danger-bg: rgba(255,99,156,.1);
  --success: #d6ff4b;
  --success-bg: rgba(214,255,75,.08);
  --shadow: none;

  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --radius: 0px;
  --radius-sm: 0px;
  --shell: 1180px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f1f0e8; --surface: #e7e6dd; --surface-2: #d2d3cc; --text: #080909; --text-muted: #666a66;
  --border: #c8c6bc; --accent: #080909; --accent-text: #4d704d; --accent-contrast: #d6ff4b; --link: #080909;
  --danger: #b3262d; --danger-bg: #fff0ef; --success: #24523b; --success-bg: #eff6d0;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.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: absolute; left: 16px; top: -48px; z-index: 100; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .shell { padding: 0 32px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 1.15rem; }
.brand-sub { display: none; font-size: .72rem; font-weight: 500; letter-spacing: .02em; color: var(--text-muted); line-height: 1.2; max-width: 190px; }
@media (min-width: 1000px) { .brand-sub { display: block; } }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: .94rem; font-weight: 500; padding: 8px 10px; border-radius: var(--radius-sm); }
.nav a:hover { color: var(--text); background: var(--surface); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } .header-actions { margin-left: 8px; } }
.icon-btn { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border); background: transparent; color: var(--text); border-radius: var(--radius-sm); font: 600 .8rem var(--font-sans); cursor: pointer; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: inline-grid; }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--border); padding: 8px 0 16px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .mobile-nav, .mobile-nav.open { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-alt { background: var(--surface); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 680px; }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; padding: 72px 0 88px; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.hero::after { content: ''; position: absolute; width: 640px; height: 640px; right: -200px; top: -240px; background: radial-gradient(circle, rgba(214, 255, 75, .22), transparent 65%); }
.hero .shell { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } .hero { padding: 104px 0 120px; } }
.hero .eyebrow { color: #e6ff8f; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #e6ff8f; }
.hero .lead { color: #9b9e9a; }
.acronym { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-size: .9rem; color: #9b9e9a; }
.acronym li { display: inline-flex; align-items: baseline; gap: 1px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04); }
.acronym b { color: #e6ff8f; font-weight: 700; font-size: 1.05em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-primary { background: #d6ff4b; color: var(--navy-950); }
.hero .btn-primary:hover { background: #e6ff8f; }
.hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn-secondary:hover { background: rgba(255,255,255,.08); }
.status-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 24px; backdrop-filter: blur(6px); }
.status-card h2 { font-size: 1.25rem; color: #fff; margin-bottom: 16px; }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.status-list li { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.status-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.status-list span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #70746c; }
.status-list strong { font-weight: 600; color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(214,255,75,.16); color: #e6ff8f; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Idea / pillars */
.pillars { display: grid; gap: 16px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.section-alt .card { background: var(--bg); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--turquoise-soft); color: #4d704d; margin-bottom: 16px; }
.card-icon svg { width: 22px; height: 22px; }

.compare { display: grid; gap: 16px; margin-top: 56px; max-width: 880px; }
.compare h3 { margin: 0; }
.compare .note { margin: 0 0 8px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { background: var(--surface-2); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 600; width: 34%; }
.note { font-size: .88rem; color: var(--text-muted); }

/* Roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .roadmap { grid-template-columns: repeat(3, 1fr); } }
.roadmap li { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); }
.roadmap .stage { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.roadmap h3 { margin: 6px 0 8px; }
.roadmap p { margin: 0; color: var(--text-muted); }
.roadmap li.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.step { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 0 20px; position: relative; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); font-weight: 700; font-size: 1.05rem; position: relative; z-index: 1; }
.step::after { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--border); }
.step:last-child::after { display: none; }
.step-body { padding-top: 8px; }
.step-body h3 { margin-bottom: 6px; font-family: var(--font-sans); font-weight: 700; font-size: 1.1rem; letter-spacing: 0; }
.step-body p { color: var(--text-muted); margin: 0 0 8px; max-width: 640px; }
.step-meta { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--accent-text); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 3px 10px; border-radius: 999px; }
.steps-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .steps-grid { grid-template-columns: 1.3fr .7fr; } }
.callout { border-radius: var(--radius); padding: 24px; background: var(--navy-900); color: #f5f5ed; }
.callout h3 { color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 1.1rem; }
.callout p { color: #9b9e9a; }
.callout .btn-primary { background: #d6ff4b; color: var(--navy-950); }
.callout .btn-primary:hover { background: #e6ff8f; }
.sticky { position: sticky; top: 96px; align-self: start; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--text-muted); }
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 0 20px 20px; color: var(--text-muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq details.highlight { border-color: var(--accent); }

/* CTA band */
.cta-band { background: var(--navy-900); color: #fff; border-radius: 20px; padding: 40px 28px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 56px; } }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #9b9e9a; margin: 0; }
.cta-band .btn-primary { background: #d6ff4b; color: var(--navy-950); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 32px; font-size: .92rem; color: var(--text-muted); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }

/* Auth pages */
.auth-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.auth-layout { display: grid; min-height: 100%; }
@media (min-width: 960px) { .auth-layout { grid-template-columns: 1fr 1fr; } }
.auth-aside { display: none; background: var(--navy-950); color: #f5f5ed; padding: 64px 56px; position: relative; overflow: hidden; }
.auth-aside::after { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -200px; background: radial-gradient(circle, rgba(214, 255, 75, .2), transparent 65%); }
@media (min-width: 960px) { .auth-aside { display: block; } }
.auth-aside h1 { color: #fff; font-size: 2.4rem; }
.auth-aside p { color: #9b9e9a; }
.auth-aside ol { padding-left: 1.2em; color: #9b9e9a; display: grid; gap: 10px; margin: 24px 0 0; }
.auth-aside ol b { color: #fff; }
.auth-main { display: grid; place-items: start center; padding: 40px 16px 64px; }
@media (min-width: 720px) { .auth-main { place-items: center; padding: 56px 32px; } }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h2 { font-size: 1.9rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); margin-bottom: 24px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 28px; }
.tab { border: 0; background: transparent; color: var(--text-muted); font: 600 .95rem var(--font-sans); padding: 10px 12px; border-radius: 999px; cursor: pointer; min-height: 42px; }
.tab[aria-selected="true"] { background: var(--bg); color: var(--text); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .84rem; color: var(--text-muted); margin: 0; }
.input-wrap { position: relative; }
.input { width: 100%; min-height: 46px; padding: 10px 14px; font: 400 1rem var(--font-sans); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.input:hover { border-color: color-mix(in srgb, var(--text-muted) 60%, var(--border)); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input-wrap .input { padding-right: 76px; }
.reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--link); font: 600 .84rem var(--font-sans); padding: 8px 10px; cursor: pointer; border-radius: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .94rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--turquoise); }
.marathon-box { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 16px; display: grid; gap: 14px; }
.marathon-box[data-open="true"] { border-color: var(--accent); }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .94rem; border: 1px solid transparent; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.alert-success { background: var(--success-bg); color: var(--success); border-color: color-mix(in srgb, var(--success) 30%, transparent); }
.alert-info { background: var(--surface); color: var(--text); border-color: var(--border); }
.link-btn { border: 0; background: none; padding: 0; color: var(--link); font: 600 .92rem var(--font-sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .92rem; }
.legal { font-size: .82rem; color: var(--text-muted); margin-top: 20px; }
.panel[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.auth-page .header-actions { margin-left: auto; }
.auth-aside { flex-direction: column; justify-content: center; }
@media (min-width: 960px) { .auth-aside { display: flex; } }
.auth-aside > * { position: relative; z-index: 1; max-width: 460px; }
[hidden] { display: none !important; }
[data-feedback] { margin-bottom: 18px; }

/* Original identity details */
.btn { border-radius: 0; text-transform: uppercase; font: 500 12px/1.2 var(--font-mono); letter-spacing: .06em; }
.tabs { border-radius: 0; padding: 0; gap: 0; }
.tab { border-radius: 0; font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-contrast); box-shadow: none; }
.field label, .field .label { font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.input { border-radius: 0; background: var(--surface); }
.auth-card h2, .auth-aside h1 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.03em; }
.auth-aside { border-right: 1px solid var(--border); background: var(--navy-950); }
.auth-aside h1 { font-size: clamp(42px, 5vw, 64px); line-height: .95; }
.auth-aside h1 em { font-style: normal; color: #d6ff4b; }
.auth-aside ol { font-size: 15px; }
.auth-aside .kicker-line { font: 500 11px var(--font-mono); letter-spacing: .1em; color: #d6ff4b; text-transform: uppercase; margin-bottom: 22px; }
.marathon-box { border-radius: 0; }
.alert { border-radius: 0; }
.link-btn { color: var(--text); }
.reveal { color: var(--accent-text); font-family: var(--font-mono); text-transform: uppercase; font-size: 11px; }
.site-header { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.brand img { height: 42px; width: auto; }
.icon-btn { border-radius: 0; font-family: var(--font-mono); }
:root[data-theme="light"] .auth-aside { color: #f5f5ed; }
.header-actions .btn-sm { white-space: nowrap; }
@media (max-width: 480px) { .header-actions .btn-sm { padding: 8px 10px; font-size: 10px; } .brand img { height: 34px; } }
