/* Page Lemon template: Seed. Deep forest ground, white paper cards, big numerals. */
:root {
  /* Page ground: deep forest green */
  --forest: #0E2A20;
  /* Raised band on the ground, for the CTA band */
  --forest-2: #163A2C;
  /* Paper card surface */
  --paper: #FFFFFF;
  /* Text on paper */
  --ink: #0E2A20;
  /* Muted text on paper */
  --ink-soft: #4A6257;
  /* Text on the forest ground */
  --on-forest: #F3F8F5;
  /* Muted text on the forest ground */
  --on-forest-soft: #BCD0C5;
  /* Numerals and rules on the forest ground */
  --leaf: #7BE0AC;
  /* Button and highlight fill */
  --sun: #F4C542;
  /* Chart and numeral colour on paper */
  --moss: #1F6B4A;
  /* Hairlines on paper */
  --line: #D6E2DB;
  /* Type: one variable grotesque for everything */
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--on-forest);
  font: 400 17px/1.55 var(--font);
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

/* Scroll progress: scroll-driven where supported, hidden otherwise */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--sun);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 10;
}
@supports (animation-timeline: scroll()) {
  body::before { animation: seed-progress linear both; animation-timeline: scroll(root); }
  @keyframes seed-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; background: var(--sun); color: var(--forest); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.visually-hidden-lead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.slide { padding: clamp(56px, 9vw, 112px) 0; border-top: 1px solid rgba(243, 248, 245, 0.12); }
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.prose p { margin: 0 0 1em; max-width: 60ch; }
.prose p:last-child { margin-bottom: 0; }
.kicker { margin: 0 0 16px; color: var(--leaf); font-weight: 600; font-size: 0.95rem; }
.lede { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--on-forest-soft); max-width: 52ch; margin: 24px 0 0; }

h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.02; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 8vw, 6.5rem); max-width: 14ch; }
h2 { font-size: clamp(2rem, 4.8vw, 3.75rem); max-width: 18ch; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.page-head { padding: clamp(56px, 10vw, 128px) 16px clamp(40px, 6vw, 72px); }
.page-head h1 { max-width: 16ch; }

.num, .num-sm { font-weight: 700; letter-spacing: -0.04em; line-height: 0.92; font-variant-numeric: tabular-nums; color: var(--leaf); margin: 0; }
.num { font-size: clamp(2.6rem, 6vw, 5.5rem); }
.num-sm { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; display: block; margin-bottom: 8px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--sun); color: var(--forest);
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; border: 0;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--on-forest); box-shadow: inset 0 0 0 1.5px var(--on-forest-soft); }
.btn.small { min-height: 44px; padding: 0 16px; }
.link { color: var(--leaf); font-weight: 600; text-underline-offset: 5px; }

/* Header and navigation */
.site-head {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 16px;
}
.wordmark { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; }
.nav-desk { display: none; align-items: center; gap: 22px; }
.nav-desk a { text-decoration: none; font-weight: 500; }
.nav-desk a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-desk a.btn { font-weight: 600; }
.nav-mob summary {
  list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--on-forest-soft); font-weight: 600;
}
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob ul {
  position: absolute; right: 16px; top: 64px; z-index: 5; min-width: 220px;
  margin: 0; padding: 8px; list-style: none; background: var(--paper); color: var(--ink); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.nav-mob a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-mob a[aria-current="page"] { background: #E8F3EC; font-weight: 700; }
.nav-mob a:hover { background: #EEF6F0; }
@media (min-width: 860px) {
  .nav-desk { display: flex; }
  .nav-mob { display: none; }
}

/* Hero */
.hero { padding: clamp(48px, 9vw, 120px) 16px clamp(56px, 8vw, 96px); }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin: 56px 0 0; padding: 0; }
.figures div { border-top: 2px solid var(--leaf); padding-top: 14px; min-width: 0; }
.figures dt { color: var(--on-forest-soft); font-size: 0.95rem; margin-bottom: 8px; }
.figures dd { margin: 0; }
.figures .num { font-size: clamp(2.2rem, 5vw, 4.25rem); }
@media (min-width: 800px) { .figures { grid-template-columns: repeat(4, 1fr); } }

/* Paper cards */
.card {
  background: var(--paper); color: var(--ink); border-radius: 22px;
  padding: clamp(22px, 4vw, 40px);
}
.card p { margin: 0 0 12px; }
.card p.num { margin-bottom: 14px; }
.card .num { color: var(--moss); }
.card h3 { margin-bottom: 12px; }
.card p:not(.num) { color: var(--ink-soft); }
.card p:not(.num):last-child { margin-bottom: 0; }
.steps { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps .card .num { font-size: clamp(3rem, 6vw, 4.5rem); }
.steps .card h3 { font-size: 1.4rem; }

.photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; background: var(--forest-2); }
.photo.wide { margin-top: 40px; }
.photo.portrait { aspect-ratio: 4 / 5; border-radius: 16px; margin-bottom: 20px; }

/* Traction chart and cohort table */
.chart-card { padding: clamp(16px, 3vw, 32px); overflow-x: auto; }
.slide .wrap > h2 + .card { margin-top: 32px; }
.bars { width: 100%; min-width: 560px; height: auto; }
@media (max-width: 599px) { .bars { min-width: 0; } .bars text { font-size: 26px; } }
.bars rect { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bars rect:nth-of-type(2) { transition-delay: 0.05s; }
.bars rect:nth-of-type(3) { transition-delay: 0.1s; }
.bars rect:nth-of-type(4) { transition-delay: 0.15s; }
.bars rect:nth-of-type(5) { transition-delay: 0.2s; }
.bars rect:nth-of-type(6) { transition-delay: 0.25s; }
.bars rect:nth-of-type(7) { transition-delay: 0.3s; }
.bars rect:nth-of-type(8) { transition-delay: 0.35s; }
.js .bars:not(.is-in) rect { transform: scaleY(0); }
.table-wrap { overflow-x: auto; padding: 0; }
.cohorts { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
.cohorts caption { text-align: left; padding: 20px 20px 12px; color: var(--ink-soft); font-size: 0.95rem; }
.cohorts th, .cohorts td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--line); }
.cohorts thead th { border-top: 0; color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.cohorts tbody th { font-weight: 700; }
.cohorts td { color: var(--ink); font-weight: 600; }

.quote { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.quote p { color: var(--ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.quote footer { color: var(--ink-soft); font-size: 0.95rem; }

/* People */
.people { display: grid; gap: 20px; }
@media (min-width: 760px) { .people { grid-template-columns: repeat(2, 1fr); } }

/* Ask page */
.funds { margin: 40px 0 0; }
.funds svg { margin-bottom: 28px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.legend li { display: grid; grid-template-columns: 16px 1fr auto; gap: 14px; align-items: center; font-size: 1.05rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.legend li:last-child { border-bottom: 0; padding-bottom: 0; }
.legend strong { font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--moss); }
.sw { width: 16px; height: 16px; border-radius: 4px; }
.sw-product { background: #0E2A20; }
.sw-pilots { background: #1F6B4A; }
.sw-hiring { background: #F4C542; }
.sw-reserve { background: #9DB5A8; }
.milestones { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.photo.wide + .milestones { margin-top: 32px; }
.milestones li { border-top: 2px solid var(--leaf); padding-top: 16px; }
.milestones p { margin: 0; color: var(--on-forest-soft); }
@media (min-width: 900px) { .milestones li { padding-top: 0; border-top: 0; border-left: 2px solid var(--leaf); padding-left: 20px; } }

/* Data room */
.docs { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.docs li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px 22px; font-weight: 600;
}
.tag { font-size: 0.85rem; font-weight: 600; color: var(--moss); border: 1.5px solid var(--moss); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

/* Forms (rendered only once a form plugin fills the slot) */
.deck-form { display: grid; gap: 10px; }
.deck-form label { font-weight: 600; color: var(--ink); font-size: 0.95rem; margin-top: 6px; }
.deck-form input, .deck-form textarea {
  font: inherit; width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #FFFFFF; color: var(--ink);
}
.deck-form button { margin-top: 12px; justify-self: start; }
.slot p { color: var(--ink-soft); margin: 0; }
.slot a { color: var(--moss); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--forest-2); }
.cta-band p { color: var(--on-forest-soft); max-width: 56ch; margin: 20px 0 0; }

/* Footer */
.foot { border-top: 1px solid rgba(243, 248, 245, 0.14); padding: 40px 0; color: var(--on-forest-soft); font-size: 0.95rem; }
.foot a { color: var(--on-forest); }
.foot-grid { display: grid; gap: 24px; }
.foot-grid .btn { color: var(--forest); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1.5fr 1fr 0.6fr; align-items: start; } }

/* Motion: reveal on view (JS adds .is-in). Visible without JS. */
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.is-in), .js .bars:not(.is-in) rect { opacity: 1; transform: none; }
}
