@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --paper: #F1EEE2;
  --paper-2: #E8E4D4;
  --ink: #1C1B17;
  --ink-2: #55534A;
  --line: rgba(28, 27, 23, 0.16);
  --green: #1F4D3A;
  --green-d: #163829;
  --on-green: #F1EEE2;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 6px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #5E9A7E; outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

/* ---------- type ---------- */
h1, h2, h3, .amount, .num, .pull, .sign, .step-n, .growth, .keep { font-family: var(--serif); }
h1, h2, h3, .pull, .keep, .lede, .intro { text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.6vw, 6.2rem); line-height: 0.98; letter-spacing: -0.02em; max-width: 19ch; }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.04; letter-spacing: -0.015em; max-width: 18ch; }
h2.wide { max-width: 24ch; }
h3 { font-size: 1.7rem; line-height: 1.15; }
.eyebrow { color: var(--green); font-weight: 600; font-size: 0.95rem; margin-bottom: 1.4rem; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; max-width: 44rem; color: var(--ink); margin-top: 1.8rem; }
.intro { font-size: 1.2rem; color: var(--ink-2); max-width: 40rem; margin-top: 1.4rem; }
.fine { font-size: 0.95rem; color: var(--ink-2); margin-top: 1.1rem; }
.pull { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 26ch; margin: clamp(48px, 6vw, 80px) 0 0; font-style: italic; }
.pull.small { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 28px; }
.prose p, .letter p { max-width: 38rem; }
.plain { list-style: none; margin: 0 0 1em; }
.plain li { position: relative; padding-left: 22px; margin-bottom: 0.45em; max-width: 38rem; }
.plain li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--on-green); text-decoration: none;
  font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 16px 26px;
  border-radius: var(--radius); border: 0; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--green-d); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; }
.text-link { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2.5px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.site-header.scrolled { border-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.7rem; text-decoration: none; letter-spacing: -0.01em; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); position: relative; }
.brand-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; animation: ping 3.2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .55; } 70%, 100% { transform: scale(1.1); opacity: 0; } }
.nav { display: flex; gap: 30px; margin-left: auto; margin-right: 8px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.97rem; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

/* ---------- sections ---------- */
section { padding-block: clamp(56px, 7vw, 100px); }
.hero { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 2.2rem; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.problem .split, .pricing-detail { grid-template-columns: 1fr 1fr; }
.problem .split { grid-template-columns: 5fr 6fr; }

/* ---------- hero timeline ---------- */
.timeline { margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.tl-count { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.tl-count .num { font-size: clamp(4rem, 9vw, 7rem); line-height: 0.85; color: var(--green); min-width: 2.3ch; font-variant-numeric: tabular-nums; }
.tl-count .lbl { color: var(--ink-2); max-width: 16rem; line-height: 1.35; }
.tl { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 28px; --gap: 28px; }
.tl-item { position: relative; padding-top: 30px; }
.tl-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); z-index: 1; }
.tl-item.you .tl-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px rgba(31, 77, 58, 0.16); }
.tl-seg { position: absolute; left: 14px; top: 6px; height: 2px; width: calc(100% + var(--gap) - 14px); background: var(--ink); transform-origin: left center; transform: scaleX(var(--seg, 1)); }
.tl-item.you .tl-seg { background: var(--green); }
.tl-day { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.tl-item p { font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); max-width: 15rem; margin: 0; }
.tl-item.you p { color: var(--ink); }
.flood { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; max-width: 12rem; }
.flood i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-2); }
.timeline figcaption { margin-top: 28px; font-size: 0.88rem; color: var(--ink-2); }

.anim .tl-item { opacity: 0; }
.anim .tl-seg { --seg: 0; }

/* ---------- signals ---------- */
.signals { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.signal { padding: 34px clamp(20px, 2.6vw, 36px) 12px; border-left: 1px solid var(--line); }
.signal:first-child { border-left: 0; padding-left: 0; }
.signal h3 { margin: 28px 0 10px; }
.signal p { color: var(--ink-2); max-width: 22rem; }
.viz { height: 132px; display: flex; flex-direction: column; justify-content: space-between; }
.viz-note { font-size: 0.9rem; color: var(--ink-2); margin: 0; }

.people { display: flex; gap: 12px; align-items: center; height: 56px; }
.p { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ink); transition: background-color .7s ease, border-color .7s ease; }
.p.leaver { background: transparent; border: 2px dashed var(--ink-2); }
.anim .p.leaver:not(.is-gone) { background: var(--ink); border: 2px solid var(--ink); }

.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 9px; max-width: 250px; }
.d { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); opacity: 0.85; }
.d.hr { background: var(--green); opacity: 1; box-shadow: 0 0 0 4px rgba(31, 77, 58, 0.18); }

.chart { width: 100%; height: 92px; color: var(--green); overflow: visible; }
.growth { color: var(--green); font-size: 1.5rem; margin-right: 2px; }

/* ---------- versus ---------- */
.versus h2 { max-width: 20ch; }
.vs { width: 100%; border-collapse: collapse; margin-top: clamp(36px, 5vw, 56px); }
.vs th { text-align: left; font-weight: 600; font-size: 0.95rem; padding: 0 28px 16px 0; color: var(--ink-2); }
.vs th:last-child { color: var(--green); }
.vs td { padding: 22px 28px 22px 0; border-top: 1px solid var(--line); vertical-align: top; width: 50%; color: var(--ink-2); }
.vs td:last-child { color: var(--ink); font-weight: 500; position: relative; padding-left: 34px; }
.vs td:last-child::before { content: ""; position: absolute; left: 0; top: 30px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.how-head { position: sticky; top: calc(var(--header-h) + 40px); }
.steps { list-style: none; position: relative; padding-left: 72px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 30px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 30px; width: 2px; background: var(--green); transform-origin: top center; transform: scaleY(var(--p, 1)); }
.step { position: relative; padding-bottom: 44px; transition: opacity .4s ease; }
.step:last-child { padding-bottom: 0; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); max-width: 34rem; margin: 0; }
.step-n { position: absolute; left: -72px; top: -2px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; line-height: 1; background: var(--green); color: var(--on-green); border: 2px solid var(--green); transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
.anim .step:not(.is-active) { opacity: 0.45; }
.anim .step:not(.is-active) .step-n { background: var(--paper); color: var(--ink-2); border-color: var(--line); }

/* ---------- pricing ---------- */
.pricing h2 { max-width: 16ch; }
.prices { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(36px, 5vw, 56px); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.price { padding: clamp(26px, 3.4vw, 44px); }
.price + .price { border-left: 1px solid var(--line); }
.price:first-child { background: var(--paper-2); }
.amount { font-size: clamp(2.8rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.per { font-weight: 600; margin: 8px 0 18px; color: var(--green); }
.covers { color: var(--ink-2); margin: 0; max-width: 24rem; }
.pricing-detail { margin-top: clamp(44px, 6vw, 72px); }
.pricing-detail h3 { margin-bottom: 12px; }
.math { margin-top: clamp(44px, 6vw, 72px); background: var(--green); color: var(--on-green); border-radius: 10px; padding: clamp(26px, 4vw, 52px); }
.math h3 { margin-bottom: 12px; }
.math p { margin: 0; max-width: 44rem; font-size: 1.1rem; }

/* ---------- qualified ---------- */
.checks { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.check { display: flex; gap: 20px; padding: 30px 32px 30px 0; border-bottom: 1px solid var(--line); }
.check:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.check h3 { margin-bottom: 6px; }
.check p { color: var(--ink-2); margin: 0; max-width: 24rem; }
.tick { width: 30px; height: 30px; flex: none; margin-top: 4px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.never { margin-top: 28px; color: var(--ink-2); max-width: 42rem; }
.never strong { color: var(--ink); }

/* ---------- founder ---------- */
.founder h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.letter { max-width: 40rem; }
.letter p { font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.65rem); line-height: 1.38; margin-bottom: 0.9em; }
.letter .sign { font-size: 1.7rem; font-style: italic; margin: 1.4em 0 0.2em; }
.letter .sign-link { font-family: var(--sans); font-size: 1rem; margin: 0; }
.founder.has-photo .letter-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.founder-photo { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; }

/* ---------- faq ---------- */
.faq h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.faq-list { max-width: 50rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { all: unset; box-sizing: border-box; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.8rem); line-height: 1.2; }
.faq-q:focus-visible { outline: 3px solid #5E9A7E; outline-offset: 2px; }
.faq-ico { position: relative; flex: none; width: 18px; height: 18px; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--green); transition: transform .3s ease; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item.open .faq-ico::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-2); max-width: 40rem; margin: 0 0 24px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
html:not(.js) .faq-a { grid-template-rows: 1fr; }

/* ---------- book ---------- */
.book { background: var(--green); color: var(--on-green); padding-block: clamp(64px, 8vw, 104px); }
.book-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.book h2 { max-width: 14ch; }
.book-lede { font-size: 1.2rem; line-height: 1.55; margin-top: 1.6rem; max-width: 34rem; }
.book-sub { max-width: 34rem; opacity: 0.92; }
.book h3 { font-size: 1.6rem; margin: 2rem 0 0.8rem; }
.agenda { margin-left: 1.2rem; max-width: 34rem; }
.agenda li { margin-bottom: 0.7em; padding-left: 4px; }
.agenda li::marker { color: rgba(241, 238, 226, 0.6); }
.keep { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin-top: 1.4rem; }
.book-cal { position: sticky; top: calc(var(--header-h) + 24px); }
.cal-box { background: var(--paper); color: var(--ink); border-radius: 10px; min-height: 640px; overflow: auto; padding: 4px; }
.cal-loading, .cal-fallback { padding: 28px; color: var(--ink-2); margin: 0; }
.cal-note { margin: 14px 0 0; font-size: 0.92rem; color: rgba(241, 238, 226, 0.85); }
.cal-note a { color: var(--on-green); font-weight: 600; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 40px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-nav a { text-decoration: none; color: var(--ink-2); font-size: 0.95rem; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.copy { margin: 0; color: var(--ink-2); font-size: 0.9rem; width: 100%; }

/* ---------- legal pages ---------- */
.doc { padding-block: clamp(48px, 7vw, 96px); }
.doc h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); max-width: none; margin-bottom: 8px; }
.doc .updated { color: var(--ink-2); margin-bottom: 40px; }
.doc h2 { font-size: 1.9rem; margin: 40px 0 10px; max-width: none; }
.doc p, .doc li { max-width: 40rem; }
.doc ul { margin: 0 0 1em 1.2rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split, .problem .split, .pricing-detail, .how-grid, .book-grid { grid-template-columns: 1fr; }
  .how-head, .book-cal { position: static; }
  .signals { grid-template-columns: 1fr; }
  .signal, .signal:first-child { border-left: 0; padding: 30px 0 14px; border-top: 1px solid var(--line); }
  .signal:first-child { border-top: 0; }
  .signal p { max-width: 34rem; }
  .checks { grid-template-columns: 1fr; }
  .check, .check:nth-child(even) { padding: 26px 0; border-left: 0; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .bar .btn-sm { margin-left: auto; }
  .prices { grid-template-columns: 1fr; }
  .price + .price { border-left: 0; border-top: 1px solid var(--line); }
  .tl-count { align-items: flex-start; flex-direction: column; gap: 10px; }

  .tl { grid-template-columns: 1fr; }
  .tl-item { padding: 0 0 30px 38px; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-dot { top: 4px; }
  .tl-seg { left: 6px; top: 18px; width: 2px; height: calc(100% - 14px); transform-origin: center top; transform: scaleY(var(--seg, 1)); }
  .tl-item p { max-width: none; }

  .vs thead { display: none; }
  .vs, .vs tbody, .vs tr, .vs td { display: block; width: 100%; }
  .vs tr { border-top: 1px solid var(--line); padding: 18px 0; }
  .vs td { border: 0; padding: 4px 0; width: 100%; }
  .vs td::before { content: attr(data-label); display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }
  .vs td:last-child { padding: 10px 0 0 28px; }
  .vs td:last-child::before { position: static; display: block; width: auto; height: auto; border: 0; transform: none; color: var(--green); }
  .vs td:last-child::after { content: ""; position: absolute; left: 0; top: 34px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
  .steps { padding-left: 62px; }
  .step-n { left: -62px; }
}

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