/* ==========================================================================
   Clearharbour Compliance — Direction C: WARM PROFESSIONAL
   Approachable authority for a care audience. Warm cream ground, sand panels,
   deep pine-teal structure, one clay accent, humanist serif headings,
   generous line height, rounded-but-restrained components.
   Self-contained: no external font, no CDN, no import, no tracker.
   Contrast ratios are recorded in 04-growth/brand/brand-kit.md (Variant C).
   ========================================================================== */

/* -------------------------------------------------------------- 1. Tokens */

:root {
  color-scheme: light;

  --page:    #fdfaf6;   /* warm off-white */
  --card:    #ffffff;
  --sand:    #f3eadf;
  --sand-2:  #eadfd1;

  --teal-900: #0a3a35;
  --teal-800: #0f4e48;   /* primary structure: buttons, links, footer */
  --teal-700: #17635b;
  --teal-100: #d8e6e3;

  --clay-700: #9c4326;   /* accent TEXT on warm ground */
  --clay-500: #b8552f;   /* rules, dots, focus ring */
  --clay-300: #e9a98c;   /* accent on teal ground */
  --clay-50:  #fbeee6;

  --ink:        #35312b;
  --ink-strong: #221f1b;
  --ink-muted:  #5d564d;
  --ink-alert:  #93321f;

  --on-dark:       #f6efe6;
  --on-dark-muted: #b7cbc7;

  --rule:      #e6dcce;
  --rule-2:    #d6c8b5;
  --control:   #8a7f71;    /* form + outlined-button borders, 3.77:1 on page */
  --rule-dark: rgba(246, 239, 230, .2);

  /* Humanist serif for headings; sans for everything you have to read a lot of */
  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Optima, "Iowan Old Style", Georgia, "Noto Serif", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-h1:   clamp(2.05rem, 1.5rem + 2.4vw, 3.15rem);
  --fs-h2:   clamp(1.55rem, 1.28rem + 1.3vw, 2.2rem);
  --fs-h3:   clamp(1.16rem, 1.1rem + .3vw, 1.34rem);
  --fs-lead: clamp(1.12rem, 1.05rem + .36vw, 1.32rem);
  --fs-body: 1.09rem;     /* 17.5px */
  --fs-sm:   .97rem;
  --fs-xs:   .84rem;
  --fs-cap:  .73rem;

  --lh-head: 1.2;
  --lh-snug: 1.55;
  --lh-body: 1.72;

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;

  --section-y: clamp(3.5rem, 6vw, 5.75rem);
  --gutter: clamp(1.2rem, 4vw, 2.5rem);
  --w-max: 1120px;
  --w-prose: 66ch;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;

  --shadow-soft: 0 1px 2px rgba(53, 49, 43, .04), 0 10px 24px rgba(53, 49, 43, .05);
  --shadow-lift: 0 2px 6px rgba(53, 49, 43, .06), 0 18px 40px rgba(53, 49, 43, .08);

  --speed: 160ms;
  --ease: cubic-bezier(.25, .7, .3, 1);
}

/* ------------------------------------------------------ 2. Reset and base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: -.006em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.14; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-800); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color var(--speed) var(--ease); }
a:hover { color: var(--clay-700); }

strong, b { font-weight: 650; color: var(--ink-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
button, .button, summary { cursor: pointer; }
hr { height: 0; margin: var(--sp-6) 0; border: 0; border-top: 1px solid var(--rule); }

code {
  padding: .12em .4em;
  background: var(--sand);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--teal-800);
  font-family: var(--font-mono);
  font-size: .84em;
  word-break: break-word;
}

::selection { background: var(--clay-50); color: var(--ink-strong); }
:focus-visible { outline: 3px solid var(--clay-500); outline-offset: 2px; border-radius: 6px; }
[id] { scroll-margin-top: 6.5rem; }

/* ------------------------------------------------------ 3. Layout skeleton */

.container, .header-inner { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; min-height: 50vh; }

.section { padding-block: var(--section-y); }
.section.compact { padding-block: clamp(2.5rem, 4.5vw, 4rem); }
.section.tint { background: var(--sand); }
.section.warm { background: var(--teal-100); }

.section-heading { max-width: 46rem; margin-bottom: var(--sp-6); }
.section-heading > p { max-width: 58ch; margin: var(--sp-4) 0 0; color: var(--ink-muted); font-size: var(--fs-lead); line-height: var(--lh-snug); }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.75rem, 4.5vw, 4rem); align-items: start; }
.split.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

/* Kicker: a clay dot and a friendly small cap. No numbering, no ruling. */
.eyebrow, .kicker, .panel-label, .placeholder-label {
  display: flex; align-items: center; gap: .55em;
  margin: 0 0 var(--sp-3);
  color: var(--clay-700);
  font-family: var(--font-sans);
  font-size: var(--fs-cap); font-weight: 700; letter-spacing: .1em; line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before, .kicker::before, .panel-label::before, .placeholder-label::before {
  content: ""; flex: none;
  width: .5rem; height: .5rem;
  background: var(--clay-500);
  border-radius: 50%;
}

/* ------------------------------------------------------------ 4. Skip link */

.skip-link {
  position: fixed; left: var(--sp-4); top: -6rem; z-index: 90;
  padding: .75rem 1.1rem;
  background: var(--card); color: var(--teal-800);
  border: 2px solid var(--clay-500); border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
  font-size: var(--fs-sm); font-weight: 650; text-decoration: none;
  transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* -------------------------------------------------------------- 5. Topbar */

.topbar {
  padding: .6rem var(--gutter);
  background: var(--teal-800);
  color: var(--on-dark);
  font-size: var(--fs-xs); line-height: 1.55; text-align: center; text-wrap: balance;
}
.topbar strong { color: var(--clay-300); font-weight: 700; }
.topbar a { color: #fff; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: .22em; }
.topbar a:hover { color: var(--clay-300); }
.topbar :focus-visible { outline-color: var(--clay-300); }

/* ------------------------------------------------- 6. Header, brand, nav */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 250, 246, .95); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.3) blur(8px); }
.header-inner { position: relative; display: flex; align-items: center; gap: var(--sp-4); min-height: 78px; max-width: 1600px; }

.brand-lockup { display: inline-flex; align-items: center; gap: .75rem; margin-right: auto; color: var(--teal-800); text-decoration: none; }
.brand-lockup:hover { color: var(--teal-700); }
.brand-mark { flex: none; width: 48px; height: 48px; color: currentColor; }
.brand-mark .accent { stroke: var(--clay-500); }
.brand-text { display: block; min-width: 0; }
.brand-name { display: block; font-family: var(--font-serif); font-size: 1.58rem; font-weight: 700; line-height: 1.08; letter-spacing: -.008em; white-space: nowrap; }
.brand-name .brand-suffix { color: var(--ink-muted); font-weight: 400; }

/* The "we answer" affordance: a visible contact route in the header. */
.header-contact {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 var(--sp-4) 0 0; padding: .45rem .85rem;
  background: var(--clay-50);
  border: 1px solid #efd9c9; border-radius: 999px;
  color: var(--clay-700);
  font-size: var(--fs-xs); font-weight: 650; white-space: nowrap;
}
.header-contact a { color: var(--clay-700); text-decoration: none; }
.header-contact a:hover { text-decoration: underline; }

.menu-toggle {
  display: none; align-items: center; gap: .45rem;
  min-height: 44px; padding: .5rem .9rem;
  background: var(--card); color: var(--teal-800);
  border: 1px solid var(--control); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 650;
}
.menu-toggle:hover { border-color: var(--teal-700); }
.menu-toggle .menu-icon { width: 16px; height: 12px; flex: none; overflow: visible; }
.menu-toggle .menu-icon line { stroke: currentColor; stroke-width: 2; stroke-linecap: round; transform-box: view-box; transform-origin: 8px 6px; transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-icon .bar-mid { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon .bar-top { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon .bar-bot { transform: translateY(-4.5px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a {
  padding: .5rem .8rem;
  border-radius: 999px;
  color: var(--ink); font-size: var(--fs-sm); font-weight: 550;
  text-decoration: none; white-space: nowrap;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.site-nav a:not(.button):hover { background: var(--sand); color: var(--teal-800); }
.site-nav a:not(.button)[aria-current="page"] { background: var(--teal-100); color: var(--teal-900); font-weight: 650; }
.site-nav .button { margin-left: .35rem; color: #fff; }

/* ------------------------------------------------------------- 7. Buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .72rem 1.5rem;
  background: var(--teal-800); color: #fff;
  border: 1px solid var(--teal-800); border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 650; line-height: 1.25;
  text-align: center; text-decoration: none;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.button:hover { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.button:active { transform: translateY(1px); }
.button.secondary { background: var(--card); color: var(--teal-800); border-color: var(--control); }
.button.secondary:hover { background: var(--sand); color: var(--teal-900); border-color: var(--teal-700); }
.button.small { min-height: 40px; padding: .45rem 1rem; font-size: .89rem; }

/* ---------------------------------------------------------------- 8. Hero */

.hero { padding-block: clamp(2.75rem, 5.5vw, 4.75rem) clamp(2.75rem, 5vw, 4.5rem); background: var(--sand); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(288px, .85fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.hero-copy h1 { max-width: 21ch; }
.hero-copy > p { max-width: 56ch; margin: var(--sp-4) 0 0; color: var(--ink); font-size: var(--fs-lead); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
p.hero-actions { margin-bottom: 0; }

.hero-panel {
  align-self: center;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.hero-panel h2 { margin-bottom: var(--sp-3); font-size: 1.3rem; line-height: 1.3; }
.hero-panel p { margin-bottom: var(--sp-3); color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.hero-panel p strong { color: var(--teal-800); }

/* ---------------------------------------------------- 9. Proof strip: tiles */

.proof-strip { padding-block: var(--sp-6); background: var(--page); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.proof-item {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  font-size: var(--fs-sm); line-height: var(--lh-snug);
}
.proof-item strong { display: block; margin-bottom: .3rem; color: var(--teal-800); font-family: var(--font-serif); font-size: 1.02rem; font-weight: 700; }
.proof-item span { color: var(--ink-muted); }

/* --------------------------------------------------------------- 10. Cards */

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 2.2vw, 1.7rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.card:hover { border-color: var(--rule-2); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { margin-bottom: var(--sp-3); color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.card .price {
  margin: auto 0 var(--sp-3); padding-top: var(--sp-3);
  color: var(--teal-800); font-size: 1.05rem; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.card .card-link {
  margin-top: auto; padding-top: var(--sp-3);
  border-top: 1px solid var(--rule);
  color: var(--clay-700); font-size: var(--fs-sm); font-weight: 650; text-decoration: none;
}
.card .price + .card-link { margin-top: 0; }
.card .card-link:hover { text-decoration: underline; }
.section.tint .card, .section.warm .card { background: var(--card); }

/* -------------------------------------------------------- 11. Process steps */

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); counter-reset: process; }
.process-step {
  position: relative;
  padding: var(--sp-5) var(--sp-4) var(--sp-5);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  counter-increment: process;
}
.process-step::before {
  content: counter(process);
  display: flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; margin-bottom: var(--sp-4);
  background: var(--teal-100); border-radius: 50%;
  color: var(--teal-900);
  font-family: var(--font-serif); font-size: 1.02rem; font-weight: 700; line-height: 1;
}
.process-step h3 { font-size: 1.06rem; }
.process-step p { margin: var(--sp-2) 0 0; color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.section.warm .process-step { background: var(--card); }

/* ---------------------------------------------------------------- 12. Lists */

.plain-list, .check-list { margin: 0; padding: 0; list-style: none; }
.plain-list li, .check-list li { position: relative; padding: .8rem 0 .8rem 1.85rem; border-bottom: 1px solid var(--rule); line-height: var(--lh-snug); }
.plain-list li:last-child, .check-list li:last-child { border-bottom: 0; }
.plain-list li::before {
  content: ""; position: absolute; left: .2rem; top: 1.5em;
  width: .48rem; height: .48rem; background: var(--clay-500); border-radius: 50%;
}
/* A soft open bracket, not a tick. */
.check-list li::before {
  content: ""; position: absolute; left: .1rem; top: 1.35em;
  width: .72rem; height: .72rem;
  border-left: 2px solid var(--teal-800); border-bottom: 2px solid var(--teal-800);
  border-bottom-left-radius: 5px;
}
.section.warm .plain-list li, .section.warm .check-list li { border-bottom-color: #c6dbd7; }
.small-copy { max-width: 76ch; margin-top: var(--sp-5); color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }

/* ------------------------------------------------------------- 13. Callouts */

.callout {
  padding: clamp(1.35rem, 2.5vw, 2.1rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.callout h3 { margin-bottom: var(--sp-3); }
.callout .hero-actions, .callout p + .button { margin-top: var(--sp-5); }
.callout .source-note { margin-top: var(--sp-4); }
.callout.warning { background: var(--clay-50); border-color: #efd9c9; box-shadow: none; }
.section.tint .callout { background: var(--card); }
.section.warm .callout { background: var(--card); border-color: #c6dbd7; }
.section.warm .callout.warning { background: var(--clay-50); border-color: #efd9c9; }

/* ---------------------------------------------------------- 14. Source notes */

.source-note { margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--rule); color: var(--ink-muted); font-size: var(--fs-xs); line-height: 1.6; }
.source-note strong { color: var(--teal-800); }
.section.warm .source-note { border-top-color: #c6dbd7; }

/* --------------------------------------------------------------- 15. Tables */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  overflow: hidden;
  font-size: var(--fs-sm);
}
.price-table caption { caption-side: top; text-align: left; }
.price-table th, .price-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; line-height: var(--lh-snug); }
.price-table thead th {
  background: var(--teal-100); color: var(--teal-900); border-bottom: 1px solid #c6dbd7;
  font-family: var(--font-sans); font-size: var(--fs-cap); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:last-child, .price-table thead th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table td:last-child { color: var(--teal-800); font-weight: 700; }
.price-table td strong { color: var(--ink-strong); }

/* --------------------------------------------------------- 16. Long-form */

.article { max-width: var(--w-prose); margin-inline: auto; }
.article h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-4); }
.article h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.article ul, .article ol { padding-left: 1.35rem; }
.article-meta { margin: 0 0 var(--sp-6); color: var(--ink-muted); font-size: var(--fs-sm); }

.radar-issue {
  max-width: 51rem; margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.radar-issue > .kicker { margin-bottom: var(--sp-4); }
.radar-issue h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--rule); font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.radar-issue h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.radar-issue h3 { margin-top: var(--sp-5); }
.radar-issue p, .radar-issue ul, .radar-issue ol { margin-bottom: var(--sp-4); }
.radar-issue ol { padding-left: 1.4rem; }
.radar-issue ol li { margin: .6rem 0; }
.radar-issue table { width: 100%; margin: var(--sp-4) 0; border-collapse: separate; border-spacing: 0; border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; font-size: var(--fs-sm); }
.radar-issue th, .radar-issue td { padding: .85rem .9rem; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; line-height: var(--lh-snug); }
.radar-issue thead th { background: var(--teal-100); color: var(--teal-900); font-size: var(--fs-cap); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.radar-issue tbody tr:last-child td { border-bottom: 0; }
.radar-issue .callout { margin-top: var(--sp-6); }

/* ---------------------------------------------------------------- 17. Forms */

.form-shell {
  padding: clamp(1.3rem, 3.5vw, 2.6rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
fieldset { min-width: 0; margin: 0 0 var(--sp-7); padding: 0; border: 0; }
fieldset:last-of-type { margin-bottom: var(--sp-5); }
legend {
  width: 100%; margin-bottom: var(--sp-4); padding: 0 0 var(--sp-3);
  border-bottom: 1px solid var(--rule);
  color: var(--teal-900);
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700;
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field input + input, .field select + input { margin-top: .45rem; }

label, .field-label { color: var(--ink-strong); font-size: var(--fs-sm); font-weight: 650; line-height: 1.4; }
.required { color: var(--ink-alert); }

input, select, textarea {
  width: 100%; min-width: 0; max-width: 100%; min-height: 48px;
  padding: .65rem .8rem;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--control); border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
input::placeholder, textarea::placeholder { color: #6f665a; }
input:hover, select:hover, textarea:hover { border-color: var(--teal-700); }
input:focus, select:focus, textarea:focus { border-color: var(--teal-800); box-shadow: 0 0 0 3px rgba(15, 78, 72, .14); }
input[type="file"] { padding: .55rem .65rem; }
select[multiple] { min-height: 9.5rem; padding: .4rem; }
textarea { min-height: 8rem; resize: vertical; line-height: var(--lh-snug); }
input[type="checkbox"] { width: 1.2rem; min-height: 0; height: 1.2rem; margin: .2rem 0 0; flex: none; accent-color: var(--teal-800); }

.checkbox-row { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem .95rem; background: var(--sand); border: 1px solid var(--rule); border-radius: var(--r-sm); font-weight: 400; }
.checkbox-row:hover { border-color: var(--rule-2); }
.checkbox-row span { font-size: var(--fs-sm); line-height: var(--lh-snug); }

.field-hint, .form-note { margin: 0; color: var(--ink-muted); font-size: var(--fs-xs); line-height: 1.6; }
.form-note { margin-bottom: var(--sp-6); padding: .9rem 1.1rem; background: var(--clay-50); border: 1px solid #efd9c9; border-radius: var(--r-sm); color: var(--ink); font-size: var(--fs-sm); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--rule); }
.form-status { min-height: 1.5rem; color: var(--teal-800); font-size: var(--fs-sm); font-weight: 650; }
.form-error { color: var(--ink-alert); font-weight: 650; }
.form-shell .callout { margin-top: var(--sp-6); }

.embed-placeholder { padding: clamp(1.3rem, 2.6vw, 1.9rem); background: var(--sand); border: 2px dashed var(--control); border-radius: var(--r-lg); }
.embed-placeholder p { margin-bottom: var(--sp-3); font-size: var(--fs-sm); }
.embed-placeholder .button { margin-top: var(--sp-2); }

/* --------------------------------------------------------------- 18. Footer */

.footer { padding-block: clamp(2.75rem, 5vw, 4rem) var(--sp-5); background: var(--teal-800); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.footer a { color: var(--on-dark); text-decoration-color: rgba(246,239,230,.4); }
.footer a:hover { color: var(--clay-300); }
.footer :focus-visible { outline-color: var(--clay-300); }
.footer-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) minmax(0, .7fr); gap: clamp(1.75rem, 4vw, 3rem); }
.footer h2 { margin-bottom: var(--sp-4); color: var(--on-dark); font-family: var(--font-serif); font-size: 1.18rem; }
.footer p { margin-bottom: var(--sp-4); line-height: 1.68; }
.footer-boundary {
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-md);
}
.footer-boundary p { font-size: var(--fs-xs); line-height: 1.72; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: var(--sp-4); color: #fff; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; }
.footer-brand .brand-mark { width: 34px; height: 34px; color: var(--on-dark); }
.footer-brand .brand-mark .accent { stroke: var(--clay-300); }
.footer-contact { margin-top: var(--sp-4); }
.footer-index { margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.footer-index li { padding: .34rem 0; }
.footer-index a { text-decoration: none; }
.footer-index a:hover { text-decoration: underline; }
.footer-small { margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid var(--rule-dark); color: var(--on-dark-muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ 19. Utilities */

.hide { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ----------------------------------------------------------- 20. Responsive */

@media (max-width: 1480px) {
  .header-contact { display: none; }
}

@media (max-width: 1060px) {
  .cards, .process, .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-copy h1 { max-width: none; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1240px) {
  .header-inner { min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + .5rem);
    z-index: 60; display: none; flex-direction: column; align-items: stretch; gap: .2rem;
    padding: var(--sp-3);
    background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md);
    box-shadow: var(--shadow-lift);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.button) { padding: .8rem .9rem; border-radius: var(--r-sm); font-size: 1rem; }
  .site-nav .button { margin: var(--sp-2) 0 0; }

  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table thead { display: none; }
  .price-table { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .price-table tr { margin-bottom: var(--sp-4); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; }
  .price-table td { padding: .85rem 1.05rem; border-bottom: 1px solid var(--rule); }
  .price-table tr td:last-child { border-bottom: 0; text-align: left; }
  .price-table td::before {
    content: attr(data-label); display: block; margin-bottom: .2rem;
    color: var(--ink-muted); font-size: var(--fs-cap); font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
  }
  .price-table td:not([data-label])::before { display: none; }
  .radar-issue table { display: block; overflow-x: auto; }
}

@media (max-width: 560px) {
  .cards, .cards.three, .cards.two, .process, .proof-grid { grid-template-columns: 1fr; }
  .hero-actions, .form-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .form-actions .button { width: 100%; }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.3rem; line-height: 1.16; white-space: normal; }
  .brand-name .brand-suffix { display: block; font-size: .9em; }
  .form-status { text-align: center; }
}

/* ----------------------------------------------------------- 21. Motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
}

/* ------------------------------------------------------------- 22. Print */

@media print {
  :root {
    --section-y: 1.2rem; --gutter: 0;
    --page: #fff; --card: #fff; --sand: #fff; --sand-2: #fff; --teal-100: #fff;
    --ink: #000; --ink-strong: #000; --ink-muted: #333;
    --teal-800: #000; --teal-900: #000; --clay-500: #555; --clay-700: #444; --clay-50: #fff;
    --on-dark: #000; --on-dark-muted: #333;
    --rule: #999; --rule-2: #666; --control: #444; --rule-dark: #999;
    --shadow-soft: none; --shadow-lift: none;
  }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
  .topbar, .site-header, .skip-link, .hero-actions, .form-shell, .embed-placeholder, .menu-toggle, .button, .card-link { display: none !important; }
  .hero, .section, .section.tint, .section.warm, .proof-strip { padding-block: .9rem; background: #fff !important; border: 0; border-top: 1px solid #999; }
  .hero-grid, .split, .split.reverse, .cards, .cards.three, .process, .footer-grid, .proof-grid { display: block; }
  h1 { font-size: 20pt; } h2 { font-size: 15pt; } h3 { font-size: 12pt; }
  .card, .process-step, .hero-panel, .callout, .radar-issue, .proof-item { margin-bottom: .6rem; background: #fff; border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  .price-table { border: 1px solid #666; font-size: 10pt; }
  .price-table thead th { background: #eee !important; color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .source-note a::after { content: " (" attr(href) ")"; font-size: 8pt; word-break: break-all; }
  .footer { padding-block: .8rem 0; background: #fff !important; border-top: 2px solid #000; color: #000; font-size: 9pt; break-inside: avoid; }
  .footer h2, .footer .footer-brand, .footer p, .footer-small, .footer-index { color: #000; }
  .footer-boundary { background: #fff; border: 1px solid #999; }
  .footer a { color: #000 !important; text-decoration-color: #000 !important; }
  .footer .footer-brand .brand-mark { display: none; }
  .footer-small { margin-top: .6rem; border-top: 1px solid #999; color: #000; }
}
