/* 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;
  --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: #747474;
  --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;
    --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: 12px; line-height: 16px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand);
}
.lede { font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 58ch; }
.group-label { font-size: 11px; line-height: 14px; 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: 44px; width: auto; }
.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: 36px; }
  .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: 370px) { .brand img { height: 32px; } .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.6fr 1fr 1.2fr .8fr; 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: 180px; 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; }
