/* Asim Ali Reverse Mortgages — design system
   Built for readers 55+: large type, high contrast, big tap targets, calm motion. */

:root {
  --green-950: #0b2208;
  --green-900: #102f0b;
  --green-800: #17420f;
  --green-700: #1d5a10;
  --green-600: #237015;
  --green-500: #2f8a1d;
  --green-100: #e6f2df;
  --green-50: #f3f9ef;
  --yellow: #f8c81e;
  --yellow-600: #e0b000;
  --yellow-100: #fff4cc;
  --cream: #fffbea;
  --ink: #0f1d0b;
  --ink-2: #2b3a26;
  --line: #c9d8c1;
  --white: #ffffff;
  --danger: #a4161a;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(16, 47, 11, .12);
  --shadow-lg: 0 24px 60px rgba(16, 47, 11, .22);
  --font-head: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --step: 1;
  /* Content width grows with the screen (up to 1680px) so wide desktops aren't left with big empty margins */
  --wrap: min(1680px, 100vw - 2 * clamp(20px, 3.5vw, 72px));
}

html { font-size: calc(125% * var(--step)); scroll-behavior: smooth; }
html[data-size="lg"] { --step: 1.12; }
html[data-size="xl"] { --step: 1.25; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--green-50);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 750; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .45em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 860px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; background: var(--yellow); color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 700; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 56px; padding: .7em 1.4em;
  border-radius: 999px; font-family: var(--font-head); font-weight: 750; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .dot { width: 1.4em; height: 1.4em; border-radius: 50%; display: inline-grid; place-items: center; flex: none; }
.btn .dot svg { width: .8em; height: .8em; }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-800); color: #fff; box-shadow: var(--shadow); }
.btn-green .dot { background: var(--yellow); color: var(--green-900); }
.btn-yellow { background: var(--yellow); color: var(--green-950); }
.btn-yellow:hover { background: #ffd84a; color: var(--green-950); box-shadow: var(--shadow); }
.btn-yellow .dot { background: var(--green-800); color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--green-800); }
.btn-outline:hover { background: var(--green-100); }
.btn-ghost-light { color: #fff; background: transparent; padding-left: .2em; }
.btn-ghost-light .dot { width: 2.4em; height: 2.4em; background: var(--yellow); color: var(--green-900); }
.btn-ghost-light:hover { color: var(--yellow); }
.btn-block { width: 100%; justify-content: center; }

.pill {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .02em; padding: .35em 1em; border-radius: 999px;
  border: 2px solid var(--green-600); color: var(--green-800); background: #fff; margin-bottom: 1rem;
}
.pill.on-dark { border-color: var(--yellow); color: var(--yellow); background: rgba(0,0,0,.18); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green-950); color: #fff; font-size: .82rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .5em 1.5em; justify-content: space-between; align-items: center; padding: .45em 0; }
.topbar a { color: #fff; }
html, body { overflow-x: clip; }
@media (max-width: 700px) { .topbar-tag { display: none; } .topbar .wrap { justify-content: flex-end; } }
.textsize { display: flex; align-items: center; gap: .4em; }
.textsize button {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); border-radius: 8px;
  min-width: 44px; min-height: 40px; font-weight: 700; cursor: pointer; font-family: var(--font-head);
}
.textsize button[aria-pressed="true"] { background: var(--yellow); color: var(--green-950); border-color: var(--yellow); }
.textsize button:nth-of-type(2) { font-size: 1.1em; }
.textsize button:nth-of-type(3) { font-size: 1.25em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 2px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand { --logo-ring: var(--green-700); --logo-house: var(--yellow); --logo-house-line: var(--green-950); }
.brand b { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.brand span { display: block; font-size: .72rem; color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.nav a.navlink, .nav button.navlink, .header-cta .btn { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
.nav > ul > li { margin: 0; position: relative; }
.nav a.navlink, .nav button.navlink {
  display: inline-flex; align-items: center; gap: .3em; padding: .55em .8em; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; min-height: 48px;
}
.nav a.navlink:hover, .nav button.navlink:hover, .nav a[aria-current="page"] { background: var(--green-100); color: var(--green-900); }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; margin: .4rem 0 0; display: none;
}
.has-sub.open .submenu, .has-sub:focus-within .submenu { display: block; }
@media (hover: hover) { .has-sub:hover .submenu { display: block; } }
.submenu a { display: block; padding: .6em .9em; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; }
.submenu a:hover { background: var(--green-100); }
.submenu .sub-head { padding: .5em .9em .2em; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--green-700); font-weight: 800; }
.header-cta { display: flex; gap: .5rem; align-items: center; }
.menu-toggle { display: none; }

@media (max-width: 1380px) and (min-width: 1281px) { .nav a.navlink, .nav button.navlink { padding: .55em .6em; font-size: .85rem; } .site-header .brand > span > span { display: none; } }
@media (max-width: 1500px) and (min-width: 1281px) { .site-header .brand > span > span { display: none; } .site-header .brand b { white-space: normal; max-width: 8.5em; } }
@media (max-width: 1280px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; flex-direction: column; align-items: stretch;
    padding: 96px 20px 24px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; box-shadow: var(--shadow-lg); }
  .nav:not(.open) { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; }
  .nav a.navlink, .nav button.navlink { width: 100%; justify-content: space-between; font-size: 1.05rem; }
  .submenu { position: static; box-shadow: none; padding-left: 1rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .4em; z-index: 60; min-height: 52px; padding: .5em 1em; border-radius: 999px;
    border: 2px solid var(--green-700); background: #fff; font-weight: 800; font-family: var(--font-head); font-size: .95rem; color: var(--green-900); cursor: pointer; }
  .header-cta .btn-call-label { display: none; }
}
/* Same collapsed header, switched on by main.js whenever the full menu doesn't fit (narrow laptops, larger text sizes) */
html.nav-compact .nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; flex-direction: column; align-items: stretch;
    padding: 96px 20px 24px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; box-shadow: var(--shadow-lg); }
html.nav-compact .nav:not(.open) { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
html.nav-compact .nav.open { transform: none; visibility: visible; }
html.nav-compact .nav > ul { flex-direction: column; }
html.nav-compact .nav a.navlink, html.nav-compact .nav button.navlink { width: 100%; justify-content: space-between; font-size: 1.05rem; }
html.nav-compact .submenu { position: static; box-shadow: none; padding-left: 1rem; }
html.nav-compact .menu-toggle { display: inline-flex; align-items: center; gap: .4em; z-index: 60; min-height: 52px; padding: .5em 1em; border-radius: 999px;
    border: 2px solid var(--green-700); background: #fff; font-weight: 800; font-family: var(--font-head); font-size: .95rem; color: var(--green-900); cursor: pointer; }
html.nav-compact .header-cta .btn-call-label { display: none; }
@media (max-width: 560px) { .brand > span > span { display: none; } .site-header .brand { min-width: 0; flex: 1 1 auto; } .site-header .brand svg { width: 40px; height: 40px; } .site-header .brand b { white-space: normal; font-size: min(1.05rem, 20px); } .header-cta { flex: none; } .menu-toggle, html.nav-compact .menu-toggle { font-size: min(.95rem, 18px); } .header-cta .btn-green { display: none; } .header-cta .btn { padding: .6em .9em; } .call-bar .btn { white-space: nowrap; font-size: min(.95rem, 19px); padding: .6em .8em; } }

/* ---------- Hero ---------- */
.hero-shell { padding: 22px 0 0; }
.hero {
  position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; color: #fff;
  background: var(--green-900); min-height: 600px; display: grid; align-items: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero > .hero-bg { left: 40%; }
.hero > .hero-bg img { object-position: 50% 35%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 12% 110%, rgba(248,200,30,.16), transparent 40%),
    linear-gradient(90deg, var(--green-900) 0%, var(--green-900) 40%, rgba(16,47,11,.82) 46%, rgba(16,47,11,.25) 62%, rgba(16,47,11,0) 78%);
}
.hero-inner { position: relative; z-index: 2; padding: 72px clamp(20px, 5vw, 64px) 96px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lede { font-size: 1.12rem; max-width: 34em; color: #f1f7ee; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; align-items: center; margin-top: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.8rem; font-size: .9rem; color: #e8f2e3; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45em; }
.hero-trust svg { width: 1.2em; height: 1.2em; color: var(--yellow); }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
@media (max-width: 760px) {
  .hero { min-height: 0; display: block; }
  .hero::before { display: none; }
  .hero > .hero-bg { position: relative; left: 0; height: 280px; }
  .hero > .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,47,11,0) 55%, var(--green-900) 100%); }
  .hero > .hero-bg img { object-position: 50% 30%; }
  .hero-inner { padding: 8px 20px 40px; }
  .hero .actions .btn { width: 100%; justify-content: center; }
}

/* Full-width home hero: edge to edge, text lined up with the page content */
.hero-full { padding-top: 0; }
.hero-full .hero { border-radius: 0; min-height: min(78vh, 760px); }
.hero-full .hero-inner { max-width: none; padding-left: max(20px, calc((100% - var(--wrap)) / 2)); padding-right: 50%; }
.hero-full .help-strip { border-radius: 0; }
.hero-full .help-yellow { padding-left: max(20px, calc((100vw - var(--wrap)) / 2)); }
@media (max-width: 1100px) { .hero-full .hero-inner { padding-right: 42%; } }
@media (max-width: 760px) { .hero-full .hero-inner { padding: 8px 20px 40px; } .hero-full .help-yellow { padding-left: 20px; } }

/* Edge-to-edge bands: the colour runs the full screen width while the content keeps the page's reading width */
.panel.full, .process.full, .banner.full, .page-hero.full, .contact-strip.full {
  margin-inline: calc(50% - 50vw); border-radius: 0;
  padding-inline: max(20px, calc(50vw - var(--wrap) / 2));
}
.page-hero.full { margin-top: 0; }
.page-hero.full .hero-inner, .banner.full .banner-inner { padding-left: 0; padding-right: 0; }
.page-hero.full .hero-inner { max-width: 900px; }
.page-hero.full::before { background: linear-gradient(90deg, rgba(11,34,8,.97) 0%, rgba(11,34,8,.9) 40%, rgba(11,34,8,.4) 75%, rgba(11,34,8,.15) 100%); }
.reviews-ticker { margin-inline: calc(-1 * max(20px, calc(50vw - var(--wrap) / 2))); }
.reviews-ticker .ticker-track { padding-inline: max(20px, calc(50vw - var(--wrap) / 2)); }
.section:has(> .wrap > .full) { padding-block: 0; }
.footer-shell { margin-top: 0; }
main > :last-child:not(:has(.full)) { padding-bottom: clamp(48px, 7vw, 96px); }

/* Page hero (inner pages) */
.page-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; background: var(--green-900); margin-top: 22px; }
.page-hero .hero-bg img { object-position: 75% 35%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,34,8,.97) 0%, rgba(11,34,8,.9) 45%, rgba(11,34,8,.45) 100%); }
.page-hero .hero-inner { padding: 56px clamp(20px, 5vw, 64px) 60px; max-width: 900px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero .lede { color: #eef6ea; font-size: 1.08rem; }
.crumbs { position: relative; z-index: 2; font-size: .82rem; margin-bottom: 1rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3em; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: .35em; color: var(--yellow); }
.crumbs a { color: #fff; }
.byline { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; font-size: .88rem; color: #e8f2e3; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); }
.byline a { color: #fff; font-weight: 700; }

/* ---------- Yellow help strip + featured marquee ---------- */
.help-strip { display: grid; grid-template-columns: minmax(300px, 44%) 1fr; background: var(--green-700); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.help-yellow { background: var(--yellow); color: var(--green-950); padding: 26px clamp(20px, 5vw, 64px); clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); padding-right: 14%; }
.help-yellow h2 { font-size: 1.25rem; margin: 0 0 .5rem; color: var(--green-950); }
.help-yellow .contact-line { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-weight: 700; }
.help-yellow a { color: var(--green-950); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.help-yellow a:hover { text-decoration: underline; }
.help-yellow { min-width: 0; }
.help-yellow .contact-line a { min-width: 0; overflow-wrap: anywhere; }
.ic { width: 1.6em; height: 1.6em; border-radius: 50%; display: inline-grid; place-items: center; background: var(--green-700); color: #fff; flex: none; }
.ic svg { width: .85em; height: .85em; }
.featured { display: flex; align-items: center; overflow: hidden; position: relative; padding: 0 0 0 1rem; }
.featured .label { color: var(--yellow); font-family: var(--font-head); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; margin-right: 1rem; }
.marquee { display: flex; gap: 2.2rem; animation: marquee 38s linear infinite; width: max-content; }
.marquee-mask { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee img { height: 66px; width: 66px; object-fit: contain; background: #fff; border-radius: 14px; padding: 4px; }
.marquee { gap: 1rem; padding: 14px 0; }
.featured:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; } }
@media (max-width: 860px) {
  .help-strip { grid-template-columns: 1fr; }
  .help-yellow { clip-path: none; padding-right: 20px; }
  .featured { padding: 18px 0 18px 20px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-white { background: #fff; }
.section-cream { background: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head p { max-width: 38em; color: var(--ink-2); margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { margin: 0; }
.panel { border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); }
.panel-dark { background: var(--green-900); color: #f1f7ee; }
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark a:not(.btn) { color: var(--yellow); }
.panel-green { background: var(--green-700); color: #fff; }
.panel-green h2, .panel-green h3 { color: #fff; }
.panel-white { background: #fff; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Numbered service cards (carousel) */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel-track::-webkit-scrollbar { display: none; }
@media (max-width: 980px) { .carousel-track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .carousel-track { grid-auto-columns: 86%; } }
.carousel-nav { display: flex; gap: .6rem; }
.carousel-nav button {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--green-600); background: #fff; color: var(--green-800);
  cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.carousel-nav button:last-child { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.carousel-nav button:hover { background: var(--green-100); color: var(--green-900); }
.carousel-nav svg { width: 22px; height: 22px; }
.svc-card {
  scroll-snap-align: start; background: var(--green-700); color: #fff; border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; min-height: 330px; transition: transform .25s ease, box-shadow .25s ease, background .25s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: var(--green-800); }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.svc-icon { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(248,200,30,.6); display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--yellow); }
.svc-icon svg { width: 30px; height: 30px; }
.svc-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 500; color: rgba(255,255,255,.55); line-height: 1; }
.svc-card h3 { color: #fff; font-size: 1.3rem; }
.svc-card p { color: #e3efdc; font-size: .95rem; flex: 1; }
.svc-card a.more { color: var(--yellow); font-weight: 800; font-family: var(--font-head); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.svc-card a.more::after { content: ""; position: absolute; inset: 0; }
.svc-card { position: relative; }
.svc-card a.more .dot { width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--yellow); color: var(--green-900); display: inline-grid; place-items: center; }
.svc-card a.more svg { width: .75em; height: .75em; }

/* About panel with badge */
.photo-badge { position: relative; }
.photo-badge > img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.badge-yellow {
  position: absolute; right: -14px; bottom: 28px; background: var(--yellow); color: var(--green-950); border-radius: 16px;
  padding: 16px 18px; font-family: var(--font-head); font-weight: 800; max-width: 200px; line-height: 1.2; box-shadow: var(--shadow-lg);
}
.badge-yellow b { display: block; font-size: 2.2rem; line-height: 1; }
@media (max-width: 760px) { .badge-yellow { right: 12px; } }
.checks { list-style: none; padding: 0; margin: 1.2rem 0; }
.checks li { position: relative; padding-left: 2.4em; margin-bottom: 1em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.6em; height: 1.6em; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8c81e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/62% no-repeat;
}
.panel-dark .checks li::before { background-color: rgba(248,200,30,.16); }
.checks li strong { display: block; font-family: var(--font-head); }
.cred-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.4rem 0; }
.cred { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 16px; font-size: .88rem; }
.cred b { display: block; color: var(--yellow); font-family: var(--font-head); font-size: 1rem; }
@media (max-width: 560px) { .cred-list { grid-template-columns: 1fr; } }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 1.6rem 0; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 6px solid var(--yellow); }
.stat b { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--green-800); line-height: 1.05; }
.stat span { display: block; font-size: .92rem; color: var(--ink-2); margin-top: .4rem; }
.stat small { display: block; font-size: .75rem; color: var(--ink-2); margin-top: .5rem; }

/* Myth flip cards */
.myth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .myth-grid { grid-template-columns: 1fr; } }
.myth { perspective: 1400px; }
.myth-inner { position: relative; display: grid; width: 100%; height: 100%; transition: transform .6s ease; transform-style: preserve-3d; }
.myth.flipped .myth-inner { transform: rotateY(180deg); }
.myth-face { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-height: 280px; }
.myth-front { background: #fff; border: 3px solid var(--line); }
.myth-back { background: var(--green-800); color: #fff; transform: rotateY(180deg); }
.myth-tag { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.myth-front .myth-tag { color: var(--danger); }
.myth-back .myth-tag { color: var(--yellow); }
.myth-face h3 { margin-top: .5rem; }
.myth-back h3 { color: #fff; }
.myth-face p { font-size: .95rem; flex: 1; }
.myth button { align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .myth-inner { transition: none; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.steps > li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; margin: 0; }
.steps > li::before { content: counter(s); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); color: var(--green-950); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem; }
.steps > li h3 { font-size: 1.15rem; }
.steps > li p { font-size: .95rem; margin: 0; color: var(--ink-2); }

/* Reviews */
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 22px) / 2); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .review-track { grid-auto-columns: 92%; } }
.review { scroll-snap-align: start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 28px; color: #fff; display: flex; flex-direction: column; }
.stars { display: inline-block; box-sizing: content-box; width: 105px; height: 19px; padding: 6px 10px; border-radius: 999px; margin-bottom: 1rem; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f8c81e' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 50% / 21px 19px repeat-x content-box, rgba(0,0,0,.25); background-clip: content-box, padding-box; }
.review blockquote { margin: 0 0 1.2rem; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; line-height: 1.4; flex: 1; }
.reviewer { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); color: var(--green-950); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: 1.2rem; }
.reviewer b { display: block; }
.reviewer span { font-size: .85rem; color: #d8e8d0; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: center; color: #fff; margin-top: 1.4rem; }
.rating-summary b { font-family: var(--font-head); font-size: 2.2rem; color: var(--yellow); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 1.4rem; }
.dots button { width: 14px; height: 14px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { background: var(--yellow); width: 30px; border-radius: 99px; }

/* Scrolling rows (reviews, lenders): slow auto-scroll, pause button, swipe and arrows */
.ticker { position: relative; }
.ticker-viewport { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-viewport::-webkit-scrollbar { display: none; }
.ticker-viewport:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.ticker-track { display: flex; gap: 22px; list-style: none; margin: 0; padding: 6px 0; width: max-content; }
.ticker-track > li { flex: none; margin: 0; }
.ticker-pause { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 2px solid var(--yellow); background: transparent; color: var(--yellow); font-size: .8rem; font-weight: 800; cursor: pointer; display: grid; place-items: center; }
.ticker-pause[aria-pressed="true"] { background: var(--yellow); color: var(--green-950); }
.ticker-controls .ticker-pause { width: 56px; height: 56px; border-color: #fff; color: #fff; }
.ticker-controls .ticker-pause[aria-pressed="true"] { background: #fff; color: var(--green-900); }
.panel-green .carousel-nav button { border-color: #fff; background: transparent; color: #fff; }
.panel-green .carousel-nav button:last-child { background: var(--yellow); border-color: var(--yellow); color: var(--green-950); }
.reviews-ticker { margin: 0 calc(-1 * clamp(28px, 5vw, 64px)); }
.reviews-ticker .ticker-track { padding: 6px clamp(28px, 5vw, 64px); }
.reviews-ticker .review { width: min(430px, 80vw); }

.lenders-ticker { display: flex; align-items: center; gap: 1rem; padding: 14px 18px 14px 1rem; min-width: 0; }
.lenders-ticker .label { font-family: var(--font-head); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; max-width: 7.5em; white-space: normal; line-height: 1.2; color: var(--green-800); }
.lenders-ticker.on-dark .label { color: var(--yellow); }
.lenders-ticker .ticker-viewport { flex: 1; min-width: 0; }
.lenders-ticker .ticker-track { gap: 12px; }
.lender-chip { background: #fff; border-radius: 14px; padding: 10px 18px; min-width: 230px; display: flex; flex-direction: column; justify-content: center; border: 2px solid var(--line); }
.on-dark .lender-chip { border-color: transparent; }
.lender-chip b { font-family: var(--font-head); font-size: 1.08rem; color: var(--green-900); line-height: 1.2; }
.lender-chip img { height: 46px; width: 180px; object-fit: contain; object-position: left center; margin-bottom: 4px; }
.lender-chip span { font-size: .78rem; color: var(--ink-2); font-weight: 700; }
.lender-chip small { font-size: .68rem; color: var(--green-700); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.lenders-ticker:not(.on-dark) { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); }
.prose .lenders-ticker { background: var(--green-50); margin: 1.6em 0; }
.lenders-ticker:not(.on-dark) .ticker-pause { border-color: var(--green-700); color: var(--green-700); }
.lenders-ticker:not(.on-dark) .ticker-pause[aria-pressed="true"] { background: var(--green-700); color: #fff; }
@media (max-width: 860px) { .lenders-ticker { padding: 16px 20px; flex-wrap: wrap; } .lenders-ticker .label { max-width: none; } .lenders-ticker .ticker-viewport { flex-basis: 100%; order: 3; } .lenders-ticker .ticker-pause { margin-left: auto; } }

/* Featured-in cards */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.feat-card { background: #fff; border-radius: var(--radius-sm); border: 2px solid var(--line); padding: 18px; display: grid; place-items: center; gap: .5rem; text-align: center; min-height: 150px; transition: transform .2s, border-color .2s; }
.feat-card:hover { transform: translateY(-4px); border-color: var(--green-600); }
.feat-card img { height: 64px; width: auto; object-fit: contain; filter: grayscale(.2); }
.feat-card span { font-size: .8rem; font-weight: 700; color: var(--ink-2); }

/* Article / guide cards */
.post-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.post-grid .post-card:first-child { grid-row: span 2; }
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-grid .post-card:first-child { grid-row: auto; grid-column: span 2; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } .post-grid .post-card:first-child { grid-column: auto; } }
.post-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 250px; display: flex; align-items: flex-end; color: #fff; background: var(--green-800); isolation: isolate; }
.post-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.post-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,34,8,.05) 20%, rgba(11,34,8,.94) 78%); }
.post-card:hover img { transform: scale(1.05); }
.post-body { padding: 22px; }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; font-size: .78rem; }
.post-meta .tag { border: 1.5px solid var(--yellow); color: var(--yellow); border-radius: 999px; padding: .15em .8em; font-weight: 700; }
.post-meta time { color: var(--yellow); font-weight: 700; }
.post-card h3 { color: #fff; font-size: 1.2rem; margin: 0; }
.post-card:first-child h3 { font-size: 1.6rem; }
.post-card a { color: #fff; text-decoration: none; }
.post-card a::after { content: ""; position: absolute; inset: 0; }
.post-card a:focus-visible { outline: none; }
.post-card:focus-within { outline: 4px solid var(--yellow); outline-offset: 3px; }

.list-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.list-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; position: relative; }
.list-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.list-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.list-card .lc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.list-card .lc-tag { font-size: .75rem; font-weight: 800; color: var(--green-700); text-transform: uppercase; letter-spacing: .06em; }
.list-card h3 { font-size: 1.15rem; margin: .4rem 0 .5rem; }
.list-card h3 a { color: var(--ink); text-decoration: none; }
.list-card h3 a::after { content: ""; position: absolute; inset: 0; }
.list-card p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* Location cards */
.loc-card { position: relative; border-radius: var(--radius); background: #fff; padding: 26px; box-shadow: var(--shadow); border-left: 8px solid var(--yellow); }
.loc-card h3 a { color: var(--ink); text-decoration: none; }
.loc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.loc-card ul { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.loc-card li { margin: 0; font-size: .82rem; background: var(--green-100); color: var(--green-900); padding: .25em .8em; border-radius: 999px; font-weight: 700; position: relative; z-index: 1; }
.loc-card li a { color: var(--green-900); text-decoration: none; }

/* ---------- Article body ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 24vw, 420px); gap: 48px; align-items: start; }
@media (max-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.article-layout > *, .calc > *, .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.reviewed span { overflow-wrap: anywhere; }
.prose { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.8em; padding-top: .2em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; scroll-margin-top: 110px; }
.prose p, .prose li { font-size: 1.02rem; }
/* Keep reading lines comfortable on wide screens; tables, cards and callouts still use the full column */
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3 { max-width: 65ch; }
.prose > .bluf { max-width: 60ch; }
.prose a { font-weight: 700; }
.bluf { background: var(--yellow-100); border-left: 8px solid var(--yellow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 0 0 1.4em; font-size: 1.05rem; }
.bluf::before { content: "Short answer"; display: block; font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-800); margin-bottom: .3rem; }
.callout { border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.4em 0; background: var(--green-50); border: 2px solid var(--green-100); }
.callout > *:last-child { margin-bottom: 0; }
.callout.tip { background: var(--green-50); border-color: var(--green-500); }
.callout.warn { background: #fff4f2; border-color: #e6a39b; }
.callout.note { background: var(--cream); border-color: var(--yellow); }
.callout-title { font-family: var(--font-head); font-weight: 800; display: block; margin-bottom: .3rem; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: var(--radius-sm); border: 2px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; background: #fff; }
table.data caption { text-align: left; font-family: var(--font-head); font-weight: 800; padding: 14px 16px; background: var(--green-100); color: var(--green-900); }
table.data th, table.data td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th { background: var(--green-800); color: #fff; font-family: var(--font-head); }
table.data tbody th { background: var(--green-50); font-weight: 700; }
table.data tbody tr:last-child > * { border-bottom: 0; }
.prose ol.steps-list { counter-reset: s; list-style: none; padding: 0; }
.prose ol.steps-list > li { counter-increment: s; position: relative; padding-left: 3em; margin-bottom: 1.2em; }
.prose ol.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--yellow); color: var(--green-950); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); }
.prose .stat-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.prose .stat b { font-size: clamp(1.5rem, 2.4vw, 1.85rem); overflow-wrap: anywhere; }
.prose .stat-grid .stat { box-shadow: none; border: 2px solid var(--line); border-top: 6px solid var(--yellow); }
.faq { margin: 1.4em 0; }
.faq details { border: 2px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 56px 16px 20px; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; list-style: none; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; background: var(--yellow); color: var(--green-950); }
.faq details > div { padding: 0 20px 18px; }
.sources { margin-top: 2.4em; padding-top: 1.4em; border-top: 2px solid var(--line); font-size: .88rem; }
.sources h2 { font-size: 1.15rem; margin-top: 0; }
.sources li { margin-bottom: .4em; overflow-wrap: anywhere; }
.reviewed { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .85rem; color: var(--ink-2); margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 2px dashed var(--line); }
.reviewed b { color: var(--ink); }

/* Sidebar */
.sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
@media (max-width: 1080px) { .sidebar { position: static; } }
.side-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card h2, .side-card h3 { font-size: 1.15rem; }
.side-card.dark { background: var(--green-800); color: #fff; }
.side-card.dark h2, .side-card.dark h3 { color: #fff; }
.side-card.dark a:not(.btn) { color: var(--yellow); }
.toc ol { padding-left: 1.2em; margin: 0; font-size: .9rem; }
.toc a { color: var(--ink); font-weight: 700; text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--green-700); text-decoration: underline; }
.mini-person { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.mini-person img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); }
.mini-person b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.mini-person span { font-size: .8rem; color: #d8e8d0; }

/* Inline CTA */
.cta-inline { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; justify-content: space-between; background: var(--green-800); color: #fff; border-radius: var(--radius); padding: 24px 28px; margin: 2em 0; }
.cta-inline p { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; max-width: 26em; }
.cta-inline .cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Forms, quiz, calculator ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); color: var(--ink); }
.field { margin-bottom: 1.2rem; }
.field label, .field legend { display: block; font-family: var(--font-head); font-weight: 800; margin-bottom: .4rem; font-size: 1rem; }
.field .hint { display: block; font-size: .85rem; color: var(--ink-2); margin: -.2rem 0 .5rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 60px; padding: .6em .9em; font: inherit; font-size: 1.05rem; color: var(--ink);
  border: 2px solid #8fa685; border-radius: 14px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); outline: 4px solid rgba(248,200,30,.7); outline-offset: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 60px; padding: .5em .8em; border: 2px solid #8fa685; border-radius: 14px; font-weight: 700; background: #fff; transition: background .15s, border-color .15s; }
.choice input:checked + span { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.choice input:focus-visible + span { outline: 4px solid var(--yellow); outline-offset: 2px; }
.choice span:hover { border-color: var(--green-700); }
.check-line { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; margin: .8rem 0; }
.check-line input { width: 28px; height: 28px; flex: none; margin: 0; accent-color: var(--green-700); }
.privacy-note { font-size: .82rem; color: var(--ink-2); margin-top: .8rem; }
.lead-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; background: var(--green-100); border-radius: var(--radius-sm); padding: 18px; font-weight: 700; }
.form-success.show { display: block; }
.error-msg { color: var(--danger); font-weight: 700; font-size: .9rem; margin-top: .3rem; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .error-msg { display: block; }

.quiz-progress { height: 12px; background: var(--green-100); border-radius: 99px; overflow: hidden; margin-bottom: 1.4rem; }
.quiz-progress span { display: block; height: 100%; width: 25%; background: var(--yellow); transition: width .35s ease; }
.quiz-step { display: none; animation: fadeUp .35s ease; }
.quiz-step.active { display: block; }
.quiz-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.quiz-result h3 { color: var(--green-800); }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-inputs { background: #fff; padding: clamp(24px, 4vw, 44px); }
.calc-output { background: var(--green-900); color: #fff; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.calc-output h2, .calc-output h3 { color: #fff; }
.range-row { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.range-row input[type="range"] { flex: 1 1 160px; min-width: 0; accent-color: var(--green-700); height: 40px; }
.range-row output { margin-left: auto; min-width: 4.5em; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--green-800); text-align: right; }
.big-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--yellow); line-height: 1.05; margin: .2rem 0 .4rem; }
.calc-output .sub { color: #d8e8d0; font-size: .92rem; }
.calc-flags { list-style: none; padding: 0; margin: 1rem 0; }
.calc-flags li { background: rgba(248,200,30,.14); border-left: 5px solid var(--yellow); padding: 10px 14px; border-radius: 0 10px 10px 0; font-size: .9rem; }
.bar-chart { display: grid; gap: 10px; margin: 1rem 0; }
.bar-row { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; gap: .6rem; align-items: center; font-size: .88rem; }
.bar-row > * { min-width: 0; overflow-wrap: anywhere; }
.bar { height: 22px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--yellow); border-radius: 99px; transition: width .6s ease; }
.bar-row b { text-align: right; font-family: var(--font-head); }
.calc-mini { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); }

/* ---------- Contact strip & footer ---------- */
.contact-strip { background: var(--yellow); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 30px clamp(20px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; color: var(--green-950); position: relative; overflow: hidden; }
.contact-strip::after { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23102f0b' stroke-width='2'%3E%3Cpath d='M20 60 L40 42 L60 60 V82 H20 Z'/%3E%3Cpath d='M78 30 c8 0 14 6 14 14 0 10-14 22-14 22 s-14-12-14-22 c0-8 6-14 14-14z'/%3E%3Ccircle cx='96' cy='96' r='10'/%3E%3C/svg%3E"); }
.contact-strip .item { display: flex; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.contact-strip .ic { width: 58px; height: 58px; display: inline-grid; place-items: center; flex: none; }
.contact-strip .ic svg { width: 26px; height: 26px; }
.contact-strip b { font-family: var(--font-head); font-size: 1.1rem; display: block; }
.contact-strip a { color: var(--green-950); font-weight: 700; }
.contact-strip span { font-size: .9rem; display: block; }
@media (max-width: 860px) { .contact-strip { grid-template-columns: 1fr; } }
.site-footer { background: var(--green-950); color: #dfeadb; padding: 56px 0 28px; font-size: .9rem; }
.footer-shell { margin-top: clamp(48px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer .brand { color: #fff; --logo-ring: var(--yellow); --logo-house: #fff; --logo-house-line: #fff; }
.site-footer .brand span { color: #c7d9c0; }
.site-footer .brand b, .site-footer .brand span { white-space: normal; }
.footer-grid > * { min-width: 0; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--yellow); }
.socials svg { width: 20px; height: 20px; }
.compliance { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .8rem; color: #c7d9c0; line-height: 1.6; }
.compliance p { margin-bottom: .6em; }
.compliance strong { color: #fff; }
.compliance ul { margin: 0 0 .6em 1.2em; padding: 0; list-style: disc; }
.compliance li { margin-bottom: .3em; }
.compliance .footer-id { color: #fff; font-weight: 700; margin-top: 1em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 18px; font-size: .8rem; color: #c7d9c0; }

/* Sticky mobile call bar */
.call-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; gap: 10px; }
.call-bar .btn { flex: 1 1 0; min-width: 0; justify-content: center; box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .call-bar { display: flex; } body { padding-bottom: 84px; } }

/* Back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--green-700); color: #fff; border: 3px solid var(--yellow); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .to-top { bottom: 96px; } }

/* ---------- Motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
/* Hero text is never hidden by animation (it is the largest paint); only the photo eases in. */
.hero-bg img { animation: heroZoom 1.6s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .btn, .svc-card, .list-card, .post-card img, .feat-card { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Process band (green, icon steps) */
.process { background: var(--green-700); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); }
.process h2 { color: #fff; }
.process-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.2rem; }
.process-rating { text-align: right; }
.process-rating b { font-family: var(--font-head); font-size: 2.4rem; color: #fff; }
.process-rating .stars { background-color: transparent; padding: 0; margin: 0; }
.rating-summary .stars { margin: 0; }
.process-rating small { display: block; color: #d8e8d0; font-size: .85rem; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }
.process-steps li { margin: 0; }
.process-steps .p-icon { display: block; width: 64px; height: 64px; color: var(--yellow); margin-bottom: .8rem; }
.process-steps .p-icon svg { width: 100%; height: 100%; }
.process-steps h3 { color: #fff; font-size: 1.12rem; }
.process-steps p { color: #e3efdc; font-size: .93rem; margin: 0; }

/* Who-we-help photo cards with yellow label */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .people-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .people-grid { grid-template-columns: 1fr; } }
.people-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.4; background: var(--green-800); }
.people-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.people-card:hover img { transform: scale(1.05); }
.people-label { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--green-950); padding: 14px 18px; border-radius: 0 16px 0 0; max-width: 80%; }
.people-label small { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.people-label b { display: block; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.2; }
.people-label a { color: var(--green-950); text-decoration: none; }
.people-label a::after { content: ""; position: absolute; inset: 0; }

/* Banner with yellow box */
.banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; display: grid; align-items: center; color: #fff; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,34,8,.75), rgba(11,34,8,.15)); z-index: 1; }
.banner-inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(28px, 5vw, 64px); width: 100%; }
.banner-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; max-width: 9em; line-height: 1.05; }
.banner-box { background: var(--yellow); color: var(--green-950); border-radius: var(--radius); padding: 28px; max-width: 440px; box-shadow: var(--shadow-lg); }
.banner-box h2 { color: var(--green-950); font-size: 1.5rem; }
.banner-box p { font-size: .95rem; }

/* Language note */
.lang-switch { color: #fff; font-weight: 700; }

/* Print: guides are often printed for family */
@media print {
  .topbar, .site-header, .call-bar, .to-top, .sidebar, .contact-strip, .cta-inline, .help-strip, .site-footer .footer-grid { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .page-hero { color: #000; background: none; } .page-hero::before, .page-hero .hero-bg { display: none; }
  .page-hero h1, .page-hero .lede, .crumbs a, .byline { color: #000; }
  .prose { box-shadow: none; padding: 0; }
  a { color: #000; }
}

/* ---------- Speed, tap delay and phone fixes (audit 2026-11-13) ---------- */
/* Skip layout and paint for sections far below the screen until they are needed.
   This keeps taps (and the text-size switch) fast on long pages. */
main > section:nth-of-type(n+3), main > .section:nth-of-type(n+3) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* No double-tap zoom wait on buttons and links */
a, button, input, select, label, summary, [role="button"] { touch-action: manipulation; }
/* Tap targets at least 44 x 44 px */
.textsize button { min-height: 44px; }
.range-row input[type="range"] { height: 44px; }
.site-footer li a, .side-card li a, .toc li a, .socials a { display: inline-block; padding-block: .45em; }
.site-footer li { margin-bottom: .1em; }
.svc-card a.more { min-height: 44px; }
.crumbs a { display: inline-block; padding-block: .35em; }
.people-label a, .loc-card li a { display: inline-block; padding-block: .3em; }
/* Small print no smaller than 15 px */
.stat small, .lender-chip small, .post-meta, .people-label small, .reviewer span, .calc-flags li, .privacy-note, .compliance, .footer-bottom { font-size: max(.75rem, 15px); }
.lender-chip span { font-size: max(.8rem, 15px); }
.contact-strip a, .help-yellow a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a { padding-block: .6em; }
.socials a { width: 48px; height: 48px; padding: 0; }
.post-card a, .list-card h3 a, .loc-card h3 a { display: inline-block; padding-block: .2em; }
.byline a { display: inline-block; padding-block: .6em; }
.loc-card li a { padding: .5em .2em; }
.toc li a { display: block; padding-block: .35em; }
.toc li { margin-bottom: .1em; }

/* Tap targets: footer legal links and stand-alone related links get a full 44px row */
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.checks li > a:only-child, .lc-body h3 > a, .list-card h3 > a { display: inline-flex; align-items: center; min-height: 44px; }
