:root {
  color-scheme: dark;
  --bg: #11120f;
  --bg-soft: #181a16;
  --surface: #1c1e19;
  --surface-raised: #242720;
  --text: #f0f1e9;
  --muted: #a0a49a;
  --faint: #71776c;
  --line: rgba(235, 240, 224, .14);
  --accent: #ff5744;
  --accent-hover: #ff715e;
  --accent-ink: #17110e;
  --signal: #ffd447;
  --signal-ink: #211a08;
  --signal-text: #ffd447;
  --focus-ring: #ffd447;
  --warm: #f1eee5;
  --warm-text: #1a1b17;
  --warm-accent: #b42318;
  --warm-signal: #8c6500;
  --shadow: 0 24px 80px rgba(0, 0, 0, .22);
  --page: min(1220px, calc(100% - 72px));
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f3ed;
  --bg-soft: #e8eae1;
  --surface: #e8eae1;
  --surface-raised: #f9f9f5;
  --text: #171912;
  --muted: #62685c;
  --faint: #7f857a;
  --line: rgba(25, 29, 18, .16);
  --accent: #b42318;
  --accent-hover: #981f16;
  --accent-ink: #fffdf5;
  --signal: #ffd447;
  --signal-ink: #17110e;
  --signal-text: #8c6500;
  --focus-ring: #8c6500;
  --warm: #1b1d17;
  --warm-text: #f1f2e9;
  --warm-accent: #ff5744;
  --warm-signal: #ffd447;
  --shadow: 0 24px 80px rgba(43, 48, 35, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.55; transition: background-color .25s ease, color .25s ease; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.section-shell { width: var(--page); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; width: var(--page); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 190px; }
.brand-mark { width: 31px; height: 31px; color: var(--accent); }
.brand-name { font-size: 16px; font-weight: 850; letter-spacing: .08em; }
.brand-name span { color: var(--muted); font-weight: 500; margin-left: 3px; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.primary-nav a { color: var(--muted); font-size: 13px; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); }
.theme-toggle, .menu-toggle { border: 0; background: transparent; color: var(--text); cursor: pointer; }
.theme-toggle { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.theme-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-moon { display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 700px; padding: 95px 0 120px; display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 48px; }
.hero-copy { position: relative; z-index: 1; max-width: 660px; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 1px; border-radius: 100%; background: var(--signal-text); box-shadow: 0 0 16px color-mix(in srgb, var(--signal-text), transparent 35%); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 28px; font-size: clamp(68px, 9.3vw, 128px); font-weight: 720; line-height: .88; letter-spacing: -.085em; }
.hero h1 span, h2 span { color: var(--accent); }
.hero-lede { max-width: 480px; margin-bottom: 32px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.button { min-height: 48px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: var(--accent-hover); }
.text-link { color: var(--text); font-size: 13px; font-weight: 650; }
.text-link span { color: var(--signal-text); margin-left: 5px; }
.hero-footnote { margin-top: 58px; color: var(--faint); font-size: 11px; letter-spacing: .025em; }
.tiny-bolt { color: var(--signal-text); font-size: 18px; vertical-align: -2px; margin-right: 6px; }
.hero-art { position: relative; isolation: isolate; width: min(100%, 470px); aspect-ratio: .91; justify-self: end; overflow: hidden; background: var(--signal); color: var(--signal-ink); box-shadow: var(--shadow); }
.hero-art::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: .2; background-image: linear-gradient(to right, transparent calc(100% - 1px), currentColor 1px), linear-gradient(to bottom, transparent calc(100% - 1px), currentColor 1px); background-size: 48px 48px; }
.art-topline { position: absolute; inset: 20px 22px auto; display: flex; justify-content: space-between; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.art-orbit { position: absolute; top: 48%; left: 50%; border: 1px solid rgba(23, 26, 16, .24); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 77%; aspect-ratio: 1; }
.orbit-two { width: 55%; aspect-ratio: 1; border-style: dashed; }
.art-bolt-wrap { position: absolute; inset: 50% auto auto 50%; width: 49%; transform: translate(-50%, -49%) rotate(-8deg); filter: drop-shadow(20px 20px 0 rgba(24, 27, 17, .15)); }
.art-bolt { display: block; width: 100%; height: auto; fill: var(--signal-ink); }
.art-index { position: absolute; bottom: 22px; left: 22px; font-size: 11px; font-weight: 800; }
.art-index i { margin-inline: 5px; font-style: normal; opacity: .55; }
.art-caption { position: absolute; right: 22px; bottom: 24px; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.art-cross { position: absolute; font-size: 25px; line-height: 1; font-weight: 300; }
.cross-a { top: 26%; left: 17%; }.cross-b { bottom: 27%; right: 15%; }
.scroll-cue { position: absolute; left: 0; bottom: 42px; display: flex; gap: 12px; align-items: center; color: var(--faint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue span { width: 32px; height: 1px; background: var(--accent); }

.intro-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.intro-inner { min-height: 92px; display: flex; align-items: center; gap: clamp(16px, 3vw, 45px); }
.intro-inner p { margin: 0; color: var(--muted); font-size: 13px; }
.intro-inner p:first-child { color: var(--text); font-weight: 700; }
.intro-line { height: 1px; flex: 1; background: var(--line); }
.intro-spark { color: var(--signal-text); font-size: 21px; }

.content-section { padding-block: 130px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading .eyebrow, .security-copy .eyebrow, .support-inner .eyebrow { margin-bottom: 20px; }
h2 { margin-bottom: 20px; font-size: clamp(40px, 5.4vw, 70px); font-weight: 650; line-height: .98; letter-spacing: -.065em; }
.section-summary { max-width: 520px; margin-bottom: 0; color: var(--muted); line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card { position: relative; min-height: 320px; padding: 30px 30px 27px; border-right: 1px solid var(--line); }
.feature-card:last-child { border-right: 0; }
.feature-card-main { background: var(--surface); }
.feature-number { color: var(--faint); font-size: 10px; letter-spacing: .12em; }
.feature-symbol { height: 86px; display: flex; align-items: center; color: var(--accent); font-size: 52px; font-weight: 300; }
.symbol-ring, .symbol-spark { color: var(--signal-text); }
.symbol-ring { font-size: 47px; }.symbol-spark { font-size: 43px; }
.feature-card h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.03em; }
.feature-card p { max-width: 295px; margin-bottom: 26px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.feature-tag { color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .13em; }

.security-section { background: var(--warm); color: var(--warm-text); }
.security-inner { min-height: 545px; padding-block: 105px; display: grid; grid-template-columns: .65fr 1.2fr .65fr; align-items: center; gap: 50px; }
.security-stamp { position: relative; width: 180px; aspect-ratio: 1; padding: 19px; border: 1px solid color-mix(in srgb, var(--warm-text), transparent 45%); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-8deg); }
.security-stamp span { font-size: 18px; font-weight: 900; letter-spacing: .1em; }
.security-stamp i { align-self: center; color: var(--warm-signal); font-size: 65px; font-style: normal; line-height: .8; }
.security-stamp small { font-size: 8px; line-height: 1.35; letter-spacing: .12em; }
.security-copy h2 { max-width: 570px; }
.security-copy h2 span { color: var(--warm-accent); }
.security-copy p:not(.eyebrow) { max-width: 590px; margin-bottom: 27px; opacity: .7; line-height: 1.8; }
.button-outline { border-color: color-mix(in srgb, var(--warm-text), transparent 50%); color: var(--warm-text); }
.button-outline:hover { border-color: var(--warm-text); }
.security-note { align-self: end; padding: 17px 0 0 17px; border-left: 1px solid color-mix(in srgb, var(--warm-text), transparent 50%); }
.security-note p { margin: 9px 0 0; font-size: 11px; line-height: 1.65; opacity: .65; }
.note-mark { font-size: 13px; font-weight: 800; }

.download-section { padding-block: 130px 120px; }
.heading-inline { max-width: unset; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.heading-inline .section-summary { max-width: 355px; margin-bottom: 7px; }
.platform-list { border-top: 1px solid var(--line); }
.platform-row { min-height: 114px; display: grid; grid-template-columns: 54px minmax(180px, 1fr) 120px 130px; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.platform-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.platform-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.platform-copy h3 { margin: 0 0 5px; font-size: 17px; }
.platform-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.platform-status { display: inline-flex; width: fit-content; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.platform-status::before { width: 6px; height: 6px; border-radius: 50%; content: ""; background: var(--signal-text); }
.status-soon::before { background: var(--faint); }
.button-disabled { min-height: 42px; padding-inline: 13px; background: var(--surface); color: var(--faint); border-color: var(--line); cursor: not-allowed; }
.download-footnote { margin: 27px 0 0; color: var(--faint); font-size: 11px; }
.download-footnote span { color: var(--signal-text); margin-right: 5px; }

.support-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.support-inner { min-height: 355px; padding-block: 90px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.support-inner h2 { margin-bottom: 0; }
.support-inner h2 span { color: var(--accent); }
.support-message { position: relative; width: min(100%, 440px); padding: 26px 28px 24px; border: 1px solid var(--line); background: var(--bg); }
.support-message p { max-width: 360px; margin: 22px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.support-icon { display: grid; width: 30px; height: 30px; place-items: center; background: var(--signal); color: var(--signal-ink); }

.site-footer { background: var(--bg); }
.footer-main { min-height: 180px; padding-block: 42px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 30px; }
.footer-brand { min-width: 0; }
.footer-main > p { max-width: 230px; margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-links a { color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: var(--text); }
.footer-links span { margin-left: 5px; color: var(--faint); font-size: 9px; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.footer-bottom a { color: var(--muted); }

/* Legal draft pages */
.legal-main { min-height: 70vh; padding-block: 95px 130px; }
.legal-back { display: inline-block; margin-bottom: 54px; color: var(--muted); font-size: 12px; }
.legal-back:hover { color: var(--text); }
.legal-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 21px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.legal-main h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(48px, 7.5vw, 88px); font-weight: 650; line-height: .98; letter-spacing: -.075em; }
.legal-deck { max-width: 760px; margin-bottom: 48px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.draft-alert { max-width: 840px; margin-bottom: 60px; padding: 20px 23px; border: 1px solid color-mix(in srgb, var(--accent), transparent 55%); background: color-mix(in srgb, var(--accent), transparent 94%); }
.draft-alert strong { display: block; margin-bottom: 6px; font-size: 13px; }
.draft-alert p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.legal-content { max-width: 780px; }
.legal-content h2 { margin: 46px 0 14px; font-size: 26px; letter-spacing: -.04em; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 14px; line-height: 1.8; }
.legal-content ul { padding-left: 19px; }
.legal-content li + li { margin-top: 8px; }
.legal-content .legal-meta { margin-bottom: 35px; color: var(--faint); font-size: 11px; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 850px) {
  :root { --page: min(100% - 48px, 660px); }
  .site-header { min-height: 72px; }
  .brand { min-width: auto; }
  .primary-nav { position: absolute; top: calc(100% - 1px); left: -24px; right: -24px; padding: 18px 24px 25px; display: none; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: var(--bg); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { width: 40px; height: 40px; margin-left: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .menu-toggle span { width: 19px; height: 1px; background: var(--text); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .theme-toggle { margin-left: 7px; }
  .hero { min-height: auto; padding-block: 72px 100px; grid-template-columns: 1fr .72fr; gap: 22px; }
  .hero-art { width: 100%; }
  .hero h1 { font-size: clamp(60px, 10vw, 88px); }
  .hero-lede { font-size: 15px; }
  .security-inner { grid-template-columns: .45fr 1fr; gap: 32px; padding-block: 80px; }
  .security-stamp { width: 140px; }
  .security-note { grid-column: 2; }
  .feature-card { padding-inline: 21px; }
  .platform-row { grid-template-columns: 48px 1fr 100px; gap: 16px; padding-block: 18px; }
  .platform-row .button { grid-column: 2 / 4; justify-self: start; min-width: 125px; }
  .support-inner { gap: 30px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 2; }
}

@media (max-width: 600px) {
  :root { --page: calc(100% - 36px); }
  .site-header { min-height: 67px; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-name { font-size: 14px; }
  .theme-toggle, .menu-toggle { width: 36px; height: 36px; }
  .primary-nav { left: -18px; right: -18px; padding-inline: 18px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-block: 63px 87px; gap: 39px; }
  .hero h1 { font-size: clamp(63px, 17vw, 90px); }
  .hero-lede { max-width: 390px; font-size: 14px; }
  .hero-actions { gap: 16px; }
  .button { min-height: 45px; padding-inline: 14px; font-size: 12px; }
  .hero-footnote { margin-top: 30px; }
  .hero-art { width: min(100%, 390px); aspect-ratio: 1.08; justify-self: center; }
  .art-topline { inset: 16px 17px auto; }
  .art-index { left: 17px; bottom: 17px; }
  .art-caption { right: 17px; bottom: 19px; font-size: 8px; }
  .scroll-cue { bottom: 32px; }
  .intro-inner { min-height: 78px; gap: 12px; }
  .intro-inner p { max-width: 110px; font-size: 10px; line-height: 1.4; }
  .intro-inner p:last-of-type { text-align: right; }
  .intro-spark { font-size: 17px; }
  .content-section { padding-block: 85px; }
  .section-heading { margin-bottom: 35px; }
  .eyebrow { font-size: 9px; }
  h2 { font-size: clamp(42px, 11vw, 59px); }
  .section-summary { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; padding: 23px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
  .feature-symbol { height: 61px; font-size: 42px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { max-width: 400px; margin-bottom: 19px; font-size: 12px; }
  .security-inner { display: flex; flex-direction: column; align-items: stretch; gap: 38px; padding-block: 75px; }
  .security-stamp { width: 125px; }
  .security-stamp i { font-size: 48px; }
  .security-copy p:not(.eyebrow) { font-size: 13px; }
  .security-note { margin-left: 13px; }
  .heading-inline { display: block; }
  .heading-inline .section-summary { margin-top: 25px; }
  .platform-row { grid-template-columns: 42px 1fr auto; gap: 11px; }
  .platform-icon { width: 38px; height: 38px; }
  .platform-icon svg { width: 19px; height: 19px; }
  .platform-copy h3 { font-size: 15px; }
  .platform-copy p { max-width: 215px; font-size: 10px; }
  .platform-status { font-size: 9px; }
  .platform-row .button { grid-column: 2 / 4; min-height: 36px; }
  .download-footnote { font-size: 10px; line-height: 1.7; }
  .support-inner { min-height: auto; padding-block: 75px; display: block; }
  .support-message { width: 100%; margin-top: 33px; padding: 20px; }
  .support-message p { font-size: 12px; }
  .footer-main { min-height: auto; padding-block: 35px; grid-template-columns: 1fr 1fr; gap: 24px 15px; }
  .footer-main > p { font-size: 10px; }
  .footer-links { grid-column: 1 / -1; }
  .footer-links a { font-size: 10px; }
  .footer-bottom { min-height: 60px; gap: 10px; font-size: 8px; }
  .legal-main { padding-block: 61px 90px; }
  .legal-back { margin-bottom: 38px; }
  .legal-main h1 { font-size: clamp(45px, 13vw, 67px); }
  .legal-deck { font-size: 14px; }
  .draft-alert { padding: 16px; }
  .legal-content h2 { margin-top: 36px; font-size: 22px; }
  .legal-content p, .legal-content li { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
