/* VAO CPA — site theme
   Layout: navy utility bar + white header; navy "ledger grid" heroes with diagonal bands;
   content column + sticky consultation sidebar on inner pages.
   Single light theme by design (brand look), every color set explicitly. */
:root {
  --navy: #0b3f7e;
  --navy-deep: #072a55;
  --navy-ink: #051d3c;
  --sky: #7fb0ec;
  --ink: #15202f;
  --text: #3c4859;
  --muted: #667387;
  --line: #d9e1ec;
  --mist: #f2f5f9;
  --paper: #ffffff;
  --ok: #1f7a55;
  --focus: #f2b13a;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.75vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.05rem, 1.6rem + 2.2vw, 3.35rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(5, 29, 60, .06), 0 8px 24px rgba(5, 29, 60, .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; }

/* ---------- utility bar + header ---------- */
.utility { background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 0.8rem; font-weight: 500; }
.utility .wrap { display: flex; justify-content: flex-end; gap: 4px 22px; flex-wrap: wrap; padding-block: 8px; }
.utility a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; opacity: .92; }
.utility a:hover { opacity: 1; text-decoration: underline; }
.utility .icon { width: 15px; height: 15px; }
.utility .u-short { display: none; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(5, 29, 60, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1; }
.brand-mark { display: flex; align-items: baseline; gap: 8px; }
.brand-vao { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.35rem; letter-spacing: -0.04em; }
.brand-cpa { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .22em; }
.brand-tag { font-family: var(--font-display); font-size: 0.58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; white-space: nowrap; }
.brand img { height: 112px; width: auto; display: block; transition: height .2s ease; }
.site-header.scrolled .brand img { height: 76px; }
.footer .brand img { height: 74px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; border-radius: var(--radius);
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--mist); color: var(--navy-deep); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  min-width: 330px; list-style: none; margin: 0; padding: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: 0.98rem; }
.dropdown a .icon { color: var(--navy); width: 18px; height: 18px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--mist); color: var(--navy); }
.has-menu:hover > .dropdown, .has-menu:focus-within > .dropdown, .has-menu.open > .dropdown { opacity: 1; visibility: visible; }
.has-menu.open > .nav-link .icon { transform: rotate(180deg); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--radius); border: 2px solid var(--navy);
  background: var(--navy); color: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: .03em; line-height: 1.2;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(7, 42, 85, .25); }
.btn .icon { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .06em; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- navy "ledger grid" surfaces ---------- */
.ledger {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,.06) 0 22%, transparent 22% 48%, rgba(255,255,255,.05) 48% 63%, transparent 63%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-ink) 100%);
  color: #dbe7f6;
}
.ledger::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(127,176,236,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,176,236,.12) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(100deg, transparent 15%, #000 70%);
  -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 70%);
}
.ledger h1, .ledger h2, .ledger h3 { color: #fff; }

/* ---------- home hero ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.eyebrow { font-family: var(--font-display); font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.hero h1 { font-size: var(--step-4); font-weight: 600; margin-top: 16px; letter-spacing: -0.02em; }
.hero p.lede { margin-top: 20px; font-size: var(--step-1); line-height: 1.55; color: #c9d9ee; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-call { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .95rem; color: #b8cbe4; }
.hero-call a { color: #fff; font-weight: 600; }

.closecard { background: var(--paper); color: var(--ink); border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.closecard-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--mist); }
.closecard-head strong { font-family: var(--font-display); font-size: .95rem; }
.closecard-head span { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.closecard ol { list-style: none; margin: 0; padding: 6px 0; }
.closecard li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 20px; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.closecard li:last-child { border-bottom: 0; }
.closecard .tick { width: 22px; height: 22px; border-radius: 50%; background: rgba(31, 122, 85, .12); color: var(--ok); display: grid; place-items: center; }
.closecard .tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.closecard em { font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: var(--ok); background: rgba(31, 122, 85, .08); padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
.closecard-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: .85rem; font-weight: 600; }
.closecard-foot b { font-family: var(--font-mono); font-weight: 500; color: var(--sky); }
@media (prefers-reduced-motion: no-preference) {
  .closecard li { animation: rowIn .5s ease-out both; }
  .closecard li:nth-child(2) { animation-delay: .12s; } .closecard li:nth-child(3) { animation-delay: .24s; }
  .closecard li:nth-child(4) { animation-delay: .36s; } .closecard li:nth-child(5) { animation-delay: .48s; }
  @keyframes rowIn { from { transform: translateX(10px); opacity: .35; } to { transform: none; opacity: 1; } }
}

/* ---------- homepage service slider ---------- */
.slider { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(420px, 44vw, 560px); display: flex; align-items: center; padding-block: 48px;
  background: linear-gradient(120deg, #0d3b86 0%, #1b56b0 45%, #2d6fcc 100%); }
.slider-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.slider-panel { position: relative; width: min(1040px, 100% - var(--gutter)); background: rgba(22, 34, 56, .8); color: #e6eef8;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 5vw, 88px) clamp(26px, 3.5vw, 44px); box-shadow: 0 30px 60px rgba(3, 15, 35, .35); }
.slider-progress { position: absolute; top: 0; left: clamp(22px, 5vw, 88px); right: clamp(22px, 5vw, 88px); height: 3px; background: rgba(255,255,255,.14); }
.slider-progress span { display: block; height: 100%; width: 0; background: #8a8a8a; background: linear-gradient(90deg, #9aa7b8, #ffffff); transform-origin: left; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; }
.slide:not(.is-active) { visibility: hidden; opacity: 0; }
.slide.is-active { animation: slideIn .6s ease-out both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.slide h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 500; color: #fff; letter-spacing: -0.01em; }
.slide h2 a { color: inherit; text-decoration: none; }
.slide h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.slide-sub { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); color: #fff; font-weight: 400; margin-top: -4px; }
.slide p:last-child { font-family: var(--font-display); font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.85; max-width: 64ch; color: #e6eef8; }
.slider-controls { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.btn-start { text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; padding: 14px 28px; }
.btn-start .icon-arrow { display: none; }
.slider-arrows { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.4); font-size: 2rem; font-weight: 200; }
.slider-arrows button, .slider-pause { min-width: 44px; min-height: 44px; background: none; border: 0; color: rgba(255,255,255,.55); cursor: pointer; padding: 6px; display: grid; place-items: center; border-radius: 4px; }
.slider-arrows button:hover, .slider-pause:hover { color: #fff; }
.slider-arrows .icon { width: 38px; height: 38px; stroke-width: 1.2; }
.slider-pause { margin-left: auto; }
.slider-pause .icon { width: 18px; height: 18px; }

/* homepage intro under the slider */
.intro-center .wrap { display: grid; gap: 14px; justify-items: center; text-align: center; }
.intro-center .tagline { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); max-width: 30ch; line-height: 1.3; text-wrap: balance; }
.intro-center h1 { font-family: var(--font-display); font-size: var(--step-3); color: var(--navy); font-weight: 500; max-width: 26ch; }
.intro-center .intro-body { text-align: left; max-width: 900px; margin-top: 14px; display: grid; gap: 16px; }

/* proof strip */
.proof { background: var(--navy-deep); color: #c9d9ee; border-top: 1px solid rgba(127,176,236,.18); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { padding: 22px 20px; border-left: 1px solid rgba(127,176,236,.18); }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof strong { display: block; font-family: var(--font-display); color: #fff; font-size: var(--step-1); font-weight: 700; font-variant-numeric: tabular-nums; }
.proof span { font-size: .9rem; line-height: 1.4; display: block; margin-top: 4px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-mist { background: var(--mist); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; display: grid; gap: 14px; }
.section-head h2 { font-size: var(--step-3); font-weight: 600; color: var(--navy); }
.section-head p { font-size: var(--step-1); color: var(--text); }
.kicker { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }

.intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.intro h2 { font-size: var(--step-3); color: var(--navy); font-weight: 600; }
.intro-body { display: grid; gap: 18px; }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tile { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; text-decoration: none; color: var(--text); border-top: 3px solid var(--navy); background: var(--paper); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.tile h3 { font-size: 1.02rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.tile p { font-size: .98rem; }
.tile .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.tile .more .icon { width: 15px; height: 15px; transition: transform .15s; }
.tile:hover .more .icon { transform: translateX(3px); }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--navy); }
.icon-badge .icon { width: 26px; height: 26px; stroke-width: 1.75; }

/* specialized band */
.band { background: var(--navy); position: relative; }
.band-wrap { position: relative; }
.split-band { background: linear-gradient(var(--navy) 0 230px, var(--mist) 230px); }
.split-band .section-head h2 { color: #fff; }
.split-band .section-head p { color: #c9d9ee; }
.feature { background: var(--paper); box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .2s; }
.feature:hover { transform: translateY(-4px); color: var(--text); }
.feature-art { height: 150px; position: relative; overflow: hidden; background: linear-gradient(140deg, #e8eef7, #d3deee); }
.feature-art svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-body { padding: 24px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.feature-body > .icon { width: 36px; height: 36px; color: var(--navy); stroke-width: 1.6; }
.feature h3 { font-size: 1.02rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }

/* insight */
.insight .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 88px); }
.insight blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.4; color: #fff; font-weight: 500; }
.insight blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--sky); margin-bottom: 10px; }
.insight-side { display: grid; gap: 16px; }
.insight-side p { color: #c9d9ee; }
.platform-row { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-row span { font-family: var(--font-mono); font-size: .78rem; padding: 5px 10px; border: 1px solid rgba(127,176,236,.4); border-radius: 4px; color: #dbe7f6; }

/* industries */
.ind { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 30px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ind:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.ind h3 { font-size: 1.12rem; font-weight: 700; }
.ind p { font-size: .98rem; }

/* approach (real three-part sequence) */
.approach { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.approach li { list-style: none; padding: 28px 28px 8px 0; position: relative; }
.approach li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.approach li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: .85rem; color: var(--navy); display: block; margin-bottom: 10px; }
.approach h3 { font-size: 1.15rem; margin-bottom: 8px; }
.approach ol { margin: 0; padding: 0; display: contents; }

/* CTA band */
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(44px, 6vw, 64px); }
.cta-band h2 { font-size: var(--step-3); font-weight: 600; }
.cta-band p { color: #c9d9ee; margin-top: 8px; max-width: 56ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner page hero ---------- */
.page-hero .wrap { padding-block: clamp(34px, 5vw, 56px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-hero h1 { font-size: var(--step-4); font-weight: 600; max-width: 22ch; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; font-size: .88rem; color: #a9c0de; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: #dbe7f6; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.hero-glyph { width: 112px; height: 112px; flex: none; border-radius: 22px; border: 1px solid rgba(127,176,236,.35); display: grid; place-items: center; color: var(--sky); background: rgba(255,255,255,.05); }
.hero-glyph .icon { width: 54px; height: 54px; stroke-width: 1.3; }

/* ---------- inner page body ---------- */
.page-body { padding-block: clamp(36px, 6vw, 64px) clamp(56px, 8vw, 88px); }
.page-body .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.content { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.content > * { max-width: 760px; }
.content .lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.content h2 { font-size: var(--step-2); font-weight: 600; color: var(--navy); margin-top: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.content h3 { font-size: 1.12rem; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks .icon { width: 20px; height: 20px; color: var(--navy); margin-top: 3px; stroke-width: 2.4; }

.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: none !important; }
.group { border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: var(--paper); display: grid; gap: 14px; align-content: start; }
.group h3 { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.05rem; }
.group h3::before { content: ""; width: 8px; height: 8px; background: var(--navy); transform: rotate(45deg); flex: none; }
.group .checks { gap: 8px; font-size: .98rem; }
.groups.count-3 .group:last-child:nth-child(odd), .groups.count-1 .group { grid-column: 1 / -1; }

.defs { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.defs div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 16px 20px; }
.defs div + div { border-top: 1px solid var(--line); }
.defs div:nth-child(odd) { background: var(--mist); }
.defs dt { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .98rem; }
.defs dd { margin: 0; }

.callout { background: var(--navy); color: #dbe7f6; border-radius: 8px; padding: 26px 28px; position: relative; overflow: hidden; }
.callout::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border: 1px solid rgba(127,176,236,.3); transform: rotate(45deg); }
.callout .kicker { color: var(--sky); display: block; margin-bottom: 10px; }
.callout p { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.55; color: #fff; font-weight: 500; position: relative; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-bottom: 20px; position: relative; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--navy); color: var(--navy); font-family: var(--font-display); font-weight: 700; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.steps strong { font-family: var(--font-display); color: var(--ink); display: block; padding-top: 8px; }
.steps p { margin-top: 4px; }

.chips-block { background: var(--mist); border-radius: 8px; padding: 22px 24px; display: grid; gap: 14px; }
.chips-block > p { font-weight: 600; color: var(--ink); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: var(--ink); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; max-width: none !important; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: var(--mist); color: var(--ink); }
.compare thead th.yes { background: var(--navy); color: #fff; }
.compare tbody th { font-family: var(--font-display); font-size: .95rem; color: var(--ink); width: 22%; }
.compare td.no { color: var(--muted); }
.compare td.yes { color: var(--ink); background: rgba(11, 63, 126, .04); }
.compare tr:last-child > * { border-bottom: 0; }

.platforms { display: grid; gap: 14px; }
.platforms .row { display: flex; flex-wrap: wrap; gap: 8px; }
.platforms .row span { font-family: var(--font-mono); font-size: .82rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--navy); background: var(--paper); }

.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none !important; }
.related a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, background .15s; }
.related a:hover { border-color: var(--navy); background: var(--mist); }
.related .icon { color: var(--navy); width: 22px; height: 22px; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.faq details[open] { border-color: var(--navy); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--navy); transition: transform .2s; margin-top: 2px; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; }

.closing { font-size: var(--step-1); color: var(--ink); font-weight: 500; }
.inline-cta { display: flex; }

/* sidebar */
.sidebar { position: sticky; top: 120px; display: grid; gap: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.side-cta { background: var(--navy-ink); color: #dbe7f6; padding: 26px 24px; text-align: center; display: grid; gap: 10px; }
.side-cta h2 { color: #fff; font-size: 1.4rem; font-weight: 600; }
.side-cta .btn { margin-top: 8px; width: 100%; }
.side-info { background: var(--mist); padding: 24px; text-align: center; display: grid; gap: 18px; }
.side-info h3 { color: var(--navy); font-size: 1.25rem; font-weight: 600; }
.side-info hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.side-social { display: flex; justify-content: center; gap: 12px; }
.side-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--navy); border: 1px solid var(--line); }
.side-social a:hover { background: var(--navy); color: #fff; }
.side-social .icon { width: 18px; height: 18px; }
.side-phone { display: inline-block; padding-block: 9px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-decoration: none; }
.side-links { display: grid; gap: 8px; text-align: left; }
.side-links a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 600; }
.side-links a:hover { border-color: var(--navy); }
.side-links .icon { color: var(--navy); width: 18px; height: 18px; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; max-width: none !important; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: #b4232c; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid #c3cedc; border-radius: var(--radius); padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 63, 126, .18); }
.field input[aria-invalid=true], .field textarea[aria-invalid=true] { border-color: #b4232c; }
.check { display: flex; align-items: center; gap: 12px; font-size: .98rem; min-height: 44px; cursor: pointer; }
.check input { width: 22px !important; height: 22px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: .88rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form-status.ok { background: rgba(31, 122, 85, .1); color: var(--ok); }
.form-status.err { background: rgba(180, 35, 44, .08); color: #8f1c23; }
.next-steps { background: var(--mist); border-radius: 8px; padding: 24px; display: grid; gap: 16px; }
.next-steps h2 { border: 0 !important; padding: 0 !important; margin: 0 !important; font-size: 1.2rem !important; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: none !important; }
.contact-card { border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.contact-card .icon-badge { width: 44px; height: 44px; }
.contact-card h2 { border: 0 !important; padding: 0 !important; margin: 0 !important; font-size: .82rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.contact-card a, .contact-card address { font-style: normal; font-weight: 600; color: var(--ink); font-size: 1.02rem; word-break: break-word; }
.map { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; max-width: none !important; aspect-ratio: 16 / 8; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-fallback { height: 100%; display: grid; place-items: center; text-align: center; padding: 24px; gap: 12px; background:
  linear-gradient(rgba(11,63,126,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,63,126,.07) 1px, transparent 1px), var(--mist); background-size: 32px 32px; }

/* privacy */
.prose { display: grid; gap: 22px; }
.prose h2 { font-size: 1.2rem !important; }

/* ---------- pre-footer quick links (slide up one at a time) ---------- */
.quicklinks { background: #23272e; color: #d7dde6; }
.quicklinks .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; padding-block: clamp(44px, 6vw, 72px); }
.ql { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; color: #d7dde6; text-decoration: none; }
.ql > .icon { width: 34px; height: 34px; color: #fff; stroke-width: 1.6; margin-top: 2px; }
.ql strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.ql > span > span { display: block; line-height: 1.7; }
.ql:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.js-reveal .reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- resources ---------- */
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.res { display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color .15s, background .15s, transform .15s; }
.res:hover { border-color: var(--navy); background: var(--mist); color: var(--ink); transform: translateX(2px); }
.res-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--mist); color: var(--navy); display: grid; place-items: center; }
.res:hover .res-icon { background: var(--paper); }
.res-icon .icon { width: 24px; height: 24px; }
.res-body { display: grid; gap: 2px; min-width: 0; }
.res-kind { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.res-body strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.res-go { color: var(--navy); display: grid; place-items: center; }
.res-go .icon { width: 22px; height: 22px; }

/* ---------- footer ---------- */
.subscribe { background: var(--navy-ink); color: #dbe7f6; }
.subscribe .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 40px; align-items: center; padding-block: 34px; }
.subscribe h2 { color: #fff; font-size: var(--step-1); font-weight: 600; }
.subscribe form { display: flex; gap: 0; }
.subscribe input { flex: 1; min-width: 0; font: inherit; padding: 13px 16px; border: 1px solid rgba(127,176,236,.4); background: rgba(255,255,255,.06); color: #fff; border-radius: var(--radius) 0 0 var(--radius); }
.subscribe input::placeholder { color: #9fb4cf; }
.subscribe input:focus { outline: none; border-color: var(--sky); }
.subscribe .btn { border-radius: 0 var(--radius) var(--radius) 0; }
.subscribe .form-status { margin-top: 10px; }
.footer { background: var(--navy-deep); color: #c3d3e8; font-size: .97rem; }
.footer .wrap.cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding-block: 52px; }
.footer h2 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer a.btn-light, .footer a.btn-light:hover { color: var(--navy); text-decoration: none; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer .contact-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; }
.footer .contact-list .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.footer .contact-list .icon { width: 15px; height: 15px; color: #fff; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-tag { color: #9fb4cf; }
.footer .social { display: flex; gap: 10px; margin-top: 16px; }
.footer .social a { width: 44px; height: 44px; border: 1px solid rgba(127,176,236,.35); border-radius: 50%; display: grid; place-items: center; }
.footer .social a:hover { background: var(--navy); }
.footer .social .icon { width: 17px; height: 17px; }
.legal { border-top: 1px solid rgba(127,176,236,.18); }
.legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px; font-size: .88rem; color: #9fb4cf; }
.legal nav { display: flex; gap: 16px; }

.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top .icon { width: 22px; height: 22px; }

.notfound { text-align: center; display: grid; gap: 18px; justify-items: center; padding-block: 90px; }
.notfound .code { font-family: var(--font-mono); color: var(--navy); font-size: 1rem; letter-spacing: .1em; }
.notfound h1 { font-size: var(--step-4); color: var(--navy); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-link { padding: 10px 8px; font-size: .76rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wrap.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .menu-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); padding: 10px 14px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  .menu-toggle .icon { width: 20px; height: 20px; }
  .nav { position: fixed; inset: 0; top: var(--header-bottom, 120px); background: var(--paper); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 40px; overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: .9rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 10px 8px; display: none; opacity: 1; visibility: visible; }
  .has-menu:hover > .dropdown, .has-menu:focus-within > .dropdown { display: none; }
  .has-menu.open > .dropdown { display: block; }
  .nav .btn { margin: 18px 0 0; }
  .hero .wrap, .intro, .insight .wrap { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .split-band { background: linear-gradient(var(--navy) 0 260px, var(--mist) 260px); }
  .page-body .wrap { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof li { padding-left: 16px; }
  .approach { grid-template-columns: minmax(0, 1fr); }
  .approach li, .approach li + li { padding: 22px 0 6px; border-left: 0; border-bottom: 1px solid var(--line); }
  .subscribe .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-glyph { display: none; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .quicklinks .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .utility .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; }
  .utility a { flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; font-size: .8rem; opacity: 1; border-left: 1px solid rgba(255,255,255,.14); }
  .utility a:first-child { border-left: 0; }
  .utility .icon { width: 18px; height: 18px; }
  .utility .u-long { display: none; }
  .utility .u-short { display: inline; }
  .form-actions .btn, .inline-cta .btn { width: 100%; }
  .footer ul { gap: 0; }
  .footer ul a { display: inline-block; padding-block: 11px; }
  .footer .contact-list li { align-items: center; }
  .legal nav a { display: inline-block; padding: 11px 4px; }
  .content a:not(.btn) { padding-block: 3px; }
  .slider { padding-block: 0; min-height: 0; align-items: stretch; }
  .slider-panel { width: 100%; }
  .slider-arrows .icon { width: 30px; height: 30px; }
  .brand img { height: 84px; }
  .site-header.scrolled .brand img { height: 60px; }
  .site-header .wrap { padding-block: 8px; }
  .grid-4, .grid-2, .groups, .related, .form { grid-template-columns: minmax(0, 1fr); }
  .defs div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer .wrap.cols { grid-template-columns: minmax(0, 1fr); }
  .proof li { padding: 16px 0 16px 14px; }
  .proof li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .map { aspect-ratio: 4 / 3; }
  .subscribe form { flex-direction: column; gap: 8px; }
  .subscribe input, .subscribe .btn { border-radius: var(--radius); }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
