/* ==========================================================================
   The Finance Partners — Design System
   Palette: Navy #082B6B · Pink #FF2E9A · White · Light Grey #F7F8FA · Text #333
   Type: Poppins (headings) · Inter (body) — self-hosted for speed & privacy
   Signature: the "introduction path" — a connective route that links a
   client to the right specialist, echoing what the business actually does.
   ========================================================================== */

/* ---------- Self-hosted fonts ----------
   font-display: optional eliminates layout shift — the browser either has the
   font ready (preloaded) at first paint or keeps the fallback for that load,
   never swapping mid-view. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("../fonts/poppins-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --navy:        #082B6B; /* brand primary navy */
  --navy-700:    #0d3a86;
  --navy-500:    #1a4ea0;
  /* Brand pink — bright #FF2E9A for decoration/large text; deepened shades keep
     small text & white-on-pink buttons AA-compliant. (var names kept as --teal*
     so the whole system rebrands from one place.) */
  --teal:        #FF2E9A; /* bright brand pink — icons, decorative marks, large text */
  --teal-600:    #D81B8C; /* pink button bg — white text passes AA (4.7:1) */
  --teal-text:   #C4127A; /* accent text & links on white / light grey (AA) */
  --teal-050:    #FFEAF5; /* light pink tint */
  --pink:        #FF2E9A; /* alias for clarity */
  --pink-200:    #FF8CC6; /* light pink for accent TEXT on navy (AA on navy) */
  --pink-hover:  #B3126C; /* button hover */
  --gold:        #FF2E9A; /* legacy accent -> pink */
  --gold-050:    #FFEAF5;
  --grey-bg:     #F7F8FA;
  --grey-line:   #e6e9ef;
  --ink:         #333333; /* brand body text */
  --ink-soft:    #5a6a7d;
  --white:       #ffffff;

  /* Type */
  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale & rhythm */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(8,43,107, .06), 0 4px 14px rgba(8,43,107, .06);
  --shadow-md: 0 10px 30px rgba(8,43,107, .10);
  --shadow-lg: 0 24px 60px rgba(8,43,107, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-text); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Links inside runs of text must be distinguishable by more than colour (WCAG) */
.breadcrumb a, .form-note a, .value-list a, .prose a, .lead a, main p a { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

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

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--grey-bg); }
.section--navy { background: var(--navy); color: #dce6f1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .6rem;
  max-width: 100%;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; flex: none; }
.section--navy .eyebrow { color: var(--pink-200); }
.section--navy .eyebrow::before { background: var(--teal); }

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.section--navy .lead { color: #b9c9db; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--teal-600); color: #fff; box-shadow: 0 8px 20px rgba(216, 27, 140, .28); }
.btn--primary:hover { background: var(--pink-hover); box-shadow: 0 12px 26px rgba(216, 27, 140, .34); }
.btn--gold { background: var(--teal-600); color: #fff; box-shadow: 0 8px 20px rgba(216, 27, 140, .28); }
.btn--gold:hover { background: var(--pink-hover); box-shadow: 0 12px 26px rgba(216, 27, 140, .34); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--grey-line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-600); }
.btn--on-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--on-navy:hover { border-color: var(--pink); color: var(--pink-200); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--grey-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
/* Wordmark logo: lowercase "the finance partners", finance in pink */
.brand__word { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1; color: var(--navy); letter-spacing: -.02em; text-transform: lowercase; white-space: nowrap; }
.brand__accent { color: var(--teal-text); }
.site-footer .brand__word { color: #fff; }
.site-footer .brand__accent { color: var(--pink-200); }
.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) { color: var(--navy); font-weight: 500; font-size: .97rem; padding: .55rem .8rem; border-radius: 8px; font-family: var(--font-head); }
.nav__links a:not(.btn):hover { color: var(--teal-text); background: var(--teal-050); text-decoration: none; }
.nav__links a[aria-current="page"]:not(.btn) { color: var(--teal-text); }
.nav__cta { margin-left: .5rem; }
.nav__toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }
.nav__toggle svg { width: 26px; height: 26px; }

/* dropdown */
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--grey-line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .18s var(--ease); list-style: none; margin: 0;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu a { display: block; padding: .6rem .75rem; border-radius: 9px; font-family: var(--font-head); font-size: .95rem; }
.menu a small { display: block; font-family: var(--font-body); color: var(--ink-soft); font-weight: 400; font-size: .82rem; }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--grey-line); padding: 1rem var(--gutter) 1.5rem;
    gap: .15rem; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: all .2s var(--ease);
  }
  .nav__links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__links a { padding: .8rem .6rem; font-size: 1.05rem; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; min-width: 0; }
  .nav__cta { margin: .6rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before {
  /* ambient connective grid */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 85% 15%, rgba(255,46,154,.35), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(255,46,154,.16), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { color: #c3d2e2; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; color: #9fb2c7; font-size: .9rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.hero__eyebrow { color: var(--pink-200); }

/* Hero routing card — the signature: a client routed to a matched partner */
.route-card {
  background: linear-gradient(180deg, #0d3a86, #082B6B);
  border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 1.6rem;
  box-shadow: var(--shadow-lg); position: relative;
}
.route-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.route-card__head span { font-family: var(--font-head); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #8ea6c1; }
.route-card__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(255,46,154,.2); }
.route-node {
  display: flex; align-items: center; gap: .9rem; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 13px; padding: .85rem 1rem; color: #eaf1f8;
}
.route-node__icon { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255,46,154,.18); color: var(--teal); }
.route-node__icon svg { width: 21px; height: 21px; }
.route-node b { font-family: var(--font-head); font-weight: 500; font-size: .98rem; display: block; }
.route-node small { color: #93a8c1; }
.route-node--match { background: rgba(255,46,154,.12); border-color: rgba(255,46,154,.4); }
.route-node--match .route-node__icon { background: rgba(255,46,154,.2); color: var(--gold); }
.route-connector { display: grid; place-items: center; height: 30px; }
.route-connector svg { height: 30px; width: 18px; color: rgba(255,255,255,.3); }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .route-card { max-width: 460px; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin-bottom: 1rem; }
.card__icon { width: 52px; height: 52px; border-radius: 13px; background: var(--teal-050); color: var(--teal); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 26px; height: 26px; }
.card__link { margin-top: auto; font-family: var(--font-head); font-weight: 500; color: var(--teal-600); display: inline-flex; align-items: center; gap: .4rem; }
.card__link .arr { transition: transform .2s var(--ease); }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255,46,154,.35); text-decoration: none; }
.card--link:hover .card__link .arr { transform: translateX(3px); }

.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; }

/* ---------- How it works: the introduction path ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 18px);
  opacity: .5; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid var(--teal);
  color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1.3rem;
  display: grid; place-items: center; margin: 0 auto 1.1rem; box-shadow: var(--shadow-sm);
}
.step:last-child .step__num { border-color: var(--gold); background: var(--gold-050); }
.step h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.step p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 0; bottom: 0; left: 30px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--teal) 0 10px, transparent 10px 18px); }
  .step { display: grid; grid-template-columns: 60px 1fr; column-gap: 1rem; row-gap: .15rem; text-align: left; padding-block: 1rem; align-items: start; }
  .step__num { margin: 0; grid-row: 1 / span 2; }
  .step h3, .step p { grid-column: 2; }
}

/* ---------- Trust counters ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.counter { text-align: center; padding: 1.2rem; }
.counter__num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.counter__num .plus { color: var(--pink-200); }
.counter__label { color: #a9bccf; margin-top: .6rem; font-size: .95rem; }
@media (max-width: 620px) { .counters { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; } }

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  background: #fff; border: 1px solid var(--grey-line); border-radius: 999px;
  padding: .55rem 1.1rem; font-family: var(--font-head); font-size: .93rem; color: var(--navy);
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--teal); color: var(--teal-600); background: var(--teal-050); }

/* ---------- Value props (why choose) ---------- */
.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.value-list li { display: flex; gap: .9rem; align-items: flex-start; }
.value-list .tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-050); color: var(--teal); display: grid; place-items: center; margin-top: .1rem; }
.value-list .tick svg { width: 16px; height: 16px; }
.value-list b { font-family: var(--font-head); color: var(--navy); font-weight: 600; }

/* ---------- Testimonials ---------- */
.tcarousel { position: relative; }
.tcarousel__track { overflow: hidden; }
.tcarousel__slides { display: flex; transition: transform .5s var(--ease); }
.tslide { min-width: 100%; padding: 0 .5rem; }
.quote { background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow-sm); max-width: 780px; margin: 0 auto; text-align: center; }
.quote__mark { font-family: var(--font-head); color: var(--teal-text); font-size: 3rem; line-height: .5; height: 1.4rem; }
.quote p { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--navy); font-family: var(--font-head); font-weight: 500; line-height: 1.4; }
.quote__by { color: var(--ink-soft); font-size: .95rem; font-family: var(--font-body); }
.quote__by b { color: var(--navy); }
.tcarousel__dots { display: flex; justify-content: center; gap: .25rem; margin-top: 1.6rem; }
.tdot { width: 24px; height: 24px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.tdot::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--grey-line); transition: background .2s, transform .2s; }
.tdot[aria-selected="true"]::before { background: var(--teal); transform: scale(1.3); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--grey-line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--navy); }
.faq__q .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--teal); transition: transform .25s var(--ease); }
.faq__q .plus::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq__q .plus::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq__item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.faq__a p { color: var(--ink-soft); padding-bottom: 1.3rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), #0d3a86); color: #fff; border-radius: 24px; padding: clamp(2.4rem, 5vw, 3.6rem); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% -10%, rgba(255,46,154,.35), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3d2e2; max-width: 52ch; margin: 0 auto 1.8rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--navy); margin-bottom: .45rem; }
.field label .req { color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--grey-line); border-radius: var(--radius-sm);
  background: #fcfdfe; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-050); }
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; gap: 0; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--teal); }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; }
.form-success { display: none; background: var(--teal-050); border: 1px solid rgba(255,46,154,.3); color: var(--navy); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.form-success.show { display: block; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 4.5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 90% 0%, rgba(255,46,154,.3), transparent 55%); }
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c3d2e2; font-size: 1.2rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: #8ea6c1; margin-bottom: 1.2rem; }
.breadcrumb a { color: #b9c9db; }
.breadcrumb span { color: var(--pink-200); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: var(--teal-600); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9bccf; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 1.1rem; font-weight: 600; }
.site-footer a { color: #a9bccf; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; max-width: 32ch; }
.footer-contact { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; font-size: .95rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--teal); vertical-align: -2px; margin-right: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.6rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-bottom a { margin-left: 1.2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Feature split (service pages) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.media-card { background: linear-gradient(160deg, var(--teal-050), #fff); border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.stat-row .s-num { font-family: var(--font-head); font-weight: 600; font-size: 1.8rem; color: var(--teal-600); }
.stat-row .s-lab { font-size: .82rem; color: var(--ink-soft); }

/* skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--teal-600); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; font-family: var(--font-head); z-index: 100; }
.skip:focus { left: 0; }

/* ==========================================================================
   Multi-step lead form (contact page)
   No-JS: renders as one page and submits. JS: validated wizard (.is-enhanced).
   ========================================================================== */
[hidden] { display: none !important; }
.u-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.lf-opt { color: var(--ink-soft); font-weight: 400; font-size: .85em; }

/* Progress indicator (shown only when enhanced) */
.leadform:not(.is-enhanced) .lf-progress { display: none; }
.leadform:not(.is-enhanced) .lf-back,
.leadform:not(.is-enhanced) .lf-next { display: none; }
.leadform:not(.is-enhanced) .lf-empty { display: none; }
.lf-progress { display: flex; list-style: none; padding: 0; margin: 0 0 1.8rem; gap: .3rem; }
.lf-progress__step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .45rem; position: relative; text-align: center; font-family: var(--font-head); font-size: .72rem; color: var(--ink-soft); }
.lf-progress__num { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-bg); border: 1.5px solid var(--grey-line); color: var(--ink-soft); font-weight: 600; font-size: .85rem; transition: background .2s, border-color .2s, color .2s; }
.lf-progress__step:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 19px); right: calc(-50% + 19px); height: 2px; background: var(--grey-line); z-index: 0; }
.lf-progress__step.is-active .lf-progress__num { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.lf-progress__step.is-active .lf-progress__label { color: var(--navy); }
.lf-progress__step.is-done .lf-progress__num { background: var(--teal-050); border-color: var(--teal-600); color: var(--teal-text); }
.lf-progress__step.is-done::after { background: var(--teal-600); }
@media (max-width: 420px) { .lf-progress__label { display: none; } }

/* Steps */
.lf-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.leadform.is-enhanced .lf-step:not(.is-active) { display: none; }
.leadform.is-enhanced .svc-block:not(.is-active) { display: none; }
.lf-legend { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.25rem; padding: 0; margin-bottom: .3rem; }
.lf-legend:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lf-step .lf-hint { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1.3rem; }
.lf-empty { color: var(--ink-soft); font-style: italic; }
.svc-block + .svc-block { margin-top: 0; }

/* Service choice cards */
.lf-choices { display: grid; gap: .7rem; }
.lf-choice { display: flex; align-items: center; gap: .9rem; border: 1.5px solid var(--grey-line); border-radius: 12px; padding: .85rem 1rem; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.lf-choice:hover { border-color: var(--teal); }
.lf-choice input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--teal-600); }
.lf-choice__body { display: flex; flex-direction: column; }
.lf-choice__title { font-family: var(--font-head); font-weight: 500; color: var(--navy); }
.lf-choice__desc { font-size: .84rem; color: var(--ink-soft); }
.lf-choice:has(input:checked) { border-color: var(--teal-600); background: var(--teal-050); }
.lf-choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Actions */
.lf-actions { display: flex; gap: .7rem; margin-top: 1.7rem; }
.lf-next, .lf-submit { margin-left: auto; }

/* Confirmation */
.lf-success { text-align: center; padding: 1rem 0; }
.lf-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-050); color: var(--teal-text); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.lf-success__icon svg { width: 32px; height: 32px; }
.lf-success h2 { margin-bottom: .3rem; }
.lf-next-steps { text-align: left; max-width: 360px; margin: 1.2rem auto; color: var(--ink-soft); padding-left: 1.2rem; }
.lf-next-steps li { margin-bottom: .5rem; }
.lf-success__actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ==========================================================================
   Insights (blog) — hub cards + article layout
   ========================================================================== */
.article-tag { display: inline-block; background: rgba(255,46,154,.16); color: var(--pink-200); border: 1px solid rgba(255,46,154,.4); padding: .3rem .85rem; border-radius: 999px; font-family: var(--font-head); font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: #b9c9db; font-size: .92rem; margin-top: 1.3rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.article-meta svg { width: 16px; height: 16px; color: var(--pink-200); }

/* Inline / mid-article call to action */
.article-cta { background: linear-gradient(160deg, var(--teal-050), #fff); border: 1px solid rgba(216,27,140,.25); border-radius: 16px; padding: 1.5rem 1.7rem; margin: 2.4rem 0; display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta p { margin: 0; font-family: var(--font-head); color: var(--navy); font-weight: 500; font-size: 1.05rem; }
.article-cta .btn { flex: none; }

/* Insight cards on the hub */
.insight-card__tag { font-family: var(--font-head); font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-text); margin-bottom: .6rem; }
.insight-card__meta { color: var(--ink-soft); font-size: .85rem; margin: .2rem 0 1rem; display: flex; gap: 1rem; }

/* ==========================================================================
   Sticky mobile CTA + exit-intent modal (AI-spec conversion features)
   ========================================================================== */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: .6rem; align-items: center; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-top: 1px solid var(--grey-line); box-shadow: 0 -6px 20px rgba(8,43,107,.10); }
.sticky-cta .btn--primary { flex: 1; justify-content: center; }
.sticky-cta__call { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--grey-line); color: var(--navy); }
.sticky-cta__call:hover { border-color: var(--teal); text-decoration: none; }
.sticky-cta__call svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 78px; }
}

.exit-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.exit-modal__backdrop { position: absolute; inset: 0; background: rgba(8,43,107,.55); }
.exit-modal__card { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); max-width: 460px; width: 100%; padding: clamp(1.7rem, 4vw, 2.5rem); text-align: center; }
.exit-modal__card h2 { margin-bottom: .4rem; }
.exit-modal__card p:not(.eyebrow) { color: var(--ink-soft); margin: 0; }
.exit-modal__close { position: absolute; top: .5rem; right: .7rem; width: 40px; height: 40px; border: 0; background: none; font-size: 1.9rem; line-height: 1; color: var(--ink-soft); cursor: pointer; border-radius: 8px; }
.exit-modal__close:hover { color: var(--navy); }
.exit-modal__actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--navy); color: #dce6f1; padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap; box-shadow: 0 -8px 24px rgba(8,43,107,.22); }
.cookie-banner__text { margin: 0; font-size: .9rem; line-height: 1.5; max-width: 72ch; flex: 1 1 320px; }
.cookie-banner__text a { color: var(--pink-200); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; flex: 0 0 auto; }
.cookie-banner .btn { font-size: .92rem; padding: .62rem 1.1rem; }
.cookie-banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cookie-banner .btn--ghost:hover { border-color: var(--pink-200); color: var(--pink-200); }
body.has-cookie-banner .sticky-cta { display: none !important; }
@media (max-width: 560px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner .btn { flex: 1; justify-content: center; }
}
