/* =========================================================
   Brigit App Cash Advance — style.css (v5 green redesign)
   ========================================================= */

:root {
  /* legacy token names kept so every subpage restyles in one place */
  --indigo-900: #165C40;   /* deep green: footer, table heads, dark bands */
  --indigo-800: #1B6E4C;
  --indigo-700: #21865C;   /* brand green */
  --indigo-100: #D3EEDF;
  --indigo-50:  #EEF7F2;
  --emerald-600: #1C7A53;
  --emerald-500: #21865C;
  --emerald-100: #DDF3E7;
  --amber-500: #F5B400;
  --amber-100: #FFF5D6;
  --ink: #2F3133;          /* headings + body ink */
  --slate-900: #2F3133;
  --slate-700: #45484B;
  --slate-600: #66696D;
  --slate-500: #85888C;
  --slate-400: #A9ACAF;
  --slate-300: #C9CBCD;
  --slate-200: #E4E5E6;
  --slate-100: #F3F3F3;
  --bg: #FFFFFF;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(47,49,51,.06);
  --shadow: 0 8px 24px rgba(47,49,51,.08);
  --shadow-lg: 0 20px 48px rgba(22,92,64,.14);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  color: var(--indigo-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 800;
}

a { color: var(--indigo-700); text-decoration: none; }
a:hover { color: var(--emerald-600); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ TOP ANNOUNCEMENT BAR ============ */
.topbar {
  background: var(--indigo-900);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: .875rem;
  font-weight: 500;
}
.topbar strong { color: var(--emerald-500); }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--indigo-900);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo-700) 0%, var(--emerald-500) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(16,185,129,.3);
}
.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-menu a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.nav-menu a:hover { color: var(--indigo-900); }
.nav-cta {
  display: flex; gap: 12px; align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald-500);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(16,185,129,.3);
}
.btn-primary:hover {
  background: var(--emerald-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16,185,129,.4);
}
.btn-dark {
  background: var(--indigo-900);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--indigo-800);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--indigo-900);
  border: 1.5px solid var(--slate-200);
}
.btn-outline:hover {
  border-color: var(--indigo-700);
  color: var(--indigo-700);
  background: var(--indigo-50);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}
.hamburger {
  display: none;
  background: none; border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--indigo-900);
  border-radius: 2px;
  transition: all .3s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 72px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 20% 10%, rgba(16,185,129,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(99,102,241,.1) 0%, transparent 60%),
    linear-gradient(180deg, #FAFAF9 0%, #F5F3FF 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(30,27,75,.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .825rem;
  font-weight: 600;
  color: var(--indigo-900);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border: 1px solid var(--slate-200);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16,185,129,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .5; }
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--emerald-600) 0%, var(--emerald-500) 50%, var(--indigo-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--slate-600);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .925rem;
  font-weight: 500;
  color: var(--slate-700);
}
.hero-feature svg {
  flex-shrink: 0;
  color: var(--emerald-500);
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--slate-200);
}
.trust-stars {
  color: var(--amber-500);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.trust-text {
  font-size: .85rem;
  color: var(--slate-600);
}
.trust-text strong { color: var(--indigo-900); }

/* HERO VISUAL — phone-style card */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: rotate(-2deg);
  transition: transform .4s;
  border: 1px solid var(--slate-100);
}
.hero-card:hover { transform: rotate(-1deg) translateY(-4px); }
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.hero-card-head .label {
  font-size: .8rem;
  color: var(--slate-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-card-head .pill {
  background: var(--emerald-100);
  color: var(--emerald-600);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}
.hero-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--indigo-900);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.hero-amount small {
  font-size: 1rem;
  color: var(--slate-500);
  font-weight: 500;
}
.hero-caption {
  color: var(--slate-600);
  font-size: .9rem;
  margin-bottom: 24px;
}
.hero-progress {
  background: var(--slate-100);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-progress-bar {
  background: linear-gradient(90deg, var(--emerald-500), var(--indigo-700));
  height: 100%;
  width: 72%;
  border-radius: 999px;
}
.hero-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}
.hero-card-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
}
.hero-card-row span:first-child { color: var(--slate-600); }
.hero-card-row span:last-child { font-weight: 600; color: var(--indigo-900); }

/* Floating accent cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--slate-100);
  animation: float 6s ease-in-out infinite;
}
.float-card.fc-1 { top: 10%; left: -40px; animation-delay: 0s; }
.float-card.fc-2 { bottom: 8%; right: -30px; animation-delay: 2s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--indigo-50);
  color: var(--indigo-700);
  display: flex; align-items: center; justify-content: center;
}
.float-icon.green { background: var(--emerald-100); color: var(--emerald-600); }
.float-text .t1 {
  font-size: .75rem;
  color: var(--slate-500);
  font-weight: 500;
}
.float-text .t2 {
  font-weight: 700;
  color: var(--indigo-900);
  font-size: .9rem;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid var(--slate-200);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  text-align: center;
}
.trust-item .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--indigo-900);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.trust-item .num .plus { color: var(--emerald-500); }
.trust-item .lbl {
  font-size: .85rem;
  color: var(--slate-600);
  font-weight: 500;
}

/* ============ GENERIC SECTION ============ */
section { padding: 90px 0; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  color: var(--emerald-600);
  font-weight: 700;
  font-size: .825rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--slate-600);
  font-size: 1.075rem;
}

/* ============ QUICK FACTS TABLE ============ */
.facts {
  background: var(--white);
}
.facts-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
  max-width: 900px;
  margin: 0 auto;
}
.facts-table .row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  padding: 18px 28px;
  border-bottom: 1px solid var(--slate-100);
  align-items: center;
}
.facts-table .row:last-child { border-bottom: none; }
.facts-table .row:nth-child(even) { background: var(--slate-100); }
.facts-table .label {
  font-weight: 600;
  color: var(--slate-700);
}
.facts-table .value {
  color: var(--indigo-900);
  font-weight: 500;
}
.facts-table .value strong {
  color: var(--emerald-600);
  font-weight: 700;
}

/* ============ PRODUCTS ============ */
.products {
  background: linear-gradient(180deg, var(--bg) 0%, var(--indigo-50) 100%);
}
.product-grid {
  display: grid;
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card.featured {
  background: linear-gradient(135deg, var(--indigo-900) 0%, var(--indigo-800) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.product-card.featured::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,.3) 0%, transparent 70%);
  pointer-events: none;
}
.product-card.featured h3 { color: var(--white); }
.product-card.featured p { color: rgba(255,255,255,.85); }
.product-card.featured .product-spec-item { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.15); }
.product-card.featured .product-spec-item strong { color: var(--emerald-500); }

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.product-head-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--emerald-100);
  color: var(--emerald-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.product-card.featured .product-icon {
  background: rgba(16,185,129,.2);
  color: var(--emerald-500);
}
.product-card .tag {
  background: var(--amber-100);
  color: #92400e;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.product-card.featured .tag {
  background: var(--emerald-500);
  color: var(--white);
}
.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.product-card p {
  color: var(--slate-600);
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  position: relative; z-index: 1;
}
.product-card.featured .product-specs {
  border-color: rgba(255,255,255,.15);
}
.product-spec-item {
  font-size: .85rem;
  color: var(--slate-600);
}
.product-spec-item strong {
  display: block;
  color: var(--indigo-900);
  font-size: 1rem;
  margin-top: 2px;
}
.product-features {
  list-style: none;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.product-features li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: .925rem;
  color: var(--slate-700);
}
.product-card.featured .product-features li { color: rgba(255,255,255,.9); }
.product-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 18px; height: 18px;
  background: var(--emerald-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============ PLANS ============ */
.plans {
  background: var(--white);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan-card {
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s;
  position: relative;
}
.plan-card:hover {
  border-color: var(--indigo-700);
  transform: translateY(-4px);
}
.plan-card.popular {
  border-color: var(--emerald-500);
  background: linear-gradient(180deg, var(--white) 0%, #F0FDF4 100%);
  transform: scale(1.03);
}
.plan-popular-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--emerald-500);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--indigo-900);
  margin-bottom: 6px;
}
.plan-sub {
  color: var(--slate-500);
  font-size: .9rem;
  margin-bottom: 20px;
}
.plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--indigo-900);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price small {
  font-size: .95rem;
  color: var(--slate-500);
  font-weight: 500;
}
.plan-features {
  list-style: none;
  margin: 24px 0 28px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
}
.plan-features li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: .9rem;
  color: var(--slate-700);
}
.plan-features li.yes::before,
.plan-features li.no::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 16px; height: 16px;
  border-radius: 50%;
}
.plan-features li.yes::before {
  background: var(--emerald-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan-features li.no::before {
  background: var(--slate-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  color: var(--slate-400);
}
.plan-features li.no { color: var(--slate-400); }
.plan-card .btn { width: 100%; }

/* ============ ELIGIBILITY ============ */
.eligibility {
  background: var(--indigo-50);
}
.elig-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.elig-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.elig-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}
.elig-num {
  width: 36px; height: 36px;
  background: var(--indigo-900);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.elig-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.elig-item p {
  color: var(--slate-600);
  font-size: .925rem;
}

/* ============ HOW IT WORKS ============ */
.steps-wrap { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--slate-200);
  position: relative;
  transition: all .3s;
}
.step-card:hover {
  border-color: var(--emerald-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--indigo-700), var(--emerald-500));
  color: var(--white);
  border-radius: 14px;
  align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(16,185,129,.25);
}
.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.step-card p {
  color: var(--slate-600);
  font-size: .9rem;
}

/* ============ CALCULATOR PREVIEW ============ */
.calc {
  background: linear-gradient(135deg, var(--indigo-900) 0%, var(--indigo-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.calc::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,.3) 0%, transparent 70%);
  pointer-events: none;
}
.calc .section-head h2 { color: var(--white); }
.calc .section-head p { color: rgba(255,255,255,.8); }
.calc .eyebrow { color: var(--emerald-500); }

.calc-wrap {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.calc-field { margin-bottom: 28px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.calc-field label .val {
  color: var(--emerald-500);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  background: var(--emerald-500);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--emerald-500);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid var(--white);
}
.calc-result {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.15);
}
.calc-result .lbl {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.calc-result .amount {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.calc-result .sub {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  margin-bottom: 20px;
}
.calc-result .total {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
}
.calc-result .total strong {
  color: var(--emerald-500);
  font-weight: 700;
}

/* ============ PROS & CONS ============ */
.pros-cons { background: var(--bg); }
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}
.pc-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-100);
}
.pc-card.pros h3 { color: var(--emerald-600); }
.pc-card.cons h3 { color: #DC2626; }
.pc-card ul { list-style: none; }
.pc-card li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--slate-700);
  font-size: .95rem;
  border-bottom: 1px solid var(--slate-100);
}
.pc-card li:last-child { border-bottom: none; }
.pc-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 20px; height: 20px;
  border-radius: 50%;
}
.pc-card.pros li::before {
  background: var(--emerald-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.pc-card.cons li::before {
  background: #FEE2E2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============ COMPARISON TABLE ============ */
.compare { background: var(--white); }
.compare-table {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 720px;
}
.compare-table th, .compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
}
.compare-table thead {
  background: var(--indigo-900);
}
.compare-table th {
  color: var(--white);
  font-weight: 600;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.compare-table tbody tr:hover { background: var(--slate-100); }
.compare-table .brand-row { font-weight: 700; color: var(--indigo-900); }
.compare-table .highlight { background: var(--emerald-100); }
.compare-table .highlight td { font-weight: 600; color: var(--indigo-900); }

/* ============ REVIEWS ============ */
.reviews { background: var(--bg); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: var(--amber-500);
  margin-bottom: 16px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.review-text {
  color: var(--slate-700);
  margin-bottom: 20px;
  flex: 1;
  font-size: .95rem;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-700), var(--emerald-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.review-name {
  font-weight: 700;
  color: var(--indigo-900);
  font-size: .95rem;
}
.review-meta {
  font-size: .8rem;
  color: var(--slate-500);
}

/* ============ FAQ ============ */
.faq { background: var(--white); }
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--slate-200);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--indigo-900);
  transition: color .2s;
}
.faq-q:hover { color: var(--emerald-600); }
.faq-q .icon {
  width: 32px; height: 32px;
  background: var(--indigo-50);
  color: var(--indigo-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 20px;
  transition: all .2s;
}
.faq-item.open .faq-q .icon {
  background: var(--emerald-500);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  color: var(--slate-600);
  font-size: .975rem;
  line-height: 1.75;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 0 24px;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--indigo-900) 0%, var(--emerald-600) 100%);
  color: var(--white);
  padding: 72px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  margin: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 50%;
}
.cta-banner::before {
  width: 300px; height: 300px;
  top: -150px; left: -80px;
}
.cta-banner::after {
  width: 200px; height: 200px;
  bottom: -100px; right: 10%;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-banner p {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--indigo-900);
  position: relative; z-index: 1;
}
.cta-banner .btn-primary:hover {
  background: var(--amber-500);
  color: var(--indigo-900);
}

/* ============ AUTHOR / E-E-A-T ============ */
.author-box {
  background: var(--indigo-50);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--indigo-100);
}
.author-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-700), var(--emerald-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.author-info .role {
  color: var(--emerald-600);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 10px;
}
.author-info p {
  color: var(--slate-600);
  font-size: .9rem;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--indigo-900);
  color: rgba(255,255,255,.75);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-col h5 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--emerald-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  text-align: center;
  font-size: .825rem;
  color: rgba(255,255,255,.5);
}
.footer-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 24px;
}

/* ============ MOBILE STICKY APPLY BAR ============ */
.sticky-apply {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  padding: 12px 20px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.1);
  z-index: 999;
  border-top: 1px solid var(--slate-200);
}
.sticky-apply .btn {
  width: 100%;
}

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--indigo-900);
  color: var(--white);
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  z-index: 998;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover {
  background: var(--emerald-500);
  transform: translateY(-4px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .elig-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .plan-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-menu, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--slate-200);
  }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .product-card { padding: 28px 24px; }
  .product-specs { grid-template-columns: 1fr; gap: 10px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pc-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .calc-wrap { padding: 28px 20px; }
  .cta-banner { padding: 48px 24px; margin: 60px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .float-card.fc-1 { left: -10px; }
  .float-card.fc-2 { right: -10px; }
  .facts-table .row { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 80px; }
  .hero-amount { font-size: 2.75rem; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .calc-result .amount { font-size: 2.25rem; }
}

/* =========================================================
   EXTENDED COMPONENTS — v2
   ========================================================= */

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  background: var(--indigo-50);
  padding: 14px 0;
  font-size: .875rem;
}
.breadcrumbs ol {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
  color: var(--slate-500);
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: '›'; color: var(--slate-400); margin-left: 8px; }
.breadcrumbs a { color: var(--indigo-700); font-weight: 500; }
.breadcrumbs a:hover { color: var(--emerald-600); }
.breadcrumbs li[aria-current] { color: var(--slate-700); font-weight: 500; }

/* ---- Intro Box (What Is...) ---- */
.intro-section { background: var(--white); padding: 70px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}
.intro-visual {
  background: linear-gradient(135deg, var(--indigo-50) 0%, var(--emerald-100) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
}
.intro-visual .big-num {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--indigo-900);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.intro-visual .big-num .sym { color: var(--emerald-600); }
.intro-visual .caption {
  color: var(--slate-700);
  font-weight: 500;
  margin-bottom: 24px;
}
.intro-visual .mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.intro-visual .mini-stat .n {
  font-weight: 800;
  color: var(--indigo-900);
  font-size: 1.3rem;
  font-family: 'Outfit', sans-serif;
}
.intro-visual .mini-stat .l {
  font-size: .78rem;
  color: var(--slate-600);
}
.intro-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}
.intro-content p {
  color: var(--slate-600);
  margin-bottom: 16px;
  font-size: 1.025rem;
}
.intro-content p strong { color: var(--indigo-900); }

/* ---- Persona Cards (Who Should Use) ---- */
.personas { background: var(--bg); }
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--emerald-500);
}
.persona-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--indigo-700), var(--emerald-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.persona-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.persona-card p {
  color: var(--slate-600);
  font-size: .925rem;
  margin-bottom: 16px;
}
.persona-card .fit {
  display: inline-block;
  background: var(--emerald-100);
  color: var(--emerald-600);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}

/* ---- Loan Types Deep Dive ---- */
.loan-types { background: linear-gradient(180deg, var(--white) 0%, var(--indigo-50) 100%); }
.lt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.lt-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.lt-badge {
  background: linear-gradient(135deg, var(--indigo-900), var(--indigo-700));
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}
.lt-badge .amt {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--emerald-500);
}
.lt-badge .label {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lt-badge .apr {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .85rem;
  color: rgba(255,255,255,.85);
}
.lt-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.lt-content p {
  color: var(--slate-600);
  margin-bottom: 14px;
  font-size: .95rem;
}
.lt-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 16px;
}
.lt-features div {
  padding-left: 24px;
  position: relative;
  font-size: .9rem;
  color: var(--slate-700);
}
.lt-features div::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--emerald-500);
  font-weight: 700;
}

/* ---- Use Cases ---- */
.use-cases { background: var(--white); }
.uc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.uc-card {
  background: var(--indigo-50);
  padding: 28px 22px;
  border-radius: var(--radius);
  text-align: center;
  transition: all .3s;
  border: 1px solid var(--indigo-100);
}
.uc-card:hover {
  background: var(--white);
  border-color: var(--emerald-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.uc-emoji {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.uc-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--indigo-900);
}
.uc-card p {
  font-size: .85rem;
  color: var(--slate-600);
}

/* ---- State Grid ---- */
.states { background: var(--bg); }
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}
.state-chip {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: all .25s;
  cursor: pointer;
}
.state-chip:hover {
  background: var(--indigo-900);
  color: var(--white);
  border-color: var(--indigo-900);
  transform: scale(1.03);
}
.state-chip.limited {
  background: var(--amber-100);
  border-color: var(--amber-500);
  color: #92400e;
}

/* ---- Methodology Box ---- */
.methodology {
  background: var(--indigo-900);
  color: rgba(255,255,255,.9);
  padding: 60px 0;
}
.methodology .eyebrow { color: var(--emerald-500); }
.methodology .section-head h2 { color: var(--white); }
.methodology .section-head p { color: rgba(255,255,255,.75); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.method-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.method-item .num {
  display: inline-block;
  width: 36px; height: 36px;
  background: var(--emerald-500);
  color: var(--white);
  border-radius: 10px;
  text-align: center;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 14px;
}
.method-item h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.method-item p {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
}

/* ---- Sources Box ---- */
.sources-box {
  background: var(--slate-100);
  border-left: 4px solid var(--emerald-500);
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  margin: 36px 0;
}
.sources-box h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--indigo-900);
}
.sources-box ul {
  list-style: none;
  padding: 0;
}
.sources-box li {
  padding: 6px 0;
  font-size: .9rem;
  color: var(--slate-600);
}
.sources-box a {
  color: var(--indigo-700);
  text-decoration: underline;
}

/* ---- Apply Form Page ---- */
.apply-page { padding: 72px 0; background: var(--bg); }
.apply-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--indigo-900);
  font-size: .9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  background: var(--white);
  transition: all .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16,185,129,.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: .85rem;
  color: var(--slate-600);
}
.form-check input { width: auto; margin-top: 3px; }
.form-side {
  position: sticky;
  top: 100px;
}
.form-side .side-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid var(--slate-100);
}
.form-side h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}
.form-side ul { list-style: none; }
.form-side li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: .9rem;
  color: var(--slate-700);
}
.form-side li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--emerald-500);
  font-weight: 700;
}

/* ---- Page Hero (smaller for subpages) ---- */
.page-hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--indigo-50) 100%);
  padding: 60px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto; margin-right: auto;
}
.page-hero p {
  color: var(--slate-600);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
}

/* ---- Content Section (for subpages) ---- */
.content-section { padding: 60px 0; background: var(--white); }
.content-section.alt { background: var(--bg); }
.content-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.content-wrap h2 {
  font-size: 1.75rem;
  margin: 40px 0 16px;
}
.content-wrap h2:first-child { margin-top: 0; }
.content-wrap h3 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
}
.content-wrap p {
  color: var(--slate-700);
  margin-bottom: 16px;
  font-size: 1.03rem;
  line-height: 1.75;
}
.content-wrap ul,
.content-wrap ol {
  margin: 0 0 20px 24px;
  color: var(--slate-700);
}
.content-wrap li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ---- Info Callout ---- */
.callout {
  background: var(--emerald-100);
  border-left: 4px solid var(--emerald-500);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout.warn { background: var(--amber-100); border-color: var(--amber-500); }
.callout h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--indigo-900);
}
.callout p { margin-bottom: 0; color: var(--slate-700); font-size: .95rem; }

/* ---- Table (generic for subpages) ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table th {
  background: var(--indigo-900);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .9rem;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--slate-100);
  font-size: .95rem;
  color: var(--slate-700);
}
.data-table tr:nth-child(even) { background: var(--slate-100); }

/* ---- Responsive for new components ---- */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .lt-item { grid-template-columns: 1fr; gap: 24px; }
  .lt-features { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-grid { grid-template-columns: 1fr; }
  .form-side { position: static; }
}
@media (max-width: 640px) {
  .uc-grid, .persona-grid, .method-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 24px; }
  .intro-visual { padding: 32px 24px; }
  .intro-visual .big-num { font-size: 3rem; }
  .intro-visual .mini-stats { grid-template-columns: 1fr; gap: 12px; }
}

/* =========================================================
   TRUSTPILOT-STYLE REVIEWS WIDGET
   ========================================================= */
:root {
  --tp-green: #00B67A;
  --tp-green-dark: #009768;
  --tp-dark: #191919;
  --tp-gray: #5A5A5A;
  --tp-light: #F7F7F7;
}

.tp-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
  max-width: 1100px;
  margin: 0 auto 40px;
}
.tp-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--slate-100);
}
.tp-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.tp-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--tp-dark);
  letter-spacing: -0.02em;
}
.tp-logo .tp-star {
  width: 24px; height: 24px;
  background: var(--tp-green);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.tp-trustscore {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--tp-dark);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.03em;
}
.tp-trustscore small {
  font-size: 1.1rem;
  color: var(--tp-gray);
  font-weight: 500;
}
.tp-rating-label {
  color: var(--tp-dark);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.tp-rating-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.tp-rating-stars .st {
  width: 32px; height: 32px;
  background: var(--tp-green);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}
.tp-rating-stars .st.half {
  background: linear-gradient(90deg, var(--tp-green) 50%, #D4D4D4 50%);
}
.tp-rating-stars .st.empty { background: #D4D4D4; }
.tp-based-on {
  color: var(--tp-gray);
  font-size: .9rem;
}
.tp-based-on strong { color: var(--tp-dark); font-weight: 700; }

.tp-distribution { display: flex; flex-direction: column; gap: 8px; }
.tp-dist-row {
  display: grid;
  grid-template-columns: 60px 1fr 50px;
  gap: 12px;
  align-items: center;
  font-size: .875rem;
  color: var(--tp-gray);
}
.tp-dist-row .lbl { font-weight: 600; color: var(--tp-dark); }
.tp-dist-bar {
  background: #EBEBEB;
  height: 10px;
  border-radius: 2px;
  overflow: hidden;
}
.tp-dist-bar .fill {
  height: 100%;
  background: var(--tp-green);
  border-radius: 2px;
}
.tp-dist-bar .fill.four { background: #73CF11; }
.tp-dist-bar .fill.three { background: #FFCE00; }
.tp-dist-bar .fill.two { background: #FF8622; }
.tp-dist-bar .fill.one { background: #FF3722; }

/* Review cards grid */
.tp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.tp-review {
  background: var(--white);
  border: 1px solid #E9E9E9;
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.tp-review-top {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}
.tp-review-top .st {
  width: 22px; height: 22px;
  background: var(--tp-green);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .95rem;
}
.tp-review-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tp-badge {
  background: #E8F7F0;
  color: var(--tp-green-dark);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tp-review-date {
  color: var(--tp-gray);
  font-size: .8rem;
}
.tp-review-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--tp-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.tp-review-body {
  color: #4D4D4D;
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.tp-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #F0F0F0;
}
.tp-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-700), var(--emerald-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.tp-author-info { line-height: 1.3; }
.tp-author-name {
  font-weight: 700;
  color: var(--tp-dark);
  font-size: .9rem;
}
.tp-author-meta {
  color: var(--tp-gray);
  font-size: .78rem;
  margin-top: 2px;
}
.tp-review-exp {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #F0F0F0;
  font-size: .78rem;
  color: var(--tp-gray);
}
.tp-review-exp strong { color: var(--tp-dark); }

.tp-cta {
  margin-top: 36px;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--slate-100);
}
.tp-cta a {
  color: var(--tp-green-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
}
.tp-cta a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .tp-head { grid-template-columns: 1fr; gap: 28px; padding-bottom: 24px; }
  .tp-reviews-grid { grid-template-columns: 1fr; }
  .tp-widget { padding: 24px; }
  .tp-trustscore { font-size: 2.4rem; }
}

/* =========================================================
   BLOG SECTION
   ========================================================= */
.blog-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-500);
}
.blog-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--indigo-700), var(--emerald-500));
  display: flex; align-items: center; justify-content: center;
}
.blog-image.img-1 {
  background: linear-gradient(135deg, #1E1B4B 0%, #10B981 100%);
}
.blog-image.img-2 {
  background: linear-gradient(135deg, #312E81 0%, #F59E0B 100%);
}
.blog-image.img-3 {
  background: linear-gradient(135deg, #3730A3 0%, #059669 100%);
}
.blog-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,.1) 0%, transparent 50%);
}
.blog-image svg {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.9);
}
.blog-category {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.95);
  color: var(--indigo-900);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 2;
  backdrop-filter: blur(10px);
}
.blog-content {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  gap: 10px;
  font-size: .78rem;
  color: var(--slate-500);
  margin-bottom: 12px;
  align-items: center;
}
.blog-meta .dot { color: var(--slate-300); }
.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.35;
}
.blog-content h3 a {
  color: var(--indigo-900);
  transition: color .2s;
}
.blog-content h3 a:hover { color: var(--emerald-600); }
.blog-excerpt {
  color: var(--slate-600);
  font-size: .925rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-700), var(--emerald-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .8rem;
}
.blog-author-info {
  line-height: 1.3;
}
.blog-author-name {
  font-weight: 600;
  color: var(--indigo-900);
  font-size: .82rem;
}
.blog-author-role {
  color: var(--slate-500);
  font-size: .72rem;
}
.blog-read-link {
  color: var(--emerald-600);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.blog-read-link:hover { gap: 8px; color: var(--emerald-600); }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- Blog article page ---- */
.article-header {
  background: linear-gradient(180deg, var(--indigo-50) 0%, var(--white) 100%);
  padding: 50px 0 40px;
}
.article-header .container { max-width: 820px; }
.article-cat {
  display: inline-block;
  background: var(--emerald-100);
  color: var(--emerald-600);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.article-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 20px;
  line-height: 1.25;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
  margin-top: 24px;
  flex-wrap: wrap;
}
.article-byline .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-700), var(--emerald-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .95rem;
}
.article-byline .meta {
  color: var(--slate-600);
  font-size: .9rem;
}
.article-byline .meta strong { color: var(--indigo-900); font-weight: 700; }
.article-body {
  background: var(--white);
  padding: 50px 0 80px;
}
.article-body .container { max-width: 760px; }

/* =========================================================
   v5 REDESIGN — green brand, phone mockups, alternating rows
   ========================================================= */
body { color: var(--ink); font-size: 17px; }
h1, h2, h3, h4, h5 { color: var(--ink); letter-spacing: -0.015em; font-weight: 700; }
.section-head h2 { font-weight: 700; }
.eyebrow { display: none; }
.topbar { background: var(--indigo-900); }
.site-header { background: rgba(255,255,255,.96); border-bottom: none; }
.nav-menu a { color: var(--ink); font-weight: 600; }
.logo { color: var(--indigo-700); font-size: 1.35rem; }
.logo-mark { background: var(--indigo-700); box-shadow: none; border-radius: 10px; }
.btn { border-radius: 8px; font-weight: 700; }
.btn-primary { background: var(--indigo-700); box-shadow: none; }
.btn-primary:hover { background: var(--indigo-900); box-shadow: none; transform: none; }
.btn-outline { border: 2px solid var(--indigo-700); color: var(--indigo-700); }
.btn-outline:hover { background: var(--indigo-700); color: #fff; border-color: var(--indigo-700); }
.btn-dark { background: var(--ink); }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; }

/* ---------- HERO v5 ---------- */
.hero5 {
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
  background: #fff;
}
.hero5-blob {
  position: absolute;
  top: 0; right: 0;
  width: 52%; height: 100%;
  background: var(--indigo-700);
  border-bottom-left-radius: 62% 48%;
  border-top-left-radius: 0 0;
  clip-path: ellipse(100% 92% at 100% 40%);
}
.hero5-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
}
.hero5 h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 13ch;
}
.hero5-sub {
  font-size: 1.15rem;
  color: var(--slate-600);
  max-width: 34rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero5-sub strong { color: var(--ink); font-weight: 600; }
.hero5-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero5-cta .btn { padding: 17px 40px; font-size: 1.05rem; }
.hero5-rating { display: flex; gap: 18px; align-items: flex-start; }
.hero5-rating .stars { color: var(--amber-500); font-size: 1.15rem; letter-spacing: 2px; white-space: nowrap; }
.hero5-rating p { color: var(--slate-600); font-size: .98rem; line-height: 1.5; max-width: 22rem; }
.hero5-phones { position: relative; height: 560px; }
.hero5-phones .phone { position: absolute; }
.hero5-phones .phone.p1 { left: 4%; top: 30px; transform: rotate(-4deg); z-index: 2; }
.hero5-phones .phone.p2 { right: 2%; top: 70px; transform: rotate(14deg); z-index: 1; }

/* ---------- PHONE MOCKUP ---------- */
.phone {
  width: 270px;
  background: #fff;
  border: 9px solid #2B2E33;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.22);
  font-size: 13px;
  color: var(--ink);
}
.phone-head {
  background: var(--indigo-700);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 34px 18px 14px;
}
.phone-body { background: #F4F4F4; padding: 12px; min-height: 380px; }
.phone-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.phone-illus { display: block; height: 96px; margin: 6px auto 10px; }
.phone-title { text-align: center; font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.amount-btn {
  background: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.06);
}
.amount-btn.sel { outline: 2px solid var(--indigo-700); color: var(--indigo-700); }
.score-row { display: flex; align-items: baseline; gap: 6px; }
.score-num { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.score-up { color: var(--indigo-700); font-weight: 700; font-size: 12px; }
.score-next { margin-left: auto; color: var(--slate-500); font-size: 10px; }
.score-bar {
  height: 7px; border-radius: 4px; margin: 10px 0 4px;
  background: linear-gradient(90deg,#F2455D 0 22%,#F5A623 22% 45%,#F5C823 45% 55%,#13A2F2 55% 75%,#3CCB7F 75%);
  position: relative;
}
.score-bar::after {
  content:''; position:absolute; left: 62%; top: -4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 3px solid #13A2F2;
}
.score-scale { display: flex; justify-content: space-between; font-size: 10px; color: var(--slate-600); }
.mini-line { height: 70px; margin-top: 10px; }
.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #EEE; font-size: 12px; }
.kv:last-child { border-bottom: 0; }
.kv b { font-weight: 700; }
.progress { height: 14px; background: #EEE; border-radius: 4px; overflow: hidden; margin: 8px 0 4px; }
.progress span { display:block; height:100%; background: #3CCB7F; color:#fff; font-size: 9px; text-align:right; padding-right:6px; line-height:14px; }
.green { color: var(--indigo-700); }
.big-status { text-align: center; font-size: 22px; font-weight: 800; margin: 4px 0; }
.small-muted { text-align: center; color: var(--slate-600); font-size: 11px; margin-bottom: 8px; }
.donut {
  width: 150px; height: 150px; border-radius: 50%; margin: 6px auto 12px;
  background: conic-gradient(#F2455D 0 50%, #F5A623 50% 71%, #7B3FD6 71% 84%, #13A2F2 84% 94%, #3D5BD9 94%);
  display: grid; place-items: center;
}
.donut div { width: 96px; height: 96px; background: #fff; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 11px; color: var(--slate-600); }
.donut b { display:block; font-size: 17px; color: var(--ink); }
.chips { display: flex; gap: 8px; overflow: hidden; margin: 6px 0 12px; }
.chip { flex: 0 0 auto; width: 58px; text-align: center; font-size: 9.5px; line-height: 1.2; }
.chip i { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 5px; background: #fff; border-radius: 50%; font-style: normal; font-size: 18px; }
.offer { display: flex; gap: 10px; align-items: center; background:#fff; border-radius: 8px; padding: 10px; margin-bottom: 8px; font-size: 11px; }
.offer i { width: 34px; height: 34px; border-radius: 6px; display:grid; place-items:center; font-style:normal; font-size:16px; flex-shrink:0; }
.offer b { display: block; font-size: 11.5px; }
.ins-card {
  background: #3D6FD8; color: #fff; border-radius: 8px; padding: 12px; font-size: 10.5px; line-height: 1.5;
}
.ins-card b { font-size: 12px; }

/* ---------- FEATURE ROWS ---------- */
.features5 { padding: 40px 0 20px; }
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.f-row .f-visual { display: flex; justify-content: center; }
.f-row.flip .f-visual { order: 2; }
.f-row.flip .f-copy { order: 1; }
.f-copy h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 16ch;
}
.f-copy p { color: var(--slate-600); font-size: 1.1rem; line-height: 1.75; max-width: 34rem; margin-bottom: 14px; }
.f-copy ul { list-style: none; margin: 8px 0 28px; }
.f-copy li { padding: 6px 0 6px 28px; position: relative; color: var(--slate-700); }
.f-copy li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--emerald-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2321865C' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
}
.f-copy .btn { padding: 15px 34px; }
.f-band { background: #F4F4F4; }
.f-wave { position: relative; }
.f-wave::before {
  content: ''; position: absolute; left: -10%; right: -10%; bottom: 0; height: 60%;
  background: #F4F4F4; border-top-left-radius: 50% 40%; border-top-right-radius: 50% 60%; z-index: -1;
}

/* ---------- TRIO ---------- */
.trio5 { background: #F4F4F4; padding: 72px 0 96px; }
.trio5-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; text-align: center; }
.trio5 img { height: 110px; margin: 0 auto 22px; }
.trio5 h3 { font-size: 1.4rem; margin-bottom: 10px; }
.trio5 p { color: var(--slate-600); max-width: 18rem; margin: 0 auto; line-height: 1.7; }

/* ---------- IMPACT ---------- */
.impact5 { padding: 84px 0; text-align: center; }
.impact5 h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 48px; }
.impact5-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; align-items: end; }
.impact5 img { height: 120px; margin: 0 auto 22px; }
.impact5 .pre { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.impact5 .num { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.impact5 .post { color: var(--slate-600); }
.impact5 .note { margin-top: 36px; color: var(--slate-500); font-size: .85rem; }

/* ---------- Illustration helpers ---------- */
.illus-wrap { background: var(--indigo-50); border-radius: var(--radius-xl); padding: 40px; display: grid; place-items: center; }
.illus-wrap img { max-height: 320px; width: auto; }
.intro-visual { background: var(--indigo-50); }
.step-card img { height: 92px; margin: 0 auto 18px; }
.blog-image { background: var(--indigo-50) !important; }
.blog-image::before { display: none; }
.blog-image img { height: 150px; width: auto; position: relative; z-index: 1; }
.blog-category { background: #fff; color: var(--indigo-700); text-transform: none; letter-spacing: 0; font-size: .8rem; }
.tp-avatar, .blog-author-avatar, .author-avatar, .article-byline .avatar, .review-avatar { background: var(--indigo-700); }
.step-num { background: var(--indigo-700); box-shadow: none; }
.persona-icon { background: var(--indigo-700); }
.calc { background: var(--indigo-900); }
.calc::before { display: none; }
.cta-banner { background: var(--indigo-700); }
.cta-banner .btn-primary { background: #fff; color: var(--indigo-900); }
.cta-banner .btn-primary:hover { background: var(--amber-500); }
.product-card.featured { background: var(--indigo-900); }
.hero-progress-bar { background: var(--indigo-700); }
.page-hero { background: var(--indigo-50); }
.plan-card.popular { border-color: var(--indigo-700); background: #fff; }
.plan-popular-badge { background: var(--indigo-700); text-transform: none; letter-spacing: 0; }
.article-cat { text-transform: none; letter-spacing: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1024px) {
  .hero5-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero5-blob { width: 100%; height: 520px; top: auto; bottom: 0; clip-path: ellipse(90% 100% at 50% 100%); border-radius: 0; }
  .hero5-phones { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .f-row, .f-row.flip { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .f-row.flip .f-visual, .f-row .f-visual { order: 2; }
  .f-row.flip .f-copy, .f-row .f-copy { order: 1; }
  .f-copy h3 { max-width: none; }
}
@media (max-width: 640px) {
  .hero5 { padding: 36px 0 40px; }
  .phone { width: 230px; }
  .hero5-phones { height: 470px; }
  .hero5-phones .phone.p1 { left: 0; }
  .hero5-phones .phone.p2 { right: -20px; top: 90px; }
  .trio5-grid, .impact5-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero5-rating { flex-direction: column; gap: 6px; }
}
.topbar strong { color: #FFD45C; }
.hero5 h1 { max-width: 16ch; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
@media (max-width: 640px) { .hero5-cta .btn { width: 100%; } }
.lt-badge { background: var(--indigo-900); }
.lt-badge .amt { color: #fff; }
.product-card.featured .product-spec-item strong { color: #FFD45C; }
.trust-item .num .plus, .intro-visual .big-num .sym { color: var(--indigo-700); }
.photo-wrap { position: relative; margin: 0; }
.photo-wrap img {
  width: 100%; height: 460px; object-fit: cover; object-position: center 30%;
  border-radius: var(--radius-xl); display: block;
  box-shadow: var(--shadow-lg);
}
.photo-wrap::before {
  content: ''; position: absolute; inset: 24px -20px -20px 24px;
  background: var(--indigo-700); border-radius: var(--radius-xl); z-index: -1;
}
.photo-wrap figcaption { font-size: .75rem; color: var(--slate-500); margin-top: 30px; text-align: right; }
.intro-grid { isolation: isolate; }
@media (max-width: 640px) { .photo-wrap img { height: 340px; } .photo-wrap::before { inset: 16px -10px -10px 16px; } }

/* Reviews: 3 x 2 card grid */
.tp-widget { max-width: 1180px; }
.tp-reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tp-review { padding: 22px; }
.tp-review-title { font-size: 1.02rem; }
.tp-review-body { font-size: .92rem; }
@media (max-width: 1024px) { .tp-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .tp-reviews-grid { grid-template-columns: 1fr; } }

/* Blog cards with real photos */
.blog-image { height: 220px; padding: 0; }
.blog-image img.blog-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .4s ease;
}
.blog-card:hover .blog-image img.blog-photo { transform: scale(1.04); }
.blog-image .blog-category { z-index: 2; }

/* Section rhythm after reorder: alternate white / light gray bands */
.facts { background: #F4F4F4; }
.pros-cons { background: #F4F4F4; }
.use-cases { background: #F4F4F4; }
.blog-section { background: #F4F4F4; }
.reviews, .compare, .personas, .states { background: #fff; }

/* =========================================================
   APPLY FORM SECTION (below hero) — 3 design options
   Switch design by changing the class on <section id="apply">:
   apply-a (Green Band) | apply-b (Overlap Card) | apply-c (Split Photo)
   ========================================================= */
#apply { scroll-margin-top: 90px; position: relative; }
.apply-sec { padding: 72px 0 88px; }
.apply-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(22,92,64,.16);
  border: 1px solid #E4E5E6;
  padding: 32px 32px 24px;
  position: relative;
}
.apply-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.apply-card-head h3 { font-size: 1.35rem; margin: 0; }
.apply-secure { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: #1C7A53; background: #EEF7F2; padding: 5px 12px; border-radius: 999px; font-weight: 600; }
#_lg_form_ { min-height: 520px; }   /* reserves space so the page doesn't jump while the form loads */
.apply-disclosure { font-size: .78rem; color: #85888C; line-height: 1.6; margin-top: 16px; padding-top: 14px; border-top: 1px solid #F0F0F0; }
.apply-steps { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; padding: 0; list-style: none; }
.apply-steps li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #45484B; }
.apply-steps li span { width: 26px; height: 26px; border-radius: 50%; background: #21865C; color: #fff; display: grid; place-items: center; font-size: .8rem; }
.apply-points { list-style: none; margin: 22px 0 0; padding: 0; }
.apply-points li { padding: 8px 0 8px 30px; position: relative; font-size: 1rem; }
.apply-points li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }

/* ---- Option A: Green Band ---- */
.apply-a { background: #165C40; color: #fff; }
.apply-a .apply-grid2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.apply-a h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: 14px; }
.apply-a .apply-lead { color: rgba(255,255,255,.82); font-size: 1.08rem; line-height: 1.7; }
.apply-a .apply-points li { color: #fff; }
.apply-a .apply-points li::before { background: #FFD45C; color: #165C40; }

/* ---- Option B: Overlap Card ---- */
.apply-b { background: #F4F4F4; padding-top: 0; }
.apply-b .apply-wrap { max-width: 760px; margin: -56px auto 0; position: relative; z-index: 3; }
.apply-b .apply-intro { text-align: center; margin-bottom: 18px; }
.apply-b .apply-intro h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 8px; }
.apply-b .apply-intro p { color: #66696D; }
.apply-b .apply-steps { justify-content: center; }
.apply-b .apply-card { border-top: 6px solid #21865C; }

/* ---- Option C: Split Photo ---- */
.apply-c { background: #fff; }
.apply-c .apply-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(22,92,64,.14); border: 1px solid #E4E5E6; }
.apply-c .apply-photo { position: relative; min-height: 100%; background: #165C40 center/cover no-repeat; padding: 48px 44px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.apply-c .apply-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,92,64,.35) 0%, rgba(22,92,64,.92) 70%); }
.apply-c .apply-photo > * { position: relative; }
.apply-c .apply-photo h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; margin-bottom: 10px; }
.apply-c .apply-photo p { color: rgba(255,255,255,.88); }
.apply-c .apply-points li { color: #fff; }
.apply-c .apply-points li::before { background: #fff; color: #165C40; }
.apply-c .apply-card { border: 0; border-radius: 0; box-shadow: none; padding: 40px 40px 28px; }

@media (max-width: 960px) {
  .apply-a .apply-grid2, .apply-c .apply-grid2 { grid-template-columns: 1fr; gap: 32px; }
  .apply-c .apply-grid2 { gap: 0; }
  .apply-c .apply-photo { min-height: 320px; }
  .apply-b .apply-wrap { margin-top: -32px; }
}
@media (max-width: 640px) {
  .apply-card, .apply-c .apply-card { padding: 22px 16px 18px; }
  .apply-sec { padding: 48px 0 56px; }
  .apply-b { padding-top: 0; }
}
/* shared markup: .apply-grid2 > .apply-side + .apply-card  (works for A, B and C) */
.apply-side h2 { margin-bottom: 12px; }
.apply-b .apply-grid2 { display: block; max-width: 760px; margin: -56px auto 0; position: relative; z-index: 3; }
.apply-b .apply-side { text-align: center; margin-bottom: 20px; background: #fff; border-radius: 20px 20px 0 0; padding: 28px 24px 4px; }
.apply-b .apply-side h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.apply-b .apply-lead { color: #66696D; margin-bottom: 14px; }
.apply-b .apply-steps { justify-content: center; }
.apply-b .apply-points { display: none; }
.apply-b .apply-card { border-top: 6px solid #21865C; }
.apply-a .apply-steps li, .apply-c .apply-steps li { color: #fff; }
.apply-a .apply-steps li span, .apply-c .apply-steps li span { background: #FFD45C; color: #165C40; }
.apply-c .apply-side { position: relative; background: #165C40 var(--apply-photo) center/cover no-repeat; padding: 48px 44px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; }
.apply-c .apply-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,92,64,.30) 0%, rgba(22,92,64,.93) 65%); }
.apply-c .apply-side > * { position: relative; }
.apply-c .apply-side h2 { color: #fff; }
.apply-c .apply-lead { color: rgba(255,255,255,.88); }
@media (max-width: 960px) { .apply-c .apply-side { min-height: 360px; } .apply-b .apply-grid2 { margin-top: -32px; } }
.apply-steps { margin-top: 18px; }
.apply-b .apply-side { margin-bottom: 0; padding-bottom: 18px; border: 1px solid #E4E5E6; border-bottom: 0; }
.apply-b .apply-card { border-radius: 0 0 20px 20px; border-top: 6px solid #21865C; }

/* =========================================================
   NAV PAGES — shared split hero with real photo
   ========================================================= */
.nav-menu a[aria-current="page"] { color: var(--indigo-700); position: relative; }
.nav-menu a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: 3px; background: var(--indigo-700);
}
.ph5 { position: relative; overflow: hidden; background: #fff; padding: 56px 0 72px; }
.ph5::after {
  content: ''; position: absolute; right: -6%; top: 0; width: 46%; height: 100%;
  background: #EEF7F2; border-bottom-left-radius: 50% 40%; z-index: 0;
}
.ph5-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ph5 .crumbs { font-size: .88rem; color: var(--slate-500); margin-bottom: 18px; }
.ph5 .crumbs a { color: var(--indigo-700); font-weight: 600; }
.ph5 h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 18px; max-width: 18ch; }
.ph5 .lead { font-size: 1.12rem; color: var(--slate-600); line-height: 1.75; max-width: 34rem; margin-bottom: 28px; }
.ph5 .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ph5 .ctas .btn { padding: 15px 30px; }
.ph5 .chips5 { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ph5 .chips5 span { background: #F4F4F4; border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--slate-700); }
.ph5-photo { position: relative; margin: 0; }
.ph5-photo img { width: 100%; height: 440px; object-fit: cover; border-radius: 28px; display: block; box-shadow: 0 24px 56px rgba(22,92,64,.18); }
.ph5-photo::before { content: ''; position: absolute; inset: 22px -18px -18px 22px; background: var(--indigo-700); border-radius: 28px; z-index: -1; }
.ph5-badge {
  position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.14); display: flex; gap: 12px; align-items: center; font-size: .9rem;
}
.ph5-badge b { display: block; font-size: 1.15rem; color: var(--ink); }
.ph5-badge i { width: 40px; height: 40px; border-radius: 10px; background: #EEF7F2; display: grid; place-items: center; font-style: normal; font-size: 1.2rem; }

/* product hub cards */
.hub { padding: 72px 0; background: #F4F4F4; }
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hub-card { background: #fff; border-radius: 18px; padding: 26px; border: 1px solid #E4E5E6; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; color: inherit; }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.hub-card img { height: 110px; width: auto; margin: 0 auto 18px; }
.hub-card .amt { color: var(--indigo-700); font-weight: 800; font-size: 1.35rem; margin-bottom: 4px; }
.hub-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.hub-card p { color: var(--slate-600); font-size: .95rem; line-height: 1.6; flex: 1; }
.hub-card .more { margin-top: 16px; font-weight: 700; color: var(--indigo-700); }

/* plans page extras */
.plan-table th:not(:first-child), .plan-table td:not(:first-child) { text-align: center; }
.plan-table .yes { color: var(--indigo-700); font-weight: 800; }
.plan-table .no { color: var(--slate-400); }
.plan-table th.hl { background: var(--indigo-700); }

@media (max-width: 1024px) {
  .ph5-grid { grid-template-columns: 1fr; gap: 40px; }
  .ph5::after { width: 100%; height: 46%; top: auto; bottom: 0; right: 0; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
  .ph5-photo img { height: 340px; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ph5 { padding: 36px 0 56px; }
  .ph5-badge { left: 12px; bottom: 16px; }
  .ph5-photo::before { inset: 14px -10px -10px 14px; }
  .hub-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   FLOATING CONTROLS v2
   Mobile (<768px): floating "Apply Now" pill, shown only after the hero
   Tablet + desktop (>=768px): back-to-top button, shown only after the hero
   Visibility is driven by body.past-hero (set in main.js)
   ========================================================= */
.sticky-apply {
  display: none;
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 160%);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  background: none; padding: 0; border: 0; box-shadow: none; width: auto;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}
.sticky-apply .btn {
  width: auto;
  min-width: 230px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 1.02rem;
  gap: 10px;
  background: var(--indigo-700);
  color: #fff;
  box-shadow: 0 12px 28px rgba(22,92,64,.38), 0 0 0 4px rgba(255,255,255,.9);
}
.sticky-apply .btn:hover, .sticky-apply .btn:active { background: var(--indigo-900); color: #fff; }
.sticky-apply .btn svg { transition: transform .2s; }
.sticky-apply .btn:active svg { transform: translateX(3px); }

.back-top {
  display: none;
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--indigo-700);
  color: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22,92,64,.32), 0 0 0 4px rgba(255,255,255,.9);
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  z-index: 998;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), background .2s;
}
.back-top:hover { background: var(--indigo-900); transform: translateY(-3px); }
.back-top.visible { opacity: 0; } /* legacy class from older script: ignored */

@media (max-width: 767px) {
  .sticky-apply { display: block; }
  body.past-hero:not(.form-visible):not(.cta-visible) .sticky-apply { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
  .back-top { display: none !important; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 96px; } /* room so the pill never covers footer links */
}
@media (min-width: 768px) {
  .sticky-apply { display: none !important; }
  .back-top { display: flex; }
  body.past-hero .back-top { opacity: 1; transform: none; pointer-events: auto; }
  body.past-hero .back-top:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-apply, .back-top { transition: opacity .01s; }
}

/* header logo uses the favicon artwork */
.logo-mark-img { width: 36px; height: 36px; display: block; border-radius: 10px; }
.site-footer .logo-mark-img { width: 34px; height: 34px; }

/* =========================================================
   PAGE META (last updated) · TABLE OF CONTENTS · RATES & FEES
   ========================================================= */
.page-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: 18px; font-size: .88rem; color: var(--slate-600);
}
.page-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-300); }
.page-meta svg { color: var(--indigo-700); flex-shrink: 0; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta a { color: var(--indigo-700); font-weight: 600; }

.toc5 { background: #fff; border-top: 1px solid #EDEEEF; border-bottom: 1px solid #EDEEEF; }
.toc5 .container { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.toc5-label { font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.toc5 ol {
  list-style: none; margin: 0; padding: 2px 0; display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.toc5 ol::-webkit-scrollbar { display: none; }
.toc5 a {
  display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  background: #F4F4F4; color: var(--slate-700); font-size: .88rem; font-weight: 600;
  transition: background .2s, color .2s;
}
.toc5 a:hover, .toc5 a:focus-visible { background: var(--indigo-700); color: #fff; }
section[id] { scroll-margin-top: 90px; }

.rates5 { background: #fff; }
.rates5 .rates-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.rates5 .data-table { margin: 0; }
.rates5 .data-table td:first-child { font-weight: 700; color: var(--ink); }
.rates5 .fee-list { background: #F4F4F4; border-radius: 16px; padding: 24px 26px; }
.rates5 .fee-list h3 { font-size: 1.1rem; margin-bottom: 12px; }
.rates5 .fee-list dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; font-size: .95rem; }
.rates5 .fee-list dt { color: var(--slate-700); }
.rates5 .fee-list dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.rates5 .examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.rex { border: 1px solid #E4E5E6; border-radius: 16px; padding: 22px 22px 18px; background: #fff; display: flex; flex-direction: column; }
.rex .tag { align-self: flex-start; background: var(--emerald-100); color: var(--indigo-900); font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.rex h3 { font-size: 1.08rem; margin-bottom: 12px; }
.rex dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 12px; font-size: .92rem; }
.rex dt { color: var(--slate-600); }
.rex dd { margin: 0; font-weight: 700; text-align: right; }
.rex .total { border-top: 2px solid #EEF7F2; padding-top: 10px; margin-top: auto; display: flex; justify-content: space-between; font-weight: 800; color: var(--indigo-900); }
.rex p { font-size: .82rem; color: var(--slate-500); margin: 10px 0 0; line-height: 1.55; }
.rates-note { margin-top: 26px; font-size: .84rem; color: var(--slate-500); line-height: 1.7; max-width: 60rem; }

@media (max-width: 960px) {
  .rates5 .rates-grid { grid-template-columns: 1fr; }
  .rates5 .examples { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .toc5-label { display: none; }
}
.page-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
.page-meta span { gap: 0 6px; flex-wrap: wrap; }
@media (min-width: 1024px) {
  .toc5 ol { flex-wrap: wrap; overflow: visible; mask-image: none; }
}

/* =========================================================
   TABLE OF CONTENTS — design options (class on nav.toc5)
   toc-a Floating Card · toc-b Numbered Index · toc-c Green Rail · toc-d Icon Tiles
   ========================================================= */
.toc5 { border: 0; background: transparent; position: relative; z-index: 4; }
.toc5 .container { display: block; padding-top: 0; padding-bottom: 0; }
.toc5 .toc-inner { display: flex; align-items: center; gap: 18px; }
.toc5-label { display: inline-flex; align-items: center; gap: 8px; }
.toc5 ol { flex: 1; mask-image: none; }
.toc5 a { background: none; padding: 0; border-radius: 0; }
.toc5 .ti { display: none; }
.toc5 a:hover, .toc5 a:focus-visible { background: none; }

/* ---- A · Floating Card: white card overlapping the hero edge, text links with dividers ---- */
.toc-a { margin-top: -34px; margin-bottom: 8px; }
.toc-a .toc-inner { background: #fff; border-radius: 16px; box-shadow: 0 14px 36px rgba(22,92,64,.13); border: 1px solid #EDEEEF; padding: 16px 24px; }
.toc-a .toc5-label { color: var(--indigo-700); font-size: .86rem; font-weight: 800; padding-right: 18px; border-right: 1px solid #E4E5E6; white-space: nowrap; }
.toc-a ol { display: flex; flex-wrap: wrap; gap: 4px 0; overflow: visible; }
.toc-a li { display: flex; align-items: center; }
.toc-a li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #C9CBCD; margin: 0 12px; }
.toc-a a { color: var(--slate-700); font-weight: 600; font-size: .9rem; padding: 4px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc-a a:hover, .toc-a a:focus-visible { color: var(--indigo-700); border-bottom-color: var(--indigo-700); }

/* ---- B · Numbered Index: two-row grid with step numbers ---- */
.toc-b { background: #F4F4F4; padding: 26px 0; }
.toc-b .toc-inner { flex-direction: column; align-items: stretch; gap: 14px; }
.toc-b .toc5-label { font-size: 1rem; font-weight: 800; color: var(--ink); }
.toc-b ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: tocb; }
.toc-b li { counter-increment: tocb; }
.toc-b a { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #E4E5E6; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: .88rem; color: var(--ink); height: 100%; transition: border-color .2s, transform .2s, box-shadow .2s; }
.toc-b a::before { content: counter(tocb, decimal-leading-zero); font-weight: 800; color: var(--indigo-700); font-size: .82rem; min-width: 1.6em; }
.toc-b a:hover, .toc-b a:focus-visible { border-color: var(--indigo-700); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(22,92,64,.12); background: #fff; }

/* ---- C · Green Rail: full-width brand band with white links ---- */
.toc-c { background: var(--indigo-900); }
.toc-c .toc-inner { padding: 14px 0; }
.toc-c .toc5-label { color: #FFD45C; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.toc-c ol { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.toc-c ol::-webkit-scrollbar { display: none; }
.toc-c a { color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem; white-space: nowrap; padding: 6px 0; position: relative; }
.toc-c a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: #FFD45C; transition: right .25s; }
.toc-c a:hover, .toc-c a:focus-visible { color: #fff; }
.toc-c a:hover::after, .toc-c a:focus-visible::after { right: 0; }

/* ---- D · Icon Tiles: icon above each label ---- */
.toc-d { padding: 28px 0 8px; }
.toc-d .toc-inner { flex-direction: column; align-items: stretch; gap: 14px; }
.toc-d .toc5-label { justify-content: center; font-weight: 800; color: var(--ink); }
.toc-d ol { display: grid; grid-template-columns: repeat(11, 1fr); gap: 8px; }
.toc-d .ti { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 14px; background: #EEF7F2; font-size: 1.25rem; transition: background .2s, transform .2s; }
.toc-d a { display: block; text-align: center; font-size: .8rem; font-weight: 600; color: var(--slate-700); padding: 8px 4px; border-radius: 12px; line-height: 1.3; }
.toc-d a:hover .ti, .toc-d a:focus-visible .ti { background: var(--indigo-700); transform: translateY(-3px); }
.toc-d a:hover, .toc-d a:focus-visible { color: var(--indigo-700); }

@media (max-width: 1024px) {
  .toc-b ol { grid-template-columns: repeat(4, 1fr); }
  .toc-d ol { grid-template-columns: repeat(6, 1fr); row-gap: 14px; }
}
@media (max-width: 767px) {
  /* every option becomes one swipeable row on phones */
  .toc5 .toc-inner { flex-direction: row; gap: 12px; }
  .toc5-label { display: none !important; }
  .toc-a { margin-top: -24px; }
  .toc-a .toc-inner { padding: 12px 14px; }
  .toc-a ol, .toc-b ol, .toc-d ol { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg,#000 88%,transparent); }
  .toc-a ol::-webkit-scrollbar, .toc-b ol::-webkit-scrollbar, .toc-d ol::-webkit-scrollbar { display: none; }
  .toc-a a, .toc-b a, .toc-d a { white-space: nowrap; }
  .toc-b { padding: 16px 0; }
  .toc-d { padding: 18px 0 4px; }
  .toc-d li { flex: 0 0 82px; }
  .toc-d a { white-space: normal; }
}
/* TOC polish */
.toc-a { margin: -34px 0 -34px; }
.toc-a + .apply-sec { padding-top: 106px; }
.toc-a .toc-inner { padding: 14px 20px; }
.toc-a .toc5-label { padding-right: 14px; }
.toc-a ol { flex-wrap: nowrap; }
.toc-a li + li::before { margin: 0 9px; }
.toc-a a { font-size: .86rem; white-space: nowrap; }
.toc-a .toc-cta a, .toc-c .toc-cta a { color: var(--indigo-700); font-weight: 800; }
.toc-c .toc-cta a { color: #FFD45C; }
.toc-b .toc-cta a { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }
.toc-b .toc-cta a::before { color: #FFD45C; }
.toc-b .toc-cta a:hover { background: var(--indigo-900); }
.toc-c { border-bottom: 1px solid rgba(255,255,255,.14); }
.toc-c ol { flex-wrap: nowrap !important; justify-content: space-between; gap: 18px; }
.toc-d ol { grid-template-columns: repeat(12, 1fr); }
.toc-d .toc-cta .ti { background: var(--indigo-700); }
.toc-d .toc-cta a { color: var(--indigo-700); font-weight: 800; }
@media (max-width: 1180px) and (min-width: 768px) {
  .toc-a ol, .toc-c ol { overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg,#000 90%,transparent); justify-content: flex-start; }
  .toc-a ol::-webkit-scrollbar { display: none; }
}
@media (max-width: 1024px) { .toc-d ol { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 767px) {
  .toc-a { margin: -24px 0 -24px; }
  .toc-a + .apply-sec { padding-top: 72px; }
  .toc-c ol { justify-content: flex-start; }
}
.toc-a .toc-cta, .toc-c .toc-cta { display: none; }

/* Tablet header: the full menu doesn't fit below ~1100px, use the hamburger */
@media (max-width: 1100px) {
  .nav-menu, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .nav { position: relative; }
  .nav-menu.open {
    display: flex; position: absolute; top: 100%; left: -24px; right: -24px;
    background: #fff; flex-direction: column; gap: 4px; padding: 16px 24px 20px;
    box-shadow: 0 18px 30px rgba(0,0,0,.08); border-top: 1px solid var(--slate-200); z-index: 1001;
  }
  .nav-menu.open a { display: block; padding: 10px 0; font-size: 1rem; }
  .nav-menu.open a[aria-current="page"]::after { display: none; }
}

/* Mobile: wide tables scroll inside themselves instead of widening the page */
@media (max-width: 767px) {
  .data-table, .legal-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table td, .data-table th, .legal-table td { overflow-wrap: anywhere; }
  .legal-article, .content-wrap { overflow-wrap: break-word; min-width: 0; }
  .legal-layout > * { min-width: 0; }
}

/* SEO heading clean-up: former h4/h5 keep their original look */
.footer-h { color: #fff; font-size: .95rem; margin-bottom: 18px; font-weight: 700; }
.elig-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.method-item h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.uc-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--ink); }
.author-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.callout h3, .sources-box h3 { margin-bottom: 8px; font-size: 1rem; }
.sources-box h3 { color: inherit; }
.legal-contact h3 { font-size: 1rem; }
.phone-illus { width: auto; max-width: 100%; }
.page-updated { font-size: .86rem; color: var(--slate-500); margin: -12px 0 22px; }
.page-hero .page-updated { margin: 14px auto 0; }
.page-updated a { color: var(--indigo-700); font-weight: 600; }

/* Related guides (contextual internal links) */
.related-guides { padding: 48px 0 8px; background: #fff; }
.related-guides h2 { font-size: 1.5rem; margin-bottom: 18px; }
.related-guides ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related-guides li { border: 1px solid #E4E5E6; border-radius: 14px; padding: 16px 18px; transition: border-color .2s, box-shadow .2s; }
.related-guides li:hover { border-color: var(--indigo-700); box-shadow: 0 8px 20px rgba(22,92,64,.1); }
.related-guides a { font-weight: 700; color: var(--indigo-900); display: block; margin-bottom: 4px; }
.related-guides span { color: var(--slate-600); font-size: .9rem; }

/* Plan cards: product image + full product name */
.plan-img { width: 44px; height: 44px; border-radius: 12px; display: block; margin-bottom: 14px; }
.plan-sub { min-height: 3em; line-height: 1.5; }
