/* EquiScape — site styles, built on the EquiScape design system.
   Layout: white pages, borders do the separating, one mint block per view gets the attention,
   a 3px brand rule under headers. Montserrat throughout; tabular figures wherever digits line up. */

:root {
  /* color tokens (tokens.json, light) */
  --surface: #F4F6F1;
  --surface-card: #FFFFFF;
  --surface-mint: #EBF2E3;
  --surface-cream: #FFFDF6;
  --course: #2B3530; --course-strong: #1A211D; --on-course: #FFFFFF; --course-tint: #EEF0EC;
  --border: #D5E3C6;
  --border-strong: #7D8B78;
  --ink: #3A3A3A;
  --ink-heading: #595959;
  --ink-muted: #6B6B6B;
  --brand: #2E6B30;
  --brand-strong: #245726;
  --on-brand: #FFFFFF;
  --leaf: #A8CF7E;
  --on-leaf: #1F3D20;
  --neutral: #5F5F5F;
  --on-neutral: #FFFFFF;
  --gold: #C99A1E;
  --on-gold: #2B2B2B;
  --gold-text: #7A5C0F;
  --alert: #A33A2A;
  --on-alert: #FFFFFF;
  --success: var(--brand);
  --focus: var(--brand);
  --chart-1: var(--brand);
  --chart-2: var(--leaf);
  --chart-3: var(--gold);
  --chart-4: var(--neutral);
  --shadow-card: 0 1px 2px rgba(31,61,32,0.06);
  --shadow-panel: 0 8px 28px rgba(31,61,32,0.14);
  --header-bg: rgba(244,246,241,.96);

  /* type */
  --font-sans: Montserrat, "Helvetica Neue", Arial, sans-serif;

  /* spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px;

  /* radius */
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-full: 999px;

  --maxw: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #121812; --surface-card: #182018; --surface-mint: #1B231B; --surface-cream: #211E14;
    --border: #2C3A2B; --border-strong: #6E7E6A;
    --ink: #E8EDE6; --ink-heading: #D3DBD0; --ink-muted: #A9B4A6;
    --brand: #7FBF6E; --brand-strong: #95CC85; --on-brand: #0F1D10;
  --course: #E6EAE3; --course-strong: #FFFFFF; --on-course: #142016; --course-tint: #1E261F;
    --course: #E6EAE3; --course-strong: #FFFFFF; --on-course: #142016; --course-tint: #1E261F;
    --leaf: #A8CF7E; --on-leaf: #0F1D10;
    --neutral: #8A938A; --on-neutral: #121812;
    --gold: #E0B64A; --on-gold: #1B231B; --gold-text: #E0B64A;
    --alert: #F08A76; --on-alert: #1B0F0C;
    --shadow-card: 0 1px 2px rgba(0,0,0,0.4); --shadow-panel: 0 8px 28px rgba(0,0,0,0.5);
    --header-bg: rgba(18,24,18,.96);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #121812; --surface-card: #182018; --surface-mint: #1B231B; --surface-cream: #211E14;
  --border: #2C3A2B; --border-strong: #6E7E6A;
  --ink: #E8EDE6; --ink-heading: #D3DBD0; --ink-muted: #A9B4A6;
  --brand: #7FBF6E; --brand-strong: #95CC85; --on-brand: #0F1D10;
  --leaf: #A8CF7E; --on-leaf: #0F1D10;
  --neutral: #8A938A; --on-neutral: #121812;
  --gold: #E0B64A; --on-gold: #1B231B; --gold-text: #E0B64A;
  --alert: #F08A76; --on-alert: #1B0F0C;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4); --shadow-panel: 0 8px 28px rgba(0,0,0,0.5);
  --header-bg: rgba(18,24,18,.96);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Smooth scrolling only after the page has loaded (site.js adds .smooth), so links from other pages jump straight to their section */
html.smooth { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html.smooth { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-sans); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; color: var(--ink-heading); }
h2 { font-size: clamp(24px, 3.4vw, 28px); line-height: 1.22; font-weight: 700; color: var(--ink-heading); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ink); }
h4 { font-size: 16px; line-height: 1.375; font-weight: 700; color: var(--brand); }
h1 em, h2 em, h3 em { font-style: normal; color: var(--brand); }
p { margin: 0; }
b, strong { font-weight: 700; }
.muted { color: var(--ink-muted); }
.num, .phone, .eq-num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface-card); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap {
  max-width: var(--maxw); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.measure { max-width: 68ch; }
.stack { display: grid; gap: var(--space-4); }
.stack-lg { display: grid; gap: var(--space-6); }
.stack > *, .stack-lg > * { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand);
}
@media (min-width: 720px) { .eyebrow { font-size: 22px; line-height: 30px; } }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 58ch; }
.group-label { font-size: 14px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: var(--space-8) 0 var(--space-3); }

/* logo swap: both logos in the markup, the right one shows per theme */
.eq-logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eq-logo-light { display: none !important; }
  :root:not([data-theme="light"]) .eq-logo-dark { display: block !important; }
}
:root[data-theme="dark"] .eq-logo-light { display: none !important; }
:root[data-theme="dark"] .eq-logo-dark { display: block !important; }

/* icons: simple line icons in brand */
.ic { width: 22px; height: 22px; flex: none; stroke-width: 1.5; }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); color: var(--brand); background: var(--surface-mint); flex: none; }

/* ---------- buttons (eq-btn) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: 600 15px/20px var(--font-sans); padding: 12px 20px; border-radius: var(--radius-md);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-brass, .btn-olive { background: var(--brand); color: var(--on-brand); }
.btn-brass:hover, .btn-olive:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn-calc, .btn-ghost { background: var(--surface-card); color: var(--brand); border-color: var(--brand); }
.btn-calc:hover, .btn-ghost:hover { background: var(--surface-mint); color: var(--brand-strong); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header (TopNav) ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 3px solid var(--brand);
}
.header-top { background: var(--surface-mint); color: var(--ink); font-size: 13px; border-bottom: 1px solid var(--border); }
.header-top-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 36px; }
.header-phone { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 500; }
.header-phone b { color: var(--brand); font-weight: 700; }
.header-phone .ic { width: 16px; height: 16px; color: var(--brand); }
.header-row { display: flex; align-items: center; gap: var(--space-6); min-height: 72px; }
.brand { flex: none; display: block; }
.brand img { display: block; height: 48px; width: auto; }
.brand .md-full, .brand .md-mark { display: block; }
.brand .md-mark { display: none; }
.site-nav { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }
.site-nav ul { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-sm); white-space: nowrap; }
.site-nav ul a:hover { background: var(--surface-mint); color: var(--brand); }
.site-nav ul a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.site-nav .btn { white-space: nowrap; }
.nav-toggle { display: none; font: 600 14px var(--font-sans); background: var(--surface-card); border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); padding: 8px 14px; color: var(--ink); cursor: pointer; }
.header-cta { display: none; }
@media (max-width: 1240px) {
  .nav-toggle { display: inline-block; }
  .header-cta { display: inline-flex; margin-left: auto; white-space: nowrap; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 3px solid var(--brand);
    flex-direction: column; align-items: stretch; gap: var(--space-4); margin-left: 0;
    padding: var(--space-4) max(16px, env(safe-area-inset-right, 0px)) var(--space-6) max(16px, env(safe-area-inset-left, 0px)); display: none; box-shadow: var(--shadow-panel); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 12px 4px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 16px; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .header-top-row { justify-content: center; }
  .header-top-row > span:first-child { display: none; }
  .header-row { gap: var(--space-2); min-height: 64px; }
  .brand img { height: 40px; }
  .header-cta { padding: 8px 10px; font-size: 13px; gap: 6px; }
  .header-cta .ic { width: 16px; height: 16px; }
  .nav-toggle { padding: 8px 10px; }
}
@media (max-width: 480px) { .hide-xs { display: none; } }
@media (max-width: 340px) { .brand .md-full { display: none; } .brand .md-mark { display: block; } }
@media (max-width: 370px) { .header-cta .ic { display: none; } }
/* Anchor targets land below the sticky header (112px desktop, 104px phone) on every page */
[id] { scroll-margin-top: 130px; }
main:focus { outline: none; }

/* Phone numbers: tap to call on phones; plain text with a mouse (site.js also removes the link there) */
a.tel { color: inherit; font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { a.tel { pointer-events: none; cursor: text; text-decoration: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-paper { background: var(--surface-mint); border-block: 1px solid var(--border); }
.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-8); max-width: 760px; }
.section-head .muted { max-width: 62ch; }

/* sub-page hero: mint band with the brand rule */
.page-hero { background: var(--surface-mint); border-bottom: 1px solid var(--border); padding-block: clamp(40px, 6vw, 64px); }
.page-hero .wrap { display: grid; gap: var(--space-4); }
.page-hero .lede { max-width: 62ch; }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(32px, 5.2vw, 48px); line-height: 1.08; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* advisor contact card (ContactCard) */
.advisor-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: center; padding: var(--space-4); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); max-width: 480px; }
.advisor-card img { width: 72px; height: 72px; border-radius: var(--radius-full); object-fit: cover; border: 3px solid var(--brand); display: block; }
.advisor-card-name { font-weight: 700; font-size: 17px; color: var(--ink-heading); line-height: 1.3; }
.advisor-card-role { font-size: 13px; color: var(--ink-muted); line-height: 1.4; }
.advisor-card-lines { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: var(--space-1); font-size: 14px; font-weight: 700; color: var(--brand); }
.advisor-card-lines a { font-weight: 600; }

/* sample report card in the hero */
.report-card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-panel); padding: var(--space-4); display: grid; gap: var(--space-4); min-width: 0; }
@media (min-width: 560px) { .report-card { padding: var(--space-6); } }
.report-head { display: flex; justify-content: space-between; align-items: start; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 3px solid var(--brand); }
.report-head .eq-title-sm { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink-heading); }
.report-head .eq-title-sm em { font-style: normal; color: var(--brand); }
.report-head .caption { margin-top: 2px; }
.caption { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-muted); }
.takeaway { font-size: 14px; line-height: 21px; color: var(--ink); }
.takeaway b { color: var(--brand); }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.kpi { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4) var(--space-4); display: grid; gap: var(--space-1); align-content: start; min-width: 0; }
.kpi-label { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.kpi-value { font-size: 28px; line-height: 32px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi-desc { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.kpi-hl { background: var(--surface-mint); border: 2px solid var(--brand); }
.kpi-hl .kpi-label, .kpi-hl .kpi-value { color: var(--brand); }
.kpi-hl .kpi-desc { color: var(--ink); }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; font-style: normal;
  background: var(--surface-mint); color: var(--ink); border: 1px solid var(--border); }
.pill-alert { background: var(--alert); color: var(--on-alert); border-color: var(--alert); }
.pill-success { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pill-goal { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.pill-sample { background: var(--surface-card); color: var(--brand); border-color: var(--brand); }
.pill-req { background: var(--surface-card); color: var(--brand); border-color: var(--brand); }

/* ---------- split bar (cost vs profit, gold goal marker) ---------- */
.split-wrap { display: grid; gap: var(--space-2); }
.split-bar { position: relative; display: flex; height: 28px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.split-bar > span { display: grid; place-items: center; white-space: nowrap; overflow: hidden; min-width: 0; }
.split-cost { background: var(--neutral); color: var(--on-neutral); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.split-profit { background: var(--brand); color: var(--on-brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.split-bar .split-goal { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 2px dashed var(--gold); overflow: visible; }
.split-note { font-size: 12px; font-weight: 600; color: var(--gold-text); text-align: right; }

/* ---------- stat row under hero ---------- */
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.statrow > div { display: grid; gap: var(--space-1); align-content: start; padding: var(--space-3) var(--space-4) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-card); min-width: 0; }
.statrow b { font-size: 28px; line-height: 32px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.statrow span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (max-width: 820px) { .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- layout helpers ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 860px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }
.service { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-4) var(--space-4) var(--space-6); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.service .ico { margin-bottom: var(--space-2); }
.service h3 { font-size: 16px; line-height: 22px; color: var(--brand); }
.service p { color: var(--ink); font-size: 15px; line-height: 23px; }

/* getting started: a real sequence, numbered in category circles */
.start-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-6); margin-top: var(--space-8); align-items: stretch; }
@media (max-width: 860px) { .start-row { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-1) var(--space-3); padding: var(--space-4); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); align-content: start; }
.steps li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 13px; }
.steps h3 { font-size: 16px; line-height: 22px; color: var(--ink); }
.steps p { font-size: 14px; line-height: 20px; }
.steps-stack { grid-template-columns: 1fr; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.price-note { display: grid; gap: var(--space-1); align-content: center; padding: var(--space-4) var(--space-6); background: var(--surface-mint); border: 2px solid var(--brand); border-radius: var(--radius-md); }
.price-note .kpi-label { color: var(--brand); }
.price-note b { font-size: 44px; line-height: 48px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.price-note b small { font-size: 18px; font-weight: 700; }
.price-note span { font-size: 14px; line-height: 20px; color: var(--ink); }

/* monthly reports */
.systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 860px) { .systems { grid-template-columns: 1fr; } }
.sys { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-4) var(--space-4) var(--space-6); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); min-width: 0; }
.sys-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.sys .tag { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.sys .tag b { color: var(--brand); }
.sys h3 { font-size: 20px; }
.sys p { font-size: 15px; line-height: 23px; }

/* ---------- estimator lines (Cost × Markup = Price) ---------- */
.example { margin-top: var(--space-8); display: grid; gap: var(--space-4); padding: var(--space-4); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
@media (min-width: 640px) { .example { padding: var(--space-6); } }
.example-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-3); flex-wrap: wrap; }
.example-head h3 { font-size: 20px; color: var(--ink-heading); }
.lines { display: grid; gap: var(--space-2); }
.lines-head, .line { display: grid; grid-template-columns: 40px minmax(0, 1fr) 92px 76px 104px; align-items: center; gap: var(--space-3); }
.lines-head { padding: 0 var(--space-4); }
.lines-head .r, .line .r { text-align: right; }
.lines-head .c, .line .c { text-align: center; }
.line { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px var(--space-4); }
.line > div { min-width: 0; }
.line-name { font-weight: 700; font-size: 16px; line-height: 20px; color: var(--brand); }
.line-desc { font-size: 13px; line-height: 18px; color: var(--ink); }
.line-cost, .line-price { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--ink); }
.line-mult { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); }
.line-total { background: var(--brand); border-color: var(--brand); }
.line-total, .line-total .line-name, .line-total .line-desc, .line-total .line-cost, .line-total .line-price, .line-total .line-mult { color: var(--on-brand); }
.line-total .cat { background: var(--on-brand); color: var(--brand); font-size: 18px; }
@media (max-width: 600px) {
  .lines-head { display: none; }
  .line { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .line .line-cost, .line .line-mult { display: none; }
}
.cat { width: 32px; height: 32px; border-radius: var(--radius-full); display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.cat-brand { background: var(--brand); color: var(--on-brand); }
.cat-leaf { background: var(--leaf); color: var(--on-leaf); }
.cat-neutral { background: var(--neutral); color: var(--on-neutral); }
.cat-gold { background: var(--gold); color: var(--on-gold); }

.results-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-3); }
.result { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); min-width: 0; }
.result > div { min-width: 0; }
.result-name { font-weight: 700; font-size: 16px; }
.result-desc { font-size: 12px; line-height: 17px; color: var(--ink); }
.result-value { font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-profit { background: var(--surface-mint); border: 2px solid var(--brand); }
.result-profit .result-name, .result-profit .result-value { color: var(--brand); }
.result-goal { background: var(--surface-cream); border: 1.5px dashed var(--gold); }
.result-goal .result-name, .result-goal .result-value { color: var(--gold-text); }
.notes { display: grid; gap: var(--space-3); border-top: 1px solid var(--border); padding-top: var(--space-4); }
.note-line { font-size: 14px; line-height: 21px; color: var(--ink); max-width: 80ch; }
.note-gap b { color: var(--alert); }
.note-key b { color: var(--brand); }

/* ---------- valuation band (brand green) ---------- */
.band { position: relative; }
.calc-band, .cta-band { background: var(--brand); color: var(--on-brand); padding-block: clamp(40px, 5vw, 56px); }
.calc-band h2, .cta-band h2, .calc-band .eyebrow, .cta-band .eyebrow, .calc-band .lede, .cta-band .lede { color: var(--on-brand); }
.calc-band .btn-brass, .cta-band .btn-brass, .calc-band .btn-calc, .cta-band .btn-calc { background: var(--surface-card); color: var(--brand); border-color: var(--surface-card); }
.calc-band .btn-brass:hover, .cta-band .btn-brass:hover, .calc-band .btn-calc:hover, .cta-band .btn-calc:hover { background: var(--surface-mint); border-color: var(--surface-mint); color: var(--brand-strong); }
.cta-band .btn-calc { background: transparent; color: var(--on-brand); border-color: var(--on-brand); }
.cta-band .btn-calc:hover { background: var(--brand-strong); color: var(--on-brand); border-color: var(--on-brand); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.cta-row > div { max-width: 660px; display: grid; gap: var(--space-3); min-width: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.calc-band-text { display: flex; gap: var(--space-4); align-items: flex-start; }
.calc-band-text > div { display: grid; gap: var(--space-2); }
.calc-band-ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-md); border: 1.5px solid var(--on-brand); color: var(--on-brand); }
.calc-band-ico .ic { width: 28px; height: 28px; }
@media (max-width: 640px) { .calc-band-ico { display: none; } .calc-band .btn { width: 100%; } }

/* ---------- selling ---------- */
.numbered { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.numbered li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 14px; line-height: 21px; }
.numbered li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.6 2.5L16 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.6 2.5L16 9.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.numbered b { display: block; font-size: 16px; line-height: 22px; color: var(--brand); margin-bottom: 2px; }

/* ---------- who we serve ---------- */
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: var(--space-3); }
.ig { display: grid; justify-items: start; gap: var(--space-1); padding: var(--space-4); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); min-width: 0; text-decoration: none; color: inherit; font-weight: 400; transition: border-color .15s, background .15s; }
.ig .ico { width: 40px; height: 40px; border-radius: var(--radius-full); margin-bottom: var(--space-2); }
.ig b { font-weight: 700; font-size: 16px; line-height: 22px; color: var(--brand); }
.ig small { color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.ig-cta { font-size: 13px; font-weight: 600; color: var(--brand); margin-top: var(--space-2); }
a.ig:hover, a.ig:focus-visible { border-color: var(--brand); }
a.ig:target { border: 2px solid var(--brand); background: var(--surface-mint); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }
.chips li { display: contents; }
.chips a { display: inline-block; font: 600 13px/16px var(--font-sans); padding: 8px 14px; border-radius: var(--radius-full); border: 1px solid var(--brand); background: var(--surface-card); color: var(--brand); text-decoration: none; }
.chips a:hover { background: var(--surface-mint); }

/* ---------- about ---------- */
.advisor { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.advisor img { width: 200px; height: 200px; object-fit: cover; border-radius: var(--radius-full); border: 3px solid var(--brand); display: block; }
.creds { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink-muted); }
@media (max-width: 700px) { .advisor { grid-template-columns: 1fr; } .advisor img { width: 140px; height: 140px; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.fact { display: grid; gap: var(--space-1); align-content: start; padding: var(--space-3) var(--space-4) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-card); min-width: 0; }
.fact b { font-size: 28px; line-height: 32px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }
.list-clean { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.list-check li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); align-items: start; padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-card); }
.list-check li::before, .checks li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.6 2.5L16 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.6 2.5L16 9.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-2); }
.checks.two { grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-6); }
@media (max-width: 560px) { .checks.two { grid-template-columns: 1fr; } }

/* ---------- cards, notices ---------- */
.card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.card h3 { font-size: 18px; }
.card .tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.notice { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-mint); font-size: 15px; }
.notice-warn { background: var(--surface-cream); border: 1.5px dashed var(--gold); }
.notice-olive { background: var(--surface-mint); border: 1px solid var(--brand); }
.privacy-pill { display: inline-flex; align-items: center; gap: var(--space-2); justify-self: start; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-full); background: var(--surface-card); color: var(--brand); border: 1px solid var(--brand); }
.privacy-pill .ic { width: 16px; height: 16px; }
.hero-call-dark { display: block; font-size: 15px; line-height: 1.6; color: var(--ink); }
.hero-call-dark .ic { display: inline-block; width: 17px; height: 17px; margin-right: var(--space-2); vertical-align: -3px; color: var(--brand); }
.hero-call-dark .phone { color: var(--brand); }

/* ---------- contact ---------- */
.contact-card { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-card); border: 1px solid var(--border); text-decoration: none; color: inherit; font-weight: 400; min-width: 0; }
.contact-card > div { min-width: 0; }
.contact-card b { display: block; color: var(--brand); font-weight: 700; overflow-wrap: anywhere; }
.contact-card span { font-size: 13px; color: var(--ink-muted); }
.contact-card-big { border: 2px solid var(--brand); background: var(--surface-card); }
.contact-card-big b { font-size: 28px; line-height: 32px; font-weight: 800; }
a.contact-card:hover { border-color: var(--brand); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.hours td { padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.hours td:last-child { text-align: right; color: var(--ink-muted); }

/* ---------- forms (FormField) ---------- */
.form { display: grid; gap: var(--space-4); }
.form.card { padding: var(--space-6); box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form.card { padding: var(--space-4); } }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  font: 500 16px/22px var(--font-sans); font-variant-numeric: tabular-nums; width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-card); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--brand); }
::placeholder { color: var(--ink-muted); opacity: 1; }
textarea { min-height: 130px; resize: vertical; }
.check { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: start; font-size: 14px; line-height: 21px; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); }
.hp { position: absolute; left: -5000px; }
.req { color: var(--alert); font-weight: 700; }
.req-note { font-size: 13px; color: var(--ink-muted); }
.field-err { font-size: 13px; color: var(--alert); font-weight: 600; }
.field-err:empty { display: none; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--alert); }
.form-status { font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--brand); font-weight: 600; }
.form-status.err { color: var(--alert); font-weight: 600; }
.form-title { font-size: 24px; }

/* ---------- help tips ---------- */
.tip { position: relative; display: inline-block; vertical-align: middle; line-height: 1; }
.tip-btn { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--brand); background: var(--surface-card); color: var(--brand);
  font: 700 12px/1 var(--font-sans); cursor: pointer; display: inline-grid; place-items: center; padding: 0; margin-left: 4px; }
.tip-btn:hover, .tip-btn[aria-expanded="true"] { background: var(--brand); color: var(--on-brand); }
.tip-body { position: absolute; z-index: 40; left: -1rem; top: calc(100% + 8px); width: min(320px, 82vw); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  background: var(--surface-card); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow-panel);
  font: 400 14px/1.55 var(--font-sans); letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; }
.tip-body b { color: var(--brand); }
.tip-body[hidden] { display: none; }
/* phones: the tip opens in the flow of the text (pushes content down) instead of floating over buttons */
@media (max-width: 760px) {
  .tip { position: static; display: inline; }
  label .tip { display: contents; }  /* in flex labels: the ? stays beside the label text, the tip opens on its own row */
  label .tip-body { flex-basis: 100%; }
  .tip-body { position: static; display: block; width: auto; max-width: none; margin-top: var(--space-2); left: auto !important; right: auto !important; box-shadow: none; }
}

/* ---------- prose pages ---------- */
.prose { max-width: 70ch; display: grid; gap: var(--space-4); }
.prose h2 { font-size: 22px; margin-top: var(--space-6); color: var(--ink-heading); }
.prose h3 { font-size: 17px; margin-top: var(--space-2); color: var(--brand); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: var(--space-2); }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 130px); display: grid; gap: var(--space-1); font-size: 14px; align-self: start; padding-left: var(--space-3); border-left: 1px solid var(--border); }
.toc a { text-decoration: none; color: var(--ink-muted); font-weight: 500; padding: 4px 0; }
.toc a:hover { color: var(--brand); }
.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-12); }
@media (max-width: 880px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); border-left: 0; padding-left: 0; } }

/* ---------- resources ---------- */
.jump { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-1); }
.jump a { display: inline-flex; align-items: center; gap: var(--space-2); padding: 8px 14px; border: 1px solid var(--brand); border-radius: var(--radius-full); background: var(--surface-card); color: var(--brand); text-decoration: none; font-size: 14px; }
.jump a:hover { background: var(--surface-mint); }
.jump .ic { width: 16px; height: 16px; }
.res-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-8); }
.res-head .section-head { max-width: 640px; }
.res-head .btn { white-space: nowrap; }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 980px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } }
.phase { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); display: grid; gap: var(--space-3); align-content: start; }
.phase > summary { list-style: none; display: grid; gap: var(--space-1); cursor: default; pointer-events: none; padding-bottom: var(--space-3); border-bottom: 3px solid var(--brand); }
.phase > summary::-webkit-details-marker { display: none; }
.phase .q { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.phase h3 { font-size: 16px; line-height: 22px; color: var(--brand); }
.phase ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.phase li { font-size: 14px; line-height: 1.4; }
.phase li b { font-weight: 700; color: var(--ink); display: block; }
.phase li i { color: var(--ink-muted); font-style: normal; display: block; font-size: 13px; }
.phase-count { display: none; }
@media (max-width: 640px) {
  .phase { padding: 0; gap: 0; }
  .phase > summary { pointer-events: auto; cursor: pointer; padding: var(--space-4) 48px var(--space-4) var(--space-4); position: relative; border-bottom: 0; }
  .phase[open] > summary { border-bottom: 3px solid var(--brand); }
  .phase > summary .phase-count { display: block; font-size: 13px; color: var(--ink-muted); }
  .phase > summary::after { content: "+"; position: absolute; right: var(--space-4); top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--brand); border-radius: 50%; font-size: 18px; color: var(--brand); }
  .phase[open] > summary::after { content: "–"; }
  .phase ul { padding: var(--space-4); }
}
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-3); }
@media (max-width: 560px) { .res-grid { grid-template-columns: 1fr; } .res-head .btn { width: 100%; } }
.res-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-3); align-items: start; padding: var(--space-4) 44px var(--space-4) var(--space-4);
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); text-decoration: none; color: inherit; font-weight: 400; transition: border-color .15s; }
.res-card:has(.res-mono-text) { grid-template-columns: 52px minmax(0, 1fr); }
.res-card:hover { border-color: var(--brand); }
.res-card:hover b { text-decoration: underline; text-underline-offset: 3px; }
.res-card:target { border: 2px solid var(--brand); background: var(--surface-mint); }
.res-mono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 17px; line-height: 1; }
.res-mono-text { width: 52px; height: 32px; border-radius: var(--radius-full); background: var(--leaf); color: var(--on-leaf); font-size: 11px; letter-spacing: .02em; margin-top: 6px; }
.res-body { display: grid; gap: 2px; min-width: 0; }
.res-body b { color: var(--brand); font-weight: 700; font-size: 16px; line-height: 1.35; }
.res-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.res-line { font-size: 14px; color: var(--ink); line-height: 1.45; }
.res-ext { position: absolute; top: var(--space-4); right: var(--space-4); color: var(--brand); }
.res-ext .ic { width: 16px; height: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface-mint); color: var(--ink); border-top: 3px solid var(--brand); padding-block: var(--space-12) var(--space-6); font-size: 15px; }
.site-footer a { color: var(--brand); text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; color: var(--brand-strong); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
.footer-grid > * { min-width: 0; }
.footer-brand { display: grid; gap: var(--space-3); align-content: start; }
.footer-logo { display: block; }
.footer-logo img { display: block; width: 260px; max-width: 100%; height: auto; }
.footer-vision { font-size: 15px; font-weight: 700; color: var(--ink-heading); max-width: 28ch; }
.footer-phone { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 22px; font-weight: 800; color: var(--brand); }
.footer-phone .ic { width: 20px; height: 20px; }
.footer-h { font-size: 11px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.site-footer .muted { color: var(--ink-muted); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); padding-top: var(--space-4); border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-muted); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* cookie */
.cookie { position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-left: auto; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-panel); display: grid; gap: var(--space-3); font-size: 14px; }
.cookie-actions { display: flex; gap: var(--space-2); justify-content: flex-end; }

/* ================= Valuation calculator ================= */
.calc-section { padding-top: var(--space-8); }
.stepper { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--border); }
.stepper li { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) 0; font-size: 14px; font-weight: 600; color: var(--ink-muted); border-bottom: 3px solid transparent; margin-bottom: -1px; min-width: 0; }
.stepper li span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-strong); font-size: 13px; font-weight: 700; background: var(--surface-card); font-variant-numeric: tabular-nums; }
.stepper li.active { color: var(--brand); border-bottom-color: var(--brand); }
.stepper li.active span { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.stepper li.done { color: var(--ink); cursor: pointer; }
.stepper li.done span { background: var(--surface-mint); color: var(--brand); border-color: var(--brand); }
@media (max-width: 640px) { .stepper li { font-size: 0; gap: 0; justify-content: center; } .stepper li span { font-size: 13px; } }

.dropgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); align-items: start; }
@media (max-width: 900px) { .dropgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dropgrid { grid-template-columns: 1fr; } }
.drop { display: grid; gap: var(--space-2); align-content: start; padding: 0; min-height: 150px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-md); background: var(--surface-card); transition: border-color .15s, background .15s; min-width: 0; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--surface-mint); }
.drop:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.drop-pick { display: grid; gap: var(--space-2); padding: var(--space-4) var(--space-4) var(--space-1); cursor: pointer; }
.drop-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.drop-head b { font-size: 16px; font-weight: 700; color: var(--brand); }
.drop-unlocks { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.drop-plain { font-size: 14px; color: var(--ink-muted); }
.drop-status { font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.drop-status u { color: var(--brand); }
.drop.ok { border-style: solid; border-color: var(--brand); }
.drop.ok .drop-status { color: var(--brand); }
.drop.err { border-style: solid; border-color: var(--alert); }
.drop.err .drop-status { color: var(--alert); }
.qb { margin: 0 var(--space-4) var(--space-4); border-top: 1px solid var(--border); padding-top: var(--space-2); }
.qb summary { cursor: pointer; font-weight: 600; color: var(--brand); font-size: 14px; list-style: none; display: inline-flex; align-items: center; gap: var(--space-2); }
.qb summary::-webkit-details-marker { display: none; }
.qb summary::before { content: "?"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--brand); font-size: 11px; }
.qb[open] summary::before { background: var(--brand); color: var(--on-brand); }
.qb-body { display: grid; gap: var(--space-2); margin-top: var(--space-2); font-size: 14px; line-height: 1.5; }
.upload-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.small-note { font-size: 14px; margin-top: var(--space-4); }

.review-top { margin-bottom: var(--space-4); max-width: 520px; }
.review-groups { display: grid; gap: var(--space-3); }
.review-group { margin: 0; padding: var(--space-4); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.review-group legend { font-size: 16px; font-weight: 700; color: var(--brand); padding: 0 var(--space-2); margin-left: calc(-1 * var(--space-2)); }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-4); }
.rfield { grid-template-rows: 1fr auto auto; }
.rfield label { display: flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; align-self: end; }
.rfield .hint { overflow-wrap: anywhere; }
.rfield.found input { border-color: var(--brand); background: var(--surface-mint); }
.review-block { margin-top: var(--space-3); padding: var(--space-4); gap: var(--space-3); }
.review-block h3 { font-size: 18px; }
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--space-4); margin-top: var(--space-1); }
.field-wide { grid-column: 1 / -1; max-width: 560px; }
.addbacks { display: grid; gap: var(--space-2); }
.addback { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr) auto; gap: var(--space-2); align-items: center; }
@media (max-width: 560px) { .addback { grid-template-columns: 1fr 1fr; } .addback input[type="text"] { grid-column: 1 / -1; } }
.fold > summary { cursor: pointer; list-style: none; display: grid; gap: var(--space-1); padding-right: 40px; position: relative; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; position: absolute; right: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--brand); border-radius: 50%; font-size: 18px; color: var(--brand); }
.fold[open] > summary::after { content: "–"; }
.fold > summary h3 { font-size: 18px; color: var(--ink); }
.fold[open] > summary { margin-bottom: var(--space-4); }

.teaser { padding: var(--space-6); gap: var(--space-3); background: var(--surface-mint); border: 2px solid var(--brand); }
.teaser-h { font-size: clamp(24px, 3.2vw, 30px); color: var(--ink-heading); }
.teaser-h .num, .teaser-mid .num { color: var(--brand); font-weight: 800; }
.teaser-mid { font-size: 18px; }
.teaser .range-labels b { font-size: 18px; }
.summary-line { font-size: 18px; line-height: 1.55; max-width: 62ch; margin-top: var(--space-4); }
.summary-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.david-line { font-size: 15px; padding: var(--space-3) var(--space-4); background: var(--surface-mint); border: 1px solid var(--border); border-radius: var(--radius-md); }

/* results report */
.results { position: relative; display: grid; gap: 0; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); flex-wrap: wrap; padding-bottom: var(--space-3); border-bottom: 3px solid var(--brand); }
.results-head img { height: 44px; width: auto; }
.results-head .small-note { margin: 0; }
.results h2 { font-size: clamp(26px, 3.6vw, 34px); }
.rsec { padding-block: var(--space-6); border-bottom: 1px solid var(--border); display: grid; gap: var(--space-4); }
.rsec:last-child { border-bottom: 0; }
.rsec h3 { font-size: 20px; display: flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; color: var(--ink-heading); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-3); }
.tile { display: grid; gap: var(--space-1); align-content: start; padding: var(--space-3) var(--space-4) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-card); min-width: 0; }
.tile-label { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.tile-value { font-size: 26px; line-height: 32px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tile-sub { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.tile-key { background: var(--surface-mint); border: 2px solid var(--brand); }
.tile-key .tile-label, .tile-key .tile-value { color: var(--brand); }
.tile-bad .tile-value { color: var(--alert); }
.rtable { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 15px; }
.rtable td { padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.rtable td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: var(--space-4); font-weight: 600; }
.rtable tr.sub td { font-weight: 700; }
.rtable tr.total td { font-weight: 800; border-bottom: 0; border-top: 2px solid var(--brand); color: var(--brand); }
.rtable tr.th td { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; }
.rtable .pos { color: var(--brand); } .rtable .neg { color: var(--alert); }
.note { font-size: 14px; color: var(--ink-muted); max-width: 75ch; }
.interp { font-size: 15px; max-width: 75ch; }
.needs { font-size: 15px; color: var(--ink-muted); }
.chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-full); margin-right: var(--space-2); vertical-align: 1px; }
.chip-good { background: var(--brand); color: var(--on-brand); }
.chip-warn { background: var(--gold); color: var(--on-gold); }
.chip-bad { background: var(--alert); color: var(--on-alert); }
.chip-muted { background: var(--surface-mint); color: var(--ink); border: 1px solid var(--border); }

.range { display: grid; gap: var(--space-3); max-width: 720px; }
.range-bar { position: relative; height: 12px; border-radius: var(--radius-sm); background: var(--leaf); }
.range-mid { position: absolute; top: -6px; width: 4px; height: 24px; margin-left: -2px; background: var(--brand); border-radius: 2px; box-shadow: 0 0 0 2px var(--surface-card); }
.range-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.range-labels div { display: grid; gap: 2px; min-width: 0; }
.range-labels div.mid { text-align: center; }
.range-labels div:last-child { text-align: right; }
.range-labels span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; }
.range-labels b { font-size: clamp(17px, 2.6vw, 24px); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.range-labels .mid b { color: var(--brand); }
.range-labels i { font-style: normal; font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }

.ccc { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: var(--space-2); align-items: center; }
.ccc .op { font-size: 22px; font-weight: 700; color: var(--ink-muted); text-align: center; }
@media (max-width: 760px) { .ccc { grid-template-columns: 1fr 1fr; } .ccc .op { display: none; } }

.roi-chart { width: 100%; max-width: 720px; height: auto; display: block; }
.roi-chart .grid { stroke: var(--border); stroke-width: 1; }
.roi-chart .grid.zero { stroke: var(--border-strong); }
.roi-chart .axis { fill: var(--ink-muted); font: 500 12px var(--font-sans); }
.roi-chart .bar-pos { fill: var(--chart-1); }
.roi-chart .bar-neg { fill: var(--alert); }
.roi-chart .bar-exit { fill: var(--chart-2); }
.legend { font-size: 13px; font-weight: 600; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); align-items: center; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.sw-pos { background: var(--chart-1); } .sw-neg { background: var(--alert); } .sw-exit { background: var(--chart-2); }
.roi-controls { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-3) var(--space-4); align-items: end; padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-mint); }

.more-numbers { border-top: 3px solid var(--brand); border-bottom: 1px solid var(--border); margin-top: var(--space-4); }
.more-numbers > summary { cursor: pointer; list-style: none; padding: var(--space-4) 56px var(--space-4) 0; position: relative; }
.more-numbers > summary::-webkit-details-marker { display: none; }
.more-numbers > summary > span { display: grid; gap: 2px; }
.more-numbers > summary b { font-size: 20px; font-weight: 700; color: var(--ink-heading); }
.more-numbers > summary::after { content: "Show"; position: absolute; right: 0; top: var(--space-4); font-weight: 600; color: var(--brand); }
.more-numbers[open] > summary::after { content: "Hide"; }

.show-sm { display: none; }
@media (max-width: 880px) { .show-sm { display: inline-flex; } }
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .summary-actions .btn, .upload-actions .btn { width: 100%; }
  .teaser { padding: var(--space-4); }
}
#lead-form { scroll-margin-top: 110px; }

/* theme switch in the top strip (for checking light and dark) */
.header-top-row > span:first-child { margin-right: auto; }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/16px var(--font-sans); color: var(--brand); background: var(--surface-card);
  border: 1px solid var(--brand); border-radius: var(--radius-full); padding: 3px 10px; cursor: pointer; white-space: nowrap; }
.theme-toggle:hover { background: var(--surface); }
.theme-toggle .ic { width: 14px; height: 14px; }
@media (max-width: 640px) { .header-top-row { justify-content: space-between; } }

/* learning-center nav */
@media (min-width: 1141px) { .site-nav ul a { padding: 8px 7px; font-size: 13.5px; } .site-nav { gap: 10px; } .site-nav .btn { padding: 8px 12px; font-size: 13.5px; } }

/* ---------- homepage valuation preview (green band + live sample valuation) ---------- */
.vp-band { padding-block: clamp(48px, 7vw, 88px); overflow: hidden; }
.vp-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.vp-grid > * { min-width: 0; }
.vp-copy { display: grid; gap: var(--space-4); align-content: center; }
.vp-copy h2 { font-size: clamp(30px, 4.4vw, 42px); line-height: 1.1; font-weight: 800; }
.vp-copy .lede { color: var(--on-brand); }
.vp-points { list-style: none; margin: var(--space-2) 0 var(--space-2); padding: 0; display: grid; gap: var(--space-3); }
.vp-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); align-items: start; font-size: 15px; line-height: 22px; color: var(--on-brand); }
.vp-points .ic { width: 22px; height: 22px; margin-top: 0; opacity: .95; }
.vp-points b { font-weight: 700; }
.vp-band .cta-actions { margin-top: var(--space-2); }
.calc-band .btn-calc.vp-alt { background: transparent; color: var(--on-brand); border-color: var(--on-brand); }
.calc-band .btn-calc.vp-alt:hover { background: var(--brand-strong); color: var(--on-brand); border-color: var(--on-brand); }

.vp-card { background: var(--surface-card); color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 18px 48px rgba(10,30,12,.32); padding: var(--space-4); display: grid; gap: var(--space-4); min-width: 0; }
@media (min-width: 560px) { .vp-card { padding: var(--space-6); } }
.vp-card .report-head .eq-title-sm { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink-heading); }
.vp-card .report-head .eq-title-sm em { font-style: normal; color: var(--brand); }
.vp-value { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); flex-wrap: wrap; }
.vp-value > div { display: grid; gap: 2px; }
.vp-value .kpi-label { color: var(--brand); }
.vp-mid { font-size: clamp(40px, 6vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--brand); font-variant-numeric: tabular-nums; }
.vp-range { font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; margin-top: 4px; }
.vp-range b { color: var(--ink); }
.vp-delta { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-delta.is-up { background: var(--surface-mint); color: var(--brand); border: 1.5px solid var(--brand); }
.vp-delta.is-down { background: var(--surface-cream); color: var(--alert); border: 1.5px solid var(--alert); }

.vp-scale { display: grid; gap: 6px; }
.vp-track { position: relative; height: 14px; border-radius: var(--radius-full); background: var(--surface-mint); border: 1px solid var(--border); }
.vp-band-fill { position: absolute; top: -1px; bottom: -1px; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--leaf), var(--brand)); transition: left .25s ease, width .25s ease; }
.vp-pin { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--surface-card); border: 4px solid var(--brand); box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: left .25s ease; }
.vp-start { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 2px dashed var(--gold); }
.vp-ticks { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }

.vp-bridge { display: grid; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: visible; }
.vp-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: 8px var(--space-4); font-size: 14px; line-height: 20px; border-top: 1px solid var(--border); }
.vp-row:first-child { border-top: 0; }
.vp-row > span { min-width: 0; }
.vp-row b { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.vp-row small { font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.vp-row-total { background: var(--surface-mint); font-weight: 700; }
.vp-row-total b, .vp-row-total > span { color: var(--brand); }
.vp-row-mult b { color: var(--brand); }
.vp-row .tip-btn { vertical-align: 1px; }

.vp-levers { display: grid; gap: var(--space-3); }
.vp-levers .group-label { margin: 0; color: var(--brand); }
.vp-lever { display: grid; gap: 6px; }
.vp-lever-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); font-size: 14px; font-weight: 600; color: var(--ink); }
.vp-lever-head output { font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.vp-lever input[type="range"] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
.vp-lever input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) var(--fill), var(--border) var(--fill)); }
.vp-lever input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--border); }
.vp-lever input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--brand); }
.vp-lever input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--surface-card); border: 3px solid var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.vp-lever input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--surface-card); border: 3px solid var(--brand); }
.vp-lever input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vp-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--brand); border-radius: var(--radius-md); overflow: hidden; }
.vp-seg button { font: 600 14px/20px var(--font-sans); padding: 9px 8px; background: var(--surface-card); color: var(--brand); border: 0; border-left: 1px solid var(--border); cursor: pointer; min-height: 40px; }
.vp-seg button:first-child { border-left: 0; }
.vp-seg button[aria-checked="true"] { background: var(--brand); color: var(--on-brand); }
.vp-seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.vp-take { padding: var(--space-3) var(--space-4); background: var(--surface-cream); border: 1.5px dashed var(--gold); border-radius: var(--radius-md); }
.vp-take b { color: var(--brand); }
.vp-reset { justify-self: start; font: 600 13px var(--font-sans); color: var(--brand); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-top: calc(-1 * var(--space-2)); }
@media (max-width: 920px) { .vp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .vp-band .btn { width: 100%; } .vp-row { padding-inline: var(--space-3); font-size: 13px; } }
/* bracket choices: each shows what it would add or subtract */
.vp-seg button { display: grid; gap: 1px; justify-items: center; align-content: center; min-height: 52px; padding: 7px 6px; transition: background .15s, color .15s; }
.vp-seg button > span { font-weight: 600; font-size: 14px; line-height: 18px; }
.vp-seg .vp-eff { font-size: 12px; line-height: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.vp-seg .vp-eff.is-up { color: var(--brand); }
.vp-seg .vp-eff.is-down { color: var(--alert); }
.vp-seg button[aria-checked="true"] .vp-eff { color: var(--on-brand); opacity: .85; font-weight: 600; }
.vp-seg button:not([aria-checked="true"]):hover { background: var(--surface-mint); }
@media (max-width: 420px) { .vp-seg button > span { font-size: 13px; } }
.vp-row-sub { font-weight: 700; }
.vp-row-sub b { color: var(--ink); }
.vp-row-ded > span, .vp-row-ded b { color: var(--alert); }
.vp-row-ded { background: var(--surface-cream); }
.vp-hint { font-size: 12px; line-height: 16px; color: var(--ink-muted); margin-top: -2px; font-variant-numeric: tabular-nums; }
.vp-hint b { color: var(--brand); }
.vp-hint b.is-down { color: var(--alert); }

/* email card: the address opens the email app; Copy is for anyone without one */
.contact-card-email { padding-right: var(--space-3); }
.contact-card-email:has(.contact-email-link:hover) { border-color: var(--brand); }
.contact-email-link { flex: 1 1 auto; min-width: 0; display: grid; text-decoration: none; color: inherit; }
.contact-email-link:hover b { text-decoration: underline; }
.contact-card .copy-btn { flex: none; gap: 6px; }
.contact-card .copy-btn span { font-size: inherit; color: inherit; }
.copy-btn.is-copied { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.copy-status { font-size: 13px; font-weight: 600; color: var(--brand); min-height: 0; margin: 0; }
.copy-status:empty { display: none; }
.contact-email-link b { overflow-wrap: normal; }
@media (max-width: 480px) {
  .contact-card .copy-btn { padding-inline: 10px; }
  .contact-card .copy-btn [data-copy-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .contact-card .copy-btn.is-copied [data-copy-label] { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* hidden always wins over display rules (the preview host added this; the live site needs it too) */
[hidden]:not([hidden=until-found i]) { display: none !important; }

/* ---------- Margin Drivers logo in the header ---------- */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-lab { font-weight: 800; font-size: 15px; line-height: 1.15; color: var(--brand); padding-left: 12px; border-left: 1.5px solid var(--border-strong); white-space: nowrap; }
@media (max-width: 480px) { .brand { gap: 8px; } .brand-lab { font-size: 13px; padding-left: 8px; } }
@media (max-width: 380px) { .brand-lab { display: none; } }
.header-phone a { color: var(--brand); font-weight: 700; text-decoration: none; }
.header-phone a:hover { text-decoration: underline; }

/* ---------- Margin Drivers Academy band (Margin Drivers pages) ---------- */
.lab-course .cta-row { justify-content: flex-start; }
.lab-course .cta-row > div { flex: 1 1 420px; }
.lab-seal { width: 148px; height: 148px; flex: none; }
@media (max-width: 640px) { .lab-seal { width: 104px; height: 104px; } .lab-course .btn { width: 100%; } }

/* ---------- About EquiScape band on the Margin Drivers home ---------- */
.lab-about-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.lab-about-row .advisor-card { margin: 0; }
@media (max-width: 820px) { .lab-about-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1140px) { .site-nav.open .nav-cta { display: inline-flex; align-self: flex-start; margin-top: var(--space-3); } }
@media (max-width: 560px) { .header-cta { display: none; } .header-row .nav-toggle { margin-left: auto; } .header-top-row .header-phone { display: none; } }
.lab-how-sec { padding-bottom: 0; }

/* ---------- Margin Drivers home: short intro, roadmap first, two live tools ---------- */
.lab-intro { padding-block: clamp(32px, 5vw, 56px) 0; }
.lab-intro-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
.lab-intro-row > .stack { flex: 1 1 560px; min-width: 0; }
.lab-intro h1 { font-size: clamp(34px, 4.6vw, 52px); }
.lab-intro-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.lab-roadmap { padding-top: clamp(28px, 4vw, 40px); }
.lab-roadmap .section-head { margin-bottom: var(--space-6); }
.lab-tools-head { max-width: 820px; }
.lab-tools-head .lede { color: var(--on-brand); }
.lab-tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); align-items: start; }
.lab-tool { display: grid; gap: var(--space-4); min-width: 0; }
.lab-tool .cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 960px) { .lab-tools-grid { grid-template-columns: minmax(0, 1fr); } }
.pj-card { background: var(--surface-card); color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 18px 48px rgba(10,30,12,.32); padding: var(--space-4); display: grid; gap: var(--space-4); min-width: 0; }
@media (min-width: 560px) { .pj-card { padding: var(--space-6); } }
.pj-pill { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); white-space: nowrap; }
.pj-pill.is-below { background: var(--surface-cream); color: var(--alert); border: 1.5px solid var(--alert); }
.pj-pill.is-ok { background: var(--surface-mint); color: var(--brand); border: 1.5px solid var(--brand); }
.pj-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
.pj-two .pj-wide { grid-column: 1 / -1; }
@media (max-width: 480px) { .pj-two { grid-template-columns: minmax(0, 1fr); } }
.pj-num { font: 600 16px var(--font-sans); padding: 9px 12px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-card); color: var(--ink); width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
.pj-num:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--brand); }
.lab-tools-band .vp-card .vp-reset, .pj-card .vp-reset { margin-top: 0; }
.lab-parts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.lab-parts a { display: grid; gap: 0; padding: 8px 14px; border: 1px solid var(--brand); border-radius: var(--radius-md); background: var(--surface-card); text-decoration: none; line-height: 1.25; }
.lab-parts a:hover { background: var(--surface-mint); }
.lab-parts b { font-size: 14px; color: var(--brand); }
.lab-parts span { font-size: 12px; color: var(--ink-muted); font-weight: 600; }
.lab-intro-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: clamp(24px, 4vw, 56px); }
.lab-intro-side { display: grid; gap: var(--space-3); min-width: 0; }
.lab-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.lab-parts a:first-child { grid-column: 1 / -1; }
@media (max-width: 900px) { .lab-intro-row { grid-template-columns: minmax(0, 1fr); } }
.lab-intro-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.lab-intro h1 { font-size: clamp(32px, 3.8vw, 46px); }
.lab-parts a { min-width: 0; }
@media (max-width: 420px) { .lab-parts { grid-template-columns: minmax(0, 1fr); } .lab-parts a:first-child { grid-column: auto; } }

/* ---------- Margin Drivers Academy: its own button color ---------- */
.btn-course { background: var(--course); color: var(--on-course); border: 1.5px solid var(--course); }
.btn-course:hover { background: var(--course-strong); border-color: var(--course-strong); color: var(--on-course); }
.btn .course-seal { width: 22px; height: 22px; border-radius: 999px; flex: none; display: block; }
@media (max-width: 370px) { .header-cta .course-seal { display: none; } }
/* four links now fit; keep them visible down to 1100px */
@media (min-width: 1101px) and (max-width: 1240px) {
  .nav-toggle, .header-cta { display: none !important; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; gap: var(--space-3); }
  .site-nav ul { flex-direction: row; gap: 2px; }
  .site-nav ul a { padding: 8px 10px; border-bottom: 0; font-size: 14px; }
  .nav-cta { display: inline-flex; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.anchor-alias { position: relative; top: -140px; display: block; height: 0; }

/* ---------- Home intro: Learn it. Try it. Prove it. ---------- */
.lab-path-intro { padding-block: clamp(32px, 5vw, 56px) 0; }
.lp-head { display: grid; gap: 14px; max-width: 860px; margin-bottom: 30px; }
.lp-head h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 0; }
.lp-head .lede { margin: 0; }
.lp-path { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr); align-items: stretch; }
.lp-step { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-card); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lp-step h2 { margin: 0; font-size: 22px; line-height: 1.25; color: var(--ink-heading); }
.lp-desc { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); }
.lp-num { margin: 0; display: flex; align-items: center; gap: 10px; }
.lp-num i { font-style: normal; width: 34px; height: 34px; border-radius: 999px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; }
.lp-num span { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.lp-join { display: grid; place-items: center; color: var(--brand); }
.lp-join .ic { width: 26px; height: 26px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chips a { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.lp-chips a[data-s="1"] { background: #A8CF7E; color: #1F3D20; }
.lp-chips a[data-s="2"] { background: #6FA75A; color: #10230F; }
.lp-chips a[data-s="3"] { background: #2E6B30; color: #FFFFFF; }
.lp-chips a:hover { filter: brightness(1.06); text-decoration: underline; }
.lp-mini { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 14px; display: grid; gap: 4px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 13px; line-height: 1.45; transition: border-color .15s; }
.lp-mini:hover { border-color: var(--brand); }
.lp-mini small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.lp-mini b { font-size: 15px; color: var(--brand); }
.lp-num-big { font-size: 26px; font-weight: 800; color: var(--brand); line-height: 1.15; font-variant-numeric: tabular-nums; }
.lp-split { display: flex; height: 18px; border-radius: 4px; overflow: hidden; }
.lp-split span:first-child { background: #747474; }
.lp-split span:last-child { background: #2E6B30; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.lp-btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lp-stack { flex-direction: column; align-items: stretch; }
.lp-stack .btn { justify-content: center; text-align: center; }
.lp-link { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.lp-link:hover { color: var(--brand); }
.lp-prove { border: 1.5px solid var(--course); background: var(--course-tint); }
.lp-prove .lp-num i { background: var(--course); color: var(--on-course); }
.lp-prove .lp-num span { color: var(--ink-heading); }
.lp-seal { display: flex; gap: 14px; align-items: center; font-size: 14px; font-weight: 600; }
.lp-seal img { width: 92px; height: 92px; flex: none; }
.lp-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.lp-checks li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }
.lp-gloss { margin: 18px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 340px); gap: 18px; align-items: center; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--surface-mint); }
.lp-gloss p { margin: 0; }
.lp-gloss-ico { width: 46px; height: 46px; border-radius: 999px; background: var(--surface-card); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.lp-gloss input { font: 500 15px var(--font-sans); padding: 11px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); width: 100%; background: var(--surface-card); color: var(--ink); }
.lp-gloss input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
@media (max-width: 980px) { .lp-path { grid-template-columns: minmax(0, 1fr); } .lp-join { transform: rotate(90deg); padding-block: 6px; } .lp-gloss { grid-template-columns: auto minmax(0, 1fr); } .lp-gloss input { grid-column: 1 / -1; } }
/* course band uses the course color so the course reads as one thing everywhere */
.cta-band.lab-course { background: var(--course); color: var(--on-course); }
.cta-band.lab-course h2, .cta-band.lab-course .eyebrow, .cta-band.lab-course .lede { color: var(--on-course); }
.cta-band.lab-course .btn-brass { background: var(--surface-card); color: var(--ink-heading); border-color: var(--surface-card); }

.footer-by { margin: 0; font-size: 13px; max-width: 34ch; }
.footer-vision { margin: 0; }
.footer-social { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.footer-links li.phone a { font-size: 18px; font-weight: 800; }
.phone, .tel { white-space: nowrap; }

/* Disclaimer shown first on valuation / estimate pages and above report figures */
:root { --notice-bg: #FDF6E3; --notice-line: #E6CF8C; --notice-ink: #4A3B12; --notice-icon: #9A7413; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --notice-bg: #2A2614; --notice-line: #5E5124; --notice-ink: #EDE2BF; --notice-icon: #D9B54A; } }
:root[data-theme="dark"] { --notice-bg: #2A2614; --notice-line: #5E5124; --notice-ink: #EDE2BF; --notice-icon: #D9B54A; }
.eq-notice { background: var(--notice-bg); border-bottom: 1px solid var(--notice-line); color: var(--notice-ink); }
.eq-notice-row { display: flex; gap: 10px; align-items: flex-start; padding-block: 9px; }
.eq-notice-row .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--notice-icon); }
.eq-notice p { margin: 0; font-size: 13px; line-height: 1.5; }
.eq-notice a, .eq-notice-inline a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.eq-notice-inline { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 var(--space-3, 12px); padding: 8px 12px; border-radius: var(--radius-sm, 6px); background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--notice-ink); font-size: 12.5px; line-height: 1.45; }
.eq-notice-inline .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--notice-icon); }

/* ---------- From tools to strategy: the tools are the start, EquiScape's strategy is the solution ---------- */
.md-strategy { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-4) var(--space-6); align-items: center;
  padding: var(--space-6); background: var(--surface-mint); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--radius-lg); }
.md-strategy-mark { width: 64px; height: auto; display: block; }
.md-strategy .eyebrow { margin: 0 0 4px; }
.md-strategy h2, .md-strategy h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; color: var(--ink-heading); }
.md-strategy p.md-strategy-text { margin: 0; color: var(--ink); max-width: 68ch; }
.md-strategy .btn { white-space: nowrap; }
.md-strategy-section .md-strategy { padding: clamp(24px, 4vw, 40px); }
.md-strategy-section .md-strategy h2 { font-size: clamp(22px, 2.6vw, 30px); }
@media (max-width: 760px) { .md-strategy { grid-template-columns: minmax(0, 1fr); } .md-strategy-mark { width: 52px; } .md-strategy .btn { justify-self: start; white-space: normal; } }

/* ---------- Logo reads as a home button, even before hover ---------- */
.brand, .footer-logo { cursor: pointer; border-radius: 12px; background: var(--surface-card);
  box-shadow: 0 0 0 1px var(--border-strong), 0 1px 3px rgba(0,0,0,.08);
  transition: background-color .15s ease, box-shadow .15s ease, transform .1s ease; }
.brand { padding: 6px 12px; margin-left: -12px; }
.footer-logo { padding: 8px 12px; margin-left: -12px; width: max-content; max-width: 100%; }
.brand:hover, .footer-logo:hover { box-shadow: 0 0 0 2px var(--brand), 0 4px 12px rgba(0,0,0,.12); transform: translateY(-1px); }
.brand:active, .footer-logo:active { transform: translateY(0) scale(.98); box-shadow: 0 0 0 2px var(--brand); }
.brand:focus-visible, .footer-logo:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 640px) { .brand { padding: 4px 8px; margin-left: -4px; } }
@media (prefers-reduced-motion: reduce) { .brand, .footer-logo { transition: none; } .brand:hover, .footer-logo:hover, .brand:active, .footer-logo:active { transform: none; } }

/* ===== Margin Drivers | EquiScape co-brand (November 2026) =====
   The Margin Drivers box keeps its size; the EquiScape logo sits beside it, outside the box. */
.eq-cobrand-rule { flex: none; width: 1.5px; height: 36px; background: var(--border-strong); opacity: .5; margin-left: -10px; }
.eq-cobrand { flex: none; display: block; margin-left: -10px; border-radius: var(--radius-md); }
.eq-cobrand img { display: block; height: 38px; width: auto; }
.eq-cobrand:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 1120px) { .site-nav ul a { padding: 8px 8px; } }
@media (max-width: 640px) {
  .header-row .brand img { height: 34px; }
  .eq-cobrand img { height: 28px; }
  .eq-cobrand-rule { height: 26px; margin-left: -4px; }
  .eq-cobrand { margin-left: -4px; }
}
@media (max-width: 420px) {
  .header-row .brand .md-full { display: none; }
  .header-row .brand .md-mark { display: block; }
  .header-row .brand .md-mark img { height: 32px; }
}
.footer-eq { display: block; width: max-content; margin-top: 4px; border-radius: var(--radius-md); }
.footer-eq img { display: block; width: 170px; height: auto; }

/* ===== About EquiScape: green hero with vision + mission ===== */
.r-green { background: radial-gradient(120% 140% at 10% 0%, #3D7F3F 0%, #2E6B30 40%, #1F4A21 100%); color: #fff; position: relative; overflow: hidden; }
.r-green::after { content: ""; position: absolute; right: -50px; top: -40px; width: 300px; height: 330px; background: url(../img/equiscape-leaf.png) no-repeat center / contain; opacity: .13; pointer-events: none; }
.r-green > * { position: relative; z-index: 1; }
.crumb { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.r-crumb-light, .r-crumb-light a { color: rgba(255,255,255,.85) !important; }
.r-team { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.r-team span { color: #E2B740; }
.r-label { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #E2B740; display: flex; align-items: center; gap: 10px; }
.r-label::before { content: ""; width: 28px; height: 2px; background: #E2B740; }
.r-label .ic { width: 20px; height: 20px; }
.r-btn-light { background: #fff; color: #1F4A21; }
.r-btn-light:hover { background: #EBF2E3; color: #1F4A21; }
.r-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.r-btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.ra3 { padding-block: clamp(32px, 5vw, 64px); }
.ra3 + .wrap { margin-top: clamp(24px, 4vw, 40px); }
.ra3-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.ra3-left { display: grid; gap: 20px; justify-items: start; }
.ra3-h { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; color: #fff; }
.ra3-h em { color: #C9E6A6; font-style: normal; }
.ra3-lede { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 52ch; }
.ra3 .advisor-card { color: var(--ink); }
/* buttons + David's card share one width: the card stretches to the right edge of "Back to Margin Drivers" */
.ra3-cta { display: grid; gap: 20px; width: fit-content; max-width: 100%; }
.ra3-cta .advisor-card { width: 0; min-width: 100%; max-width: none; box-sizing: border-box; border-radius: var(--radius-lg); border-color: var(--surface-card); }
.ra3-right { display: grid; gap: 20px; align-content: center; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius-lg); background: rgba(10,30,12,.28); border: 1px solid rgba(255,255,255,.26); }
.ra3-logo { width: min(240px, 60vw); height: auto; display: block; }
.vm-stack { display: grid; grid-template-columns: 1fr; gap: 18px; }
.vm-item { display: grid; gap: 10px; align-content: start; }
.vm-item + .vm-item { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.28); }
.vm-text { margin: 0; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.vm-text em { font-style: normal; color: #C9E6A6; }
.vm-mission { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.25; }
@media (max-width: 900px) { .ra3-grid { grid-template-columns: 1fr; } .ra3-right { order: -1; } }
/* About hero, two-column layout: the Vision/Mission box takes its height from the left column,
   and its logo, text and spacing scale with the box (cqi = box width, cqh = box height),
   so the text fills the box at every screen width instead of leaving empty green space. */
@media (min-width: 901px) {
  .ra3-right { container-type: size; align-content: center; gap: clamp(14px, 4.5cqh, 34px); padding: clamp(22px, 6cqi, 44px); }
  .ra3-logo { width: clamp(180px, min(66cqi, 22cqh * 3.1), 340px); }
  .ra3-right .vm-stack { gap: clamp(14px, 4.4cqh, 32px); }
  .ra3-right .vm-item { gap: clamp(8px, 2cqh, 14px); }
  .ra3-right .vm-item + .vm-item { padding-top: clamp(14px, 4.4cqh, 32px); }
  .ra3-right .r-label { font-size: clamp(12px, min(2.9cqi, 3.2cqh), 16px); }
  .ra3-right .vm-text { font-size: clamp(20px, min(9cqi, 7.6cqh), 42px); }
  .ra3-right .vm-mission { font-size: clamp(16px, min(6.8cqi, 5.8cqh), 32px); }
}

/* EquiStat report card, now beside the monthly reports */
.moved-report { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: var(--space-12); }
.moved-report .stack p { margin: 0; }
@media (max-width: 920px) { .moved-report { grid-template-columns: 1fr; } }
#about .advisor { grid-template-columns: minmax(0, 1fr); }

/* About EquiScape page, below the hero (November 6, 2026 redesign): finance team chart, working-with timeline,
   ways we help, David, who we serve, contact. Classes prefixed xc-. */
.xc-center { text-align: center; margin-inline: auto; justify-items: center; }
.xc-center .muted, .xc-center h2 { margin-inline: auto; }
.xc-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: 8px auto 0; }
.xc-role { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-card); border: 1px solid var(--border); }
.xc-role h3 { margin: 0; font-size: 22px; color: var(--ink-heading); }
.xc-role p { margin: 0; font-size: 16px; line-height: 1.6; }
.xc-when { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.xc-role.is-cfo { background: var(--brand); border-color: var(--brand); }
.xc-role.is-cfo h3, .xc-role.is-cfo p, .xc-role.is-cfo .xc-when { color: var(--on-brand); }
.xc-under { max-width: 60ch; margin: 28px auto 0; text-align: center; font-size: 17px; line-height: 1.7; color: var(--ink-muted); }
.xc-month { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.xc-month::before { content: ""; position: absolute; left: 12%; right: 12%; top: 11px; height: 2px; background: var(--border-strong, var(--border)); opacity: .5; }
.xc-month li { display: grid; gap: 8px; justify-items: center; align-content: start; text-align: center; position: relative; }
.xc-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-mint); border: 6px solid var(--brand); }
.xc-month h3 { margin: 6px 0 0; font-size: 18px; color: var(--ink-heading); }
.xc-month p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 26ch; }
.xc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 920px; margin: 8px auto 0; border-top: 1px solid var(--border); }
.xc-tiles > div { padding: 26px 24px; border-bottom: 1px solid var(--border); display: grid; gap: 6px; }
.xc-tiles > div:nth-child(odd) { border-right: 1px solid var(--border); }
.xc-tiles h3 { margin: 0; font-size: 19px; color: var(--brand); }
.xc-tiles p { margin: 0; font-size: 16px; line-height: 1.6; }
.xc-david { padding-block: clamp(40px, 6vw, 72px); background: var(--surface-cream); border-block: 1px solid var(--border); }
.xc-david-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 920px; }
.xc-david-row img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--brand); }
.xc-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-muted); }
.xc-facts b { color: var(--brand); font-size: 16px; margin-right: 4px; }
.xc-who { max-width: 70ch; margin: 0 auto; text-align: center; font-size: 17px; line-height: 1.7; }
.xc-who span { color: var(--ink-muted); }
.xc-book { display: grid; gap: 26px; justify-items: center; max-width: 720px; }
.xc-book .x-form { width: 100%; }
.xc-start { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; counter-reset: s; }
.xc-start li { counter-increment: s; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--surface-card); border: 1px solid var(--border); font-size: 14px; }
.xc-start li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.xc-start span { color: var(--ink-muted); }
.xc-call { margin: 0; font-size: 15px; color: var(--ink-muted); }
.xc-team { max-width: 980px; margin: 8px auto 0; display: grid; gap: 16px; }
.xc-asks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.xc-ask { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-mint); border: 1px solid var(--border); min-width: 0; }
.xc-ask span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.xc-ask b { font-size: 16px; color: var(--ink-heading); line-height: 1.3; }
.xc-ask.is-ai { border-color: var(--leaf); }
.xc-ask.is-cfo { background: var(--brand); border-color: var(--brand); }
.xc-ask.is-cfo span, .xc-ask.is-cfo b { color: var(--on-brand); }
.xc-tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-card); }
.xc-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.xc-table th, .xc-table td { padding: 10px 12px; border-top: 1px solid var(--border); }
.xc-table thead th { border-top: 0; font-size: 13px; font-weight: 700; color: var(--ink-heading); text-align: center; vertical-align: bottom; padding-top: 14px; }
.xc-table thead .xc-th-need { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.xc-table tbody th { text-align: left; font-weight: 700; color: var(--brand); line-height: 1.35; }
.xc-table tbody th small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.xc-table td { text-align: center; vertical-align: middle; color: var(--brand); width: 13%; }
.xc-table td svg { display: inline-block; vertical-align: middle; }
.xc-table .is-cfo { background: var(--surface-mint); }
.xc-table thead th.is-cfo { background: var(--brand); color: var(--on-brand); width: 15%; }
.xc-table thead th.is-cfo span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: 2px; }
.xc-table tfoot th, .xc-table tfoot td { border-top: 2px solid var(--brand); font-weight: 700; color: var(--ink-heading); }
.xc-table tfoot th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.xc-table tfoot td.is-cfo { color: var(--brand); }
.xc-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; font-size: 13px; color: var(--ink-muted); }
.xc-legend li { display: inline-flex; align-items: center; gap: 6px; }
.xc-legend svg { color: var(--brand); }
.xc-key { max-width: 980px; margin: 22px auto 0; padding: 14px 18px; border-radius: var(--radius-md); background: var(--surface-cream); border: 1px solid var(--border); font-size: 16px; line-height: 1.6; }
.xc-key b { color: var(--gold-text); }
@media (max-width: 820px) { .xc-asks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .xc-roles { grid-template-columns: 1fr; } .xc-month { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } .xc-month::before { display: none; } }
@media (max-width: 600px) { .xc-tiles { grid-template-columns: 1fr; } .xc-tiles > div:nth-child(odd) { border-right: 0; } .xc-david-row { grid-template-columns: 1fr; justify-items: start; } .xc-david-row img { width: 120px; height: 120px; } }
@media (max-width: 480px) { .xc-month { grid-template-columns: 1fr; } }
.xc-start-left { justify-content: flex-start; margin: 0 0 28px; }
.xc-who-sec { padding-block: clamp(36px, 5vw, 56px); }
