/* ==========================================================================
   Startup Assist UK — Design System
   Bank-grade calm + warmth. Deep navy + warm neutral; logo purple/orange/green
   used only as small accents. WCAG AA verified. Self-hosted fonts.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable, latin subset) ------------------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ------------------------------------------------- */
:root {
  /* Neutrals */
  --paper: #FBF8F3;
  --surface: #FFFFFF;
  --surface-2: #F6F2EA;
  --cream: #F3ECDD;
  --ink: #12283D;
  --muted: #4B5A68;

  /* Trust blues */
  --navy: #0C3B6B;
  --navy-700: #0A315A;
  --navy-800: #0A2A4C;
  --navy-deep: #082744;
  --navy-footer: #0C2545;
  --blue: #0E5AA0;

  /* Hairlines / borders */
  --border: #E8E0D2;
  --border-strong: #D9D0BE;
  --border-on-dark: rgba(255, 255, 255, 0.16);

  /* Logo accents (small use only) */
  --purple: #6B4E9E;
  --orange: #D9701E;
  --green: #2E9E67;
  --green-ink: #1C7A4E;
  --gold: #E8B04B;

  /* Focus */
  --focus: #1D74D6;
  --focus-on-dark: #8CC0FF;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 42, 76, 0.06), 0 1px 3px rgba(10, 42, 76, 0.05);
  --shadow-md: 0 4px 14px rgba(10, 42, 76, 0.08), 0 2px 6px rgba(10, 42, 76, 0.05);
  --shadow-lg: 0 18px 48px rgba(8, 39, 68, 0.14), 0 6px 16px rgba(8, 39, 68, 0.08);

  /* Radii */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ---------- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "cv11";
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
ul, ol { padding: 0; list-style-position: inside; }
:target { scroll-margin-top: 6rem; }

/* ---------- Typography ---------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.6rem + 3.4vw, 3.85rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem); line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.3; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
}
.lead { font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); color: var(--muted); line-height: 1.6; }

/* ---------- Accessibility helpers ---------------------------------------- */
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100%;
  background: var(--navy); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm); z-index: 200; font-weight: 600;
  text-decoration: none; transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :where(a, button, summary):focus-visible { outline-color: var(--focus-on-dark); }

/* ---------- Layout -------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--paper { background: var(--paper); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 0.9rem; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.5rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--orange); color: var(--navy-deep); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: #EE8A3C; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--navy); background: #fff; transform: translateY(-2px); }
.btn--on-dark { background: #fff; color: var(--navy-deep); }
.btn--on-dark:hover { background: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: var(--border-on-dark); }
.btn--ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---------- Badges / pills ------------------------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem; font-weight: 600; line-height: 1.2;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--navy); border: 1px solid var(--border-strong);
}
.badge .tick {
  display: grid; place-items: center; width: 1.35rem; height: 1.35rem; flex: none;
  border-radius: 50%; background: var(--green); color: #fff;
}
.badge .tick svg { width: 0.8rem; height: 0.8rem; }
.badge--on-dark { background: rgba(255,255,255,0.10); color: #fff; border-color: var(--border-on-dark); }

.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill); background: var(--cream);
  color: var(--navy); border: 1px solid var(--border-strong);
}

/* ---------- Header / nav -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy-deep); }
.brand-mark { height: 2.5rem; width: auto; flex: none; }
.brand-word { height: 1.5rem; width: auto; }
/* white wordmark on dark backgrounds (footer / dark heroes) */
.footer-brand .brand-word, .on-dark .brand-word { filter: brightness(0) invert(1); }

.nav-menu { display: flex; align-items: center; gap: 0.35rem; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav-links a {
  display: inline-block; color: var(--ink); text-decoration: none; font-weight: 500;
  font-size: 0.96rem; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm);
}
.nav-links a:hover { background: rgba(12, 59, 107, 0.07); color: var(--navy); }
.nav-cta { margin-left: 0.6rem; }

/* Mobile disclosure (no-JS friendly) */
.nav-toggle { display: none; }
.nav-toggle > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong); font-weight: 600; color: var(--navy);
  background: #fff;
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars span, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; height: 2px; width: 100%;
  background: currentColor; border-radius: 2px;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 5px; }
.nav-toggle .bars::after { bottom: 0; }

@media (max-width: 900px) {
  .nav-menu.desktop { display: none; }
  .nav-toggle { display: block; position: relative; }
  .nav-toggle .label-close { display: none; }
  .nav-toggle[open] .label-open { display: none; }
  .nav-toggle[open] .label-close { display: inline; }
  .nav-panel {
    position: absolute; right: 0; top: calc(100% + 0.6rem); width: min(88vw, 22rem);
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 0.6rem; display: flex; flex-direction: column; gap: 0.15rem;
  }
  .nav-panel a:not(.btn) { display: block; padding: 0.8rem 0.9rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 500; }
  .nav-panel a:not(.btn):hover { background: var(--surface-2); }
  .nav-panel .btn { color: #fff; }
  .nav-panel .btn { margin-top: 0.5rem; }
}
@media (min-width: 901px) { .nav-toggle { display: none; } }

/* ---------- Home hero ---------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 5.5rem);
}
.hero-copy { max-width: 40rem; }
.hero h1 { margin-top: 1.1rem; }
.hero h1 .accent { color: var(--navy); position: relative; }
.hero .lead { margin-top: 1.25rem; max-width: 34rem; }
.hero .btn-row { margin-top: 2rem; }
.hero-note { margin-top: 1.4rem; display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.95rem; }
.hero-note svg { width: 1.1rem; height: 1.1rem; color: var(--green-ink); flex: none; }

/* Hero side card = journey snapshot */
.hero-card {
  background: linear-gradient(160deg, #fff, var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 2.5vw, 2rem);
}
.hero-card h2 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; color: var(--navy-deep); letter-spacing: 0; }
.hero-card .sub { color: var(--muted); font-size: 0.92rem; margin-top: 0.2rem; }
.mini-journey { list-style: none; margin-top: 1.25rem; display: grid; gap: 0.15rem; }
.mini-journey li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; padding: 0.55rem 0; }
.mini-journey .dot {
  position: relative; width: 1.6rem; height: 1.6rem; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; color: #fff; background: var(--navy);
}
.mini-journey li:not(:last-child) .dot::after {
  content: ""; position: absolute; top: 1.7rem; left: 50%; transform: translateX(-50%);
  width: 2px; height: 1.4rem; background: var(--border-strong);
}
.mini-journey .m-name { font-weight: 600; color: var(--navy-deep); }
.mini-journey .m-desc { color: var(--muted); font-size: 0.88rem; }
.mini-journey li[data-focus] .dot { background: var(--orange); }

/* ---------- Trust strip --------------------------------------------------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 3rem); padding-block: 1.4rem; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.trust-item strong { color: var(--navy-deep); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.trust-item svg { width: 1.4rem; height: 1.4rem; color: var(--blue); flex: none; }

/* ---------- Cards / grids ------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.9rem); box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); }
.card-icon {
  width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 1.1rem; background: var(--cream); color: var(--navy);
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }

/* "Who it's for" split */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); }
.fit-card { border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px solid var(--border); }
.fit-card.is-for { background: var(--surface); border-color: var(--border-strong); }
.fit-card.not-for { background: var(--surface-2); }
.fit-card h3 { display: flex; align-items: center; gap: 0.6rem; }
.fit-card .fit-mark { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.fit-card.is-for .fit-mark { background: var(--green); }
.fit-card.not-for .fit-mark { background: var(--muted); }
.fit-list { list-style: none; margin-top: 1.1rem; display: grid; gap: 0.7rem; }
.fit-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; color: var(--ink); }
.fit-list li svg { width: 1.2rem; height: 1.2rem; margin-top: 0.28rem; flex: none; }
.is-for .fit-list li svg { color: var(--green-ink); }
.not-for .fit-list li { color: var(--muted); }
.not-for .fit-list li svg { color: var(--muted); }
.fit-card .fit-foot { margin-top: 1.3rem; font-size: 0.95rem; color: var(--muted); }
.fit-card .fit-foot a { font-weight: 600; }

/* ---------- Journey stepper ---------------------------------------------- */
.journey { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.8rem, 2vw, 1.4rem); counter-reset: step; }
.journey-step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.25rem 1.35rem; box-shadow: var(--shadow-sm); }
.journey-step .num {
  width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #fff;
  background: var(--navy); margin-bottom: 0.9rem;
}
.journey-step:nth-child(1) .num { background: var(--navy-deep); }
.journey-step:nth-child(2) .num { background: var(--navy-700); }
.journey-step:nth-child(3) .num { background: var(--navy); }
.journey-step:nth-child(4) .num { background: #14508C; }
.journey-step:nth-child(5) .num { background: var(--green-ink); }
.journey-step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.journey-step p { color: var(--muted); font-size: 0.92rem; }
.journey-step .arrow { position: absolute; top: 2.3rem; right: -0.85rem; z-index: 2; color: var(--border-strong); }
.journey-step:last-child .arrow { display: none; }
.journey-step .arrow svg { width: 1.3rem; height: 1.3rem; }

/* ---------- Start Up Loans block ----------------------------------------- */
.sul { background: linear-gradient(165deg, var(--navy-deep), var(--navy-800) 60%, var(--navy-700)); color: #fff; }
.sul .container { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sul h2 { color: #fff; }
.sul .lead { color: #CBD9EC; }
.sul p { color: #DCE6F2; }
.sul .eyebrow { color: var(--gold); }
.sul .btn-row { margin-top: 1.8rem; }
.sul-panel { background: rgba(255,255,255,0.06); border: 1px solid var(--border-on-dark); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.1rem); backdrop-filter: blur(4px); }
.sul-facts { list-style: none; display: grid; gap: 1.1rem; }
.sul-facts li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.sul-facts .f-ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: rgba(255,255,255,0.10); display: grid; place-items: center; flex: none; color: var(--gold); }
.sul-facts .f-ico svg { width: 1.35rem; height: 1.35rem; }
.sul-facts .f-num { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #fff; line-height: 1.1; }
.sul-facts .f-label { color: #CBD9EC; font-size: 0.92rem; }
.sul-fine { margin-top: 1.3rem; font-size: 0.82rem; color: #A9BCD4; }

/* ---------- Stats / proof ------------------------------------------------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.stat { text-align: center; padding: 1.5rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); color: var(--navy); line-height: 1; }
.stat .l { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: clamp(1.6rem, 4vw, 2.6rem); }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote .stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 0.9rem; }
.quote .stars svg { width: 1.05rem; height: 1.05rem; }
.quote blockquote { font-size: 1.05rem; color: var(--ink); line-height: 1.55; }
.quote figcaption { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 0.8rem; }
.quote .avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--navy); flex: none; }
.quote .who { font-weight: 600; color: var(--navy-deep); font-size: 0.95rem; }
.quote .role { color: var(--muted); font-size: 0.85rem; }

/* ---------- Services ------------------------------------------------------ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.svc { display: flex; flex-direction: column; height: 100%; }
.svc .price { margin-top: auto; padding-top: 1.1rem; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.svc ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.55rem; }
.svc ul li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; color: var(--muted); font-size: 0.95rem; }
.svc ul li svg { width: 1.1rem; height: 1.1rem; color: var(--green-ink); margin-top: 0.28rem; flex: none; }
.svc.is-featured { border-color: var(--navy); box-shadow: var(--shadow-md); position: relative; }
.svc .tag-top { position: absolute; top: -0.75rem; left: 1.5rem; }

/* ---------- FAQ ----------------------------------------------------------- */
.faq { display: grid; gap: 0.8rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--navy-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 1.5rem; height: 1.5rem; color: var(--blue); transition: transform 0.2s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq .faq-body p + p { margin-top: 0.8rem; }

/* ---------- Qualifier ("Can I help you?") -------------------------------- */
.qualifier { background: linear-gradient(180deg, var(--surface-2), var(--paper)); }
.qual-shell {
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 780px; margin-inline: auto;
}
.qual-head { padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.5rem, 3vw, 2.4rem) 0; }
.qual-head .eyebrow { color: var(--blue); }
.qual-head h2 { margin-top: 0.6rem; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem); }
.qual-head p { color: var(--muted); margin-top: 0.6rem; }

.qual-progress { display: flex; align-items: center; gap: 0.5rem; padding: 1.3rem clamp(1.5rem, 3vw, 2.4rem) 0; }
.qual-progress .track { flex: 1; height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.qual-progress .fill { height: 100%; width: 25%; background: linear-gradient(90deg, var(--navy), var(--blue)); border-radius: 999px; transition: width 0.35s ease; }
.qual-progress .count { font-size: 0.82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.qual-body { padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.4rem); }
.qual-step { display: none; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.qual-step > .q { padding: 0; }
.qual-step.is-active { display: block; animation: fade-in 0.3s ease; }
.qual-step > .q { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--navy-deep); line-height: 1.2; }
.qual-step > .hint { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }

.qual-options { display: grid; gap: 0.7rem; margin-top: 1.3rem; }
.qual-options.cols-2 { grid-template-columns: 1fr 1fr; }
.qual-opt { position: relative; }
.qual-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qual-opt label {
  display: flex; align-items: center; gap: 0.85rem; cursor: pointer;
  padding: 1rem 1.15rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  background: var(--surface); transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  font-weight: 500;
}
.qual-opt label .tick-box {
  width: 1.4rem; height: 1.4rem; border-radius: 6px; border: 1.5px solid var(--border-strong);
  flex: none; display: grid; place-items: center; color: #fff; background: #fff; transition: all 0.15s ease;
}
.qual-opt label .tick-box svg { width: 0.9rem; height: 0.9rem; opacity: 0; transition: opacity 0.12s ease; }
.qual-opt input:checked + label { border-color: var(--navy); background: #F4F8FD; box-shadow: 0 0 0 1px var(--navy) inset; }
.qual-opt input:checked + label .tick-box { background: var(--navy); border-color: var(--navy); }
.qual-opt input:checked + label .tick-box svg { opacity: 1; }
.qual-opt input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.qual-opt .opt-sub { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.qual-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.qual-back { background: none; border: none; color: var(--muted); font-weight: 600; cursor: pointer; padding: 0.6rem 0.4rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.qual-back:hover { color: var(--navy); }
.qual-back svg { width: 1rem; height: 1rem; }
.qual-back[hidden] { visibility: hidden; }

/* Result panel */
.qual-result { display: none; }
.qual-result.is-active { display: block; animation: fade-in 0.3s ease; }
.qual-result .result-icon { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 1.1rem; }
.qual-result h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.qual-result .result-lead { color: var(--muted); margin-top: 0.7rem; font-size: 1.05rem; }
.qual-result[data-tone="ideal"] .result-icon { background: var(--green); }
.qual-result[data-tone="maybe"] .result-icon { background: var(--blue); }
.qual-result[data-tone="explore"] .result-icon { background: var(--purple); }
.qual-result[data-tone="late"] .result-icon { background: var(--muted); }
.result-summary { list-style: none; display: grid; gap: 0.5rem; margin: 1.4rem 0; padding: 1.1rem 1.2rem; background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--border); }
.result-summary li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; }
.result-summary .k { color: var(--muted); }
.result-summary .v { font-weight: 600; color: var(--navy-deep); text-align: right; }
.result-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.result-restart { background: none; border: none; color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; padding: 0.6rem 0; }

.qual-fallback { margin-top: 1.5rem; text-align: center; font-size: 0.95rem; color: var(--muted); }

/* Progressive enhancement: interactive flow only when JS is active */
.qual-interactive { display: none; }
.js .qual-interactive { display: block; }
.qual-static { padding: clamp(1.3rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.2rem); }
.js .qual-static { display: none; }
.qual-static .btn-row { margin-top: 1.3rem; }

/* ---------- CTA band ------------------------------------------------------ */
.cta-band { background: linear-gradient(160deg, var(--navy-deep), var(--navy-700)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CBD9EC; max-width: 40rem; margin: 0.9rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--navy-footer); color: #CBD9EC; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name .uk { color: var(--gold); }
.footer-brand p { margin-top: 1rem; color: #A9BCD4; font-size: 0.95rem; max-width: 22rem; }
.footer-col h3 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a:not(.btn) { color: #C6D4E5; text-decoration: none; font-size: 0.95rem; }
.footer-col a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: #C6D4E5; font-size: 0.95rem; margin-bottom: 0.6rem; }
.footer-contact svg { width: 1.15rem; height: 1.15rem; color: var(--gold); flex: none; margin-top: 0.15rem; }
.footer-contact a { color: #C6D4E5; }
.footer-bottom { margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #93A8C2; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: #93A8C2; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Stacked number/label pairs must break onto their own lines */
.sul-facts .f-num, .sul-facts .f-label,
.mini-journey .m-name, .mini-journey .m-desc,
.stat .n, .stat .l,
.quote .who, .quote .role { display: block; }

/* ========================================================================
   Interior pages (How it works · Services · About · Results · Contact)
   ======================================================================== */

/* Active nav state */
.nav-links a[aria-current="page"] { color: var(--navy); background: rgba(12, 59, 107, 0.08); }
.nav-panel a[aria-current="page"]:not(.btn) { color: var(--navy); background: var(--surface-2); }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--surface-2), var(--paper)); border-bottom: 1px solid var(--border); }
.page-hero > .container { padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.page-hero h1 { margin-top: 0.7rem; max-width: 20ch; }
.page-hero .lead { margin-top: 1.1rem; max-width: 46rem; }
.page-hero .btn-row { margin-top: 1.9rem; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }
.page-hero.center .btn-row { justify-content: center; }

/* Momentum hero — the gradient hero used across every page */
.hero-b { position: relative; overflow: hidden; color: #fff; background: #0B1B3A; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.hero-b::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 120% at 85% 8%, rgba(224, 123, 46, 0.42), transparent 46%),
    radial-gradient(120% 130% at 8% 96%, rgba(107, 78, 158, 0.60), transparent 52%),
    radial-gradient(110% 120% at 100% 100%, rgba(46, 158, 103, 0.40), transparent 48%),
    linear-gradient(140deg, #241245, #0B1B3A 55%, #06264a);
}
.hero-b > .container { position: relative; z-index: 1; padding-block: clamp(2.75rem, 7vw, 5.25rem); }
.hero-b h1 { color: #fff; margin-top: 0.9rem; max-width: 22ch; }
.hero-b h1 .grad {
  background: linear-gradient(100deg, #FFB877, #FF9E9E 40%, #C9A7FF 70%, #86E3B5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-b .lead { color: #D9E1F0; margin-top: 1.1rem; max-width: 44rem; }
.hero-b p { color: #D9E1F0; }
.hero-b .eyebrow { color: var(--gold); }
.hero-b .btn-row { margin-top: 1.9rem; }
.hero-b .badge { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.hero-b .hero-note { color: #C7D2E6; }
.hero-b .hero-note svg { color: #86E3B5; }
.hero-b.center h1, .hero-b.center .lead { margin-inline: auto; }
.hero-b.center { text-align: center; }
.hero-b.center .btn-row { justify-content: center; }
/* decorative orbital accent */
.hero-b__orb {
  position: absolute; z-index: 0; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(30rem, 58vw); aspect-ratio: 1; border-radius: 50%; opacity: 0.62; pointer-events: none;
  background: conic-gradient(from 210deg, #6B4E9E, #D9701E, #2E9E67, #2E7BD9, #6B4E9E);
  filter: blur(2px);
  -webkit-mask: radial-gradient(closest-side, transparent 57%, #000 59%, #000 72%, transparent 74%);
  mask: radial-gradient(closest-side, transparent 57%, #000 59%, #000 72%, transparent 74%);
  animation: spin 34s linear infinite;
}
@media (max-width: 760px) { .hero-b__orb { opacity: 0.38; right: -28%; width: 22rem; } }

/* Reusable navy band + navy hero (the Start Up Loans look, generalised) */
.section--navy, .page-hero--navy {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-800) 62%, var(--navy-700));
  color: #fff;
}
.page-hero--navy { border-bottom: none; }
.section--navy h1, .section--navy h2, .section--navy h3, .page-hero--navy h1, .page-hero--navy h2 { color: #fff; }
.section--navy .lead, .page-hero--navy .lead { color: #CBD9EC; }
.section--navy p, .page-hero--navy p { color: #DCE6F2; }
.section--navy .eyebrow, .page-hero--navy .eyebrow { color: var(--gold); }
.section--navy .stat { background: rgba(255, 255, 255, 0.06); border-color: var(--border-on-dark); }
.section--navy .stat .n { color: #fff; }
.section--navy .stat .l { color: #CBD9EC; }

/* Split layout used inside bands / feature sections */
.band-split { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* Feature rows (alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.feature + .feature { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.feature.reverse .feature-media { order: -1; }
.feature .eyebrow { display: inline-block; margin-bottom: 0.5rem; }

/* Big numbered step */
.steps { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 1.8rem); align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.step .step-n { width: 3.25rem; height: 3.25rem; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #fff; background: var(--navy); flex: none; }
.step:nth-child(5) .step-n { background: var(--green-ink); }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); }
.step .step-take { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.95rem; color: var(--navy-deep); font-weight: 500; }
.step .step-take svg { width: 1.2rem; height: 1.2rem; color: var(--green-ink); margin-top: 0.2rem; flex: none; }

/* Generic tick list */
.ticklist { list-style: none; display: grid; gap: 0.65rem; }
.ticklist li { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; color: var(--muted); }
.ticklist li svg { width: 1.15rem; height: 1.15rem; color: var(--green-ink); margin-top: 0.28rem; flex: none; }
.section--navy .ticklist li { color: #E4ECF6; }
.section--navy .ticklist li svg { color: var(--gold); }

/* Value cards row (icon + heading + text) reuse .card + .card-icon */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.contact-card .ci { width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--cream); color: var(--navy); display: grid; place-items: center; flex: none; }
.contact-card .ci svg { width: 1.3rem; height: 1.3rem; }
.contact-card h3 { font-family: var(--font-body); font-size: 1rem; color: var(--navy-deep); margin-bottom: 0.15rem; }
.contact-card p { color: var(--muted); font-size: 0.92rem; }
.contact-card .cv { color: var(--blue); font-weight: 600; font-size: 0.95rem; margin-top: 0.3rem; }

/* Case-study card (results) */
.case { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.case .case-tag { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--navy); background: var(--cream); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 0.3rem 0.7rem; margin-bottom: 1rem; }
.case h3 { margin-bottom: 0.6rem; }
.case p { color: var(--muted); }
.case .case-metric { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); display: flex; gap: 1.5rem; flex-wrap: wrap; }
.case .case-metric .cm-n { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--navy); display: block; line-height: 1.1; }
.case .case-metric .cm-l { color: var(--muted); font-size: 0.82rem; }

/* ---------- Animations ---------------------------------------------------- */
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 30rem; }
  .sul .container { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey-step .arrow { display: none; }
  .grid-3, .grid-4, .quotes, .svc-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .fit-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .quotes, .svc-grid, .journey { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .qual-options.cols-2 { grid-template-columns: 1fr; }
  .btn--responsive-block { width: 100%; }
  .hero .btn-row .btn { width: 100%; }
}

@media (max-width: 980px) {
  .band-split, .feature, .contact-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
}
@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; }
  .step .step-n { width: 2.8rem; height: 2.8rem; font-size: 1.3rem; }
}

/* ---------- Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Print --------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .qualifier, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
