/*
VOICE: calm, plain-spoken, trustworthy; written for older adults and their families.
IDEA: a neighbourhood agent's front porch — a lit house at dusk, the light left on for you.
PICTURE: layered SVG scene of a small house on a hill, warm window light, evening sky.
COLOUR and TYPE: deep teal ground fields, white, warm coral accent; Libre Franklin throughout.
LAYOUT: full-width bands, big readable type, one calm column for forms and policies.
*/
:root{color-scheme:light dark;
--bg:light-dark(#ffffff,#0f1d20);--ink:light-dark(#1b2629,#e8efef);--muted:light-dark(#4a5a5e,#a9b9bb);
--teal:light-dark(#0d5c63,#7cc6cc);--deep:#0b3f45;--soft:light-dark(#e7f1f2,#16292d);--coral:#e4572e;
--line:light-dark(#cfdcde,#2a4146);--card:light-dark(#ffffff,#132428)}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:72px}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 "Libre Franklin",system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:clip}
a{color:var(--teal)}
.band{padding:clamp(28px,4vw,64px) max(5vw,16px)}
.wrap{max-width:1240px;margin:0 auto}
.narrow{max-width:720px;margin:0 auto}
header.top{background:var(--deep);color:#fff}
header.top .wrap{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;padding:14px max(5vw,16px)}
.brand{color:#fff;text-decoration:none;font-weight:800;font-size:20px;letter-spacing:-.01em}
.brand small{display:block;font-weight:500;font-size:13px;opacity:.85}
nav.main{display:flex;flex-wrap:wrap;gap:6px}
nav.main a{color:#fff;text-decoration:none;padding:10px 14px;border-radius:8px;min-height:44px;display:inline-flex;align-items:center}
nav.main a:hover,nav.main a:focus-visible{background:rgba(255,255,255,.12)}
nav.main a.cta{background:var(--coral);font-weight:700}
h1,h2,h3{line-height:1.1;text-wrap:balance;margin:0 0 .5em}
h1{font-size:clamp(32px,5vw,52px);font-weight:800;letter-spacing:-.02em}
h2{font-size:clamp(24px,3vw,32px);font-weight:800}
h3{font-size:19px;font-weight:700}
.hero{background:var(--deep);color:#fff;padding-top:clamp(20px,3vw,40px);padding-bottom:0}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(20px,4vw,56px);align-items:end}
.hero p.lead{font-size:19px;max-width:34em;opacity:.95}
.hero .copy{padding-bottom:clamp(28px,4vw,56px)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:10px;background:var(--coral);color:#fff;font-weight:700;text-decoration:none;border:0;font:inherit;font-weight:700;cursor:pointer}
.btn.ghost{background:transparent;border:2px solid rgba(255,255,255,.7)}
.btn:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--coral);outline-offset:2px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.scene{display:block;width:100%;height:auto}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px}
.fact{background:var(--soft);border-radius:14px;padding:22px}
.fact p{margin:0;color:var(--muted)}
.states{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:12px 0 0;list-style:none}
.states li{background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:15px}
.license{border:1px solid var(--line);border-radius:14px;padding:20px 22px;background:var(--card)}
.license dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 18px;margin:0}
.license dt{color:var(--muted)}.license dd{margin:0;font-weight:600}
form.quote{display:grid;gap:18px}
label.f{display:grid;gap:6px;font-weight:600}
input[type=text],input[type=tel],input[type=email],select{font:inherit;font-size:17px;min-height:48px;padding:10px 12px;border:1.5px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);width:100%}
.consent{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;background:var(--soft);border-radius:12px;padding:16px;font-size:15px;line-height:1.5}
.consent input{width:24px;height:24px;margin:2px 0 0}
.hp{position:absolute;left:-9999px}
.note{font-size:14px;color:var(--muted)}
.doc h2{font-size:22px;margin-top:1.6em}
.doc p,.doc li{max-width:68ch}
footer.site{background:var(--deep);color:#d8e6e7;font-size:15px}
footer.site .wrap{display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:space-between}
footer.site a{color:#fff}
footer.site nav{display:flex;gap:18px;flex-wrap:wrap}
footer.site p{margin:0 0 4px}
.demo{display:none;background:#fff4d6;color:#3d2e00;border-radius:10px;padding:12px 14px;font-size:15px}
@media(max-width:800px){.hero .wrap{grid-template-columns:minmax(0,1fr)}.hero .copy{padding-bottom:8px}}
@media(prefers-reduced-motion:no-preference){.glow{animation:glow 4s ease-in-out infinite alternate}@keyframes glow{from{opacity:.75}to{opacity:1}}}
