/* Drivix Digital: site styles. No framework. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/league-spartan-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/league-spartan-latin-700-normal.woff2") format("woff2"); }
/* Metric-matched fallback to reduce layout shift while the heading font loads */
@font-face { font-family: "LS Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 92%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --navy: #050A30;
  --ink: #050A30;
  --body: #3A4566;
  --muted: #5B6685;
  --blue: #2147F3;
  --blue-dark: #1A39C7;
  --blue-soft: #8FA4FF;
  --tint: #EEF2FF;
  --bg-alt: #F5F7FB;
  --line: #E4E8F2;
  --field-line: #8A94B3;
  --white: #FFFFFF;
  --on-dark: #C9D3F2;
  --danger: #C9262C;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "League Spartan", "LS Fallback", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(5, 10, 48, 0.04), 0 8px 24px rgba(5, 10, 48, 0.06);
  --shadow-lift: 0 16px 40px rgba(5, 10, 48, 0.12);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 112px);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--blue-dark); } }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; color: inherit; letter-spacing: -0.015em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible { outline-color: var(--blue-soft); }
.section-dark a:not(.btn) { color: var(--blue-soft); }
@media (hover: hover) and (pointer: fine) { .section-dark a:not(.btn):hover { color: var(--white); } }

/* Justified body copy (house rule). Hyphenation keeps word gaps even. */
.nav-reassure { display: none; }
.lead, .hero-lead, .card p, .promise p, .step p, .founder-copy p, .faq-item p, .faq-intro p,
.price-panel-term, .pt-row p, .note-card p, .person-card p, .prose p, .prose li,
.footer-brand p, .city-card .city-line, .footer-legal, .area-note, .city-links, .check-field span, .local-cols p, .service-text, .flow-node p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 2;
  text-wrap: pretty;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Type scale ---------- */
.h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; }
.h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.2; }
.h4 { font-size: 21px; line-height: 1.25; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 17px; line-height: 1.7; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
  border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(33, 71, 243, 0.28); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--blue-dark); color: var(--white); } }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); color: var(--white); } }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--field-line); }
@media (hover: hover) and (pointer: fine) { .btn-outline:hover { border-color: var(--blue); color: var(--blue); } }
.btn-block { width: 100%; }
.btn .icon, .text-link .icon { transition: transform 200ms var(--ease-out); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row-center { justify-content: center; }
.btn-wide { min-width: 280px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.section-dark .text-link-light { color: var(--blue-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid transparent; transition: transform 240ms var(--ease-out), border-color 200ms ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(5, 10, 48, 0.05); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 28px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 8px;
  font: 600 15px/1.2 var(--font-body); color: var(--body); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav-link:hover { color: var(--ink); background: var(--bg-alt); } }
.nav-sub-toggle .icon { transition: transform 200ms var(--ease-out); }
.has-sub { position: relative; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift);
  padding: 8px; opacity: 0; visibility: hidden;
  transform-origin: top left; transform: translateY(-4px) scale(0.97);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 180ms;
}
.nav-sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .nav-sub a:hover { background: var(--tint); color: var(--blue); } }
.has-sub.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .nav-sub-toggle .icon { transform: rotate(180deg); }

.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

@media (max-width: 1080px) and (min-width: 961px) {
  .nav-link { padding: 10px 9px; font-size: 14px; }
  .site-nav { gap: 16px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .header-inner { padding-block: 14px; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 16px; }
  html:not(.js) .nav-list { flex-direction: column; align-items: stretch; }
  html:not(.js) .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
  html.js:not(.nav-ready) .site-nav { display: none; }
  html.js:not(.nav-ready) .nav-toggle { visibility: hidden; }
  .nav-ready .site-nav {
    position: fixed; top: 76px; left: 0; right: 0; height: calc(100dvh - 76px); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 24px var(--gutter) 40px; background: var(--white); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 220ms var(--ease-drawer), transform 260ms var(--ease-drawer), visibility 260ms;
  }
  .nav-ready .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 18px; color: var(--ink); border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-sub { position: static; display: grid; grid-template-rows: repeat(5, 0fr); opacity: 0; visibility: hidden; transform: none; box-shadow: none; border: 0; padding: 0; min-width: 0; overflow: hidden; transition: grid-template-rows 220ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s linear 220ms; }
  .nav-sub > li { min-height: 0; overflow: hidden; }
  .has-sub.is-open .nav-sub { grid-template-rows: repeat(5, 1fr); opacity: 1; visibility: visible; transition-delay: 0s; }
  html:not(.js) .nav-sub { grid-template-rows: repeat(5, 1fr); opacity: 1; visibility: visible; }
  .nav-sub a { padding: 12px 8px; font-size: 16px; }
  .nav-cta { width: 100%; min-height: 56px; font-size: 16px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--bg-alt); }
.section-dark {
  color: var(--white);
  background-color: var(--navy);
  background-image:
    radial-gradient(900px 480px at 85% -10%, rgba(33, 71, 243, 0.35), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 14px; flex: 1 1 520px; }
.section-head.split > .lead { flex: 1 1 360px; max-width: 480px; }
.section-head.split > .text-link { flex: 0 0 auto; }

/* ---------- Home hero ---------- */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 72px); align-items: center; padding-block: clamp(64px, 9vw, 112px); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(33, 71, 243, 0.22); border: 1px solid rgba(143, 164, 255, 0.45); color: #D6DEFF; font-size: 13px; font-weight: 600; line-height: 1.4; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-soft); flex-shrink: 0; }
.hero-title { font-size: clamp(40px, 4.6vw, 58px); line-height: 1.03; letter-spacing: -0.025em; }
.accent { color: var(--blue-soft); }
.hero-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; color: var(--on-dark); max-width: 34em; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 4px; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--on-dark); }
.trust-list .icon { color: var(--blue-soft); }

.hero-visual { display: flex; justify-content: center; }
.audit-card { margin: 0; width: 100%; max-width: 470px; background: var(--white); color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 40px 90px rgba(0, 3, 25, 0.55); display: flex; flex-direction: column; gap: 18px; }
.audit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.audit-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.audit-title { font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.25; }
.audit-badge { flex-shrink: 0; background: var(--tint); color: var(--blue); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.audit-list { display: flex; flex-direction: column; gap: 10px; }
.audit-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); background: var(--bg-alt); box-shadow: inset 3px 0 0 var(--sev, var(--line)); }
.audit-item strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.audit-num { flex: 0 0 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--white); font-size: 13px; font-weight: 700; background: var(--sev); }
.is-high { --sev: #C9262C; }
.is-mid  { --sev: #9A5C00; }
.is-ok   { --sev: #0E7A4B; }
.audit-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.audit-note { font-weight: 600; color: var(--ink); }

/* ---------- Facts strip ---------- */
.facts { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-row li { display: flex; flex-direction: column; gap: 4px; padding: 28px 24px; }
.facts-row li:first-child { padding-left: 0; }
.facts-row li + li { border-left: 1px solid var(--line); }
.fact-value { font-family: var(--font-head); font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.fact-label { font-size: 14px; color: var(--muted); }

/* ---------- Cards ---------- */
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 200ms ease, transform 250ms var(--ease-out);
}
.card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: var(--shadow-lift); opacity: 0; pointer-events: none; transition: opacity 250ms var(--ease-out); }
.card p { color: var(--body); font-size: 16px; line-height: 1.7; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #EEF2FF, #DCE3FF); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Promises (dark band) ---------- */
.eyebrow-light { color: var(--blue-soft); }
.promise-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promise { display: flex; flex-direction: column; gap: 14px; padding: 8px 40px 8px 0; }
.promise + .promise { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.promise-num { font-family: var(--font-head); font-size: 56px; font-weight: 700; line-height: 1; color: var(--blue-soft); letter-spacing: -0.02em; }
.promise .h4 { font-size: 24px; }
.promise p { color: var(--on-dark); font-size: 16px; line-height: 1.7; max-width: 46ch; }
/* Four promises sit in a 2 by 2 grid so each line keeps a comfortable length */
.promise-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
.promise-row-4 .promise, .promise-row-4 .promise + .promise { padding: 32px 48px 32px 0; border-left: 0; }
.promise-row-4 .promise:nth-child(even) { padding: 32px 0 32px 48px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.promise-row-4 .promise:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.promise-row-4 .promise:nth-child(-n+2) { padding-top: 0; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-grid > li { display: flex; }
.service-grid .service-card { width: 100%; }
.service-card { text-decoration: none; color: var(--ink); justify-content: space-between; }

.service-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tag { flex-shrink: 0; margin-top: 2px; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.service-card .price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--ink); }
.service-card.is-featured .price { color: var(--white); }
.price-amount { font-family: var(--font-head); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.price-from, .price-per { font-size: 15px; color: var(--muted); }
.service-card.is-featured { background: var(--navy); border-color: var(--navy); color: var(--white); }

.service-card.is-featured .service-text { color: var(--on-dark); }
.service-card.is-featured .price-per { color: var(--on-dark); }
.tag-light { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: var(--on-dark); }

/* ---------- Steps (timeline) ---------- */
.step-row { --gap: 48px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
/* Connector from each step circle to the next */
.step:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 72px; right: calc(16px - var(--gap)); height: 2px; background: linear-gradient(90deg, var(--blue), #C9D3F7); transform-origin: left center; }
.step-num { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-head); font-size: 22px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--bg-alt); }
.section:not(.section-tint) .step-num { box-shadow: 0 0 0 8px var(--white); }
.step .h4 { margin-top: 8px; }
.step p { color: var(--body); font-size: 16px; line-height: 1.7; }
.step-when { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue) !important; margin-top: 6px; text-align: left !important; }
.step-when + .h4 { margin-top: 0; }
.step-row-4 { --gap: 64px; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
.step-row-4 .step:nth-child(2)::after { display: none; }
.step-row-4 .step p:not(.step-when) { max-width: 52ch; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.founder-photo { position: relative; margin: 0; max-width: 460px; }
.founder-photo img { width: 100%; background: var(--bg-alt); border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(5, 10, 48, 0.18); }
.founder-tag { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lift); font-size: 13px; color: var(--muted); }
.founder-tag strong { font-family: var(--font-head); font-size: 18px; color: var(--ink); }
.founder-copy { display: flex; flex-direction: column; gap: 20px; }
.founder-copy p:not(.eyebrow) { font-size: 17px; line-height: 1.75; color: var(--body); }
.founder-copy .text-link { align-self: flex-start; }
.signature { font-family: var(--font-head); font-size: 20px !important; font-weight: 700; color: var(--ink) !important; text-align: left !important; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-list li { font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-intro { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 108px; }
.faq-intro p:not(.eyebrow) { color: var(--body); font-size: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color 200ms ease; }
.faq-item[open] { border-color: #C9D3F7; box-shadow: var(--shadow-card); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; line-height: 1.4; border-radius: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; transition: transform 220ms var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body p { padding: 0 26px 24px; color: var(--body); font-size: 16px; line-height: 1.7; }

/* ---------- CTA ---------- */
.cta-inner { max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding-block: clamp(72px, 9vw, 112px); }
.cta-inner .hero-lead { text-align: justify; text-align-last: center; max-width: 620px; }
.cta-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--white); font-weight: 600; font-size: 15px; }
.cta-checks li { display: inline-flex; align-items: center; gap: 8px; }
.cta-checks .icon { color: var(--blue-soft); }
.cta-inner .btn-row { margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-brand img { height: 22px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 15px; color: var(--body); }
.footer-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--body); text-decoration: none; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--blue); text-decoration: underline; } }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--muted); }

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.page-hero-inner.has-aside { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); }
.page-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.page-hero-copy .hero-lead { max-width: 600px; }
.page-title { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.025em; max-width: 18ch; }
.has-aside .page-title { font-size: clamp(36px, 4.4vw, 54px); }
.page-hero.is-compact .page-hero-inner { padding-block: clamp(48px, 6vw, 72px) clamp(40px, 5vw, 56px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-dark); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, 0.35); }
.section-dark .crumbs a { color: var(--on-dark); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .section-dark .crumbs a:hover { color: var(--white); text-decoration: underline; } }
.crumbs [aria-current] { color: var(--white); }

/* Service hero price card */
.hero-price { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 24px 48px rgba(0, 3, 25, 0.45); }
.hero-price .price-panel-label { color: var(--blue); }
.hero-price .price { display: flex; align-items: baseline; gap: 6px; }
.hero-price .price-amount { font-size: 48px; }
.hero-price .price-panel-term { color: var(--body); }
.hero-price-list { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero-price-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.hero-price-list .icon { color: var(--blue); flex-shrink: 0; }
.hero-price .text-link { color: var(--blue) !important; margin-top: 4px; }

.split-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-main { display: flex; flex-direction: column; gap: 16px; }

.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.check-grid li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-weight: 600; }
.check-grid-4 li { align-items: flex-start; flex-direction: column; gap: 14px; padding: 22px; min-height: 132px; line-height: 1.45; }
.check-dot { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); line-height: 1.6; }
.check-list strong { color: var(--ink); }

.price-panel { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius-lg); background: var(--navy); color: var(--white); box-shadow: 0 30px 60px rgba(5, 10, 48, 0.22); }
.price-panel-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-soft); }
.price-panel-term { color: var(--on-dark); font-size: 15px; line-height: 1.6; }

/* Pricing */
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: border-color 200ms ease; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: auto; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--body); }
.plan-list .icon { flex-shrink: 0; margin-top: 4px; color: var(--blue); }
.plan.is-featured { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 30px 60px rgba(5, 10, 48, 0.25); }
.plan.is-featured .plan-list li, .plan.is-featured .price-per { color: var(--on-dark); }
.plan.is-featured .plan-list .icon { color: var(--blue-soft); }
.plan-flag { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; }
.project-table { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pt-row { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.8fr) auto; gap: 24px; align-items: center; padding: 24px 28px; }
.pt-row + .pt-row { border-top: 1px solid var(--line); }
.pt-row p { color: var(--body); font-size: 15px; margin-top: 4px; }
.pt-price { display: flex; align-items: baseline; gap: 6px; }
.pt-price .price-amount { font-size: 30px; }

/* How we work: audit table */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.audit-table { width: 100%; border-collapse: collapse; text-align: left; }
.audit-table th, .audit-table td { padding: 20px 28px; vertical-align: top; }
.audit-table thead th { background: var(--bg-alt); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.audit-table tbody tr { border-top: 1px solid var(--line); }
.audit-table tbody th { font-weight: 700; width: 22%; }
.audit-table td { color: var(--body); }

/* About */
.facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts-list > div { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.facts-list dt { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts-list dd { margin: 0; font-weight: 600; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 108px; }
.note-card { padding: 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.note-card p { color: var(--body); font-size: 15px; }
.person-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.person-card img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--bg-alt); }
.person-card p { font-size: 15px; color: var(--body); line-height: 1.55; }
.person-card strong { color: var(--ink); }
.contact-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; }
.contact-list li + li { border-top: 1px solid var(--line); }
.contact-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); scroll-margin-top: 100px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid var(--field-line); border-radius: 12px;
  transition: border-color 160ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6685' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
@media (hover: hover) and (pointer: fine) { .field input:hover, .field select:hover, .field textarea:hover { border-color: #5E6A8F; } }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33, 71, 243, 0.18); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(201, 38, 44, 0.12); }
@media (hover: hover) and (pointer: fine) { .field [aria-invalid="true"]:hover { border-color: var(--danger); } }
.field [aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(201, 38, 44, 0.22); }
.field-error { font-size: 13px; color: #B3202A; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--body); line-height: 1.5; cursor: pointer; }
.check-field input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.check-field input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.form-alert:focus { outline: 3px solid var(--danger); outline-offset: 2px; }
.form-alert { padding: 14px 16px; border-radius: 12px; background: #FFF1F1; border: 1px solid #F3C2C4; color: #8A1C22; font-size: 15px; }
.form-foot { font-size: 13px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--white); }
.is-sending .btn-spinner { display: inline-block; animation: spin 700ms linear infinite; }
.is-sending { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Thank you */
.thanks .cta-inner { min-height: 60vh; justify-content: center; }
.thanks-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--blue); color: var(--white); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(33, 71, 243, 0.2); }
.thanks-steps { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.thanks-steps li { display: flex; align-items: center; gap: 14px; color: var(--on-dark); }
.thanks-steps span { flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: 14px; }

/* Legal prose: left-aligned with the hero, comfortable measure */
.legal { max-width: 760px; }
.prose { font-size: 17px; line-height: 1.75; color: var(--body); }
.prose h2 { font-size: 26px; color: var(--ink); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { hyphenate-limit-chars: 6 3 2; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.prose strong { color: var(--ink); }

/* Consent banner (only rendered when analytics is configured) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); font-size: 15px; color: var(--body); }
.consent p { flex: 1 1 260px; }
.consent-actions { display: flex; gap: 10px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-row li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .check-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-grid-4 li { min-height: 0; flex-direction: row; align-items: center; }
  .page-hero-inner.has-aside { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr); }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-content: center; }
  .page-hero-inner.has-aside { grid-template-columns: 1fr; }
  .page-hero-aside { max-width: 520px; }
  .card-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-row > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .promise-row { grid-template-columns: 1fr; }
  .promise, .promise + .promise { padding: 28px 0; border-left: 0; }
  .promise + .promise { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .promise-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-row-4 .promise, .promise-row-4 .promise + .promise { padding: 28px 32px 28px 0; border-top: 0; }
  .promise-row-4 .promise:nth-child(even) { padding: 28px 0 28px 32px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
  .promise-row-4 .promise:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .promise-row-4 .promise:nth-child(-n+2) { padding-top: 0; }
  .step-row, .step-row-4 { --gap: 36px; grid-template-columns: 1fr; row-gap: var(--gap); }
  .step:not(:last-child)::after, .step-row-4 .step:nth-child(2)::after { display: block; top: 56px; bottom: calc(12px - var(--gap)); left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), #C9D3F7); transform-origin: center top; }
  .step { padding-left: 68px; min-height: 44px; }
  .step-num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; font-size: 18px; box-shadow: 0 0 0 6px var(--bg-alt); }
  .section:not(.section-tint) .step-num { box-shadow: 0 0 0 6px var(--white); }
  .step .h4 { margin-top: 8px; }
  .step-when { margin-top: 10px; }
  .step-when + .h4 { margin-top: 0; }
  .step p { max-width: 60ch; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
  .faq { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .split-layout, .form-layout { grid-template-columns: 1fr; }
  .price-panel, .form-aside { position: static; }
  .audit-table thead { display: none; }
  .audit-table, .audit-table tbody, .audit-table tr, .audit-table th, .audit-table td { display: block; width: auto; }
  .audit-table tbody th { width: auto; padding: 20px 20px 6px; }
  .audit-table td { padding: 6px 20px; }
  .audit-table td:last-child { padding-bottom: 20px; }
  .audit-table td::before { content: attr(data-label) ": "; display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .pt-row { grid-template-columns: 1fr auto; }
  .pt-row > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .service-grid, .card-row, .check-grid, .check-grid-4, .plan-grid, .field-row, .facts-list { grid-template-columns: 1fr; }
  .card-row > :last-child:nth-child(odd) { grid-column: auto; }
  .card { padding: 24px; }
  .card p, .step p { font-size: 15px; }
  .pill { display: none; }
  .hero-lead { font-size: 16px; }
  .hero-copy { gap: 22px; }
  .btn-row .btn { width: 100%; }
  .btn-wide { min-width: 0; }
  .promise-num { font-size: 44px; }
  .promise-row-4 { grid-template-columns: 1fr; }
  .promise-row-4 .promise, .promise-row-4 .promise + .promise, .promise-row-4 .promise:nth-child(even) { padding: 28px 0; border-left: 0; }
  .promise-row-4 .promise + .promise { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .promise-row-4 .promise:first-child { padding-top: 0; }
  .fact-value { font-size: 22px; }
  .facts-row li { padding: 20px 14px; }
  .facts-row li:nth-child(odd) { padding-left: 0; }
  .audit-card, .hero-price { padding: 20px; }
  .audit-head { flex-direction: column; }
  .faq-item summary { padding: 18px 20px; font-size: 16px; }
  .faq-body p { padding: 0 20px 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .plan { padding: 24px; }
  .pt-row { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}

/* =====================================================================
   Motion system
   Entrances: strong ease-out. On-screen movement: ease-in-out.
   Only transform and opacity animate (height only for the FAQ accordion).
   Content is never hidden unless site.js has loaded and marked the page reveal-ready.
   ===================================================================== */

/* Page load (once per page view). Headings move but never fade, so they paint immediately. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise-solid { from { transform: translateY(14px); } to { transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes item-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.js [data-anim] { animation: rise 500ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
.js h1[data-anim] { animation-name: rise-solid; }
.js .audit-card, .js .hero-price { animation: card-in 600ms var(--ease-out) 120ms both; }
.js .audit-item { animation: item-in 400ms var(--ease-out) both; }
.js .audit-item:nth-child(1) { animation-delay: 300ms; }
.js .audit-item:nth-child(2) { animation-delay: 350ms; }
.js .audit-item:nth-child(3) { animation-delay: 400ms; }
.js .audit-item:nth-child(4) { animation-delay: 450ms; }
.js .audit-num { animation: pop 300ms var(--ease-out) both; }
.js .audit-item:nth-child(1) .audit-num { animation-delay: 380ms; }
.js .audit-item:nth-child(2) .audit-num { animation-delay: 430ms; }
.js .audit-item:nth-child(3) .audit-num { animation-delay: 480ms; }
.js .audit-item:nth-child(4) .audit-num { animation-delay: 530ms; }

/* Hero ambient glow: one slow drift, home hero only */
.hero { position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(33, 71, 243, 0.35), transparent); pointer-events: none; animation: drift 18s var(--ease-in-out) infinite alternate; }
.hero > .container { position: relative; z-index: 1; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-120px, 80px, 0); } }

/* Scroll reveal (each block once). Only active after site.js marks the page reveal-ready. */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 450ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Timeline connector draws once its step is revealed */
.reveal-ready .step:not(:last-child)::after { transform: scaleX(0.001); transition: transform 500ms var(--ease-out); transition-delay: calc(var(--d, 0ms) + 200ms); }
.reveal-ready .step.is-in::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .reveal-ready .step:not(:last-child)::after { transform: scaleY(0.001); }
  .reveal-ready .step.is-in::after { transform: scaleY(1); }
}

/* Hover motion only on devices that truly hover */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-1px); }
  .btn:hover .icon-arrow, .text-link:hover .icon-arrow { transform: translateX(3px); }
  a.card:hover { transform: translateY(-4px); border-color: var(--blue); }
  a.card:hover::after { opacity: 1; }
  a.service-card:hover { color: var(--ink); }
  a.service-card.is-featured:hover { color: var(--white); }
  .plan:not(.is-featured):hover { border-color: #C9D3F7; }
  .card-icon { transition: transform 250ms var(--ease-out); }
}
/* Press feedback: declared after hover so it always wins */
.btn:active, .btn-primary:active { transform: scale(0.97); transition-duration: 120ms; }

/* Mobile menu: drawer curve, links stagger in (opened a few times per visit) */
@media (max-width: 960px) {
  .nav-ready .site-nav .nav-item, .nav-ready .site-nav .nav-cta { opacity: 0; transform: translateY(8px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .site-nav.is-open .nav-item, .site-nav.is-open .nav-cta { opacity: 1; transform: none; }
  .site-nav.is-open .nav-item:nth-child(2) { transition-delay: 40ms; }
  .site-nav.is-open .nav-item:nth-child(3) { transition-delay: 80ms; }
  .site-nav.is-open .nav-item:nth-child(4) { transition-delay: 120ms; }
  .site-nav.is-open .nav-item:nth-child(5) { transition-delay: 160ms; }
  .site-nav.is-open .nav-cta { transition-delay: 200ms; }
}

/* FAQ: smooth height where supported, gentle fade of the answer everywhere */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}
.faq-item[open] .faq-body p { animation: fade 240ms ease both; }

/* Reduced motion: keep gentle fades, remove movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-anim], .js .audit-card, .js .hero-price, .js .audit-item, .js .audit-num { animation: fade 250ms ease both !important; animation-delay: 0ms !important; }
  .js h1[data-anim] { animation: none !important; }
  .reveal-ready [data-reveal] { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .hero::after { animation: none; }
  .reveal-ready .step:not(:last-child)::after { transform: none; transition: none; }
  .site-header, .site-header.is-hidden { transform: none; }
  .nav-sub { transform: none !important; transition: opacity 200ms ease, visibility 0s; }
  .site-nav, .site-nav .nav-item, .site-nav .nav-cta { transform: none !important; }
  .btn:active, .btn-primary:active, a.card:hover, .btn-primary:hover { transform: none; }
  .faq-item::details-content { transition: none; }
}

/* =====================================================================
   City pages
   ===================================================================== */
.area-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--line); }
.area-card .price-panel-label { color: var(--blue); }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.area-list .icon { color: var(--blue); }
.area-note { font-size: 14px; color: var(--muted); line-height: 1.55; }
.split-main .lead + .lead { margin-top: 4px; }
.city-links { margin-top: 32px; font-size: 15px; color: var(--body); }
.city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.city-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); }
.city-card h3 a { color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .city-card h3 a:hover { color: var(--blue); } }
.city-card > p { color: var(--muted); font-size: 14px; }
.city-card ul { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.city-card ul a { font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .city-card ul a:hover { text-decoration: underline; } }
@media (max-width: 960px) { .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .city-grid { grid-template-columns: 1fr; } .area-card { padding: 22px; } }

/* =====================================================================
   Product visuals (inline SVG, illustrative)
   ===================================================================== */
.visual { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.visual-frame { border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(5, 10, 48, 0.10); }
.visual-frame svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }
.visual-cap { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: right; }
.section-dark .visual-cap { color: var(--on-dark); }
.visual-sticky { position: sticky; top: 108px; }

/* Card visual on the home outcome cards */
.card-visual { margin: -8px -8px 4px; }
.card-visual .visual-frame { box-shadow: none; border-radius: 12px; background: var(--bg-alt); }
.card-visual .visual-cap { font-size: 12px; margin-top: 2px; }

/* Steps beside a visual */
.steps-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.step-row-stack { grid-template-columns: 1fr; --gap: 36px; row-gap: var(--gap); }
.step-row-stack .step { padding-left: 76px; min-height: 56px; }
.step-row-stack .step-num { position: absolute; left: 0; top: 0; }
.step-row-stack .step:not(:last-child)::after { top: 72px; bottom: calc(12px - var(--gap)); left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), #C9D3F7); transform-origin: center top; }
.reveal-ready .step-row-stack .step:not(:last-child)::after { transform: scaleY(0.001); }
.reveal-ready .step-row-stack .step.is-in::after { transform: scaleY(1); }
.step-row-stack .step .h4 { margin-top: 12px; }

.included-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.included-split .check-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.included-split .check-grid-4 li { min-height: 0; flex-direction: row; align-items: center; padding: 18px; }
.aside-stack { display: flex; flex-direction: column; gap: 24px; }

@media (max-width: 960px) {
  .steps-split, .included-split { grid-template-columns: 1fr; }
  .visual-sticky { position: static; }
  .steps-split .visual, .included-split .visual { max-width: 560px; }
  .step-row-stack .step { padding-left: 68px; min-height: 44px; }
  .step-row-stack .step:not(:last-child)::after { top: 56px; left: 21px; }
}
@media (max-width: 640px) {
  .included-split .check-grid-4 { grid-template-columns: 1fr; }
}

/* Visual motion: plays once when the figure is revealed. Transform and opacity only. */
.visual .v-wipe { display: none; }
.reveal-ready .visual .v-wipe { display: block; }
.visual svg .v-wipe, .visual svg .v-bar, .visual svg .v-col, .visual svg .v-pin, .visual svg .v-slide { transform-box: fill-box; }
.reveal-ready .visual .v-wipe { transform-origin: right center; transition: transform 550ms var(--ease-out) 150ms, opacity 150ms ease 550ms; }
.reveal-ready .visual.is-in .v-wipe, .reveal-ready .is-in .visual .v-wipe { transform: scaleX(0.001); opacity: 0; }
.reveal-ready .visual .v-bar { transform-origin: left center; transform: scaleX(0.2); transition: transform 700ms var(--ease-out) 300ms; }
.reveal-ready .visual .v-col { transform-origin: center bottom; transform: scaleY(0.15); transition: transform 700ms var(--ease-out) 250ms; }
.reveal-ready .visual .v-col-2 { transition-delay: 300ms; }
.reveal-ready .visual .v-col-3 { transition-delay: 350ms; }
.reveal-ready .visual .v-col-4 { transition-delay: 400ms; }
.reveal-ready .visual .v-col-5 { transition-delay: 450ms; }
.reveal-ready .visual .v-pin { transform-origin: center; opacity: 0; transform: scale(0.6); transition: opacity 250ms var(--ease-out) 500ms, transform 300ms var(--ease-out) 500ms; }
.reveal-ready .visual .v-slide { opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--ease-out) 250ms, transform 500ms var(--ease-out) 250ms; }
.reveal-ready .visual .v-slide:nth-of-type(2) { transition-delay: 310ms; }
.reveal-ready .visual .v-slide:nth-of-type(3) { transition-delay: 370ms; }
.reveal-ready .visual .v-slide:nth-of-type(4) { transition-delay: 430ms; }
.reveal-ready .visual .v-slide:nth-of-type(5) { transition-delay: 490ms; }
.reveal-ready .visual .v-slide:nth-of-type(n+6) { transition-delay: 550ms; }
.reveal-ready .visual.is-in .v-bar, .reveal-ready .visual.is-in .v-col,
.reveal-ready .visual.is-in .v-pin, .reveal-ready .visual.is-in .v-slide,
.reveal-ready .is-in .visual .v-bar, .reveal-ready .is-in .visual .v-col,
.reveal-ready .is-in .visual .v-pin, .reveal-ready .is-in .visual .v-slide { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .visual .v-wipe { display: none; }
  .reveal-ready .visual .v-bar, .reveal-ready .visual .v-col, .reveal-ready .visual .v-pin, .reveal-ready .visual .v-slide { transform: none; transition: opacity 300ms ease; }
}
.aside-stack .price-panel { position: static; }
.price-panel-flat { box-shadow: none; }

/* Card copy: narrower columns, so tighten the measure and allow more hyphenation */
.service-text, .card p { font-size: 15px; }
a { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 400px) { :root { --gutter: 18px; } .hero-lead { font-size: 16px; } }

/* Anchors land below the sticky header */
[id] { scroll-margin-top: 100px; }

/* Touch-friendly inline link lists */
.city-links a, .footer-col a { display: inline-block; padding-block: 6px; }
.footer-col ul { gap: 4px; }

/* Local band on city pages */
.local-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 48px; }
.local-cols p { color: var(--on-dark); font-size: 17px; line-height: 1.75; }
.link-button { padding: 6px 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--body); cursor: pointer; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .link-button:hover { color: var(--blue); text-decoration: underline; } }
[hidden] { display: none !important; }

/* Bespoke service sections */
.lead-light { color: var(--on-dark) !important; }
.sort-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sort-col { --tone: var(--blue-soft); display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 3px 0 var(--tone); }
.sort-col.tone-ok { --tone: #3FBF85; } .sort-col.tone-mid { --tone: #F2B01E; } .sort-col.tone-high { --tone: #FF6B70; } .sort-col.tone-blue { --tone: var(--blue-soft); }
.sort-col .h4 { color: var(--tone); }
.sort-col ul { display: flex; flex-direction: column; gap: 12px; }
.sort-col li li { position: relative; padding-left: 20px; color: var(--on-dark); line-height: 1.55; }
.sort-col li li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: flow; }
.flow-node { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.flow-node:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--blue-soft); border-right: 2px solid var(--blue-soft); transform: rotate(45deg); }
.flow-num { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-head); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.flow-title { font-family: var(--font-head); font-size: 19px; line-height: 1.25; }
.flow-node p { color: var(--on-dark); font-size: 15px; line-height: 1.55; }
.included-split.is-flipped > :first-child { order: 2; }
@media (max-width: 1100px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .flow-node:nth-child(3)::after { display: none; } }
@media (max-width: 960px) {
  .sort-cols { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .flow-node { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .flow-node p { flex-basis: 100%; }
  .flow-node:not(:last-child)::after, .flow-node:nth-child(3)::after { display: block; top: auto; bottom: -15px; left: 34px; right: auto; transform: rotate(135deg); }
  .included-split.is-flipped > :first-child { order: 0; }
}

/* Without site.js, the Services submenu still opens on hover and keyboard focus */
@media (hover: hover) and (pointer: fine) { html:not(.nav-ready) .has-sub:hover .nav-sub, html:not(.nav-ready) .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; } }
/* Mobile nav item fade applies only once JS runs */
/* Forms come first in the page; the reassurance column sits on the left on wide screens */
@media (min-width: 961px) { .form-layout > .form-aside { order: -1; } }

/* Compact link rows (city pages) */
.link-rows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.link-rows li + li { border-top: 1px solid var(--line); }
.link-rows a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto 20px; gap: 24px; align-items: center; padding: 20px 28px; color: var(--ink); text-decoration: none; transition: background-color 200ms ease; }
.link-rows a:not(:has(.lr-desc)) { grid-template-columns: minmax(0, 1fr) auto 20px; }
.lr-name { font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 1.25; }
.lr-desc { color: var(--body); font-size: 15px; }
.lr-price { font-weight: 700; white-space: nowrap; }
.link-rows .icon { color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .link-rows a:hover { background: var(--bg-alt); } .link-rows a:hover .icon-arrow { transform: translateX(3px); } }
.link-rows .icon { transition: transform 200ms var(--ease-out); }
@media (max-width: 760px) {
  .link-rows a, .link-rows a:not(:has(.lr-desc)) { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 16px; padding: 18px 20px; }
  .lr-name { grid-column: 1; }
  .lr-desc, .lr-price { grid-column: 1; }
  .link-rows .icon { grid-column: 2; grid-row: 1 / span 3; }
}
.area-card-hero { background: var(--white); color: var(--ink); box-shadow: 0 24px 48px rgba(0, 3, 25, 0.45); border: 0; }
.area-card-hero .area-list li { background: var(--bg-alt); }
.plan-link { align-self: center; font-size: 15px; }
.plan.is-featured .plan-link { color: var(--blue-soft); }
.hero-price .h3 { color: var(--ink); }
.founder-mini { position: relative; max-width: 340px; margin-left: auto; }
.founder-mini img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border-radius: 22px; box-shadow: 0 24px 48px rgba(0, 3, 25, 0.45); }
.founder-mini p { position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; padding: 12px 16px; border-radius: 12px; background: var(--white); color: var(--muted); font-size: 13px; }
.founder-mini strong { font-family: var(--font-head); font-size: 17px; color: var(--ink); }
@media (max-width: 960px) { .founder-mini { margin-left: 0; max-width: 280px; } }

/* Flow as numbered rows: each line runs full width, so justified text never forms rivers */
.flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.flow-node { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; align-items: start; padding: 22px 24px; }
.flow-node .flow-num { grid-row: 1 / span 2; }
.flow-node p { grid-column: 2; }
.flow-node:not(:last-child)::after, .flow-node:nth-child(3)::after { display: none !important; }
.flow-node:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } .flow-node:last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 640px) { .card-row .card-visual { display: none; } }
.h2, .h3, .h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.015em; }

.page-hero { position: relative; overflow: clip; }
@media (max-width: 640px) { .card { padding: 20px; } }
/* Tablet: keep two columns where there is room */
@media (min-width: 700px) and (max-width: 960px) {
  .page-hero-inner.has-aside { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr); }
  .page-hero-aside { max-width: none; }
  .sort-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) { .steps-split .visual, .included-split .visual, .page-hero-aside .visual { margin-inline: auto; width: 100%; } }
/* City split: centre the copy against the aside */
.split-layout.is-centred { align-items: center; }
.lr-price { min-width: 120px; text-align: right; }
.nav-link[aria-current] { color: var(--ink); background: var(--bg-alt); }
.hero-eyebrow-mobile { display: none; }
@media (max-width: 640px) { .hero-eyebrow-mobile { display: block; } }
@media (min-width: 961px) { .city-grid .city-card:first-child { grid-column: span 2; } }
.city-card .city-line { color: var(--body); font-size: 15px; }
.nav-sub-toggle.is-current { color: var(--ink); }
.nav-sub a[aria-current] { color: var(--blue); background: var(--tint); }
.hero-facts { border-top: 0; padding-top: 4px; }

/* Justified text: wider measure where columns are narrow */
.page-hero-copy .hero-lead { font-size: 18px; max-width: 38em; }
.card p, .service-text { hyphenate-limit-chars: 6 3 3; }
.step-row-4 .step p:not(.step-when) { max-width: 46ch; }
@media (max-width: 640px) { .faq-intro p { font-size: 15px; } .page-hero-copy .hero-lead { font-size: 16px; } }

/* Tablet and mobile menu: a panel, not a full white sheet */
@media (max-width: 960px) {
  .nav-ready .site-nav { height: auto; max-height: calc(100dvh - 76px); box-shadow: 0 30px 60px rgba(5, 10, 48, 0.18); border-bottom: 1px solid var(--line); }
  body::after { content: ""; position: fixed; inset: 76px 0 0; z-index: 48; background: rgba(5, 10, 48, 0.35); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 220ms var(--ease-drawer), visibility 0s linear 220ms; }
  body.nav-open::after { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .site-nav .nav-reassure { display: block; font-size: 14px; color: var(--muted); text-align: center; }
}

/* FAQ hover feedback */
.faq-icon { transition: transform 220ms var(--ease-out), background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover .faq-icon { background: #DCE3FF; } }
.hero-bundle { font-size: 14px; color: var(--body); padding-top: 12px; border-top: 1px solid var(--line); }
.hero-bundle a { font-weight: 600; }
.section-dark .hero-price a:not(.btn), .section-dark .area-card-hero a:not(.btn) { color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .section-dark .hero-price a:not(.btn):hover { color: var(--blue-dark); } }
.hero-bundle { text-align: justify; text-align-last: left; hyphens: auto; }

/* Proof */
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 24px; align-items: stretch; }
.review-stack { align-self: start; }
.review-stack .review { flex: 0 0 auto; }
.case-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--navy); color: var(--white); background-image: radial-gradient(600px 300px at 90% -20%, rgba(33, 71, 243, 0.4), transparent 60%); }
.case-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-soft); }
.case-text { color: var(--on-dark); font-size: 17px; line-height: 1.7; text-align: justify; text-align-last: left; hyphens: auto; }
.case-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.case-stats li { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.case-stats li:first-child { background: var(--blue); border-color: var(--blue); }
.case-num { font-family: var(--font-head); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1; }
.case-label { font-size: 13px; color: var(--on-dark); line-height: 1.4; }
.case-stats li:first-child .case-label { color: #E3E9FF; }
.case-rank { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.case-rank .icon { color: var(--blue-soft); flex-shrink: 0; }
.case-note { font-size: 13px; color: var(--on-dark); opacity: 0.85; text-align: justify; text-align-last: left; }
.review-stack { display: flex; flex-direction: column; gap: 16px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.review-rating { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 17px; line-height: 1.6; color: var(--ink); text-align: left; }
.review figcaption { font-size: 14px; color: var(--muted); }
.review-stack .text-link { align-self: flex-start; }
@media (max-width: 1100px) { .case-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .proof-grid { grid-template-columns: 1fr; } }

.card { padding: 28px; }
@media (max-width: 1279px) { .local-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .local-cols { grid-template-columns: 1fr; } }

/* Hero trust list on one line at desktop; related services without an orphan card at tablet */
.trust-list { column-gap: 20px; }
@media (min-width: 1100px) { .trust-list { flex-wrap: nowrap; } }
@media (min-width: 641px) and (max-width: 1100px) { .related-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.footer-brand a { font-weight: 600; text-decoration: none; }

@media (max-width: 640px) { .faq-intro p { text-align: left; } }
.footer-brand { max-width: 380px; }
.footer-brand p { hyphens: manual; -webkit-hyphens: manual; }
.page-hero-copy .hero-lead { hyphenate-limit-chars: 10 4 4; }

@media (min-width: 961px) { .page-hero-copy .hero-lead { hyphens: manual; -webkit-hyphens: manual; } }
@media (max-width: 640px) { .lead { font-size: 16px; hyphenate-limit-chars: 5 3 2; } }
.crumbs a { display: inline-block; padding-block: 6px; margin-block: -6px; }
.form-req-note { font-size: 13px; color: var(--muted); margin-top: -8px; }
