:root {
  --ink: #14231e;
  --muted: #6c7974;
  --line: #dfe7e1;
  --paper: #ffffff;
  --wash: #f5f8f5;
  --green: #087e4d;
  --green-dark: #075e3b;
  --orange: #f7a817;
  --orange-soft: #fff5dc;
  --shadow: 0 24px 70px rgba(25, 57, 43, .09);
}

* { box-sizing: border-box; }
html { background: var(--wash); }
body { margin: 0; color: var(--ink); background: var(--wash); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.5; overflow: hidden; }
button, input { font: inherit; }
button, label, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.app-shell { height: 100dvh; min-height: 600px; display: grid; grid-template-columns: minmax(235px, .88fr) minmax(450px, 1.5fr) minmax(225px, .82fr); max-width: 1480px; margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.brand-panel, .side-panel { padding: clamp(28px, 4vw, 64px) clamp(24px, 4vw, 60px); display: flex; flex-direction: column; justify-content: space-between; }
.brand-panel { background: var(--green); color: white; }
.side-panel { background: #f0f6f1; color: var(--ink); position: relative; overflow: hidden; }
.side-panel::after { content: ""; position: absolute; width: 170px; height: 170px; right: -74px; bottom: 48px; border: 1px solid rgba(8,126,77,.15); border-radius: 50%; box-shadow: 0 0 0 24px rgba(8,126,77,.035), 0 0 0 48px rgba(8,126,77,.025); }
.brand-lockup { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .16em; line-height: 1.08; }
.brand-mark { width: 44px; height: 44px; object-fit: cover; border-radius: 11px; background: white; }
.eyebrow, .funnel-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brand-panel .eyebrow { margin-top: clamp(78px, 11vh, 150px); color: #9de3bd; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Manrope, sans-serif; letter-spacing: -.04em; line-height: 1.08; }
h1 { max-width: 300px; margin: 14px 0 20px; font-size: clamp(33px, 4vw, 52px); }
.brand-copy { max-width: 270px; margin: 0; color: #d3f0dd; font-size: 17px; }
.brand-copy strong { color: white; font-weight: 600; }
.trust-note { display: flex; align-items: flex-start; gap: 11px; max-width: 280px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: 13px; }
.trust-note strong, .trust-note span { display: block; }
.trust-note strong { font-size: 14px; }
.trust-note div > span { margin-top: 2px; color: #b9e6ca; }
.trust-icon { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; color: var(--green); background: var(--orange); font-size: 13px; font-weight: 800; }

.funnel-panel { padding: clamp(28px, 5vw, 72px) clamp(24px, 6vw, 92px); min-height: 0; display: flex; flex-direction: column; }
.funnel-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 600; }
.topline-right { display: flex; align-items: center; gap: 18px; }
.header-call { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 7px; color: var(--green); background: var(--orange-soft); font-size: 13px; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.header-call:hover { background: #ffe9b5; transform: translateY(-1px); }
.header-call[aria-disabled="true"] { cursor: not-allowed; opacity: .7; }
.funnel-label { color: var(--green); }
.progress-track { height: 5px; overflow: hidden; border-radius: 9px; background: #edf1ed; }
.progress-track span { display: block; width: 33.33%; height: 100%; border-radius: inherit; background: var(--orange); transition: width .3s ease; }
form { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.step { display: none; min-height: 0; overflow: hidden; padding-top: clamp(28px, 5vh, 54px); animation: rise .25s ease both; }
.step.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-kicker { margin-bottom: 10px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.step h2 { max-width: 470px; margin-bottom: 13px; font-size: clamp(30px, 4vw, 46px); }
.step-help { max-width: 480px; margin-bottom: 24px; color: var(--muted); }
fieldset { padding: 0; margin: 0; border: 0; }
.choice-grid { display: grid; gap: 10px; }
.amount-fieldset { max-width: 560px; }
.amount-display { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.amount-display > span { color: var(--muted); font-size: 14px; font-weight: 700; }
.amount-display output { color: var(--green); font-family: Manrope, sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.05em; }
input[type="range"] { width: 100%; height: 8px; margin: 6px 0; accent-color: var(--green); cursor: pointer; }
input[type="range"]:focus-visible { outline: 3px solid rgba(247,168,23,.35); outline-offset: 6px; }
.range-scale { display: flex; justify-content: space-between; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 600; }
.collateral-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; }
.choice-card { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 76px; padding: 16px 17px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.choice-card:hover { border-color: #a9c5b4; transform: translateY(-1px); }
.choice-card:has(input:focus-visible) { outline: 3px solid rgba(247,168,23,.35); outline-offset: 2px; }
.choice-card:has(input:checked) { border-color: var(--green); background: #f0faf4; box-shadow: inset 0 0 0 1px var(--green); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span { font-size: 15px; font-weight: 700; }
.choice-card i { color: var(--muted); font-size: 13px; font-style: normal; }
.question-block { margin-top: 24px; }
.question-heading { display: flex; gap: 10px; align-items: baseline; margin-bottom: 11px; }
.question-heading span { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.question-heading h3 { margin: 0; font-size: 17px; }
.icon-card { min-height: 102px; justify-content: center; }
.icon-card span { display: flex; align-items: center; gap: 9px; font-size: 17px; }
.choice-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--green); background: var(--orange-soft); border-radius: 8px; font-size: 16px; font-style: normal; }
.choice-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ownership-block { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 560px; margin-top: 20px; }
.ownership-question { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.ownership-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.property-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-choice { min-height: 52px; padding: 13px 14px; }
.compact-choice span { font-size: 14px; }
.tip-box { display: flex; gap: 10px; max-width: 520px; margin-top: 30px; padding: 14px 15px; border-left: 3px solid var(--orange); background: var(--orange-soft); }
.tip-box > span { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; border: 1px solid #d79a22; border-radius: 50%; color: #92630a; font-size: 12px; font-weight: 800; }
.tip-box p { margin: 0; color: #765a1d; font-size: 13px; }
.field-stack { display: grid; gap: 16px; max-width: 520px; }
.text-field { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 700; }
.text-field input { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; outline: none; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.text-field input::placeholder { color: #a3aca6; }
.text-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,126,77,.12); }
.consent-row { display: flex; align-items: flex-start; gap: 10px; max-width: 520px; margin-top: 20px; color: var(--muted); font-size: 13px; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.form-error { min-height: 22px; margin-top: 20px; color: #b43d24; font-size: 14px; font-weight: 600; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 22px; margin-top: auto; border-top: 1px solid var(--line); }
.back-button { border: 0; padding: 12px 0; color: var(--muted); background: transparent; font-size: 14px; font-weight: 700; }
.back-button:disabled { visibility: hidden; }
.primary-button, .call-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; border: 0; border-radius: 8px; color: white; background: var(--green); padding: 14px 19px; font-size: 15px; font-weight: 700; transition: background .2s, transform .2s; }
.primary-button:hover, .call-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: .65; }
.success-state { padding-top: clamp(55px, 10vh, 110px); animation: rise .3s ease both; }
.success-badge { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%; color: var(--green); background: #dcf4e5; font-size: 26px; font-weight: 800; }
.success-state h2 { margin-bottom: 14px; font-size: clamp(31px, 4vw, 46px); }
.success-copy { max-width: 480px; margin-bottom: 26px; color: var(--muted); }
.call-button { text-decoration: none; }
.call-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.side-number { position: absolute; top: 28px; right: 30px; color: rgba(8,126,77,.11); font-family: Manrope, sans-serif; font-size: 70px; font-weight: 800; letter-spacing: -.1em; }
.side-panel .eyebrow { margin-bottom: 13px; color: var(--green); }
.side-panel h2 { max-width: 160px; margin-bottom: 44px; font-size: 32px; }
.next-list { display: grid; gap: 25px; padding: 0; margin: 0; list-style: none; }
.next-list li { display: grid; grid-template-columns: 31px 1fr; gap: 10px; }
.next-list li > span { color: var(--orange); font-size: 12px; font-weight: 800; }
.next-list strong { display: block; font-size: 14px; }
.next-list p { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.side-footer { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.tiny-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

@media (max-width: 1050px) { .app-shell { grid-template-columns: 230px minmax(420px, 1fr); } .side-panel { display: none; } }
@media (max-width: 700px) { body { background: white; } .app-shell { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); min-height: 0; box-shadow: none; } .brand-panel { min-height: 0; padding: 13px 24px 14px; } .brand-panel .eyebrow { margin-top: 10px; } h1 { max-width: 430px; margin: 5px 0 7px; font-size: 28px; } .brand-copy { max-width: 430px; font-size: 13px; } .trust-note { display: none; } .funnel-panel { min-height: 0; padding: 12px 24px 12px; overflow: hidden; } .step { padding-top: 14px; } .step-help { margin-bottom: 14px; } .choice-card { min-height: 58px; padding: 12px 13px; } .choice-card i { font-size: 12px; } .icon-card { min-height: 68px; } .question-block { margin-top: 15px; } .ownership-block { margin-top: 12px; gap: 8px; } .ownership-question { min-height: 32px; line-height: 1.3; } .compact-choice { min-height: 44px; padding: 9px 10px; } .tip-box { margin-top: 10px; padding: 8px 10px; } .tip-box p { font-size: 12px; line-height: 1.3; } .form-actions { margin-top: auto; padding-top: 10px; } .topline-right { gap: 10px; } .header-call { padding: 6px 8px; font-size: 12px; } }
@media (max-width: 400px) { .collateral-grid { grid-template-columns: 1fr 1fr; } .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ownership-block { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-panel, .funnel-panel { padding-left: 18px; padding-right: 18px; } .step h2 { font-size: 28px; } .icon-card { min-height: 65px; } .icon-card span { font-size: 13px; } .choice-icon { width: 26px; height: 26px; } }
