:root {
  --ink: #15171A;
  --yellow: #F2B705;
  --yellow-soft: #FDF3D0;
  --paper: #FAF8F3;
  --white: #FFFFFF;
  --slate: #5B6470;
  --line: #E6E2D8;
  --red: #C8372D;
  --green: #2E8B57;
  --radius: 14px;
  --max: 1080px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav a { text-decoration: none; color: var(--slate); }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white);
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 2px solid var(--ink); transition: transform .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 22px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--slate); max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.muted { color: var(--slate); }
.small { font-size: 14px; }

/* Sections */
section { padding: 72px 0; }
.hero { padding: 88px 0 64px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Stat cards */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat .num { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; }
.stat .num em { font-style: normal; color: var(--yellow); -webkit-text-stroke: 0; }
.stat p { margin: 10px 0 0; color: var(--slate); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.step { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.step .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); font-weight: 700; margin-bottom: 10px; }

/* Promise list */
.promises { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.promises li { padding-left: 30px; position: relative; }
.promises li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }

/* Bar charts */
.chart { margin-top: 24px; display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 34%) 1fr 52px; gap: 12px; align-items: center; font-size: 15px; }
.bar-track { background: #EFEBE1; border-radius: 6px; height: 14px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--ink); border-radius: 6px; }
.bar-fill.hi { background: var(--yellow); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--slate); }
.chart-note { font-size: 13px; color: var(--slate); margin-top: 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
blockquote { margin: 0; padding: 18px 22px; border-left: 4px solid var(--yellow); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-size: 19px; }
blockquote cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--slate); }

/* Survey embed */
.survey-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-height: 420px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--slate); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Prose pages */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }

@media (max-width: 820px) {
  .stats, .steps, .split { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .bar-row { grid-template-columns: 1fr 44px; }
  .bar-row .bar-label { grid-column: 1 / -1; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 44px; }
}
.back-link { font-weight: 600; text-decoration: none; display: inline-block; padding: 6px 0; }
