/* ==========================================================================
   APO UK - Clean Fintech
   Palette: white base, brand blue #0266A5, navy #012A48 (logo-sourced), black/grey accents
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --blue:        #0266A5;
  --blue-deep:   #054d7d;   /* derived darker blue for button hover / gradient ends (not a logo colour) */
  --navy:        #012A48;   /* logo-dominant navy */
  --navy-2:      #012B49;

  --ink:         #0f1b24;   /* near-black text */
  --ink-soft:    #3d4c57;   /* body text */
  --muted:       #667682;   /* secondary text */
  --line:        #e4e9ee;   /* hairline borders */
  --line-strong: #d3dae1;
  --surface:     #ffffff;
  --surface-2:   #f5f8fb;   /* tinted section bg */
  --surface-3:   #eef3f8;

  --blue-tint:   #eaf3fa;   /* very light blue wash */

  --pos:         #2fa36b;   /* positive / "up" status */
  --pos-rgb:     47, 163, 107;
  --warn:        #c07a12;   /* warning / "overdue" status */

  /* Text on dark bands (all pass AA >=8:1 on navy) */
  --dk-text-bright: #e7f1f8;  /* emphasis on dark */
  --dk-text:        #cfe2f0;  /* default body on dark */
  --dk-text-soft:   #b9d3e6;  /* intro / secondary on dark */
  --dk-text-muted:  #a9c6db;  /* tertiary on dark */
  --dk-accent:      #9ec7e6;  /* eyebrow / icon accent on dark */

  /* Footer text on navy */
  --ft-text:     #b7cdde;   /* footer links */
  --ft-body:     #9db8cc;   /* footer base text */
  --ft-muted:    #8fabc1;   /* footer tag / muted */
  --ft-faint:    #7f9cb2;   /* footer labels / legal */

  --grey-faint:  #9aa7b1;   /* faint grey on light (trustbar/placeholder text) */

  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   22px;

  --shadow-sm:   0 1px 2px rgba(1, 42, 72, .04), 0 1px 3px rgba(1, 42, 72, .05);
  --shadow-md:   0 6px 24px rgba(1, 42, 72, .07);
  --shadow-lg:   0 20px 50px rgba(1, 42, 72, .12);

  --container:   1160px;
  --gutter:      24px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 92px 0; }
.section__head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head--left { margin-left: 0; text-align: left; }
.section__title {
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  margin: 18px 0 0;
}
.section__intro {
  margin-top: 18px;
  font-size: 1.06rem;
  color: var(--muted);
}

/* Eyebrows are pills site-wide - same family as the hero kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 30px;
  margin: 0;
}
.eyebrow--blue {
  color: var(--blue);
  background: var(--blue-tint);
}
.eyebrow--light {
  color: var(--dk-accent);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(2, 102, 165, .22);
}
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(2, 102, 165, .28); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--onDark {
  background: #fff;
  color: var(--navy);
}
.btn--onDark:hover { background: var(--blue-tint); transform: translateY(-1px); }

/* ---------- Site head (contact strip + nav, pinned together) ---------- */
.sitehead {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ---------- Contact strip (above nav) ---------- */
.topbar { background: var(--navy); }
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  padding: 8px var(--gutter);
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--dk-text);
  transition: color .15s var(--ease);
}
.topbar__link:hover { color: #fff; }
.topbar__link svg { width: 14px; height: 14px; flex-shrink: 0; stroke: var(--dk-accent); }
@media (max-width: 560px) {
  .topbar__inner { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .topbar__link { font-size: .8rem; }
}

/* ---------- Nav ---------- */
.nav {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: auto;
  padding: 10px var(--gutter);
}
.nav__brand { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.nav__logo { width: 120px; height: auto; }
.nav__tagline {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy);
  white-space: nowrap;
}
@media (max-width: 960px) {
  .nav__logo { width: 84px; }
  .nav__brand { flex-direction: row; align-items: center; gap: 9px; }
  .nav__tagline {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    max-width: 120px;
    white-space: normal;
    text-align: left;
  }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav__links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s var(--ease);
}
.nav__links a:hover { color: var(--blue); }
.nav__cta { margin-left: 4px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

/* ---------- Hero (light editorial) ---------- */
.hero {
  position: relative;
  padding: 96px 0 110px;
  background:
    radial-gradient(70% 95% at 88% 0%, var(--blue-tint) 0%, rgba(234, 243, 250, 0) 62%),
    radial-gradient(55% 70% at 0% 105%, var(--surface-2) 0%, rgba(245, 248, 251, 0) 58%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* faint grid texture, fading out from the top-right wash */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(115% 100% at 72% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(115% 100% at 72% 0%, #000 0%, transparent 74%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 430px);
  gap: 80px;
  align-items: center;
}
.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero__accent { color: var(--blue); }
.hero__body {
  margin-top: 18px;
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 62ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
/* proof row: reuses the site's checkmark-chip language at micro scale */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__proof li {
  position: relative;
  padding-left: 27px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
}
.hero__proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%230266A5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* layered visual: two offset sheets peeking out behind the dashboard card */
.hero__visual { position: relative; }
.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  pointer-events: none;
}
.hero__visual::before {
  transform: translate(40px, -40px);
  background: var(--blue-tint);
  opacity: .55;
}
.hero__visual::after {
  transform: translate(20px, -20px);
  background: rgba(255, 255, 255, .72);
}

/* Illustrative overview card */
.viz {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px 24px 26px;
}
.viz__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.viz__title { font-size: .98rem; font-weight: 700; color: var(--navy); }
.viz__badge {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 20px;
}
/* headline KPI */
.viz__kpi { margin-bottom: 14px; }
.viz__kpiLabel { font-size: .8rem; color: var(--muted); font-weight: 600; }
.viz__kpiRow { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.viz__kpiValue { font-size: 1.9rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.viz__kpiDelta {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .82rem; font-weight: 700; color: var(--pos);
  background: rgba(var(--pos-rgb), .1); padding: 3px 8px; border-radius: 20px;
}
.viz__kpiSub { display: block; margin-top: 4px; font-size: .76rem; color: var(--muted); }

.viz__chart { height: 84px; position: relative; }
.viz__chart svg { width: 100%; height: 100%; overflow: visible; }
.viz__grid line { stroke: var(--line); stroke-width: 1; }
.viz__line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.viz__area { opacity: 1; }

/* month markers under the chart */
.viz__months {
  display: flex;
  justify-content: space-between;
  margin: 6px 2px 16px;
}
.viz__months span {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grey-faint);
}

/* glowing end-of-line marker */
.viz__dot {
  position: absolute;
  top: 11px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(2, 102, 165, .16);
}

/* floating micro-stat card (layered depth) - overhangs the card's top-left corner,
   clear of the KPI delta chip it used to collide with */
.viz__float {
  position: absolute;
  top: -26px;
  left: -36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  padding: 9px 13px;
}
@media (max-width: 720px) {
  .viz__float { left: -8px; }
}
.viz__floatLabel { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.viz__floatVal { display: inline-flex; align-items: center; gap: 3px; font-size: .92rem; font-weight: 700; color: var(--pos); letter-spacing: -0.01em; }
.viz__spark { width: 42px; height: 16px; }
.viz__spark path { fill: none; stroke: var(--pos); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ----- Hero illustration micro-animations (one-time on load; disabled for reduced-motion) ----- */
@keyframes viz-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes viz-draw { to { stroke-dashoffset: 0; } }
@keyframes viz-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes viz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes viz-pulse {
  0% { box-shadow: 0 0 0 0 rgba(2, 102, 165, .45); }
  70% { box-shadow: 0 0 0 9px rgba(2, 102, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 102, 165, 0); }
}
@keyframes chip-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--pos-rgb), .5); }
  70% { box-shadow: 0 0 0 8px rgba(var(--pos-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--pos-rgb), 0); }
}

.viz { animation: viz-rise .6s var(--ease) .05s both; }
.viz__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: viz-draw 1.4s var(--ease) .25s forwards; }
.viz__area { opacity: 0; animation: viz-fade .8s var(--ease) .9s forwards; }
.viz__spark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: viz-draw 1s var(--ease) .95s forwards; }
.viz__dot { opacity: 0; animation: viz-pop .45s var(--ease) 1.45s forwards, viz-pulse 2.6s var(--ease) 1.9s infinite; }
.viz__float { opacity: 0; animation: viz-rise .6s var(--ease) .7s both; }
.hero__chip { opacity: 0; animation: viz-rise .6s var(--ease) .95s both; }
.hero__chipDot { animation: chip-pulse 2.6s var(--ease) 1.4s infinite; }

/* stat footer */
.viz__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.viz__stat { display: flex; flex-direction: column; gap: 2px; }
.viz__statLabel { font-size: .74rem; color: var(--muted); font-weight: 500; }
.viz__statVal { font-size: 1.05rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.viz__statVal--warn { color: var(--warn); }
.viz__statVal--pos { color: var(--pos); display: inline-flex; align-items: center; gap: 5px; }

.hero__chip {
  position: absolute;
  right: -28px;
  bottom: -34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 30px;
  padding: 10px 18px 10px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
.hero__chipDot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--pos);
  box-shadow: 0 0 0 4px rgba(var(--pos-rgb), .16);
}

/* ---------- Tools / trust strip (centred, quiet) ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.trustbar__label {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.trustbar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 72px;
  flex-wrap: wrap;
}
.trustbar__logos li { display: inline-flex; align-items: center; }
.trustbar__img {
  height: 26px;
  width: auto;
}
.trustbar__img--xero { height: 42px; }
.trustbar__img--sage { height: 24px; }
.trustbar__img--freeagent { height: 28px; }
.trustbar__logos li.trustbar__dupe { display: none; }

/* Mobile: logos auto-scroll in one row instead of wrapping */
@media (max-width: 720px) {
  .trustbar__inner {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }
  .trustbar__logos {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    gap: 0;
    animation: trustbar-scroll 18s linear infinite;
  }
  .trustbar__logos li { margin-right: 48px; }
  .trustbar__logos li.trustbar__dupe { display: inline-flex; }
}
@keyframes trustbar-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trustbar__logos { animation: none; }
  .trustbar__inner { overflow-x: auto; }
}

/* ---------- Who We Help ---------- */
.who { background: var(--surface-2); }
.who__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  max-width: 900px;
  margin: 0 auto;
}
.who__item {
  position: relative;
  padding: 20px 22px 20px 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.who__item:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.who__item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230266A5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Why Choose ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.why__card {
  padding: 32px 30px;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.why__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.card__title {
  font-size: 1.2rem;
  color: var(--navy);
}
.card__body {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.01rem;
}

/* ---------- About / who we are (text-only, no team photo yet) ---------- */
.about { background: var(--surface-2); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: 28px 76px;
  align-items: start;
}
.about__head {
  margin-bottom: 0;
  position: sticky;
  top: 132px;
}
.about__body {
  display: grid;
  gap: 20px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.about__lede {
  font-size: 1.34rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.about__belief {
  margin-top: 8px;
  padding: 26px 28px;
  background: var(--blue-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; gap: 8px; }
  .about__head { position: static; margin-bottom: 24px; }
  .about__lede { font-size: 1.22rem; }
}
@media (max-width: 620px) {
  .about__belief { padding: 22px 20px; }
}

/* ---------- Services ---------- */
/* backgrounds re-alternated after the About section removal: services/how/pricing flipped to keep the white↔tinted rhythm */
.services { background: var(--surface-2); }
.services__head { margin-bottom: 40px; max-width: 900px; }
.services__head .section__intro { max-width: 760px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  padding: 26px 24px;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 18px;
}
.service__icon svg { width: 23px; height: 23px; }
.service:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.service__title {
  font-size: 1.1rem;
  color: var(--navy);
}
.service__body {
  margin-top: 10px;
  font-size: .97rem;
  color: var(--ink-soft);
}

/* CFO callout (dark band inside services) */
.cfo-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  padding: 38px 42px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  box-shadow: var(--shadow-md);
}
.cfo-callout__text { max-width: 640px; }
.cfo-callout__title {
  margin-top: 8px;
  color: #fff;
  font-size: 1.5rem;
}
.cfo-callout__body {
  margin-top: 10px;
  color: var(--dk-text);
  font-size: 1.02rem;
}

/* ---------- How We Work (connected progress steps) ---------- */
.how { background: var(--surface); }
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how__step {
  position: relative;
  text-align: left;
  padding: 0 8px;
}
/* connector track running from the edge of each number to the next */
.how__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 64px;
  width: calc(100% - 64px + 24px);
  height: 1px;
  background: var(--line-strong);
  z-index: 0;
}
/* last step's line closes out the sequence instead of stopping short */
.how__step:last-child::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 64px;
  width: calc(100% - 64px);
  height: 1px;
  background: var(--line-strong);
  z-index: 0;
}
.how__num {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 64px;
  line-height: 44px;
  color: var(--line-strong);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  text-align: left;
}
.how__title {
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--navy);
  text-align: left;
}
.how__body {
  margin-top: 10px;
  font-size: .97rem;
  color: var(--ink-soft);
  text-align: left;
}

/* ---------- Pricing ---------- */
.pricing { background: var(--surface-2); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price {
  position: relative;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.price--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  border-width: 1.5px;
}
.price--featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* featured tier rests slightly proud of its neighbours on desktop */
@media (min-width: 821px) {
  .price--featured { transform: translateY(-8px); }
  .price--featured:hover { transform: translateY(-12px); }
}
.price:hover { box-shadow: var(--shadow-md); }
.price__tag {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.price__name {
  font-size: 1.25rem;
  color: var(--navy);
}
.price__amount {
  margin-top: 16px;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price__from {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 6px;
}
.price__per {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}
.price__for {
  margin-top: 16px;
  font-size: .98rem;
  color: var(--ink-soft);
}
.price__list {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  flex: 1;
}
.price__list li {
  position: relative;
  padding-left: 28px;
  font-size: .97rem;
  color: var(--ink);
}
.price__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%230266A5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.price__list + .btn { margin-top: 26px; }
.pricing__note {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- Fractional CFO (dark section) ---------- */
.cfo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #01243d 100%);
  color: var(--dk-text);
}
/* faint grid texture echoing the hero's - the two "big moment" bands rhyme */
.cfo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .06;
  -webkit-mask-image: radial-gradient(110% 100% at 20% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(110% 100% at 20% 0%, #000 0%, transparent 74%);
  pointer-events: none;
}
.cfo__inner {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.cfo__title {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}
.cfo__intro {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--dk-text-soft);
}
.cfo__intro + .cfo__intro { margin-top: 14px; }
/* price pulled out as a stat - the number does the talking */
.cfo__priceStat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.cfo__priceLabel {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dk-accent);
}
.cfo__priceValue {
  font-size: 2.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cfo__priceUnit {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--dk-text-soft);
}
.cfo__priceNote { font-size: .95rem; color: var(--dk-text-muted); }
.cfo .btn { margin-top: 28px; }
/* capability cards: glass tiles in a 2-up grid, last one spanning full width */
.cfo__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cfo__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.cfo__item:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  transform: translateY(-3px);
}
@media (max-width: 720px) {
  .cfo__list { grid-template-columns: 1fr; }
}
.cfo__itemIcon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--dk-accent);
}
.cfo__itemIcon svg { width: 21px; height: 21px; }
.cfo__itemTitle {
  color: #fff;
  font-size: 1.08rem;
}
.cfo__itemBody {
  margin-top: 6px;
  font-size: .96rem;
  color: var(--dk-text-muted);
}

/* ---------- FAQ (editorial divided list) ---------- */
.faq { background: var(--surface); }
.faq__inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.faq__inner .section__head { margin-bottom: 0; }
/* support card under the left head */
.faq__support {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.faq__supportIcon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--blue-tint);
  color: var(--blue);
}
.faq__supportIcon svg { width: 20px; height: 20px; }
.faq__supportTitle { font-weight: 700; color: var(--navy); font-size: 1rem; }
.faq__supportLink {
  display: inline-block;
  margin-top: 3px;
  color: var(--blue);
  font-weight: 600;
  font-size: .96rem;
}
.faq__supportLink:hover { color: var(--blue-deep); }
.faq__supportNote { margin-top: 3px; font-size: .88rem; color: var(--muted); }
/* questions: hairline-divided rows, plus icon rotating to a close mark */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 22px 46px 22px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  transition: color .18s var(--ease);
}
.faq__q:hover { color: var(--blue); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230266A5' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--ease);
}
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a {
  padding: 0 46px 24px 0;
  color: var(--ink-soft);
  font-size: .99rem;
}

/* ---------- Contact ---------- */
/* the contact band is navy, merging with the footer into one continuous dark
   finale; the white panel floats inside it as the page's closing showpiece */
.contact { background: var(--navy); }
.section.contact { padding-bottom: 44px; }
.contact__panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact__title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin-top: 18px;
}
.contact__body {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
/* direct-email block - one quiet hairline-topped unit, not a contact directory */
.contact__direct {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}
.contact__directLabel {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__directLink {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blue);
  transition: color .15s var(--ease);
}
.contact__directLink:hover { color: var(--blue-deep); }
.contact__directSep {
  margin: 0 10px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--line-strong);
}
.contact__directNote {
  margin-top: 5px;
  font-size: .9rem;
  color: var(--muted);
}

/* the form has no inner card - just clean filled fields inside the one panel */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 460px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
.contact__sent {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--blue-tint);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
}
.contact__error {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #fbf3e7;
  border: 1px solid #ecdcbf;
  color: var(--warn);
  font-size: .95rem;
  font-weight: 500;
}
.contact__error a { color: inherit; text-decoration: underline; }
.form__note {
  font-size: .82rem;
  color: var(--muted);
  background: var(--blue-tint);
  border: 1px dashed #b9d7ea;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 22px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background-color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: var(--line-strong); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2, 102, 165, .14);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--grey-faint); }

/* ---------- Footer (top row + columns) ---------- */
.footer {
  background: var(--navy);
  color: var(--ft-body);
  padding: 0 0 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer__logo {
  width: 120px;
  height: auto;
}
.footer__tagline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .footer__brand { flex-direction: row; align-items: center; gap: 9px; }
  .footer__logo { width: 84px; }
  .footer .footer__tagline {
    display: block;
    font-size: 10px;
    line-height: 1.35;
    max-width: 120px;
    white-space: normal;
    text-align: left;
  }
}
.footer__tag {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ft-text);
}
.footer__desc {
  margin-top: 18px;
  font-size: .93rem;
  color: var(--ft-muted);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__colTitle {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ft-faint);
  margin-bottom: 2px;
}
.footer__col a {
  font-size: .93rem;
  color: var(--ft-text);
  transition: color .15s var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__muted { font-size: .93rem; color: var(--ft-text); }
@media (max-width: 720px) {
  .footer__legalSep { display: none; }
  .footer__legalItem { display: block; }
  .footer__legalItem + .footer__legalItem { margin-top: 10px; }
  .footer__legalItem:first-child::after { content: "."; }
}
.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer__legal { font-size: .85rem; color: var(--ft-faint); margin: 0; }
.footer__legalLinks { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__privacy { font-size: .85rem; color: var(--ft-text); transition: color .15s var(--ease); }
.footer__privacy:hover { color: #fff; }
.footer__cookieBtn { background: none; border: 0; padding: 0; }

/* ---------- Cookie consent banner ---------- */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 0 var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 16px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.cookie--show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie__inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie__text { flex: 1 1 300px; margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-soft); }
.cookie__link { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.cookie__link:hover { color: var(--blue-deep); }
.cookie__actions { display: flex; gap: 12px; flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie__inner { align-items: stretch; }
  .cookie__actions { width: 100%; }
  .cookie__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie { transition: none; }
}

/* ---------- Legal pages (Privacy / Cookie) ---------- */
.legal { padding: 72px 0 88px; }
.legal__inner { max-width: 760px; }
.legal__eyebrow { margin-bottom: 14px; }
.legal__title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.6rem); letter-spacing: -0.02em; }
.legal__updated { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.legal__note {
  margin: 26px 0 8px;
  padding: 16px 18px;
  background: var(--blue-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--ink-soft);
}
.legal__body { margin-top: 34px; }
.legal__body h2 { font-size: 1.25rem; color: var(--navy); margin: 34px 0 10px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin: 0 0 14px; color: var(--ink-soft); }
.legal__body ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.legal__body li { margin-bottom: 8px; color: var(--ink-soft); }
.legal__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--blue-deep); }

/* ==========================================================================
   Motion (restrained, reduced-motion safe)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .service, .why__card, .who__item, .price, .cfo__item { transition: none !important; }
  .viz, .viz__float, .hero__chip, .viz__area, .viz__dot { animation: none !important; opacity: 1 !important; transform: none !important; }
  .viz__line, .viz__spark path { animation: none !important; stroke-dashoffset: 0 !important; }
  .hero__chipDot { animation: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet / small laptop */
@media (max-width: 1000px) {
  .section { padding: 76px 0; }
  .hero { padding: 64px 0 84px; }
  /* extra gap: the layered sheets extend ~40px above the card when stacked */
  .hero__inner { grid-template-columns: 1fr; gap: 76px; }
  .hero__visual { max-width: 440px; width: 100%; }
  .cfo__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__panel { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Tablet portrait */
@media (max-width: 820px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price--featured { order: -1; }
  .why__grid { grid-template-columns: 1fr; }
  .cfo-callout { flex-direction: column; align-items: flex-start; padding: 32px 28px; }

  /* How We Work becomes a vertical connected sequence */
  .how__steps { grid-template-columns: 1fr; gap: 0; }
  .how__step {
    display: grid;
    grid-template-columns: 62px 1fr;
    column-gap: 20px;
    text-align: left;
    padding: 0 0 34px;
  }
  .how__step:last-child { padding-bottom: 0; }
  .how__num { grid-row: 1 / span 2; text-align: left; }
  .how__step:not(:last-child)::after {
    top: 54px;
    left: 22px;
    width: 1px;
    height: calc(100% - 54px);
    background: var(--line-strong);
  }
  .how__title { margin-top: 6px; }
  .how__body { margin: 4px 0 0; max-width: none; }
}

/* Tablet portrait and below: nav collapses */
@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .25s var(--ease), opacity .2s var(--ease);
  }
  .nav--open .nav__links {
    max-height: 340px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 13px var(--gutter);
    font-size: 1rem;
    border-top: 1px solid var(--line);
  }
  .nav__links a:first-child { border-top: none; }
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }

  .who__grid { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 40px; }
  .hero__actions .btn { flex: 1; }
}

/* Small mobile */
@media (max-width: 460px) {
  :root { --gutter: 18px; }
  .hero__title { font-size: 2.15rem; }
  .cfo-callout { padding: 26px 22px; }
  .contact__panel { padding: 28px 20px; }
  .why__card { padding: 26px 22px; }
}

/* Footer responsive */
@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Hero visual on smaller screens */
@media (max-width: 1000px) {
  .hero__visual { margin: 0 auto; }
  .hero__chip { right: -12px; }
}
@media (max-width: 460px) {
  .hero__chip { right: -6px; bottom: -22px; font-size: .8rem; padding: 8px 14px 8px 12px; }
  .hero__visual::before { transform: translate(24px, -24px); }
  .hero__visual::after { transform: translate(12px, -12px); }
}

/* Services grid responsive (8 cards divide evenly into 4 / 2 / 1) */
@media (max-width: 1000px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .services__grid { grid-template-columns: 1fr; } }

/* Trust strip responsive */
@media (max-width: 760px) {
  .trustbar__logos { gap: 14px 28px; }
}

/* ---------- Mission (contained dark statement panel, sits between About and FAQ) ---------- */
.mission { background: var(--surface); }
.mission__panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  box-shadow: var(--shadow-md);
}
/* soft background shapes - two faint circles drifting off the corners */
.mission__panel::before,
.mission__panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.mission__panel::before {
  width: 420px;
  height: 420px;
  top: -210px;
  left: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 68%);
}
.mission__panel::after {
  width: 520px;
  height: 520px;
  bottom: -300px;
  right: -160px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: radial-gradient(circle, rgba(2, 102, 165, .28) 0%, rgba(2, 102, 165, 0) 70%);
}
.mission__content { position: relative; z-index: 1; }
.mission__statement {
  max-width: 780px;
  margin: 24px auto 0;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #fff;
}
.mission__support {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--dk-text);
}
@media (max-width: 720px) {
  .mission__panel { padding: 48px 28px; }
}
@media (max-width: 460px) {
  .mission__panel { padding: 40px 22px; }
}
