:root {
  color-scheme: dark;
  --background: #000000;
  --surface: #090909;
  --line: rgba(255, 255, 255, 0.17);
  --text: #ffffff;
  --muted: #a3a3aa;
  --blue: #7592ff;
  --green: #83e6bd;
  --gold: #ffd66e;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; min-width: 0; align-items: center; }

.brand img {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(250px, 54vw);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-link {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #d7d7db;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.home-link:hover { color: #fff; }

.page-inner,
.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.funding-hero { border-bottom: 1px solid var(--line); }

.hero-inner {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, p { overflow-wrap: anywhere; }

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c6c6cb;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 36px;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 19px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: #050505;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.primary-link:hover { color: var(--blue); background: transparent; }

.text-link {
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.funding-map {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.map-node,
.map-center {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
}

.map-node {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 20px;
}

.map-node span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-node small {
  color: var(--muted);
  font-size: 11px;
}

.map-node-top { border-color: rgba(255, 214, 110, 0.55); }

.map-center {
  display: grid;
  min-height: 126px;
  place-content: center;
  border-color: var(--blue);
  text-align: center;
}

.map-center span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-center strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
}

.map-line {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.36);
}

.map-split {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.map-split .map-node {
  min-height: 118px;
  align-items: flex-start;
  flex-direction: column;
}

.map-split .map-node:first-child { border-color: rgba(131, 230, 189, 0.55); }
.map-split .map-node:last-child { border-color: rgba(117, 146, 255, 0.6); }

.definition-section,
.options-section,
.process-section,
.catalog-cta { border-bottom: 1px solid var(--line); }

.definition-section { padding: 90px 0; }

.definition-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  align-items: end;
  gap: 80px;
}

h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98;
  letter-spacing: 0;
}

.definition-inner > p,
.process-heading > p,
.cta-inner > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.options-section { padding: 100px 0 110px; background: var(--surface); }
.section-heading { margin-bottom: 36px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.option-card {
  --card-accent: #fff;
  display: flex;
  min-height: 430px;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #fff;
  background: #050505;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.option-card.owners { --card-accent: var(--gold); }
.option-card.agents { --card-accent: var(--green); }
.option-card.funders { --card-accent: var(--blue); }
.option-card:hover { color: var(--card-accent); background: #0d0d0d; }

.option-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.option-number {
  color: #69696f;
  font-size: 10px;
  font-weight: 800;
}

.option-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--card-accent);
}

.option-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.option-content {
  display: block;
  margin: auto 0 30px;
  padding-top: 46px;
}

.option-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--card-accent);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.option-title {
  display: block;
  max-width: 310px;
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 800;
  line-height: 1.04;
}

.option-description {
  display: block;
  margin-top: 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.option-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.process-section { padding: 100px 0 110px; }

.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  min-height: 120px;
  grid-template-columns: 60px minmax(210px, 0.65fr) minmax(300px, 1fr);
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}

.process-number {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.process-list strong { font-size: 18px; }

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.catalog-cta { background: var(--surface); }

.cta-inner {
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 70px;
}

.cta-inner > div > p:last-child { max-width: 680px; margin-top: 22px; }
.primary-link-large { min-height: 56px; padding: 0 22px; }

.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy, .footer-links {
  margin: 0;
  color: #77777d;
  font-size: 10px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.home-link:focus-visible,
.primary-link:focus-visible,
.text-link:focus-visible,
.option-card:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 940px) {
  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .funding-map { width: min(660px, 100%); margin: 0 auto; }
  .definition-inner, .process-heading, .cta-inner { grid-template-columns: 1fr; gap: 34px; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .option-card.funders { grid-column: span 2; }
  .option-card.funders .option-title, .option-card.funders .option-description { max-width: 620px; }
  .primary-link-large { justify-self: start; }
  .cta-inner { padding: 76px 0; }
}

@media (max-width: 660px) {
  .site-header { min-height: 62px; padding: 12px 16px; }
  .brand img { height: 27px; max-width: 52vw; }
  .home-link span { display: none; }
  .page-inner, .footer-inner { width: calc(100% - 32px); }
  .hero-inner { padding: 58px 0 64px; }
  h1 { font-size: 34px; }
  .hero-lead { font-size: 18px; }
  .map-node { align-items: flex-start; flex-direction: column; gap: 7px; }
  .map-split { grid-template-columns: 1fr; }
  .definition-section, .options-section, .process-section { padding: 70px 0 76px; }
  .definition-inner { grid-template-columns: 1fr; gap: 28px; }
  h2 { font-size: 28px; }
  .option-grid { grid-template-columns: 1fr; }
  .option-card.funders { grid-column: auto; }
  .option-card { min-height: 390px; padding: 23px; }
  .process-list li { grid-template-columns: 38px 1fr; gap: 13px; padding: 22px 0; }
  .process-list p { grid-column: 2; }
  .cta-inner { min-height: 0; padding: 68px 0; }
  .primary-link-large { width: 100%; }

  .footer-inner {
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links { justify-content: flex-start; }
}

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