/* Cash Now theme stylesheet. Mobile-first; the responsive foundation lives here once. */

:root {
  --ink: #0e1b2c;
  --primary: #123c6d;
  --primary-2: #0d2e55;
  --accent: #1d70d0;
  --accent-soft: #e8f1fc;
  --cta: #f59e0b;
  --cta-hover: #d97706;
  --bg: #ffffff;
  --tint: #f3f6fb;
  --line: #dce3ee;
  --muted: #51627a;
  --success: #157347;
  --success-soft: #e7f4ec;
  --warn: #b45309;
  --warn-soft: #fff4e5;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --on-dark: #ffffff;
  --on-dark-muted: #c7d4e6;

  --ff-display: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --ff-body: "Inter", "Inter Fallback", system-ui, sans-serif;

  --r: 8px;
  --r-sm: 6px;
  --shadow-1: 0 1px 2px rgba(18, 60, 109, .08);
  --shadow-2: 0 1px 2px rgba(18, 60, 109, .06), 0 8px 24px rgba(18, 60, 109, .08);
  --shadow-3: 0 2px 4px rgba(14, 27, 44, .08), 0 18px 48px rgba(14, 27, 44, .18);

  --wrap: 1180px;
  --gutter: 20px;
  --sec-y: clamp(44px, 6vw, 72px);
  --header-h: 64px;
}

/* ---- reset + base ------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--ff-body); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--primary); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: clamp(1.125rem, 2vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
strong { font-weight: 650; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.num, .tabular { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cta); color: var(--ink); padding: 10px 14px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon-ui { width: 18px; height: 18px; }
.icon-inline { width: 22px; height: 22px; }
.icon-card { width: 40px; height: 40px; }
svg[class^="icon"] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- buttons -------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r); border: 2px solid transparent;
  font: 800 1.0625rem/1.1 var(--ff-display); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--cta); color: var(--ink); box-shadow: 0 2px 0 var(--cta-hover); }
.btn--cta:hover { background: var(--cta-hover); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.on-dark .btn--ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .35); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 1.15rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

/* ---- header ------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 800 1.08rem/1.1 var(--ff-display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: .78rem; color: var(--muted); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu > li { position: relative; }
.menu a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; border-radius: var(--r-sm); }
.menu a:hover, .menu .current-menu-item > a { color: var(--accent); background: var(--accent-soft); }
.sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); display: none; }
.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu { display: block; }
.nav-toggle { display: none; margin-left: auto; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); font: 650 .95rem var(--ff-body); color: var(--ink); cursor: pointer; }
.header-cta .btn { min-height: 42px; padding: 9px 16px; font-size: .98rem; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-cta { display: none; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); display: none; }
  .main-nav.is-open { display: block; }
  .menu { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
}
@media (max-width: 480px) {
  .brand-name { font-size: .98rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.15; }
  .brand-sub { display: block; font-size: .72rem; }
  .brand-mark { width: 34px; height: 34px; }
}
.secure-note { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--success); font-weight: 600; }

/* ---- hero with the pre-form ------------------------------------------------------------------- */
.on-dark { color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark a:not(.btn) { color: #fff; }
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(1200px 500px at 85% -10%, #1d4f8c 0%, transparent 60%), linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 72px);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--cta); }
.hero-grid { display: grid; gap: 18px 56px; align-items: start; grid-template-columns: 1fr; grid-template-areas: "title" "form" "details"; }
.hero-title { grid-area: title; }
.hero-form { grid-area: form; }
.hero-details { grid-area: details; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "title form" "details form"; align-items: end; row-gap: 8px; }
  .hero-details { align-self: start; }
}
.hero-title h1, .hero-details, .hero-title { color: var(--on-dark); }
.hero-title h1 { color: #fff; margin: 0; }
@media (max-width: 899px) { .hero-title h1 { font-size: clamp(1.6rem, 7vw, 2rem); } .hero-title .eyebrow { margin-bottom: 6px; } }
.hero .eyebrow { color: var(--cta); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-dark-muted); max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points svg { color: var(--cta); margin-top: 2px; }
.eyebrow { font: 700 .8rem/1.2 var(--ff-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }

.formcard { background: #fff; color: var(--ink); border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow-3); padding: 20px; }
@media (min-width: 600px) { .formcard { padding: 26px; } }
.formcard h2, .formcard .formcard-title { font: 800 1.3rem/1.2 var(--ff-display); margin: 0 0 4px; color: var(--ink); }
.formcard .formcard-sub, .formcard .pf-note { color: var(--muted) !important; }
.formcard-sub { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.pf { display: grid; gap: 12px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-note { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 10px 0 0; }
.pf-note svg { margin-top: 2px; }
.pf-note svg { color: var(--success); }

/* ---- form fields (pre-form and /apply/) ------------------------------------------------------- */
.field { display: grid; gap: 6px; }
.field > label, .field > .label, legend.label { font-weight: 650; font-size: .95rem; color: var(--ink); }
.field .hint { font-size: .85rem; color: var(--muted); }
.input, select.input {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #7688a2; border-radius: var(--r); background: #fff;
  font: 500 1.0625rem/1.3 var(--ff-body); color: var(--ink); appearance: none; -webkit-appearance: none;
}
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23123c6d' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 112, 208, .2); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 550; min-height: 0; }
.field-error:empty { display: none; }
.field-ok { color: var(--success); font-size: .88rem; font-weight: 550; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- stat bar --------------------------------------------------------------------------------- */
.statbar { background: var(--tint); border-bottom: 1px solid var(--line); }
.statbar ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 800px) { .statbar ul { grid-template-columns: repeat(4, 1fr); } }
.statbar li { display: flex; flex-direction: column; text-align: center; }
.statbar b { font: 800 clamp(1.1rem, 2.2vw, 1.45rem)/1.15 var(--ff-display); color: var(--primary); letter-spacing: -.02em; }
.statbar span { font-size: .86rem; color: var(--muted); }

/* ---- sections ----------------------------------------------------------------------------------- */
.section { padding: var(--sec-y) 0; }
.section--tight { padding: calc(var(--sec-y) * .6) 0; }
.sec--light { background: var(--bg); }
.sec--alt, .sec--tint { background: var(--tint); }
.sec--dark { background: var(--ink); color: var(--on-dark); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .lead, .sec--dark p { color: var(--on-dark-muted); }
.sec--dark a:not(.btn) { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(22px, 3vw, 36px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.03rem, 1.5vw, 1.15rem); color: var(--muted); }
.sec-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sec-head.center + * + .sec-cta, .center-cta { justify-content: center; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 20px 72px; box-shadow: var(--shadow-1); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font: 800 1.05rem/36px var(--ff-display); text-align: center; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 800px) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.checklist svg { color: var(--success); margin-top: 2px; }

/* split: text + aside */
.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.split--center { align-items: center; }

/* cards */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; transition: box-shadow .15s, border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); box-shadow: var(--shadow-2); color: var(--ink); }
.card .icon-card { color: var(--accent); }
.card h3 { margin: 4px 0 0; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card-more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }

/* callouts */
.callout { border-radius: var(--r); padding: 18px 20px; background: var(--accent-soft); border-left: 4px solid var(--accent); margin: 0 0 1.2em; }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: var(--warn-soft); border-left-color: var(--warn); }
.callout--ok { background: var(--success-soft); border-left-color: var(--success); }
.callout h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* state law facts */
.lawbox { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); overflow: hidden; }
.lawbox-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--tint); border-bottom: 1px solid var(--line); font-weight: 700; }
.lawbox dl { margin: 0; display: grid; grid-template-columns: 1fr; }
.lawbox dl > div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.lawbox dl > div:last-child { border-bottom: 0; }
.lawbox dt { color: var(--muted); font-size: .92rem; }
.lawbox dd { margin: 0; font-weight: 600; }
.lawbox-foot { padding: 12px 18px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 520px) { .lawbox dl > div { grid-template-columns: 1fr; gap: 2px; } }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.pill--legal { background: var(--success-soft); color: var(--success); }
.pill--restricted { background: var(--warn-soft); color: var(--warn); }
.pill--prohibited { background: var(--danger-soft); color: var(--danger); }

/* tables */
.dtable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 1.2em; }
.dtable { width: 100%; border-collapse: collapse; font-size: .97rem; }
.dtable th, .dtable td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable th { background: var(--tint); font-weight: 700; }
.dtable tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .dtable { font-size: .84rem; } .dtable th, .dtable td { padding: 8px 7px; } }

/* place lists */
.placegrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.placegrid a { display: block; padding: 7px 0; text-decoration: none; font-weight: 550; border-bottom: 1px solid var(--line); }
.placegrid a:hover { text-decoration: underline; }
.placegrid small { color: var(--muted); font-weight: 400; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 550; font-size: .95rem; }
.chips a:hover { border-color: var(--accent); }
.chips small { color: var(--muted); font-weight: 400; }
.chips--center { justify-content: center; max-width: 900px; margin-inline: auto; }
.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0 0 1.2em; }
.facts > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.facts b { display: block; font: 800 1.15rem/1.2 var(--ff-display); color: var(--primary); }
.facts span { font-size: .88rem; color: var(--muted); }

/* city search */
.citysearch { display: flex; gap: 10px; max-width: 560px; }
.citysearch .input { flex: 1; min-width: 0; }
.citysearch .btn { flex: none; }
.citysearch-msg { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.sec--dark .citysearch-msg { color: var(--on-dark-muted); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font: 700 1.03rem/1.35 var(--ff-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font: 400 1.6rem/1 var(--ff-body); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 18px 16px; color: var(--muted); }
.faq-a p { margin: 0; }

/* CTA band */
.ctaband { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .ctaband { grid-template-columns: 1fr 440px; gap: 48px; } }
.ctaband .formcard { box-shadow: var(--shadow-2); }
.cta-section.sec--dark { background: var(--primary); }
.cta-section + * { border-top: 0; }

/* ---- inner page head + prose ------------------------------------------------------------------- */
.crumbs { background: var(--tint); border-bottom: 1px solid var(--line); font-size: .88rem; }
.crumbs .container { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 10px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs-current { color: var(--ink); font-weight: 600; }
.pagehead { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%); color: #fff; padding: clamp(28px, 5vw, 56px) 0; position: relative; }
.pagehead::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--cta); }
.pagehead-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .pagehead-grid--form { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.pagehead h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
.pagehead .lead { color: var(--on-dark-muted); max-width: 40em; }
.pagehead .eyebrow { color: var(--cta); }
.entry-content > :where(p, ul, ol, h2, h3, h4, blockquote, .callout, .dtable-wrap, .lawbox, .facts, .checklist, .placegrid, .chips) { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; }
.entry-content > :where(.lawbox, .dtable-wrap, .facts) { padding-inline: 0; max-width: calc(760px); margin-inline: auto; }
@media (max-width: 800px) { .entry-content > :where(.lawbox, .dtable-wrap, .facts) { margin-inline: var(--gutter); } }
.entry-content > h2 { margin-top: 1.6em; }
.entry-content > h3 { margin-top: 1.3em; }
.entry-content > :first-child { margin-top: clamp(28px, 4vw, 48px); }
.entry-content > :last-child { margin-bottom: clamp(36px, 5vw, 64px); }
.entry-content > .section:last-child { margin-bottom: 0; }
.prose-wrap { max-width: 760px; margin-inline: auto; }
.prose-wrap > :last-child { margin-bottom: 0; }
.section--center .sec-head { margin-inline: auto; text-align: center; }
.section--center .citysearch { margin-inline: auto; }
.section--center .citysearch-msg { text-align: center; }
.section--center .faq { margin-inline: auto; }
.section--center .placegrid { max-width: 980px; margin-inline: auto; }
.uplinks { margin-top: 18px; }
.prose-wrap > .lawbox, .prose-wrap > .facts { margin: 1.4em 0; }
.prose-wrap > .chips { margin: 0 0 1.2em; }
.prose-wrap .citysearch { margin-top: 8px; }
.updated { font-size: .85rem; color: var(--muted); }

/* ---- footer ----------------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 48px 0 calc(28px + 72px); font-size: .95rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 28px; } }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-grid h4 { color: #fff; margin-bottom: 10px; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: var(--on-dark-muted); }
.footer-about { margin-top: 12px; max-width: 32em; }
.disclaimer { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; line-height: 1.55; color: #a9b8cc; }
.disclaimer p { margin: 0 0 .9em; }
.disclaimer b { color: #dbe4f0; }
.footer-bottom a { color: #a9b8cc; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 18px; font-size: .82rem; color: #a9b8cc; }

/* sticky mobile CTA */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14, 27, 44, .1); transform: translateY(110%); transition: transform .2s; }
.stickybar.is-on { transform: none; }
.stickybar .btn { width: 100%; }
@media (min-width: 900px) { .stickybar { display: none; } }
.no-js .stickybar { display: none; }

/* ---- /apply/ ---------------------------------------------------------------------------------- */
.apply-body { background: var(--tint); }
.apply-header { background: #fff; border-bottom: 1px solid var(--line); }
.apply-header .header-inner { min-height: 58px; }
.apply-main { padding: 18px 0 56px; }
.apply-wrap { max-width: 600px; margin-inline: auto; }
.progress { height: 8px; background: #dfe6f0; border-radius: 999px; overflow: hidden; margin: 6px 0 6px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #3d8be6); border-radius: 999px; transition: width .3s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.step { display: none; }
.step.is-active { display: block; animation: stepin .18s ease-out; }
@keyframes stepin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.step h1, .step h2 { font-size: clamp(1.35rem, 3.6vw, 1.75rem); margin-bottom: 6px; }
.step .step-sub { color: var(--muted); margin-bottom: 18px; }
.step .field + .field, .step .field + .grid2, .step .grid2 + .field, .step fieldset + .field, .step .field + fieldset { margin-top: 16px; }
.grid2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.grid2 + .grid2 { margin-top: 16px; }
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); border: 0; padding: 0; margin: 0; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--1 { grid-template-columns: 1fr; }
.tiles legend { margin-bottom: 8px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px 12px; border: 1.5px solid #b9c5d6; border-radius: var(--r); background: #fff; font-weight: 650; transition: border-color .12s, background-color .12s; }
.tile input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--primary); box-shadow: inset 0 0 0 1px var(--accent); }
.tile input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.step-actions { display: flex; gap: 12px; margin-top: 22px; align-items: center; }
.step-actions .btn--cta { flex: 1; }
.btn-back { background: none; border: 0; color: var(--muted); font: 600 .98rem var(--ff-body); padding: 12px 8px; cursor: pointer; text-decoration: underline; }
.secure-line { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-top: 14px; }
.secure-line svg { color: var(--success); margin-top: 2px; }
.applycard { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow-2); padding: 22px 18px; }
@media (min-width: 600px) { .applycard { padding: 30px 32px; } }
.consent { font-size: .82rem; line-height: 1.5; color: var(--muted); margin-top: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: 12px; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.form-alert { border-radius: var(--r); padding: 12px 14px; background: var(--danger-soft); color: var(--danger); font-weight: 600; margin-bottom: 14px; }
.form-alert:empty { display: none; }
.loader { text-align: center; padding: 20px 0 8px; }
.dots { display: inline-flex; gap: 8px; margin: 10px 0 18px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); animation: pulse 1s infinite alternate; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { from { opacity: .25; transform: scale(.8); } to { opacity: 1; transform: none; } }
.loader-status { font-weight: 650; color: var(--primary); min-height: 1.6em; }
.result-icon { width: 56px; height: 56px; margin: 0 auto 10px; color: var(--accent); }
.apply-trust { display: grid; gap: 8px; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.apply-trust div { display: flex; gap: 8px; align-items: center; }
.apply-trust svg { color: var(--success); }
.apply-foot { font-size: .78rem; color: var(--muted); margin-top: 26px; line-height: 1.5; }
.apply-foot a { color: var(--muted); }

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

/* State pages: every city, A to Z (CityIndex) */
.cityindex { text-align: left; }
.cityindex-jump ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
.cityindex-jump a { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 700; }
.cityindex-jump a:hover, .cityindex-jump a:focus-visible { background: var(--tint); }
.cityindex-group h3 { font-size: 1.1rem; margin: 18px 0 6px; padding-bottom: 4px; border-bottom: 2px solid var(--line); scroll-margin-top: 96px; }
.cityindex-group ul { list-style: none; margin: 0; padding: 0; columns: 180px auto; column-gap: 18px; }
.cityindex-group li { break-inside: avoid; }
.cityindex-group a { display: block; padding: 6px 0; text-decoration: none; }
.cityindex-group a:hover { text-decoration: underline; }
.cityindex-group small { color: var(--muted); }
.src-note { font-size: .88rem; color: var(--muted); }
@media (max-width: 480px) { .cityindex-group ul { columns: 2; column-gap: 14px; } }
/* The buyer's hosted form on /form-preview/ */
.hostedform { max-width: 760px; margin: 0 auto 48px; padding: 8px var(--gutter) 0; }
.apply-body .hostedform { padding-top: 24px; margin-bottom: 56px; }
.hostedform-nojs { max-width: 600px; margin: 0 auto; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; }

/* ---- The buyer's hosted form, restyled to the site (vendor rules are scoped to #omForm, so ours lead with .hostedform #omForm) ---- */
.hostedform {
  --om-verification-font-family-base: var(--ff-body);
  --om-verification-color-base: var(--ink);
  --om-verification-color-primary: var(--cta);
  --om-verification-color-alternative: var(--primary);
  --om-verification-color-error: var(--danger);
  --om-verification-color-success: var(--success);
  --om-verification-background-base: #fff;
  --om-verification-section-background: var(--tint);
  --om-verification-link-color: var(--accent);
  --om-verification-link-hover-color: var(--primary);
  --om-verification-field-height: 52px;
  --om-verification-field-border-radius: var(--r);
  --om-verification-field-border-color: #7688a2;
  --om-verification-field-focus-border-color: var(--accent);
  --om-verification-button-height: 52px;
  --om-verification-button-color: var(--ink);
  --om-verification-button-text-transform: none;
  --om-verification-button-hover-color: var(--ink);
  --om-verification-button-hover-background: var(--cta-hover);
}
.hostedform .omFormBox { max-width: 600px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-2); }
.hostedform #omForm { max-width: none; padding: 28px 24px; color: var(--ink); font-family: var(--ff-body); }
.hostedform #omForm :is(p, label, input, select, textarea, button, span, a, li, div, h3, h4),
.hostedform :is(#omInterstitial, .om-post-animation, .omInterstitial-title, .omInterstitial-field, .omInterstitial-button) { font-family: var(--ff-body); }
.hostedform #omForm .omForm-step__header-title { font: 800 1.35rem/1.2 var(--ff-display); letter-spacing: -.02em; color: var(--primary); }
@media (min-width: 768px) { .hostedform #omForm .omForm-step__header-title { font-size: 1.6rem; } }
.hostedform #omForm .omForm-step__header-subtitle { background: transparent; color: var(--muted); padding: 0; margin-top: 6px; font-size: 1rem; font-weight: 500; }
.hostedform #omForm .omForm-group__label { font-size: .95rem; font-weight: 650; color: var(--ink); line-height: 1.35; margin-bottom: 6px; }
.hostedform #omForm .omForm-address-placeholder:not(.is-hidden) { height: auto; overflow: visible; }
.hostedform #omForm .omForm-address-placeholder .omForm-group__label svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.hostedform #omForm .omForm-address-placeholder .omForm-group__label svg path { fill: var(--accent); }
.hostedform #omForm .omForm-group { margin-bottom: 16px; }
.hostedform #omForm .omForm-group__field { height: 48px; padding: 12px 14px; border: 1.5px solid #7688a2; border-radius: var(--r); background-color: #fff; color: var(--ink); font-size: 1.0625rem; font-weight: 500; }
.hostedform #omForm .omForm-group__field_select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23123c6d' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px 9px; }
.hostedform #omForm .omForm-group_loanAmount .omForm-group__field { width: 100%; margin-inline: 0; }
.hostedform #omForm .omForm-group__field:hover { border-color: var(--accent); background-color: #fff; }
.hostedform #omForm .omForm-group__field:focus { border-color: var(--accent); background-color: #fff; box-shadow: 0 0 0 3px rgba(29, 112, 208, .2); }
.hostedform #omForm .omForm-group.is-success .omForm-group__field, .hostedform #omForm .omForm-group__field.is-success.is-success { border-color: var(--success); background-color: var(--success-soft); }
.hostedform #omForm .omForm-group.is-error .omForm-group__field, .hostedform #omForm .omForm-group__field.is-error.is-error { border-color: var(--danger); background-color: var(--danger-soft); }
.hostedform #omForm .omForm-group_radio.is-error { background-color: var(--danger-soft); }
/* Errors as plain text under each field instead of the vendor's hover tooltip (it covered labels on phones and ran past the card on desktop). */
.hostedform #omForm .omHelp-block-container, .hostedform #omForm .omForm-group_loanAmount .omHelp-block-container { display: block; position: static; transform: none; margin: 6px 0 0; width: auto; text-align: center; }
.hostedform #omForm .omHelp-block { position: static; background: transparent; border: 0; box-shadow: none; padding: 0; color: var(--danger); font-size: .88rem; font-weight: 600; text-align: center; pointer-events: auto; }
.hostedform #omForm .omForm-group.is-error .omHelp-block:not(:empty) { display: block; opacity: 1; visibility: visible; }
.hostedform #omForm .omForm-radio__item { background-color: var(--tint); color: var(--ink); border: 1.5px solid #7688a2; border-radius: var(--r); font-weight: 600; }
.hostedform #omForm .omForm-radio__item.is-checked { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.hostedform #omForm .omForm-button, .hostedform .omInterstitial-button {
  background-color: var(--cta); color: var(--ink); border: 0; border-radius: var(--r); box-shadow: 0 2px 0 var(--cta-hover);
  min-height: 52px; padding: 14px 40px; font: 800 1.0625rem/1.1 var(--ff-display); text-transform: none; letter-spacing: -.005em;
}
.hostedform #omForm .omForm-button:focus { background-color: var(--cta); color: var(--ink); }
.hostedform #omForm .omForm-button:hover, .hostedform #omForm .omForm-button:focus-visible, .hostedform .omInterstitial-button:hover { background-color: var(--cta-hover); color: var(--ink); }
.hostedform #omForm :focus-visible, .hostedform #omInterstitial :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hostedform #omForm .omForm-tooltip__icon { color: var(--accent); border-color: var(--accent); }
.hostedform #omForm .omForm-tooltip__icon:hover { color: var(--primary); }
.hostedform #omForm .omForm-progress__container { background-color: var(--tint); border-color: var(--line); }
.hostedform #omForm .omForm-progress__container::after { border-color: var(--tint); }
.hostedform #omForm .omForm-progress__line { background: repeating-linear-gradient(45deg, #fbbf24, #fbbf24 10px, var(--cta) 10px, var(--cta) 20px); }
.hostedform #omForm .omForm-progress__text { color: var(--ink); }
.hostedform #omForm a { color: var(--accent); }
.hostedform .omInterstitial-title { background-color: var(--primary); color: #fff; }
.hostedform .omInterstitial-field { border: 1.5px solid #7688a2; color: var(--ink); }
@media (max-width: 600px) { .hostedform { padding-inline: 12px; } .hostedform #omForm { padding: 22px 14px; } }

/* ---- block markup adapters (pages are stored as editable WordPress blocks) ---------------------- */
.hero-points li::before, .checklist--blocks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; background: var(--cta);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='square'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='square'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-points svg { display: none; }
.wp-block-table.dtable-wrap table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.wp-block-table.dtable-wrap th, .wp-block-table.dtable-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wp-block-table.dtable-wrap th { background: var(--tint); font-weight: 700; }
.wp-block-table.dtable-wrap tr:last-child td { border-bottom: 0; }
.wp-block-table.dtable-wrap figcaption { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .wp-block-table.dtable-wrap table { font-size: .84rem; } .wp-block-table.dtable-wrap th, .wp-block-table.dtable-wrap td { padding: 8px 7px; } }
.faq details.wp-block-details > :not(summary) { padding: 0 18px; color: var(--muted); margin: 0 0 16px; }
.faq details.wp-block-details > :not(summary):last-child { margin-bottom: 0; padding-bottom: 16px; }
.wp-block-group:empty { display: none; }
.prose-wrap > .wp-block-heading:first-child { margin-top: 0; }
.checklist--blocks li::before { background: var(--success); }
