/* Dash Money Solutions · v3 stylesheet
   One file, one layer. Every value below comes from the tokens in :root.
   Scales: 9 type sizes · 3 weights · 4 trackings · 4 radii · 3 durations · 1 easing · 0 shadows. */

@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* surfaces */
  --paper: #FFFFFF;
  --paper-2: #F5F3EF;
  --paper-3: #EAE6DF;
  --night: #111110;
  --night-2: #1C1C1A;
  --night-line: #2E2D2A;

  /* ink */
  --ink: #141413;
  --ink-2: #3B3A37;
  --ink-3: #615E5A;            /* muted text: 6.4:1 on paper, 5.8:1 on paper-2 */
  --on-night: #FFFFFF;
  --on-night-2: #B8B5AF;       /* muted text on night: 8.9:1 */

  /* lines */
  --line: #E5E2DC;
  --line-2: #CFCAC2;

  /* accent roles: sage = a good number or the active state. coral = a cost. Nothing else. */
  --sage: #5E8366;             /* fills and strokes only */
  --sage-ink: #3F6B4A;         /* text: 6.2:1 on paper */
  --sage-tint: #E8EFE9;
  --sage-on-night: #9DBBA4;
  --coral: #E0714F;            /* fills and strokes only */
  --coral-ink: #9E4B35;        /* text: 6.0:1 on paper */
  --coral-tint: #FBEAE4;
  --chart-new: #2F6B45;        /* validated against --coral for colour-blind separation */

  /* type */
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --t-xs: 12px;
  --t-sm: 14px;
  --t-base: 16px;
  --t-md: 18px;
  --t-lg: 22px;
  --t-xl: clamp(26px, 3vw, 34px);
  --t-2xl: clamp(32px, 4.2vw, 48px);
  --t-3xl: clamp(40px, 6.2vw, 76px);
  --t-num: clamp(36px, 5vw, 60px);
  --w-text: 400;
  --w-ui: 500;
  --w-head: 600;
  --tr-tight: -0.035em;
  --tr-snug: -0.015em;
  --tr-caps: 0.08em;
  --tr-num: -0.04em;           /* mono numerals */

  /* shape and motion */
  --r-input: 10px;
  --r-card: 18px;
  --r-pill: 999px;
  --r-mark: 4px;               /* chart bar ends and the focus ring */
  --d-1: .15s;
  --d-2: .3s;
  --d-3: .7s;
  --ease: cubic-bezier(.25, 1, .5, 1);

  /* space */
  --gutter: 32px;
  --band: clamp(64px, 8vw, 96px);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html.nav-open { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  font-weight: var(--w-text);
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-mark); }
.on-night :focus-visible, .site-footer :focus-visible { outline-color: var(--on-night); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  padding: 12px 18px; background: var(--ink); color: var(--on-night); font-weight: var(--w-ui);
}
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band); }
.band--tight { padding-block: calc(var(--band) * .6); }
.band--flush-top { padding-top: 24px; }
.band--tint { background: var(--paper-2); }
.band--line { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: 16px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: var(--w-head); text-wrap: balance; }
h1 { font-size: var(--t-3xl); line-height: 1.02; letter-spacing: var(--tr-tight); }
h2 { font-size: var(--t-2xl); line-height: 1.08; letter-spacing: var(--tr-tight); }
h3 { font-size: var(--t-lg); line-height: 1.25; letter-spacing: var(--tr-snug); }
h4 { font-size: var(--t-base); line-height: 1.35; }
.h-xl { font-size: var(--t-xl); line-height: 1.15; letter-spacing: var(--tr-snug); }
p { text-wrap: pretty; }
.lead { font-size: var(--t-md); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: var(--t-sm); }
.num { font-family: var(--mono); font-weight: var(--w-ui); letter-spacing: var(--tr-num); font-variant-numeric: tabular-nums; }
strong { font-weight: var(--w-head); color: var(--ink); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--t-xs); font-weight: var(--w-ui);
  letter-spacing: var(--tr-caps); text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 20px; height: 1.5px; background: currentColor; flex: none; }
.eyebrow--center { justify-content: center; }
.label {
  font-size: var(--t-xs); font-weight: var(--w-ui);
  letter-spacing: var(--tr-caps); text-transform: uppercase; color: var(--ink-3);
}

.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color var(--d-1) var(--ease); }
.text-link:hover { text-decoration-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: var(--w-ui); color: var(--ink); }
.link-arrow::after { content: '→'; transition: transform var(--d-2) var(--ease); }
a:hover > .link-arrow::after, .link-arrow:hover::after { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: var(--t-base); font-weight: var(--w-ui); line-height: 1.2; text-align: center;
  transition: background-color var(--d-1) var(--ease), border-color var(--d-1) var(--ease), color var(--d-1) var(--ease);
}
.btn--primary { background: var(--ink); color: var(--on-night); }
.btn--primary:hover { background: #000; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.btn--ghost-night { border-color: var(--night-line); color: var(--on-night); }
.btn--ghost-night:hover { border-color: var(--on-night); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: var(--t-sm); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-2) var(--ease);
}
.site-header.is-scrolled, html.nav-open .site-header { border-bottom-color: var(--line); }
html.nav-open .site-header { background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-logo img { width: 108px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { position: relative; padding: 8px 0; font-size: var(--t-base); font-weight: var(--w-ui); color: var(--ink); }
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform var(--d-2) var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"]::after { background: var(--sage); }
.nav-toggle { display: none; width: 48px; height: 48px; margin-right: -12px; align-items: center; justify-content: center; border-radius: var(--r-input); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform var(--d-2) var(--ease), opacity var(--d-1) var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper); overflow-y: auto;
  padding: 16px var(--gutter) 32px;
  display: flex; flex-direction: column;
}
.mobile-nav nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; border-bottom: 1px solid var(--line);
  font-size: var(--t-lg); font-weight: var(--w-head); letter-spacing: var(--tr-snug); color: var(--ink);
}
.mobile-nav nav a[aria-current="page"]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.mobile-nav-actions { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mobile-nav-meta { margin-top: 20px; font-size: var(--t-sm); color: var(--ink-3); text-align: center; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-title { margin-bottom: 24px; }
.hero-title .mono-line { display: block; font-family: var(--mono); font-weight: var(--w-ui); letter-spacing: var(--tr-num); font-size: .86em; line-height: 1.12; }
.hero-sub { font-size: var(--t-md); line-height: 1.6; max-width: 34em; margin-bottom: 32px; }
.hero-trust {
  display: flex; align-items: center; gap: 16px; max-width: 34em;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: var(--t-sm); line-height: 1.5; color: var(--ink-3);
}
.hero-trust .num { font-size: var(--t-xl); color: var(--ink); flex: none; }

/* ---------- rate card (hero) ---------- */
.rate-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 2.6vw, 32px); }
.rate-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.rate-card-body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-input); }
.rate-card-main { padding: 20px 22px 8px; }
.rate-card-main .field-label { margin-bottom: 4px; }
.rate-hero-input { display: flex; align-items: baseline; gap: 6px; }
.rate-hero-input input {
  width: 4.2ch; min-width: 0; border: 0; border-bottom: 2px solid var(--line-2); border-radius: 0;
  background: transparent; padding: 0 0 2px; outline: none;
  font-family: var(--mono); font-weight: var(--w-ui); font-size: var(--t-num); line-height: 1.1; letter-spacing: var(--tr-num); color: var(--ink);
  transition: border-color var(--d-1) var(--ease);
}
.rate-hero-input input:focus { border-bottom-color: var(--ink); }
.rate-hero-input .unit { font-family: var(--mono); font-size: var(--t-lg); color: var(--ink-3); }
.rate-card-sub { display: grid; grid-template-columns: 1.4fr 1fr; border-top: 1px solid var(--line); }
.rate-card-sub .field { padding: 14px 22px; margin: 0; }
.rate-card-sub .field + .field { border-left: 1px solid var(--line); }
.rate-card-sub .input { height: 40px; border: 0; padding-inline: 0; background: transparent; font-size: var(--t-md); }
.rate-card-sub .input-wrap .affix--pre { left: 0; }
.rate-card-sub .input.has-pre { padding-left: 14px; }
.rate-card-sub .input-wrap .affix--post { right: 0; }
.rate-card .gauge { margin: 22px 6px 0; }
.rate-card .verdict { margin-top: 18px; }
.rate-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; }
.stamp { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }
.rate-card > .stamp { margin-top: 16px; }

/* ---------- fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-label { font-size: var(--t-xs); font-weight: var(--w-ui); letter-spacing: var(--tr-caps); text-transform: uppercase; color: var(--ink-3); }
.field-hint { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }
.field-error { font-size: var(--t-xs); color: var(--coral-ink); display: none; }
.field.has-error .field-error { display: block; }
.field.has-error .input { border-color: var(--coral-ink); }
.input-wrap { position: relative; }
.input {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-input); background: var(--paper);
  font-size: var(--t-base); font-weight: var(--w-ui); color: var(--ink);
  transition: border-color var(--d-1) var(--ease);
  -moz-appearance: textfield; appearance: none;
}
.input.num { font-family: var(--mono); }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.rate-card-sub .input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
textarea.input { height: auto; min-height: 132px; padding: 14px; line-height: 1.5; resize: vertical; font-weight: var(--w-text); }
.input::placeholder { color: var(--ink-3); font-weight: var(--w-text); }
.input.has-pre { padding-left: 28px; }
.input.has-post { padding-right: 58px; }
.affix { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: var(--t-sm); color: var(--ink-3); pointer-events: none; }
.affix--pre { left: 14px; }
.affix--post { right: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-field { position: absolute; left: -9999px; }

.note { padding: 14px 16px; border-radius: var(--r-input); background: var(--paper-2); font-size: var(--t-sm); line-height: 1.55; color: var(--ink-3); }
.tool-inputs .note { background: var(--paper); border: 1px solid var(--line); }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: var(--w-ui); line-height: 1.4;
  background: var(--paper-2); color: var(--ink-2);
}
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; }
.chip--cost { background: var(--coral-tint); color: var(--coral-ink); }
.chip--cost::before { background: var(--coral); }
.chip--good { background: var(--sage-tint); color: var(--sage-ink); }
.chip--good::before { background: var(--sage); }
.chip--plain::before { display: none; }
a.chip { transition: background-color var(--d-1) var(--ease); }
a.chip:hover { background: var(--paper-3); }

/* ---------- gauge ---------- */
.gauge { position: relative; padding-top: 42px; }
.gauge-track { position: relative; height: 6px; border-radius: var(--r-pill); background: var(--paper-3); }
.gauge-fill { position: absolute; top: 0; bottom: 0; border-radius: var(--r-pill); transition: left var(--d-2) var(--ease), width var(--d-2) var(--ease); }
.gauge-fill.is-above { background: var(--coral); }
.gauge-fill.is-below { background: var(--sage); }
.gauge-mark { position: absolute; top: -6px; width: 2px; height: 18px; margin-left: -1px; background: var(--ink); border-radius: 1px; transition: left var(--d-2) var(--ease); }
.gauge-mark--market { background: var(--ink-3); top: -3px; height: 12px; }
.gauge-tag { position: absolute; transform: translateX(-50%); text-align: center; white-space: nowrap; font-size: var(--t-xs); line-height: 1.25; color: var(--ink-3); transition: left var(--d-2) var(--ease); }
.gauge-tag .num { display: block; font-size: var(--t-sm); color: var(--ink); }
.gauge-tag--you { top: 0; }
.gauge-tag--market { top: 60px; }
.gauge-scale { display: flex; justify-content: space-between; margin-top: 52px; font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-3); }

/* ---------- verdict ---------- */
.verdict { padding: 18px 20px; border-radius: var(--r-input); background: var(--paper-2); border: 1px solid var(--line); }
.rate-card .verdict { background: var(--paper); }
.verdict .chip { margin-bottom: 10px; }
.verdict-head { font-size: var(--t-lg); font-weight: var(--w-head); letter-spacing: var(--tr-snug); line-height: 1.25; color: var(--ink); }
.verdict-body { margin-top: 6px; font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2); }
.verdict-body .num { color: var(--ink); }

/* ---------- lender strip ---------- */
.lenders { border-block: 1px solid var(--line); padding-block: 26px; }
.lenders-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lenders-inner .label { flex: none; max-width: 190px; line-height: 1.5; }
.lender-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lender-list li { padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--t-sm); font-weight: var(--w-ui); color: var(--ink-2); }
.lender-list li.is-more { border-style: dashed; color: var(--ink-3); }

/* ---------- section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--single { display: block; max-width: 720px; }
.section-head p { padding-bottom: 8px; }

/* ---------- services grid (home) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--line); gap: 1px; }
.service-card { display: flex; flex-direction: column; min-height: 220px; padding: 32px 28px 28px; background: var(--paper); transition: background-color var(--d-2) var(--ease); }
.service-card:hover { background: var(--paper-2); }
.service-card .num { font-size: var(--t-xs); color: var(--ink-3); margin-bottom: 18px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: var(--t-sm); line-height: 1.55; flex: 1; }
.service-card .link-arrow { margin-top: 20px; }

/* ---------- intent cards ---------- */
.intent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.intent-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.intent-card h3 { margin-bottom: 14px; }
.intent-answer { padding: 14px 0; border-block: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.5; color: var(--ink-2); min-height: 74px; }
.intent-answer .num { display: block; font-size: var(--t-lg); color: var(--ink); margin-bottom: 2px; }
.intent-links { margin-top: 8px; flex: 1; }
.intent-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: var(--t-sm); font-weight: var(--w-ui); color: var(--ink); }
.intent-links li:last-child a { border-bottom: 0; }
.intent-links a::after { content: '→'; color: var(--ink-3); transition: transform var(--d-2) var(--ease), color var(--d-1) var(--ease); }
.intent-links a:hover::after { transform: translateX(4px); color: var(--ink); }
.numbers-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 24px; font-size: var(--t-sm); color: var(--ink-3); }

/* ---------- broker section ---------- */
.broker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--paper-3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--empty { background: repeating-linear-gradient(135deg, var(--paper-3) 0 14px, #E4DFD7 14px 15px); }
.portrait-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: var(--r-input); background: var(--paper); font-size: var(--t-sm); line-height: 1.45; color: var(--ink-3); }
.portrait-caption strong { display: block; }
.portrait-flag { position: absolute; top: 16px; left: 16px; font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-3); background: var(--paper); padding: 4px 10px; border-radius: var(--r-pill); }
.broker h2 { margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.stat { padding: 22px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat .num { font-size: var(--t-xl); color: var(--ink); line-height: 1.1; }
.stat p { margin-top: 6px; font-size: var(--t-sm); line-height: 1.45; color: var(--ink-3); }
.broker .btn-row { margin-top: 32px; }

/* ---------- review ---------- */
.review { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.review blockquote p { font-size: var(--t-xl); line-height: 1.35; letter-spacing: var(--tr-snug); color: var(--ink); }
.review blockquote p::before { content: '“'; }
.review blockquote p::after { content: '”'; }
.review-who { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: var(--t-sm); color: var(--ink-3); }
.review-who strong { display: block; font-size: var(--t-base); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-3); display: grid; place-items: center; font-size: var(--t-sm); font-weight: var(--w-head); color: var(--ink); flex: none; }
.score { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.score .num { font-size: var(--t-num); line-height: 1; color: var(--ink); }
.score-stars { margin: 10px 0 4px; letter-spacing: var(--tr-caps); color: var(--ink); }
.score p { font-size: var(--t-sm); color: var(--ink-3); }
.score .link-arrow { margin-top: 16px; }

/* ---------- closing band with the dog on the line ---------- */
.cta-band { text-align: center; padding-block: var(--band) 0; background: var(--paper-2); overflow: hidden; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p:not(.eyebrow) { max-width: 36em; margin: 0 auto 28px; font-size: var(--t-md); }
.cta-band .btn-row { justify-content: center; }
.dash-line { position: relative; margin-top: clamp(40px, 6vw, 72px); height: 96px; }
.dash-line::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); }
.dog { display: block; aspect-ratio: 277 / 110; background-color: currentColor; -webkit-mask: url('../img/dash-dog.svg') center / contain no-repeat; mask: url('../img/dash-dog.svg') center / contain no-repeat; }
.dash-line .dog { position: absolute; bottom: 0; left: 62%; width: 232px; color: var(--ink); }

/* ---------- page header ---------- */
.page-header { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-header-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 80px); align-items: end; }
.page-header .lead { padding-bottom: 8px; }
.page-header--tool { border-bottom: 0; padding-bottom: 8px; }

/* ---------- prose ---------- */
.prose { font-size: var(--t-base); line-height: 1.7; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: var(--t-lg); letter-spacing: var(--tr-snug); line-height: 1.3; margin-top: 40px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose--large { font-size: var(--t-md); }

/* ---------- about ---------- */
.anton-card { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-card); background: var(--paper-2); border: 1px solid var(--line); }
.anton-card h2 { font-size: var(--t-xl); letter-spacing: var(--tr-snug); margin-bottom: 8px; }
.anton-card .label { display: block; margin-bottom: 18px; }
.anton-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: var(--t-sm); }
.belief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.belief { padding: 28px 0; border-top: 1.5px solid var(--ink); }
.belief .label { display: block; margin-bottom: 12px; }
.belief h3 { margin-bottom: 8px; }
.belief p { font-size: var(--t-sm); line-height: 1.6; }
.center-cta { text-align: center; }
.center-cta p { margin: 12px auto 28px; max-width: 32em; }

/* ---------- services page ---------- */
.services-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.services-index { position: sticky; top: calc(var(--header-h) + 32px); }
.services-index a { display: flex; align-items: baseline; gap: 12px; min-height: 40px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); font-weight: var(--w-ui); color: var(--ink-3); transition: color var(--d-1) var(--ease); }
.services-index a:hover, .services-index a.is-active { color: var(--ink); }
.services-index a.is-active .num { color: var(--sage-ink); }
.services-index .num { font-size: var(--t-xs); }
.service-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block .num { display: block; font-size: var(--t-sm); color: var(--ink-3); margin-bottom: 14px; }
.service-block h2 { font-size: var(--t-xl); letter-spacing: var(--tr-snug); margin-bottom: 14px; }
.service-block .lead { font-size: var(--t-md); color: var(--ink); }
.service-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.service-block .btn { margin-top: 28px; }

/* ---------- tools index ---------- */
.tool-group + .tool-group { margin-top: clamp(40px, 5vw, 64px); }
.tool-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.tool-group-head h2 { font-size: var(--t-xl); letter-spacing: var(--tr-snug); }
.tool-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 24px; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding var(--d-2) var(--ease), background-color var(--d-2) var(--ease); }
.tool-row:hover { background: var(--paper-2); padding-inline: 16px; }
.tool-row h3 { margin-bottom: 4px; }
.tool-row p { font-size: var(--t-sm); line-height: 1.5; color: var(--ink-3); }
.tool-preview { font-size: var(--t-sm); color: var(--ink-2); }
.tool-preview .num { display: block; font-size: var(--t-md); color: var(--ink); }
.tool-row-arrow { color: var(--ink-3); transition: transform var(--d-2) var(--ease), color var(--d-1) var(--ease); }
.tool-row:hover .tool-row-arrow { transform: translateX(4px); color: var(--ink); }

/* ---------- tool pages ---------- */
.breadcrumb { display: flex; align-items: center; gap: 10px; padding-top: 20px; font-size: var(--t-sm); color: var(--ink-3); }
.breadcrumb a { color: var(--ink); font-weight: var(--w-ui); min-height: 44px; display: inline-flex; align-items: center; }
.tool-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--paper); }
.tool-card--even { grid-template-columns: 1fr 1fr; }
.tool-inputs { padding: clamp(20px, 3vw, 32px); background: var(--paper-2); border-right: 1px solid var(--line); }
.tool-inputs > h2 { font-size: var(--t-xs); font-weight: var(--w-ui); letter-spacing: var(--tr-caps); text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; line-height: 1.4; }
.tool-results { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.figure .label { display: block; margin-bottom: 8px; }
.figure-value { word-spacing: -0.25em; font-family: var(--mono); font-weight: var(--w-ui); font-size: var(--t-num); line-height: 1.05; letter-spacing: var(--tr-num); color: var(--ink); overflow-wrap: anywhere; }
.figure-value .unit { font-size: .42em; letter-spacing: 0; color: var(--ink-3); margin: 0 .35em 0 .15em; }
.figure-sub { margin-top: 10px; font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.figure .chip { margin-bottom: 12px; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-input); }
.stat-strip > div { padding: 16px 18px; min-width: 0; }
.stat-strip > div + div { border-left: 1px solid var(--line); }
.stat-strip .label { display: block; margin-bottom: 6px; }
.stat-strip .num { font-size: var(--t-lg); color: var(--ink); overflow-wrap: anywhere; }
.stat-strip p { margin-top: 4px; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.45; }
.tool-disclaimer { margin-top: 18px; max-width: 64em; font-size: var(--t-xs); line-height: 1.6; color: var(--ink-3); }

.chart-box { border: 1px solid var(--line); border-radius: var(--r-input); padding: 18px 18px 12px; }
.chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.chart-head h3 { font-size: var(--t-sm); font-weight: var(--w-head); letter-spacing: 0; }
.chart { position: relative; height: 260px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart text { font-family: var(--mono); font-size: var(--t-xs); fill: var(--ink-3); }
.chart .end-label { font-family: var(--sans); font-size: var(--t-xs); font-weight: var(--w-ui); fill: var(--ink); }
.chart-tip { position: absolute; top: 8px; pointer-events: none; min-width: 176px; padding: 10px 12px; border-radius: var(--r-input); background: var(--ink); color: var(--on-night); font-size: var(--t-xs); line-height: 1.5; opacity: 0; transition: opacity var(--d-1) var(--ease); z-index: 2; }
.chart-tip.is-on { opacity: 1; }
.chart-tip .tip-title { color: var(--on-night-2); margin-bottom: 4px; }
.chart-tip .tip-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.chart-tip .tip-row .num { font-size: var(--t-sm); }
.chart-tip .key { display: inline-block; width: 12px; height: 2px; border-radius: 1px; margin-right: 6px; vertical-align: middle; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: var(--t-xs); color: var(--ink-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 16px; height: 2px; border-radius: 1px; }
.key--now { background: var(--coral); }
.key--new { background: var(--chart-new); }
.key--gap { background: var(--on-night-2); }
.live-line { font-size: var(--t-sm); color: var(--ink-3); }
.live-line .num { color: var(--ink); }
.period-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.table-view { margin-top: 10px; font-size: var(--t-xs); color: var(--ink-3); }
.table-view summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.table-view table { width: 100%; margin-top: 8px; border-collapse: collapse; font-family: var(--mono); }
.table-view th, .table-view td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); font-weight: var(--w-text); }
.table-view th { font-family: var(--sans); font-weight: var(--w-ui); color: var(--ink-2); }
.table-view th:first-child, .table-view td:first-child { text-align: left; }

.segmented { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--paper-2); border: 1px solid var(--line); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 8px 16px; border-radius: var(--r-pill); font-size: var(--t-sm); font-weight: var(--w-ui); color: var(--ink-3); transition: background-color var(--d-1) var(--ease), color var(--d-1) var(--ease); }
.segmented input:checked + span { background: var(--ink); color: var(--on-night); }
.segmented input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 116px; align-items: center; gap: 14px; font-size: var(--t-sm); }
.bar-track { height: 24px; border-radius: 0 var(--r-mark) var(--r-mark) 0; background: var(--paper-2); }
.bar-fill { height: 100%; border-radius: 0 var(--r-mark) var(--r-mark) 0; transition: width var(--d-3) var(--ease); }
.bar-fill--now { background: var(--coral); }
.bar-fill--new { background: var(--chart-new); }
.bar-row .num { text-align: right; color: var(--ink); }

.breakdown { border-top: 1px solid var(--line); }
.breakdown div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.breakdown .num { color: var(--ink); }

.tool-sticky { display: none; }

.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.how-grid h2 { font-size: var(--t-xl); letter-spacing: var(--tr-snug); margin-bottom: 16px; }
.how-grid .label { display: block; margin-bottom: 4px; }
.how-grid .assumptions { margin-top: 12px; }
.assumptions { margin-top: 20px; border-top: 1px solid var(--line); }
.assumptions li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.55; }
.assumptions li::before { content: ''; width: 14px; height: 1.5px; margin-top: .72em; background: var(--ink-3); flex: none; }

.next-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--night); color: var(--on-night-2); }
.next-step h2 { color: var(--on-night); font-size: var(--t-xl); letter-spacing: var(--tr-snug); margin-bottom: 6px; }
.next-step p { font-size: var(--t-sm); max-width: 44em; }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; }
.pager a { display: flex; flex-direction: column; gap: 2px; min-height: 48px; justify-content: center; color: var(--ink); font-weight: var(--w-ui); }
.pager a span { font-size: var(--t-xs); letter-spacing: var(--tr-caps); text-transform: uppercase; color: var(--ink-3); font-weight: var(--w-ui); }
.pager a:last-child { text-align: right; }

/* ---------- quiz ---------- */
.quiz { max-width: 760px; margin-inline: auto; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.quiz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; min-height: 44px; }
.quiz-track { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--paper-3); overflow: hidden; }
.quiz-fill { height: 100%; background: var(--ink); border-radius: var(--r-pill); transition: width var(--d-3) var(--ease); }
.quiz-back { min-height: 44px; padding-right: 8px; font-size: var(--t-sm); font-weight: var(--w-ui); color: var(--ink); }
.quiz-question { font-size: var(--t-xl); line-height: 1.2; letter-spacing: var(--tr-snug); color: var(--ink); margin-bottom: 24px; }
.quiz-question:focus { outline: none; }
.quiz-options { display: grid; gap: 10px; }
.quiz-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 18px; text-align: left; border: 1px solid var(--line-2); border-radius: var(--r-input); font-size: var(--t-base); font-weight: var(--w-ui); color: var(--ink); background: var(--paper); transition: border-color var(--d-1) var(--ease), background-color var(--d-1) var(--ease); }
.quiz-opt:hover { border-color: var(--ink); background: var(--paper-2); }
.quiz-opt .num { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: var(--t-xs); color: var(--ink-3); flex: none; }
.quiz-result { text-align: center; }
.quiz-result h2 { font-size: var(--t-2xl); margin: 14px 0 12px; }
.quiz-result p { max-width: 34em; margin: 0 auto 24px; }
.quiz-result .btn-row { justify-content: center; }

/* ---------- budget ---------- */
.budget { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); }
.budget h2 { font-size: var(--t-xl); letter-spacing: var(--tr-snug); margin-bottom: 12px; }
.ticks { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink); }
.ticks li::before { content: '✓'; color: var(--sage-ink); font-weight: var(--w-head); }
.budget-mock { padding: 22px; border-radius: var(--r-input); background: var(--paper); border: 1px solid var(--line); }
.budget-mock-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: var(--t-sm); font-weight: var(--w-head); color: var(--ink); }
.budget-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.budget-mock-grid div { padding: 14px; border-radius: var(--r-input); background: var(--paper-2); }
.budget-mock-grid .num { display: block; margin-top: 4px; font-size: var(--t-lg); color: var(--ink); }

/* ---------- contact ---------- */
.numbers-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px 20px; border-radius: var(--r-input); background: var(--sage-tint); font-size: var(--t-sm); color: var(--ink); margin-bottom: 20px; }
.numbers-strip .num { font-size: var(--t-base); }
.numbers-strip button { margin-left: auto; font-size: var(--t-xs); text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); min-height: 32px; }
.booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card); background: var(--night); color: var(--on-night-2); }
.booking h2 { color: var(--on-night); margin-bottom: 14px; }
.booking .eyebrow { color: var(--on-night-2); }
.booking-points { margin-top: 24px; }
.booking-points li { display: flex; gap: 12px; padding: 7px 0; font-size: var(--t-sm); color: var(--on-night); }
.booking-points li::before { content: '✓'; color: var(--sage-on-night); }
.booking-card { background: var(--paper); color: var(--ink-2); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); min-width: 0; }
.booking-card h3 { margin-bottom: 4px; }
.booking-card iframe { width: 100%; min-height: 620px; border: 0; }
.booking-card fieldset { border: 0; margin-top: 20px; }
.booking-card legend { margin-bottom: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 8px 6px; text-align: center; border: 1px solid var(--line-2); border-radius: var(--r-input); font-size: var(--t-sm); font-weight: var(--w-ui); color: var(--ink); line-height: 1.3; transition: border-color var(--d-1) var(--ease), background-color var(--d-1) var(--ease), color var(--d-1) var(--ease); }
.choice small { font-size: var(--t-xs); font-weight: var(--w-text); color: var(--ink-3); }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-night); }
.choice input:checked + span small { color: var(--on-night-2); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.booking-card .field-row { margin-top: 20px; }
.booking-alt { margin-top: 14px; text-align: center; font-size: var(--t-sm); color: var(--ink-3); }
.booking-done { text-align: center; padding: 32px 8px; }
.booking-done h3 { margin: 14px 0 8px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); min-width: 0; transition: border-color var(--d-1) var(--ease); }
a.contact-card:hover { border-color: var(--ink); }
.contact-card .label { display: block; margin-bottom: 12px; }
.contact-card-value { font-size: var(--t-md); font-weight: var(--w-head); color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.contact-card p { margin-top: 8px; font-size: var(--t-sm); line-height: 1.5; color: var(--ink-3); }
.form-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); margin-top: 16px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card); background: var(--paper-2); border: 1px solid var(--line); }
.form-panel h2 { margin-bottom: 16px; }
.form-privacy { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--t-xs); line-height: 1.6; color: var(--ink-3); }
.form-status { font-size: var(--t-sm); line-height: 1.5; min-height: 1px; }
.form-status.is-ok { padding: 12px 14px; border-radius: var(--r-input); background: var(--sage-tint); color: var(--sage-ink); }
.form-status.is-err { padding: 12px 14px; border-radius: var(--r-input); background: var(--coral-tint); color: var(--coral-ink); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 16px 0; text-align: left; font-size: var(--t-md); font-weight: var(--w-head); letter-spacing: var(--tr-snug); color: var(--ink); }
.faq-q::after { content: '+'; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: var(--t-base); font-weight: var(--w-text); color: var(--ink-3); transition: transform var(--d-2) var(--ease); }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-2) var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 44px 22px 0; max-width: 62em; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item h3 { font-size: inherit; letter-spacing: 0; line-height: inherit; }
.faq-a { visibility: hidden; transition: grid-template-rows var(--d-2) var(--ease), visibility 0s linear var(--d-2); }
.faq-item.is-open .faq-a { visibility: visible; transition: grid-template-rows var(--d-2) var(--ease), visibility 0s; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); padding-block: clamp(48px, 6vw, 72px) 32px; font-size: var(--t-sm); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
.footer-logo { width: 108px; filter: invert(1) brightness(2); }
.footer-tagline { margin-top: 16px; max-width: 24em; line-height: 1.6; }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.footer-socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--night-line); border-radius: 50%; color: var(--on-night); transition: border-color var(--d-1) var(--ease); }
.footer-socials a:hover { border-color: var(--on-night); }
.footer-col h2 { font-size: var(--t-xs); font-weight: var(--w-ui); letter-spacing: var(--tr-caps); text-transform: uppercase; color: var(--on-night); margin-bottom: 12px; line-height: 1.4; }
.footer-col li { line-height: 1.5; }
.footer-col a, .footer-col address { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-night-2); font-style: normal; transition: color var(--d-1) var(--ease); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--on-night); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: var(--t-xs); line-height: 1.7; }
.footer-legal p + p { margin-top: 14px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--on-night); }

.mobile-bar { display: none; }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.lost .dog { width: 200px; margin: 0 auto 28px; color: var(--ink); }
.lost p { margin: 14px auto 28px; max-width: 30em; }
.lost .btn-row { justify-content: center; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--d-3) var(--ease), transform var(--d-3) var(--ease); }
.reveal.is-in, html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- pitch helper: add ?placeholders=1 to any URL to outline what still needs real data ---------- */
html.show-placeholders [data-placeholder] { outline: 2px dashed #C98A00; outline-offset: 4px; position: relative; }
html.show-placeholders [data-placeholder]::after { content: 'to confirm: ' attr(data-placeholder); position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; padding: 2px 8px; border-radius: var(--r-mark); background: #C98A00; color: #fff; font: 500 11px/1.5 var(--sans); letter-spacing: 0; text-transform: none; white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .intent-grid { grid-template-columns: 1fr; }
  .intent-answer { min-height: 0; }
  .broker { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
  .tool-card, .tool-card--even { grid-template-columns: 1fr; }
  .tool-inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .tool-inputs .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .services-layout { grid-template-columns: 1fr; }
  .services-index { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .rate-card { max-width: 620px; }
  .section-head, .page-header-grid, .review, .how-grid, .booking, .form-panel, .budget { grid-template-columns: 1fr; }
  .section-head { gap: 16px; align-items: start; }
  .page-header-grid { gap: 20px; align-items: start; }
  .anton-card { grid-template-columns: 1fr; }
  .anton-card .portrait { max-width: 320px; order: -1; }
  .contact-cards { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 16px; }
  .tool-row { grid-template-columns: minmax(0, 1fr) 24px; }
  .tool-preview { grid-column: 1; grid-row: 2; }
  .tool-row-arrow { grid-row: 1 / span 2; align-self: center; }
  .next-step { grid-template-columns: 1fr; }

  /* sticky one-line result while the inputs are on screen */
  .tool-sticky {
    position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 90;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter); background: var(--ink); color: var(--on-night);
    font-size: var(--t-sm); line-height: 1.35;
    transform: translateY(-110%); transition: transform var(--d-2) var(--ease);
  }
  .tool-sticky.is-on { transform: none; }
  .tool-sticky .num { font-size: var(--t-base); flex: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --header-h: 68px; }
  .site-nav, .site-header .site-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { align-items: flex-start; }
  .lenders-inner { gap: 14px; }
  .lenders-inner .label { max-width: none; flex: 1 1 100%; }
  .review blockquote p { font-size: var(--t-lg); }

  /* services become compact rows */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
  .service-card .num { display: none; }
  .service-card h3 { font-size: var(--t-md); margin-bottom: 2px; grid-column: 1; }
  .service-card p { grid-column: 1; font-size: var(--t-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .service-card .link-arrow { grid-column: 2; grid-row: 1 / span 2; margin: 0; gap: 0; }
  .service-card .link-arrow span { display: none; }
  .service-card .link-arrow::after { font-size: var(--t-md); color: var(--ink-3); }

  .broker { grid-template-columns: 1fr; }
  .broker .portrait { max-width: 300px; }
  .stat .num { font-size: var(--t-lg); }
  .belief-grid { grid-template-columns: 1fr; }

  .tool-inputs .fields { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stat-strip > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; }
  .stat-strip .label { margin: 0; }
  .stat-strip p { grid-column: 1 / -1; margin: 0; }
  .chart { height: 220px; }
  .bar-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-card .field-row { grid-template-columns: 1fr; }
  .faq-a p { padding-right: 0; }
  .dash-line { height: 72px; }
  .dash-line .dog { width: 168px; left: 46%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-col--wide { grid-column: 1 / -1; }
  .footer-col a, .footer-col address { min-height: 44px; }
  .site-footer { padding-bottom: calc(32px + 76px); }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .mobile-bar .btn { min-height: 48px; padding-inline: 12px; }
  html.nav-open .mobile-bar { display: none; }

  /* tap targets */
  .rate-card-actions { flex-direction: column; align-items: flex-start; gap: 0; margin-top: 10px; }
  .rate-card-actions .link-arrow, .numbers-note .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  .service-tools a.chip { min-height: 44px; padding-inline: 16px; }
  .footer-legal a { display: inline-block; padding-block: 12px; }
}

@media (max-width: 380px) {
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .rate-card-sub { grid-template-columns: 1fr; }
  .rate-card-sub .field + .field { border-left: 0; border-top: 1px solid var(--line); }
}

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

@media print {
  .site-header, .mobile-bar, .site-footer, .cta-band, .tool-sticky { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- small spacing rules kept out of the markup ---------- */
.h-xl + .prose { margin-top: 24px; }
.tool-group ~ .stamp { margin-top: 24px; }
.contact-box { padding: 20px 22px; border-radius: var(--r-input); background: var(--paper-2); border: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.8; }
.contact-box .label { margin-bottom: 8px; }
.tool-disclaimer--center { text-align: center; margin-inline: auto; }
.table-view { overflow-x: auto; }
@media (max-width: 480px) {
  .period-row { flex-direction: column; align-items: stretch; }
  .segmented { display: flex; }
  .segmented label { flex: 1; text-align: center; }
  .segmented span { padding-inline: 4px; }
  .table-view th, .table-view td { padding-inline: 4px; }
}

@media (min-width: 1025px) {
  .tool-card--even .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; align-items: start; }
}

/* ---------- Look 1 · the green brought back (11 Oct 2026)
   Sage-ink as the brand accent on the hero's second line, eyebrows and their rule, arrow links,
   the 30+ figure, the active nav item and the rate check label. Buttons stay ink. Coral stays for
   costs. Same rules as LOOK1 in sources/sunday-pack/themes.py. Delete this block to go back to v3.1. */
.eyebrow { color: var(--sage-ink); }
.eyebrow::before { background: var(--sage); }
.hero-title .mono-line { color: var(--sage-ink); }
.link-arrow { color: var(--sage-ink); }
.hero-trust .num { color: var(--sage-ink); }
.site-nav a[aria-current="page"] { color: var(--sage-ink); }
.rate-card .label { color: var(--sage-ink); }
