/* =========================================================
   Invesco Mutual Fund — Mid Cap Fund Landing Page
   Built on Bootstrap 5.3. Values taken from Figma (1440 frame).
   ========================================================= */

/* ---------- Brand fonts ----------
   Invesco Editor + Graphik are licensed brand fonts.
   Drop the .woff2 files into /fonts with these names and they load
   automatically; until then the Google fallbacks render. */
@font-face {
  font-family: "Invesco Editor";
  src: local("Invesco Editor"), local("InvescoEditor-Regular"),
       url("../fonts/InvescoEditor-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: local("Graphik Regular"), local("Graphik-Regular"),
       url("../fonts/Graphik-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: local("Graphik Medium"), local("Graphik-Medium"),
       url("../fonts/Graphik-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: local("Graphik Semibold"), local("Graphik-Semibold"),
       url("../fonts/Graphik-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --c-brand: #000ad2;
  --c-sky: #00a6f4;
  --c-sky-text: #74d4ff;
  --c-aqua: #9cf3ff;
  --c-aqua-30: rgba(156, 243, 255, 0.3);
  --c-ice: #bedbff;
  --c-ink: #131313;
  --c-ink-2: #383838;
  --c-ink-3: #272727;
  --c-muted: #5c5c5c;
  --c-card-text: #191a15;
  --c-line: #e5e9f4;
  --c-green: #2e9c5d;
  --c-hero: #050b1f;

  --ff-serif: "Invesco Editor", "Source Serif 4", Georgia, "Times New Roman", serif;
  --ff-sans: "Graphik", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-ui: "Inter", system-ui, sans-serif;

  --fs-h1: clamp(2.25rem, 1.2rem + 2.9vw, 3.4375rem);    /* 36 → 55 */
  --fs-h2: clamp(1.75rem, 1.35rem + 1.1vw, 2.25rem);     /* 28 → 36 */
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); /* 17 → 20 */

  --header-h: 110px;
  --radius-lg: 30px;
  --radius-md: 16px;

  --bs-body-font-family: var(--ff-sans);
  --bs-body-color: #000;
  --bs-link-color-rgb: 0, 10, 210;
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--ff-sans);
  color: #000;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, video { max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3 { font-weight: 400; margin: 0; }

:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 3px; }

.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 2000;
  background: var(--c-brand); color: #fff; padding: 10px 18px; border-radius: 50px;
}

/* Content width: 1150px (design grid at 1440 starts at x≈147) */
@media (min-width: 1200px) {
  .container { max-width: 1174px; }
  .nav-container { max-width: 1214px; }
}

.section-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-h2);
  line-height: 1.111;
  color: var(--c-brand);
}
.section-title--light { color: #fff; }

/* ---------- Buttons ---------- */
.btn-pill {
  --bs-btn-border-width: 0;
  border-radius: 999px;
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 20px;
  transition: background-color .2s ease, transform .2s ease;
}
.btn-pill:active { transform: translateY(1px); }

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--c-brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0008a8;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #00078f;
  --bs-btn-focus-shadow-rgb: 0, 10, 210;
}
.btn-sky {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--c-sky);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0090d6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #007fbd;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.site-header { background: #fff; z-index: 1030; }
.site-nav { min-height: var(--header-h); padding: 0; }
.site-nav__brand { padding: 0; margin: 0; }
.site-nav__brand img { width: 125px; height: auto; display: block; }
@media (min-width: 1200px) { .site-nav__brand { margin-left: 26px; } }

.site-nav__links { gap: 32px; }
.site-nav__links .nav-link {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #000;
  padding: 0;
  transition: color .2s ease;
}
.site-nav__links .nav-link:hover,
.site-nav__links .nav-link:focus-visible { color: var(--c-brand); }

.site-nav__cta { font-size: 14px; padding: 10px 24px; white-space: nowrap; }

.site-nav__toggler {
  border: 0; padding: 10px 6px; width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.site-nav__toggler:focus { box-shadow: none; }
.site-nav__bar {
  display: block; height: 2px; width: 100%; background: var(--c-brand); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.site-nav__toggler[aria-expanded="true"] .site-nav__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-nav__toggler[aria-expanded="true"] .site-nav__bar:nth-child(2) { opacity: 0; }
.site-nav__toggler[aria-expanded="true"] .site-nav__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 991.98px) {
  :root { --header-h: 76px; }
  .site-nav__brand img { width: 112px; }
  .site-nav .navbar-collapse {
    border-top: 1px solid var(--c-line);
    margin: 0 calc(var(--bs-gutter-x) * -.5);
    padding: 8px calc(var(--bs-gutter-x) * .5) 24px;
  }
  .site-nav__links { gap: 0; }
  .site-nav__links .nav-link { font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
  .site-nav__cta { margin-top: 20px; padding: 12px 28px; font-size: 16px; }
}

/* =========================================================
   HERO (video)
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-hero) url("../assets/img/hero-poster.webp") center / cover no-repeat;
  min-height: 579px;
  display: flex;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero__inner { padding-top: 106px; padding-bottom: 100px; }
.hero__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-h1);
  line-height: 1.527;          /* 84px at 55px */
  color: #fff;
  max-width: 620px;
}
.hero__highlight { color: var(--c-sky-text); }
.hero__cta { margin-top: 98px; font-size: 14px; padding: 16px 32px; min-width: 147px; }

.hero__toggle {
  position: absolute; right: 20px; bottom: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(5,11,31,.45);
  display: grid; place-items: center; opacity: .55; transition: opacity .2s ease;
}
.hero__toggle:hover, .hero__toggle:focus-visible { opacity: 1; }
.hero__toggle-icon { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero__toggle[aria-pressed="true"] .hero__toggle-icon {
  width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff; margin-left: 3px;
}

@media (max-width: 991.98px) {
  .hero { min-height: 560px; }
  .hero__inner { padding-top: 72px; }
  .hero__cta { margin-top: 48px; }
  .hero__video { object-position: 70% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(5,11,31,.75) 0%, rgba(5,11,31,.25) 45%, rgba(5,11,31,0) 70%); }
}
@media (max-width: 575.98px) {
  .hero { min-height: 0; flex-direction: column; }
  .hero__shade { display: none; }
  .hero__inner { padding-top: 48px; padding-bottom: 0; }
  .hero__video {
    position: relative; inset: auto; z-index: 0; order: 2;
    height: 400px; margin-top: -24px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
            mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }
  .hero__title { line-height: 1.3; }
  .hero__title br { display: none; }
  .hero__highlight { display: block; }
  .hero__cta { margin-top: 32px; font-size: 16px; }
  .hero__video { object-position: right center; }
}

/* =========================================================
   ENQUIRY FORM (inline + side panel share these)
   ========================================================= */
.enquiry { padding: 49px 0 56px; background: #fff; }
.enquiry__row { display: flex; align-items: center; gap: 60px; }
.enquiry__intro { flex: 0 0 332px; }
.enquiry__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.625rem, 1.4rem + .6vw, 1.875rem); /* 26 → 30 */
  line-height: 1.05;
  color: var(--c-brand);
  margin-bottom: 17px;
}
.enquiry__text { font-size: 17px; line-height: 22px; margin: 0; }

.enquiry__fields { display: flex; gap: 27px; flex: 1 1 auto; }
.enquiry__fields .field { flex: 0 1 240px; }

.field { position: relative; }
.field__input.form-control {
  height: 62px;
  padding: 18px 18px 0;
  background: transparent;
  border: 1px solid var(--c-aqua);
  border-radius: 0;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  font-family: var(--ff-sans);
  font-size: 15px;
  color: #000;
}
.field__input.form-control:focus {
  border-color: var(--c-brand);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25), 0 0 0 3px rgba(0, 10, 210, .15);
}
.field__label {
  position: absolute; left: 18px; top: 22px;
  font-size: 14px; line-height: 17px; color: #000;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .18s ease, color .18s ease;
}
.field__req { color: #ff0b0b; }
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { transform: translateY(-13px) scale(.78); color: var(--c-muted); }

.was-validated .field__input.form-control:invalid { border-color: #d92020; background-image: none; padding-right: 18px; }
.was-validated .field__input.form-control:valid { border-color: var(--c-aqua); background-image: none; padding-right: 18px; }
.invalid-feedback { font-size: 12px; }

/* Consent checkbox — 31px green tick box from design */
.consent { display: flex; align-items: center; gap: 31px; margin-top: 32px; }
.consent__check {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 31px; width: 31px; height: 31px; margin: 0;
  border: 2px solid var(--c-green); border-radius: 1px; background: #fff;
  cursor: pointer; display: grid; place-items: center;
  transition: background-color .15s ease;
}
.consent__check::after {
  content: ""; width: 16px; height: 12px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6.2 6 10.5 14.5 1.5' fill='none' stroke='%232e9c5d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: scale(0); transition: transform .15s ease;
}
.consent__check:checked::after { transform: scale(1); }
.was-validated .consent__check:invalid,
.consent__check.is-invalid { border-color: #d92020; }
.field__input.form-control.is-invalid { border-color: #d92020; background-image: none; padding-right: 18px; }
.field__input.form-control.is-valid { border-color: var(--c-aqua); background-image: none; padding-right: 18px; }
.field__input.form-control.is-invalid:focus { box-shadow: 0 4px 4px rgba(0,0,0,.25), 0 0 0 3px rgba(217,32,32,.15); }
.consent__label { font-size: 12px; line-height: 1.4; cursor: pointer; }

.btn-submit {
  margin-top: 32px;
  min-width: 184px; height: 51px; padding: 10px 40px;
  font-size: 24px; line-height: 31px;
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn-submit.is-loading { pointer-events: none; opacity: .75; }
.btn-submit.is-loading::after {
  content: ""; display: inline-block; width: 18px; height: 18px; margin-left: 10px; vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%;
  -webkit-animation: spin .7s linear infinite; animation: spin .7s linear infinite;
}
@-webkit-keyframes spin { to { -webkit-transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 12px 0 0; font-size: 14px; color: var(--c-green); min-height: 1px; }
.form-status.is-error { color: #d92020; }

@media (max-width: 1199.98px) {
  .enquiry__row { gap: 40px; }
  .enquiry__intro { flex-basis: 280px; }
  .enquiry__fields { gap: 20px; }
  .enquiry__fields .field { flex: 1 1 0; }
}
@media (max-width: 991.98px) {
  .enquiry__row { flex-direction: column; align-items: stretch; gap: 28px; }
  .enquiry__intro { flex-basis: auto; }
}
@media (max-width: 767.98px) {
  .enquiry { padding: 40px 0 48px; }
  .enquiry__fields { flex-direction: column; gap: 20px; }
  .consent { gap: 16px; align-items: flex-start; }
  .btn-submit { width: 100%; font-size: 20px; }
}

/* =========================================================
   WHAT IS A MID CAP FUND
   ========================================================= */
.midcap { position: relative; padding: 68px 0 0; }
@supports (overflow-x: clip) { .midcap { overflow-x: clip; } }
.midcap__glow {
  position: absolute; z-index: -1; pointer-events: none;
  left: -720px; top: -180px; width: 1270px; height: 1270px; border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 219, 255, .55) 0%, rgba(190, 219, 255, .25) 35%, rgba(190, 219, 255, 0) 68%);
}
.midcap__grid { display: grid; grid-template-columns: 580fr 508fr; gap: 58px; align-items: center; }
.midcap__copy .section-title { margin-bottom: 32px; }
.midcap__copy p { font-size: var(--fs-lead); line-height: 1.7; margin: 0; }
.midcap__copy p + p { margin-top: 1.7em; }
.midcap__media {
  border: 2px solid var(--c-brand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 508 / 323;
  background: #e9eef7;
}
.midcap__video { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 991.98px) {
  .midcap { padding-top: 56px; }
  .midcap__grid { grid-template-columns: 1fr; gap: 36px; }
  .midcap__media { max-width: 640px; }
}

/* =========================================================
   STRATEGIC ROLE
   ========================================================= */
.role { padding-top: 40px; }
.role__card {
  display: grid; grid-template-columns: 747fr 406fr;
  border-radius: var(--radius-md); overflow: hidden;
}
.role__main { display: flex; flex-direction: column; }
.role__intro { background: var(--c-aqua-30); padding: 48px; }
.role__title {
  font-family: var(--ff-serif); font-size: var(--fs-h2); line-height: 1.2;
  color: var(--c-ink); max-width: 651px; margin-bottom: 24px;
}
.role__text { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-ink-2); max-width: 531px; margin: 0; }

.role__points {
  flex: 1 1 auto; align-content: start;
  background: var(--c-brand); padding: 48px;
  display: grid; grid-template-columns: minmax(0, 286px) minmax(0, 260px);
  column-gap: 79px; row-gap: 50px;
}
.role__point { display: flex; align-items: flex-start; gap: 12px; color: #fff; font-size: var(--fs-lead); line-height: 1.25; }
.role__point img { flex: 0 0 44px; height: auto; object-fit: contain; object-position: left top; }
.role__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1199.98px) {
  .role__points { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (max-width: 991.98px) {
  .role__card { grid-template-columns: 1fr; }
  .role__media { order: -1; aspect-ratio: 16 / 9; }
  .role__media img { object-position: center 60%; }
}
@media (max-width: 575.98px) {
  .role__intro, .role__points { padding: 32px 24px; }
  .role__points { grid-template-columns: 1fr; row-gap: 24px; }
}

/* =========================================================
   WHO IS THIS SUITABLE FOR
   ========================================================= */
.suitable { padding-top: 75px; }
.suitable__grid { display: grid; grid-template-columns: 450fr 640fr; gap: 59px; align-items: center; }

.suitable__visual { position: relative; }
.suitable__photo { display: block; width: 100%; aspect-ratio: 450 / 573; object-fit: cover; border-radius: 20px; }

.float-card {
  position: absolute;
  display: flex; align-items: center;
  background: #fff; border-radius: 10px;
  box-shadow: 0 4px 9px rgba(0, 0, 0, .05), 0 10px 30px rgba(0, 10, 60, .08);
  color: var(--c-card-text); font-family: var(--ff-ui);
}
.float-card__text { font-weight: 500; font-size: 16px; line-height: 1; }
.float-card--goal { top: 36px; left: -90px; min-width: 244px; padding: 12px 16px 12px 20px; gap: 14px; }
.float-card--goal .float-card__text { white-space: nowrap; line-height: 1.15; }
.float-card__avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 58px; }
.float-card--goal .float-card__text { flex: 1 1 auto; }
.float-card--sip { top: 250px; right: -50px; width: 138px; padding: 18px 13px 16px; }
.float-card--sip .float-card__text { max-width: 96px; }
.float-card__chart { position: absolute; right: 12px; bottom: 14px; }
.float-card--growth { top: 475px; left: -106px; width: 302px; padding: 20px 25px; gap: 15px; }
.float-card--growth .float-card__text { font-weight: 400; font-size: 18px; letter-spacing: -.03em; }

.suitable__panel { background: var(--c-aqua-30); border-radius: 25px; padding: 30px 40px 29px; }
.suitable__title { margin-bottom: 40px; }
.suitable__list { display: grid; gap: 20px; }
.suit-item {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-md);
  padding: 24px; box-shadow: 0 2px 8px rgba(0, 10, 210, .07);
  font-family: var(--ff-serif); font-size: 20px; line-height: 28px; color: var(--c-brand);
}
.suit-item img { flex: 0 0 48px; }
.suitable__horizon {
  margin: 0; padding-top: 30px;
  font-family: var(--ff-sans); font-weight: 600;
  font-size: clamp(1.25rem, 1.05rem + .55vw, 1.5625rem); line-height: 1.6; color: var(--c-brand);
}

@media (max-width: 1399.98px) {
  .float-card--goal { left: -40px; }
  .float-card--growth { left: -48px; }
}
@media (max-width: 1199.98px) {
  .suitable__grid { gap: 40px; }
  .float-card--goal { left: -16px; }
  .float-card--growth { left: -16px; top: auto; bottom: 30px; }
  .float-card--sip { right: -30px; }
}
@media (max-width: 991.98px) {
  .suitable { padding-top: 64px; }
  .suitable__grid { grid-template-columns: 1fr; gap: 48px; }
  .suitable__visual { max-width: 450px; width: 100%; margin: 0 auto; }
}
@media (max-width: 575.98px) {
  .suitable__visual { padding: 0; }
  .float-card { max-width: calc(100% - 24px); }
  .float-card__text { font-size: 14px; }
  .float-card--goal { left: 12px; top: 12px; min-width: 0; padding: 8px 12px; gap: 10px; }
  .float-card__avatar { width: 40px; height: 40px; flex-basis: 40px; }
  .float-card--goal img:last-child { width: 30px; height: 30px; }
  .float-card--sip { right: 12px; top: 44%; width: 124px; padding: 12px 12px 12px; }
  .float-card--sip .float-card__text { max-width: 84px; }
  .float-card__chart { right: 10px; bottom: 12px; }
  .float-card--growth { left: 12px; bottom: 12px; top: auto; width: auto; padding: 12px 14px; gap: 10px; }
  .float-card--growth .float-card__text { font-size: 14px; white-space: normal; }
  .suitable__panel { padding: 28px 20px; }
  .suitable__title { margin-bottom: 28px; }
  .suit-item { padding: 18px; gap: 16px; font-size: 18px; line-height: 25px; }
  .suit-item img { width: 40px; height: 40px; flex-basis: 40px; }
}

/* =========================================================
   KEEP IN MIND (brand blue)
   ========================================================= */
.mind { margin-top: 68px; background: var(--c-brand); padding: 49px 0 70px; }
.mind__list { display: grid; gap: 21px; margin-top: 33px; }
.mind-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 131px; padding: 32px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.mind-card__title { font-family: var(--ff-serif); font-size: 20px; line-height: 24px; color: #fff; }
.mind-card__text { margin: 8px 0 0; font-size: 16px; line-height: 22.75px; color: var(--c-ice); }
.mind-card__icon { flex: 0 0 auto; width: 52px; height: auto; }

@media (max-width: 575.98px) {
  .mind { margin-top: 56px; padding: 40px 0 48px; }
  .mind-card { padding: 24px 20px; align-items: flex-start; }
  .mind-card__icon { width: 40px; }
}

/* =========================================================
   WHY INVEST
   ========================================================= */
.why { margin-top: 61px; background: var(--c-aqua-30); padding: 49px 0 74px; }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 50px; margin-top: 56px; }
.why-card {
  min-height: 290px; padding: 28px 28px 42px;
  border: 1px solid var(--c-aqua); border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .1);
}
.why-card__icon { display: block; height: 50px; width: auto; }
.why-card__title {
  font-family: var(--ff-serif); font-size: 20px; line-height: 22px; color: var(--c-brand);
  margin-top: 19px; max-width: 160px; min-height: 44px;
}
.why-card__text { margin: 16px 0 0; font-size: 16px; line-height: 22.75px; }

@media (max-width: 1199.98px) { .why__grid { gap: 24px; } }
@media (max-width: 991.98px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .why { margin-top: 56px; padding: 40px 0 48px; }
  .why__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .why-card { min-height: 0; padding: 24px; }
  .why-card__title { max-width: none; min-height: 0; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 57px 0 53px; }
.faq .section-title { padding-left: 10px; }
.faq__list { display: grid; gap: 27px; margin-top: 27px; }
.faq-item {
  border-radius: 15px; background: #fff;
  box-shadow: 0 0 0 1px #eaeaea, 0 2px 6px rgba(143, 143, 143, .2), inset 0 -5px 0 rgba(61, 61, 61, .04);
  transition: background-color .25s ease, border-radius .25s ease;
}
.faq-item.is-open { background: #f8f8f8; border-radius: 28px; }
.faq-item__head { margin: 0; }
.faq-item__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 0; background: none; text-align: left;
  min-height: 80px; padding: 15px 41px;
  font-family: var(--ff-sans); font-weight: 500;
  font-size: clamp(1.0625rem, .9rem + .5vw, 1.375rem); line-height: 1.35;
  letter-spacing: -.36px; color: var(--c-ink-3);
  border-radius: inherit;
}
.faq-item__btn::after {
  content: ""; flex: 0 0 26px; height: 26px;
  background: no-repeat center / contain url("../assets/icons/plus.svg");
  transition: transform .25s ease;
}
.faq-item__btn:not(.collapsed) { padding-top: 33px; min-height: 0; }
.faq-item__btn:not(.collapsed)::after { background-image: url("../assets/icons/minus.svg"); }
.faq-item__body {
  padding: 8px 108px 33px 41px;
  font-size: 16px; line-height: 26px; letter-spacing: -.36px; color: var(--c-muted);
}

@media (max-width: 767.98px) {
  .faq { padding: 48px 0; }
  .faq .section-title { padding-left: 0; }
  .faq__list { gap: 16px; }
  .faq-item__btn { min-height: 68px; padding: 16px 20px; gap: 16px; }
  .faq-item__btn:not(.collapsed) { padding-top: 22px; }
  .faq-item__btn::after { flex-basis: 20px; height: 20px; }
  .faq-item__body { padding: 4px 20px 22px; }
}

/* =========================================================
   FOOTER / DISCLAIMER
   ========================================================= */
.site-footer { background: var(--c-brand); color: #fff; padding: 39px 0 80px; }
.site-footer__inner { border-top: 1px solid #e5e7eb; padding-top: 24px; }
.site-footer__tagline { font-family: var(--ff-serif); font-size: 20px; line-height: 1.2; margin: 0 0 20px; }
.site-footer__text { font-size: 17px; line-height: 26px; margin: 0 0 20px; }
.site-footer__risk { font-size: clamp(1.0625rem, .95rem + .45vw, 1.375rem); line-height: 1.3; margin: 0; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.5); word-break: break-word; }
.site-footer a:hover { text-decoration-color: #fff; }

@media (max-width: 575.98px) {
  .site-footer { padding: 32px 0 48px; }
  .site-footer__text { font-size: 15px; line-height: 24px; }
}

/* =========================================================
   SIDE PANEL (Need help?)
   ========================================================= */
.help-panel.offcanvas { --bs-offcanvas-width: 506px; border-left: 0; }
.help-panel__top { display: flex; justify-content: flex-end; padding: 41px 68px 0 84px; }
.help-panel__back {
  display: inline-flex; align-items: center; gap: 20px;
  border: 0; background: none; padding: 0;
  font-family: var(--ff-sans); font-weight: 600; font-size: 24px; color: #000;
}
.help-panel__back img { height: 29px; width: auto; transition: transform .2s ease; }
.help-panel__back:hover img { transform: translateX(-4px); }
.help-panel__body { padding: 52px 84px 48px; }
.help-panel__body .enquiry__text { max-width: 314px; }
.help-panel__fields { display: grid; gap: 27px; margin-top: 27px; }
.consent--stacked { flex-direction: column; align-items: flex-start; gap: 26px; margin-top: 22px; }
.help-panel__contact { margin-top: 40px; display: grid; gap: 6px; }
.help-panel__heading { font-family: var(--ff-sans); font-size: 30px; line-height: 1; color: var(--c-brand); margin: 0 0 22px; }
.help-panel__contact a { font-size: 20px; line-height: 32px; color: #000; text-decoration: none; }
.help-panel__contact a:hover { color: var(--c-brand); text-decoration: underline; }
.help-panel .btn-submit { margin-top: 18px; }

@media (max-width: 575.98px) {
  .help-panel.offcanvas { --bs-offcanvas-width: 100%; }
  .help-panel__top { padding: 24px 24px 0; }
  .help-panel__back { font-size: 20px; gap: 14px; }
  .help-panel__back img { height: 22px; }
  .help-panel__body { padding: 32px 24px 40px; }
  .help-panel__heading { font-size: 24px; }
  .help-panel__contact a { font-size: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

/* ---- 1. "Who is this suitable for?" floating cards ----
   Matches the Figma prototype: 4s loop, ±5px vertical float,
   the two cards move in opposite phase. */
@keyframes card-float {
  from { -webkit-transform: translateY(-5px); transform: translateY(-5px); }
  to   { -webkit-transform: translateY(5px);  transform: translateY(5px); }
}
.float-card--goal,
.float-card--sip,
.float-card--growth {
  animation: card-float 2s ease-in-out infinite alternate;
  will-change: transform;
}
.float-card--goal { animation-delay: -1s; }  /* starts mid-way, moving down */
.float-card--sip  { animation-delay: -2s; }  /* starts at bottom, moving up */
.float-card--growth { animation-delay: -0.5s; } /* own phase, so all three never move in sync */

/* ---- 2. "Need help?" attention nudge ----
   Soft ripple rings around the button + a small "poke" every 6s.
   Calms down once the visitor has opened the help panel. */
.cta-nudge { position: relative; isolation: isolate; overflow: visible; }
.cta-nudge::before,
.cta-nudge::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  animation: cta-ring 3s cubic-bezier(.2, .6, .35, 1) 1.2s infinite;
}
.cta-nudge::after { animation-delay: 2.2s; }
.cta-nudge { animation: cta-poke 6s ease-in-out 2.5s infinite; }

@keyframes cta-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0, 10, 210, .5); }
  70%  { box-shadow: 0 0 0 16px rgba(0, 10, 210, 0); }
  100% { box-shadow: 0 0 0 16px rgba(0, 10, 210, 0); }
}
@keyframes cta-poke {
  0%, 78%, 100% { transform: none; }
  81% { transform: scale(1.08) rotate(-4deg); }
  84% { transform: scale(1.08) rotate(4deg); }
  87% { transform: scale(1.08) rotate(-3deg); }
  90% { transform: scale(1.04) rotate(2deg); }
  93% { transform: none; }
}

/* pause while the visitor is interacting with it */
.cta-nudge:hover, .cta-nudge:focus-visible,
.cta-nudge:hover::before, .cta-nudge:hover::after,
.cta-nudge:focus-visible::before, .cta-nudge:focus-visible::after { animation-play-state: paused; }

/* after the panel has been opened once: keep only a slow, gentle ring */
.help-seen .cta-nudge { animation: none; }
.help-seen .cta-nudge::after { animation: none; }
.help-seen .cta-nudge::before { animation-duration: 6s; }

/* Mobile floating button (nav CTA is hidden inside the burger menu) */
.help-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 1040;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px 10px 10px; font-size: 16px;
  box-shadow: 0 10px 24px rgba(0, 10, 210, .3);
  opacity: 0; visibility: hidden; margin-bottom: -20px;
  transition: opacity .3s ease, margin-bottom .3s ease, visibility .3s;
}
.help-fab.is-shown { opacity: 1; visibility: visible; margin-bottom: 0; }
body.help-open .help-fab { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .float-card--goal, .float-card--sip, .float-card--growth,
  .cta-nudge, .cta-nudge::before, .cta-nudge::after { animation: none !important; }
}
