/* ==========================================================================
   Skyrocket 2027 landing page
   Design base: Figma "Alliance-Corp" / Section 1 (node 2293:237)
   Display: Articulat CF (existing licence). Text: Manrope (self-hosted, OFL).
   Hand-authored, no build step. Loads after swiper-bundle.min.css and
   before edit.css, so edit.css can still override anything here.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Articulat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ArticulatCF/ArticulatCF-Regular.woff2") format("woff2"), url("../fonts/ArticulatCF/ArticulatCF-Regular.woff") format("woff"); }
@font-face { font-family: "Articulat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ArticulatCF/ArticulatCF-Medium.woff2") format("woff2"), url("../fonts/ArticulatCF/ArticulatCF-Medium.woff") format("woff"); }
@font-face { font-family: "Articulat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ArticulatCF/ArticulatCF-DemiBold.woff2") format("woff2"), url("../fonts/ArticulatCF/ArticulatCF-DemiBold.woff") format("woff"); }
@font-face { font-family: "Articulat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ArticulatCF/ArticulatCF-Bold.woff2") format("woff2"), url("../fonts/ArticulatCF/ArticulatCF-Bold.woff") format("woff"); }
@font-face { font-family: "Articulat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/ArticulatCF/ArticulatCF-ExtraBold.woff2") format("woff2"), url("../fonts/ArticulatCF/ArticulatCF-ExtraBold.woff") format("woff"); }
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/Manrope/Manrope-Variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (sampled from the Figma file) ---------- */
:root {
  --navy-950: #02174a;
  --navy-900: #021b57;
  --navy-850: #031e5e;
  --navy: #03267d;
  --blue-line: #0437b4;
  --glow: rgba(10, 50, 153, 1);
  --glow-0: rgba(10, 50, 153, 0);
  --line-dark: #1c3f92;

  --gold: #e8c04c;
  --gold-hi: #f2cf63;
  --gold-deep: #d4ad3a;
  --gold-ink: #7d5f0c;

  --ink: #0f1733;
  --body: #414a68;
  --muted: #5e6784;
  --soft: #f7f8fb;
  --line: #e2e6ef;

  --on-dark: #c3cde9;
  --on-dark-2: #94a3cd;

  --f-display: "Articulat", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section-y: clamp(4.5rem, 3rem + 5vw, 8rem);

  --shadow-card: 0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04);
  --shadow-btn: 0 3px 4px rgba(0, 0, 0, 0.16), 0 12px 13px rgba(0, 0, 0, 0.2);
  --shadow-btn-light: 0 4px 5px rgba(0, 0, 0, 0.05), 0 14px 16px rgba(0, 0, 0, 0.07);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --focus: var(--navy);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--navy) var(--soft); }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--navy);
}
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 800; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.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; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.accent { color: var(--gold); }

/* ---------- Type roles ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 1.45rem + 4.7vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
.display--md { font-size: clamp(2.5rem, 1.6rem + 3.3vw, 4.5rem); line-height: 0.92; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  color: var(--gold-ink);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.18em;
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--gold); }
.section-head--dark .display { color: #fff; }
.section-head--dark .eyebrow { color: var(--gold); }

.fineprint { margin-top: 16px; font-size: 0.75rem; line-height: 1.6; color: var(--muted); max-width: 66ch; }
.fineprint--dark { margin: 24px auto 0; color: var(--on-dark-2); text-align: center; }

/* ---------- Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 60px;
  padding: 18px 40px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-950);
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: var(--shadow-btn);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.16), 0 18px 26px rgba(0, 0, 0, 0.24); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-btn); transition-duration: 0.08s; }
.btn--block { width: 100%; }
.btn--lg { min-height: 68px; padding: 22px 46px; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.15625rem); }
.why .btn, .inside .btn, .cost .btn { box-shadow: var(--shadow-btn-light); }
.why .btn:hover, .inside .btn:hover, .cost .btn:hover { box-shadow: 0 6px 8px rgba(0, 0, 0, 0.06), 0 18px 26px rgba(0, 0, 0, 0.1); }

/* Hero CTA: the page's lead action, so it gets the most weight. Brighter gold, a lifted gold-tinted
   shadow, an arrow that nudges on hover, and a sheen that crosses it every few seconds (skipped when motion is reduced). */
.btn--hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 12px;
  padding-inline: 44px 36px;
  background: linear-gradient(180deg, #f7d873 0%, var(--gold) 55%, #dcb23e 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 4px 6px rgba(0, 0, 0, 0.22), 0 18px 36px -10px rgba(232, 192, 76, 0.6);
}
.btn--hero:hover {
  background: linear-gradient(180deg, #fbe089 0%, var(--gold-hi) 55%, #e2b947 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 6px 10px rgba(0, 0, 0, 0.22), 0 24px 44px -10px rgba(232, 192, 76, 0.75);
}
.btn__arrow { width: 20px; height: 20px; flex: none; transition: transform 0.3s var(--ease-out); }
.btn--hero:hover .btn__arrow { transform: translateX(4px); }
.btn--hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  animation: sk-sheen 4.5s var(--ease-out) 1.2s infinite;
  pointer-events: none;
}
@keyframes sk-sheen { 0% { left: -60%; } 28%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn--hero::after { animation: none; display: none; } }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.cta-row__note { color: var(--on-dark-2); font-size: 0.84375rem; line-height: 1.65; }
.cta-row--ruled { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-dark); }

.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(3rem, 2rem + 3vw, 6rem); }
.cta-stack__note { font-size: 0.84375rem; color: var(--muted); }

@media (max-width: 599px) {
  .cta-row .btn, .cost__cta .btn { width: 100%; }
  .cta-row__note { width: 100%; text-align: center; }
  .btn { padding-inline: 24px; }
}

/* ---------- Top bar (2027 edition) ---------- */
.topbar { background: linear-gradient(90deg, #e8c04c 0%, #e2bb47 28.6%, #dab23f 71.4%, #d4ad3a 100%); }
/* The whole banner is the button: copy is shown exactly as supplied (no text-transform). */
.topbar__btn {
  --focus: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px var(--gutter);
  color: var(--navy);
  font-size: clamp(0.8125rem, 0.76rem + 0.25vw, 1rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.topbar__btn:hover { background-color: rgba(255, 255, 255, 0.18); }
.topbar__btn:focus-visible { outline-offset: -4px; }
.topbar__arrow { width: 16px; height: 16px; color: var(--navy); transition: transform 0.3s var(--ease-out); }
.topbar__btn:hover .topbar__arrow { transform: translateX(3px); }
.topbar__btn { padding-block: 8px; }
.topbar__text { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; row-gap: 4px; }
/* The action half of the banner reads as a button: navy pill, gold arrow, the hero CTA's sheen. */
.topbar__pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.3s var(--ease-out);
}
.topbar__pill .topbar__arrow { color: var(--gold); }
.topbar__btn:hover .topbar__pill { background: var(--navy-950); transform: translateY(-1px); }
.topbar__btn:hover { background-color: transparent; }
.topbar__pill::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  animation: sk-sheen 4.5s var(--ease-out) 3.4s infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .topbar__pill::after { animation: none; display: none; } }
@media (max-width: 479px) {
  .topbar__btn { gap: 6px; padding-inline: 12px; font-size: 0.75rem; letter-spacing: 0.02em; }
  .topbar__sep { margin-inline: 0.45em; }
  .topbar__icon { display: none; }
  .topbar__pill { gap: 6px; padding: 6px 10px 6px 12px; letter-spacing: 0.03em; }
}
@media (max-width: 374px) {
  .topbar__btn { padding-inline: 8px; font-size: 0.6875rem; letter-spacing: 0; }
  .topbar__sep { margin-inline: 0.35em; }
  .topbar__pill { gap: 4px; padding: 6px 8px 6px 10px; letter-spacing: 0.01em; }
  .topbar__pill .topbar__arrow { width: 14px; height: 14px; }
}
.topbar strong { font-weight: 800; }
.topbar__icon { width: 16px; height: 16px; color: var(--navy); }
.topbar__sep { margin-inline: 0.7em; opacity: 0.45; }

/* ---------- Hero ---------- */
.hero {
  --focus: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: clamp(2rem, 1.2rem + 3vw, 4rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem);
  background-color: var(--navy-950);
  background-image:
    radial-gradient(54% 72% at 82% 18%, var(--glow) 0%, var(--glow-0) 100%),
    linear-gradient(172.76deg, #03267d 6.9%, #021d60 51.7%, #02174a 93.1%);
}
.hero__pattern {
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% + 87px);
  width: 730px;
  max-width: none;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 45%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 45%, transparent 85%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "logo" "copy" "action" "media";
  row-gap: 0;
}
.hero__bar {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
}
.hero__logo { flex: none; width: clamp(124px, 90px + 9vw, 238px); }
.hero__logo img { width: 100%; }
.hero__copy { grid-area: copy; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.375rem, 1.55rem + 2.75vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  color: #fff;
  max-width: 575px;
  text-wrap: balance;
}
.hero__lede {
  margin-top: 24px;
  max-width: 575px;
  color: var(--on-dark);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.09375rem);
  line-height: 1.68;
}
.hero__lede-bold { color: #fff; font-weight: 800; }
.hero__lede-strong { display: block; margin-top: 16px; color: #fff; font-weight: 700; }
.hero__media { grid-area: media; justify-self: center; width: min(100%, 560px); margin-top: 40px; }
.hero__media img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 8, 40, 0.45)); }
.hero__action { grid-area: action; max-width: 575px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 32px; }
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}
.badges svg { width: 16px; height: 16px; color: var(--gold); }

.hero__disclaimer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-2);
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 66ch;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 28px;
  margin-top: clamp(3rem, 2rem + 3.5vw, 5.5rem);
}
.trust__item { flex: 0 0 50%; padding-inline: 6px; }
@media (min-width: 640px) { .trust__item { flex-basis: 33.333%; } }
@media (min-width: 960px) { .trust__item { flex-basis: 20%; } }
.trust__item { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust__icon { width: clamp(30px, 24px + 1.2vw, 40px); height: auto; aspect-ratio: 1; color: var(--gold); }
.trust__value {
  margin-top: 8px;
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.33;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.trust__label { max-width: 22ch; color: rgba(255, 255, 255, 0.72); font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem); line-height: 1.43; }


@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 542fr) minmax(0, 542fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "logo logo" "copy media" "action media";
    column-gap: clamp(2.5rem, 5vw, 6rem);
  }
  .hero__copy { padding-top: 24px; }
  .hero__media {
    align-self: center;
    justify-self: start;
    /* Bleed into the right page margin only as far as the margin allows (minus 32px),
       so the full cover always stays on screen at every desktop width. */
    width: calc(100% + max(0px, (100vw - min(1180px, 100vw - 2 * var(--gutter))) / 2 - 32px));
    max-width: 820px;
    margin: 0 0 0 calc(-1 * clamp(0px, 4vw - 40px, 40px));
  }
}

/* ---------- Featured in ---------- */
.featured { background: #fff; padding: 40px 0 clamp(3.5rem, 2.5rem + 3vw, 6rem); }
.featured__title {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}
.featured__title::after { content: ""; display: block; width: 44px; height: 2px; margin: 16px auto 0; background: var(--gold); }
.featured__logos { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.featured__logos ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 38px; }
.featured__logos li { flex: none; }
.featured__logos img { width: auto; height: 26px; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: opacity 0.25s ease, filter 0.25s ease; }
.featured__logos li:hover img { filter: none; opacity: 1; }
.featured__logos ul[aria-hidden="true"] { display: none; }

@media (max-width: 767px) {
  .featured__logos {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .featured__logos ul { flex-wrap: nowrap; flex-shrink: 0; gap: 32px; min-width: 100%; padding-right: 32px; animation: sk-marquee 50s linear infinite; }
  .featured__logos ul[aria-hidden="true"] { display: flex; }
  .featured__logos:hover ul { animation-play-state: paused; }
}
@keyframes sk-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Why now (bento) ---------- */
.why {
  background: var(--soft);
  border-block: 1px solid var(--line);
  padding: clamp(4rem, 3rem + 3vw, 4.5rem) 0 var(--section-y);
}
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; margin-top: clamp(2.25rem, 1.8rem + 1.5vw, 3.125rem); }

.card {
  --card-line: var(--line);
  grid-column: span 6;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.card--navy { --card-line: rgba(226, 230, 239, 0.3); background: var(--navy); border-color: var(--navy); color: #fff; }
.card__num {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(2.5rem, 2.2rem + 1vw, 3.125rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.card__num svg { width: clamp(38px, 34px + 0.8vw, 47px); height: auto; aspect-ratio: 1; color: var(--navy); }
.card--navy .card__num svg { color: #fff; }
.card__title {
  margin-top: 32px;
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.4375rem);
  line-height: 1.24;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.card--navy .card__title { color: #fff; }
.card__body { margin-top: 12px; max-width: 62ch; color: var(--body); font-size: 1.03125rem; line-height: 1.65; }
.card--navy .card__body { color: #fff; }

/* Comparison figure inside card 01 */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare__col { padding: 26px 28px 28px 0; }
.compare__col--no { padding: 26px 0 28px 28px; border-left: 1px solid var(--line); }
.compare__head { margin-bottom: 16px; color: var(--navy); font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.01em; }
.compare__head::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 14px; background: var(--gold); }
.compare__col--no .compare__head::before { background: var(--line); }
.compare__col--no .compare__head { color: var(--muted); }
.compare li { display: flex; gap: 10px; color: var(--ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.5; }
.compare li + li { margin-top: 12px; }
.compare li svg { width: 20px; height: 20px; margin-top: 1px; color: var(--navy); }
.compare__col--no li { color: var(--muted); }
.compare__col--no li svg { color: var(--muted); }
.compare figcaption { grid-column: 1 / -1; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; font-weight: 600; line-height: 1.65; letter-spacing: 0.01em; }

/* Projects list inside card 04 */
.projects { display: grid; align-content: start; margin-top: 32px; border-top: 1px solid var(--card-line); }
.projects li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--card-line);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}
.projects li svg { width: 26px; height: 26px; color: var(--gold); }
.projects strong { color: var(--gold); }

@media (max-width: 599px) {
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare__col { padding: 22px 0; }
  .compare__col--no { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (min-width: 768px) {
  .card--half { grid-column: span 3; }
}
@media (min-width: 960px) {
  .card--wide {
    display: grid;
    grid-template-columns: minmax(0, 386fr) minmax(0, 600fr);
    grid-template-areas: "text fig";
    align-items: center;
    column-gap: clamp(2.5rem, 6vw, 6rem);
  }
  .card--wide > .card__text { grid-area: text; }
  .card--wide > .compare, .card--wide > .projects { grid-area: fig; margin-top: 0; }
  .card--split { grid-template-columns: minmax(0, 600fr) minmax(0, 386fr); }
}

/* ---------- Cost of waiting ---------- */
.cost { background: #fff; padding: var(--section-y) 0; }
.cost__grid { display: grid; gap: clamp(3rem, 2rem + 3vw, 4rem); align-items: center; }
.cost__body { margin-top: 28px; max-width: 52ch; color: var(--body); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.7; }
.cost__cta { margin-top: 36px; }

/* Two-scenario figure: same property, buy today vs wait 12 months */
.wait {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border-radius: 20px;
  color: #fff;
  background-color: var(--navy-950);
  background-image:
    radial-gradient(60% 70% at 85% 0%, var(--glow) 0%, var(--glow-0) 100%),
    linear-gradient(161.9deg, #03267d 6.9%, #02174a 93.1%);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.08);
}
.wait__premise {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.5;
}
.wait__premise strong { color: #fff; }
.wait__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wait__col { padding: 26px 26px 0 0; }
.wait__col--later { padding: 26px 0 0 26px; border-left: 1px solid var(--line-dark); }
.wait__name { color: #fff; font-size: 1.125rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.wait__name::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 12px; background: var(--gold); }
.wait__col--later .wait__name { color: var(--on-dark); }
.wait__col--later .wait__name::before { background: var(--on-dark-2); }

.wait__chart { margin-top: 20px; }
.wait__chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.wait__base { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.5; }
.wait__base--wait { stroke: rgba(195, 205, 233, 0.6); stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; }
.wait__line { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wait__dot { fill: var(--navy-950); stroke: var(--gold); stroke-width: 2.5; }
.wait__dot--end { fill: var(--gold); stroke: var(--navy-950); stroke-width: 3; }
.wait__dot--wait { fill: var(--navy-950); stroke: var(--on-dark); stroke-width: 2.5; }
.wait__plot { position: relative; }
/* Labels sit in HTML over the SVG so they stay a readable size as the chart scales.
   Positions are percentages of the 260 x 112 viewBox. */
.wait__tag { position: absolute; color: var(--on-dark); font-size: 0.75rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.wait__tag--start { left: 3%; top: 56%; }
.wait__tag--hi { right: 7%; top: -4%; color: #fff; font-size: 0.875rem; font-weight: 800; }
.wait__tag--idle { left: 4%; top: 68%; }
.wait__tag--wait { right: 5%; top: 60%; color: #fff; font-weight: 800; }
.wait__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-inline: 1px;
  color: var(--on-dark-2);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wait__facts { display: grid; gap: 18px; margin-top: 24px; }
.wait__facts dt { color: rgba(255, 255, 255, 0.72); font-size: 0.6875rem; font-weight: 800; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; }
.wait__facts dd { margin-top: 6px; color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.wait__facts .wait__big { white-space: nowrap; color: var(--gold); font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.wait__col--later .wait__facts dd { color: var(--on-dark); }
.wait__col--later .wait__facts .wait__big { color: var(--on-dark-2); }

@media (max-width: 559px) {
  .wait__cols { grid-template-columns: minmax(0, 1fr); }
  .wait__col { padding: 24px 0; }
  .wait__col--later { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .wait__col--later .wait__chart svg { aspect-ratio: 260 / 50; }
  .wait__tag--idle { top: 26%; }
  .wait__tag--wait { top: 10%; }
}
@media (max-width: 1199px) {
  .cost__grid { gap: 0; }
  .cost__copy { display: contents; }
  .cost__copy > h2 { order: 1; }
  .cost__body { order: 2; }
  .wait { order: 3; margin-top: 40px; }
  .cost__cta { order: 4; margin-top: 32px; }
  .cost__grid .fineprint { order: 5; }
}
@media (min-width: 1200px) {
  .cost__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 6vw, 6rem); }
}

/* ---------- Track record: scoreboard + race chart ---------- */
.record {
  --focus: #fff;
  color: #fff;
  padding: clamp(4.5rem, 3rem + 5vw, 7.5rem) 0 var(--section-y);
  background-color: var(--navy-950);
  background-image:
    radial-gradient(70% 55% at 16% 0%, var(--glow) 0%, var(--glow-0) 62%),
    linear-gradient(161.9deg, #03267d 6.9%, #02174a 93.1%);
}
.record__body { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); margin-top: clamp(2.5rem, 2rem + 2vw, 3.75rem); }

.scoreboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; border-top: 1px solid var(--line-dark); }
.scoreboard__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) 0; }
.scoreboard__item + .scoreboard__item { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.scoreboard dd { font-family: var(--f-display); font-weight: 700; line-height: 0.86; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.scoreboard__item--us dd { color: var(--gold); font-size: clamp(3.5rem, 2.2rem + 6vw, 8.5rem); }
.scoreboard__item--market dd { color: var(--on-dark-2); font-size: clamp(2.5rem, 1.6rem + 4vw, 4.75rem); }
.scoreboard dt { color: #fff; font-size: 0.8125rem; font-weight: 800; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; }
.scoreboard__item--market dt { color: var(--on-dark); }

.race {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--blue-line);
  border-radius: 17px;
  background: var(--navy-900);
}
.race__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.race__label { color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.race__key { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); font-size: 0.8125rem; font-weight: 700; }
.race__key-line { width: 0; height: 18px; border-left: 2px dashed rgba(255, 255, 255, 0.8); }

.race__plot {
  --name-w: clamp(9rem, 5rem + 9vw, 15rem);
  --tile-w: clamp(7.5rem, 5rem + 6vw, 11rem);
  --gap: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  --track-l: calc(var(--name-w) + var(--gap));
  --track-w: calc(100% - var(--name-w) - var(--tile-w) - 2 * var(--gap));
  --axis-h: 30px;
  position: relative;
}
.race__grid {
  position: absolute;
  top: 0;
  bottom: var(--axis-h);
  left: var(--track-l);
  width: var(--track-w);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 20%);
  pointer-events: none;
}
.race__avg {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: calc(var(--axis-h) - 6px);
  left: calc(var(--track-l) + var(--track-w) * var(--avg) / 25);
  width: 0;
  border-left: 2px dashed rgba(255, 255, 255, 0.8);
  transform-origin: top center;
  pointer-events: none;
}
.race__rows { display: grid; }
.race__row {
  --i: 0;
  display: grid;
  grid-template-columns: var(--name-w) minmax(0, 1fr) var(--tile-w);
  align-items: center;
  gap: var(--gap);
  padding: clamp(1.125rem, 0.9rem + 0.9vw, 1.625rem) 0;
  border-bottom: 1px solid rgba(28, 63, 146, 0.6);
}
.race__row:nth-child(2) { --i: 1; }
.race__row:nth-child(3) { --i: 2; }
.race__name { color: #fff; font-weight: 700; font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.race__track { position: relative; height: clamp(18px, 12px + 1vw, 28px); border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.race__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) / 25 * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #b8901f 0%, var(--gold) 100%);
  transform-origin: left center;
}
.race__tile { min-width: 0; padding: clamp(0.75rem, 0.6rem + 0.6vw, 1.125rem) clamp(0.75rem, 0.6rem + 0.5vw, 1.125rem); border: 1px solid var(--gold); border-radius: 11px; background: #fff; text-align: center; }
.race__num { display: block; color: var(--navy); font-weight: 800; font-size: clamp(1.375rem, 1rem + 1vw, 2rem); white-space: nowrap; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.race__axis { position: relative; height: var(--axis-h); }
.race__axis span {
  position: absolute;
  top: 10px;
  left: calc(var(--track-l) + var(--track-w) * var(--t) / 25);
  transform: translateX(-50%);
  color: var(--on-dark-2);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.race__caption { margin-top: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); max-width: 62ch; color: var(--on-dark); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.6; }
.race__caption strong { color: #fff; }
.record .fineprint--dark { margin-left: 0; text-align: left; }

/* Authored moment, played once when the chart scrolls in: the national-average line draws,
   then the three bars race past it and the figures count up. Everything is fully drawn by
   default; JS arms the animation only when motion is allowed. */
.race--armed .race__avg { transform: scaleY(0); }
.race--armed .race__bar { transform: scaleX(0); }
.race--armed.is-in .race__avg { transform: none; transition: transform 0.7s var(--ease-out); }
.race--armed.is-in .race__bar { transform: none; transition: transform 1.5s var(--ease-out) calc(450ms + var(--i) * 120ms); }

@media (min-width: 768px) {
  .scoreboard { grid-template-columns: auto auto 1fr; align-items: end; border-top: 0; }
  .scoreboard__item { padding: 0; }
  .scoreboard__item + .scoreboard__item { margin-left: clamp(2rem, 4vw, 4rem); padding-left: clamp(2rem, 4vw, 4rem); }
}
@media (max-width: 639px) {
  .race__plot { --track-l: 0px; --track-w: 100%; }
  .race__grid, .race__avg { display: none; }
  .race__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name tile" "track track"; row-gap: 14px; }
  .race__name { grid-area: name; }
  .race__tile { grid-area: tile; }
  .race__track { grid-area: track; }
  .race__track::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -6px;
    bottom: -6px;
    left: calc(var(--avg) / 25 * 100%);
    border-left: 2px dashed rgba(255, 255, 255, 0.8);
  }
  .race__axis span:nth-child(even) { display: none; }
}

/* ---------- Inside the report (contents page) ---------- */
.inside { background: var(--soft); border-top: 1px solid var(--line); padding: var(--section-y) 0; }
.inside__grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3rem); }
.inside__cover { margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) auto clamp(1.5rem, 1rem + 1.5vw, 2rem); max-width: 520px; }
.inside__cover img { width: 100%; }
.contents { border-top: 1px solid var(--line); }
.contents__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem) 0;
  border-bottom: 1px solid var(--line);
}
.contents__tag { color: var(--gold-ink); font-size: 0.75rem; font-weight: 800; line-height: 1.6; letter-spacing: 0.16em; text-transform: uppercase; }
.contents__title { color: var(--ink); font-weight: 800; font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.3; letter-spacing: -0.022em; text-wrap: pretty; }

@media (max-width: 639px) {
  .contents__item { display: block; }
  .contents__tag { display: inline; margin-right: 0.7em; }
  .contents__title { display: inline; }
}
@media (min-width: 640px) {
  .contents__item { grid-template-columns: 9.5rem minmax(0, 1fr); gap: 24px; align-items: baseline; }
}
@media (min-width: 960px) {
  .inside__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .inside__aside { position: sticky; top: 32px; }
  /* The aside is sticky: size the portrait cover so heading, cover and CTA fit one screen. */
  .inside__cover { margin-inline: 0; width: min(100%, max(240px, (100vh - 400px) * 0.9)); }
}

/* ---------- Client results ---------- */
.clients {
  --focus: #fff;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(4.5rem, 3rem + 5vw, 7.5rem) 0 var(--section-y);
  border-bottom: clamp(10px, 0.5rem + 0.6vw, 19px) solid var(--gold);
  background-color: var(--navy-950);
  background-image:
    radial-gradient(70% 40% at 16% 0%, var(--glow) 0%, var(--glow-0) 62%),
    linear-gradient(161.9deg, #03267d 6.9%, #02174a 93.1%);
}
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--row .display { max-width: 13ch; }

.carousel__controls { display: flex; gap: 12px; }
.carousel__nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.carousel__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.carousel__nav svg { width: 22px; height: 22px; }
.carousel__nav.swiper-button-disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.carousel__nav.swiper-button-lock { display: none; }

.carousel.swiper { overflow: visible; }
.carousel--videos { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.carousel .swiper-wrapper { padding: 0; margin: 0; }
.carousel .swiper-slide { height: auto; }

.video-card { display: flex; flex-direction: column; }
.video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(18px, 12px + 1.2vw, 30px);
  background: var(--navy-900);
  cursor: pointer;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.6);
}
.video-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.video-card__media:hover img { transform: scale(1.035); }
.video-card__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play {
  position: absolute;
  left: clamp(14px, 10px + 1vw, 22px);
  bottom: clamp(14px, 10px + 1vw, 22px);
  display: grid;
  place-items: center;
  width: clamp(52px, 44px + 1.4vw, 64px);
  height: clamp(52px, 44px + 1.4vw, 64px);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: var(--shadow-btn);
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease;
}
.video-card__media:hover .video-card__play { transform: scale(1.08); background: var(--gold-hi); }
.video-card__play svg { width: 40%; height: 40%; margin-left: 6%; }
.video-card__title { margin-top: 22px; color: #fff; font-weight: 800; font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.022em; text-wrap: balance; }
.video-card__meta { margin-top: 8px; color: var(--gold); font-size: 0.75rem; font-weight: 800; line-height: 1.6; letter-spacing: 0.14em; text-transform: uppercase; }

.reviews { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--line-dark); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--on-dark); font-size: 1rem; }
.reviews__score strong { color: #fff; font-size: 1.375rem; letter-spacing: -0.01em; }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.carousel--reviews { margin-top: 28px; }
.review {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border: 1px solid var(--blue-line);
  border-radius: 17px;
  background: var(--navy-900);
}
.review__quote { flex: 1; margin-top: 18px; color: #fff; font-size: 1.0625rem; line-height: 1.65; }
.review__quote p::before { content: "\201C"; }
.review__quote p::after { content: "\201D"; }
.review__author { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-dark); color: var(--gold); font-size: 0.9375rem; font-weight: 800; }
.clients .fineprint--dark { margin-top: 32px; }

/* ---------- Final CTA ---------- */
.final {
  --focus: #fff;
  position: relative;
  color: #fff;
  padding-top: var(--section-y);
  background-color: var(--navy-850);
  background-image: radial-gradient(31% 53% at 73% 47%, var(--glow) 0%, var(--glow-0) 100%);
}
.final__grid { display: grid; gap: 48px; }
.final__copy { align-self: center; }
.final__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.25rem, 1.35rem + 3.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.final__body { margin-top: 28px; max-width: 52ch; color: var(--on-dark); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.09375rem); line-height: 1.65; }
.final__media { justify-self: center; width: min(100%, 520px); }
.final__media img { width: 100%; border-top-right-radius: clamp(80px, 40px + 8vw, 190px); }

@media (min-width: 960px) {
  .final__grid { grid-template-columns: minmax(0, 575fr) minmax(0, 605fr); column-gap: clamp(3rem, 5.5vw, 6rem); align-items: end; }
  .final__copy { padding-bottom: var(--section-y); }
  .final__media {
    position: relative;
    z-index: 2;
    align-self: end;
    justify-self: start;
    /* Same rule as the hero art: bleed into the right margin, never past the screen edge. */
    width: calc(100% + max(0px, (100vw - min(1180px, 100vw - 2 * var(--gutter))) / 2 - 24px));
    max-width: 829px;
    margin-top: calc(-1 * var(--section-y) - clamp(20px, 6vw - 30px, 87px));
  }
  .final__media img { width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #fff; padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer__logo { width: clamp(180px, 150px + 5vw, 240px); }
.footer__logo img { width: 100%; }
.footer__legal { max-width: 62ch; color: var(--on-dark-2); font-size: 0.75rem; line-height: 1.6; }
.footer__copy { color: var(--on-dark); font-size: 0.875rem; }
.footer__copy span { margin-inline: 0.5em; opacity: 0.5; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(232, 192, 76, 0.45);
  transition: text-decoration-color 0.2s ease;
}
.footer__links a:hover { text-decoration-color: var(--gold); }
.footer { --focus: #fff; }

/* ---------- Lead popup (markup + behaviour from the existing build) ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 23, 74, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}
.popup-overlay.active .popup-modal { transform: none; }
.popup-modal:focus { outline: none; }
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.2s ease, color 0.2s ease;
  --focus: #fff;
}
.popup-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.popup-header {
  padding: 40px 36px 28px;
  color: #fff;
  text-align: center;
  background-color: var(--navy-950);
  background-image:
    radial-gradient(70% 90% at 85% 0%, var(--glow) 0%, var(--glow-0) 100%),
    linear-gradient(172.76deg, #03267d 6.9%, #02174a 93.1%);
}
.popup-header__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.popup-header__sub { margin-top: 10px; color: var(--on-dark); font-size: 0.9375rem; line-height: 1.55; }
.popup-body { padding: 28px 32px 32px; }
.popup-body__note { margin-top: 16px; color: var(--muted); font-size: 0.8125rem; font-weight: 700; text-align: center; }

/* HubSpot v2 embed renders its form into #hubspot-form-container */
.popup-body .hs-form-field { margin-bottom: 14px; }
.popup-body .hs-form-field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.popup-body .hs-input {
  width: 100% !important;
  padding: 15px 16px;
  border: 1px solid #cfd6e6;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.popup-body .hs-input::placeholder { color: var(--muted); opacity: 1; }
.popup-body .hs-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(3, 38, 125, 0.16); }
.popup-body input[type="checkbox"].hs-input, .popup-body input[type="radio"].hs-input { width: auto !important; }
.popup-body .hs-submit .hs-button {
  width: 100%;
  min-height: 60px;
  padding: 18px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-950);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-btn-light);
  transition: background-color 0.2s ease, transform 0.3s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.popup-body .hs-submit .hs-button:hover { background: var(--gold-hi); transform: translateY(-1px); }
.popup-body .hs-error-msgs { margin: 6px 0 0; padding: 0; list-style: none; }
.popup-body .hs-error-msgs label { display: block; color: #b42318; font-size: 0.8125rem; font-weight: 600; }
.popup-body .hs_mobilephone .input::after { content: "Put in your correct mobile number so we can SMS you a copy of the report!"; display: block; margin-top: 6px; color: var(--muted); font-size: 0.75rem; }
.popup-body .legal-consent-container { color: var(--muted); font-size: 0.75rem; line-height: 1.5; }
.popup-body .legal-consent-container label { display: block; }

/* ---------- "People viewing" chip (existing behaviour, shown with the popup) ---------- */
.live-viewers {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.live-viewers.active { opacity: 1; visibility: visible; transform: none; }
.live-viewers-icon { width: 18px; height: 18px; }
@media (max-width: 767px) { .live-viewers { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .featured__logos ul { animation: none; }
  .featured__logos { overflow-x: auto; }
  .featured__logos ul[aria-hidden="true"] { display: none; }
}
