:root {
  --ink: #111014;
  --ink-soft: #1b181f;
  --paper: #f4ede2;
  --paper-muted: #c9c0b5;
  --line: rgba(244, 237, 226, 0.18);
  --amethyst: #6d398a;
  --amethyst-dark: #3b1e4c;
  --pink: #e83683;
  --pink-deep: #bf1e66;
  --teal: #58797a;
  --max: 1280px;
  --header: 76px;
  --display: "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
section { scroll-margin-top: calc(var(--header) + 24px); }

.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: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(17, 16, 20, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--pink);
  color: white;
  font-family: var(--display);
  font-size: 0.82rem;
  line-height: 1;
  transform: skewX(-8deg);
}
.brand-name { white-space: nowrap; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.75rem);
}
.site-nav a, .site-footer nav a {
  color: var(--paper-muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-footer nav a:hover { color: var(--paper); }
.site-nav a[aria-current="location"] { color: var(--paper); }
.site-nav a[aria-current="location"]::after { content: ""; display: block; width: 100%; height: 2px; margin-top: 4px; background: var(--pink); }

.nav-toggle { display: none; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}
.button-primary { background: var(--pink); color: white; }
.button-primary:hover { background: var(--pink-deep); }
.button-secondary { border-color: rgba(244, 237, 226, 0.42); color: var(--paper); }
.button-secondary:hover { background: var(--paper); color: var(--ink); }
.button-light { background: var(--paper); color: var(--ink); }

.hero {
  min-height: calc(100svh - var(--header));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 116px) clamp(32px, 7vw, 112px);
  overflow: hidden;
}
.hero-copy::after {
  content: "100";
  position: absolute;
  z-index: -1;
  right: -0.06em;
  bottom: -0.27em;
  color: rgba(109, 57, 138, 0.16);
  font-family: var(--display);
  font-size: clamp(11rem, 25vw, 31rem);
  line-height: 1;
  letter-spacing: -0.12em;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--paper-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--pink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.6rem, 5.5vw, 6.4rem);
}
h2 { font-size: clamp(2.2rem, 4.5vw, 5.2rem); }
.hero-lead {
  max-width: 54ch;
  margin-bottom: 2rem;
  color: var(--paper-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}
.hero-actions, .inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(48px, 7vh, 86px) 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat { padding: 18px; background: var(--ink); }
.stat dd {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}
.stat dt { color: var(--paper-muted); font-size: 0.76rem; line-height: 1.25; text-transform: uppercase; }

.hero-visual {
  position: relative;
  margin: 0;
  min-height: 580px;
  overflow: hidden;
  background: var(--ink-soft);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 16, 20, 0.2), transparent 35%), linear-gradient(0deg, rgba(17, 16, 20, 0.35), transparent 35%);
  pointer-events: none;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  color: rgba(244, 237, 226, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 76px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 11vw, 160px) 24px;
  border-bottom: 1px solid var(--line);
}
.section-index {
  color: var(--pink);
  font-family: var(--display);
  font-size: 1.2rem;
}
.section-heading h2 { max-width: 9ch; margin-bottom: 0; }
.section-body, .experiment-copy, .companies-copy, .legacy-copy { max-width: 700px; }
.prose-large > p, .experiment-copy > p, .companies-copy > p, .legacy-copy > p {
  color: var(--paper-muted);
  font-size: clamp(1.06rem, 1.55vw, 1.35rem);
}
.statement {
  margin-top: 2.5rem;
  padding: 28px 0 0 26px;
  border-top: 1px solid var(--line);
  border-left: 5px solid var(--pink);
  color: var(--paper) !important;
  font-weight: 800;
}

.journey { grid-template-columns: 90px 0.55fr 1.45fr; }
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 22px;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}
.timeline-number {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--ink);
  border: 1px solid rgba(244, 237, 226, 0.32);
  color: var(--paper-muted);
  font-size: 0.72rem;
  font-weight: 900;
}
.timeline-current { color: white; }
.timeline-current .timeline-number { background: var(--pink); border-color: var(--pink); color: white; }

.program { grid-template-columns: 90px 0.68fr 1.32fr; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.program-grid article {
  min-height: 145px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.program-grid article:nth-child(even) { border-right: 0; }
.program-grid article:last-child { grid-column: 1 / -1; border-bottom: 0; }
.program-grid span { color: var(--pink); font-size: 0.75rem; font-weight: 900; }
.program-grid h3 { max-width: 16ch; margin: 38px 0 0; font-size: 1.15rem; line-height: 1.15; }

.funding { grid-template-columns: 90px 0.7fr 1.3fr; }
.funding-total { align-self: start; }
.funding-total > span { display: block; color: var(--paper-muted); font-size: 0.82rem; text-transform: uppercase; }
.funding-total > strong { display: block; margin: 8px 0; font-family: var(--display); font-size: clamp(3.6rem, 7vw, 7rem); line-height: 0.95; color: var(--paper); }
.funding-total p { color: var(--paper-muted); }
.funding-track, .funding-note, .funding > .button { grid-column: 3; }
.funding-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 36px; margin-top: 26px; }
.funding-line { position: absolute; top: 9px; left: 0; right: 0; height: 8px; background: var(--ink-soft); }
.funding-line span { display: block; width: 25%; height: 100%; background: linear-gradient(90deg, var(--amethyst), var(--pink)); }
.milestone { position: relative; display: flex; flex-direction: column; gap: 4px; }
.milestone::before { content: ""; position: absolute; top: -34px; left: 0; width: 18px; height: 18px; background: var(--paper); border: 5px solid var(--ink); outline: 2px solid var(--pink); border-radius: 50%; }
.milestone strong { font-family: var(--display); font-size: 1.25rem; }
.milestone span { color: var(--paper-muted); font-size: 0.82rem; }
.funding-note { margin: 42px 0 24px; color: var(--paper-muted); }
.funding-note strong { color: var(--paper); }
.funding > .button { justify-self: start; }

.rewards { grid-template-columns: 90px 0.75fr 1.25fr; }
.reward-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.reward-list li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(1rem, 1.4vw, 1.22rem); font-weight: 750; }
.reward-list span { color: var(--pink); font-size: 0.72rem; }
.section-note { grid-column: 3; color: var(--paper-muted); font-size: 0.86rem; }

.experiment { grid-template-columns: 90px 0.78fr 1.22fr; }
.data-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 30px 0 0; padding: 1px; background: var(--line); list-style: none; }
.data-list li { padding: 18px; background: var(--ink-soft); font-weight: 750; }
.data-list li::before { content: "/"; margin-right: 10px; color: var(--pink); }

.companies {
  max-width: none;
  grid-template-columns: minmax(48px, calc((100vw - var(--max)) / 2 + 90px)) minmax(260px, 0.78fr) minmax(0, 1.22fr);
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--amethyst-dark);
}
.companies-copy ul, .legacy-copy ul { margin: 28px 0 34px; padding-left: 1.2rem; color: var(--paper-muted); }
.companies-copy li, .legacy-copy li { margin-bottom: 9px; }
.text-link { color: var(--paper); font-weight: 800; text-underline-offset: 5px; }

.legacy { grid-template-columns: 90px 0.78fr 1.22fr; }

.final-cta {
  display: grid;
  justify-items: start;
  padding: clamp(86px, 11vw, 160px) max(24px, calc((100vw - var(--max)) / 2));
  background: var(--pink);
  color: white;
}
.final-cta .eyebrow { color: rgba(255,255,255,0.72); }
.final-cta h2 { max-width: 17ch; margin-bottom: 38px; }
.final-cta > p:last-child { max-width: 66ch; margin: 28px 0 0; }

.signup {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(82px, 10vw, 140px) 24px;
}
.signup h2 { margin-bottom: 20px; }
.signup > div > p:last-child { max-width: 52ch; color: var(--paper-muted); }
.signup-form label:first-child { display: block; margin-bottom: 8px; font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr auto; }
.form-row input { min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 0; background: var(--ink-soft); color: var(--paper); }
.form-row input::placeholder { color: #8f8791; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; color: var(--paper-muted); font-size: 0.82rem; }
.consent input { margin-top: 4px; accent-color: var(--pink); }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: var(--paper-muted); font-size: 0.86rem; }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
}
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 28px; }
.site-footer > p { margin: 0; color: var(--paper-muted); font-size: 0.76rem; }
.mobile-sticky-cta { display: none; }

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.error-card { max-width: 760px; }
.error-code { margin: 0; color: var(--pink); font-family: var(--display); font-size: clamp(6rem, 25vw, 15rem); line-height: 0.8; }
.error-card h1 { margin: 28px 0 18px; font-size: clamp(2.4rem, 7vw, 5.4rem); }
.error-card p { max-width: 55ch; color: var(--paper-muted); }

@media (max-width: 980px) {
  :root { --header: 68px; }
  .site-header { grid-template-columns: auto auto 1fr; gap: 14px; }
  .nav-toggle { display: grid; place-items: center; gap: 5px; width: 42px; height: 42px; margin-left: auto; border: 0; background: transparent; color: var(--paper); }
  .nav-toggle span:not(.sr-only) { width: 24px; height: 2px; background: currentColor; transition: transform 160ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px 24px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-cta { justify-self: end; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 76vh; }
  .hero-visual { min-height: 66vh; }
  .section, .journey, .program, .funding, .rewards, .experiment, .companies, .legacy { grid-template-columns: 54px minmax(0, 1fr); gap: 28px; }
  .section-heading { grid-column: 2; }
  .section-body, .timeline, .program-grid, .funding-total, .funding-track, .funding-note, .funding > .button, .reward-list, .section-note, .experiment-copy, .companies-copy, .legacy-copy { grid-column: 2; }
  .funding-track { margin-top: 40px; }
  .signup { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 680px) {
  body { padding-bottom: 72px; }
  .site-header { padding-inline: 16px; }
  .brand-name { font-size: 0.88rem; }
  .brand-mark { width: 38px; height: 38px; }
  .header-cta { display: none; }
  .hero-copy { min-height: auto; padding: 64px 20px 48px; }
  h1 { max-width: none; font-size: clamp(2.35rem, 12.5vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: 90px 1fr; align-items: center; }
  .stat dd { margin: 0; }
  .hero-visual { min-height: 480px; }
  .hero-visual img { object-position: 43% center; }
  .section, .journey, .program, .funding, .rewards, .experiment, .companies, .legacy { grid-template-columns: 1fr; padding: 78px 20px; }
  .section-index { grid-column: 1; }
  .section-heading, .section-body, .timeline, .program-grid, .funding-total, .funding-track, .funding-note, .funding > .button, .reward-list, .section-note, .experiment-copy, .companies-copy, .legacy-copy { grid-column: 1; }
  .section-heading h2 { max-width: 11ch; }
  .program-grid { grid-template-columns: 1fr; }
  .program-grid article, .program-grid article:nth-child(even), .program-grid article:last-child { grid-column: 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .program-grid article:last-child { border-bottom: 0; }
  .funding-track { grid-template-columns: 1fr; gap: 32px; padding: 0 0 0 34px; }
  .funding-line { top: 0; bottom: 0; left: 8px; width: 8px; height: auto; }
  .funding-line span { width: 100%; height: 25%; }
  .milestone::before { top: 3px; left: -34px; }
  .data-list { grid-template-columns: 1fr; }
  .signup { padding: 78px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; }
  .footer-brand .brand-name { display: inline; }
  .mobile-sticky-cta { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 10px; display: flex; box-shadow: 0 8px 30px rgba(0,0,0,0.45); }
}

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