/* ==========================================================================
   Capx Recovery — static rebuild
   Palette: indigo #1E0D51 / gold #FFDA8A
   ========================================================================== */

:root {
  --indigo-900: #14092e;
  --indigo-800: #1e0d51;
  --indigo-700: #2b1470;
  --indigo-600: #3a1f8f;
  --indigo-100: #ece8f7;

  --gold-300: #ffe6ad;
  --gold-400: #ffda8a;
  --gold-500: #f5c25c;
  --gold-600: #e0a730;

  --ink: #191333;
  --ink-soft: #4b4665;
  --ink-mute: #6f6a85;

  --surface: #ffffff;
  --surface-alt: #f6f7fc;
  --surface-tint: #f0f5fa;
  --line: #e4e2ee;

  --green: #1f9d63;
  --danger: #c8382f;

  --container: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(20, 9, 46, .06), 0 2px 8px rgba(20, 9, 46, .05);
  --shadow: 0 4px 14px rgba(20, 9, 46, .08), 0 18px 40px -18px rgba(20, 9, 46, .18);
  --shadow-lg: 0 10px 30px rgba(20, 9, 46, .12), 0 40px 80px -30px rgba(20, 9, 46, .35);

  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Roboto Slab", Georgia, "Times New Roman", serif;

  --header-h: 74px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { max-width: 100%; display: block; }
/* generated icons carry width/height attributes; this stops an unstyled one
   from ever being stretched by a flex or grid parent */
svg[width][height] { flex: none; }
a { color: var(--indigo-700); text-decoration: none; }
a:hover { color: var(--indigo-600); }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(56px, 4vw + 36px, 92px) 0; }
.section--alt { background: var(--surface-alt); }
.section--tint { background: var(--surface-tint); }
.section--ink { background: var(--indigo-800); color: rgba(255,255,255,.82); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .section-head p { color: rgba(255,255,255,.75); }

.section-head { max-width: 720px; margin: 0 auto clamp(32px, 3vw, 52px); text-align: center; }
.section-head p { color: var(--ink-mute); font-size: 1.03rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--indigo-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section--ink .eyebrow { color: var(--gold-400); background: rgba(255,218,138,.14); }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold-400); color: var(--indigo-900); box-shadow: 0 8px 22px -8px rgba(224,167,48,.7); }
.btn--gold:hover { background: var(--gold-300); color: var(--indigo-900); }
.btn--indigo { background: var(--indigo-800); color: #fff; }
.btn--indigo:hover { background: var(--indigo-700); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { background: #fff; border-color: var(--line); color: var(--indigo-800); }
.btn--outline:hover { border-color: var(--indigo-600); color: var(--indigo-700); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--indigo-900);
  color: rgba(255,255,255,.78);
  font-size: .85rem;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold-400); }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-400); }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- header ---------- */
/* dark header: the brand wordmark is a light-on-transparent asset, so it
   needs the indigo ground it was designed for (matches the live site) */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--indigo-800);
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: 0 8px 28px -14px rgba(0,0,0,.6); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 42px; width: auto; }
.footer .logo img { height: 48px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 600; color: rgba(255,255,255,.88);
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: rgba(255,255,255,.1); color: #fff; }
.nav__link[aria-current="page"] { color: var(--gold-400); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; inset: auto 13px 4px; height: 2px; background: var(--gold-500); border-radius: 2px;
}
.nav__item { position: relative; }
.nav__item > .nav__link { position: relative; }
.nav__caret { width: 12px; height: 12px; transition: transform .18s ease; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.submenu {
  list-style: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 274px;
  background: var(--indigo-900);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item.is-open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.8);
}
.submenu a:hover { background: rgba(255,255,255,.1); color: var(--gold-400); }

.header__cta { flex: none; }
.nav__mobile-cta { display: none; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12); border: 0; border-radius: var(--radius-sm);
  cursor: pointer; color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(255,218,138,.20), transparent 62%),
    radial-gradient(700px 500px at 4% 108%, rgba(58,31,143,.55), transparent 60%),
    linear-gradient(158deg, var(--indigo-800) 0%, var(--indigo-900) 100%);
  color: rgba(255,255,255,.84);
  overflow: hidden;
  padding: clamp(48px, 5vw, 86px) 0 clamp(56px, 5vw, 96px);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 15px 7px 11px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--gold-300);
  margin-bottom: 22px;
}
.hero__badge svg { width: 16px; height: 16px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero__lede { font-size: clamp(1rem, .95rem + .3vw, 1.14rem); max-width: 56ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__badge-img { width: 168px; height: auto; margin-bottom: 28px; opacity: .95; }

.trust { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 520px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.trust svg { width: 19px; height: 19px; flex: none; color: var(--gold-400); margin-top: 2px; }

/* ---------- form card ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  color: var(--ink-soft);
}
.form-card__head { margin-bottom: 18px; }
.form-card__head h2 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card__head p { font-size: .9rem; color: var(--ink-mute); }

.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .81rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .92rem;
  width: 100%;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6a85' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--indigo-600); box-shadow: 0 0 0 3px rgba(58,31,143,.14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: .76rem; color: var(--danger); display: none; }
.field.has-error .field__error { display: block; }

/* honeypot: off-screen for people, visible to form-filling bots */
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note {
  font-size: .78rem; color: var(--ink-mute); margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.form-note svg { width: 15px; height: 15px; flex: none; }
.form-status {
  display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  font-size: .88rem; font-weight: 600;
  background: rgba(31,157,99,.1); color: var(--green); border: 1px solid rgba(31,157,99,.3);
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: rgba(200,56,47,.08); color: var(--danger); border-color: rgba(200,56,47,.32); }

/* ---------- process steps ---------- */
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(58,31,143,.28); }
.step__media {
  width: 84px; height: 84px; border-radius: 18px;
  overflow: hidden; margin-bottom: 18px;
  background: var(--indigo-800);
}
/* glyphs, not photos: show the whole icon and inset it from the tile edge */
.step__media img { width: 100%; height: 100%; object-fit: contain; padding: 15px; }
.step h3 { margin-bottom: 8px; font-size: 1.12rem; }
.step p { font-size: .93rem; color: var(--ink-mute); }

/* ---------- value cards (about) ---------- */
.value {
  display: flex; flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.value:hover { transform: translateY(-4px); border-color: rgba(58,31,143,.28); box-shadow: var(--shadow); }
/* The four value icons are DARK artwork on transparent, unlike the step
   icons above which are light. They need a light ground or they vanish. */
.value__media {
  width: 84px; height: 84px; border-radius: 18px;
  overflow: hidden; margin-bottom: 18px;
  background: var(--indigo-100);
}
.value__media img { width: 100%; height: 100%; object-fit: contain; padding: 15px; }
.value h3 { font-size: 1.12rem; margin-bottom: 8px; }
.value p { font-size: .93rem; color: var(--ink-mute); }

/* about page: prose + supporting figure */
.about__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- service cards ---------- */
.service {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service__media {
  width: 104px; height: 104px; border-radius: 20px;
  overflow: hidden; margin-bottom: 20px;
  background: var(--indigo-800);
}
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service h3 { margin-bottom: 10px; }
.service p { font-size: .93rem; color: var(--ink-mute); margin-bottom: 18px; }
.service__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .89rem; color: var(--indigo-700);
}
.service__link svg { width: 16px; height: 16px; transition: transform .16s ease; }
.service:hover .service__link svg { transform: translateX(3px); }

/* ---------- stats ---------- */
.stats { text-align: center; }
.stat__value {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3.1rem);
  color: var(--gold-400); line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat__label { font-size: .9rem; letter-spacing: .02em; margin-top: 10px; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold-400), var(--gold-300) 55%, #fff3d6);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: 6px; color: var(--indigo-900); }
.cta-band p { color: rgba(20,9,46,.72); max-width: 56ch; }

/* ---------- blog cards ---------- */
.post {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__thumb { aspect-ratio: 16 / 10; background: var(--indigo-100); overflow: hidden; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--indigo-600); font-weight: 700; margin-bottom: 10px; }
.post h3 { font-size: 1.06rem; margin-bottom: 9px; }
.post h3 a { color: inherit; }
.post h3 a:hover { color: var(--indigo-700); }
.post p { font-size: .9rem; color: var(--ink-mute); margin-bottom: 16px; }
.post__link { margin-top: auto; font-weight: 700; font-size: .87rem; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.post__link svg { width: 16px; height: 16px; flex: none; transition: transform .16s ease; }
.post:hover .post__link svg { transform: translateX(3px); }
.post--wide { grid-column: span 2; }
.post--wide .post__thumb { aspect-ratio: 16 / 8; }

/* ---------- testimonials ---------- */
.reviews-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.reviews-rail > * { scroll-snap-align: start; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.review__mark { width: 34px; height: auto; }
.review__stars { display: flex; gap: 3px; color: var(--gold-600); }
.review__stars svg { width: 17px; height: 17px; }
.review blockquote { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--indigo-800); color: var(--gold-400);
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; font-family: var(--font-head);
}
.review__name { font-weight: 700; color: var(--ink); font-size: .92rem; display: block; }
.review__loc { font-size: .8rem; color: var(--ink-mute); }
.rail-nav { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--indigo-800);
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.rail-btn:hover { background: var(--indigo-800); color: #fff; border-color: var(--indigo-800); }
.rail-btn svg { width: 19px; height: 19px; }

/* ---------- closing evaluation split ---------- */
.eval-split {
  display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  gap: clamp(28px, 3vw, 48px); align-items: center;
}
.eval-split__media { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.eval-split__media img {
  width: 100%; max-width: 360px; height: auto;
  /* The artwork ships with a feathered alpha channel (see the note in
     assets/README-images.md), so it dissolves into the section on its own --
     no card treatment, no CSS mask needed. */
}

/* ---------- faq ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item.is-open { border-color: rgba(58,31,143,.35); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq__q:hover { color: var(--indigo-700); }
.faq__sign { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--indigo-100); color: var(--indigo-700); display: grid; place-items: center; transition: transform .2s ease, background .2s ease, color .2s ease; }
.faq__sign svg { width: 15px; height: 15px; }
.faq__item.is-open .faq__sign { background: var(--indigo-800); color: var(--gold-400); transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 20px; font-size: .94rem; color: var(--ink-mute); }

/* ---------- footer ---------- */
.footer { background: var(--indigo-900); color: rgba(255,255,255,.66); padding: clamp(48px, 4vw, 72px) 0 0; font-size: .92rem; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--gold-400); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: var(--font-head); }
.footer__about { margin-top: 18px; max-width: 42ch; }
.footer__list { list-style: none; display: grid; gap: 11px; }
.footer__contact { list-style: none; display: grid; gap: 16px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--gold-400); margin-top: 3px; }
.footer__contact strong { display: block; color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; font-weight: 700; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .15s ease; }
.socials a:hover { background: var(--gold-400); color: var(--indigo-900); }
.socials svg { width: 17px; height: 17px; }
.footer__bar {
  margin-top: clamp(36px, 3vw, 54px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.footer__bar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.footer__disclaimer {
  background: rgba(0,0,0,.22); font-size: .78rem; line-height: 1.6;
  padding: 18px 0; color: rgba(255,255,255,.5);
}

/* ---------- floating controls ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--indigo-800); color: var(--gold-400);
  border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(20,9,46,.6);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  width: 100%; max-width: 640px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
  margin: auto;
}
.modal.is-open .modal__panel { transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-soft);
}
.modal__close:hover { background: var(--surface-alt); }
.modal__panel { position: relative; }
.modal__panel svg { width: 16px; height: 16px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 340px at 82% 0%, rgba(255,218,138,.18), transparent 60%),
    linear-gradient(150deg, var(--indigo-800), var(--indigo-900));
  color: rgba(255,255,255,.8);
  padding: clamp(44px, 4vw, 76px) 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 62ch; margin-inline: auto; }
.crumbs { list-style: none; display: flex; justify-content: center; gap: 10px; font-size: .84rem; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.crumbs a { color: var(--gold-400); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,.35); }

/* ---------- prose ---------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2rem; display: grid; gap: 8px; }
.prose li { color: var(--ink-soft); }
.prose blockquote {
  margin: 1.6rem 0; padding: 18px 22px;
  border-left: 4px solid var(--gold-400);
  background: var(--surface-alt); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
}
.callout {
  display: flex; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--indigo-100); border: 1px solid rgba(58,31,143,.18);
  margin: 1.6rem 0;
}
.callout svg { width: 22px; height: 22px; flex: none; color: var(--indigo-700); margin-top: 2px; }
.callout strong { color: var(--ink); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); }

.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }

.info-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.info-card__icon { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 12px; background: var(--indigo-100); color: var(--indigo-700); display: grid; place-items: center; }
.info-card__icon svg { width: 23px; height: 23px; }
.info-card h3 { font-size: 1.02rem; }
.info-card a { font-weight: 600; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* once the form stacks below, keep the copy at a readable measure rather
     than letting the h1 run the full width of the viewport */
  .hero__inner > div:first-child { max-width: 720px; }
  .form-card { max-width: 640px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* nav collapses at 1080: below this the logo, six nav items and the
   header CTA no longer fit on one row (overflowed by 18px at 1024) */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto;
    width: min(340px, 86vw);
    background: var(--indigo-800);
    border-left: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .24s ease;
    margin-left: 0;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 13px 14px; justify-content: space-between; font-size: 1rem; }
  .nav__link[aria-current="page"]::after { display: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid rgba(255,255,255,.18);
    border-radius: 0; margin: 2px 0 6px 14px; padding: 0 0 0 8px;
    display: none; min-width: 0;
  }
  .nav__item.is-open .submenu { display: block; }
  .nav__mobile-cta { display: inline-flex; margin-top: 16px; }
  .grid--3, .grid--4, .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about__inner, .split, .eval-split { grid-template-columns: 1fr; }
  .eval-split__media { display: none; }
  .about__stat { left: 16px; }
  .post--wide { grid-column: auto; }
  .sticky-card { position: static; }
}
@media (max-width: 640px) {
  .topbar__inner { justify-content: center; }
  .topbar__note { display: none; }
  .topbar__group { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .grid--2, .grid--3, .grid--4, .info-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .reviews-rail { grid-auto-columns: minmax(280px, 84vw); }
  .hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
