/* Sold With Financing site styles.
   One file for every page. Colors live in the :root tokens below; change a
   token here and it changes everywhere. Light theme only, by design. */

:root {
  --navy: #0B1F3A;
  --navy-2: #132C4F;
  --navy-3: #1F4A78;
  --gold: #D4A017;
  --gold-hover: #E2B22E;
  --gold-deep: #8A6410;
  --paper: #FBFAF7;
  --wash: #F4F2EC;
  --card: #FFFFFF;
  --ink: #16202E;
  --body: #3D4A58;
  --muted: #5A6773;
  --line: #E2E0DA;
  --ok: #1D6B45;
  --error: #B42318;

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 12px 32px rgba(11, 31, 58, .10);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.12em; color: var(--body); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--wash { background: var(--wash); }
.section--navy { background: var(--navy); color: #D6DEE8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 16px; top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.2em; fill: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  font: 700 1rem/1.2 var(--font-display); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, transform .1s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn--outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--outline:hover { border-color: #fff; color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 40px; height: auto; }
.brand-name { font: 800 1.12rem/1 var(--font-display); letter-spacing: -0.02em; }
.brand-name span { display: block; font: 600 .66rem/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: none; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary { display: block; padding: 8px 10px; white-space: nowrap; font: 600 .95rem/1 var(--font-body); color: var(--ink); text-decoration: none; border-radius: 6px; cursor: pointer; }
.nav a:hover, .nav summary:hover { background: var(--wash); color: var(--navy); }
.nav details { position: relative; }
.nav summary { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav summary::-webkit-details-marker { display: none; }
.nav .dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; }
.header-cta { display: none; align-items: center; gap: 16px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 6px; font: 700 1rem/1 var(--font-display); color: var(--navy); text-decoration: none; white-space: nowrap; }
.menu-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); color: var(--navy); cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 8px var(--gutter) 24px; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.mobile-nav .sub a { padding-left: 20px; font-weight: 500; color: var(--body); }
@media (min-width: 1080px) {
  .nav, .header-cta { display: flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}
@media (min-width: 1080px) and (max-width: 1279px) { .header-phone { display: none; } }

/* Hero */
.hero { position: relative; color: #E4EAF1; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,31,58,.94) 0%, rgba(11,31,58,.86) 48%, rgba(11,31,58,.70) 100%); }
.hero .wrap { display: grid; gap: 32px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 88px); }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: 56px; } }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { color: #D6DEE8; max-width: 46ch; }
.eyebrow { display: inline-block; font: 700 .78rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: #fff; font-weight: 600; }
.hero-points .icon { color: var(--gold); margin-top: 3px; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.hero-phone strong { font-family: var(--font-display); }
.hero-phone:hover { color: var(--gold); }

/* Page hero (no photo), used on legal and utility pages */
.page-hero { background: var(--navy); color: #D6DEE8; padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.breadcrumbs { font-size: .875rem; margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: inherit; }
.hero .breadcrumbs, .page-hero .breadcrumbs { color: #AFC0D3; }

/* Lead form card */
.form-card { background: var(--card); color: var(--body); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.lead-form .field { display: grid; gap: 6px; margin-bottom: 14px; }
.lead-form label { font: 600 .92rem/1.3 var(--font-body); color: var(--ink); }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email], .lead-form select {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.3 var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid #C9CED6; border-radius: var(--radius-sm); appearance: none;
}
.lead-form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--navy-3); outline: 3px solid rgba(31, 74, 120, .2); outline-offset: 0; }
.lead-form .row-2 { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.lead-form [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .85rem; min-height: 0; }
.field-error:empty { display: none; }
.lead-form .hint { font-size: .82rem; color: var(--muted); margin: -6px 0 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; line-height: 1.45; color: var(--muted); margin: 4px 0 16px; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--navy); }
.consent a { color: var(--muted); }
.form-back { background: none; border: 0; color: var(--navy-3); text-decoration: underline; font: 600 .9rem var(--font-body); cursor: pointer; padding: 10px 0 0; display: block; margin: 0 auto; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: #FDECEA; color: var(--error); font-size: .92rem; }
.form-status:empty { display: none; }
.js .lead-form[data-step="1"] .step-2, .js .lead-form[data-step="2"] .step-1 { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Trust strip */
.trust-strip { background: var(--navy-2); color: #fff; }
.trust-strip ul { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 12px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); font: 600 .95rem/1.35 var(--font-body); }
.trust-strip li { display: flex; align-items: center; gap: 10px; }
.trust-strip .icon { color: var(--gold); }
@media (min-width: 900px) { .trust-strip ul { display: flex; justify-content: space-between; } }

/* Situations: two-column list with a photo */
.situations { display: grid; gap: 40px; }
@media (min-width: 960px) { .situations { grid-template-columns: 1fr 1.25fr; align-items: start; gap: 64px; } }
.situations-photo { border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.situations-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.situation-list { display: grid; gap: 28px 40px; }
@media (min-width: 640px) { .situation-list { grid-template-columns: 1fr 1fr; } }
.situation-list h3 { margin-bottom: 6px; }
.situation-list p { margin: 0; color: var(--body); font-size: .98em; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.steps li { position: relative; padding: 0 0 0 64px; counter-increment: step; }
@media (min-width: 900px) { .steps li { padding: 64px 32px 0 0; } }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font: 800 1.15rem/1 var(--font-display); }
@media (min-width: 900px) { .steps li::after { content: ""; position: absolute; top: 23px; left: 58px; right: 12px; height: 2px; background: var(--line); } .steps li:last-child::after { display: none; } }
.steps p { margin: 0; }

/* Comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 .95rem/1.3 var(--font-display); color: var(--navy); background: var(--wash); }
.compare thead th.is-us { background: var(--navy); color: #fff; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare td.is-us { background: #FFF9E8; color: var(--ink); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.scroll-hint { font-size: .85rem; color: var(--muted); margin-top: 8px; }
@media (min-width: 900px) { .scroll-hint { display: none; } }

/* Founder */
.founder { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .founder { grid-template-columns: 320px 1fr; gap: 56px; } }
.founder-photo { border-radius: var(--radius); overflow: hidden; max-width: 320px; }
.founder-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder-facts { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--ink); }
.founder-facts li { display: flex; gap: 8px; align-items: center; }
.founder-facts .icon { color: var(--gold-deep); }
.founder blockquote { margin: 0 0 18px; font: 600 1.25rem/1.45 var(--font-display); color: var(--navy); letter-spacing: -0.01em; }
.signature { font-weight: 700; color: var(--ink); margin: 0; }
.signature span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }

/* Calculator */
.calc { display: grid; gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
@media (min-width: 900px) { .calc { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.calc .field { display: grid; gap: 8px; margin-bottom: 20px; }
.calc label { font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.calc output { font-family: var(--font-display); color: var(--navy); font-weight: 700; }
.calc input[type=range] { width: 100%; accent-color: var(--navy); min-height: 32px; }
.calc .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc input[type=number] { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #C9CED6; border-radius: var(--radius-sm); font: 16px var(--font-body); }
.calc-result { background: var(--navy); color: #D6DEE8; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.calc-result .big { font: 800 clamp(2.4rem, 5vw, 3.2rem)/1 var(--font-display); color: #fff; margin: 6px 0 18px; letter-spacing: -0.02em; }
.calc-result dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 18px; }
.calc-result dt { color: #AFC0D3; }
.calc-result dd { margin: 0; color: #fff; font-weight: 700; text-align: right; }
.calc-result .small { color: #AFC0D3; }

/* Not for */
.not-for { border-left: 4px solid var(--gold); padding: 6px 0 6px 24px; max-width: 760px; }

/* Link lists (states, cities) */
.link-columns { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.link-columns a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font: 700 1.05rem/1.3 var(--font-display); }
.link-columns a:hover { color: var(--navy-3); }
.link-columns a .icon { color: var(--gold-deep); transition: transform .2s; }
.link-columns a:hover .icon { transform: translateX(3px); }
.link-columns small { display: block; font: 400 .85rem/1.4 var(--font-body); color: var(--muted); margin-top: 2px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 700 1.08rem/1.4 var(--font-display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--font-body); color: var(--gold-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 20px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Prose (legal, blog, long local sections) */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .meta { color: var(--muted); font-size: .92rem; }

/* Facts grid on local pages */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 8px 0 24px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { background: #fff; padding: 18px 20px; }
.facts strong { display: block; font: 800 1.45rem/1.2 var(--font-display); color: var(--navy); }
.facts span { font-size: .88rem; color: var(--muted); }
.source { font-size: .82rem; color: var(--muted); }

/* Split: text + image */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-img { border-radius: var(--radius); overflow: hidden; }
.split-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* CTA band */
.cta-band { background: var(--navy); color: #D6DEE8; padding: clamp(48px, 7vw, 80px) 0; }
.cta-band .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Inline form section */
.form-section .wrap { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .form-section .wrap { grid-template-columns: 1fr minmax(360px, 440px); gap: 64px; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--ok); margin-top: 4px; }

/* Blog cards (index) */
.post-list { display: grid; gap: 40px 32px; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-item a { text-decoration: none; color: inherit; display: block; }
.post-item img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; width: 100%; }
.post-item h3 { margin-bottom: 6px; }
.post-item a:hover h3 { color: var(--navy-3); }
.post-item p { color: var(--muted); font-size: .95rem; margin: 0; }
.empty-state { border: 1px dashed #C9CED6; border-radius: var(--radius); padding: 32px; color: var(--muted); max-width: 640px; }

/* Blog post */
.post-cover { border-radius: var(--radius); overflow: hidden; margin: 0 0 32px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-figure { margin: 8px 0 24px; }
.post-figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) {
  .post-figure--right { float: right; width: 44%; margin: 6px -80px 16px 32px; }
  .post-figure--left { float: left; width: 44%; margin: 6px 32px 16px -80px; }
}
.prose::after { content: ""; display: table; clear: both; }

/* Footer */
.site-footer { background: #081627; color: #AFC0D3; padding: 64px 0 32px; font-size: .95rem; }
.site-footer a { color: #D6DEE8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 44px; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.linklike { background: none; border: 0; padding: 0; color: #D6DEE8; font: inherit; cursor: pointer; text-decoration: none; }
.linklike:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer { margin-top: 20px; font-size: .8rem; color: #8597AB; max-width: 90ch; }

/* Mobile action bar */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,250,247,.98); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11,31,58,.08); }
.mobile-bar .btn { min-height: 48px; padding: 10px 12px; font-size: .95rem; }
.mobile-bar .btn--call { background: #fff; color: var(--navy); border-color: var(--line); }
body { padding-bottom: 72px; }
@media (min-width: 1080px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* Cookie settings dialog */
.cookie-dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: 480px; width: calc(100% - 32px); box-shadow: var(--shadow); color: var(--body); }
.cookie-dialog::backdrop { background: rgba(11, 31, 58, .5); }
.cookie-dialog form { padding: 28px; }
.cookie-dialog h2 { font-size: 1.35rem; }
.toggle-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.toggle-row strong { color: var(--ink); display: block; }
.toggle-row span { font-size: .88rem; color: var(--muted); }
.toggle-row input { width: 22px; height: 22px; accent-color: var(--navy); flex: none; margin-top: 2px; }
.dialog-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 16px; }

/* Thank you */
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 18px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.next-steps li::before { content: counter(n); width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font: 800 1rem var(--font-display); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Phone and tablet adjustments */
@media (max-width: 959px) {
  .hero .lede { font-size: 1rem; }
  .hero-points { margin: 16px 0 0; gap: 8px; }
  .hero-phone { display: none; }
  .situations-photo { position: static; }
  .situations-photo img { aspect-ratio: 3 / 2; }
}

/* Related links, costs table */
.related-grid { display: grid; gap: 32px 40px; }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related-grid h3 { font-size: 1rem; text-transform: none; color: var(--muted); font-family: var(--font-body); font-weight: 700; margin-bottom: 4px; }
.related-grid .link-columns { grid-template-columns: 1fr; }
.related-grid .link-columns a { font-size: .98rem; padding: 12px 0; }
.compare.costs { min-width: 560px; }
.compare.costs tbody th { width: 34%; }
.situation-list h3 a { color: inherit; text-decoration: none; }
.situation-list h3 a:hover { color: var(--navy-3); text-decoration: underline; }
.prose ul { margin: 0 0 1em; }

/* State comparison rows */
.state-rows { border-top: 2px solid var(--navy); }
.state-row { display: grid; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; position: relative; }
.state-row h3 { margin: 0; font-size: 1.35rem; }
.state-row h3 a { color: var(--navy); text-decoration: none; }
.state-row h3 a:hover { color: var(--navy-3); }
.sr-cell { font-size: .95rem; color: var(--ink); line-height: 1.4; }
.sr-cell strong { font: 800 1.15rem/1.2 var(--font-display); color: var(--navy); }
.sr-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.sr-cities a { color: var(--navy-3); font-weight: 600; margin-right: 12px; white-space: nowrap; }
.sr-go { position: absolute; right: 0; top: 22px; color: var(--gold-deep); }
@media (min-width: 960px) {
  .state-row { grid-template-columns: 1.1fr .9fr 1.4fr 1.3fr 1.1fr 32px; }
  .state-row .sr-label { display: none; }
  .state-rows::before { content: ""; }
  .sr-go { position: static; justify-self: end; }
  .state-rows-head { display: grid; }
}
@media (max-width: 959px) { .state-row { grid-template-columns: 1fr 1fr; } .state-row h3 { grid-column: 1 / -1; padding-right: 32px; } .sr-cities { grid-column: 1 / -1; } }
.state-rows-head { display: none; }
@media (min-width: 960px) {
  .state-rows { border-top: 0; }
  .state-rows-head { display: grid; grid-template-columns: 1.1fr .9fr 1.4fr 1.3fr 1.1fr 32px; gap: 24px; padding: 0 0 10px; border-bottom: 2px solid var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}

/* Keep reading: plain text links, not arrow rows */
.related-grid .link-columns { display: block; }
.related-grid .link-columns li { margin: 0 0 12px; }
.related-grid .link-columns a { display: inline; padding: 0; border: 0; font: 600 1rem/1.4 var(--font-body); color: var(--navy-3); text-decoration: underline; text-decoration-color: rgba(31,74,120,.3); }
.related-grid .link-columns a:hover { text-decoration-color: currentColor; }
.related-grid .link-columns a .icon { display: none; }
.related-grid .link-columns small { display: none; }
.related-grid h3 { border-bottom: 2px solid var(--navy); padding-bottom: 8px; margin-bottom: 14px; color: var(--navy); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 959px) {
  .state-row { grid-template-columns: 1fr 1fr; grid-template-areas: "name name" "price tax" "close close" "cities cities"; gap: 12px 20px; align-items: start; }
  .state-row h3 { grid-area: name; }
  .state-row .sr-cell:nth-of-type(1) { grid-area: price; }
  .state-row .sr-cell:nth-of-type(2) { grid-area: tax; }
  .state-row .sr-cell:nth-of-type(3) { grid-area: close; }
  .state-row .sr-cities { grid-area: cities; }
}

/* Phones: tables become stacked blocks, no sideways scrolling */
@media (max-width: 759px) {
  .table-scroll { overflow: visible; border: 0; background: transparent; }
  .compare, .compare.costs { min-width: 0; border-collapse: separate; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
  .compare tbody th { width: 100%; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 1rem; padding: 12px 16px; border: 0; }
  .compare td { padding: 10px 16px; border-bottom: 1px solid var(--line-soft, #eeece7); }
  .compare td:last-child { border-bottom: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .compare td.is-us { background: #FFF9E8; }
  .compare td.is-us::before { color: var(--gold-deep); }
  .compare.costs tbody th { width: 100%; }
  .scroll-hint { display: none; }
}
.calc-result .big--range { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.testimonial p { font-size: 1.08rem; color: var(--ink); }
.testimonial figcaption { font-weight: 700; color: var(--navy); margin-top: 12px; }
.testimonial figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
.testimonial blockquote { margin: 0; padding: 0; border: 0; }
.story { padding: 28px 0; border-top: 1px solid var(--line); }
.story:first-of-type { border-top: 0; }
.story h3 { margin-top: 0; }
.header-lang { font: 600 .95rem/1 var(--font-body); color: var(--navy); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 1079px) { .header-lang { display: none; } }
.es-offer { position: fixed; z-index: 45; right: 16px; bottom: 16px; max-width: 360px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.es-offer p { margin: 0 0 14px; color: var(--ink); }
.es-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 700px) { .es-offer { left: 12px; right: 12px; max-width: none; bottom: calc(76px + env(safe-area-inset-bottom)); } }
.es-offer .linklike { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
