:root {
  --paper: #f5f3ee;
  --ink: #13241c;
  --muted: #5f6b64;
  --soft: #8a948e;
  --green: #2f7a4f;
  --green-light: #8fd3a6;
  --mint: #dde9de;
  --line: #e3e1da;
  --card: #ffffff;
  --dark: #14241c;
  --dark-card: #1e3128;
  --sand: #cdc8bc;
  --max: 1104px;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
b, strong { font-weight: 600; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 940px;
  text-wrap: pretty;
}
h2 {
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
  text-wrap: balance;
}
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 500; }
.lead { color: var(--muted); font-size: 19px; }
.small { font-size: 13px; line-height: 1.5; color: var(--soft); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-secondary { background: transparent; border-color: #cfccc4; color: var(--ink); }
.btn-secondary:hover { background: #fff; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 243, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
.brand b { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* hero */
.hero { padding: 48px 0 112px; }
.hero .lead { max-width: 720px; margin-top: 32px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* grids */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }

/* why (dark) */
.dark { background: var(--dark); color: #eef2ee; }
.dark .eyebrow { color: var(--green-light); }
.dark h2 { max-width: 840px; }
.pressures { margin-top: 56px; }
.pressure { background: var(--dark-card); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 28px; justify-content: space-between; }
.pressure p { color: #b9c4bd; font-size: 16px; margin-top: 16px; }
.pressure p b { color: #fff; }
.pressure .src { color: #7e8c84; font-size: 12px; line-height: 1.5; margin: 0; }
.opportunity { margin-top: 64px; }
.opportunity h3 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.opportunity .copy p { color: #b9c4bd; }
.opportunity .copy p + p { margin-top: 16px; }

/* problem */
.problem .copy p { color: var(--muted); }
.problem .copy p + p { margin-top: 16px; color: var(--ink); }
.problem { border-bottom: 1px solid var(--line); }

/* bar charts */
.chart h3 { font-size: 20px; }
.chart .cap { margin-top: 6px; }
.rows { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.row-line { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.row-line .num { font-size: 14px; }
.track { position: relative; height: 14px; background: #f0eee8; border-radius: 7px; overflow: hidden; }
.bar {
  position: absolute; top: 0; bottom: 0; border-radius: 7px;
  background: linear-gradient(90deg, var(--green-light), var(--c, var(--green)));
}
.axis { display: flex; justify-content: space-between; margin-top: 20px; font-size: 12px; color: var(--soft); }
.chart.grey { background: #f2f2f0; border-color: transparent; }
.chart.grey .track { background: #e2e4e1; }

.subhead { margin: 72px 0 20px; }
.benefit .big { font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; font-weight: 500; }
.benefit p:last-child { color: var(--muted); font-size: 16px; margin-top: 10px; }
.ruled { border-top: 2px solid var(--ink); padding-top: 20px; }
.ruled p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.note { margin-top: 24px; }

/* fractions */
.breadth .lead { max-width: 800px; margin-top: 24px; }
.fractions { margin-top: 48px; padding: 32px; }
.fr-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fr-head .cap { max-width: 520px; margin-top: 6px; }
.legend { display: flex; gap: 20px; font-size: 13px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.plot { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; height: 260px; margin-top: 40px; border-bottom: 1px solid #d6d3cb; padding: 0 4%; }
.group { display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.col { width: 42%; max-width: 52px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.col span { font-size: 12px; color: var(--soft); margin-bottom: 6px; }
.col.gain span { font-family: var(--mono); color: var(--ink); font-size: 14px; font-weight: 500; }
.col div { width: 100%; border-radius: 4px 4px 0 0; }
.col.sol div { background: var(--sand); }
.fr-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 12px 4% 0; text-align: center; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.fractions > p:last-child { margin-top: 28px; color: var(--muted); font-size: 16px; max-width: 840px; }

.classes { margin-top: 40px; }
.class { display: flex; flex-direction: column; gap: 20px; }
.stripe { width: 56px; height: 5px; border-radius: 3px; background: var(--green); margin-bottom: 18px; }
.class .kind { font-size: 14px; font-weight: 500; margin-top: 8px; }
.class .desc { color: var(--muted); font-size: 16px; margin-top: 10px; }
.scale { background: #f5f3ee; border-radius: 10px; padding: 18px 16px; }
.scale .fig { font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; font-weight: 500; }
.scale .what { font-size: 13px; font-weight: 500; margin-top: 4px; }
.scale .more { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.scale .src { font-size: 12px; color: var(--soft); margin-top: 8px; line-height: 1.5; }
.upgrade { border-top: 1px solid var(--line); padding-top: 20px; font-size: 16px; margin-top: auto; }
.also { margin-top: 40px; color: var(--muted); font-size: 16px; }

/* drop-in */
.dropin { padding-top: 0; }
.strip { background: var(--mint); border-radius: 14px; padding: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-size: 17px; }
.strip b { display: block; margin-bottom: 4px; }
.dropin .small { margin-top: 24px; max-width: 860px; }

/* about */
.about { background: var(--mint); }
.about .copy p { color: var(--muted); font-size: 17px; margin-top: 20px; }
.about h2 { margin-top: 0; }
.about .split { align-items: stretch; }
.about-cards { display: flex; flex-direction: column; gap: 16px; padding-top: 41px; }
.about-cards .card { border: 0; padding: 32px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) {
  .about-cards { padding-top: 0; }
  .about-cards .card { flex: none; }
}
.about-cards p { color: var(--muted); font-size: 16px; margin-top: 10px; }

/* contact */
.contact h2 { margin-bottom: 40px; }
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aud .card { padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.aud .card p { color: var(--muted); font-size: 16px; }
.aud .btn { margin-top: auto; }
.address { margin-top: 48px; font-size: 16px; color: var(--muted); }
.address .eyebrow { margin-bottom: 8px; }
.address a { color: var(--ink); }
footer { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--soft); }
footer .f-brand { display: flex; align-items: center; gap: 10px; }
footer img { width: 22px; height: 22px; }

/* tablet */
@media (max-width: 1080px) {
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .three { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; gap: 20px; }
  .aud { grid-template-columns: 1fr; }
}
/* phone */
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 32px 0 80px; }
  h1 { text-wrap: balance; }
  .fractions { padding: 20px; }
  .plot { height: 200px; gap: 8px; padding: 0; }
  .fr-labels { gap: 8px; padding: 10px 0 0; }
  .col span { font-size: 10px; }
  .col.gain span { font-size: 11px; }
  .group { gap: 3px; }
  .col { width: 46%; }
}
