/* The Stonegate Group — site styles. Tokens first; dark mode redefines tokens only. No third-party fonts. */
:root {
  --navy: #13284d;
  --navy-2: #0e1f3d;
  --navy-3: #1b3664;
  --gold: #c9a35a;
  --gold-ink: #7d5a17;      /* gold for text on light bg: 5.4:1 on --bg */
  --stone: #f6f3ee;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3efe7;
  --fg: #172033;
  --muted: #4f5869;         /* 7.1:1 on --bg */
  --line: #dfd8cc;
  --accent: #1b3f7a;        /* links/buttons on light: 9:1 */
  --accent-fg: #ffffff;
  --on-navy: #f4efe6;
  --on-navy-muted: #c9cfdb;
  --focus: #2f6fdc;
  --err: #a32222;
  --err-bg: #fdf0ef;
  --ok: #1f6b3b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(19, 40, 77, .06), 0 8px 24px rgba(19, 40, 77, .08);
  --shadow-lg: 0 2px 4px rgba(19, 40, 77, .08), 0 20px 48px rgba(19, 40, 77, .14);
  --maxw: 1200px;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1424; --surface: #111d33; --surface-2: #14223c; --fg: #ece7dd; --muted: #b5bccb; --line: #263552;
    --accent: #9cc0ff; --accent-fg: #0b1424; --gold-ink: #e2c487; --focus: #8db7ff; --err: #ff9a8f; --err-bg: #2a1518;
    --ok: #7fd49c; --stone: #0f1a2e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 20px 48px rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  --bg: #0b1424; --surface: #111d33; --surface-2: #14223c; --fg: #ece7dd; --muted: #b5bccb; --line: #263552;
  --accent: #9cc0ff; --accent-fg: #0b1424; --gold-ink: #e2c487; --focus: #8db7ff; --err: #ff9a8f; --err-bg: #2a1518;
  --ok: #7fd49c; --stone: #0f1a2e;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 var(--font-body);
  overflow-wrap: break-word; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--surface); color: var(--fg); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-3); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: #1a1406; }
.btn-gold:hover { background: #d7b46e; box-shadow: 0 8px 24px rgba(201, 163, 90, .35); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-ghost-light { border-color: rgba(244, 239, 230, .55); color: var(--on-navy); background: transparent; }
.btn-ghost-light:hover { border-color: var(--on-navy); background: rgba(255, 255, 255, .06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { background: #e9e2d4; color: var(--navy-2); } :root:not([data-theme="light"]) .btn-primary:hover { background: #fff; } }
:root[data-theme="dark"] .btn-primary { background: #e9e2d4; color: var(--navy-2); }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); min-height: 44px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-tag { font-size: .78rem; color: var(--muted); font-style: italic; }
.nav-main { margin-left: auto; }
.nav-main ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-main a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--fg); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-main a:hover { background: var(--surface-2); }
.nav-main a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.head-cta { display: flex; align-items: center; gap: 12px; }
.head-phone { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--fg); text-decoration: none; font-weight: 600; white-space: nowrap; }
.head-phone:hover { color: var(--accent); }
.nav-mobile { display: none; margin-left: auto; }
.nav-mobile > summary { list-style: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; color: var(--fg); background: var(--surface); }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile .ic { width: 24px; height: 24px; }
.nav-mobile .ic-close, .nav-mobile[open] .ic-open { display: none; }
.nav-mobile[open] .ic-close { display: block; }
.nav-sheet { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 8px clamp(16px, 4vw, 40px) 20px; max-height: calc(100dvh - 72px); overflow-y: auto; }
.nav-sheet ul { list-style: none; margin: 0 0 12px; padding: 0; }
.nav-sheet li a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: 1.1rem; font-weight: 500; }
.nav-sheet li a[aria-current="page"] { color: var(--accent); }
@media (max-width: 1240px) { .head-phone span { display: none; } .head-phone { width: 44px; justify-content: center; } }
@media (max-width: 1080px) {
  .nav-main, .head-cta { display: none; }
  .nav-mobile { display: block; }
  .head-row { min-height: 64px; }
  html { scroll-padding-top: 76px; }
}
@media (max-width: 400px) { .brand-tag { display: none; } .brand-name { font-size: 1.08rem; } }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 16px 0 0; margin: 0 auto; font-size: .92rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 32px; }
.crumbs [aria-current] { color: var(--fg); }

/* hero */
.hero { position: relative; isolation: isolate; color: var(--on-navy); min-height: clamp(520px, 78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-2); }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 55% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 24, 47, .94) 0%, rgba(11, 24, 47, .82) 42%, rgba(11, 24, 47, .35) 100%), linear-gradient(0deg, rgba(11, 24, 47, .7) 0%, transparent 45%); }
.hero-inner { position: relative; width: 100%; padding-top: 96px; padding-bottom: clamp(56px, 9vh, 104px); }
.hero h1 { max-width: 19ch; color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); }
.hero-lede { max-width: 54ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--on-navy-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 640px) { .hero-media::after { background: linear-gradient(0deg, rgba(11, 24, 47, .96) 0%, rgba(11, 24, 47, .86) 55%, rgba(11, 24, 47, .55) 100%); } .hero-actions .btn { flex: 1 1 100%; } }
.eyebrow { font: 600 .8rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .9em; }
.eyebrow-light { color: var(--gold); }

/* stats */
.stats { background: var(--navy); color: var(--on-navy); }
.stats-light { background: var(--surface-2); color: var(--fg); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.stat { text-align: center; }
.stat-num { font: 700 clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem)/1 var(--font-head); margin: 0 0 .25em; font-variant-numeric: tabular-nums; }
.stat-unit { color: var(--gold); margin-left: 2px; }
.stats-light .stat-unit { color: var(--gold-ink); }
.stat-label { margin: 0; font-size: .98rem; color: var(--on-navy-muted); }
.stats-light .stat-label { color: var(--muted); }
@media (max-width: 640px) { .stats-row { grid-template-columns: 1fr; gap: 20px; } }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding-top: clamp(32px, 5vw, 56px); }
.section-alt { background: var(--surface-2); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2 { color: #fff; }
.section-navy p { color: var(--on-navy-muted); }
.section-navy a { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.page-head { padding: clamp(32px, 6vw, 72px) 0 clamp(8px, 2vw, 16px); }
.page-head .lede, .lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.page-head-svc .card-ic { margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-top { align-items: start; }
.split-rev > :first-child { order: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-rev > figure { order: 2; } }
.split-media { margin: 0; }
.split-media img, .svc-media img, .side-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-media figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.pull { font-family: var(--font-head); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); line-height: 1.4; border-left: 3px solid var(--gold); padding-left: 18px; margin: 1.4em 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; text-decoration: none; }
.link-arrow .ic { transition: transform .15s ease; }
.link-arrow:hover .ic, .card-link:hover .link-arrow .ic { transform: translateX(3px); }

/* cards */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card h3 a { color: var(--fg); text-decoration: none; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card-link:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-link h3 a:focus-visible { outline: none; }
.card .link-arrow { margin-top: auto; color: var(--accent); }
.card-ic { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-ink); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--gold-ink); border-bottom: 2.5px solid var(--gold-ink); transform: rotate(-45deg); }
.exp .eyebrow { margin-bottom: .5em; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 600; }
.chips a:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.chips .ic { color: var(--gold-ink); }
.chips-static span { min-height: 0; padding: 6px 14px; font-weight: 500; font-size: .95rem; background: var(--surface-2); }
.center-chips { justify-content: center; margin-top: 24px; }

/* pillars */
.pillars { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; }
.pillars .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--surface-2); color: var(--gold-ink); }
.pillars h3 { font-size: 1.1rem; margin: 0 0 .2em; }
.pillars p { margin: 0; color: var(--muted); }

/* service rows */
.svc-list, .exp-list { display: grid; gap: clamp(48px, 7vw, 88px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc-row-rev .svc-media { order: 2; }
.svc-body h2 a { color: var(--fg); text-decoration: none; }
.svc-body h2 a:hover { color: var(--accent); }
.svc-body > p { color: var(--muted); font-size: 1.06rem; }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } .svc-row-rev .svc-media { order: 0; } }

/* service detail */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.75rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose .lead { font-size: 1.15rem; color: var(--fg); }
.aud-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.aud-list li { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.aud-list .ic { width: 28px; height: 28px; color: var(--gold-ink); margin-top: 2px; }
.aud-list div { display: flex; flex-direction: column; }
.aud-list span { color: var(--muted); font-size: .96rem; }
.side { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-media { margin: 0; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-box h2 { font-size: 1.3rem; margin: 0; }
.side-box p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .side { position: static; } }

/* audiences */
.aud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.svc-tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); font-size: .9rem; font-weight: 600; text-decoration: none; }
@media (pointer: coarse) { .svc-tags a { min-height: 44px; } }

/* about */
.portrait { margin: 0; position: sticky; top: 96px; }
.portrait img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.portrait figcaption { display: flex; flex-direction: column; margin-top: 14px; }
.portrait figcaption strong { font-family: var(--font-head); font-size: 1.2rem; }
.portrait figcaption span { color: var(--muted); }
@media (max-width: 900px) { .portrait { position: static; max-width: 420px; } }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--gold-ink); transition: transform .2s ease; }
.faq[open] summary .ic { transform: rotate(45deg); }
.faq-a { padding: 0 20px 6px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-2), var(--navy-3)); color: var(--on-navy); padding: clamp(44px, 6vw, 72px) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; color: var(--on-navy-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .cta-actions, .cta-actions .btn { width: 100%; } }

/* form */
.form-split { align-items: start; }
.lead-form { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.section-navy .lead-form { border-color: transparent; }
.section-navy .lead-form p { color: var(--muted); }
.section-navy .lead-form a { color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: .95rem; }
.req { color: var(--err); }
.opt { color: var(--muted); font-weight: 400; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--fg); font: 400 16px/1.4 var(--font-body); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.has-err input, .has-err select, .has-err textarea { border-color: var(--err); }
.field-err { color: var(--err); font-size: .9rem; margin: 0; }
.form-alert { background: var(--err-bg); color: var(--err); border: 1px solid var(--err); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.form-note { font-size: .88rem; margin: 12px 0 0; text-align: center; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button[disabled] { opacity: .7; cursor: progress; }
.call-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.05rem; }
.call-line .ic { color: var(--gold); }
.call-line a { font-weight: 700; }

/* contact */
.contact-phone { display: inline-flex; align-items: center; gap: 12px; font: 700 clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem)/1.2 var(--font-head); color: var(--fg); text-decoration: none; margin: 4px 0 12px; min-height: 48px; }
.contact-phone .ic { color: var(--gold-ink); }
.contact-phone:hover { color: var(--accent); }
.contact-side p { color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; }

/* thanks / 404 */
.thanks { min-height: 50vh; display: flex; align-items: center; }
.thanks-ic { width: 72px; height: 72px; color: var(--ok); margin: 0 auto 20px; }

/* footer */
.site-foot { background: var(--navy-2); color: var(--on-navy-muted); padding: 64px 0 0; }
.site-foot a { color: var(--on-navy); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.brand-foot { color: #fff; margin-bottom: 12px; }
.foot-meta { font-size: .92rem; }
.foot-h { font: 600 .8rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.foot-col li a:hover { text-decoration: underline; }
@media (pointer: coarse) { .foot-col li a { min-height: 44px; } }
.foot-phone { font: 700 1.4rem/1.2 var(--font-head); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.site-foot .btn-ghost { background: transparent; color: var(--on-navy); border-color: rgba(244, 239, 230, .4); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(244, 239, 230, .14); font-size: .9rem; }
.foot-legal p { margin: 0; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; margin: 0; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .btn, .card, .lead-form, .faq { border: 1px solid CanvasText; } .ticks li::before { border-color: CanvasText; } }
@media print { .site-head, .nav-mobile, .cta-band, .lead-form, .site-foot { display: none; } body { background: #fff; color: #000; } }

/* touch targets (phone battery 2026-10-27) */
@media (pointer: coarse) { .crumbs a, .crumbs [aria-current] { min-height: 44px; min-width: 44px; justify-content: center; } .crumbs ol { padding-top: 8px; } }
.head-phone { flex: none; min-width: 44px; }
.hp input { font-size: 16px; }
.crumbs [aria-current] { display: inline-flex; align-items: center; min-height: 32px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .steps li::before { background: var(--gold); color: #1a1406; } }
:root[data-theme="dark"] .steps li::before { background: var(--gold); color: #1a1406; }
.nav-main a, .head-cta .btn, .brand-name { white-space: nowrap; }
