:root {
  --bg: #f2f0e9;
  --surface: #fbfaf6;
  --ink: #111512;
  --muted: #626962;
  --line: #cfd2ca;
  --dark: #0a0d0c;
  --dark-surface: #121714;
  --dark-line: #29312b;
  --light: #f6f5ef;
  --signal: #b8ff5a;
  --signal-dark: #81c72e;
  --warning: #ffd76a;
  --danger: #ff8d7b;
  --radius: 18px;
  --shell: min(1180px, calc(100% - 40px));
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .18em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
strong { font-weight: 690; }

.shell { width: var(--shell); margin-inline: auto; }
.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(-180%); padding: 10px 14px; background: var(--signal); color: #071006; text-decoration: none; border-radius: 10px; font-weight: 700; }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: .95rem; font-weight: 760; letter-spacing: -.01em; }
.brand-logo { width: 36px; height: 36px; display: block; flex: 0 0 auto; object-fit: contain; border-radius: 50%; background: #fff; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-size: .95rem; }
.brand-copy span { margin-top: 4px; color: var(--muted); font-size: .69rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .91rem; }
.nav a { color: #303631; text-decoration: none; }
.nav a:hover { color: #000; }
.nav-github { padding: 9px 14px; border: 1px solid #232823; border-radius: 999px; color: var(--ink) !important; }
.nav-toggle { display: none; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; }

.hero { padding-block: clamp(80px, 10vw, 145px); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: clamp(44px,7vw,90px); align-items: center; }
.hero-copy { max-width: 780px; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: .76rem; line-height: 1.2; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
.hero h1 { margin: 0; font-size: clamp(3.4rem, 7vw, 7.2rem); line-height: .92; letter-spacing: -.065em; font-weight: 640; }
.hero h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--signal-dark); text-decoration-thickness: .09em; text-underline-offset: .08em; }
.hero-lead { max-width: 740px; margin: 34px 0 0; color: #3c433d; font-size: clamp(1.1rem,1.6vw,1.32rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid var(--ink); border-radius: 999px; font-size: .92rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--light); }
.button-secondary { background: transparent; color: var(--ink); }
.microcopy { margin: 16px 0 0; color: var(--muted); font-size: .82rem; }

.hero-panel { padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 18px 55px rgba(17,21,18,.08); }
.panel-kicker { margin: 0 0 26px; color: var(--muted); font-size: .72rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.signal-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; color: var(--muted); font-size: .9rem; }
.signal-row strong { color: var(--ink); font-size: 1.08rem; }
.signal-track { height: 7px; margin: 9px 0 24px; overflow: hidden; border-radius: 999px; background: #e1e4dc; }
.signal-track span { display: block; height: 100%; border-radius: inherit; background: var(--signal-dark); }
.hero-principle { display: flex; gap: 12px; align-items: flex-start; padding-top: 8px; border-top: 1px solid var(--line); }
.hero-principle p { margin: 16px 0 0; color: var(--muted); font-size: .88rem; }
.hero-principle strong { color: var(--ink); }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 22px; border-radius: 50%; background: var(--signal-dark); box-shadow: 0 0 0 5px rgba(129,199,46,.13); }

.statement { padding-block: clamp(65px,8vw,100px); border-block: 1px solid var(--line); background: var(--surface); }
.statement-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; align-items: start; }
.statement-kicker { margin: 8px 0 0; color: var(--muted); font-size: .77rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.statement-text { max-width: 980px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem,4.4vw,4.5rem); line-height: 1.04; letter-spacing: -.035em; }

.section { padding-block: clamp(92px,12vw,150px); scroll-margin-top: 80px; }
.section-heading { display: grid; grid-template-columns: minmax(180px,.7fr) minmax(330px,1.2fr); column-gap: 70px; align-items: start; margin-bottom: 65px; }
.section-heading .eyebrow { grid-column: 1; }
.section-heading h2 { grid-column: 2; grid-row: 1 / span 2; margin: -9px 0 18px; font-size: clamp(3rem,6vw,6rem); line-height: .94; letter-spacing: -.055em; font-weight: 620; }
.section-heading > p:last-child { grid-column: 2; margin: 0; max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.split-heading { grid-template-columns: minmax(0,1fr) minmax(320px,.7fr); }
.split-heading > div .eyebrow, .split-heading > div h2 { grid-column: auto; grid-row: auto; }
.split-heading > div h2 { margin: 0; }
.split-heading > p:last-child { grid-column: 2; align-self: end; }

.section-pipeline { background: var(--dark); color: var(--light); }
.section-pipeline .eyebrow { color: #9aa39c; }
.section-heading-light > p:last-child { color: #9aa39c; }
.pipeline-toolbar { margin-top: 42px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.search-box { flex: 1; max-width: 520px; }
.search-box input { width: 100%; border: 1px solid var(--dark-line); background: var(--dark-surface); color: var(--light); border-radius: 999px; padding: 13px 18px; outline: none; }
.search-box input::placeholder { color: #7f8982; }
.search-box input:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(184,255,90,.12); }
.filter-group { display: flex; gap: 8px; }
.filter { border: 1px solid var(--dark-line); background: transparent; padding: 9px 13px; border-radius: 999px; cursor: pointer; color: #aeb8b0; }
.filter:hover, .filter.is-active { color: #081007; background: var(--signal); border-color: var(--signal); }
.opportunity-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.opportunity-card { min-height: 380px; padding: 24px; border: 1px solid var(--dark-line); border-radius: var(--radius); background: var(--dark-surface); display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.opportunity-card:hover { transform: translateY(-2px); border-color: #465148; }
.card-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.priority { display: inline-flex; align-items: center; justify-content: center; min-width: 39px; height: 28px; padding: 0 9px; border-radius: 999px; background: rgba(184,255,90,.12); color: var(--signal); font-size: .77rem; font-weight: 900; }
.priority[data-priority="P1"] { background: rgba(255,215,106,.11); color: var(--warning); }
.card-status { color: #7f8982; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.opportunity-card h3 { margin: 22px 0 6px; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.025em; }
.card-funder { margin: 0; color: #aeb8b0; font-size: .9rem; }
.card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0; }
.meta-box { padding: 12px 14px; border-radius: 14px; background: #0f1411; border: 1px solid var(--dark-line); }
.meta-box span { display: block; color: #7f8982; font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; }
.meta-box strong { display: block; margin-top: 4px; font-size: .88rem; font-weight: 750; }
.eiv-wrap { margin-top: 20px; }
.eiv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; font-size: .83rem; }
.eiv-row span { color: #aeb8b0; }
.eiv-row strong { font-size: 1.05rem; }
.eiv-track { height: 8px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #222a23; }
.eiv-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#678e4d,var(--signal)); }
.card-next { margin: 20px 0 0; color: #aeb8b0; font-size: .88rem; }
.card-next strong { color: var(--light); }
.card-actions { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.card-link { color: var(--signal); text-decoration: none; font-weight: 800; font-size: .88rem; }
.card-link:hover { text-decoration: underline; }
.deadline { font-size: .8rem; color: #7f8982; text-align: right; }
.deadline strong { color: var(--light); font-weight: 750; }
.empty-state { color: #aeb8b0; padding: 30px 0; }

.principles-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle-card { min-height: 280px; display: flex; flex-direction: column; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.principle-index { color: var(--muted); font-size: .78rem; font-weight: 760; }
.principle-card h3 { margin: auto 0 10px; font-size: clamp(1.6rem,3vw,2.5rem); letter-spacing: -.035em; }
.principle-card p { margin: 0; color: var(--muted); }

.identity-section { border-block: 1px solid var(--line); background: #dfe2d6; }
.model-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.model-grid .section-heading { display: block; margin: 0; }
.model-grid .section-heading h2 { margin: 0 0 20px; font-size: clamp(3.2rem,6vw,6.2rem); }
.model-grid .section-heading > p:last-child { margin: 0; }
.sticky-heading { position: sticky; top: 110px; }
.stack-list { display: grid; }
.stack-item { display: grid; grid-template-columns: 78px 1fr; gap: 22px; align-items: start; padding: 28px 0; border-top: 1px solid #bfc5ba; }
.stack-item:last-child { border-bottom: 1px solid #bfc5ba; }
.stack-code { display: grid; place-items: center; min-height: 42px; border: 1px solid #9ca69b; border-radius: 10px; color: #30421e; font: 700 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.stack-item h3 { margin: 0 0 6px; font-size: 1.16rem; }
.stack-item p { margin: 0; color: #566056; }

.section-network { background: var(--bg); }
.network-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.network-grid h2 { margin: 0; font-size: clamp(3rem,6vw,6rem); line-height: .94; letter-spacing: -.055em; font-weight: 620; }
.network-copy { color: var(--muted); max-width: 560px; }
.network-map { position: relative; min-height: 430px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at center, rgba(184,255,90,.22), transparent 52%), var(--surface); overflow: hidden; }
.node { position: absolute; z-index: 3; display: grid; place-items: center; min-width: 86px; min-height: 44px; padding: 0 12px; border: 1px solid #9ba49d; background: var(--surface); border-radius: 999px; font-size: .82rem; font-weight: 800; box-shadow: 0 10px 30px rgba(17,21,18,.08); }
.node-core { left: 50%; top: 50%; transform: translate(-50%,-50%); min-width: 92px; min-height: 92px; border-radius: 50%; color: #081007; background: var(--signal); border-color: var(--signal-dark); font-size: 1rem; }
.node-a { left: 9%; top: 20%; }
.node-b { right: 8%; top: 17%; }
.node-c { left: 11%; bottom: 17%; }
.node-d { right: 9%; bottom: 13%; }
.node-e { right: 8%; top: 48%; }
.edge { position: absolute; z-index: 1; height: 1px; background: linear-gradient(90deg,transparent,#8e9c90,transparent); transform-origin: left center; }
.edge-a { width: 42%; left: 17%; top: 32%; transform: rotate(24deg); }
.edge-b { width: 42%; left: 50%; top: 48%; transform: rotate(-29deg); }
.edge-c { width: 42%; left: 17%; top: 73%; transform: rotate(-22deg); }
.edge-d { width: 43%; left: 50%; top: 55%; transform: rotate(28deg); }
.edge-e { width: 34%; left: 50%; top: 52%; }

.section-cta { padding-top: 20px; }
.cta-panel { display: grid; grid-template-columns: 1.5fr .8fr; gap: 70px; padding: clamp(34px,5vw,64px); border-radius: 28px; background: var(--signal); color: #0d140a; }
.cta-panel .eyebrow { color: #486329; }
.cta-panel h2 { margin: 0 0 17px; font-size: clamp(2.8rem,5vw,5.6rem); line-height: .94; letter-spacing: -.055em; font-weight: 620; }
.cta-panel p:not(.eyebrow) { max-width: 700px; margin: 0; color: #334523; }
.cta-actions { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.cta-actions .button { width: 100%; }
.cta-panel .button-primary { background: var(--ink); color: var(--light); }
.cta-panel .button-secondary { border-color: rgba(17,21,18,.5); color: var(--ink); }

.site-footer { padding-block: 70px 30px; background: var(--dark); color: var(--light); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; padding-bottom: 70px; }
.brand-footer { margin-bottom: 18px; color: var(--light); }
.brand-footer .brand-copy span { color: #929b94; }
.brand-footer .brand-logo { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.footer-grid p { max-width: 470px; margin: 0; color: #929b94; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(120px,1fr)); gap: 8px 30px; align-content: start; }
.footer-links a { color: #c8cec9; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid var(--dark-line); color: #7f8982; font-size: .78rem; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 30px,1180px); }
  .hero-grid, .section-heading, .split-heading, .model-grid, .network-grid { grid-template-columns: 1fr; }
  .section-heading .eyebrow, .section-heading h2, .section-heading > p:last-child, .split-heading > p:last-child { grid-column: 1; grid-row: auto; }
  .section-heading h2 { margin-top: 0; }
  .model-grid { gap: 46px; }
  .sticky-heading { position: static; }
  .cta-panel { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px,1180px); }
  .nav-wrap { min-height: 66px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 14px; right: 14px; top: 66px; padding: 12px; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(17,21,18,.12); }
  .nav.is-open { display: flex; }
  .nav a { padding: 8px; }
  .nav-github { border-radius: 10px; }
  .hero { padding-top: 72px; }
  .hero h1 { font-size: clamp(3rem,15vw,4.8rem); }
  .statement-grid { grid-template-columns: 1fr; gap: 20px; }
  .section { padding-block: 78px; }
  .pipeline-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { max-width: none; }
  .filter-group { overflow-x: auto; }
  .opportunity-grid, .principles-grid { grid-template-columns: 1fr; }
  .card-meta { grid-template-columns: 1fr; }
  .network-map { min-height: 360px; }
  .node { min-width: 72px; font-size: .72rem; }
  .node-core { min-width: 78px; min-height: 78px; }
  .cta-panel { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

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