/* ============================================================
   ProsperLendingUSA.com — Shared Stylesheet
   Dark Editorial · Slate Blue · World-Class Financial
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --c-dark:        #0F2240;
  --c-mid:         #1E3A5F;
  --c-accent:      #3B82F6;
  --c-accent-light:#93C5FD;
  --c-fill-blue:   #DBEAFE;
  --c-bg-blue:     #EFF6FF;
  --c-bg:          #FFFFFF;
  --c-alt:         #F8FAFC;
  --c-text:        #0F172A;
  --c-text-2:      #64748B;
  --c-text-muted:  #94A3B8;
  --c-border:      rgba(0,0,0,0.08);
  --c-border-hover:#3B82F6;
  --c-trustbar-text:#1E40AF;

  --c-amber-bar:   #F59E0B;
  --c-amber-bg:    #FFFBEB;
  --c-amber-label: #92400E;
  --c-amber-text:  #78350F;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Lexend", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 3px rgba(15,34,64,0.06), 0 1px 2px rgba(15,34,64,0.04);
  --shadow-lift: 0 12px 32px rgba(15,34,64,0.12);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--c-accent); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--c-mid); }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--c-alt); }
.section--dark { background: var(--c-dark); color: #fff; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { line-height: 1.2; color: var(--c-text); }
.display, h1.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 50px);
  line-height: 1.15;
}
.display em { font-style: italic; font-weight: 400; }
h2, .h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.01em;
}
h3 { font-family: var(--font-body); font-weight: 600; font-size: 19px; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 16px; }
p { margin-bottom: 1rem; color: var(--c-text-2); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--dark h2, .section--dark h3 { color: #fff; }

.label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: "";
  width: 1px; height: 16px;
  background: var(--c-accent);
  display: inline-block;
}
.section--dark .label { color: var(--c-accent-light); }
.section--dark .label::before { background: var(--c-accent-light); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .label { margin-bottom: 16px; }
.section-head .label::before { display: none; }
.section-head h2 { margin-bottom: 12px; }

.deco-line { width: 40px; height: 2px; background: var(--c-accent); margin: 20px 0; border: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  cursor: pointer; border: none; transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
  text-align: center;
}
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: #2563EB; color: #fff; transform: scale(1.02); box-shadow: 0 6px 18px rgba(59,130,246,0.35); }
.btn--ghost { background: transparent; color: rgba(255,255,255,0.85); padding-left: 0; }
.btn--ghost:hover { color: #fff; }
.btn--outline { background: transparent; border: 1px solid var(--c-border); color: var(--c-text); }
.btn--outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--white { background: #fff; color: var(--c-dark); }
.btn--white:hover { background: var(--c-bg-blue); color: var(--c-dark); }

/* ---------- Top Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 0.5px solid var(--c-border);
  transition: box-shadow .25s var(--ease);
}
.nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.logo { font-family: var(--font-body); font-weight: 400; font-size: 20px; color: var(--c-text); letter-spacing: -0.3px; }
.logo b { font-weight: 700; color: var(--c-accent); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links > li { position: relative; }
.nav__links a { font-size: 13px; font-weight: 400; color: var(--c-text); padding: 8px 0; display: inline-flex; align-items: center; gap: 4px; }
.nav__links a:hover { color: var(--c-accent); }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { padding: 9px 18px; font-size: 13px; }

/* dropdown */
.has-dropdown > a::after { content: "▾"; font-size: 9px; color: var(--c-text-muted); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift); padding: 8px; min-width: 210px;
  opacity: 0; visibility: hidden; transition: all .2s var(--ease);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px); }
.dropdown a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 13px; }
.dropdown a:hover { background: var(--c-bg-blue); color: var(--c-accent); }

/* hamburger */
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--c-text); transition: .25s var(--ease); }
.nav__mobile { display: none; }

/* ---------- Trust Bar ---------- */
.trustbar {
  height: 36px; background: var(--c-bg-blue);
  border-bottom: 0.5px solid var(--c-fill-blue);
  display: flex; align-items: center; justify-content: center;
}
.trustbar__inner { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trustbar__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 400; color: var(--c-trustbar-text);
  letter-spacing: 0.3px;
}
.trustbar__item svg { width: 13px; height: 13px; stroke: var(--c-trustbar-text); flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 100px); display: flex; align-items: center; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s var(--ease);
}
.hero__slide.active { opacity: 1; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15,34,64,0.55) 0%, rgba(15,34,64,0) 35%),
    linear-gradient(105deg, rgba(15,34,64,0.88) 0%, rgba(15,34,64,0.55) 45%, rgba(15,34,64,0.15) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 560px; padding: 44px; color: #fff; }
.hero__content .label { color: var(--c-accent-light); margin-bottom: 20px; }
.hero__content h1 { color: #fff; margin-bottom: 0; }
.hero__content .deco-line { margin: 22px 0; }
.hero__subtitle { font-weight: 300; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 480px; }
.hero__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__checks { display: flex; flex-direction: column; gap: 8px; }
.hero__check { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.9); }
.hero__check svg { width: 16px; height: 16px; stroke: var(--c-accent-light); }
.hero__dots { position: absolute; bottom: 32px; left: 44px; z-index: 3; display: flex; gap: 8px; }
.hero__dot { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all .3s var(--ease); padding: 0; }
.hero__dot.active { width: 26px; background: var(--c-accent); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 30px; transition: transform .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.card:hover { transform: translateY(-2px); border-color: var(--c-border-hover); box-shadow: var(--shadow-lift); }
.card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--c-bg-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card__icon svg { width: 22px; height: 22px; stroke: var(--c-accent); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 0; }
.card__badge { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--c-accent); background: var(--c-fill-blue); padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; }

/* ---------- Use case / two-col ---------- */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.twocol__img img { border-radius: var(--radius); box-shadow: var(--shadow-lift); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.twocol--rev .twocol__img { order: 2; }
.twocol ul.checklist { margin-top: 18px; }
.checklist li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--c-text-2); font-size: 15px; }
.checklist li svg { width: 20px; height: 20px; stroke: var(--c-accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- Stats bar ---------- */
.statsbar { display: grid; grid-template-columns: repeat(4, 1fr); }
.statsbar__item { padding: 36px 24px; text-align: center; border-right: 1px solid var(--c-border); }
.statsbar__item:last-child { border-right: none; }
.statsbar__num { font-family: var(--font-display); font-size: 38px; font-weight: 500; color: var(--c-dark); line-height: 1; margin-bottom: 8px; }
.statsbar__label { font-size: 13px; color: var(--c-text-2); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.step { padding: 36px 30px; border-right: 1px solid var(--c-border); }
.step:last-child { border-right: none; }
.step__num { font-family: var(--font-display); font-size: 30px; color: var(--c-accent); font-weight: 500; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; margin-bottom: 0; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data th, table.data td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-border); }
table.data thead th { background: var(--c-dark); color: #fff; font-weight: 500; font-size: 13px; letter-spacing: 0.3px; }
table.data tbody tr:nth-child(even) { background: var(--c-alt); }
table.data tbody td:first-child { font-weight: 600; color: var(--c-text); }
table.data thead th:first-child { color: #fff; }
.table-note { font-size: 12px; color: var(--c-text-muted); margin-top: 10px; }
.tick { color: #16A34A; font-weight: 700; }
.cross { color: #DC2626; font-weight: 700; }

/* ---------- Reviews ---------- */
.review-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 26px; }
.review-card .stars { color: #F59E0B; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card .stars .empty { color: var(--c-fill-blue); }
.review-card p { font-size: 15px; color: var(--c-text); font-style: italic; margin-bottom: 16px; }
.review-card .who { font-size: 13px; color: var(--c-text-2); }
.review-card .who b { color: var(--c-text); font-weight: 500; font-style: normal; }

/* ---------- Disclaimer box ---------- */
.disclaimer {
  border-left: 3px solid var(--c-amber-bar); background: var(--c-amber-bg);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 24px 0;
}
.disclaimer .d-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-amber-label); display: block; margin-bottom: 6px; }
.disclaimer p { font-size: 12px; color: var(--c-amber-text); line-height: 1.7; margin-bottom: 0; }

/* ---------- CTA section ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--c-dark); color: rgba(255,255,255,0.6); border-top: 3px solid var(--c-accent); padding: 56px 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand .logo { color: #fff; margin-bottom: 14px; display: inline-block; }
.footer__brand p { color: rgba(255,255,255,0.55); font-size: 13px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer ul a:hover { color: var(--c-accent-light); }
.footer__disclosure { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.4); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.45); }
.footer__bottom a { color: rgba(255,255,255,0.55); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--c-text-muted); }
.breadcrumb a { color: var(--c-text-2); }
.breadcrumb span { margin: 0 8px; color: var(--c-text-muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--c-dark); color: #fff; padding: 56px 0 64px; }
.page-hero .label { color: var(--c-accent-light); margin-bottom: 18px; }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero .deco-line { margin: 22px 0 18px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; font-weight: 300; font-size: 18px; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; line-height: 1.8; }
.prose ul { margin: 0 0 16px 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--c-text-2); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 99px; background: var(--c-accent); }
.prose strong { color: var(--c-text); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 40px 22px 0; font-family: var(--font-body); font-size: 17px; font-weight: 500; color: var(--c-text); cursor: pointer; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--c-accent); font-weight: 300; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a div { padding-bottom: 22px; color: var(--c-text-2); font-size: 15px; line-height: 1.8; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calc__controls { background: var(--c-alt); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 30px; }
.calc__field { margin-bottom: 24px; }
.calc__field label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--c-text); margin-bottom: 10px; }
.calc__field label .val { color: var(--c-accent); font-weight: 600; }
.calc__field input[type=range] { width: 100%; accent-color: var(--c-accent); height: 6px; }
.calc__field select { width: 100%; padding: 11px 14px; border: 1px solid var(--c-border); border-radius: 8px; font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--c-text); }
.calc__results { background: var(--c-dark); color: #fff; border-radius: var(--radius); padding: 32px; }
.calc__result-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.calc__result-row:last-of-type { border-bottom: none; }
.calc__result-row .k { color: rgba(255,255,255,0.7); font-size: 14px; }
.calc__result-row .v { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.calc__result-row.total .v { color: var(--c-accent-light); }
.calc__hint { background: rgba(59,130,246,0.15); border-radius: 8px; padding: 12px 14px; font-size: 12px; color: var(--c-accent-light); margin-top: 18px; }

/* ---------- Rating system table accent ---------- */
.rating-aa { color: #16A34A; font-weight: 600; }

/* ---------- Back to top ---------- */
.back-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--c-dark); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s var(--ease); z-index: 90; box-shadow: var(--shadow-lift); }
.back-top.show { opacity: 1; visibility: visible; }
.back-top svg { width: 20px; height: 20px; stroke: #fff; }
.back-top:hover { background: var(--c-accent); transform: translateY(-2px); }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; animation: fadeUp .6s var(--ease) forwards; }
.stagger > *:nth-child(1){animation-delay:.05s}
.stagger > *:nth-child(2){animation-delay:.15s}
.stagger > *:nth-child(3){animation-delay:.25s}
.stagger > *:nth-child(4){animation-delay:.35s}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .twocol { gap: 36px; }
  .statsbar__num { font-size: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: block; position: fixed; inset: 64px 0 0 0; background: #fff; z-index: 99; padding: 24px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); }
  .nav__mobile.open { transform: translateX(0); }
  .nav__mobile a { display: block; padding: 14px 0; border-bottom: 1px solid var(--c-border); font-size: 16px; color: var(--c-text); }
  .nav__mobile .btn { width: 100%; margin-top: 18px; }
  .nav__mobile .m-group-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-text-muted); margin-top: 18px; padding-bottom: 6px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .statsbar { grid-template-columns: repeat(2, 1fr); }
  .statsbar__item:nth-child(2) { border-right: none; }
  .statsbar__item { border-bottom: 1px solid var(--c-border); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--c-border); }
  .step:last-child { border-bottom: none; }
  .twocol { grid-template-columns: 1fr; gap: 28px; }
  .twocol--rev .twocol__img { order: 0; }
  .calc { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero__content { padding: 28px 20px; }
  .hero__dots { left: 20px; }
  .footer__bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .statsbar { grid-template-columns: 1fr; }
  .statsbar__item { border-right: none; }
}

/* ---------- Hero with embedded form (2-col) ---------- */
.hero--form .hero__content { max-width: none; }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 48px 24px;
}
.hero__grid .hero__content { padding: 0; }
.hero-form-card {
  background: rgba(255,255,255,0.98);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 24px 60px rgba(15,34,64,0.35);
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-form-card__head { text-align: center; margin-bottom: 18px; }
.hero-form-card__head h2 {
  font-family: var(--font-body); font-weight: 600; font-size: 22px;
  color: var(--c-text); margin-bottom: 6px;
}
.hero-form-card__head p { font-size: 13px; color: var(--c-text-2); margin: 0; }
.hero-form-card__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-bg-blue); color: var(--c-trustbar-text);
  font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  padding: 5px 12px; border-radius: 99px; margin-bottom: 14px;
}
.hero-form-card__badge svg { width: 12px; height: 12px; stroke: var(--c-trustbar-text); }
.hero-form-embed { min-height: 240px; }
.hero-form-card__foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--c-border);
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.hero-form-card__foot span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--c-text-2);
}
.hero-form-card__foot svg { width: 13px; height: 13px; stroke: #16A34A; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; }
  .hero--form { min-height: auto; }
  .hero-form-card { order: -1; }
}

/* Anchor offset for sticky nav + trust bar when jumping to #apply */
#apply { scroll-margin-top: 110px; }

/* ---------- Review card avatars ---------- */
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer__av {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--c-border);
}
.reviewer__txt { line-height: 1.4; }

/* Footer column titles (semantic: not headings) */
.footer__col-title{font-size:14px;font-weight:600;color:var(--c-footer-title,#fff);margin:0 0 14px;letter-spacing:.3px}

/* ========== MOBILE UX IMPROVEMENTS (tap targets + readability) ========== */
@media (max-width: 768px) {
  /* Footer links: bigger tap targets (>=44px) + readable font */
  .footer ul li { margin-bottom: 4px; }
  .footer ul a {
    display: block;
    padding: 11px 0;
    font-size: 15px;
    line-height: 1.3;
    min-height: 44px;
    box-sizing: border-box;
  }
  .footer__bottom { font-size: 13px; gap: 8px; }
  .footer__bottom a { padding: 6px 0; display: inline-block; }
  .footer__disclosure { font-size: 12px; }

  /* Contextual prose links: easier to tap */
  .prose a, .container p a { padding: 2px 0; }

  /* Body text readability on mobile: min 16px for paragraphs */
  .prose p, .prose li, .container > p { font-size: 16px; line-height: 1.7; }

  /* Breadcrumb tap targets */
  .breadcrumb a { padding: 6px 2px; display: inline-block; }

  /* FAQ question buttons: comfortable tap height */
  .faq-q { min-height: 48px; padding-top: 14px; padding-bottom: 14px; }

  /* Table note + small labels: nudge up slightly for legibility */
  .table-note { font-size: 13px; }
}

/* Hero slider dots: bigger tap area on touch (keep visual size, expand hit zone) */
@media (max-width: 768px) {
  .hero__dot {
    position: relative;
  }
  .hero__dot::before {
    content: "";
    position: absolute;
    inset: -16px;
  }
}

/* Mobile: bump secondary text (cards, steps) + article link tap area */
@media (max-width: 768px) {
  .card p, .step p { font-size: 15px; line-height: 1.6; }
  /* Article body links: easier tap without breaking text flow */
  article p a, .blog-post a { padding: 1px 0; }
  /* Statsbar + small labels stay legible */
  .statsbar__label { font-size: 13px; }
}
