@font-face { font-family: Manrope; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Prompt 4 Good — built to design.md */
:root {
  --bg: #f6f4ef; --bg-2: #eeeae1; --ink: #1b1b1b; --muted: #5a5a5a; --rule: #d6d1c4;
  --accent: #1f6f4a; --accent-hover: #195b3d; --accent-ink: #f6f4ef;
  --gutter: 24px; --max: 1200px; --measure: 62ch;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141414; --bg-2: #1c1c1c; --ink: #f1efe9; --muted: #b5b1a8; --rule: #2e2e2e;
          --accent: #7fc9a2; --accent-hover: #93d6b3; --accent-ink: #141414; }
}
@media (min-width: 768px) { :root { --gutter: 48px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.prose a, .link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color 150ms var(--ease); }
.prose a:hover, .link:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.prose li { margin: 0 0 0.5em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
strong { font-weight: 700; }
.muted { color: var(--muted); }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 700; }
.display { font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1.0; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h3, .h3 { font-size: 1.25rem; line-height: 1.3; }
.eyebrow { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.lede { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; }
.four { color: var(--accent); }
.numeral { font-size: clamp(5rem, 14vw, 11rem); line-height: 0.85; letter-spacing: -0.05em; font-weight: 700; font-variant-numeric: lining-nums; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.wordmark { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.wordmark .four { margin: 0 0.08em; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: color 150ms var(--ease), border-color 150ms var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 4px; height: 40px; padding: 0 14px; font: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer; }
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.125rem; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 4px; font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border: 1.5px solid var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin-top: 40px; }

/* Sections */
.section { padding: 64px 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section .eyebrow { margin-bottom: 24px; }
.hero { padding-top: 72px; padding-bottom: 64px; border-top: 0; }
@media (min-width: 900px) { .hero { padding-top: 144px; padding-bottom: 112px; } }
.hero .display { max-width: 14ch; }
.hero-grid { display: grid; gap: 32px; align-items: end; }
.hero-four { font-weight: 700; color: var(--accent); line-height: 0.78; letter-spacing: -0.08em; font-size: clamp(9rem, 26vw, 26rem); justify-self: end; margin-right: -0.04em; user-select: none; }
@media (max-width: 899px) { .hero-four { display: none; } }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 0 32px; } }
.hero .lede { max-width: 48ch; margin: 32px 0 0; color: var(--muted); }

.grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(12, 1fr); gap: 0 32px; }
  .col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
  .start-5 { grid-column-start: 5; } .start-4 { grid-column-start: 4; }
}

/* Numbered ledger (principles, weeks, modules) */
.ledger { list-style: none; margin: 0; padding: 0; counter-reset: ledger; }
.ledger > li { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 40px 0; border-top: 1px solid var(--rule); }
.ledger > li:first-child { border-top: 0; padding-top: 0; }
.ledger .numeral { font-size: clamp(3.5rem, 9vw, 7rem); }
.ledger .word { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
.ledger .body { max-width: var(--measure); color: var(--ink); margin: 0; }
.ledger .meta { margin: 12px 0 0; }
@media (min-width: 900px) {
  .ledger > li { grid-template-columns: 3fr 1fr 8fr; gap: 0 32px; padding: 48px 0; align-items: start; }
  .ledger > li > :last-child { grid-column: 3; }
}
.ledger > li:nth-child(4) .numeral { color: var(--accent); }

/* Definition rows */
.rows { margin: 0; padding: 0; }
.rows > div { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 24px 0; border-top: 1px solid var(--rule); }
.rows > div:first-child { border-top: 0; padding-top: 0; }
.rows dt { font-weight: 700; margin: 0; }
.rows dd { margin: 0; color: var(--muted); max-width: var(--measure); }
@media (min-width: 900px) { .rows > div { grid-template-columns: 4fr 8fr; gap: 0 32px; } }

/* Tiers */
.tiers { list-style: none; margin: 0; padding: 0; }
.tiers > li { padding: 32px 0; border-top: 1px solid var(--rule); }
.tiers > li:first-child { border-top: 0; padding-top: 0; }
.tiers .tier-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.tiers h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.tiers .tag { display: inline-block; vertical-align: middle; margin-left: 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 4px; padding: 3px 8px; }
.tiers .tier-price { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tiers .tier-price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tiers ul { margin: 0; padding-left: 1.25em; max-width: var(--measure); list-style: disc; }
.tiers li li { margin: 0 0 0.4em; color: var(--ink); }
.tiers li li::marker { color: var(--accent); }
.tiers .tier-rec { border-left: 3px solid var(--accent); padding-left: 24px; margin-left: -27px; }
@media (max-width: 899px) { .tiers .tier-rec { margin-left: 0; padding-left: 20px; } }

/* Band */
.band { background: var(--bg-2); }

/* Forms */
.form { display: grid; gap: 24px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 1rem; }
.field .hint { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--bg-2);
  border: 1.5px solid var(--rule); border-radius: 4px; padding: 12px 14px; width: 100%;
  transition: border-color 150ms var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.field textarea { min-height: 160px; resize: vertical; }
::placeholder { color: var(--muted); opacity: 1; }
.pilot-grid .aside { order: 2; margin-top: 16px; }
@media (min-width: 900px) { .pilot-grid .aside { order: 0; margin-top: 0; } }
.two { display: grid; gap: 24px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 500; min-height: 1.6em; }
.form-status.error { color: var(--ink); font-weight: 700; border-left: 3px solid var(--accent); padding-left: 12px; }
.form-done { border-top: 2px solid var(--accent); padding-top: 24px; max-width: var(--measure); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 48px 0 64px; margin-top: 64px; }
.site-foot .wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .site-foot .wrap { grid-template-columns: repeat(12, 1fr); gap: 0 32px; } .site-foot .f1 { grid-column: span 4; } .site-foot .f2 { grid-column: span 3; } .site-foot .f3 { grid-column: span 5; } }
.site-foot p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.site-foot a { color: var(--ink); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cities { font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media print { .js .reveal { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Utilities */
.mt-8 { margin-top: 8px; } .mt-24 { margin-top: 24px; }
.band-lede { margin: 24px 0 0; max-width: 46ch; }
.center { justify-content: center; }
.lost-p { max-width: 40ch; margin: 16px auto 0; }
body.nav-open { overflow: hidden; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-top: 96px; padding-bottom: 96px; }
.lost .numeral { color: var(--accent); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 4px; z-index: 50; }
.skip:focus { left: 8px; }
