/* =========================================================================
   Stewardvine — marketing + legal site
   Design system: "Liturgical trust" — deep evergreen (Ordinary Time),
   antique brass (candlelight/chalice), limestone paper, white cards.
   Self-contained: system font stacks only, no external network deps.
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* Brand */
  --pine:        #1e4034;
  --pine-deep:   #12261f;
  --pine-soft:   #285141;
  --brass:       #b08842;
  --brass-strong:#a2782f;
  --brass-ink:   #6e5324; /* text-safe brass on light */

  /* Light theme surfaces + text */
  --bg:          #f3f4ef;
  --bg-alt:      #eaece3;
  --surface:     #ffffff;
  --surface-2:   #f7f8f3;
  --text:        #17251e;
  --muted:       #4f5a51;
  --border:      #d8dacd;
  --border-soft: #e4e5da;

  /* Roles */
  --brand:        var(--pine);
  --brand-deep:   var(--pine-deep);
  --accent:       var(--brass);
  --accent-ink:   var(--brass-ink);
  --on-brand:     #f3f4ef;
  --on-brand-mut: #b9c6bc;

  /* Feedback */
  --good:        #2f6b4f;
  --warn-bg:     #fbf3df;
  --warn-border: #e4c778;
  --warn-text:   #6a4e12;

  /* Type */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.9rem);
  --step-0:  1.0625rem;
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.35rem, 1.2rem + 0.7vw, 1.7rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);

  /* Space + shape */
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow:    0 1px 2px rgba(18,38,31,.05), 0 10px 30px -14px rgba(18,38,31,.22);
  --shadow-lg: 0 24px 60px -28px rgba(18,38,31,.42);
  --wrap:      1120px;
  --wrap-narrow: 760px;
  --ease:      cubic-bezier(.2,.7,.2,1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #101c17;
    --bg-alt:      #152720;
    --surface:     #172b23;
    --surface-2:   #1b332a;
    --text:        #ecefe6;
    --muted:       #a7b4a8;
    --border:      #2c4a3d;
    --border-soft: #24382f;

    --brand:       #245040;
    --brand-deep:  #0c1611;
    --accent:      #cd9f52;
    --accent-ink:  #dcb56a;
    --on-brand:    #eef1ea;
    --on-brand-mut:#a9bcae;

    --good:        #6bbf95;
    --warn-bg:     #2e2717;
    --warn-border: #6e5a2a;
    --warn-text:   #e7cf90;

    --border-strong: #37564730;
    --shadow:    0 1px 2px rgba(0,0,0,.35), 0 14px 34px -18px rgba(0,0,0,.6);
    --shadow-lg: 0 30px 70px -30px rgba(0,0,0,.7);
  }
  .badge-square { filter: none; }
}

/* ---- Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--text); margin: 0 0 .5em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1rem; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
ul, ol { padding-left: 1.2em; }
li { margin: .35em 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* ---- Utilities -------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: var(--step--1);
  letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: var(--accent-ink); margin: 0 0 .9rem;
}
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.measure { max-width: 62ch; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--pine); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 650; font-size: var(--step-0);
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .82em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--brass); color: var(--pine-deep);
  box-shadow: 0 8px 22px -12px rgba(176,136,66,.9);
}
.btn-primary:hover { background: var(--brass-strong); color: var(--pine-deep); }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--border); }
@media (prefers-color-scheme: dark) { .btn-secondary { color: var(--on-brand); } }
.btn-secondary:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.btn-onbrand { background: var(--brass); color: var(--pine-deep); }
.btn-onbrand:hover { background: #c69a4f; }
.btn-ghost { background: transparent; color: var(--on-brand); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--brass); background: rgba(255,255,255,.06); }
.btn-lg { padding: .95em 1.6em; font-size: var(--step-1); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px; padding-block: .5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
  color: var(--text); text-decoration: none; letter-spacing: -.02em;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand .mark { color: var(--brass); }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; color: var(--text); text-decoration: none;
  font-size: .96rem; font-weight: 550; padding: .5rem .7rem; border-radius: 8px;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-links a:hover { background: var(--bg-alt); color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent-ink); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 650;
  color: var(--text); text-decoration: none; font-size: .95rem; white-space: nowrap;
}
.nav-phone:hover { color: var(--accent-ink); }
.nav-phone .ph-ico { color: var(--brass); }
.nav-toggle {
  display: none; background: transparent; border: 1.5px solid var(--border);
  border-radius: 9px; width: 44px; height: 44px; cursor: pointer; color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-links, .nav-actions.desktop-only { display: none; }
  .nav-drawer {
    display: none; border-top: 1px solid var(--border-soft);
    background: var(--bg);
  }
  .nav-drawer.open { display: block; }
  .nav-drawer .wrap { padding-block: 1rem 1.5rem; }
  .nav-drawer ul { list-style: none; margin: 0 0 1rem; padding: 0; }
  .nav-drawer a.drawer-link {
    display: block; padding: .8rem .4rem; font-size: 1.1rem; font-weight: 600;
    color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-soft);
  }
  .nav-drawer .drawer-cta { display: grid; gap: .6rem; margin-top: 1rem; }
  .nav-drawer .nav-phone { padding: .6rem .4rem; font-size: 1.05rem; }
}
@media (min-width: 1001px) { .nav-drawer { display: none !important; } }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .5rem; }
.hero .lead { margin-bottom: 1.8rem; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero-note { margin-top: 1.3rem; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---- Trust strip ------------------------------------------------------ */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center;
  padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2);
}
.trust-strip.on-pine { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; color: var(--text); }
.trust-strip.on-pine .trust-item { color: var(--on-brand); }
.trust-item .tick { color: var(--brass); flex: none; }
.trust-sep { width: 1px; height: 20px; background: var(--border); }

/* ---- Sections & surfaces --------------------------------------------- */
.panel-pine {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(176,136,66,.16), transparent 55%),
    linear-gradient(180deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: var(--on-brand);
}
.panel-pine h1, .panel-pine h2, .panel-pine h3, .panel-pine h4 { color: #fff; }
.panel-pine .lead { color: var(--on-brand-mut); }
.panel-pine .eyebrow { color: var(--brass); }
.panel-alt { background: var(--bg-alt); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: clamp(1.3rem, 2.6vw, 1.9rem);
  box-shadow: var(--shadow);
}
.card h3 { font-size: var(--step-1); }
.card .card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--brass) 16%, var(--surface));
  color: var(--brass-ink); border: 1px solid color-mix(in srgb, var(--brass) 34%, transparent);
}
@media (prefers-color-scheme: dark) { .card .card-ico { color: var(--accent); } }
.card p:last-child { margin-bottom: 0; }
.card-flat { box-shadow: none; }

.eyebrow-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---- Money-flow diagram (signature element) --------------------------- */
.moneyflow {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.panel-pine .moneyflow { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); box-shadow: none; }
.mf-track { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: .4rem; }
.mf-node {
  text-align: center; padding: 1rem .8rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface-2);
}
.panel-pine .mf-node { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--on-brand); }
.mf-node.is-parish { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); background: color-mix(in srgb, var(--brass) 10%, var(--surface)); }
.panel-pine .mf-node.is-parish { background: rgba(176,136,66,.18); }
.mf-ico { font-size: 1.4rem; line-height: 1; margin-bottom: .5rem; color: var(--brass); }
.mf-label { font-weight: 700; font-size: .98rem; display: block; }
.mf-sub { font-size: var(--step--1); color: var(--muted); margin-top: .2rem; display: block; }
.panel-pine .mf-sub { color: var(--on-brand-mut); }
.mf-arrow { display: flex; align-items: center; justify-content: center; color: var(--brass); font-weight: 700; }
.mf-arrow svg { width: 30px; height: 20px; }
.mf-aside {
  margin-top: 1rem; display: flex; gap: .8rem; align-items: flex-start;
  border: 1px dashed var(--brass); border-radius: var(--radius);
  padding: .9rem 1.1rem; background: color-mix(in srgb, var(--brass) 7%, transparent);
}
.mf-aside .mf-give { font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .mf-aside .mf-give { color: var(--accent); } }
.mf-aside p { margin: 0; font-size: .95rem; }
.mf-foot { margin: 1rem 0 0; font-weight: 650; font-size: .95rem; }
@media (max-width: 720px) {
  .mf-track { grid-template-columns: 1fr; }
  .mf-arrow { transform: rotate(90deg); padding: .2rem 0; }
}

/* ---- Steps (real sequences only) ------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: 1.2rem 1.3rem; border: 1px solid var(--border-soft); border-radius: var(--radius);
  background: var(--surface);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 1rem; font-weight: 600;
  color: var(--brass-ink); background: color-mix(in srgb, var(--brass) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brass) 30%, transparent);
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
}
@media (prefers-color-scheme: dark) { .step::before { color: var(--accent); } }
.step h3 { font-size: var(--step-1); margin-bottom: .2rem; }
.step p:last-child { margin-bottom: 0; }

/* ---- Pricing ---------------------------------------------------------- */
.fee-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 720px) { .fee-split { grid-template-columns: 1fr; } }
.fee-card { position: relative; }
.fee-card .fee-tag {
  display: inline-block; font-size: var(--step--1); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}
.fee-card.square .fee-tag { background: var(--bg-alt); color: var(--muted); }
.fee-card.give .fee-tag { background: color-mix(in srgb, var(--brass) 18%, var(--surface)); color: var(--brass-ink); }
@media (prefers-color-scheme: dark) { .fee-card.give .fee-tag { color: var(--accent); } }
.fee-amount { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; margin: .2rem 0; }
.fee-amount .unit { font-size: 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.fee-to { font-size: .95rem; color: var(--muted); }
.worked {
  font-family: var(--font-mono); font-size: .95rem; line-height: 1.9;
  background: var(--pine-deep); color: #eef1ea; border-radius: var(--radius);
  padding: 1.2rem 1.3rem; overflow-x: auto;
}
.worked .amt { color: var(--brass); }
.worked .em { color: #fff; font-weight: 700; }
.calc {
  display: grid; gap: 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: clamp(1.2rem,2.6vw,1.8rem);
}
.calc label { font-weight: 650; font-size: .95rem; display: block; margin-bottom: .3rem; }
.calc input[type="range"] { width: 100%; accent-color: var(--brass); }
.calc-out { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; }
@media (max-width: 560px){ .calc-out { grid-template-columns: 1fr; } }
.calc-out .co { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: .9rem 1rem; background: var(--surface-2); }
.calc-out .co .k { font-size: var(--step--1); color: var(--muted); }
.calc-out .co .v { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 600; }
.calc-out .co.give .v { color: var(--brass-ink); }
@media (prefers-color-scheme: dark) { .calc-out .co.give .v { color: var(--accent); } }

/* ---- Tables ----------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--surface); }
table.data caption { text-align: left; padding: .6rem .9rem; color: var(--muted); font-size: var(--step--1); }
table.data th, table.data td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
table.data thead th { background: var(--bg-alt); font-size: .9rem; letter-spacing: .02em; }
table.data tbody tr:last-child td { border-bottom: 0; }

/* ---- FAQ / accordion (works without JS) ------------------------------ */
.faq { display: grid; gap: .7rem; }
details.qa {
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  background: var(--surface); padding: 0 1.2rem; overflow: hidden;
}
details.qa summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 650;
  font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .chev { flex: none; color: var(--brass); transition: transform .2s var(--ease); }
details.qa[open] summary .chev { transform: rotate(45deg); }
details.qa .qa-body { padding: 0 0 1.2rem; color: var(--text); }
details.qa .qa-body p:last-child { margin-bottom: 0; }

/* ---- Forms ------------------------------------------------------------ */
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: .4rem; }
.field .req { color: var(--brass-ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2);
  border: 1.5px solid var(--border); border-radius: 10px; padding: .7rem .85rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.consent input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--pine); flex: none; }
fieldset.disclosure { border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.2rem 1.3rem 0.2rem; margin: 0 0 1.2rem; }
fieldset.disclosure legend { font-weight: 700; padding: 0 .5rem; color: var(--text); font-size: .98rem; }
.form-note { font-size: var(--step--1); color: var(--muted); }

/* ---- Callouts / banners ---------------------------------------------- */
.callout {
  display: flex; gap: .9rem; align-items: flex-start;
  border: 1px solid var(--border); border-left: 4px solid var(--brass);
  background: var(--surface-2); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.callout .co-ico { color: var(--brass); flex: none; margin-top: .1rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.info { border-left-color: var(--pine-soft); }

.legal-banner {
  background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text);
  border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: flex-start;
  font-size: .96rem;
}
.legal-banner strong { color: inherit; }
.legal-banner .lb-ico { flex: none; margin-top: .15rem; }

.pill {
  display: inline-flex; align-items: center; gap: .4rem; font-size: var(--step--1);
  font-weight: 650; padding: .3rem .7rem; border-radius: 999px;
  background: var(--bg-alt); color: var(--muted); border: 1px solid var(--border-soft);
}
.pill.roadmap { background: color-mix(in srgb, var(--brass) 12%, transparent); color: var(--brass-ink); border-color: color-mix(in srgb, var(--brass) 30%, transparent); }
@media (prefers-color-scheme: dark) { .pill.roadmap { color: var(--accent); } }
.pill.live { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); border-color: color-mix(in srgb, var(--good) 34%, transparent); }

.placeholder {
  font-family: var(--font-mono); font-size: .85em; background: color-mix(in srgb, var(--brass) 14%, transparent);
  color: var(--brass-ink); padding: .05em .4em; border-radius: 5px; border: 1px dashed color-mix(in srgb, var(--brass) 45%, transparent);
  word-break: break-word;
}
@media (prefers-color-scheme: dark) { .placeholder { color: var(--accent-ink); } }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .cta-inner { max-width: 640px; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; }

/* ---- Prose (legal + long content) ------------------------------------ */
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.4rem; padding-top: .4rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6rem; }
.prose h2:first-of-type { margin-top: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; }
.prose li { margin: .4em 0; }
.prose .defined { font-style: italic; }
.toc {
  border: 1px solid var(--border-soft); border-radius: var(--radius); background: var(--surface-2);
  padding: 1.1rem 1.3rem; margin-bottom: 2rem;
}
.toc p { font-weight: 700; margin: 0 0 .5rem; font-size: .95rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
@media (max-width: 620px){ .toc ol { columns: 1; } }
.toc a { font-size: .95rem; }
.doc-meta { color: var(--muted); font-size: var(--step--1); margin-top: .5rem; }

/* ---- Legal hub cards -------------------------------------------------- */
.doc-list { display: grid; gap: .8rem; }
.doc-link {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: center;
  text-decoration: none; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.1rem 1.3rem;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.doc-link:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--text); }
.doc-link .dl-title { font-weight: 700; font-size: 1.08rem; }
.doc-link .dl-desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.doc-link .dl-arrow { color: var(--brass); }

/* ---- Stat / figure row ------------------------------------------------ */
.figrow { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
@media (max-width: 700px){ .figrow { grid-template-columns: 1fr; } }
.fig .fig-k { font-family: var(--font-display); font-size: var(--step-3); color: var(--accent-ink); }
@media (prefers-color-scheme: dark){ .fig .fig-k { color: var(--accent); } }
.fig .fig-v { font-weight: 650; }
.fig .fig-d { color: var(--muted); font-size: .95rem; }

/* ---- Checklist -------------------------------------------------------- */
.checklist { list-style: none; padding: 0; display: grid; gap: .6rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.checklist .ck { color: var(--brass); flex: none; margin-top: .15rem; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--pine-deep); color: var(--on-brand-mut); margin-top: 2rem; }
.site-footer a { color: var(--on-brand); text-decoration: none; }
.site-footer a:hover { color: var(--brass); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.6rem,5vw,3.6rem) 2rem; }
@media (max-width: 860px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand .mark { color: var(--brass); }
.footer-brand p { color: var(--on-brand-mut); font-size: .95rem; max-width: 34ch; margin-top: .8rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a { font-size: .95rem; }
.footer-phone { display:inline-flex; align-items:center; gap:.4rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.6rem 2.4rem;
  font-size: .84rem; color: var(--on-brand-mut); line-height: 1.7;
}
.footer-legal .disclosure { max-width: 90ch; }
.footer-legal .badge-row { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; margin: 1rem 0; }
.badge-square {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--on-brand);
  border: 1px dashed rgba(255,255,255,.35); border-radius: 8px; padding: .45rem .8rem; font-size: .85rem;
}
.footer-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; }

/* ---- Misc ------------------------------------------------------------- */
.kicker-list { list-style: none; padding: 0; display: grid; gap: .9rem; }
.kicker-list li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.kicker-list .kl-ico { color: var(--brass); flex: none; margin-top: .15rem; }
.kicker-list strong { display: block; }
.divider-brass { height: 2px; width: 56px; background: var(--brass); border-radius: 2px; margin: 0 0 1.4rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.note-inline { font-size: var(--step--1); color: var(--muted); }
.anchor-offset { scroll-margin-top: 90px; }
