/* AssessMyHouse site layer, loaded after each page's own styles.
   Concept: we mark up the district's notice. Public Sans (the US government's open typeface) for credibility,
   record-ink navy on white paper, correction red for what's over, highlighter yellow only on the value to ask for. */
@font-face{font-family:"Public Sans";src:url(/static/fonts/public-sans-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{--ink:#10241a;--ink-2:#3d5446;--paper:#fff;--field:#f1faf3;--rule:#d4e6d9;--red:#c2362b;--brand:#34c759;--hl:#d3f5dc;--green:#14803a;--accent:#14803a;--accent-ink:#0f6b30;--bg:#fff;--muted:#5b6f62;--line:#d4e6d9}
html{-webkit-text-size-adjust:100%}
body{font-family:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-feature-settings:"tnum" 1;line-height:1.55}
h1{font-size:clamp(28px,4.4vw,44px);line-height:1.12;letter-spacing:-.015em;font-weight:800;max-width:22ch;margin:14px 0 10px}
h2{font-size:clamp(21px,2.4vw,27px);line-height:1.2;font-weight:750;letter-spacing:-.01em;margin:36px 0 10px}
h3{font-size:18px;font-weight:700}
p,li{max-width:70ch}
.lead{font-size:clamp(17px,1.8vw,19px);color:var(--ink-2);max-width:60ch}
:focus-visible{outline:3px solid #14803a;outline-offset:2px;border-radius:4px}

/* header: white bar, Apple-green brand mark */
header .brand{font-weight:800;letter-spacing:-.01em;color:var(--ink)}
header .brand span{color:var(--accent)}
header .brand::before{content:"";display:inline-block;width:22px;height:22px;margin-right:8px;vertical-align:-4px;border-radius:7px;background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11.5L12 5l7 6.5V19h-4.5v-4.5h-5V19H5z' fill='white'/%3E%3C/svg%3E") center/16px no-repeat}
nav.top a.cta{background:var(--accent);color:#fff;border-radius:999px}
a{color:var(--green)}a:hover{color:var(--ink)}

/* the notice: hero form styled as the address line of an appraisal notice */
.notice{background:var(--paper);border:1.5px solid var(--ink);border-radius:10px;padding:0;margin:20px 0 26px;max-width:640px;box-shadow:6px 6px 0 var(--hl)}
.notice-head{display:flex;justify-content:space-between;gap:12px;border-bottom:1.5px solid var(--ink);padding:9px 16px;font-size:13px;font-weight:650;color:var(--ink);background:var(--field);border-radius:9px 9px 0 0}
.notice-head span:last-child{color:var(--muted);font-weight:500}
.notice-body{padding:16px 16px 14px}
.notice label{display:block;font-size:13px;font-weight:650;color:var(--muted);margin-bottom:6px}
.notice .ac{position:relative}
.notice input[type=text],.notice input[name=address]{width:100%;box-sizing:border-box;font:inherit;font-size:19px;font-weight:600;color:var(--ink);background:var(--field);border:0;border-bottom:2px solid var(--ink);border-radius:4px 4px 0 0;padding:14px 14px 12px}
.notice input::placeholder{color:#8a96a8;font-weight:500}
.notice button{display:block;width:100%;margin-top:12px;font:inherit;font-size:19px;font-weight:750;color:#fff;background:var(--accent);border:0;border-radius:999px;padding:15px 18px;cursor:pointer}
.notice button:hover{background:var(--accent-ink)}
.notice-foot{display:flex;flex-wrap:wrap;gap:4px 14px;margin:12px 0 0;font-size:13.5px;color:var(--muted)}
.notice-foot b{color:var(--red);font-weight:700}
.trust{display:flex;flex-wrap:wrap;gap:6px 16px;margin:-12px 0 26px;font-size:14px;color:var(--ink-2)}
.trust span::before{content:"";display:inline-block;width:16px;height:16px;margin-right:7px;border-radius:50%;vertical-align:-3px;background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}

/* address suggestions */
.ac-list{position:absolute;left:0;right:0;top:100%;z-index:20;margin:0;padding:4px 0;list-style:none;background:#fff;border:1.5px solid var(--ink);border-top:0;border-radius:0 0 6px 6px;box-shadow:0 14px 28px rgba(28,43,68,.16);max-height:340px;overflow:auto}
.ac-list[hidden]{display:none}
.ac-list li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:11px 14px;cursor:pointer;font-size:16px}
.ac-list li small{color:var(--muted);font-size:13px;white-space:nowrap}
.ac-list li[aria-selected=true],.ac-list li:hover{background:var(--field)}
.ac-list .ac-empty{color:var(--muted);cursor:default;font-size:14px}

/* sticky mobile call to action */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:50;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-top:3px solid var(--brand);display:none;align-items:center;gap:12px}
.sticky-cta.on{display:flex}
.sticky-cta p{margin:0;font-size:13px;color:var(--ink-2);line-height:1.3;flex:1}
.sticky-cta a{flex:none;background:var(--accent);color:#fff;font-size:17px;font-weight:750;text-decoration:none;border-radius:999px;padding:12px 18px}
.sticky-cta .x{display:none}
@media(min-width:900px){
  .sticky-cta{left:auto;right:24px;bottom:24px;width:300px;flex-wrap:wrap;gap:10px;padding:16px 18px 18px;border:1px solid var(--rule);border-top:4px solid var(--brand);border-radius:12px;box-shadow:0 12px 32px rgba(20,40,30,.16)}
  .sticky-cta.on{animation:amUp .35s ease-out}
  .sticky-cta p{flex-basis:100%;font-size:14px;padding-right:18px}
  .sticky-cta a{flex:1;text-align:center;font-size:16px;padding:11px 16px}
  .sticky-cta .x{display:block;position:absolute;top:6px;right:8px;width:auto;min-height:0;margin:0;background:none!important;box-shadow:none;border:0;border-radius:4px;font-size:22px;font-weight:400;line-height:1;color:var(--ink-2)!important;cursor:pointer;padding:4px 6px}
  .sticky-cta .x:hover{background:var(--rule)!important}
  .sticky-cta .x:focus-visible{outline:2px solid var(--brand)}
}
@keyframes amUp{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.sticky-cta.on{animation:none}}

/* quieter supporting blocks */
.card{border-radius:6px;border-color:var(--rule);box-shadow:none}
.card.deadline{border-left:4px solid var(--red)}
.stats>div{border-radius:6px;box-shadow:none}
.wwh>div{border-radius:6px;box-shadow:none}
.wwh .k{text-transform:none;letter-spacing:0;font-size:14px;font-weight:700;color:var(--accent)}
.strip{border-radius:6px}
table th{font-weight:650}

/* check result: the marked-up notice */
.mk{border:1.5px solid var(--ink);border-radius:10px;overflow:hidden;background:var(--paper);margin:14px 0}
.mk-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 16px;border-bottom:1px solid var(--rule)}
.mk-row:last-child{border-bottom:0}
.mk-row span{color:var(--ink-2);font-size:15px}
.mk-row b{font-size:22px;font-weight:750;white-space:nowrap}
.mk-row s{color:var(--red);text-decoration-thickness:2px}
.mk-row b .hl{font-size:inherit;color:var(--green);background:linear-gradient(transparent 12%,var(--hl) 12%,var(--hl) 88%,transparent 88%);padding:0 5px;border-radius:4px}
.mk-row.ask{background:var(--field)}.mk-row.ask span{color:var(--ink);font-weight:650}.mk-row.ask b{font-size:28px}
.mk-row.save b{color:var(--green)}
.mk-note{font-size:14px;color:var(--red);font-weight:650;padding:8px 16px;margin:0;border-bottom:1px solid var(--rule)}
.an-steps{list-style:none;margin:6px 0;padding:0}
.an-steps li{display:flex;gap:10px;align-items:center;padding:7px 0;color:var(--muted);font-size:15.5px}
.an-steps li::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;border:2px solid var(--rule);box-sizing:border-box}
.an-steps li.done{color:var(--ink)}
.an-steps li.done::before{border-color:var(--brand);background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.an-steps li.now{color:var(--ink);font-weight:600}
.an-steps li.now::before{border-color:var(--accent);border-right-color:transparent;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.an-steps li.now::before{animation:none}*{scroll-behavior:auto!important}}
@media(max-width:600px){.notice{box-shadow:4px 4px 0 var(--field);margin-top:14px}.notice input[name=address]{font-size:18px}h1{margin-top:8px}body{padding-bottom:74px}}

/* green and white: quieter page chrome */
body,main{background:#fff}
.card,.stats>div,.wwh>div{background:#fff;border-color:var(--rule)}
.strip,.note[style*="eef2ff"]{background:var(--field)!important;border-color:var(--rule)!important}
.wwh .k{color:var(--green)}
.badge.b-strong{background:var(--hl);color:#0b5a28}
button:not(.l):not(.choice){background:var(--accent)}
button:not(.l):not(.choice):hover{background:var(--accent-ink)}
.cmp div:first-child{background:var(--hl)}
footer{border-top:3px solid var(--brand)}

/* case score */
.score{border:1.5px solid var(--ink);border-radius:10px;padding:14px 16px;margin:14px 0 10px;background:#fff}
.score-top{display:flex;justify-content:space-between;align-items:baseline}
.score-top span{font-weight:700;font-size:16px}
.score-top b{font-size:34px;font-weight:800;color:var(--green);line-height:1}
.score-top small{font-size:16px;color:var(--muted);font-weight:600}
.meter{height:12px;border-radius:999px;background:var(--field);border:1px solid var(--rule);overflow:hidden;margin:10px 0 8px}
.meter i{display:block;height:100%;border-radius:999px;background:var(--brand)}
.score p{margin:0;font-size:14px;color:var(--ink-2)}
.promise{border-left:6px solid var(--brand);padding:2px 0 2px 18px;margin:30px 0}
.promise h2{margin-top:0}

.score.low .score-top b{color:#9a6512}.score.low .meter i{background:#e0a33a}
.score.mid .meter i{background:var(--brand)}

/* free next steps on the check result */
.free-steps{border:1.5px solid var(--brand);background:var(--field);border-radius:10px;padding:14px 16px;margin:12px 0}
.free-steps b:first-child{font-size:17px}
.free-steps ol{margin:8px 0 10px;padding-left:22px}.free-steps li{margin:4px 0}
.free-steps a{font-weight:700}

header .brand{display:inline-flex;align-items:center;white-space:nowrap}
header .brand::before{flex:none}

/* hero illustration and three-step strip (web/graphics.py) */
.hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:28px;align-items:center}
.hero-art img{width:100%;height:auto;display:block}
@media(max-width:860px){.hero-grid{grid-template-columns:1fr}.hero-art{order:-1;max-width:260px;margin:0 auto -8px}}
.how3{margin:28px 0}.how3 h2{font-size:22px;margin:0 0 12px}
.how3 ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;counter-reset:s}
.how3 li{position:relative;border:1.5px solid #d4e6d9;border-radius:14px;padding:16px 16px 16px;background:#fff;counter-increment:s}
.how3 li:before{content:counter(s);position:absolute;top:14px;right:14px;width:26px;height:26px;border-radius:50%;background:#f1faf3;color:#14803a;font-weight:800;font-size:14px;display:grid;place-items:center}
.how3 svg{width:48px;height:48px;display:block;margin-bottom:10px}
.how3 b{display:block;font-size:17px;margin-bottom:4px}.how3 span{color:#4b5d52;font-size:15px;line-height:1.45}
@media(max-width:760px){.how3 ol{grid-template-columns:1fr}}

/* key facts box */
.kf{margin:18px 0 22px;padding:14px 18px 12px;border:1px solid var(--rule);border-left:4px solid var(--brand);border-radius:6px;background:var(--paper)}
.kf h2{margin:0 0 8px;font-size:17px}
.kf dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 24px}
.kf dl div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dotted var(--rule);padding:4px 0}
.kf dt{color:var(--ink-2);font-size:14px}
.kf dd{margin:0;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}
.kf .kf-src{margin:8px 0 0;font-size:12.5px;color:var(--ink-2)}
@media(max-width:640px){.kf dl{grid-template-columns:1fr}}

/* ---------- v14 layer: wider frame, split hero, calmer data blocks ---------- */
:root{--frame:1120px;--ease:cubic-bezier(.2,.7,.2,1)}
header,main,footer{max-width:var(--frame)!important;padding-left:24px;padding-right:24px}
body{font-size:17px}
p,li{line-height:1.6}
h1{font-size:clamp(30px,4.2vw,48px);line-height:1.06;letter-spacing:-.025em;max-width:19ch;text-wrap:balance}
h2{letter-spacing:-.018em;text-wrap:balance;margin-top:56px}
h3{letter-spacing:-.01em}
.lead,.sub{font-size:clamp(17px,1.6vw,19.5px);line-height:1.55;color:var(--ink-2);max-width:58ch}
main>p,main>ul,main>ol{max-width:72ch}

/* header: full-bleed sticky bar */
header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);box-shadow:0 1px 0 var(--rule),0 0 0 100vmax rgba(255,255,255,.94);clip-path:inset(0 -100vmax -1px);padding-top:12px!important;padding-bottom:12px!important;display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap}
header .brand{font-size:19px;text-decoration:none;margin-right:auto}
header nav a,header>a:not(.brand),header .muted a{color:var(--ink-2)!important;text-decoration:none;font-size:15px;font-weight:550}
header nav a:hover,header>a:not(.brand):hover{color:var(--ink)!important}
nav.top{display:flex;align-items:center;gap:18px}
nav.top a{margin-left:0!important}
nav.top a.cta{color:#fff!important;padding:8px 16px;font-weight:650;transition:background-color .15s,transform .15s var(--ease)}
nav.top a.cta:hover{background:var(--accent-ink);transform:translateY(-1px)}
h2[id],section[id]{scroll-margin-top:84px}

nav.crumbs{font-size:13.5px;margin-top:18px}
nav.crumbs a{text-decoration:none}nav.crumbs a:hover{text-decoration:underline;color:var(--ink)}

/* split hero on wide screens: words left, the notice form right */
@media(min-width:1080px){
  main:has(> form.notice):has(> h1){display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);column-gap:64px;align-content:start}
  main:has(> form.notice):has(> h1)>*{grid-column:1/-1;min-width:0}
  main:has(> form.notice):has(> h1)>nav.crumbs{grid-column:1/-1;grid-row:1}
  main:has(> form.notice):has(> h1)>h1{grid-column:1/-1;grid-row:2;margin-top:18px;max-width:30ch}
  main:has(> form.notice):has(> h1)>.lead{grid-column:1;grid-row:3}
  main:has(> form.notice):has(> h1)>.trust{grid-column:1;grid-row:4;margin:6px 0 0;flex-direction:column;gap:8px}
  main:has(> form.notice):has(> h1)>form.notice{grid-column:2;grid-row:3/7;align-self:start;position:sticky;top:96px;margin:6px 0 0;max-width:none}
}
.notice{transition:box-shadow .2s var(--ease)}
.notice:focus-within{box-shadow:8px 8px 0 var(--hl)}
.notice input[name=address]{transition:background-color .15s,border-color .15s}
.notice input[name=address]:focus{background:#fff;outline:none;border-bottom-color:var(--accent)}

/* buttons: step on hover, press on click */
.notice button,.btn,button:not(.l):not(.choice):not(.x),.sticky-cta a{transition:background-color .15s,transform .15s var(--ease),box-shadow .15s}
.notice button:hover,.btn:hover,.sticky-cta a:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(20,128,58,.22)}
.notice button:active,.btn:active,button:not(.l):not(.choice):not(.x):active,.sticky-cta a:active{transform:translateY(0) scale(.985);box-shadow:none}
.btn{border-radius:999px!important;padding:11px 20px!important}

/* key facts: a tile grid, the value first */
.kf{border:0;border-top:3px solid var(--ink);border-radius:0;padding:14px 0 0;margin:40px 0 28px;background:none}
.kf h2{font-size:15px;font-weight:700;color:var(--ink-2);margin:0 0 12px}
.kf dl{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:0}
.kf dl div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:4px;border:0;border-bottom:1px solid var(--rule);padding:12px 18px 14px 0}
.kf dt{font-size:13.5px;color:var(--muted);line-height:1.35}
.kf dd{text-align:left;font-size:20px;line-height:1.25;font-weight:750;letter-spacing:-.01em}
.kf .kf-src{margin-top:10px}

/* numbers row: big figures, no boxes */
.stats{gap:0!important;border-top:1px solid var(--rule);margin:16px 0 20px!important}
.stats>div{background:none!important;border:0!important;border-radius:0!important;padding:16px 18px 14px 0!important;font-size:clamp(26px,2.6vw,34px)!important;font-weight:800!important;letter-spacing:-.025em;line-height:1.05}
.stats>div span{margin-top:6px;letter-spacing:0;font-size:13.5px!important;line-height:1.35}

/* why / how / what: three columns, no boxes, a rule on top */
.wwh{gap:36px!important;margin:44px 0!important}
.wwh>div{border:0!important;border-top:3px solid var(--brand)!important;border-radius:0!important;padding:16px 0 0!important;background:none!important;font-size:15.5px!important}
.wwh .k{font-size:13px}
.wwh h3{font-size:20px!important;line-height:1.25!important}

/* deadline card */
.card.deadline{background:#fff7f6!important;border:0!important;border-left:4px solid var(--red)!important;border-radius:0 8px 8px 0!important;padding:16px 20px!important}

/* numbered steps directly in a page */
main>ol{list-style:none;padding:0;counter-reset:st;margin:14px 0 20px}
main>ol>li{counter-increment:st;position:relative;padding:10px 0 12px 46px;border-bottom:1px solid var(--rule);max-width:none}
main>ol>li:last-child{border-bottom:0}
main>ol>li::before{content:counter(st);position:absolute;left:0;top:9px;width:30px;height:30px;border-radius:50%;background:var(--field);border:1.5px solid var(--brand);color:var(--green);font-weight:800;font-size:14px;display:grid;place-items:center}
ul.cols{columns:4 180px!important;padding-left:0;list-style:none}
ul.cols li{padding:3px 0;break-inside:avoid}

/* tables */
.tw{border:1px solid var(--rule);border-radius:10px;overflow:auto}
.tw table{margin:0}
table{font-variant-numeric:tabular-nums}
th{background:var(--field)!important;font-size:13.5px;color:var(--ink-2);position:sticky;top:0}
tbody tr:hover td{background:#fafdfb}

/* faq */
.faq h3{font-size:18px!important;margin-top:24px!important}

/* footer: links in a row, the notice below */
footer{display:flex;flex-wrap:wrap;gap:6px 20px;padding-top:28px!important;padding-bottom:40px!important;margin-top:72px!important;border-top:1px solid var(--rule)!important;font-size:14px!important}
footer::before{content:"AssessMyHouse";flex-basis:100%;font-weight:800;color:var(--ink);font-size:16px;margin-bottom:6px}
footer a{margin-right:0!important;text-decoration:none}footer a:hover{text-decoration:underline;color:var(--ink)}
footer p{flex-basis:100%;max-width:80ch;margin:16px 0 0;line-height:1.5;font-size:13px}

/* example result card (graphics.hero_card), replaces the clip-art hero */
.hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;gap:64px!important;align-items:center}
.ex{border:1.5px solid var(--ink);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 24px 48px -24px rgba(16,36,26,.28);font-size:15px}
.ex-head{display:flex;justify-content:space-between;gap:10px;padding:9px 16px;background:var(--field);border-bottom:1.5px solid var(--ink);font-size:13px;font-weight:650}
.ex-head span:last-child{color:var(--muted);font-weight:500}
.ex .mk-row{padding:12px 16px}
.ex .mk-row b{font-size:22px}
.ex .mk-row.ask b{font-size:26px}
.ex-strip{padding:16px 16px 10px;border-bottom:1px solid var(--rule)}
.ex-strip p{margin:0 0 10px;font-size:13px;color:var(--muted);max-width:none}
.ex-line{position:relative;height:34px}
.ex-line::before{content:"";position:absolute;left:0;right:0;top:16px;height:2px;background:var(--rule)}
.ex-line i{position:absolute;top:11px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:#9fd4ad}
.ex-line i.med{width:3px;height:30px;top:2px;margin-left:-1.5px;border-radius:2px;background:var(--ink)}
.ex-line i.you{width:16px;height:16px;top:9px;margin-left:-8px;background:var(--red);box-shadow:0 0 0 3px #fff,0 0 0 4.5px var(--red)}
.ex-key{display:flex;gap:16px;font-size:12.5px;color:var(--muted);margin-top:4px}
.ex-key b{font-weight:650;color:var(--ink)}
.ex-sig{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule)}
.ex-sig div{padding:11px 14px;border-right:1px solid var(--rule)}
.ex-sig div:last-child{border-right:0}
.ex-sig small{display:block;font-size:12px;color:var(--muted);line-height:1.3}
.ex-sig b{display:block;font-size:15px;margin-top:3px}
.ex-sig b::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--brand);margin-right:6px;vertical-align:1px}
.ex-sig b.mid::before{background:#e0a33a}
@media(max-width:860px){.hero-grid{grid-template-columns:1fr!important;gap:28px!important}.hero-grid .ex{order:0}}
@media(max-width:420px){.ex-sig{grid-template-columns:1fr}.ex-sig div{border-right:0;border-bottom:1px solid var(--rule)}.ex-sig div:last-child{border-bottom:0}}

/* how it works: open columns */
.how3{margin:72px 0 24px}
.how3 h2{font-size:clamp(22px,2.4vw,28px)!important;margin-bottom:18px!important}
.how3 ol{gap:36px!important}
.how3 li{border:0!important;border-top:3px solid var(--ink)!important;border-radius:0!important;padding:18px 0 0!important;background:none!important}
.how3 li:before{top:18px!important;right:0!important}
.how3 b{font-size:19px!important}

@media(max-width:600px){
  header,main,footer{padding-left:18px;padding-right:18px}
  nav.top{gap:12px}
  header nav a:not(.cta){font-size:14px}
  .kf dl{grid-template-columns:1fr 1fr}
  .kf dd{font-size:17px}
  .wwh{gap:28px!important}
  h2{margin-top:44px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.ex-key span:first-child b{color:var(--red)}

/* v14 fixes: hero card after the form on small screens, one-row scrolling nav */
@media(max-width:860px){.hero-art{order:1!important;max-width:none!important;margin:8px 0 0!important}}
.ex .mk-row span{flex:1;min-width:0}
@media(max-width:600px){
  header nav{order:3;flex-basis:100%;display:flex;align-items:center;gap:16px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;padding-bottom:2px}
  header nav::-webkit-scrollbar{display:none}
  header nav a{margin-left:0!important}
  .ex .mk-row b{font-size:19px}.ex .mk-row.ask b{font-size:22px}
}

body:has(#out:not(.hidden)) .hero-art{display:none}

/* EN | ES switch, top right of the header (web/langtoggle.py) */
.lang{order:4;display:inline-flex;align-items:center;flex:none;margin-left:6px;padding:3px;border:1.5px solid var(--rule);border-radius:999px;background:#fff;font-size:13px;font-weight:750;letter-spacing:.03em;line-height:1}
.lang a,.lang span{display:inline-grid;place-items:center;min-width:34px;height:28px;padding:0 9px;border-radius:999px;text-decoration:none!important}
.lang span{background:var(--ink);color:#fff}
.lang a{color:var(--ink-2)!important;transition:background-color .15s,color .15s}
.lang a:hover{background:var(--field);color:var(--ink)!important}
@media(max-width:600px){.lang{order:2;margin-left:auto}header .brand{margin-right:0}header nav a.cta{order:-1}}

/* logo (Nov 19, 2026): green AssessMyHouse logo image; it carries the house mark, so the old CSS mark is off */
header .brand::before{content:none!important;display:none!important}
header .brand{display:inline-flex;align-items:center;line-height:0}
header .brand img.logo{height:36px;width:auto;display:block}
@media(max-width:600px){header .brand img.logo{height:28px}}

/* laptop and wider (Nov 20, 2026): the big headline runs across the page above the two columns; phones unchanged */
@media(min-width:861px){
  h1.hero-h1{max-width:30ch;margin-bottom:22px}
}

/* accessibility pass (Nov 20, 2026, ui-ux-pro-max audit) */
.skip{position:absolute;left:12px;top:-60px;z-index:1000;background:var(--ink);color:#fff!important;padding:10px 16px;border-radius:8px;font-weight:700;text-decoration:none}
.skip:focus{top:12px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wwh h2{font-size:20px!important;line-height:1.25!important;margin:2px 0 6px!important;letter-spacing:0;font-weight:700}
.tw:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
/* tap targets: at least 24px everywhere (WCAG 2.2), comfortable on touch screens */
header nav a,footer a{display:inline-flex;align-items:center;min-height:32px}
nav.crumbs a{display:inline-block;padding:4px 0}
.card>a:not(.btn){display:inline-block;padding:4px 0}
@media(pointer:coarse){header nav a{min-height:44px}footer a{min-height:40px}}
/* legal pages: same logo header as the rest of the site */
header.legal-head{padding-top:0;padding-bottom:14px;margin:0 0 18px;border-bottom:1px solid var(--rule);max-width:none!important}
header.legal-head .brand img.logo{height:32px}
/* form fields: touch-size and 16px text (no zoom-on-focus on iPhone) */
main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),main select{min-height:44px;font-size:16px;box-sizing:border-box}
main input[type=checkbox],main input[type=radio]{width:24px!important;height:24px!important;min-width:24px;flex:none;accent-color:var(--accent);vertical-align:-6px;margin-right:6px}
/* the address box is always a stacked card (Cook pages' own style lays every form out in a row) */
form.notice{display:block!important}
/* "tell your neighbors" links on the outcome page */
.btn-share{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1.5px solid #14803a;border-radius:999px;color:#14803a;font-weight:600;text-decoration:none}
.btn-share:hover{background:#eef7f0}
.btn-share:focus-visible{outline:3px solid #14803a;outline-offset:2px}
