/* ============================================================================
   eREHAB — marketing site
   Design language, measured from two references and nothing else:
     · atlassian.com  — full-bleed saturated colour bands, pill buttons 40px,
                        display type at weight 500 with -0.02em tracking (48px h1),
                        20px card radius, 101 transformed / 36 animated elements
     · chatwoot.com   — 1200px container discipline, hairline section rules,
                        browser-chrome product frames, tabbed industry panels
   Type: Instrument Sans (display) + Inter (body) — both variable, self-hosted.
   Charlie Display and Haskoy are both licensed; neither is shipped.
   ============================================================================ */

/* Both faces self-hosted and variable. The previous build preloaded Inter but
   never declared @font-face, so it silently fell back to system UI type. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-wght.woff2") format("woff2");
}

:root {
  --rail: 1200px;

  /* ink — Atlassian's values */
  --ink: #101214;
  --ink-2: #292a2e;
  --body: #3e4650;
  --muted: #5b6570;
  --faint: #87909b;

  /* Atlassian's colour-block palette */
  --blue: #1868db;
  --blue-deep: #0b47a1;
  --blue-ink: #0a3d8a;
  --sky: #cfe1fd;
  --sky-2: #e6efff;
  --lime: #d3f1a7;
  --olive: #4c6b1f;
  --yellow: #ffe48f;
  --amber-ink: #6f4a00;
  --orange: #c75300;
  --lilac: #eed7fc;
  --purple: #803fa5;
  --mint: #d8f0e1;
  --rose-t: #fbdbe2;

  /* surfaces + rules */
  --paper: #ffffff;
  --paper-2: #fbfcfd;
  --canvas: #f3f6fa;
  --line: #e3e6ea;
  --line-2: #d6dbe1;

  --r-pill: 999px;
  --r-card: 20px;
  --r-ctl: 10px;
  --r-sm: 6px;

  --sh-1: 0 1px 2px rgba(16,18,20,.05), 0 2px 10px -3px rgba(16,18,20,.07);
  --sh-2: 0 2px 4px rgba(16,18,20,.04), 0 16px 40px -16px rgba(16,18,20,.18);
  --sh-frame: 0 2px 6px rgba(16,18,20,.06), 0 40px 90px -42px rgba(16,18,20,.42);

  --display: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.16,.84,.44,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--body); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 500; }
h1 { font-size: clamp(2.5rem, 1.55rem + 3.5vw, 3.5rem); line-height: 1.03; letter-spacing: -.028em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); line-height: 1.07; letter-spacing: -.026em; }
h3 { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); line-height: 1.22; letter-spacing: -.018em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: #fff; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 10px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-ctl); }

/* film grain — kills the vector-perfect flatness of a screenshot */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* scroll progress hairline */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100; }
.progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }

.rail { width: 100%; max-width: var(--rail); margin-inline: auto; padding-inline: 24px; }

/* ---------- bands (Atlassian's colour blocks) ---------- */
.band { padding-block: 96px; position: relative; }
.band--tight { padding-block: 64px; }
.band--paper { background: var(--paper); }
.band--canvas { background: var(--canvas); }
.band--sky { background: var(--sky); }
.band--sky-2 { background: var(--sky-2); }
.band--lime { background: var(--lime); }
.band--yellow { background: var(--yellow); }
.band--lilac { background: var(--lilac); }
.band--blue { background: var(--blue); }
.band--ink { background: var(--ink); }
.band--ink h1, .band--ink h2, .band--ink h3 { color: #fff; }
.band--ink p { color: #b7bfc8; }
.band--blue h1, .band--blue h2, .band--blue h3 { color: #fff; }
.band--blue p { color: #dbe8fd; }
.band--rule { border-top: 1px solid var(--line); }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; opacity: .5; }
.band--ink .eyebrow, .band--blue .eyebrow { color: #9fb4cf; }

/* ---------- type helpers ---------- */
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.62; color: var(--body); }
.band--ink .lede { color: #c3ccd6; }
.band--blue .lede { color: #dfeafe; }
.small { font-size: .875rem; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.head { max-width: 720px; }
.head--wide { max-width: 880px; }
.head h2 + .lede { margin-top: 16px; }
.head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; max-width: none; }

/* line-mask reveal (motion move 1) */
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: block; will-change: transform; }
.js .mask > span { transform: translateY(112%); }
.js .mask.is-in > span { transform: none; transition: transform 1.05s var(--ease-out); }
.js .mask.is-in > span:nth-child(2) { transition-delay: .08s; }
.js .mask.is-in > span:nth-child(3) { transition-delay: .16s; }

/* generic fade-up, staggered by --i */
.js .fade { opacity: 0; transform: translateY(22px); }
.js .fade.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---------- buttons — Atlassian pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding-inline: 22px; border: 0; border-radius: var(--r-pill);
  font-family: var(--font); font-size: .9375rem; font-weight: 600; letter-spacing: -.005em;
  white-space: nowrap;
  transition: background-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .18s var(--ease-out), color .18s var(--ease-out);
}
.btn--sm { height: 38px; padding-inline: 18px; font-size: .875rem; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(11,71,161,.3); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(11,71,161,.55); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; transform: translateY(-1px); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #b9c1ca, var(--sh-1); transform: translateY(-1px); }
.btn--on-ink { background: #fff; color: var(--ink); }
.btn--on-ink:hover { background: #eef1f5; transform: translateY(-1px); }
.btn--on-blue { background: #fff; color: var(--blue-ink); }
.btn--on-blue:hover { background: #eaf2ff; transform: translateY(-1px); }
.btn--outline-ink { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--outline-ink:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.btn svg { flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9375rem; color: var(--blue); }
.link-arrow svg { transition: transform .18s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.band--ink .link-arrow, .band--blue .link-arrow { color: #a9c8ff; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 600; letter-spacing: -.005em;
  background: rgba(16,18,20,.05); color: var(--ink-2);
}
.chip--sky { background: var(--sky); color: var(--blue-ink); }
.chip--lime { background: var(--lime); color: var(--olive); }
.chip--yellow { background: var(--yellow); color: var(--amber-ink); }
.chip--mint { background: var(--mint); color: #0a6b4d; }
.chip--lilac { background: var(--lilac); color: #5a2a76; }
.chip--rose { background: var(--rose-t); color: #8c2337; }
.chip--outline { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #17a673; box-shadow: 0 0 0 3px rgba(23,166,115,.18); flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
.header-rail { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  background: linear-gradient(155deg, #2b7bf0, #0b47a1);
  color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-size: .9375rem; font-weight: 700; letter-spacing: -.02em;
  box-shadow: 0 1px 2px rgba(11,71,161,.35), inset 0 1px 0 rgba(255,255,255,.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.06; }
.brand-text b { font-family: var(--display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.brand-text span { font-size: .6875rem; font-weight: 500; color: var(--faint); letter-spacing: .015em; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-pill); font-size: .9063rem; font-weight: 500;
  color: var(--ink-2); transition: background-color .16s ease, color .16s ease;
  position: relative;
}
.nav a:hover { background: rgba(16,18,20,.055); color: var(--ink); }
.nav a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--blue);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 84px 0; }
.hero::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 620px;
  background:
    radial-gradient(900px 420px at 18% -12%, rgba(24,104,219,.13), transparent 62%),
    radial-gradient(760px 380px at 88% 4%, rgba(128,63,165,.09), transparent 60%),
    linear-gradient(180deg, #f2f7ff 0%, rgba(255,255,255,0) 78%);
  pointer-events: none;
}
.hero .rail { position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 56px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 56ch; }
.hero-actions { margin-top: 30px; }
.hero-proof { margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .875rem; color: var(--muted); }
.hero-proof b { color: var(--ink); font-weight: 600; }

.hero-aside { position: relative; }

/* One audit module, one grid, one bar system — replaces the two mismatched cards.
   Rows share a fixed baseline; green = at/above the 85% protocol threshold,
   amber = below it, which is what the legend states. */
.audit-card {
  background: var(--paper); border-radius: var(--r-card); padding: 22px 22px 20px;
  box-shadow: var(--sh-2); border: 1px solid var(--line);
}
.audit-card__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.audit-card__t {
  font-family: var(--display); font-size: .9375rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.018em;
}
.audit-grid {
  display: grid; grid-template-columns: 74px minmax(0,1fr) 44px;
  align-items: center; column-gap: 14px; row-gap: 12px; margin-top: 18px;
}
.audit-grid--kv { grid-template-columns: minmax(0,1fr) auto; row-gap: 10px; }
.audit-k { font-size: .8125rem; color: var(--muted); line-height: 1; }
.audit-v { font-size: .8125rem; font-weight: 600; color: var(--ink); text-align: right; line-height: 1; }
.audit-v--mono { font-family: var(--mono); font-size: .7188rem; letter-spacing: -.01em; }
.audit-bar { height: 7px; border-radius: 99px; background: #edf0f4; overflow: hidden; display: block; }
.audit-bar i { display: block; height: 100%; border-radius: 99px; }
.audit-bar--ok i { background: #17a673; }
.audit-bar--warn i { background: #d98324; }
.audit-legend {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin-top: 14px; font-size: .6875rem; color: var(--faint); letter-spacing: .01em;
}
.audit-legend .lg { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
.audit-legend .lg--ok { background: #17a673; }
.audit-legend .lg--warn { background: #d98324; margin-left: 10px; }
.audit-sep { height: 1px; background: var(--line); margin: 18px 0 16px; }

/* credentials strip under the hero */
.cred { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); margin-top: 56px; }
.cred__label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.cred__items { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cred__item { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--ink-2); letter-spacing: -.005em; }
.cred__item svg { flex: none; opacity: .85; }

/* ---------- product frame ---------- */
.frame {
  position: relative; border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden;
  background: #eef2f7; box-shadow: var(--sh-frame); border: 1px solid var(--line);
}
.frame__bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.frame__dots i:nth-child(1) { background: #ff5f57; }
.frame__dots i:nth-child(2) { background: #febc2e; }
.frame__dots i:nth-child(3) { background: #28c840; }
.frame__url {
  flex: 1; max-width: 340px; margin-inline: auto; text-align: center;
  font-family: var(--mono); font-size: .7188rem; color: var(--muted);
  background: var(--canvas); border-radius: var(--r-pill); padding: 4px 14px;
}
.frame__img { width: 100%; }
/* hero frame: zoom slightly and crop to the legible band, so the screenshot
   works as proof rather than texture (the 1440px UI renders at ~1.08x here) */
.frame--hero { max-height: 620px; }
.frame--hero .frame__img { width: 108%; margin-inline: -4%; }
.frame-wrap { margin-top: 56px; }
.figure-note { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.sample-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--yellow); color: var(--amber-ink); font-size: .7188rem; font-weight: 700; letter-spacing: .02em;
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; }
.stat { padding-inline: 28px; border-left: 1px solid rgba(16,18,20,.12); }
.stat:first-child { border-left: 0; padding-inline-start: 0; }
.stat__n { font-family: var(--display); font-size: clamp(2.25rem, 1.7rem + 1.6vw, 3rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__l { margin-top: 12px; font-size: .9063rem; color: var(--ink-2); max-width: 22ch; }
.band--blue .stat { border-left-color: rgba(255,255,255,.28); }
.band--blue .stat__n { color: #fff; }
.band--blue .stat__l { color: #d5e4fb; }
.band--ink .stat { border-left-color: rgba(255,255,255,.16); }
.band--ink .stat__n { color: #fff; }
.band--ink .stat__l { color: #aab4bf; }

/* ---------- sticky steps ---------- */
.steps { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1fr); gap: 72px; align-items: start; }
.steps__aside { position: sticky; top: 108px; }
.steps__list { display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 18px;
  padding: 22px; border-radius: var(--r-card); background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out);
}
.step__n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-2); font-family: var(--display); font-size: .9375rem; font-weight: 600;
  color: var(--muted); font-variant-numeric: tabular-nums;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.step__t { font-family: var(--display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); letter-spacing: -.018em; }
.step__d { margin-top: 6px; font-size: .9063rem; color: var(--muted); }
.step.is-active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--sh-2); transform: translateY(-2px); }
.step.is-active .step__n { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); gap: 64px; align-items: center; }
.split--flip .split__media { order: -1; }
.split__copy h2 { margin-bottom: 16px; }
.split__media img { border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.checks { margin-top: 24px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; font-size: .9375rem; color: var(--body); }
.checks li svg { flex: none; margin-top: 2px; }
.band--ink .checks li, .band--blue .checks li { color: #c3ccd6; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink-2); font-size: .9063rem; font-weight: 600;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tab:hover { border-color: #b6bec8; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--sh-1); }
.panel[hidden] { display: none; }
.panel { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 56px; align-items: center; }
.panel h3 { margin-bottom: 12px; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.panel ul { display: grid; gap: 11px; margin-top: 20px; }
.panel li { display: flex; gap: 11px; font-size: .9375rem; color: var(--body); }
.panel li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 9px; flex: none; }
.panel__frame { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-2); background: #eef2f7; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px; transition: transform .24s var(--ease-out), box-shadow .24s var(--ease-out), border-color .24s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card__k { font-family: var(--mono); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.card__t { margin-top: 10px; font-family: var(--display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); letter-spacing: -.018em; }
.card__d { margin-top: 8px; font-size: .9063rem; color: var(--muted); line-height: 1.58; }

/* ---------- quote ---------- */
.quote { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 64px; align-items: center; }
.quote blockquote {
  margin: 0; font-family: var(--display); font-size: clamp(1.375rem, 1.05rem + 1.3vw, 1.875rem);
  line-height: 1.34; letter-spacing: -.024em; font-weight: 500; color: var(--ink);
}
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: .875rem; color: var(--muted); }
.quote__side { border-left: 1px solid var(--line); padding-left: 40px; }
.band--ink .quote blockquote { color: #fff; }
.band--ink .quote cite { color: #9aa5b1; }
.band--ink .quote__side { border-left-color: rgba(255,255,255,.16); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px; font-family: var(--display); font-size: 1.0625rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.018em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(16,18,20,.05); color: var(--ink); font-size: 1.125rem; line-height: 1;
  transition: background-color .2s ease, transform .2s ease;
}
.faq details[open] summary .pm { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq p { padding-bottom: 24px; max-width: 80ch; font-size: .9375rem; color: var(--body); }

/* ---------- cta ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 64px; align-items: center; }
.cta-list { display: grid; gap: 14px; margin-top: 26px; }
.cta-list li { display: flex; gap: 12px; font-size: .9375rem; color: #b7bfc8; }
.contact-card { background: #fff; border-radius: var(--r-card); padding: 28px; box-shadow: var(--sh-2); }
.contact-card h3 { font-size: 1.125rem; }
.contact-rows { margin-top: 18px; display: grid; }
.contact-rows > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: .875rem; }
.contact-rows > div:last-child { border-bottom: 0; }
.contact-rows dt { color: var(--muted); }
.contact-rows dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); padding-block: 68px 40px; }
.site-footer .brand-text b { color: #fff; }
.site-footer .brand-text span { color: #7f8a96; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 40px; }
.footer-grid h4 { font-family: var(--font); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #75808c; margin-bottom: 16px; }
.footer-grid a { display: block; padding-block: 6px; font-size: .9063rem; color: #c2cad3; transition: color .16s ease; }
.footer-grid a:hover { color: #fff; }
.footer-blurb { margin-top: 16px; font-size: .9063rem; color: #8b95a1; max-width: 36ch; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: .8125rem; color: #7f8a96;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-top { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero-aside { display: block; }
  .audit-card { max-width: none; }
  .steps, .split, .panel, .quote, .cta-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .steps__aside { position: static; }
  .split--flip .split__media { order: 0; }
  .quote__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .cards--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 32px; }
  .stat:nth-child(odd) { border-left: 0; padding-inline-start: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .nav, .header-actions .btn--ghost { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 40px; margin-inline-start: auto; padding-inline: 12px;
    background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  }
  .menu-toggle i { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; }
  .menu-toggle i:nth-child(2) { width: 70%; }
  .mobile-nav { border-top: 1px solid var(--line); background: #fff; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav nav { display: grid; padding: 12px 24px 20px; }
  .mobile-nav a { padding-block: 12px; font-size: .9688rem; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 16px; width: 100%; }
}
@media (min-width: 901px) { .mobile-nav { display: none; } }
@media (max-width: 680px) {
  .band { padding-block: 60px; }
  .band--tight { padding-block: 44px; }
  .cards--2, .cards--3 { grid-template-columns: minmax(0,1fr); }
  .stats { grid-template-columns: minmax(0,1fr); row-gap: 0; }
  .stat { border-left: 0; padding-inline: 0; padding-block: 20px; border-top: 1px solid rgba(16,18,20,.12); }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .hero-aside { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .cred { gap: 16px; }
  .cred__items { gap: 16px; }
}

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