@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0a2233;
  --ink-soft: #46606e;
  --blue: #007bb8;      /* sampled from the logo wordmark */
  --blue-deep: #00578a;
  --drop: #6ec7eb;      /* sampled from the logo drop */
  --tint: #eef6fa;
  --line: #d8e5ec;
  --paper: #ffffff;
  --max: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.03em; line-height: 1.04; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink-soft); max-width: 40ch; line-height: 1.45; }
.label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.muted { color: var(--ink-soft); }
.small { font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft); }
.small a { color: var(--ink-soft); text-underline-offset: 2px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav img { height: 30px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav li a:not(.btn):hover, .nav li a[aria-current] { color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  background: var(--blue); color: #fff;
  border: 1.5px solid var(--blue);
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.nav .btn { padding: 9px 16px; color: #fff; }
.nav .btn:hover { color: #fff; }

/* ---------- sections ---------- */
section { padding: clamp(72px, 11vw, 140px) 0; }
.band { background: var(--tint); }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { max-width: 18ch; }

/* ---------- hero ---------- */
.hero { padding: clamp(64px, 11vw, 140px) 0 0; overflow: hidden; }
.hero .wrap { text-align: center; }
.hero h1 { max-width: 14ch; margin: 0 auto; }
.hero .lead { margin: 28px auto 0; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.waves { margin-top: clamp(56px, 9vw, 110px); height: 120px; position: relative; color: var(--tint); }
.waves svg { position: absolute; left: 0; bottom: -1px; width: 200%; max-width: none; height: 100%; animation: drift 22s linear infinite; }
.waves svg.back { color: #dcedf6; animation-duration: 34s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- problem ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps > div {
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.steps p.big { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 560; letter-spacing: -0.02em; line-height: 1.2; max-width: 28ch; }
.steps p.big span { color: var(--ink-soft); font-weight: 450; }

.big-lead { margin-top: 72px; font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 650; letter-spacing: -0.02em; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 28px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.stat p { margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; max-width: 36ch; }

/* ---------- product ---------- */
.flow { display: grid; grid-template-columns: 1fr 56px 1.35fr 56px 1fr; align-items: center; }
.node {
  border: 1.5px solid var(--line); border-radius: 20px; padding: 28px 24px; background: #fff;
  min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
}
.node.core { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 6px rgba(0, 123, 184, 0.07); }
.node .label { margin-bottom: auto; }
.node p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.4; }
.pipe { height: 3px; background: var(--drop); position: relative; overflow: hidden; border-radius: 2px; }
.pipe::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: flow 2.4s linear infinite;
}
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.points h3 { margin-bottom: 8px; }
.points p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- results chart ---------- */
.chart { display: grid; gap: 40px; max-width: 820px; }
.group h3 { font-size: 1rem; margin-bottom: 14px; }
.group h3 span { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; color: var(--ink-soft); margin-left: 8px; letter-spacing: 0.02em; }
.row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; margin-bottom: 10px; }
.row .who { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.25; }
.row .who small { display: block; font-family: var(--mono); font-size: 0.72rem; margin-top: 3px; }
.axis { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 8px; }
.axis span:nth-child(2) { grid-column: 2; justify-self: start; }
.axis span:nth-child(3) { grid-column: 3; }
.row.us .who { color: var(--ink); font-weight: 600; }
.track { height: 40px; position: relative; }
.bar {
  height: 100%; width: var(--w); border-radius: 8px; background: #c3d3dc;
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 12px;
  font-family: var(--mono); font-size: 0.85rem; font-weight: 500; color: #fff; white-space: nowrap;
}
.row.us .bar { background: var(--blue); }
.js .chart:not(.in) .bar { width: 0; }
.row.base .bar { color: var(--ink-soft); }
.claim { display: flex; flex-wrap: wrap; gap: 14px 56px; margin-top: 8px; }
.cards { display: grid; grid-template-columns: 1fr; max-width: 820px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .row { grid-template-columns: 120px 1fr; margin: 4px 0 0; }
.card .track { height: 44px; }
.card .row:first-of-type { margin-top: 12px; }
.card.soon { background: transparent; border-style: dashed; }
.callout { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.note { margin-top: 28px; max-width: 70ch; }

/* ---------- backed ---------- */
.backers { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 64px; }
.backers span { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 650; letter-spacing: -0.03em; }

/* ---------- cta ---------- */
.cta { background: var(--ink); color: #fff; }
.cta h2 { max-width: 16ch; }
.cta .lead { color: #a8c0cc; margin-top: 20px; }
.cta .btn { margin-top: 36px; background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn:hover { background: var(--drop); border-color: var(--drop); }
.cta .emails { margin-top: 28px; font-family: var(--mono); font-size: 0.9rem; color: #a8c0cc; display: grid; gap: 4px; }
.cta .emails a { text-decoration: none; }
.cta .emails a:hover { color: #fff; }

footer { padding: 32px 0; font-size: 0.85rem; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--blue); }

/* ---------- team ---------- */
.page-head { padding: clamp(64px, 10vw, 130px) 0 clamp(40px, 6vw, 72px); }
.page-head h1 { max-width: 14ch; }
.page-head .lead { margin-top: 24px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.person .photo {
  aspect-ratio: 4 / 5; border-radius: 22px; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 28px; overflow: hidden;
  font-size: 4.5rem; font-weight: 650; letter-spacing: -0.04em; color: var(--drop);
}
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.person h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.person .role { margin: 10px 0 18px; }
.person p.bio { color: var(--ink-soft); margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.chips li { font-size: 0.82rem; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-deep); font-weight: 500; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.95rem; font-weight: 550; }
.links a { color: var(--blue); text-underline-offset: 3px; }
.story { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.story .body { display: grid; gap: 22px; font-size: 1.12rem; color: var(--ink-soft); }
.story .body p:first-child { color: var(--ink); font-size: 1.35rem; line-height: 1.4; letter-spacing: -0.01em; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .waves svg, .pipe::after { animation: none; }
  .bar { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .pipe { width: 3px; height: 40px; margin: 0 auto; }
  .pipe::after { display: none; }
  .node { min-height: 0; }
  .points, .stats, .cards { grid-template-columns: 1fr; }
  .people, .story { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .nav ul { gap: 18px; }
}
