:root {
  --bg: #f4f6fb; --surface: #ffffff; --ink: #141b2d; --muted: #6b7489; --line: #e4e8f1; --soft: #f0f3fa;
  --blue: #2f5bf5; --blue-2: #1d3fd6; --blue-ink: #ffffff; --tint: #e8eeff; --sky-1: #bcd7ff; --sky-2: #eef5ff;
  --ok: #138a4c; --ok-bg: #e3f6eb; --warn: #c2410c; --warn-bg: #fdece4; --example: #fff5d1; --example-ink: #6b5200;
  --h1: #2f5bf5; --h2: #6f9bff; --h3: #1b2b5e; --h4: #a9c6ff; --h5: #3f69c9; --h6: #f7f9ff; --win: #ffffff; --frame: #dfe7f7; --water: #4f7fe8;
  --shadow: 0 18px 40px -24px rgba(23, 43, 99, .35); --shadow-s: 0 6px 18px -10px rgba(23, 43, 99, .3);
  --r-l: 24px; --r: 16px; color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue); }
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* header */
.site-head { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--surface); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.logo .mark { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(160deg, var(--blue), var(--blue-2)); display: grid; place-items: center; }
.logo .mark svg { width: 18px; height: 20px; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; padding: 9px 13px; border-radius: 12px; font-size: 15px; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a.on { color: var(--blue); background: var(--tint); }
.nav a.cta { background: linear-gradient(160deg, var(--blue), var(--blue-2)); color: var(--blue-ink); margin-left: 6px; }
@media (max-width: 820px) { .nav { display: none; } }

/* bottom nav on phones, like an app */
.tabbar { display: none; }
@media (max-width: 820px) {
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line);
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); box-shadow: 0 -10px 30px -20px rgba(23,43,99,.4); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; padding: 6px 0; }
  .tabbar a .ico { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--blue); }
  .tabbar a.on::after { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--blue); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* buttons, inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(160deg, var(--blue), var(--blue-2)); color: var(--blue-ink); text-decoration: none; padding: 14px 22px; border-radius: 14px; border: 0; cursor: pointer; font: 700 16px/1.2 "Plus Jakarta Sans", sans-serif; box-shadow: 0 10px 22px -12px var(--blue); }
.btn.ghost { background: var(--surface); color: var(--blue); border: 1.5px solid var(--line); box-shadow: none; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
label { display: block; font-weight: 600; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 15px/1.3 "Plus Jakarta Sans", sans-serif; background: var(--surface); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--ink); }
.check input { margin-top: 2px; flex: none; }

/* hero */
.hero { padding-block: 22px 10px; }
.hero-card { position: relative; border-radius: var(--r-l); overflow: hidden; background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); display: grid; }
.hero-card .scene { width: 100%; height: clamp(200px, 30vw, 300px); margin-top: 8px; }
.hero-card .scene svg { width: 100%; height: 100%; display: block; }
.hero-top { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px; align-items: start; padding-right: clamp(16px, 4vw, 40px); }
@media (max-width: 860px) { .hero-top { grid-template-columns: minmax(0, 1fr); padding: 0; } .alert-card { margin: 4px 16px 8px; } }
.alert-card { margin-top: clamp(16px, 4vw, 40px); background: var(--surface); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.alert-card .ac-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.alert-card .ac-head b { display: block; font-size: 16px; }
.alert-card .ac-head span { font-size: 13px; color: var(--muted); }
.alert-card .badge { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.alert-card label { margin: 4px 0 0; }
.alert-card .check { margin: 6px 0 4px; font-size: 13px; }
.alert-card .more { font-size: 13px; font-weight: 600; text-align: center; margin-top: 4px; text-decoration: none; }
.hero-copy { position: relative; z-index: 2; padding: clamp(24px, 5vw, 52px) clamp(24px, 5vw, 52px) 0; max-width: 680px; }
.hero-copy h1 { font-size: clamp(32px, 5.4vw, 56px); color: var(--h3); }
.hero-copy .lead { font-size: 17px; color: var(--ink); opacity: .78; margin-top: 14px; max-width: 46ch; }
.search-card { position: relative; z-index: 3; margin: -64px auto 0; max-width: 940px; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow); }
.search-card .bar { border-radius: var(--r-l) var(--r-l) 0 0; background: linear-gradient(160deg, var(--blue), var(--blue-2)); color: var(--blue-ink); text-align: center; font-weight: 700; padding: 13px 16px; }
.search-card form { padding: 16px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }

section.block { padding-block: 40px; }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.block-head h2 { font-size: clamp(22px, 3vw, 28px); }
.see-all { font-weight: 700; text-decoration: none; }

/* cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-s); min-width: 0; border: 1px solid var(--line); }
.card.pad { padding: 22px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.listing { position: relative; display: block; text-decoration: none; color: var(--ink); padding: 10px; transition: transform .18s, box-shadow .18s; }
.listing:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.photo { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--sky-2); }
.photo svg { width: 100%; height: 100%; display: block; }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(20, 27, 45, .55); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; }
.tag.new { left: auto; right: 56px; background: var(--blue); }
.heart { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; color: #141b2d; z-index: 2; }
.heart.on { color: #e5384f; }
.heart.on .ico { fill: currentColor; }
.l-body { padding: 12px 6px 6px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin-top: 4px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 500; }
.specs span { display: inline-flex; gap: 6px; align-items: center; }
.specs .ico { width: 16px; height: 16px; color: var(--blue); }
.flag { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.flag.ok { color: var(--ok); background: var(--ok-bg); }
.flag.warn { color: var(--warn); background: var(--warn-bg); }
.example-note { background: var(--example); color: var(--example-ink); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 500; }

/* city chips */
.chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips a { flex: none; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-s); }
.chips a:hover { border-color: var(--blue); color: var(--blue); }

/* listings page */
.seg-tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg-tabs button { border: 0; background: transparent; color: var(--muted); padding: 9px 16px; border-radius: 10px; font: 700 14px/1 "Plus Jakarta Sans", sans-serif; cursor: pointer; }
.seg-tabs button.on { background: var(--tint); color: var(--blue); }
.layout { display: grid; gap: 24px; grid-template-columns: 320px minmax(0, 1fr); align-items: start; padding-block: 24px 50px; }
.filters { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); display: grid; gap: 16px; }
.filters .row2 { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: 8px 13px; border-radius: 10px; font: 600 14px/1 "Plus Jakarta Sans", sans-serif; cursor: pointer; }
.seg button.on { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-head h1 { font-size: clamp(22px, 3vw, 28px); }
.results-head select { width: auto; }
.filter-toggle { display: none; }
.empty { padding: 40px 20px; text-align: center; }
@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filter-toggle { display: inline-flex; }
}

/* detail */
.back { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; padding-block: 18px 12px; }
.detail { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; padding-bottom: 50px; }
.detail .photo { aspect-ratio: 16 / 10; border-radius: var(--r-l); }
.dots { display: flex; gap: 5px; justify-content: center; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); }
.dots i:first-child { width: 18px; background: var(--blue); }
.title-row { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-top: 18px; }
.title-row h1 { font-size: clamp(24px, 3.4vw, 34px); }
.bm { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none; }
.bm.on { color: var(--blue); } .bm.on .ico { fill: currentColor; }
.spec-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border: 1px solid var(--line); border-radius: 18px; margin-top: 18px; background: var(--surface); overflow: hidden; }
.spec-box div { display: grid; justify-items: center; gap: 6px; padding: 16px 8px; text-align: center; font-size: 13px; color: var(--muted); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-box b { color: var(--ink); font-size: 15px; }
.spec-box .ico { width: 22px; height: 22px; color: var(--ink); }
.side { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv b { font-weight: 700; }
.meter { height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; margin-top: 12px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--h2)); border-radius: 8px; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.checks .i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.checks .ok .i { background: var(--ok-bg); color: var(--ok); }
.checks .warn .i { background: var(--warn-bg); color: var(--warn); }
.checks .num .i { background: var(--tint); color: var(--blue); }
@media (max-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr); } .side { position: static; } }

/* article pages */
.page-head .wrap { padding-block: 34px 8px; }
.page-head h1 { font-size: clamp(28px, 4.4vw, 42px); }
.page-head p { color: var(--muted); max-width: 60ch; margin-top: 10px; font-size: 17px; }
.prose { max-width: 72ch; padding-block: 24px 56px; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; scroll-margin-top: 90px; }
.prose h3 { font-size: 20px; margin: 22px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.toc { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin: 24px 0 10px; }
.toc a { text-decoration: none; color: var(--ink); }
.toc .card { height: 100%; transition: transform .18s; }
.toc .card:hover { transform: translateY(-2px); border-color: var(--blue); }
.toc .badge { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 12px; }
.toc .badge .ico { width: 20px; height: 20px; }
.note { background: var(--tint); padding: 14px 16px; border-radius: 14px; font-size: 15px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 10px; box-shadow: var(--shadow-s); }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin-top: 10px; }
.res { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.res a { text-decoration: none; color: var(--ink); }
.res .card:hover { border-color: var(--blue); }
.res b { color: var(--blue); }

/* steps */
.steps, .toc.four { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
@media (max-width: 980px) { .steps, .toc.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps, .toc.four { grid-template-columns: minmax(0, 1fr); } }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--blue); font-weight: 800; margin-bottom: 12px; }
.cta-band { border-radius: var(--r-l); background: linear-gradient(140deg, var(--blue), var(--blue-2)); color: var(--blue-ink); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: center; }
.cta-band .btn { background: #ffffff; color: #1d3fd6; box-shadow: none; }

/* footer */
.site-foot { background: #0f1730; color: #b9c4de; margin-top: 30px; }
.site-foot .wrap { padding-block: 40px 40px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.site-foot a { color: #ffffff; text-decoration: none; display: block; margin-bottom: 7px; font-size: 14px; }
.site-foot a.logo { color: #fff; display: flex; font-size: 19px; }
.site-foot h4 { margin: 0 0 12px; color: #8f9cbd; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.site-foot .disc { grid-column: 1 / -1; font-size: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.form-msg { margin-top: 12px; font-weight: 600; color: var(--ok); }
.hidden { display: none; }

/* multi-select dropdown */
.ms { position: relative; }
.ms-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 500 15px/1.3 "Plus Jakarta Sans", sans-serif; cursor: pointer; text-align: left; }
.ms-btn[aria-expanded="true"] { border-color: var(--blue); }
.ms-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-pop { position: absolute; z-index: 50; left: 0; right: 0; min-width: 200px; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; }
.ms-opt { display: flex; gap: 10px; align-items: center; padding: 9px 10px; margin: 0; border-radius: 10px; font: 500 15px/1.2 "Plus Jakarta Sans", sans-serif; color: var(--ink); cursor: pointer; }
.ms-opt:hover { background: var(--soft); }
.ms-actions { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 6px; padding: 8px 4px 2px; }
.ms-actions button { border: 0; background: none; font: 700 14px/1 "Plus Jakarta Sans", sans-serif; color: var(--muted); cursor: pointer; padding: 6px 8px; }
.ms-actions .ms-done { color: var(--blue); }

/* checkboxes: white with a thin border */
input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid #c3cbdc; border-radius: 5px; background: #ffffff; display: inline-grid; place-content: center; cursor: pointer; flex: none; }
input[type=checkbox]::before { content: ""; width: 10px; height: 10px; transform: scale(0); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); background: #ffffff; transition: transform .1s; }
input[type=checkbox]:checked { background: var(--blue); border-color: var(--blue); }
input[type=checkbox]:checked::before { transform: scale(1); }
input[type=checkbox]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* channel picker */
.chan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--soft); padding: 4px; border-radius: 12px; margin-bottom: 4px; }
.chan label { margin: 0; }
.chan input { position: absolute; opacity: 0; pointer-events: none; }
.chan span { display: block; text-align: center; padding: 9px 4px; border-radius: 9px; font: 700 13px/1 "Plus Jakarta Sans", sans-serif; color: var(--muted); cursor: pointer; }
.chan input:checked + span { background: var(--surface); color: var(--blue); box-shadow: var(--shadow-s); }
.chan input:focus-visible + span { outline: 2px solid var(--blue); }

/* alerts band */
.alerts-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; background: linear-gradient(140deg, var(--blue), var(--blue-2)); color: #fff; border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); }
.alerts-band .eyebrow { display: inline-block; background: rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.alerts-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin-top: 14px; }
.alerts-band p { opacity: .9; margin-top: 10px; max-width: 52ch; }
.ab-channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 22px; }
.ab-channels div { display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.14); padding: 8px 14px 8px 8px; border-radius: 999px; }
.ab-channels .badge { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--blue-2); display: grid; place-items: center; }
.ab-channels .badge .ico { width: 16px; height: 16px; }
.alerts-band .btn { background: #fff; color: #1d3fd6; box-shadow: none; }
.ab-phone { background: #0f1730; border-radius: 28px; padding: 18px 14px; display: grid; gap: 10px; max-width: 340px; justify-self: center; width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.msg { background: #ffffff; color: #141b2d; border-radius: 16px; padding: 12px 14px; font-size: 14px; }
.msg p { margin: 2px 0 0; opacity: 1; }
.msg .msg-top { display: flex; justify-content: space-between; font-size: 12px; color: #6b7489; margin-bottom: 4px; }
.msg .msg-top b { color: #141b2d; }
.msg .ok { color: #138a4c; font-weight: 600; font-size: 13px; }
.msg .link { display: inline-block; margin-top: 6px; color: #2f5bf5; font-weight: 700; font-size: 13px; }
@media (max-width: 820px) { .alerts-band { grid-template-columns: minmax(0, 1fr); } }

/* map search */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 16px; align-items: start; }
@media (max-width: 900px) { .map-wrap { grid-template-columns: minmax(0, 1fr); } }
.map-box { position: relative; aspect-ratio: 5 / 4; max-width: 100%; border-radius: var(--r-l); overflow: hidden; background: #dfeaff; box-shadow: var(--shadow); }
.map-box svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-box .pin, .map-box .bubble, .map-box .map-city { position: absolute; transform: translate(-50%, -50%); font: inherit; }
.map-box .pin { background: var(--surface); color: var(--h3); border: 0; border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 8px rgba(29, 63, 214, .25); cursor: pointer; white-space: nowrap; }
.map-box .pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 0; border-top-color: var(--surface); }
.map-box .pin.on, .map-box .pin:hover { background: var(--blue); color: #fff; z-index: 2; }
.map-box .pin.on::after, .map-box .pin:hover::after { border-top-color: var(--blue); }
.map-box .pin.warn { box-shadow: 0 0 0 2px #f0a43a, 0 2px 8px rgba(0,0,0,.15); }
.map-box .bubble { display: grid; justify-items: center; gap: 4px; background: none; border: 0; cursor: pointer; }
.map-box .bubble b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(160deg, var(--blue), var(--blue-2)); color: #fff; font-size: 16px; box-shadow: 0 0 0 6px rgba(47, 91, 245, .18); }
.map-box .bubble span { font-size: 12px; font-weight: 700; color: var(--h3); background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 999px; }
.map-box .bubble:hover b { transform: scale(1.08); }
.map-box .map-city { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8aa0d6; pointer-events: none; margin-top: -40px; }
.map-box .map-back { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 700; color: var(--h3); box-shadow: var(--shadow); cursor: pointer; }
.map-box .map-back .ico { width: 16px; height: 16px; }
.map-box .map-note { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: var(--muted); background: rgba(255,255,255,.8); padding: 2px 8px; border-radius: 999px; }
.map-hint .badge { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 10px; }
.view-seg button { display: inline-flex; align-items: center; gap: 6px; }
.view-seg .ico { width: 16px; height: 16px; }
.search-card .map-link { grid-column: 1 / -1; justify-self: center; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.search-card .map-link .ico { width: 18px; height: 18px; }

/* brand hero */
.brand-hero { padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 52px) 0; max-width: 760px; position: relative; z-index: 2; }
.brand-hero .brand { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(40px, 7vw, 72px); font-weight: 800; letter-spacing: -.03em; color: var(--h3); line-height: 1; }
.brand-hero .brand .mark { width: clamp(40px, 6vw, 60px); height: clamp(40px, 6vw, 60px); border-radius: 16px; }
.brand-hero .slogan { font-size: clamp(22px, 3.4vw, 34px); font-weight: 700; color: var(--blue); margin-top: 14px; letter-spacing: -.01em; }
.brand-hero .lead { font-size: 17px; color: var(--ink); opacity: .78; margin-top: 12px; max-width: 52ch; }
.alerts-band form { display: grid; gap: 8px; margin-top: 18px; max-width: 460px; }
.alerts-band form label { color: #fff; margin: 0; font-size: 13px; font-weight: 600; }
.alerts-band form .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
@media (max-width: 520px) { .alerts-band form .row2 { grid-template-columns: minmax(0, 1fr); } }
.alerts-band form .check span, .alerts-band form .check a { color: #fff; }
.alerts-band .chan { background: rgba(255,255,255,.16); }
.alerts-band .form-msg { color: #fff; }
.search-block { margin-top: 0; }
.search-block .search-card { margin: 0 auto; }
.alerts-band .chan span { color: #fff; }
.alerts-band .chan input:checked + span { color: var(--blue); }
.brand-hero .mark { background: linear-gradient(160deg, var(--blue), var(--blue-2)); display: grid; place-items: center; }
.brand-hero .mark svg { width: 46%; height: 52%; }
.nav a.cta.ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.nav a.cta.ghost:hover, .nav a.cta.ghost.on { background: var(--tint); }
.nav a.cta + a.cta { margin-left: 8px; }
main h1, .brand-hero .brand { color: var(--blue); }
.brand-hero .slogan { color: var(--h3); }
.map-box .bubble { display: flex; align-items: center; gap: 6px; transform: translate(-19px, -50%); }
.map-box .bubble.left { flex-direction: row-reverse; transform: translate(calc(-100% + 19px), -50%); }
.map-box .bubble b { width: 38px; height: 38px; font-size: 15px; flex: none; }
.chan { grid-template-columns: repeat(2, 1fr); }

/* ---------- motion and depth ---------- */
:root { --ease: cubic-bezier(.2, .8, .2, 1); --shadow-l: 0 30px 60px -28px rgba(23, 43, 99, .45), 0 10px 20px -12px rgba(23, 43, 99, .18); }

/* reveal on scroll (only when JS turned motion on) */
.motion .rv { opacity: 0; }
.motion .rv.in { opacity: 1; animation: rvin .75s var(--ease) var(--d, 0ms) both; }
@keyframes rvin { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

/* buttons: lift and a light sweep */
.btn, .nav a.cta { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn::after, .nav a.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); translate: -120% 0; transition: translate .7s var(--ease); }
.btn:hover, .nav a.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -14px var(--blue); }
.btn:hover::after, .nav a.cta:hover::after { translate: 120% 0; }
.btn:active, .nav a.cta:active { transform: translateY(0) scale(.98); }
.btn.ghost::after, .nav a.cta.ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(47,91,245,.14) 50%, transparent 70%); }

/* nav links: sliding underline */
.nav a:not(.cta) { position: relative; transition: color .2s, background-color .2s; }
.nav a:not(.cta)::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.cta):hover::before { transform: scaleX(1); }
.logo .mark { transition: transform .4s var(--ease); }
.logo:hover .mark { transform: rotate(-8deg) scale(1.08); }

/* cards: depth, tilt, glow that follows the mouse */
.listing, .toc .card, .steps .card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; will-change: transform; }
.listing:hover, .toc a:hover .card, .steps .card:hover { box-shadow: var(--shadow-l); border-color: #c9d6f7; }
.listing:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.toc a:hover .card, .steps .card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
.listing.tilt, .toc .card.tilt, .steps .card.tilt { transition: transform .08s linear, box-shadow .35s var(--ease); }
.listing::after, .toc .card::after, .steps .card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 91, 245, .10), transparent 60%); opacity: 0; transition: opacity .3s; }
.toc .card, .steps .card { position: relative; }
.listing:hover::after, .toc a:hover .card::after, .steps .card:hover::after { opacity: 1; }
.photo svg { transition: transform .8s var(--ease); }
.listing:hover .photo svg { transform: scale(1.07); }
.listing .price { transition: color .25s; }
.listing:hover .price { color: var(--blue); }
.heart { transition: transform .25s var(--ease), background-color .2s; }
.heart:hover { transform: scale(1.15); }
.heart.on { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.toc .badge, .steps .card::before { transition: transform .4s var(--ease), background-color .3s, color .3s; }
.toc a:hover .badge, .steps .card:hover::before { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.1); }
.tag.new { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 5px rgba(47, 91, 245, .25); } }

/* inputs: soft focus ring */
input:not([type=checkbox]):not([type=radio]), select, .ms-btn { transition: border-color .2s, box-shadow .25s; }
input:not([type=checkbox]):not([type=radio]):focus, select:focus, .ms-btn:focus-visible { box-shadow: 0 0 0 4px rgba(47, 91, 245, .15); }
.seg button, .seg-tabs button, .chan span { transition: background-color .25s, color .25s, box-shadow .25s, transform .2s; }
.seg button:active, .seg-tabs button:active { transform: scale(.96); }
details summary { transition: color .2s; }
details:hover summary { color: var(--blue); }
details[open] > *:not(summary) { animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; translate: 0 -6px; } }

/* hero: houses rise, clouds drift, water moves, tree sways */
.hero-card { box-shadow: var(--shadow-l); }
.hero .scene .h { transform-box: fill-box; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .1s); }
@keyframes rise { from { transform: translateY(70px); opacity: 0; } }
.scene .clouds { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(120px); } }
.scene .sun { transform-box: fill-box; transform-origin: center; animation: sun 5s ease-in-out infinite; }
@keyframes sun { 50% { transform: scale(1.12); opacity: 1; } }
.scene .waves { animation: waves 6s ease-in-out infinite alternate; }
@keyframes waves { to { transform: translateX(-30px); } }
.scene .tree { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(2.5deg); } }
.brand-hero > * { animation: up .9s var(--ease) both; }
.brand-hero > :nth-child(2) { animation-delay: .15s; }
.brand-hero > :nth-child(3) { animation-delay: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
.brand-hero .brand .mark { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-4deg); } }

/* alerts band: moving light and incoming messages */
.alerts-band { position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-l); }
.alerts-band::before, .alerts-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.alerts-band::before { width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(140, 180, 255, .55), transparent 65%); animation: float 12s ease-in-out infinite alternate; }
.alerts-band::after { width: 360px; height: 360px; left: -140px; bottom: -180px; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); animation: float 15s ease-in-out infinite alternate-reverse; }
@keyframes float { to { transform: translate(-60px, 50px) scale(1.15); } }
.ab-phone { transition: transform .5s var(--ease); transform: perspective(900px) rotateY(-8deg) rotateX(4deg); }
.alerts-band:hover .ab-phone { transform: perspective(900px) rotateY(0) rotateX(0) translateY(-4px); }
.motion .alerts-band .msg { opacity: 0; transform: translateY(16px) scale(.96); }
.motion .alerts-band.in .msg { animation: msg .6s var(--ease) both; }
.motion .alerts-band.in .msg:nth-child(1) { animation-delay: 1.1s; }
.motion .alerts-band.in .msg:nth-child(2) { animation-delay: .5s; }
@keyframes msg { to { opacity: 1; transform: none; } }
.msg { transition: transform .3s var(--ease), box-shadow .3s; }
.msg:hover { transform: translateX(-4px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.msg:first-child .msg-top span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; margin-right: 6px; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); } 100% { box-shadow: 0 0 0 8px rgba(47, 191, 113, 0); } }
.alerts-band .eyebrow { animation: glow 2.6s ease-in-out infinite; }

/* search card and map */
.search-card { transition: box-shadow .35s var(--ease); }
.search-card:focus-within, .search-card:hover { box-shadow: var(--shadow-l); }
.map-box .bubble b { transition: transform .3s var(--ease); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(47, 91, 245, .35); } 100% { box-shadow: 0 0 0 16px rgba(47, 91, 245, 0); } }
.map-box .pin { animation: drop-pin .5s var(--ease) both; transition: transform .2s var(--ease), background-color .2s, color .2s; }
.map-box .pin:hover, .map-box .pin.on { transform: translate(-50%, -50%) scale(1.12); }
@keyframes drop-pin { from { opacity: 0; translate: 0 -18px; } }
.map-side > * { animation: up .45s var(--ease) both; }
.footer-links a, .site-foot a { transition: color .2s, opacity .2s; }

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

/* full-width layout */
html, body { overflow-x: clip; }
.wrap { max-width: 1320px; }
.home > .hero, .home > section { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.home > section { max-width: 1320px; margin-inline: auto; }
.home > .hero { padding: 0; }
.home .hero-card { border-radius: 0 0 var(--r-l) var(--r-l); box-shadow: none; }
.home .brand-hero { max-width: none; padding-left: max(32px, calc((100vw - 1320px) / 2 + 32px)); padding-right: max(32px, calc((100vw - 1320px) / 2 + 32px)); }
.home .brand-hero .lead { max-width: 60ch; }
.home .hero-card .scene { height: clamp(220px, 26vw, 380px); }

/* hero with two big actions */
html { scroll-behavior: smooth; }
#alerts { scroll-margin-top: 90px; }
.home .hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px; align-items: end; padding-left: max(24px, calc((100vw - 1320px) / 2 + 32px)); padding-right: max(24px, calc((100vw - 1320px) / 2 + 32px)); position: relative; z-index: 2; }
.home .hero-row .brand-hero { padding-left: 0; padding-right: 0; }
@media (max-width: 860px) { .home .hero-row { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.hero-ctas { display: grid; gap: 14px; padding-bottom: 8px; animation: up .9s var(--ease) .45s both; }
.big-cta { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s; }
.big-cta b { display: block; font-size: 22px; letter-spacing: -.01em; }
.big-cta small { display: block; font-size: 14px; font-weight: 500; opacity: .8; margin-top: 2px; }
.big-cta .bc-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; transition: transform .4s var(--ease); }
.big-cta .bc-ico .ico { width: 26px; height: 26px; }
.big-cta .arr { margin-left: auto; width: 24px; height: 24px; flex: none; transition: transform .3s var(--ease); }
.big-cta.rent { background: rgba(255, 255, 255, .55); color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue), 0 14px 30px -20px rgba(23, 43, 99, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.big-cta.rent .bc-ico { background: var(--tint); color: var(--blue); }
.big-cta.rent small { color: var(--ink); }
.big-cta.alerts { background: linear-gradient(150deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 18px 34px -16px var(--blue); }
.big-cta.alerts .bc-ico { background: rgba(255, 255, 255, .2); color: #fff; }
.big-cta.alerts .bc-ico .ico { animation: ring-bell 3s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring-bell { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.big-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); translate: -120% 0; transition: translate .8s var(--ease); }
.big-cta:hover { transform: translateY(-4px); }
.big-cta.rent:hover { background: #fff; }
.big-cta:hover::after { translate: 120% 0; }
.big-cta:hover .arr { transform: translateX(5px); }
.big-cta:hover .bc-ico { transform: rotate(-6deg) scale(1.06); }

/* one continuous page: hero and alerts band edge to edge */
.home .hero-card { border-radius: 0; }
.home > section.band-full { max-width: none; padding: 0; }
.band-full .alerts-band { border-radius: 0; box-shadow: none; padding-block: clamp(40px, 6vw, 80px); padding-left: max(24px, calc((100vw - 1320px) / 2 + 32px)); padding-right: max(24px, calc((100vw - 1320px) / 2 + 32px)); background: linear-gradient(180deg, #2a4fdf 0%, var(--blue-2) 100%); }
.home .hero-card .scene svg rect[height="60"] { fill: #2a4fdf; }
.site-foot { margin-top: 0; }

/* sky: clouds drift across, a boat on the canal */
.sky-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.sky-fx .cl { position: absolute; left: 0; opacity: .9; animation: fly linear infinite; }
.sky-fx .cl svg { display: block; width: 100%; height: auto; }
.sky-fx .c1 { top: 8%; width: 130px; animation-duration: 55s; animation-delay: -10s; }
.sky-fx .c2 { top: 22%; width: 90px; opacity: .75; animation-duration: 75s; animation-delay: -40s; }
.sky-fx .c3 { top: 38%; width: 160px; opacity: .8; animation-duration: 65s; animation-delay: -25s; }
.sky-fx .c4 { top: 14%; width: 70px; opacity: .6; animation-duration: 90s; animation-delay: -70s; }
@keyframes fly { from { transform: translateX(-200px); } to { transform: translateX(calc(100vw + 40px)); } }
.sky-fx .boat { position: absolute; bottom: clamp(8px, 1.6vw, 26px); left: 0; width: clamp(56px, 6vw, 90px); animation: sail 38s linear infinite, bobbing 2.4s ease-in-out infinite; }
.sky-fx .boat svg { display: block; width: 100%; height: auto; }
@keyframes sail { from { left: -100px; } to { left: calc(100% + 20px); } }
@keyframes bobbing { 50% { transform: translateY(-3px) rotate(-1.5deg); } }
.scene .tree { animation: sway 3.6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3.5deg); } }
@media (prefers-reduced-motion: reduce) { .sky-fx { display: none; } }

/* language switcher */
.site-head .wrap { gap: 10px; }
.site-head .nav { margin-left: auto; }
.lang { position: relative; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--line); border-radius: 12px; padding: 8px 11px; font: 700 14px/1 "Plus Jakarta Sans", sans-serif; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); background: var(--tint); }
.lang-btn .ico { width: 18px; height: 18px; }
.lang-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-l); padding: 6px; min-width: 190px; display: grid; animation: drop .25s var(--ease); }
.lang-pop[hidden] { display: none; }
.lang-pop button { display: flex; gap: 12px; align-items: center; background: none; border: 0; border-radius: 10px; padding: 10px 12px; font: 500 15px/1.2 "Plus Jakarta Sans", sans-serif; color: var(--ink); cursor: pointer; text-align: left; }
.lang-pop button b { width: 26px; color: var(--muted); font-size: 12px; }
.lang-pop button:hover { background: var(--soft); }
.lang-pop button.on { background: var(--tint); color: var(--blue); }
.lang-pop button.on b { color: var(--blue); }
.lang-note { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: var(--tint); color: var(--h3); font-size: 14px; font-weight: 600; }
.sky-fx .cl { opacity: .7; } .sky-fx .c2, .sky-fx .c4 { opacity: .5; }
.nav a { white-space: nowrap; }
@media (max-width: 1100px) { .nav a { padding: 8px 8px; font-size: 14px; } .nav a.cta { margin-left: 2px; } .site-head .logo { font-size: 18px; } }
@media (max-width: 960px) { .nav a[href="resources.html"] { display: none; } }

/* ---------- round 3 fixes ---------- */
.map-wrap.hidden, .grid.hidden { display: none; }
/* results header controls: one height */
.rh-ctrl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rh-ctrl > * { height: 46px; }
.rh-ctrl .view-seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: 14px; flex-wrap: nowrap; }
.rh-ctrl .view-seg button { height: 38px; border: 0; padding: 0 16px; border-radius: 10px; background: transparent; color: var(--muted); font: 700 15px/1 "Plus Jakarta Sans", sans-serif; }
.rh-ctrl .view-seg button.on { background: var(--surface); color: var(--blue); box-shadow: var(--shadow-s); }
.rh-ctrl select, .rh-ctrl .btn { padding: 0 14px; font: 600 15px/1 "Plus Jakarta Sans", sans-serif; border-radius: 14px; }
.rh-ctrl select { min-width: 180px; }
/* filters: stay in view while the results scroll */
@media (min-width: 981px) { .filters { position: static; max-height: none; overflow: visible; } }
/* map controls */
.map-box { touch-action: none; cursor: grab; user-select: none; }
.map-box.grab { cursor: grabbing; }
.map-box .marks { position: absolute; inset: 0; pointer-events: none; }
.map-box .marks > * { pointer-events: auto; }
.map-box .map-city { position: absolute; }
.map-box .pin { animation: none; }
.map-ctrl { position: absolute; right: 12px; top: 12px; display: grid; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.map-ctrl button { width: 40px; height: 40px; border: 0; background: none; font: 700 22px/1 "Plus Jakarta Sans", sans-serif; color: var(--h3); cursor: pointer; transition: background-color .2s, color .2s; }
.map-ctrl button + button { border-top: 1px solid var(--line); }
.map-ctrl button:hover { background: var(--tint); color: var(--blue); }
/* clouds: never cut */
.sky-fx .cl svg { overflow: visible; }
/* water into the alerts band: one surface */
.home .hero-card .scene svg rect[height="60"] { fill: #2a4fdf; }
.home .hero-card .scene svg rect[height="8"] { fill: #2a4fdf; }
.home .hero-card .scene svg .waves { stroke-opacity: .25; }
.band-full .alerts-band { overflow: visible; background: linear-gradient(180deg, #2a4fdf 0%, #2446d8 40%, var(--blue-2) 100%); padding-block: clamp(36px, 5vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.band-full .alerts-band::before { top: 18%; right: 4%; width: 380px; height: 380px; }
.band-full .alerts-band::after { bottom: 4%; left: 2%; }
@keyframes float { to { transform: translate(-30px, 20px) scale(1.1); } }
/* city dropdown readable on blue */
.alerts-band .ms-pop, .alerts-band .ms-opt { color: var(--ink); }
.alerts-band .ms-opt { font-weight: 500; font-size: 15px; }
.alerts-band .ms-actions button { color: var(--blue); }
/* alert visual: phone + floating chips */
.ab-visual { position: relative; display: grid; place-items: center; padding-block: 10px; }
.ab-visual .ab-phone { max-width: 360px; border-radius: 34px; padding: 14px 12px 16px; border: 6px solid #1c2645; gap: 9px; }
.ph-top { display: flex; align-items: center; gap: 10px; color: #fff; padding: 4px 6px 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ph-top b { display: block; font-size: 15px; }
.ph-top small { color: #8f9cbd; font-size: 12px; }
.ph-av .mark { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(160deg, var(--blue), var(--blue-2)); display: grid; place-items: center; }
.ph-av .mark svg { width: 16px; height: 18px; }
.motion .alerts-band.in .msg:nth-child(2) { animation-delay: 1.4s; }
.motion .alerts-band.in .msg:nth-child(3) { animation-delay: .9s; }
.motion .alerts-band.in .msg:nth-child(4) { animation-delay: .4s; }
.ab-visual .chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--h3); font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 14px; box-shadow: 0 16px 30px -14px rgba(10, 20, 60, .5); white-space: nowrap; animation: chipfloat 5s ease-in-out infinite; }
.ab-visual .chip i { font-style: normal; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 8px; background: var(--tint); color: var(--blue); font-size: 13px; }
.ab-visual .c-a { left: 0; top: 14%; }
.ab-visual .c-b { right: 0; top: 46%; animation-delay: -1.7s; }
.ab-visual .c-c { left: 4%; bottom: 10%; animation-delay: -3.2s; }
@keyframes chipfloat { 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .ab-visual .chip { display: none; } }
/* about band */
.home > section.about-band { max-width: none; padding: 0; background: var(--surface); }
.about-band .ab-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); padding-left: max(24px, calc((100vw - 1320px) / 2 + 32px)); padding-right: max(24px, calc((100vw - 1320px) / 2 + 32px)); }
@media (max-width: 900px) { .about-band .ab-in { grid-template-columns: minmax(0, 1fr); } }
.about-copy .eyebrow { display: inline-block; background: var(--tint); color: var(--blue); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-copy h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--blue); margin-top: 14px; }
.about-copy p { color: var(--ink); opacity: .8; margin: 14px 0 22px; max-width: 54ch; font-size: 16px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .values { grid-template-columns: minmax(0, 1fr); } }
.val { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.val:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: #c9d6f7; }
.val h3 { font-size: 17px; margin: 14px 0 6px; color: var(--h3); }
.val p { font-size: 14px; color: var(--muted); margin: 0; }
.v-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, var(--blue), var(--blue-2)); color: #fff; transition: transform .4s var(--ease); }
.v-ico .ico { width: 22px; height: 22px; }
.val:hover .v-ico { transform: rotate(-8deg) scale(1.08); }
/* footer */
.site-foot { position: relative; background: #0f1730; color: #b9c4de; margin-top: 0; }
.home + .site-foot, main + .site-foot { margin-top: 0; }
.f-sky { display: block; width: 100%; height: 46px; position: absolute; left: 0; bottom: 100%; }
.site-foot .wrap.f-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; padding-block: 56px 36px; }
@media (max-width: 900px) { .site-foot .wrap.f-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-foot .wrap.f-main { grid-template-columns: minmax(0, 1fr); } }
.f-brand p { margin: 14px 0 20px; font-size: 15px; max-width: 32ch; color: #b9c4de; }
.site-foot .f-brand .f-email { display: block; width: fit-content; margin-top: 16px; color: #a9c6ff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-foot .f-brand .f-email:hover { color: #ffffff; }
.site-foot .f-brand a.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; margin: 0; }
.site-foot a.f-cta { display: inline-flex; color: #fff; padding: 12px 18px; font-size: 15px; margin: 0; }
.site-foot a.f-cta .ico { width: 18px; height: 18px; }
.f-col { display: grid; gap: 4px; align-content: start; }
.site-foot .f-col h4 { margin: 6px 0 10px; color: #7f8db3; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.site-foot .f-col a { color: #e6ebf7; font-size: 15px; margin: 0; padding: 5px 0; width: fit-content; position: relative; }
.site-foot .f-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: #7fa3ff; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-foot .f-col a:hover { color: #fff; }
.site-foot .f-col a:hover::after { transform: scaleX(1); }
.site-foot .wrap.f-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px 28px; }
@media (max-width: 640px) { .site-foot .wrap.f-bottom { grid-template-columns: minmax(0, 1fr); } }
.site-foot .disc { font-size: 12.5px; line-height: 1.6; color: #8f9cbd; margin: 0; border: 0; padding: 0; max-width: none; }
.site-foot .copy { font-size: 13px; color: #8f9cbd; margin: 0; white-space: nowrap; }
@media (max-width: 820px) { .site-foot { padding-bottom: 70px; } }
@media (max-width: 820px) { body { padding-bottom: 0; } .site-foot { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } }
/* chips beside the phone, never on top of it */
.ab-visual { display: grid; grid-template-columns: auto minmax(0, 340px); align-items: center; justify-content: center; gap: 22px; }
.ab-visual .chips-col { display: grid; gap: 16px; justify-items: end; }
.ab-visual .chip { position: static; }
.ab-visual .chips-col .chip:nth-child(2) { margin-right: 18px; animation-delay: -1.7s; }
.ab-visual .chips-col .chip:nth-child(3) { animation-delay: -3.2s; }
@media (max-width: 1100px) { .ab-visual { grid-template-columns: minmax(0, 340px); } .ab-visual .chips-col { display: none; } }
.map-box .map-back:not([hidden]) { display: inline-flex !important; align-items: center; flex-direction: row; }
.map-box .map-back[hidden] { display: none; }
.map-box .map-back .ico { width: 16px; height: 16px; flex: none; }
.map-box .map-back .ico, .map-box .map-ctrl svg { position: static; inset: auto; }

/* ---------- round 4 ---------- */
/* tip boxes */
.prose .tip, .tip { position: relative; background: #fff8e6; border: 1px solid #f6e2a8; border-radius: 14px; padding: 14px 16px 14px 48px; color: #5b4a17; font-size: 15px; }
.tip::before { content: "💡"; position: absolute; left: 16px; top: 13px; font-size: 18px; }
.tip b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8a6a12; margin-bottom: 4px; }
.checks li.tip-li { background: #fff8e6; border: 1px solid #f6e2a8; border-radius: 12px; padding: 10px 12px; color: #5b4a17; }
.checks li.tip-li .i { background: #fde9b0; color: #8a6a12; }
/* slimmer header */
.site-head .wrap { padding-block: 7px; }
.logo .mark { width: 30px; height: 30px; border-radius: 9px; }
.site-head .logo { font-size: 19px; }
.nav a { padding: 7px 12px; font-size: 14.5px; }
.nav a.cta { padding: 8px 14px; }
.lang-btn { padding: 7px 10px; font-size: 13px; }
/* hero: more air */
.home .hero-row { padding-top: clamp(40px, 6vw, 84px); align-items: center; gap: clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 1fr) minmax(0, 360px); padding-left: max(24px, calc((100vw - 1320px) / 2 + 16px)); padding-right: max(24px, calc((100vw - 1320px) / 2 + 16px)); }
.brand-hero .brand { font-size: clamp(38px, 5vw, 60px); }
.brand-hero .brand .mark { width: clamp(38px, 4.6vw, 52px); height: clamp(38px, 4.6vw, 52px); border-radius: 14px; }
.brand-hero .slogan { font-size: clamp(20px, 2.6vw, 28px); margin-top: 12px; }
.home .brand-hero .lead { font-size: 16px; line-height: 1.65; max-width: 52ch; margin-top: 14px; }
.hero-ctas { justify-self: end; width: 100%; gap: 12px; }
.big-cta { padding: 14px 16px; border-radius: 18px; gap: 14px; }
.big-cta b { font-size: 19px; }
.big-cta small { font-size: 13px; }
.big-cta .bc-ico { width: 44px; height: 44px; border-radius: 13px; }
.big-cta .bc-ico .ico { width: 22px; height: 22px; }
.home .hero-card .scene { height: clamp(200px, 22vw, 320px); margin-top: clamp(16px, 3vw, 40px); }
/* blue band: depth, light and moving water lines */
.band-full .alerts-band { background:
  url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22240%22%20height%3D%2240%22%3E%3Cpath%20d%3D%22M0%2020%20Q30%208%2060%2020%20T120%2020%20T180%2020%20T240%2020%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-opacity%3D%22.14%22%20stroke-width%3D%222%22/%3E%3C/svg%3E") 0 14px / 240px 40px repeat-x,
  url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22240%22%20height%3D%2240%22%3E%3Cpath%20d%3D%22M0%2020%20Q30%208%2060%2020%20T120%2020%20T180%2020%20T240%2020%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-opacity%3D%22.14%22%20stroke-width%3D%222%22/%3E%3C/svg%3E") 120px 58px / 240px 40px repeat-x,
  url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22240%22%20height%3D%2240%22%3E%3Cpath%20d%3D%22M0%2020%20Q30%208%2060%2020%20T120%2020%20T180%2020%20T240%2020%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-opacity%3D%22.14%22%20stroke-width%3D%222%22/%3E%3C/svg%3E") 60px 102px / 240px 40px repeat-x,
  radial-gradient(ellipse 60% 50% at 85% 20%, rgba(130, 175, 255, .35), transparent 70%),
  radial-gradient(ellipse 50% 60% at 10% 90%, rgba(10, 25, 110, .35), transparent 70%),
  linear-gradient(180deg, #2a4fdf 0%, #2443d3 45%, #1a33b0 100%);
  animation: flow 18s linear infinite; }
@keyframes flow { to { background-position: 240px 14px, -120px 58px, 300px 102px, 0 0, 0 0, 0 0; } }
.band-full .alerts-band::before, .band-full .alerts-band::after { display: none; }
/* smaller phone that fits */
.ab-visual { grid-template-columns: auto minmax(0, 300px); }
.ab-visual .ab-phone { max-width: 300px; border-radius: 30px; padding: 10px 10px 12px; }
.ab-visual .msg { font-size: 13px; padding: 10px 12px; }
.ab-visual .msg .ok, .ab-visual .msg .link { font-size: 12px; }
.ph-top { padding: 2px 4px 6px; }
.ph-av .mark { width: 30px; height: 30px; }
/* footer skyline sits flush, no seam */
.f-sky { bottom: calc(100% - 2px); height: 48px; }
.brand-hero .brand .mark { animation: none; }

/* ---------- round 5: depth instead of waves ---------- */
.home .hero-row { align-items: end; padding-bottom: 6px; }
.hero-ctas { padding-bottom: 4px; }
.band-full .alerts-band { animation: none; background: linear-gradient(180deg, #2a4fdf 0%, #2141c6 22%, #1a339c 55%, #12236c 85%, #0d1a52 100%); padding-top: clamp(28px, 3.5vw, 48px); padding-bottom: clamp(110px, 10vw, 150px); position: relative; isolation: isolate; overflow: hidden; }
.band-full .alerts-band > :not(.depth) { position: relative; z-index: 1; }
.depth { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.depth .rays { position: absolute; inset: -10% -10% 30%; background: repeating-linear-gradient(105deg, rgba(160, 200, 255, .10) 0 50px, transparent 50px 150px); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); animation: rays 14s ease-in-out infinite alternate; }
@keyframes rays { to { transform: translateX(60px) skewX(-4deg); opacity: .7; } }
.depth .bub { position: absolute; bottom: 70px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(190, 215, 255, .5); background: rgba(190, 215, 255, .08); animation: rise-bub 9s ease-in infinite; }
.depth .b1 { left: 8%; animation-delay: 0s; } .depth .b2 { left: 14%; width: 6px; height: 6px; animation-delay: 3s; }
.depth .b3 { left: 47%; width: 8px; height: 8px; animation-delay: 5s; } .depth .b4 { left: 72%; animation-delay: 1.5s; }
.depth .b5 { left: 88%; width: 6px; height: 6px; animation-delay: 6.5s; } .depth .b6 { left: 94%; width: 12px; height: 12px; animation-delay: 4s; }
@keyframes rise-bub { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-420px) translateX(14px); opacity: 0; } }
.depth .bed { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(70px, 8vw, 120px); display: block; }
.depth .weed path { fill: none; stroke: #2a8a6a; stroke-width: 5; stroke-linecap: round; opacity: .8; transform-box: fill-box; transform-origin: 50% 100%; animation: weed 4.5s ease-in-out infinite; }
.depth .weed path:nth-child(2n) { stroke: #3aa57e; stroke-width: 4; animation-duration: 5.5s; animation-delay: -1s; }
@keyframes weed { 50% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .depth .bub { display: none; } }

/* ---------- round 6 ---------- */
.band-full .alerts-band { padding-bottom: clamp(48px, 6vw, 80px); padding-top: clamp(36px, 4vw, 56px); grid-template-columns: minmax(0, 560px) minmax(0, 620px); justify-content: center; gap: clamp(32px, 5vw, 72px); background: linear-gradient(180deg, #2a4fdf 0%, #2445d6 35%, #1d3ab8 75%, #1a34a8 100%); }
.depth .rays { inset: 0 -10%; background: repeating-linear-gradient(105deg, rgba(170, 205, 255, .045) 0 70px, transparent 70px 200px); filter: blur(14px); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 100%); animation: rays 18s ease-in-out infinite alternate; }
@keyframes rays { to { transform: translateX(50px); opacity: .6; } }
/* phone a bit larger, chips always visible */
.ab-visual { grid-template-columns: auto minmax(0, 330px); justify-content: center; }
.ab-visual .ab-phone { max-width: 330px; }
.ab-visual .msg { font-size: 13.5px; }
@media (max-width: 1100px) {
  .ab-visual { grid-template-columns: minmax(0, 330px); }
  .ab-visual .chips-col { display: flex; flex-wrap: wrap; justify-content: center; order: 2; gap: 10px; }
  .ab-visual .chips-col .chip:nth-child(2) { margin-right: 0; }
}
@media (max-width: 860px) { .band-full .alerts-band { grid-template-columns: minmax(0, 1fr); justify-items: center; } .band-full .ab-copy { width: 100%; max-width: 560px; } }
/* header: soft gradient instead of flat white */
.site-head { background: linear-gradient(100deg, rgba(255,255,255,.96) 0%, rgba(244,248,255,.96) 45%, rgba(228,238,255,.96) 100%); box-shadow: 0 1px 0 rgba(47, 91, 245, .08), 0 8px 24px -18px rgba(23, 43, 99, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 1100px) { .ab-visual .chip { display: inline-flex; } }
/* breathing room above the footer skyline on inner pages */
main:not(.home) { padding-bottom: clamp(72px, 9vw, 120px); }
.home > section.about-band .ab-in { padding-bottom: clamp(96px, 10vw, 140px); }
/* header option A: melts into the sky at the top, white once you scroll */
.site-head { background: rgba(255, 255, 255, .92); box-shadow: 0 6px 20px -14px rgba(23, 43, 99, .35); border-bottom: 0; transition: background-color .35s, box-shadow .35s; }
.site-head.top { background: #bcd7ff; box-shadow: none; }
.site-head.top .lang-btn { border-color: rgba(47, 91, 245, .25); }
.site-head.top .nav a:not(.cta):hover { background: rgba(255, 255, 255, .45); }

/* round: glass header (her choice) */
.site-head { background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid rgba(255,255,255,.7); box-shadow: 0 8px 24px -18px rgba(23,43,99,.45); }
.site-head.top { background: rgba(255,255,255,.28); box-shadow: none; border-bottom-color: rgba(255,255,255,.55); }
.site-head .lang-btn { background: rgba(255,255,255,.5); }

/* round: header/footer logo mark matches the big hero mark */
.logo .mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(160deg, var(--blue), var(--blue-2)); }
.logo .mark svg { width: 46%; height: 52%; }

/* round: house centred in the logo mark (square viewBox) */
.logo .mark svg, .brand-hero .mark svg { width: 50%; height: 50%; }
.ph-av .mark svg { width: 15px; height: 15px; }

/* round: nav links readable on the glass header */
.nav a:not(.cta) { color: #2a4396; }
.nav a:not(.cta):hover { color: var(--blue); background: rgba(255,255,255,.55); }
.nav a.on:not(.cta) { color: var(--blue); }

/* round: phone fixes */
@media (max-width: 860px) {
  .home .hero-row { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
  .hero-ctas { justify-self: stretch; }
}
@media (max-width: 820px) {
  .band-full .alerts-band { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .alerts-band .ab-copy { display: contents; }
  .alerts-band .eyebrow { order: 1; justify-self: start; }
  .alerts-band h2 { order: 2; }
  .alerts-band .ab-visual { order: 3; margin-block: 22px 6px; }
  .alerts-band .ab-copy > p { order: 4; margin-top: 0; }
  .alerts-band form { order: 5; }
}
.f-sky { height: max(48px, calc(100vw * 60 / 1400)); }

/* round: phone hero — less top gap, narrower centred buttons */
@media (max-width: 860px) {
  .home .hero-row { padding-top: 22px; }
  .home .brand-hero { padding-top: 0; }
  .hero-ctas { justify-self: center; width: 100%; max-width: 380px; }
  .big-cta { padding-block: 12px; }
}

/* round: phone website keeps the menu in the header (bottom tab bar is for the future app) */
.menu-btn { display: none; }
@media (max-width: 820px) {
  .tabbar { display: none !important; }
  body { padding-bottom: 0 !important; }
  .site-foot { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .site-head .wrap { position: relative; }
  .site-head .lang { margin-left: auto; }
  .menu-btn { display: inline-grid; place-items: center; width: 42px; height: 38px; border: 1px solid rgba(47,91,245,.25); border-radius: 12px; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: #2a4396; position: relative; transition: transform .25s, background-color .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .site-head.open .menu-btn span { background: transparent; }
  .site-head.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .site-head.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .site-head.open { background: rgba(255,255,255,.97); }
  .site-head.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.98); border-radius: 0 0 22px 22px; box-shadow: 0 24px 40px -24px rgba(23,43,99,.45); }
  .site-head.open .nav a { display: block; padding: 13px 12px; font-size: 16px; border-radius: 12px; }
  .site-head.open .nav a.cta { margin: 8px 0 0; text-align: center; padding: 14px; }
  .site-head.open .nav a.cta + a.cta { margin-left: 0; }
}

/* round: desktop hero — buttons closer to the text */
@media (min-width: 861px) {
  .home .hero-row { grid-template-columns: minmax(0, 640px) 380px; justify-content: center; gap: 72px; }
  .hero-ctas { justify-self: stretch; }
}
@media (max-width: 820px) { .site-head.open .nav { background: #fff !important; -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; } .site-head.open .nav a { opacity: 1; } }

/* round: account */
.acct-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #2a4396; border: 1px solid rgba(47,91,245,.25); background: rgba(255,255,255,.5); text-decoration: none; flex: none; transition: background-color .2s, color .2s; }
.acct-btn .ico { width: 19px; height: 19px; }
.acct-btn:hover, .acct-btn.on { background: var(--tint); color: var(--blue); }
.nav a.m-only { display: none; }
@media (max-width: 820px) {
  .acct-btn { margin-left: auto; }
  .site-head .lang { margin-left: 0; }
  .site-head.open .nav a.m-only { display: block; order: 5; }
}
.acct { padding-block: 8px 72px; display: grid; gap: 34px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } }
.acct-login { display: grid; gap: 10px; }
.acct-login h2 { font-size: 24px; color: var(--blue); }
.acct-login .badge, .alert-row .badge { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(160deg, var(--blue), var(--blue-2)); color: #fff; display: grid; place-items: center; }
.acct-login label { font-weight: 600; font-size: 14px; margin-top: 6px; }
.acct-login .btn { justify-self: start; }
.acct-why h3 { color: var(--h3); margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: var(--tint); color: var(--blue); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.danger { color: #c22b41 !important; }
.btn.ghost.danger { box-shadow: inset 0 0 0 2px #e9a3ad; background: transparent; }
.acct-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct-top > div { display: grid; gap: 2px; min-width: 0; }
.acct-email { font-size: 18px; color: var(--h3); overflow-wrap: anywhere; }
.acct-sec { display: grid; gap: 14px; }
.acct-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acct-h h2 { font-size: 24px; color: var(--blue); display: flex; align-items: center; gap: 10px; }
.acct-h a { font-weight: 700; color: var(--blue); text-decoration: none; }
.count { font-size: 13px; background: var(--tint); color: var(--blue); border-radius: 999px; padding: 3px 10px; }
.acct .empty { display: grid; justify-items: center; gap: 14px; }
.acct .empty .ico { width: 16px; height: 16px; vertical-align: -3px; color: var(--blue); }
.alert-list { display: grid; gap: 10px; }
.alert-row { display: flex; align-items: center; gap: 14px; }
.alert-row > div { flex: 1; min-width: 0; }
.acct-data { display: grid; gap: 12px; }
textarea { resize: vertical; min-height: 90px; }

/* Round 19.10: hero search, new homes, alert explanations, check sources */
.hero-search { display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 18px 36px -22px rgba(23, 43, 99, .55); position: relative; z-index: 5; }
.hero-search .hs-title { font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.hero-search .hs-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; }
.hero-search label { font-size: 13px; }
.hero-search .btn { justify-content: center; }
.hero-search .btn .ico { width: 18px; height: 18px; }
.home .hero-card { overflow: visible; }
.home .hero-card > .scene, .home .hero-card > .sky-fx { overflow: hidden; }
.new-homes { padding-block: 44px 20px; }
.ab-how { list-style: none; padding: 0; margin: 2px 0 4px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.45; }
.alerts-band .ab-how { color: rgba(255, 255, 255, .88); }
.alerts-band .ab-how b { color: #fff; }
.alert-info h2 { font-size: 20px; margin-bottom: 14px; }
.alert-info .ab-how { font-size: 15px; gap: 10px; margin-top: 16px; }
.msg-sample { background: #eef3ff; max-width: 420px; }
.msg-sample .stop { font-size: 12px; color: #6b7489; margin-top: 6px; }
.checks .src { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.checked { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--ink); font-weight: 600; }
.checked .ico { width: 16px; height: 16px; flex: none; color: var(--blue); }
#f-rad button, #f-who button { padding-inline: 8px; }
@media (max-width: 420px) { .hero-search .hs-row { grid-template-columns: minmax(0, 1fr); } }
.chan label { position: relative; } .chan input { width: 1px; height: 1px; left: 0; top: 0; }
.filters .seg { flex-wrap: nowrap; } .filters .seg button { flex: 1 1 0; min-width: 0; padding-inline: 4px; white-space: nowrap; font-size: 13px; }
/* One chevron for every dropdown, set in from the edge like the city picker */
select { -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141b2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
select::-ms-expand { display: none; }
@media (min-width: 861px) { .home .hero-row { align-items: center; } .home .hero-row .brand-hero { padding-top: 0; } }
/* Single-choice dropdown (pickSelect) */
.pk-pop { display: grid; gap: 2px; max-height: 340px; overflow-y: auto; }
.pk-opt { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font: 500 15px/1.2 "Plus Jakarta Sans", sans-serif; color: var(--ink); cursor: pointer; }
.pk-opt:hover { background: var(--soft); }
.pk-opt.on { background: var(--tint); color: var(--blue); font-weight: 700; }
.pk-pop.grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.pk-pop.grid .pk-opt { grid-column: span 2; text-align: center; padding: 10px 4px; font-size: 14px; border: 1.5px solid var(--line); }
.pk-pop.grid .pk-opt.wide { grid-column: span 3; }
.pk-pop.grid .pk-opt.on { border-color: var(--blue); }
.results-head .pk { width: 190px; }
.results-head .pk .ms-pop { left: auto; right: 0; }
.alerts-band .pk-opt { color: var(--ink); }
select[hidden] { display: none !important; }
.pk-pop[hidden] { display: none; } .pk-opt { animation: none !important; opacity: 1 !important; transform: none !important; }
.ab-how.short { gap: 8px; font-size: 15px; font-weight: 600; margin: 4px 0 6px; }
.ab-how.short li { display: flex; align-items: center; gap: 10px; }
.ab-how.short span { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .16); font-size: 14px; }
.hero-search .btn .ico { margin-left: -26px; } /* icon hangs to the left so the words sit in the true middle */
/* Alerts band, desktop: content max ~1240px, phone close to the form, a bit bigger, centred in height; the scam-check badge sits on the phone's left edge */
@media (min-width: 861px) {
  .band-full .alerts-band { grid-template-columns: minmax(0, 540px) minmax(0, 400px); gap: clamp(32px, 4vw, 64px); justify-content: center; align-items: center; padding-left: max(24px, calc((100vw - 1240px) / 2)); padding-right: max(24px, calc((100vw - 1240px) / 2)); }
  .alerts-band .ab-visual { display: block; position: relative; width: 100%; max-width: 370px; justify-self: start; align-self: center; padding-block: 0; }
  .alerts-band .ab-visual .ab-phone { max-width: 370px; }
  .alerts-band .ab-visual .msg { font-size: 14px; }
  .alerts-band .ab-visual .chips-col { display: block; position: absolute; z-index: 3; left: -48px; top: auto; bottom: -40px; }
  .alerts-band .ab-visual .chips-col .chip { display: inline-flex; margin: 0; }
}
