/* Ironcrest Advisory Group — site styles
   Sections: 1 tokens · 2 fonts · 3 base · 4 layout · 5 type · 6 buttons · 7 header/nav
             8 footer · 9 components · 10 pages · 11 checkup · 12 forms · 13 utilities · 14 motion/print */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --navy: #0B1F3A;
  --navy-900: #071629;
  --navy-700: #13305A;
  --blue: #1E5BD8;          /* 5.6:1 on white */
  --blue-700: #1749B0;
  --blue-50: #EEF3FD;
  --blue-100: #DCE6FA;
  --blue-on-dark: #9DB8F2;  /* 8.0:1 on navy */
  --ink: #1A2433;
  --ink-2: #3A4658;         /* 9.4:1 on white */
  --muted: #4A5568;         /* 7.5:1 on white, 6.9:1 on --bg-alt */
  --line: #D9DEE6;
  --line-strong: #7A8699;  /* 3.6:1 on white: meets 1.4.11 for form controls */
  --bg: #FFFFFF;
  --bg-alt: #F3F5F8;
  --on-dark: #FFFFFF;
  --on-dark-2: #C6D1E1;     /* 10.6:1 on navy */
  --success: #146C43;
  --success-bg: #E8F5EE;
  --warn: #8A4B00;
  --warn-bg: #FFF4E5;
  --danger: #B42318;
  --danger-bg: #FDECEA;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06);
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 10px 30px rgba(11, 31, 58, .08);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 76px;
}

/* 2. Fonts (self-hosted Inter, SIL OFL 1.1) ------------------------------ */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-600.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/inter-display-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/inter-display-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* 3. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
main:focus { outline: none; }
::selection { background: var(--blue-100); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 4. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy a:not(.btn) { color: var(--on-dark); }
.grid-bg {
  background-color: var(--bg-alt);
  background-image: linear-gradient(#E4E9F0 1px, transparent 1px), linear-gradient(90deg, #E4E9F0 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center top;
}
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.split--top { align-items: start; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.stack > * + * { margin-top: 16px; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.section-head--row > div { max-width: 720px; }

/* 5. Typography --------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -.012em; text-wrap: balance; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--on-dark); }
h1, .h1 { font-size: clamp(2.25rem, 1.55rem + 2.8vw, 3.5rem); font-weight: 700; line-height: 1.08; }
h2, .h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}
.section--navy .eyebrow { color: var(--blue-on-dark); }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.section--navy .lead, .section--navy p { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.xsmall { font-size: .875rem; }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.125rem; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li + li { margin-top: .35em; }

/* 6. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--blue-50); color: var(--navy); border-color: var(--blue-700); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-50); color: var(--navy); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.section--navy :focus-visible, .site-footer :focus-visible { outline-color: var(--blue-on-dark); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 539.98px) { .btn-row .btn, .results__actions .btn, .checkup-submit .btn { width: 100%; } }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .15s ease; }
.text-link:hover { text-decoration: underline; }
.text-link:hover::after { transform: translateX(3px); }

/* 7. Header & navigation ------------------------------------------------ */
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(8px); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-header__brand { display: inline-flex; padding: 6px 0; border-radius: 4px; }
.site-header__brand img { height: 44px; width: auto; }
.site-nav__list { list-style: none; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9688rem;
}
.site-nav__link:hover { color: var(--blue-700); background: var(--blue-50); }
.site-nav__link[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.site-nav__cta-item { margin-left: 10px; }
.site-nav .btn[aria-current="page"] { background: var(--blue-700); }
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: #fff; color: var(--navy); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font: 600 .9375rem var(--font-sans); cursor: pointer;
}
.nav-toggle__icon { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.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; }

@media (max-width: 899.98px) {
  :root { --header-h: 68px; }
  .site-header__brand img { height: 38px; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(11, 31, 58, .12); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav__link { min-height: 52px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; padding-inline: 4px; }
  .site-nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); padding-left: 14px; }
  .site-nav__cta-item { margin: 16px 0 0; }
  .site-nav__cta-item .btn { width: 100%; min-height: 52px; font-size: 1.0625rem; }
}

/* 8. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-2); font-size: .9375rem; padding: clamp(48px, 6vw, 72px) 0 28px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 40px 32px; grid-template-columns: 1.6fr repeat(3, 1fr); }
@media (max-width: 899.98px) { .site-footer__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); } }
.site-footer__brand img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer__tagline { color: #fff; font-weight: 500; margin-bottom: 10px; }
.site-footer__meta { max-width: 340px; }
.site-footer__heading { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-on-dark); margin-bottom: 14px; }
.site-footer__col ul { list-style: none; padding: 0; }
.site-footer__col li { padding: 5px 0; }
.site-footer__col a, .site-footer__legal a { display: inline-block; padding: 4px 0; }
.site-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #22385A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .875rem; }
.site-footer__legal { list-style: none; padding: 0; display: flex; gap: 24px; }

/* 9. Components --------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); }
.card--flat { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 20px 0 0; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: inherit; }
a.card .card__more { margin-top: auto; padding-top: 16px; color: var(--blue); font-weight: 600; font-size: .9375rem; }
a.card .card__more::after { content: " →"; }
.num { font-family: var(--font-mono); color: var(--blue); font-size: .875rem; letter-spacing: .04em; display: block; margin-bottom: 10px; }

.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50); border: 1px solid var(--blue-100); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 5px); width: 5px; height: 9px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.section--navy .check-list li::before { background: rgba(157, 184, 242, .14); border-color: rgba(157, 184, 242, .4); }
.section--navy .check-list li::after { border-color: var(--blue-on-dark); }

.problem-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.problem-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px 16px 52px; position: relative; }
.problem-list li::before { content: "!"; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); font: 700 .8125rem/19px var(--font-sans); text-align: center; }

.figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 2.5vw, 28px); box-shadow: var(--shadow-sm); }
.figure img { width: 100%; height: auto; }
.figure figcaption { margin-top: 14px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: 28px; }
.pill-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.pill-nav a:hover { border-color: var(--blue); background: var(--blue-50); }
.pill-nav .mono { color: var(--blue); font-size: .8125rem; }

.steps { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius-sm); padding: 22px; }
.steps .step-label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--blue); text-transform: uppercase; display: block; margin-bottom: 6px; }
.steps h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .9375rem; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-2); font-size: .9375rem; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }

.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.cta-band__inner > div:first-child { max-width: 660px; }
.cta-band h2 { margin-bottom: 12px; }

.note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font-size: .9375rem; color: var(--ink-2); }
.note--blue { background: var(--blue-50); border-color: var(--blue-100); }

.badge { display: inline-block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); }
.badge--navy { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Expandable details (service offerings, FAQ) */
.disclosure { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.disclosure + .disclosure { margin-top: 12px; }
.disclosure summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 22px; border-radius: var(--radius); }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary:hover h3, .disclosure summary:hover .disclosure__title { color: var(--blue-700); }
.disclosure__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--navy); line-height: 1.35; }
.disclosure summary p { color: var(--muted); font-size: .9375rem; margin-top: 6px; }
.disclosure__chev { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; margin-top: 1px; transition: transform .2s ease, background-color .15s ease; }
.disclosure__chev::before { content: ""; width: 8px; height: 8px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.disclosure[open] .disclosure__chev { transform: rotate(180deg); background: var(--blue-50); }
.disclosure__body { padding: 0 22px 22px; color: var(--ink-2); font-size: .9688rem; }
.disclosure__body ul { padding-left: 1.2em; }
.disclosure__body li + li { margin-top: 4px; }
.disclosure__body h4 { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 4px 0 8px; }

/* 10. Page sections ----------------------------------------------------- */
.hero { padding-block: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.hero h1 { margin-bottom: 22px; max-width: 18ch; }
.hero .lead { margin-bottom: 32px; }
.hero__figure { margin: 0; }
.hero--page h1 { max-width: 22ch; }
.hero--page .lead { margin-bottom: 0; }

.service-cat { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.service-cat:nth-of-type(even) { background: var(--bg-alt); }
.service-cat__head { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: center; margin-bottom: clamp(28px, 4vw, 40px); }
.service-cat__num { font-family: var(--font-mono); font-size: 2.25rem; line-height: 1; color: var(--blue); display: block; margin-bottom: 14px; }
.service-cat__head h2 { margin-bottom: 14px; }
.service-cat__offerings { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: start; }
.service-cat__offerings .disclosure + .disclosure { margin-top: 0; }

.compare { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.compare .card { display: flex; flex-direction: column; gap: 10px; }
.compare .card ul { padding-left: 1.1em; color: var(--ink-2); font-size: .9375rem; }
.compare .card--featured { border: 2px solid var(--navy); }

.founder { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; }
@media (max-width: 799.98px) { .founder { grid-template-columns: 1fr; } }
.founder__photo { margin: 0; max-width: 340px; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow); border: 1px solid var(--line); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__name { margin-bottom: 4px; }
.founder__role { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 22px; }
.bg-list { display: grid; gap: 14px; margin-top: 28px; padding: 0; list-style: none; }
.bg-list li { display: grid; grid-template-columns: 170px 1fr; gap: 6px 20px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 599.98px) { .bg-list li { grid-template-columns: 1fr; } }
.bg-list .bg-list__label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); padding-top: 4px; }
.bg-list p { color: var(--ink-2); }

.faq { max-width: 860px; }

/* 11. Technology Checkup ------------------------------------------------ */
.checkup-layout { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
@media (max-width: 959.98px) { .checkup-layout { grid-template-columns: 1fr; } }
.checkup-aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 959.98px) { .checkup-aside { position: static; order: -1; } }
.progress-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.progress-card__count { font-family: var(--font-mono); font-size: .875rem; color: var(--ink-2); margin: 0 0 10px; }
.progress-bar { width: 100%; height: 8px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); overflow: hidden; }
.progress-bar__fill { height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width .25s ease; }
.progress-dots { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.progress-dots a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-2); text-decoration: none; background: #fff; }
.progress-dots a.is-done { background: var(--navy); border-color: var(--navy); color: #fff; }
.progress-dots a.is-missing { border-color: var(--danger); color: var(--danger); background: var(--danger-bg); }
.question { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); margin: 0 0 16px; background: #fff; min-width: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.question.is-missing { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.question legend { padding: 0; margin: 0 0 6px; float: left; width: 100%; }
.question legend + * { clear: both; }
.question__topic { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.question__text { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.4; color: var(--navy); }
.question__hint { color: var(--muted); font-size: .9375rem; margin: 0 0 16px; }
.question__error { color: var(--danger); font-weight: 600; font-size: .9375rem; margin: 12px 0 0; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 339.98px) { .options { grid-template-columns: 1fr; } }
@media (max-width: 479.98px) { .option label { padding-inline: 6px; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-weight: 600; color: var(--navy); cursor: pointer; text-align: center; transition: background-color .12s ease, border-color .12s ease; }
.option input:hover + label { border-color: var(--blue); background: var(--blue-50); }
.option input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.option input:checked + label::before { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -2px); }
.option input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 3px; }
.checkup-submit { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.error-summary { border: 2px solid var(--danger); background: var(--danger-bg); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.error-summary h2 { font-size: 1.125rem; color: var(--danger); margin-bottom: 8px; font-family: var(--font-sans); }
.error-summary ul { padding-left: 1.2em; }
.error-summary a { color: var(--danger); font-weight: 600; }
.results { margin-top: 40px; border: 1px solid var(--navy); border-radius: var(--radius-lg); overflow: hidden; background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); }
.results:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.results__head { background: var(--navy); color: #fff; padding: clamp(24px, 3vw, 36px); }
.results__head h2 { color: #fff; margin-bottom: 10px; }
.results__head p { color: var(--on-dark-2); max-width: 640px; }
.results__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; list-style: none; padding: 0; }
.results__stats li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9375rem; color: #fff; }
.results__stats strong { font-family: var(--font-display); font-size: 1.25rem; margin-right: 6px; }
.results__body { padding: clamp(22px, 3vw, 36px); }
.results__body > h3 { margin: 0 0 14px; font-size: 1.125rem; }
.results__body > h3:not(:first-child) { margin-top: 32px; }
.rec { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 18px 20px; }
.rec + .rec { margin-top: 12px; }
.rec--gap { border-left-color: var(--navy); }
.rec--unknown { border-left-color: #7A8699; }
.rec--opportunity { border-left-color: var(--blue); }
.rec__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.rec__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--navy); margin: 0; }
.rec p { color: var(--ink-2); font-size: .9688rem; margin-bottom: 8px; }
.rec .rec__step { font-size: .9375rem; }
.strengths { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.strengths li { background: var(--success-bg); color: var(--success); border: 1px solid #B7E0C8; border-radius: 999px; padding: 6px 12px; font-size: .875rem; font-weight: 600; }
.results__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* 12. Forms ------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .9375rem; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .req { color: var(--danger); }
.field .help { font-size: .875rem; color: var(--muted); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font: 400 1rem/1.4 var(--font-sans); color: var(--ink); background: #fff; transition: border-color .12s ease, box-shadow .12s ease;
}
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy-700); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 91, 216, .25); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .9063rem; font-weight: 600; margin: 0; display: flex; gap: 6px; align-items: flex-start; }
.field-error::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--danger); color: #fff; font-size: .75rem; line-height: 18px; text-align: center; margin-top: 2px; }
.field-error[hidden] { display: none; }
.checks { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks legend { font-weight: 600; font-size: .9375rem; color: var(--navy); padding: 0; margin-bottom: 10px; }
.checks__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.check { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: .9688rem; }
.check:hover { border-color: var(--blue); background: var(--blue-50); }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); flex: none; }
.check:has(input:checked) { border-color: var(--navy); background: var(--blue-50); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; font-weight: 500; }
.form-status--error { background: var(--danger-bg); border: 1.5px solid var(--danger); color: #7A1A12; }
.form-status--error h2 { font-family: var(--font-sans); font-size: 1.0625rem; color: var(--danger); margin-bottom: 6px; }
.form-status--error ul { padding-left: 1.2em; margin-top: 6px; }
.form-status--error a { color: #7A1A12; font-weight: 600; }
.form-success { text-align: left; }
.form-success__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--success-bg); display: grid; place-items: center; margin-bottom: 18px; }
.form-success__icon::before { content: ""; width: 12px; height: 22px; border: solid var(--success); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-2px, -3px); }
.form-success:focus { outline: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.turnstile-slot:empty { display: none; }
.form-foot { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.form-foot .btn { width: 100%; min-height: 54px; font-size: 1.0625rem; }

/* 13. Utilities --------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
[hidden] { display: none !important; }

/* 14. Motion & print ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, .no-print, .checkup-aside, .cta-band { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .hero { padding-block: 16px; border: 0; }
  .grid-bg { background: none; }
  .results { border: 1px solid #000; margin-top: 0; }
  .results__head { background: #fff; color: #000; border-bottom: 1px solid #000; }
  .results__head h2, .results__head p, .results__stats li { color: #000; }
  .results__stats li { border-color: #000; background: #fff; }
  body.is-printing-results #checkup-form { display: none !important; }
  a { color: #000; text-decoration: underline; }
}

/* Service offering cards (Services page) */
.offering { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 6px; display: flex; flex-direction: column; }
.offering__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.offering h3 { font-size: 1.125rem; }
.offering > p { color: var(--muted); font-size: .9688rem; margin-bottom: 10px; }
.offering details { border-top: 1px solid var(--line); margin-top: auto; }
.offering summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-weight: 600; font-size: .9375rem; color: var(--blue); border-radius: 4px; }
.offering summary::-webkit-details-marker { display: none; }
.offering summary:hover { color: var(--blue-700); text-decoration: underline; }
.offering summary::after { content: ""; flex: none; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.offering details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.offering details .summary-open { display: none; }
.offering details[open] .summary-open { display: inline; }
.offering details[open] .summary-closed { display: none; }
.offering__body { padding: 0 0 18px; font-size: .9375rem; color: var(--ink-2); }
.offering__body ul { padding-left: 1.15em; margin-bottom: 10px; }
.offering__body li + li { margin-top: 4px; }
.offering__body .note { font-size: .875rem; padding: 10px 12px; margin-top: 8px; }

/* Compact vertical steps (Contact page) */
.steps--list { grid-template-columns: 1fr; gap: 0; }
.steps--list li { border: 0; border-left: 2px solid var(--line); border-radius: 0; background: transparent; padding: 4px 0 18px 20px; position: relative; }
.steps--list li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.steps--list li:last-child { padding-bottom: 0; }
.hero .form-card { align-self: start; }

/* Contact page layout: intro + form first on small screens */
.contact-layout { display: grid; gap: 32px clamp(32px, 5vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "intro form" "next form"; align-items: start; }
.contact-layout__intro { grid-area: intro; }
.contact-layout__next { grid-area: next; }
.contact-layout__form { grid-area: form; }
@media (max-width: 899.98px) { .contact-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "next"; } }
.compare .card .badge, .offering__top .badge { align-self: flex-start; }

/* Brand banner (About page) */
.brand-banner { display: block; margin-top: clamp(32px, 4vw, 48px); }
.brand-banner img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
