/* =============================================================
   Make My Mortgage — One-Page Stylesheet V2
   Brand: #15CD8D Green | #1D2556 Navy | #F8F8FB Light Grey
   Premium, glossy, high-end aesthetic with motion
   ============================================================= */

/* === 1. Variables & Reset ================================== */
:root {
  --green:       #15CD8D;
  --green-light: #1AE49B;
  --green-dark:  #10A870;
  --green-glow:  rgba(21, 205, 141, 0.22);
  --navy:        #1D2556;
  --navy-light:  #252F6A;
  --navy-dark:   #141A3E;
  --white:       #FFFFFF;
  --off-white:   #F8F8FB;
  --grey-100:    #F0F0F5;
  --grey-200:    #E2E2EC;
  --grey-400:    #9B9BB4;
  --text:        #1D2556;
  --text-muted:  #6B7280;
  --text-light:  rgba(255,255,255,0.80);

  --font-h: 'Poppins', sans-serif;
  --font-b: 'Inter', sans-serif;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  32px;

  --sh-sm:    0 2px 10px rgba(29,37,86,0.06);
  --sh-md:    0 8px 30px rgba(29,37,86,0.09);
  --sh-lg:    0 20px 60px rgba(29,37,86,0.13);
  --sh-green: 0 8px 32px rgba(21,205,141,0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.25s;
  --t-lg: 0.45s;

  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* === 2. Typography ======================================== */
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
p  { font-size: 1.0625rem; line-height: 1.75; }

/* === 3. Layout ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--grey { background: var(--off-white); position: relative; }
.section--dark { background: var(--navy); color: var(--white); }

.section__label {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(21, 205, 141, 0.12);
  border: 1px solid rgba(21, 205, 141, 0.28);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.section--dark .section__label {
  background: rgba(21, 205, 141, 0.18);
  border-color: rgba(21, 205, 141, 0.40);
}
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__title {
  margin-bottom: 14px;
  transition: text-shadow 0.6s ease;
}
.section__sub {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}
.section--dark .section__sub { color: var(--text-light); }

/* === 4. Buttons =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-h);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease),
              border-color var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

/* Shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.28) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(100%); }

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: var(--sh-green);
}
.btn--primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(21,205,141,0.38), 0 0 20px rgba(21,205,141,0.15);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--grey-200);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: rgba(29,37,86,0.05);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-light:hover {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn--wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  box-shadow: 0 8px 30px rgba(37,211,102,0.30);
}
.btn--wa:hover {
  background: #1EBD59;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.42), 0 0 20px rgba(37,211,102,0.15);
}
.btn--navy-solid {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 8px 30px rgba(29,37,86,0.30);
}
.btn--navy-solid:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(29,37,86,0.42);
}

.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* === Liquid blob button effect ============================ */
/* A radial blob grows from the click/hover origin */
.btn--liquid {
  isolation: isolate;
}
.btn--liquid .btn__blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transform: scale(0);
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  width: 120%;
  padding-bottom: 120%;
  top: 50%;
  left: 50%;
  margin-left: -60%;
  margin-top: -60%;
}
.btn--liquid:hover .btn__blob {
  transform: scale(1.4);
  opacity: 1;
}
.btn--liquid:active .btn__blob {
  transform: scale(1.6);
  transition-duration: 0.2s;
}

/* JS-injected ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.35);
  pointer-events: none;
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out forwards;
}

/* === 5. Header ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--t-lg) var(--ease),
              backdrop-filter var(--t-lg) var(--ease),
              box-shadow var(--t-lg) var(--ease);
}
.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.header.scrolled {
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(29,37,86,0.08), 0 4px 24px rgba(29,37,86,0.07);
}

/* Scroll progress bar */
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  z-index: 1001;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.logo__mark {
  width: 36px;
  height: 36px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.logo:hover .logo__mark {
  animation: logoHoverPulse 0.6s ease;
}
/* SVG rule kept for any fallback; PNG img sized via footer block above */
.logo__text {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.1;
}
.logo__text span {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.header--hero .logo__text { color: var(--white); }
.header--hero .logo__text span { color: rgba(255,255,255,0.50); }

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav__link {
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 4px;
  position: relative;
  transition: color var(--t);
}
/* Sliding green underline */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.active { color: var(--navy); font-weight: 600; }
.nav__link.active::after { transform: scaleX(1); }
/* Hero (transparent header) state */
.header--hero .nav__link { color: rgba(255,255,255,0.80); }
.header--hero .nav__link:hover,
.header--hero .nav__link.active { color: var(--white); }
/* Scrolled hero header */
.header--hero.scrolled .nav__link { color: var(--text); }
.header--hero.scrolled .nav__link:hover,
.header--hero.scrolled .nav__link.active { color: var(--navy); }
.header--hero.scrolled .logo__text { color: var(--navy); }
.header--hero.scrolled .logo__text span { color: var(--text-muted); }

.header__cta { margin-left: 8px; }
.header--hero .header__cta .btn--outline { color: var(--white); border-color: rgba(255,255,255,0.35); }
.header--hero .header__cta .btn--outline:hover { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); }
.header--hero.scrolled .header__cta .btn--outline { color: var(--navy); border-color: var(--grey-200); }
.header--hero.scrolled .header__cta .btn--outline:hover { border-color: var(--navy); background: rgba(29,37,86,0.05); }

/* === Social links ========================================= */
.social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.social-links__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
              transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social-links__icon:hover {
  color: var(--green);
  background: rgba(21,205,141,0.12);
  border-color: rgba(21,205,141,0.30);
  transform: translateY(-2px);
}

/* Header variant: adapts to scroll state */
.header__social {
  margin-left: auto;
  margin-right: 6px;
}
.header--hero.scrolled .social-links__icon {
  color: var(--text-muted);
  background: rgba(29,37,86,0.05);
  border-color: var(--grey-200);
}
.header--hero.scrolled .social-links__icon:hover {
  color: var(--green);
  background: rgba(21,205,141,0.08);
  border-color: rgba(21,205,141,0.25);
}

/* Footer variant: slightly larger, lighter */
.footer__social {
  margin: 16px 0 20px;
  gap: 8px;
}
.footer__social .social-links__icon {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

/* Hamburger */
.hamburger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t) var(--ease);
}
.header.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 14px 18px;
  border-radius: var(--r-md);
  display: block;
  transition: background var(--t);
}
.mobile-nav a:hover { background: var(--off-white); }
.mobile-nav__cta { margin-top: 16px; }
.mobile-nav__cta .btn { width: 100%; justify-content: center; }

/* === 6. Hero ============================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 200px; /* extra bottom for lender carousel */
  position: relative;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
}
/* Mobile-only watermark logo — hidden on desktop */
.hero__logo-bg {
  display: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(21,205,141,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 85%, rgba(21,205,141,0.08) 0%, transparent 60%),
    linear-gradient(135deg, #141A3E 0%, #1D2556 55%, #1A2348 100%);
  background-size: 300% 300%, 300% 300%, 100% 100%;
  animation: gradientShift 14s ease infinite;
  z-index: 0;
}

/* Hero animated orbs */
.hero__orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}
.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(21,205,141,0.35) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat1 18s ease-in-out infinite;
}
.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(21,205,141,0.25) 0%, transparent 70%);
  bottom: -15%;
  left: -10%;
  animation: orbFloat2 22s ease-in-out infinite;
}
.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,255,212,0.20) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: orbFloat3 15s ease-in-out infinite;
}
.hero__orb--4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(29,37,86,0.40) 0%, transparent 70%);
  top: 20%;
  right: 20%;
  animation: orbFloat4 20s ease-in-out infinite;
}

.hero__container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.hero__heading {
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
}
.hero__heading-accent {
  display: block;
  background: linear-gradient(135deg, #15CD8D 0%, #8BFFD4 40%, #15CD8D 70%, #1AE49B 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}

.hero__sub {
  color: rgba(255,255,255,0.70);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 50px;
  font-family: var(--font-h);
  white-space: nowrap;
}
.trust-badge-icon { font-size: 0.85rem; }
a.trust-badge--link {
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
a.trust-badge--link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
}

/* Hero visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  height: auto;
}
.hero__card-wrap {
  position: relative;
  width: 300px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hero__card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px;
  padding: 28px;
  color: var(--white);
  animation: heroFloat 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__card-back {
  position: absolute;
  inset: 0;
  background: rgba(21,205,141,0.10);
  border: 1px solid rgba(21,205,141,0.18);
  border-radius: 28px;
  transform: rotate(6deg) translate(12px, 10px);
  z-index: 1;
}
.hero__card-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  font-family: var(--font-h);
  margin-bottom: 8px;
}
.hero__card-badge {
  display: inline-block;
  background: rgba(21,205,141,0.20);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  font-family: var(--font-h);
  margin-bottom: 16px;
}
.hero__card-amount {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero__card-period {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}
.hero__card-stats {
  display: flex;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 18px;
}
.hero__card-stat { flex: 1; }
.hero__card-stat-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.40);
  font-family: var(--font-h);
  margin-bottom: 3px;
}
.hero__card-stat-val {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
}
.hero__card-disclaimer {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.52rem;
  color: rgba(255,255,255,0.30);
  line-height: 1.5;
  font-style: italic;
}

/* Hero companion chips */
.hero__chip {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.22);
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  z-index: 10;
}
.hero__chip--approved {
  top: 10px;
  right: -20px;
}
.hero__chip--rated {
  top: 10px;
  right: -20px;
}
.hero__chip-icon {
  width: 24px;
  height: 24px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hero__chip-stars {
  color: #F5A623;
  font-size: 0.75rem;
  letter-spacing: 1px;
  line-height: 1;
}
.hero__chip-sep {
  color: var(--grey-400);
  font-size: 0.85rem;
  line-height: 1;
}
/* === Lender Carousel (hero bottom) ======================== */
.lender-carousel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  overflow: hidden;
}
.lender-carousel__label {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  font-family: var(--font-h);
  font-weight: 600;
  margin-bottom: 12px;
}
.lender-row {
  overflow: hidden;
  margin-bottom: 6px;
}
.lender-row:last-child { margin-bottom: 0; }
.lender-track {
  display: flex;
  gap: 8px;
  width: max-content;
}
.lender-track--fwd {
  animation: lenderScrollFwd 30s linear infinite;
}
.lender-track--rev {
  animation: lenderScrollRev 36s linear infinite;
}
.lender-carousel:hover .lender-track { animation-play-state: paused; }
.lender-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.58);
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-h);
  padding: 5px 13px;
  border-radius: 50px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lender-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.65;
  flex-shrink: 0;
}
.lender-pill:hover {
  background: rgba(21,205,141,0.12);
  color: rgba(255,255,255,0.88);
  border-color: rgba(21,205,141,0.25);
}

/* Hero word-by-word reveal */
.hero__word {
  display: inline-block;
}

/* === Trust Ticker ========================================= */
.ticker {
  background: var(--navy);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker__track:hover {
  animation-play-state: paused;
}
.ticker__content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker__item {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 24px;
}
.ticker__sep {
  color: var(--green);
  font-size: 0.65rem;
  flex-shrink: 0;
  opacity: 0.7;
}
/* Reverse ticker variant (scrolls left-to-right) */
.ticker--reverse {
  background: var(--off-white);
  margin-top: 40px;
}
.ticker--reverse .ticker__item {
  color: var(--navy);
  font-size: 0.75rem;
  opacity: 0.8;
}
.ticker--reverse .ticker__sep {
  color: var(--green);
  opacity: 0.5;
}
/* Light ticker — for use on off-white backgrounds between sections */
.ticker--light {
  background: var(--off-white);
}
.ticker--light .ticker__item {
  color: var(--navy);
  opacity: 0.65;
  font-size: 0.75rem;
}
.ticker--light .ticker__sep {
  color: var(--green);
  opacity: 0.55;
}
.ticker__track--reverse {
  animation: tickerScrollReverse 40s linear infinite;
}

/* === Wave Separators ====================================== */
.wave-sep {
  line-height: 0;
  margin-top: -1px;
  margin-bottom: -2px;
  position: relative;
  z-index: 5;
}
.wave-sep svg {
  display: block;
  width: 100%;
  height: 50px;
  overflow: hidden;
}
.wave-sep--navy { background: var(--navy); }
.wave-sep--white { background: var(--white); }
.wave-sep--grey { background: var(--off-white); }
.wave-sep--grey-to-white { background: var(--off-white); }
.wave-sep--white-to-dark { background: var(--white); }

/* === 7. About ============================================= */
.about { padding: 100px 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__heading { margin-bottom: 18px; }
.about__body {
  color: var(--text-muted);
  margin-bottom: 14px;
}
.about__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 26px 0 34px;
}
.about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.about__feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(21,205,141,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
/* Features ticker below metrics */
.about__ticker {
  border-top: none;
  border-bottom: none;
  background: transparent;
  margin-top: 48px;
  padding: 12px 0;
}
.about__ticker .ticker__item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.75;
  text-transform: none;
  letter-spacing: 0.02em;
}
.about__ticker .ticker__sep {
  color: var(--green);
  opacity: 0.5;
}
.about__wa-cta {
  text-align: center;
  padding: 28px 0 12px;
}

/* Stats */
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-card {
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  text-align: center;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stat-card--green {
  background: var(--green);
  border-color: var(--green);
}
.stat-card__number {
  display: block;
  font-family: var(--font-h);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card--green .stat-card__number { color: var(--white); }
.stat-card__number.pop { animation: statPop 0.35s ease; }
.stat-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-h);
}
.stat-card--green .stat-card__label { color: rgba(255,255,255,0.85); }

/* === 8. Services ========================================== */
.services { padding: 100px 0; background: var(--off-white); }
.mortgage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.mortgage-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: 24px 18px;
  cursor: default;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
/* Green bottom line on hover */
.mortgage-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
/* Light-ray sweep effect on hover */
.mortgage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(21,205,141,0.06), transparent);
  transform: skewX(-15deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 0;
}
.mortgage-card:hover::before { left: 125%; }
.mortgage-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.mortgage-card:hover::after { transform: scaleX(1); }
.mortgage-card__icon { font-size: 1.7rem; margin-bottom: 12px; display: block; position: relative; z-index: 1; }
.mortgage-card__title {
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.mortgage-card__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.mortgage-card__risk {
  font-size: 0.58rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--grey-200);
  font-style: italic;
  position: relative;
  z-index: 1;
  opacity: 0.7;
}

.partner-strip {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: 24px 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
  letter-spacing: 0.01em;
}
.partner-strip strong { color: var(--navy); }

.services__cta { text-align: center; margin-top: 44px; }

/* === 9. Calculator ======================================== */
.calculator {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.calculator::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(21,205,141,0.10) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
  z-index: 0;
}
.calculator .container { position: relative; z-index: 1; }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.calc-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  padding: 36px;
}
.calc-results-panel {
  background: rgba(21,205,141,0.07);
  border: 1px solid rgba(21,205,141,0.20);
  border-radius: var(--r-xl);
  padding: 36px;
}
.calc-panel__title {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.calc-results-panel .calc-panel__title {
  color: var(--green);
  border-color: rgba(21,205,141,0.20);
}

.calc-field { margin-bottom: 20px; }
.calc-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-h);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.calc-field input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-h);
  outline: none;
  transition: border-color var(--t), background var(--t);
  -moz-appearance: textfield;
}
.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-field input::placeholder { color: rgba(255,255,255,0.28); font-weight: 400; }
.calc-field input:focus {
  border-color: var(--green);
  background: rgba(21,205,141,0.06);
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.calc-result:last-of-type { border-bottom: none; }
.calc-result__label { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.calc-result__value {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.calc-result--highlight .calc-result__value {
  font-size: 1.65rem;
  color: var(--green);
}
.calc-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.30);
  margin-top: 20px;
  line-height: 1.6;
}
.calc-cta { display: block; width: 100%; text-align: center; margin-top: 24px; }

/* === 10. Credit Report ==================================== */
.credit-report__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.credit-report__content .section__title {
  margin-bottom: 18px;
}

.credit-report__lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.credit-report__cta {
  margin-bottom: 28px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.credit-report__cta svg {
  flex-shrink: 0;
}

.credit-report__disclaimer {
  background: rgba(29,37,86,0.04);
  border: 1px solid rgba(29,37,86,0.08);
  border-radius: var(--r-md);
  padding: 18px 20px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 500px;
}
.credit-report__disclaimer p + p { margin-top: 8px; }
.credit-report__disclaimer-main {
  font-size: 0.875rem;
  color: var(--text);
}
.credit-report__disclaimer-small {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.85;
}
.credit-report__important {
  color: var(--text-muted);
  font-size: 0.72rem;
  padding-top: 8px;
  border-top: 1px solid rgba(29,37,86,0.10);
  margin-top: 8px;
  opacity: 0.75;
}

/* === Credit score card visual ============================ */
.credit-report__visual {
  display: flex;
  justify-content: center;
}

.credit-score-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 24px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
  overflow: hidden;
}
.credit-score-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,205,141,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Gauge SVG */
.score-gauge {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 0 auto 8px;
}
.score-gauge__svg { width: 100%; display: block; }
.score-gauge__bg  { stroke-dasharray: 301.6; }

.score-gauge__centre {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 24px;
  pointer-events: none;
}
.score-number {
  font-family: var(--font-h);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.score-label {
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 4px;
}

.score-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  font-family: var(--font-h);
  font-weight: 500;
  padding: 0 4px;
  margin-bottom: 20px;
}
.score-range__mid { color: rgba(255,255,255,0.20); font-size: 0.65rem; }

/* Factor rows */
.score-factors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.score-factor {
  display: grid;
  grid-template-columns: 8px 1fr auto auto;
  align-items: center;
  gap: 8px;
}
.score-factor__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.score-factor--good .score-factor__dot { background: var(--green); }
.score-factor--mid  .score-factor__dot { background: #F59E0B; }
.score-factor--low  .score-factor__dot { background: #EF4444; }

.score-factor__label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-h);
  white-space: nowrap;
}
.score-factor__bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.10);
  border-radius: 2px;
  overflow: hidden;
  min-width: 50px;
}
.score-factor__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.score-factor--good .score-factor__fill { background: var(--green); }
.score-factor--mid  .score-factor__fill { background: #F59E0B; }
.score-factor--low  .score-factor__fill { background: #EF4444; }

/* When revealed, animate bars */
.score-factor.visible .score-factor__fill {
  width: var(--w, 70%);
}

.score-factor__grade {
  font-size: 0.66rem;
  font-family: var(--font-h);
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.score-factor--good .score-factor__grade { color: var(--green); }
.score-factor--mid  .score-factor__grade { color: #F59E0B; }

/* Score improvement badge */
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(21,205,141,0.15);
  border: 1px solid rgba(21,205,141,0.25);
  color: var(--green);
  font-family: var(--font-h);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  animation: heroPillBob 3.5s ease-in-out infinite;
}

/* === 11. Reviews ========================================== */
.reviews { padding: 100px 0; }

/* Carousel */
.carousel {
  position: relative;
  margin-bottom: 44px;
}
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
}
.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel__slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 12px;
  box-sizing: border-box;
}
.carousel__slide .review-card {
  height: 100%;
}

/* Review cards (inside carousel or standalone) */
.review-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(29,37,86,0.13), 0 0 0 1px rgba(21,205,141,0.15);
  border-color: rgba(21,205,141,0.25);
}
.review-card__stars { font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
  flex: 1;
}
.review-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
/* Per-card avatar gradients */
.carousel__slide:nth-child(1) .review-card__avatar { background: linear-gradient(135deg, #1D2556 0%, #3d4d9e 100%); }
.carousel__slide:nth-child(2) .review-card__avatar { background: linear-gradient(135deg, #15CD8D 0%, #0ea870 100%); }
.carousel__slide:nth-child(3) .review-card__avatar { background: linear-gradient(135deg, #1D2556 0%, #15CD8D 100%); }
.carousel__slide:nth-child(4) .review-card__avatar { background: linear-gradient(135deg, #2d4890 0%, #15CD8D 100%); }
.carousel__slide:nth-child(5) .review-card__avatar { background: linear-gradient(135deg, #0ea870 0%, #1D2556 100%); }
.carousel__slide:nth-child(6) .review-card__avatar { background: linear-gradient(135deg, #15CD8D 0%, #2d6096 100%); }

.review-card__avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card__name {
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}
.review-card__info {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Carousel dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-200);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}
.carousel__dot.active {
  background: var(--green);
  transform: scale(1.3);
}
.carousel__dot:hover {
  background: var(--green-dark);
}

.reviews__cta { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.reviews__tp-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--t);
}
.reviews__tp-link:hover { color: var(--green); }
.reviews__tp-leave {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--t);
}
.reviews__tp-leave:hover { color: rgba(255,255,255,0.7); }

/* === 11. Process ========================================== */
.process { padding: 100px 0; background: var(--off-white); overflow: hidden; }
.process__scroll {
  overflow-x: auto;
  padding: 12px 24px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--grey-200) transparent;
}
.process__track {
  display: flex;
  align-items: flex-start;
  min-width: max-content;
  position: relative;
  padding-top: 10px;
}
/* Connector line */
.process__track::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 64px;
  width: calc(100% - 128px);
  height: 2px;
  background: linear-gradient(to right, var(--green) 0%, rgba(21,205,141,0.25) 100%);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
  z-index: 0;
}
.process__track.line-active::before { transform: scaleX(1); }

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
  flex-shrink: 0;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.process-step__node {
  width: 52px; height: 52px;
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease);
  position: relative;
  z-index: 2;
  cursor: pointer;
  /* start hidden; nodePop will reveal when .node-active is added */
  opacity: 0;
}
.process-step__node:hover {
  transform: scale(1.25) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(29,37,86,0.18);
}
/* Active node — triggered by JS adding class with stagger */
.process-step__node.node-active {
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(21,205,141,0.18);
  animation: nodePop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.process-step__node.node-active .process-step__num {
  animation: emojiBounce 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both;
}
/* Final step (celebration) */
.process-step--final .process-step__node.node-active {
  background: rgba(21,205,141,0.10);
  border-color: var(--green);
  box-shadow: var(--sh-green);
  animation: nodePop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both,
             processPulse 0.75s ease-out infinite calc(0.42s + var(--node-delay, 0s));
}
/* Keep backwards-compat line-active for older selectors */
.process__track.line-active .process-step__node {
  border-color: var(--green);
}

.process-step__num { font-size: 1.2rem; line-height: 1; }
.process-step__title {
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
}
.process-step__sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.process__cta { text-align: center; margin-top: 52px; }

/* === Dot grid pattern for grey sections =================== */
.section--grey::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(29,37,86,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.section--grey > .container {
  position: relative;
  z-index: 1;
}

/* === 12. FAQs ============================================= */
.faqs { padding: 100px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--grey-200); }
.faq-item:first-child { border-top: 1px solid var(--grey-200); }

.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--t);
}
.faq-item__q:hover { color: var(--green); }

.faq-icon {
  width: 28px; height: 28px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), transform var(--t), color var(--t);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1;
  font-family: var(--font-h);
}
.faq-icon::before {
  content: '+';
  display: block;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.open .faq-item__a { max-height: 300px; }
.faq-item__a p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  padding-bottom: 22px;
}

/* === 13. CTA Section ====================================== */
.cta-section {
  padding: 140px 0 120px;
  background: var(--navy-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Animated gradient mesh blobs */
.cta-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.cta-mesh__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.cta-mesh__blob--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(21,205,141,0.18) 0%, transparent 65%);
  top: -10%; left: 15%;
  animation: meshFloat1 14s ease-in-out infinite;
}
.cta-mesh__blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(29,37,86,0.60) 0%, transparent 65%);
  bottom: -10%; right: 10%;
  animation: meshFloat2 18s ease-in-out infinite;
}
.cta-mesh__blob--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(21,205,141,0.10) 0%, transparent 65%);
  top: 40%; right: 20%;
  animation: meshFloat3 12s ease-in-out infinite;
}
.cta-section__inner { position: relative; z-index: 2; }
.cta-section__tag {
  display: inline-block;
  background: rgba(21,205,141,0.18);
  border: 1px solid rgba(21,205,141,0.35);
  color: var(--green);
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.cta-section__heading {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta-section__heading::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 18px auto 0;
}
.cta-section__sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 22px auto 16px;
  line-height: 1.7;
}
.cta-section__response {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 44px;
}
.cta-pulse {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cta-section__risk {
  color: rgba(255,255,255,0.30);
  font-size: 0.68rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* === 14. Footer =========================================== */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 0;
}

/* === Logo mark — PNG image sizing === */
.logo__mark img { width: 36px; height: 36px; object-fit: contain; display: block; }
.footer .logo__mark img { width: 38px; height: 38px; }
.footer .logo__text { color: var(--white); }
.footer .logo__text span { color: rgba(255,255,255,0.42); }

/* === Footer main 3-col grid === */
.footer__main {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Col 1 — Brand */
.footer__brand { display: flex; flex-direction: column; gap: 0; }
.footer__tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 12px 0 14px;
  max-width: 280px;
  line-height: 1.65;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__contact a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--t);
}
.footer__contact a:hover { color: var(--green); }

/* Col 2 — Links */
.footer__links-wrap {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.footer__link-group { flex: 1; }
.footer__heading {
  font-family: var(--font-h);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--t);
}
.footer__links a:hover { color: var(--green); }

/* Col 3 — Social + Trustpilot */
.footer__social-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__social { margin: 0; gap: 8px; }
.footer__social .social-links__icon {
  width: 34px;
  height: 34px;
  color: rgba(255,255,255,0.40);
}
.footer__social .social-links__icon:hover { color: var(--green); }

/* Trustpilot text badge */
.footer__tp-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 12px;
  transition: color var(--t), border-color var(--t);
  white-space: nowrap;
}
.footer__tp-badge:hover { color: var(--green); border-color: rgba(21,205,141,0.4); }

/* === Fee disclosure strip === */
.footer__fees {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer__fees p {
  margin: 0;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.30);
  line-height: 1.7;
}
.footer__fees strong {
  color: rgba(255,255,255,0.45);
}

/* === FCA regulatory strip === */
.footer__fca {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__fca p { margin: 0; font-size: 0.63rem; color: rgba(255,255,255,0.25); line-height: 1.7; }
.footer__fca-risk {
  font-size: 0.61rem;
  color: rgba(255,255,255,0.16);
  font-style: italic;
}

/* === Copyright bar === */
.footer__bottom {
  padding: 16px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 0.63rem; color: rgba(255,255,255,0.22); }

/* === 15. WhatsApp Float =================================== */
.wa-float {
  position: fixed;
  bottom: 56px; right: 28px;
  z-index: 900;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.40);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 40px rgba(37,211,102,0.55); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.6);
  animation: glowPulse 2.5s ease-out infinite;
}

/* === 16. Cookie Banner ==================================== */
.cookie-banner {
  position: fixed;
  bottom: 52px; left: 24px;
  max-width: 420px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  z-index: 800;
  box-shadow: var(--sh-lg);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.cookie-banner__text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
  margin-bottom: 14px;
}
.cookie-banner__text a { color: var(--green); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  border: 1px solid transparent;
}
.cookie-btn--accept {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.cookie-btn--accept:hover { background: var(--green-light); }
.cookie-btn--decline {
  background: transparent;
  color: rgba(255,255,255,0.50);
  border-color: rgba(255,255,255,0.18);
}
.cookie-btn--decline:hover { color: rgba(255,255,255,0.80); border-color: rgba(255,255,255,0.38); }

/* === Sticky Risk Warning Bar ============================= */
.risk-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--navy-dark);
  border-top: 1px solid rgba(21, 205, 141, 0.25);
  padding: 8px 24px;
  text-align: center;
}
.risk-bar__text {
  margin: 0;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-b);
  letter-spacing: 0.01em;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .risk-bar { padding: 6px 16px; }
  .risk-bar__text { font-size: 0.58rem; }
  /* Push mobile CTA bar up above risk bar */
  .mobile-cta-bar.visible { bottom: 30px; }
}

/* === 17. Scroll-reveal ==================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.14s);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal--left.visible,
.reveal--right.visible { transform: none; }

/* === 18. Responsive ======================================= */
@media (max-width: 1100px) {
  .mortgage-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .hero { padding: 120px 24px 80px; min-height: auto; }
  .hero__container { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { max-width: 100%; margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__stats { order: -1; }
  .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__main { grid-template-columns: 1fr; gap: 32px; }
  .nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }
  .credit-report__grid { grid-template-columns: 1fr; gap: 48px; }
  .credit-report__lead { max-width: 100%; }
  .credit-report__disclaimer { max-width: 100%; }
  .credit-report__visual { order: -1; }
  .header__social { display: none; }
  .mobile-nav { display: flex; }
  .carousel__slide { flex: 0 0 50%; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }
  .mortgage-grid { grid-template-columns: repeat(2, 1fr); }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 28px; }
  .footer__links-wrap { gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cta-section { padding: 80px 0; }
  .carousel__slide { flex: 0 0 100%; }
  .btn--lg { max-width: 100%; white-space: normal; text-align: center; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; }
  .hero__actions .btn--lg { padding: 14px 18px; font-size: 0.85rem; white-space: nowrap; }

  /* ── Hero mobile fixes ────────────────────────────── */
  /* Scale down heading so it fits without overflowing */
  .hero__heading { font-size: clamp(1.75rem, 7.5vw, 2.2rem); overflow-wrap: break-word; word-break: break-word; }
  /* Prevent sub-text overflow */
  .hero__sub { max-width: 100%; overflow-wrap: break-word; }
  /* Hide trust badge row — overlaps lender ticker on small screens */
  .hero__trust { display: none; }
  /* Extra bottom padding so lender carousel doesn't cover content */
  .hero { padding-bottom: 160px; }
  /* Oversized transparent logo watermark — mobile hero background */
  .hero__logo-bg {
    display: block;
    position: absolute;
    width: 340px;
    height: 340px;
    object-fit: contain;
    opacity: 0.055;
    right: -70px;
    top: 50%;
    transform: translateY(-45%);
    pointer-events: none;
    z-index: 1;
    filter: brightness(10); /* ensures it renders as pure light/white shape */
  }

  /* Process: vertical on mobile */
  .process__scroll {
    overflow-x: visible;
    padding: 0 20px;
  }
  .process__track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: unset;
    padding-top: 0;
    padding-left: 0;
    position: relative;
  }
  /* Vertical connector line */
  .process__track::before {
    top: 22px;
    left: 21px;
    width: 2px;
    height: calc(100% - 44px);
    transform-origin: top;
    transform: scaleY(0);
  }
  .process__track.line-active::before {
    transform: scaleY(1);
  }
  .process-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 0 14px;
    text-align: left;
    width: 100%;
    padding: 0 0 24px 0;
  }
  .process-step__node {
    grid-row: 1 / 3;
    grid-column: 1;
    position: relative;
    left: auto;
    margin-bottom: 0;
    width: 44px;
    height: 44px;
    align-self: start;
  }
  .process-step__title {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.85rem;
    align-self: end;
  }
  .process-step__sub {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .mortgage-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .calc-panel, .calc-results-panel { padding: 22px 18px; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .cta-section__actions .btn--lg { width: 100%; justify-content: center; }
  .trust-badge { font-size: 0.70rem; padding: 5px 10px; }
  .wave-sep svg { height: 30px; }
  /* Stack hero CTA buttons vertically — too wide side-by-side at 480px */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero__actions .btn--lg {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    white-space: normal;
    text-align: center;
  }
  .wa-float {
    bottom: max(108px, calc(env(safe-area-inset-bottom, 0px) + 52px));
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .wa-float svg { width: 24px; height: 24px; }
}

/* === Utility ============================================== */
.text-green { color: var(--green); }

/* === Button pulse dot ===================================== */
.btn-pulse {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
  flex-shrink: 0;
  display: inline-block;
}
.btn--outline-light .btn-pulse { background: #15CD8D; }

/* === Why Clients Choose =================================== */
.why-choose { background: var(--white); }
.why-choose__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 60px;
}
.why-choose__col { display: flex; flex-direction: column; gap: 0; }
.why-choose__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(29,37,86,0.06);
}
.why-choose__item:last-child { border-bottom: none; }
.why-choose__check {
  width: 26px; height: 26px;
  background: rgba(21,205,141,0.12);
  border: 1.5px solid rgba(21,205,141,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-choose__title {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.why-choose__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
@media (max-width: 767px) {
  .why-choose__grid { grid-template-columns: 1fr; gap: 0; }
}

/* === Sticky mobile bottom bar ============================= */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 -3px 24px rgba(29,37,86,0.12);
  border-top: 1px solid rgba(29,37,86,0.08);
  z-index: 800;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  align-items: stretch;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-cta-bar.visible {
  transform: translateY(0);
}
.mobile-cta-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 12px;
  background: var(--off-white);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-h);
  font-size: 0.68rem;
  font-weight: 600;
  transition: background var(--t), transform var(--t);
}
.mobile-cta-bar__btn:hover { background: rgba(29,37,86,0.08); transform: translateY(-1px); }
.mobile-cta-bar__btn--wa { background: #dcfce7; color: #15803d; }
.mobile-cta-bar__btn--wa:hover { background: #bbf7d0; }
.mobile-cta-bar__btn--book { background: rgba(21,205,141,0.10); color: var(--navy); }
.mobile-cta-bar__btn--book:hover { background: rgba(21,205,141,0.20); }
@media (max-width: 767px) {
  .mobile-cta-bar { display: flex; }
}

/* === Lead capture popup =================================== */
.lead-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lead-popup.active { display: flex; }
.lead-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,20,50,0.70);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lead-popup__card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 24px;
  padding: 44px 40px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(15,20,50,0.28);
  animation: popupSlideIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes popupSlideIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.lead-popup__close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(29,37,86,0.07);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.lead-popup__close:hover { background: rgba(29,37,86,0.14); }
.lead-popup__icon { font-size: 2.4rem; margin-bottom: 12px; }
.lead-popup__title {
  font-family: var(--font-h);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.lead-popup__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.lead-popup__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.lead-popup__input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(29,37,86,0.15);
  border-radius: 12px;
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--t);
  box-sizing: border-box;
}
.lead-popup__input:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.lead-popup__form .btn {
  width: 100%;
  justify-content: center;
}
.lead-popup__small {
  font-size: 0.72rem;
  color: rgba(29,37,86,0.38);
  line-height: 1.5;
}
@media (max-width: 480px) {
  .lead-popup__card { padding: 36px 24px 28px; }
  .lead-popup__title { font-size: 1.3rem; }
}

/* === External Link Disclaimer Popup ========================== */
.ext-link-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 26, 62, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ext-link-overlay.show {
  opacity: 1;
  visibility: visible;
}
.ext-link-popup {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(20, 26, 62, 0.35);
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ext-link-overlay.show .ext-link-popup {
  transform: translateY(0) scale(1);
}
.ext-link-popup__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
}
.ext-link-popup__title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.ext-link-popup__text {
  font-family: var(--font-b);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.ext-link-popup__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.ext-link-popup__btn {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.ext-link-popup__btn:hover {
  transform: translateY(-1px);
}
.ext-link-popup__btn--ok {
  background: var(--green);
  color: var(--white);
}
.ext-link-popup__btn--ok:hover {
  background: var(--green-dark);
}
.ext-link-popup__btn--cancel {
  background: var(--off-white);
  color: var(--navy);
}
.ext-link-popup__btn--cancel:hover {
  background: var(--grey-200);
}
@media (max-width: 480px) {
  .ext-link-popup { padding: 28px 20px 22px; }
  .ext-link-popup__actions { flex-direction: column; }
  .ext-link-popup__btn { width: 100%; }
}
