/* Visual design builds on the original Home Equity Select page: same structure and indigo palette,
   refined type and depth. Guide §2.2 wants disclosures ≥12pt (16px) and no smaller than any other text, so nothing on the site is below 16px. */

:root {
  --bg: #f4f4f6;
  --surface: #ffffff;
  --soft: #f8f8fa;
  --ink: #1d1d27;
  --heading: #15152a;
  --muted: #52525e;      /* AA on --bg and white; used for disclosures, never lighter */
  --line: #e2e2e8;
  --field: #c4c4cc;
  --accent: #5b50f6;
  --accent-dark: #4438d8;
  --accent-soft: #eeedfe;
  --accent-ring: rgba(91, 80, 246, .18);
  --focus: #f0a43a;
  --error: #b42318;
  --shadow-sm: 0 1px 2px rgba(21, 21, 42, .05), 0 2px 8px rgba(21, 21, 42, .04);
  --shadow-lg: 0 24px 60px -12px rgba(36, 30, 120, .22), 0 4px 14px rgba(21, 21, 42, .06);
  --radius: 16px;
  --font: Inter, ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Plus Jakarta Sans", Inter, ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 20; }
.config-warning { background: var(--error); color: #fff; padding: 12px 16px; font-weight: 600; text-align: center; }
h1, h2, h3, legend, .wordmark { font-family: var(--display); color: var(--heading); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: transparent; border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.site-header.scrolled { background: rgba(244, 244, 246, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; text-decoration: none; color: var(--heading); }
.wordmark { display: flex; flex-direction: column; font-weight: 800; font-size: 1.3125rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.05; }
.wordmark small { font-size: 1rem; color: var(--accent); letter-spacing: .16em; }
.powered { display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--field); }
.powered img, .brand > img { display: block; height: 32px; width: auto; }
.logo-fallback { font-weight: 800; }
.header-actions { display: flex; align-items: center; gap: 24px; text-align: right; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--heading); }
.phone-icon { width: 20px; height: 20px; color: var(--accent); }
.header-start { display: flex; flex-direction: column; font-size: 1rem; color: var(--muted); line-height: 1.35; }
.header-start a { color: var(--accent-dark); font-weight: 700; }

/* Hero */
.hero { position: relative; overflow: hidden; overflow: clip visible; } /* glow runs up behind the translucent header, no hard edge */
.hero::before { content: ""; position: absolute; width: 900px; height: 700px; left: 50%; transform: translateX(-50%); top: -320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(91, 80, 246, .16), rgba(91, 80, 246, 0)); pointer-events: none; }
.hero-inner { position: relative; padding-top: 40px; padding-bottom: 72px; text-align: center; } /* centered hero */
h1 { max-width: 16ch; font-size: clamp(2.5rem, 5.6vw, 4.25rem); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; margin: 0 auto 28px; }
h1 strong { font-weight: 800; color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 0 auto 32px; display: grid; gap: 12px; width: fit-content; max-width: 100%; text-align: left; } /* block centered, lines left-aligned */
.checks li { position: relative; padding-left: 38px; font-size: 1.1875rem; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234438d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.starter { max-width: 540px; margin: 0 auto; display: grid; gap: 16px; text-align: left; }
.pill-select { position: relative; }
.pill-select label { position: absolute; top: -12px; left: 22px; z-index: 1; padding: 0 8px; font-size: 1rem; line-height: 24px; font-weight: 600; color: var(--muted);
  background: linear-gradient(to bottom, transparent 50%, var(--surface) 50%); } /* top half shows the hero, bottom half matches the white field: no gray patch */
select {
  appearance: none; -webkit-appearance: none; padding-right: 48px !important;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315152a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 18px center / 20px no-repeat !important;
}
.pill-select select { min-height: 64px; border-radius: 40px; padding-left: 26px; font-size: 1.125rem; border-color: var(--field); box-shadow: var(--shadow-sm); }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 62px; padding: 12px 32px; width: 100%;
  background: linear-gradient(180deg, #6a60f8, var(--accent)); color: #fff; border: 0; border-radius: 42px; font: 700 1.1875rem var(--display);
  cursor: pointer; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(91, 80, 246, .6); transition: transform .15s, box-shadow .15s, background .15s;
}
.btn::after { content: "→" / ""; transition: transform .15s; } /* decorative: empty alt text for screen readers */
.btn:hover { background: linear-gradient(180deg, #5d52f2, var(--accent-dark)); box-shadow: 0 14px 28px -8px rgba(91, 80, 246, .7); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.micro { margin: 0; font-size: 1rem; color: var(--muted); text-align: center; }
.micro strong { color: var(--ink); }
.lo-card { display: flex; align-items: center; gap: 14px; margin: 32px auto 0; max-width: 540px; text-align: left; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); font-size: 1rem; color: var(--muted); }
.lo-card strong { color: var(--ink); }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #8b7ff9); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--display); }


/* Themed dropdowns (assets/dropdown.js). The native select stays underneath, visually hidden. */
.dd { position: relative; }
.dd-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.dd-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 10px 16px;
  background: var(--surface); border: 1.5px solid var(--field); border-radius: 14px; color: var(--ink); font-weight: 400; text-align: left;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: border-color .15s, box-shadow .15s;
}
.dd-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-trigger::after {
  content: ""; flex: none; width: 20px; height: 20px; transition: transform .2s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315152a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.dd.open .dd-trigger::after { transform: rotate(180deg); }
.dd-trigger:hover { border-color: var(--accent); }
.dd-trigger:focus { outline: none; }
.dd-trigger:focus-visible, .dd.open .dd-trigger { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.dd-trigger.is-placeholder .dd-value { color: #8a8a96; }
.dd-trigger[aria-invalid="true"] { border-color: var(--error); }
.dd-pill .dd-trigger { min-height: 64px; border-radius: 40px; padding: 10px 22px 10px 26px; font-size: 1.125rem; box-shadow: var(--shadow-sm); }
.dd-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  max-height: 304px; overflow-y: auto; overscroll-behavior: contain; text-align: left; animation: dd-in .14s ease-out;
}
.dd.up .dd-list { top: auto; bottom: calc(100% + 8px); animation-name: dd-in-up; }
.dd-list [role="option"] {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 14px;
  border-radius: 10px; color: var(--ink); cursor: pointer; font-size: 1.0625rem;
}
.dd-list [role="option"].active { background: var(--accent-soft); }
.dd-list [role="option"][aria-selected="true"] { color: var(--accent-dark); font-weight: 600; }
.dd-list [role="option"][aria-selected="true"]::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234438d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes dd-in-up { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .dd-list { animation: none; } .dd-trigger::after { transition: none; } }
@media (max-width: 520px) {
  .dd-list [role="option"] { min-height: 50px; }
  .dd-pill .dd-trigger { font-size: 1.0625rem; }
}

/* Trust strip */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-row div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 24px 20px; }
.trust-row div + div { border-left: 1px solid var(--line); }
.trust-row strong { font-family: var(--display); color: var(--heading); }
.trust-row span:last-child { grid-column: 2; color: var(--muted); font-size: 1rem; }
.ti { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; }
.ti svg { width: 22px; height: 22px; }

/* Sections */
.section { padding: 96px 0; }
.white { background: var(--surface); }
.eyebrow { text-align: center; margin: 0 0 10px; font: 700 1rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; text-align: center; }
h3 { font-size: 1.1875rem; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { text-align: center; color: var(--muted); font-size: 1.125rem; margin: 0 auto 48px; max-width: 560px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-sm); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; font: 800 1.0625rem var(--display); margin-bottom: 20px; }
.steps p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; background: var(--surface); }
.card > p { color: var(--muted); margin: 0 0 18px; }
.card h3 { font-size: 1.375rem; }
.card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.card li { position: relative; padding-left: 28px; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.tag { display: inline-block; font: 700 1rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin: 0 0 16px !important; }
.note { text-align: center; color: var(--muted); margin: 32px auto 0; max-width: 680px; }

.privacy-card { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin-bottom: 72px; box-shadow: var(--shadow-sm); }
.privacy-card p { margin: 0; color: var(--muted); }
.privacy-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.privacy-icon svg { width: 22px; height: 22px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-top: 12px; transition: box-shadow .2s; }
details:first-of-type { margin-top: 32px; }
details[open] { box-shadow: var(--shadow-sm); }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; color: var(--heading); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-weight: 700; font-size: 1.25rem; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--muted); }
.final-cta { text-align: center; margin-top: 64px; padding: 44px 24px; border-radius: 24px; background: var(--heading); color: #fff; }
.final-cta h3 { font-size: 1.75rem; color: #fff; margin-bottom: 22px; }
.final-cta .btn { max-width: 440px; }
address { font-style: normal; }

/* Multi-step request */
.flow { padding: 24px 0 80px; }
.flow-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow-lg); }
.flow-top { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; color: var(--muted); }
#step-count { font-weight: 600; }
.link { background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 700; color: var(--accent-dark); cursor: pointer; }
.progress { height: 6px; background: var(--accent-soft); border-radius: 3px; margin: 12px 0 36px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, #8b7ff9, var(--accent)); border-radius: 3px; transition: width .3s ease; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
legend h2, #thanks h2 { text-align: left; font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.75rem, 4.4vw, 2.5rem); }
.hint { color: var(--muted); margin: 0 0 24px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choices label {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 18px; font-weight: 600;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.choices label:hover { border-color: var(--accent); }
.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 4px var(--accent-ring); }
.choices input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.field { display: grid; gap: 8px; font-weight: 600; margin-top: 18px; }
.field:first-of-type { margin-top: 0; }
select, input:not([type=checkbox]):not([type=radio]) {
  width: 100%; min-height: 56px; padding: 10px 16px; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--field); border-radius: 14px; transition: border-color .15s, box-shadow .15s;
}
select:focus, input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
input::placeholder { color: #8a8a96; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-weight: 600; font-size: 1rem; margin: 6px 0 0; }
.field-error:empty { display: none; }
.email-suggest { margin: 6px 0 0; font-size: 1rem; color: var(--muted); }
.email-suggest .link { padding: 0; text-decoration: underline; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.55; margin: 22px 0 0; padding: 18px; background: var(--soft); border: 1.5px solid var(--line); border-radius: 14px; color: var(--muted); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; cursor: pointer; }
.consent-body { display: block; flex: 1; min-width: 0; }
.consent strong { color: var(--ink); }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--accent); cursor: pointer; transition: outline .15s ease, box-shadow .15s ease; }
.consent.has-error, .consent:has(input[aria-invalid="true"]) {
  border: 2px solid #dc2626 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18) !important;
}
.consent.has-error strong, .consent:has(input[aria-invalid="true"]) strong {
  color: #dc2626 !important;
}
.consent.has-error input, .consent input[aria-invalid="true"] {
  outline: 2.5px solid #dc2626 !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.24) !important;
  border-radius: 4px;
}
.consent-error {
  display: block;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
  margin: 0 0 8px 0;
  padding: 6px 10px;
  background: rgba(220, 38, 38, 0.1);
  border-left: 3px solid #dc2626;
  border-radius: 6px;
}
.consent-error:empty { display: none; }
.error { color: var(--error); font-weight: 600; margin: 12px 0 0; }
.error:empty { display: none; }
.out-of-area { background: var(--soft); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 8px; margin-top: 16px; }
#next { margin: 32px 0 14px; }
#thanks { outline: none; text-align: center; max-width: 560px; margin: 0 auto; padding: 16px 0 8px; }
#thanks h2 { text-align: center; }
#thanks p { margin: 0 0 16px; }
#thanks [data-thanks-text] { color: var(--muted); font-size: 1.125rem; }
#thanks .btn { width: auto; margin: 4px 6px 12px; }
#thanks .micro { text-align: center; margin-top: 8px; }
/* Centered success check: circle pops in, then the tick draws. */
.thanks-icon { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #8b7ff9);
  box-shadow: 0 0 0 10px var(--accent-soft), 0 14px 30px -8px rgba(91, 80, 246, .6); display: grid; place-items: center; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.thanks-icon svg { width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.thanks-icon .tc { stroke: none; }
.thanks-icon .tk { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .3s ease-out forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .thanks-icon, .thanks-icon .tk { animation: none; stroke-dashoffset: 0; } }

.sticky-cta { position: fixed; inset: auto 0 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(244, 244, 246, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 9; }
@media (min-width: 768px) { .sticky-cta { display: none !important; } }

/* Footer: compliance disclosures at full legibility (all ≥16px, full-contrast muted ink), compact layout */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.site-footer p { margin: 0 0 10px; }
.site-footer strong { color: var(--ink); }
.site-footer a { color: var(--accent-dark); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.footer-brand .powered img { height: 24px; }
.ehl { width: 40px; height: auto; flex: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-id { padding: 18px 0 8px; }
.sep { margin: 0 4px; color: var(--field); }
.footer-legal { padding-top: 14px; border-top: 1px solid var(--line); }
.footer-legal p:last-child { margin-bottom: 0; }

/* Legal pages */
.legal { padding-top: 32px; padding-bottom: 72px; }
.legal h1 { font-size: 2.6rem; font-weight: 800; }
.legal h2 { text-align: left; font-size: 1.375rem; letter-spacing: -.01em; margin-top: 32px; }

@media (max-width: 899px) {
  .hero-inner { padding-bottom: 56px; }
  .steps, .cards { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-row div { padding: 16px 0; }
  .trust-row div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .header-start { display: none; }
  .checks li { font-size: 1.125rem; }
  .flow-card { padding: 24px 18px; border-radius: 20px; }
  .site-footer { padding: 28px 0 100px; } /* room for the sticky mobile button */
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 8px 16px; }
}
@media (max-width: 520px) {
  /* Mobile header: one row. Site name | "Powered by" over the WCL logo (kept adjacent per WCL Compliance), round call button. */
  .site-header .wrap { min-height: 68px; padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .brand { flex-wrap: nowrap; gap: 12px; }
  .wordmark { font-size: 1.0625rem; }
  .wordmark small { font-size: 1rem; }
  .powered { flex-direction: column; align-items: flex-start; gap: 2px; padding-left: 12px; font-size: 1rem; line-height: 1.1; white-space: nowrap; }
  .powered img { height: 22px; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 6px 16px -6px rgba(91, 80, 246, .7); }
  .phone-icon { color: #fff; }
  .phone-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .choices { grid-template-columns: 1fr; }
  .btn { font-size: 1.125rem; }
  .pill-select select { font-size: 1.0625rem; }
  .flow { padding-top: 8px; }
  .flow-card { border: 0; box-shadow: none; background: transparent; padding: 8px 0; }
}
@media (max-width: 359px) {
  .brand { gap: 8px; }
  .wordmark { font-size: 1rem; letter-spacing: .03em; }
  .wordmark small { letter-spacing: .1em; }
  .powered { padding-left: 8px; }
  .powered img { height: 19px; }
  .btn { font-size: 1rem; padding: 12px 18px; gap: 6px; } /* keeps "Find my home equity options →" on one line */
}

/* Bot trap: hidden from people and assistive tech, bots tend to fill it */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
