/* ============================================
   My Claim Buddy - Standalone Stylesheet
   ============================================ */
   
   .video-hero {
  position: relative;
  overflow: hidden;
  background: #0F172B; /* fallback while video loads */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 43, 0.55);
  z-index: 1;
}

.video-hero .hero-inner,
.video-hero #trust-strip {
  position: relative;
  z-index: 2;
}

#trust-strip {
  text-align: center;
  margin-top: 2rem; /* adjust to taste */
}

.trust-inner {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* align vertically */
  gap: 2rem;                 /* space between logos */
  flex-wrap: wrap;           /* allows wrapping on mobile */
}

#trust-strip .hero-title {
  font-size: 1rem;
  margin: 0;
  line-height: 1.2;
  font-weight: 500;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  flex: 0 0 auto;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.red-shimmer-principle {
  display: inline-block;
  line-height: 1.05;
  margin-top: 4px;
  padding-right: 0.08em;
  overflow: visible;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--red-light) 40%,
    var(--red-shine) 50%,
    var(--red-light) 60%,
    var(--red) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: red-text-shimmer 4s linear infinite;
}

@keyframes red-text-shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

:root {
  --color-dark-bg: #0F172B;
  --color-body-bg: #FBFCFD;
  --color-stats-bg: #F8FAFC;
  --color-primary-text: #0F172B;
  --color-muted-text: #64748B;
  --color-lighter-muted: #94A3B8;
  --color-border: #E2E8F0;
  --color-orange: #F97316;
  --color-blue: #2563EB;
  --red: #b91c1c;
  --red-light: #f87171;
  --red-shine: #fee2e2;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-primary-text);
  background: var(--color-body-bg);
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(15, 23, 43, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(15, 23, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 23, 43, 0); }
}

.scroll-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-shimmer {
  background: linear-gradient(-45deg, #0F172B 40%, #1e293b 50%, #0F172B 60%);
  background-size: 250% 250%;
  animation: shimmer 10s ease infinite;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
}

.step-pulse {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.glow-btn {
  box-shadow: 0 10px 15px -3px rgba(249,115,22,0.3), 0 4px 6px -4px rgba(249,115,22,0.3);
  transition: all 0.3s ease;
}

.glow-btn:hover {
  box-shadow: 0 15px 25px -3px rgba(249,115,22,0.5), 0 8px 10px -4px rgba(249,115,22,0.4);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

/* ============ HEADER ============ */
.header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo-link { display: inline-flex; transition: transform 0.2s; }
.logo-link:hover { transform: scale(1.05); }
.logo { height: 58px; }

.nav { display: none; gap: 2rem; font-weight: 500; color: var(--color-muted-text); }
@media (min-width: 768px) { .nav { display: flex; } }

.nav-link { color: inherit; text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--color-primary-text); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.2s;
  line-height: 1;
}

.btn-header {
  font-size: 1rem;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
}

.btn-dark {
  background: var(--color-dark-bg);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(15,23,43,0.2);
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--color-dark-bg);
}

.btn-outline-dark {
  background: #fff;
  color: var(--color-dark-bg);
  border: 2px solid var(--color-dark-bg);
}
.btn-outline-dark:hover { background: var(--color-stats-bg); transform: translateY(-2px); }

.btn-outline-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.2); }

.btn-blue {
  background: var(--color-blue);
  color: #fff;
  width: 100%;
  box-shadow: 0 10px 20px -10px rgba(37,99,235,0.5);
}
.btn-blue:hover { background: #1d4ed8; transform: translateY(-2px); }

/* ============ HERO ============ */
.hero {
  color: #fff;
  padding: 3.5rem 1rem 6rem; /* top | sides | bottom */
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .hero { padding: 3.5rem 1rem 6rem; /* top | sides | bottom */ } }

.hero-inner { text-align: center; max-width: 800px; margin: 0 auto; position: relative; z-index: 10; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-lighter-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(148,163,184,0.3);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(15,23,43,0.5);
  backdrop-filter: blur(4px);
}

.hero-title {
  max-width: 22ch; /* controls line length */
  margin-left: auto;
  margin-right: auto;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }

@media (min-width: 1024px) {
  .hero-title {
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
  }
}

.hero-subtitle {
  max-width: 32ch;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.5rem; } }

.hero-ctas { display: flex; justify-content: center; margin-bottom: 1.5rem; margin-top: 1.5rem; }
.hero-ctas .btn { width: 100%; }
@media (min-width: 640px) { .hero-ctas .btn { width: auto; } }

.hero-switch { font-size: 0.9375rem; color: #fff; }
.hero-switch a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(148,163,184,0.5);
  font-weight: 500;
  transition: all 0.2s;
}
.hero-switch a:hover { color: #fff; text-decoration-color: #fff; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-lighter-muted);
}
@media (min-width: 640px) { .hero-badges { gap: 2rem; } }

.badge-item { display: flex; align-items: center; gap: 0.5rem; }
.badge-check { color: var(--color-orange); font-weight: bold; }

/* ============ STATS ============ */
.stats-section {
  background: var(--color-stats-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(220px, 320px));
    justify-content: center;
    gap: 2rem;
  }

  .stat {
    padding: 0 1rem;
  }
}

.stat {
  text-align: center;
}
.stat-number { font-size: 3rem; font-weight: 800; color: var(--color-primary-text); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.stat-label { font-size: 1.0625rem; font-weight: 700; color: var(--color-primary-text); }
.stat-sub { font-size: 0.875rem; font-weight: 500; color: var(--color-muted-text); margin-top: 0.25rem; }

/* ============ SECTIONS ============ */
.section { padding: 5rem 1rem; }
@media (min-width: 640px) { .section { padding: 7rem 1.5rem; } }

.bg-gray { background: var(--color-stats-bg); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.section-title { font-size: 1.875rem; font-weight: 800; color: var(--color-primary-text); margin-bottom: 1rem; letter-spacing: -0.02em; }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }

.section-sub { font-size: 1.25rem; color: var(--color-muted-text); margin-bottom: 3rem; }

/* ============ QUALIFY GRID ============ */
.qualify-grid { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .qualify-grid { grid-template-columns: repeat(3, 1fr); } }

.qualify-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qualify-icon {
  width: 3rem;
  height: 3rem;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.qualify-card p { font-size: 1.0625rem; font-weight: 600; color: var(--color-primary-text); line-height: 1.4; }

/* ============ PLANS ============ */
.plans-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
  justify-content: center;
  align-items: stretch; /* add this */
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(280px, 380px));
    align-items: stretch; /* add this */
  }
}

@media (min-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch; /* add this */
  }
}

.plan-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%; /* add this */
}

.plan-featured {
  background: var(--color-dark-bg);
  color: #fff;
  border: 2px solid var(--color-orange);
  position: relative;
  transform: none; /* add this */
}

@media (min-width: 1024px) {
  .plan-featured {
    transform: none; /* replace the old translateY */
  }

  .plan-featured:hover {
    transform: translateY(-4px); /* optional, keeps hover effect subtle and even */
  }
}
.plan-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-orange);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.plan-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--color-primary-text); }
.plan-featured .plan-name { color: #fff; }

.plan-price { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--color-primary-text); }
.plan-featured .plan-price { color: #fff; }
.plan-price-sub { font-size: 1.125rem; font-weight: 500; color: var(--color-muted-text); }
.plan-featured .plan-price-sub { color: var(--color-lighter-muted); }

.plan-features {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-feature,
.plan-feature-sub {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.plan-feature {
  font-weight: 600;
  color: var(--color-primary-text);
}

.plan-feature-sub {
  color: var(--color-muted-text);
}

.plan-featured .plan-feature {
  color: #fff;
}

.plan-featured .plan-feature-sub {
  color: var(--color-lighter-muted);
}

.plan-best {
  background: var(--color-stats-bg);
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted-text);
}
.plan-featured .plan-best {
  background: rgba(255,255,255,0.1);
  color: #e2e8f0;
}
.plan-best strong { color: var(--color-primary-text); font-weight: 700; }
.plan-featured .plan-best strong { color: #fff; }

/* ============ FEATURES ============ */
.features-grid { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
}

.feature-card h3 { font-size: 1.125rem; font-weight: 800; color: var(--color-primary-text); margin-bottom: 0.75rem; }
.feature-card p { font-size: 1rem; color: var(--color-muted-text); }

.notice-box {
  background: rgba(254, 243, 199, 0.5);
  border: 1px solid #fde68a;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  color: #78350f;
}
.notice-icon { background: #fef3c7; padding: 0.5rem; border-radius: 50%; color: #d97706; flex-shrink: 0; }
.notice-box strong { font-weight: 700; }

/* ============ STEPS ============ */
.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.steps::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 1.25rem;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
}
@media (min-width: 768px) {
  .steps::before { left: 50%; transform: translateX(-50%); }
}

.step { display: flex; align-items: center; position: relative; gap: 1.5rem; }
@media (min-width: 768px) {
  .step { justify-content: space-between; }
  .step:nth-child(odd) { flex-direction: row-reverse; }
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-dark-bg);
  color: #fff;
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
  .step-num { position: absolute; left: 50%; transform: translateX(-50%); }
}

.step-content {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
  flex-grow: 1;
}
@media (min-width: 768px) { .step-content { width: calc(50% - 2.5rem); flex-grow: 0; } }

.step-content h3 { font-size: 1.125rem; font-weight: 800; color: var(--color-primary-text); margin-bottom: 0.25rem; }
.step-content p { font-size: 1rem; color: var(--color-muted-text); }

.success-box {
  margin: 4rem auto 3rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  max-width: 500px;
}
.success-icon {
  width: 3rem; height: 3rem; background: #dcfce7; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #16a34a;
  margin: 0 auto 1rem; font-size: 1.25rem;
}
.success-label { font-size: 1.5rem; font-weight: 800; color: #166534; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.success-box p { font-size: 1.0625rem; font-weight: 500; color: #15803d; }

/* ============ FIT SECTION ============ */
.fit-section { background: var(--color-dark-bg); color: #fff; }

.fit-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .fit-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.fit-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.fit-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.fit-icon { width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.fit-icon.green { background: rgba(34,197,94,0.2); color: #4ade80; }
.fit-icon.red { background: rgba(239,68,68,0.2); color: #f87171; }

.fit-heading { font-size: 1.25rem; font-weight: 800; }

.fit-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; font-size: 1.0625rem; color: #e2e8f0; }
.fit-list li { display: flex; align-items: flex-start; gap: 1rem; line-height: 1.4; }
.fit-yes li::before { content: '✓'; color: #4ade80; font-weight: bold; }
.fit-no li::before { content: '✗'; color: #f87171; font-weight: bold; }

/* ============ FAQ ============ */
.faq-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
}
@media (min-width: 640px) { .faq-box { padding: 2.5rem; } }

.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0.5rem;
  margin: 0 -0.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-text);
  cursor: pointer;
  gap: 1rem;
  font-family: inherit;
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(0,0,0,0.02); }

.faq-arrow {
  color: var(--color-muted-text);
  flex-shrink: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}
.faq-item.open .faq-a-wrapper { grid-template-rows: 1fr; }

.faq-a-inner { overflow: hidden; }

.faq-a {
  padding: 0.5rem 0.5rem 1.5rem;
  font-size: 1rem;
  color: var(--color-muted-text);
}

/* ============ FOOTER ============ */
.footer-main {
  background: #0F172B;
  color: #fff;
  padding: 4rem 1rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer-brand {}
.footer-logo { height: 36px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-tagline { color: #94A3B8; font-size: 0.875rem; line-height: 1.6; }
.footer-col {}
.footer-col-heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  margin: 0 0 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: #94A3B8; text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-copy { color: #475569; font-size: 0.875rem; margin: 0; }
.footer-legal { color: #334155; font-size: 0.75rem; line-height: 1.6; margin: 0; max-width: 36rem; }

/* ============ START PAGE ============ */
.start-page { background: var(--color-body-bg); min-height: 100vh; }

.start-header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.start-main { padding: 4rem 1rem; position: relative; overflow: hidden; }
@media (min-width: 640px) { .start-main { padding: 6rem 1rem; } }

.start-bg-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  height: 500px;
  background: rgba(37,99,235,0.05);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.start-container { max-width: 576px; margin: 0 auto; }

.start-title-box { text-align: center; margin-bottom: 3rem; }
.start-title { font-size: 2.25rem; font-weight: 800; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.02em; color: var(--color-primary-text); }
@media (min-width: 640px) { .start-title { font-size: 3rem; } }
.text-blue { color: var(--color-blue); }
.start-sub { font-size: 1.25rem; color: var(--color-muted-text); }

.start-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(30,58,138,0.05), 0 8px 10px -6px rgba(30,58,138,0.01);
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .start-card { padding: 2.5rem; } }

.start-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, #60a5fa, var(--color-blue));
}

.start-card-heading { font-size: 1.25rem; font-weight: 800; text-align: center; color: var(--color-primary-text); margin-bottom: 2rem; }

/* Slider */
.slider-container { margin-bottom: 2.5rem; }
.slider-display { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1rem; }
.slider-min, .slider-max { font-size: 1.125rem; font-weight: 700; color: var(--color-muted-text); }
.slider-value { font-size: 3rem; font-weight: 800; color: var(--color-blue); line-height: 1; letter-spacing: -0.05em; }

.slider-track { position: relative; padding-top: 0.5rem; }
.slider {
  width: 100%;
  height: 0.75rem;
  background: var(--color-border);
  border-radius: 9999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-blue);
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
  transition: transform 0.1s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.1); }

/* Saving box */
.saving-box {
  background: rgba(239,246,255,0.5);
  border: 1px solid #dbeafe;
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.saving-label { font-size: 1rem; font-weight: 700; color: #1d4ed8; margin-bottom: 0.5rem; }
.saving-amount { font-size: 3rem; font-weight: 800; color: var(--color-blue); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.saving-sub {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(37,99,235,0.8);
  background: rgba(219,234,254,0.5);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.start-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-text);
  margin-top: 1rem;
}
.legal-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-lighter-muted); }

/* Trust badges */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.trust-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.25rem;
}
.trust-green { background: #f0fdf4; color: #16a34a; }
.trust-blue { background: #eff6ff; color: #2563eb; }
.trust-orange { background: #fff7ed; color: #f97316; }

.trust-title { font-size: 0.9375rem; font-weight: 800; color: var(--color-primary-text); margin-bottom: 0.25rem; }
.trust-desc { font-size: 0.8125rem; color: var(--color-muted-text); line-height: 1.4; }

/* ============ PROGRESS BAR ============ */
.progress-bar-wrapper {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1rem;
}
.progress-steps {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}
.progress-step { display: flex; flex-direction: column; align-items: center; }
.progress-connector {
  height: 2px;
  flex: 1;
  background: var(--color-border);
  border-radius: 9999px;
  margin: 1.1rem 0.5rem 0;
  transition: background 0.3s;
}
.progress-connector-done { background: #2563eb; }

.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700;
  transition: all 0.2s;
}
.step-done { background: #2563eb; color: #fff; }
.step-active { background: #0F172B; color: #fff; box-shadow: 0 0 0 4px rgba(15,23,43,0.1); }
.step-pending { background: #F1F5F9; color: #94A3B8; }

.step-label { font-size: 0.7rem; font-weight: 600; margin-top: 0.4rem; }
.step-label-done { color: #2563eb; }
.step-label-active { color: #0F172B; }
.step-label-pending { color: #94A3B8; }

/* ============ LENDERS PAGE ============ */
.lenders-main { padding: 2.5rem 1rem; }
@media (min-width: 640px) { .lenders-main { padding: 4rem 1rem; } }
.lenders-container { max-width: 40rem; margin: 0 auto; }
.lenders-title-box { text-align: center; margin-bottom: 2rem; }
.lenders-title { font-size: 1.875rem; font-weight: 800; color: #0F172B; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
@media (min-width: 640px) { .lenders-title { font-size: 2.25rem; } }
.lenders-sub { font-size: 1.0625rem; color: var(--color-muted-text); line-height: 1.6; }

.lenders-search-wrap { position: relative; margin-bottom: 1.25rem; }
.lenders-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: #94A3B8; }
.lenders-search-input {
  width: 100%; padding: 0.875rem 1rem 0.875rem 2.75rem;
  background: #fff; border: 2px solid var(--color-border);
  border-radius: 0.75rem; font-size: 0.9375rem; color: #0F172B;
  font-family: inherit; outline: none; box-sizing: border-box;
  transition: border-color 0.15s;
}
.lenders-search-input:focus { border-color: #2563eb; }
.lenders-search-input::placeholder { color: #94A3B8; }

.lenders-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; min-height: 0; }
.lender-chip {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: rgba(37,99,235,0.1); color: #2563eb;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  border: none; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.lender-chip:hover { background: rgba(37,99,235,0.18); }

.lenders-list-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 1.5rem;
}
.lenders-list { list-style: none; padding: 0; margin: 0; }
.lenders-list li { border-bottom: 1px solid #F1F5F9; }
.lenders-list li:last-child { border-bottom: none; }
.lender-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; background: #fff; border: none; cursor: pointer;
  font-family: inherit; text-align: left; transition: background 0.1s;
}
.lender-item:hover { background: #F8FAFC; }
.lender-item-selected { background: #EFF6FF; }
.lender-item-selected:hover { background: #DBEAFE; }
.lender-name { font-size: 0.9375rem; font-weight: 500; color: #0F172B; }
.lender-name-selected { color: #1D4ED8; }
.lender-checkbox {
  width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0;
  border: 2px solid #CBD5E1; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.lender-checkbox-checked { background: #2563eb; border-color: #2563eb; }
.lenders-no-results { padding: 3rem; text-align: center; color: #94A3B8; font-size: 0.875rem; }
.lenders-hint { text-align: center; font-size: 1.0rem; color: #94A3B8; margin-top: 1rem; }

/* ============ REVIEW PAGE ============ */
.review-card {
  background: #fff; border: 2px solid #2563eb;
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(37,99,235,0.08);
  margin-bottom: 1.5rem;
}
.review-card-header {
  background: #2563eb; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.review-card-label { color: rgba(255,255,255,0.75); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.review-card-title { color: #fff; font-size: 1.125rem; font-weight: 800; }
.review-card-price-block { text-align: right; }
.review-card-price { color: #fff; font-size: 1.875rem; font-weight: 800; line-height: 1; }
.review-card-price-note { color: rgba(255,255,255,0.65); font-size: 0.75rem; }
.review-card-body { padding: 1.25rem 1.5rem; }
.review-included-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.review-included-item { display: flex; align-items: flex-start; gap: 0.875rem; }
.review-icon-wrap {
  width: 36px; height: 36px; flex-shrink: 0;
  background: #EFF6FF; color: #2563eb;
  border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center;
}
.review-item-title { font-size: 0.9375rem; font-weight: 700; color: #0F172B; margin-bottom: 0.125rem; }
.review-item-desc { font-size: 0.8125rem; color: #64748B; }

.review-comparison {
  background: #F8FAFC; border: 1px solid var(--color-border);
  border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.review-comparison-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #94A3B8; margin-bottom: 0.75rem; }
.review-comparison-row { display: flex; align-items: center; justify-content: space-between; }
.review-comparison-col { text-align: center; }
.review-comparison-value { font-size: 1.5rem; font-weight: 800; color: #0F172B; }
.review-comparison-strikethrough { text-decoration: line-through; color: #94A3B8; }
.review-comparison-green { color: #16A34A; }
.review-comparison-note { font-size: 0.75rem; color: #64748B; margin-top: 0.25rem; line-height: 1.4; }
.review-comparison-vs { color: #94A3B8; font-size: 0.875rem; font-weight: 500; }

.review-trust-badges { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.trust-badge { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: #94A3B8; }

/* ============ CONTINUE PAGE ============ */
.continue-container { max-width: 28rem; margin: 0 auto; }
.continue-signin-text { font-size: 0.9375rem; color: #64748B; }
.continue-signin-link { color: #2563eb; font-weight: 600; text-decoration: none; }
.continue-signin-link:hover { text-decoration: underline; }

.continue-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.875rem; font-weight: 600; color: #0F172B; }
.form-input {
  width: 100%; padding: 0.875rem 1rem;
  background: #fff; border: 2px solid var(--color-border);
  border-radius: 0.75rem; font-size: 0.9375rem; color: #0F172B;
  font-family: inherit; outline: none; box-sizing: border-box;
  transition: border-color 0.15s;
}
.form-input:focus { border-color: #2563eb; }
.form-input::placeholder { color: #94A3B8; }
.form-error { font-size: 0.75rem; color: #EF4444; }

.password-wrap { position: relative; }
.password-wrap .form-input { padding-right: 3rem; }
.password-toggle {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #94A3B8;
  transition: color 0.15s; padding: 0;
}
.password-toggle:hover { color: #64748B; }

.terms-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.terms-checkbox {
  width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0;
  border: 2px solid #CBD5E1; display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem; transition: all 0.15s; cursor: pointer;
}
.terms-checkbox-checked { background: #2563eb; border-color: #2563eb; }
.terms-text { font-size: 0.875rem; color: #64748B; line-height: 1.6; }
.text-blue-link { color: #2563eb; font-weight: 500; }
.text-blue-link:hover { text-decoration: underline; }

.success-icon-wrap {
  width: 5rem; height: 5rem; background: #DCFCE7; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.success-steps-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 1rem; padding: 1.25rem; text-align: left;
}
.success-steps-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #64748B; margin-bottom: 0.75rem; }
.success-steps-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.success-step-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; color: #0F172B; }
.success-step-num {
  width: 24px; height: 24px; background: #2563eb; color: #fff;
  font-size: 0.75rem; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem;
}

/* shared btn additions */
.btn-full { width: 100%; display: block; box-sizing: border-box; font-size: 1.0625rem; font-weight: 700; padding: 1rem; border-radius: 1rem; cursor: pointer; border: none; font-family: inherit; transition: all 0.15s; }
.btn-blue { background: #2563eb; color: #fff; box-shadow: 0 10px 15px -3px rgba(37,99,235,0.2); }
.btn-blue:hover:not(:disabled) { background: #1D4ED8; transform: translateY(-2px); }
.btn-disabled { background: #E2E8F0 !important; color: #94A3B8 !important; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; }

/* ============ REVIEW PAGE v2 ============ */
.review-body { background: #F0F4F8; padding-bottom: 7rem; }

/* Inline progress (label beside circle) */
.progress-steps-inline {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-step-inline { display: flex; align-items: center; gap: 0.5rem; }
.step-label-inline { font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.step-done-green { background: #16A34A; color: #fff; }
.step-label-green { color: #16A34A; }
.progress-connector-green { background: #16A34A; }

/* Review containers */
.review2-container { max-width: 40rem; margin: 0 auto; }
.review2-title-box { text-align: center; margin-bottom: 2rem; }
.review2-title { font-size: 1.75rem; font-weight: 800; color: #0F172B; margin-bottom: 0.75rem; letter-spacing: -0.02em; line-height: 1.2; }
@media (min-width: 640px) { .review2-title { font-size: 2.25rem; } }
.review2-sub { font-size: 1rem; color: #64748B; line-height: 1.6; }

/* Lenders card */
.review2-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.review2-card-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #F1F5F9; }
.review2-card-heading { font-size: 0.9375rem; font-weight: 700; color: #0F172B; }
.review2-edit-btn { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; font-weight: 600; color: #64748B; text-decoration: none; transition: color 0.15s; }
.review2-edit-btn:hover { color: #0F172B; }
.review2-lender-list { padding: 0.75rem 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.review2-lender-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.375rem 0; }
.review2-lender-check { width: 22px; height: 22px; border-radius: 50%; background: #16A34A; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.review2-lender-pill { flex: 1; background: #F0FDF4; border-radius: 0.5rem; padding: 0.375rem 0.75rem; font-size: 0.9375rem; font-weight: 500; color: #0F172B; }

/* DCA card */
.review2-dca-card { background: #EEF2FF; border: 1px solid #C7D2FE; border-radius: 1rem; padding: 1.25rem; display: flex; align-items: flex-start; gap: 1rem; }
.review2-dca-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.6); border-radius: 0.625rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.review2-dca-title { font-size: 0.9375rem; font-weight: 700; color: #1E1B4B; margin-bottom: 0.375rem; }
.review2-dca-body { font-size: 0.8125rem; color: #4338CA; line-height: 1.6; }

/* Refunds bar */
.review2-refunds-bar { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 1rem; padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem; }
.review2-refunds-title { font-size: 0.875rem; font-weight: 700; color: #15803D; margin-bottom: 0.25rem; }
.review2-refunds-body { font-size: 0.8125rem; color: #166534; line-height: 1.6; }

/* Sticky bottom */
.review2-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #E2E8F0;
  padding: 1rem;
  z-index: 100;
}
.review2-sticky-inner { max-width: 40rem; margin: 0 auto; display: flex; align-items: center; gap: 0.75rem; }
.review2-back-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.25rem; border-radius: 0.75rem;
  border: 2px solid #E2E8F0; color: #0F172B;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  white-space: nowrap; transition: all 0.15s;
}
.review2-back-btn:hover { background: #F8FAFC; border-color: #CBD5E1; }
.review2-continue-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: #0F172B; color: #fff; font-weight: 700; font-size: 1.0625rem;
  padding: 0.875rem 1.5rem; border-radius: 0.75rem; text-decoration: none;
  transition: all 0.15s;
}
.review2-continue-btn:hover { background: #000; }

/* ============ CONTINUE PAGE v2 ============ */
.hidden-mobile { display: inline; }
@media (max-width: 480px) { .hidden-mobile { display: none; } }

.continue2-card {
  background: #fff; border: 1px solid #E2E8F0;
  border-radius: 1rem; padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.continue2-card-header { margin-bottom: 1.25rem; }
.continue2-card-title { font-size: 1rem; font-weight: 700; color: #0F172B; margin-bottom: 0.25rem; }
.continue2-card-sub { font-size: 0.8125rem; color: #64748B; }
.continue2-form { display: flex; flex-direction: column; gap: 1rem; }

.continue2-trust-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.625rem; }
.continue2-trust-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; color: #374151; }

.continue2-back-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; font-weight: 600; color: #0F172B;
  text-decoration: none; transition: color 0.15s;
}
.continue2-back-link:hover { color: #2563eb; }

.btn-blue {
  background-color: #0053b3;
  color: #fff;
}

.btn-blue:hover {
  background-color: #004099;
}

.cim-footer {
  background: #0F172B;
  color: #fff;
  padding: 4.5rem 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cim-footer__wrap {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .cim-footer__wrap {
    padding: 0 1.5rem;
  }
}

.cim-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .cim-footer__top {
    grid-template-columns: 1.5fr 1fr 0.8fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }
}

.cim-footer__brand {
  max-width: 430px;
}

.cim-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
}

.cim-footer__logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.cim-footer__tagline {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.cim-footer__social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cim-footer__socialLink {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: all 0.2s ease;
}

.cim-footer__socialLink:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.cim-footer__column {
  min-width: 0;
}

.cim-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
  margin: 0 0 1rem;
}

.cim-footer__nav,
.cim-footer__contactList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cim-footer__link {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.15s ease;
}

.cim-footer__link:hover {
  color: #fff;
}

.cim-footer__meta {
  color: #94A3B8;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0.25rem 0 0;
}

.cim-footer__address {
  margin-top: 1.25rem;
}

.cim-footer__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.65rem;
}

.cim-footer__address p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
}

.cim-footer__disclaimer {
  padding-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
  max-width: 72rem;
}

.cim-footer__disclaimer p {
  margin: 0;
  color: #64748B;
  font-size: 0.78rem;
  line-height: 1.75;
}

.cim-footer__disclaimer strong {
  color: #CBD5E1;
  font-weight: 700;
}

.cim-footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cim-footer__copy {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
}

:root {
  --gold: #c58a16;
  --gold-light: #f7d774;
  --gold-shine: #fff3bf;
}

.hero-subtitle {
  max-width: 700px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.badge-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-check svg {
  width: 40px;
  height: 60px;
  fill: none;
}

.fit-icon {
  min-width: 3rem;
  min-height: 3rem;
  flex-shrink: 0;
  line-height: 1;
}

.fit-heading {
  min-width: 0;
}

.gold-shimmer-principle {
  display: inline-block;
  line-height: 1.05;
  margin-top: 4px;
  padding-right: 0.08em;
  overflow: visible;
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-light) 40%,
    var(--gold-shine) 50%,
    var(--gold-light) 60%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gold-text-shimmer 4s linear infinite;
}

@keyframes gold-text-shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.5rem;
}

.lenders-list-scroll {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.lenders-list-scroll::-webkit-scrollbar {
  width: 10px;
}

.lenders-list-scroll::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 999px;
}

.lenders-list-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.lenders-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@media (max-width: 640px) {
  .hero-badges .badge-item {
    align-items: flex-start;
  }

  .hero-badges .badge-check {
    position: relative;
    top: -15px;
  }

  .badge-check svg {
    transform: scale(2) translate(18%, 12%);
    transform-origin: center;
  }

}

.center-container {
  margin: 20px auto 0; /* top | horizontal | bottom */
  text-align: center;
}

/* ============ IMPERIAL STATS ============ */
.stats-section-imperial {
  position: relative;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #dbe2ea;
  padding: 5.5rem 1rem;
  overflow: hidden;
}

.stats-section-imperial::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 0%, rgba(15,23,43,0.03) 50%, transparent 100%);
  pointer-events: none;
}

.stats-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.stats-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  border: 1px solid #d7dde5;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  color: #0f172b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stats-title {
  margin: 0 0 0.8rem;
  color: #0f172b;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.05;
}

.stats-intro {
  max-width: 620px;
  margin: 0 auto;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.stats-grid-enhanced {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .stats-grid-enhanced {
    grid-template-columns: repeat(2, minmax(300px, 420px));
    justify-content: center;
    gap: 1.75rem;
  }
}

.stat-card-imperial {
  position: relative;
  background: rgba(255,255,255,0.96);
  border: 1px solid #d9e0e8;
  border-radius: 1.35rem;
  padding: 2rem 1.75rem 1.8rem;
  text-align: center;
  box-shadow:
    0 12px 30px rgba(15,23,43,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card-imperial:hover {
  transform: translateY(-4px);
  border-color: #bcc8d6;
  box-shadow:
    0 18px 40px rgba(15,23,43,0.1),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.stat-topline {
  width: 64px;
  height: 2px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(90deg, transparent, #0f172b, transparent);
  opacity: 0.9;
}

.stat-kicker {
  margin-bottom: 0.9rem;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.stat-number {
  margin-bottom: 0.8rem;
  color: #ffffff;
  background: #0f172b;
  border: 1px solid #1e293b;
  border-radius: 1rem;
  display: inline-block;
  padding: 0.85rem 1.25rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    0 8px 18px rgba(15,23,43,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.stat-number-date {
  font-size: 2.35rem;
  letter-spacing: 0.12em;
}

.stat-label {
  margin-bottom: 0.35rem;
  color: #0f172b;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-sub {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .stats-section-imperial {
    padding: 4.25rem 1rem;
  }

  .stats-title {
    font-size: 1.7rem;
    letter-spacing: 0.12em;
  }

  .stats-intro {
    font-size: 0.95rem;
  }

  .stat-card-imperial {
    padding: 1.6rem 1.2rem 1.5rem;
  }

  .stat-number {
    font-size: 2.2rem;
    padding: 0.8rem 1rem;
  }

  .stat-number-date {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}

/* TRUST STRIP SCROLL */
#trust-strip {
  overflow: hidden;
  padding: 2rem 0;
}

.trust-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.trust-track {
  display: flex;
  gap: 4rem;
  width: max-content;
animation: scrollTrust 60s linear infinite;
    
}

.trust-marquee:hover .trust-track {
  animation-play-state: paused;
}

/* MOBILE: FORCE EXACTLY 2 ROWS */
@media (max-width: 768px) {

  .trust-track {
    display: grid;
    grid-auto-flow: column; /* keeps horizontal scroll */
    grid-template-rows: repeat(2, auto); /* EXACTLY 2 rows */
    gap: 1rem 2rem;
    animation: scrollTrustMobile 30s linear infinite;
    width: max-content;
  }

  .trust-track a {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .trust-track img {
    height: 50px;
  }
}

/* mobile animation */
@keyframes scrollTrustMobile {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* LOGOS — 40% BIGGER */
.trust-track img {
  height: 56px; /* was ~40px → now ~40% bigger */
  filter: brightness(0) invert(1) opacity(0.6);
  transition: opacity 0.3s ease;
}

.trust-track img:hover {
  opacity: 1;
}

/* SCROLL ANIMATION */
@keyframes scrollTrust {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============ HERO / TOP TEXT FONT TWEAKS ============ */
.hero-eyebrow,
.hero-subtitle,
.hero-switch,
.hero-switch a,
.hero-badges,
.badge-item,
#trust-strip .hero-title,
.gold-shimmerAsSeenOn {
  font-family: Calibri, Candara, "Segoe UI", Optima, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Slightly bigger + smoother subtitle */
.hero-subtitle {
  font-size: 1.35rem;
  line-height: 1.7;
  font-weight: 400;
  max-width: 760px;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.65rem;
  }
}

/* Slightly bigger "Already using a solicitor..." line */
.hero-switch {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  margin-top: 0.5rem;
}

.hero-switch a {
  font-size: 1.08rem;
  font-weight: 500;
}

/* Slightly bigger "As Seen On" */
#trust-strip .hero-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Slightly bigger badges */
.hero-badges {
  font-size: 1.05rem;
  line-height: 1.5;
}

.badge-item {
  font-weight: 500;
}

/* =========================
   HERO FONT UPGRADE (SMOOTH + BIGGER)
   ========================= */

.hero-eyebrow,
.hero-subtitle,
.hero-switch,
.hero-switch a,
.hero-badges,
.badge-item,
#trust-strip .hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* MAIN SUBTITLE */
.hero-subtitle {
  font-size: 1.55rem;
  line-height: 1.75;
  font-weight: 400;
  max-width: 780px;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.85rem;
  }
}

/* SWITCH TEXT (Already using...) */
.hero-switch {
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 400;
  margin-top: 0.75rem;
}

.hero-switch a {
  font-size: 1.15rem;
  font-weight: 500;
}

/* "AS SEEN ON" */
#trust-strip .hero-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* BADGES */
.hero-badges {
  font-size: 1.15rem;
  gap: 2rem;
}

.badge-item {
  font-weight: 500;
}

/* =========================
   HERO TEXT — VIDEO OPTIMISED
   ========================= */

.hero-eyebrow,
.hero-subtitle,
.hero-switch,
.hero-switch a,
.hero-badges,
.badge-item,
#trust-strip .hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: rgba(255,255,255,0.92);
  
  /* KEY: improves readability on moving video */
  text-shadow:
    0 2px 8px rgba(0,0,0,0.6),
    0 1px 2px rgba(0,0,0,0.8);
}

/* SUBTITLE (main sentence) */
.hero-subtitle {
  font-size: 1.6rem;
  line-height: 1.75;
  font-weight: 500; /* slightly heavier for video */
  max-width: 780px;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.95rem;
  }
}

/* "Already using..." */
.hero-switch {
  font-size: 1.2rem;
  line-height: 1.85;
  font-weight: 500;
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.85);
}

.hero-switch a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

/* "AS SEEN ON" */
#trust-strip .hero-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
}

/* BADGES */
.hero-badges {
  font-size: 1.15rem;
  gap: 2rem;
  color: rgba(255,255,255,0.85);
}

.badge-item {
  font-weight: 500;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 43, 0.12);
  color: #0F172B;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.badge-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.hero-badges,
.hero-badges * {
  text-shadow: none !important;
  color: #0F172B !important;
}

.badge-check {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-3px); /* adjust this value as needed */
}

@media (max-width: 640px) {
  .hero-title,
  .hero-subtitle {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
  }
}

.hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin-top: 1.8rem;

  font-weight: 800; /* or 900 if you want extra punch */
  letter-spacing: -0.03em;
  line-height: 1.05;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;

  margin-bottom: 1.5rem;
}