:root {
  color-scheme: dark;
  --ground: #000;
  --surface: #11100f;
  --ink: #f8f4f4;
  --quiet: #9b9797;
  --rule: #504b4b;
  --accent: #ff563c;
  --accent-dark: #ec3013;
  --light-ground: #f3f2f2;
  --light-ink: #201e1d;
  font-family: Archivo, Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ground); color: var(--ink); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: var(--accent); }
p, li { color: var(--quiet); }
strong { color: var(--ink); }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: var(--ink); color: #000; }
.skip-link:focus { transform: translateY(0); }
.site-nav, footer { width: min(1440px, calc(100% - 64px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { position: relative; z-index: 20; min-height: 92px; border-bottom: 1px solid var(--rule); }
.site-nav nav { display: flex; gap: clamp(16px, 3vw, 42px); }
.site-nav a, footer a { color: var(--quiet); text-decoration: none; }
.site-nav a:hover, footer a:hover { color: var(--ink); }
.brand { font-size: .78rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.nav-cta { padding: 10px 0; border-bottom: 2px solid var(--accent); font-weight: 750; }

.home { width: auto; max-width: none; margin: 0; padding: 0; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: center; min-height: calc(100svh - 92px); width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 72px 0 84px; }
.hero-copy { position: relative; z-index: 2; max-width: 850px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-weight: 760; font-size: .74rem; }
h1 { margin: 0; font-size: clamp(4rem, 9.3vw, 9.2rem); line-height: .82; letter-spacing: -.075em; font-weight: 850; text-transform: uppercase; }
h1 span, .final-cta h2 span { color: var(--accent); }
.lede { max-width: 680px; margin: 36px 0 0; font-size: clamp(1.15rem, 2vw, 1.55rem); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-width: 250px; padding: 17px 20px; background: var(--accent); color: #000; text-decoration: none; font-weight: 800; }
.button:hover { background: #ff7965; }
.button-dark { background: #000; color: var(--ink); }
.button-dark:hover { background: #262321; }
.text-link { color: var(--ink); font-weight: 700; text-decoration-color: var(--rule); text-underline-offset: 5px; }
.hero-mark { position: relative; width: min(100%, 610px); justify-self: end; }
.hero-logo { width: 100%; box-shadow: 0 30px 90px rgba(255, 86, 60, .16); will-change: transform; }
.balance-chip { position: absolute; min-width: 160px; padding: 12px 14px; border: 1px solid var(--ink); background: #000; box-shadow: 8px 8px 0 var(--accent); }
.balance-chip span { display: block; color: var(--quiet); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.balance-chip strong { display: block; font-variant-numeric: tabular-nums; font-size: 1.2rem; }
.balance-chip-a { top: 12%; left: -9%; }
.balance-chip-b { right: -2%; bottom: 10%; }
.scroll-note { position: absolute; bottom: 22px; left: 0; margin: 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

.split-story { position: relative; min-height: 100svh; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: #000; }
.story-track { display: flex; width: 100%; min-height: 100svh; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-color: var(--accent) var(--surface); }
.story-panel { position: relative; display: flex; flex: 0 0 78vw; flex-direction: column; justify-content: center; width: 78vw; min-width: 760px; min-height: 100svh; padding: clamp(48px, 7vw, 112px); border-right: 2px solid var(--ink); background: #000; scroll-snap-align: start; }
.has-gsap .split-story { overflow: hidden; }
.has-gsap .story-track { width: max-content; overflow: visible; scroll-snap-type: none; will-change: transform; }
.story-panel h2, .principles h2, .final-cta h2 { margin: 0; padding: 0; border: 0; font-size: clamp(3.2rem, 7vw, 7.4rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.story-panel > p:not(.eyebrow):not(.panel-number) { max-width: 560px; font-size: clamp(1.05rem, 1.8vw, 1.4rem); }
.panel-number { position: absolute; top: 32px; left: clamp(48px, 7vw, 112px); margin: 0; font-variant-numeric: tabular-nums; font-size: .72rem; letter-spacing: .14em; }
.story-intro { width: 100vw; }
.panel-accent { background: var(--accent); color: #000; border-color: #000; }
.panel-accent .eyebrow, .panel-accent p, .panel-accent strong { color: #000; }
.panel-light { background: var(--light-ground); color: var(--light-ink); border-color: #000; }
.panel-light .eyebrow { color: var(--accent-dark); }
.panel-light p, .panel-light strong { color: #605d5d; }
.panel-light h2 { color: var(--light-ink); }
.panel-finish { width: 88vw; background: var(--accent); color: #000; border-color: #000; }
.panel-finish .eyebrow, .panel-finish p { color: #000; }
.mini-mark { display: flex; width: min(440px, 70%); height: 110px; margin-top: 34px; background: var(--ink); }
.mini-mark span { width: 38%; background: var(--accent); }
.mini-mark i { width: 4px; margin-left: 24%; background: #000; }
.stat { display: flex; align-items: flex-end; gap: 20px; margin-top: 36px; }
.stat strong { font-size: 7rem; line-height: .8; }
.stat span { max-width: 180px; font-weight: 700; }
.split-bars { display: flex; width: min(560px, 80%); height: 130px; margin-top: 40px; border: 1px solid var(--rule); }
.split-bars span { flex: 1; border-right: 4px solid var(--accent); }
.split-bars span:first-child { flex: 1.7; background: var(--accent); }
.split-bars span:last-child { border: 0; }
.ledger-sample { display: grid; grid-template-columns: 1fr auto; gap: 12px 40px; width: min(560px, 85%); margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--light-ink); }
.ledger-sample span { color: #605d5d; }
.ledger-sample strong { color: var(--light-ink); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.ledger-sample .positive { color: var(--accent-dark); }
.split-progress { position: absolute; z-index: 4; top: 0; left: 0; width: 100%; height: 5px; background: rgba(255,255,255,.2); }
.split-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--accent); will-change: transform; }

.principles { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 140px); width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 150px 0; }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.principle-grid article { min-height: 280px; padding: 26px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.principle-grid span { color: var(--accent); font-size: .72rem; }
.principle-grid h3 { margin: 64px 0 10px; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; }
.final-cta { padding: 150px max(32px, calc((100vw - 1440px) / 2)); border-top: 2px solid var(--ink); }
.final-cta h2 { margin-bottom: 54px; }

footer { padding: 36px 0 46px; border-top: 1px solid var(--rule); color: var(--quiet); font-size: .82rem; }

/* Legal and support pages */
body > main:not(.home) { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 96px; }
body > main:not(.home) h1 { margin: 12px 0 18px; font-size: clamp(3rem, 8vw, 6rem); }
body > main:not(.home) h2 { margin: 42px 0 12px; padding-top: 20px; border-top: 2px solid var(--rule); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.updated { margin-bottom: 38px; font-size: .9rem; }
.notice { margin: 28px 0; padding: 18px; border: 2px solid var(--accent); color: var(--ink); }

@media (max-width: 900px) {
  .site-nav, footer, .hero, .principles { width: min(100% - 32px, 1440px); }
  .site-nav nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 68px 0 92px; }
  .hero-mark { width: min(68vw, 300px); margin-top: 48px; justify-self: center; }
  .scroll-note { display: none; }
  .split-story, .has-gsap .split-story { min-height: auto; overflow: visible; }
  .story-track, .has-gsap .story-track { display: block; width: 100%; min-height: auto; overflow: visible; transform: none !important; }
  .story-panel, .story-intro, .panel-finish { width: 100%; min-width: 0; min-height: auto; padding: 88px 32px 72px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .story-panel:last-child { border-bottom: 0; }
  .panel-number { top: 28px; left: 32px; }
  .story-panel h2 { max-width: 12ch; font-size: clamp(3rem, 12vw, 5.4rem); }
  .story-panel > p:not(.eyebrow):not(.panel-number) { max-width: 34rem; }
  .mini-mark, .split-bars, .ledger-sample { width: min(100%, 560px); }
  .split-progress { display: none; }
  .principles { grid-template-columns: 1fr; padding: 100px 0; }
  .final-cta { padding: 100px 24px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-nav { min-height: 76px; }
  .nav-cta { font-size: .78rem; }
  .brand-lockup span { display: none; }
  .hero { padding: 48px 0 64px; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.9rem); }
  .lede { margin-top: 28px; font-size: 1.05rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-mark { width: min(62vw, 260px); margin-top: 42px; }
  .balance-chip { min-width: 124px; padding: 9px 11px; }
  .balance-chip strong { font-size: 1.05rem; }
  .story-panel, .story-intro, .panel-finish { padding: 76px 24px 58px; }
  .panel-number { top: 24px; left: 24px; }
  .story-panel h2 { max-width: 10ch; font-size: clamp(2.75rem, 13vw, 4rem); }
  .story-panel > p:not(.eyebrow):not(.panel-number) { font-size: 1rem; }
  .mini-mark { width: 100%; height: 82px; }
  .stat strong { font-size: 5.4rem; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 230px; }
  .story-panel h2, .principles h2, .final-cta h2 { font-size: clamp(2.75rem, 14vw, 4.4rem); }
}

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