/* On The Map Sites: homepage only */

/* ---------- Header over dark hero ---------- */
.home .site-header:not(.scrolled) { background: rgba(11,21,48,.55); border-bottom-color: rgba(255,255,255,.08); }
.home .site-header:not(.scrolled) .logo { color: #fff; }
.home .site-header:not(.scrolled) .nav a:not(.btn) { color: #c9d3ea; }
.home .site-header:not(.scrolled) .nav a:not(.btn):hover,
.home .site-header:not(.scrolled) .nav a[aria-current="page"]:not(.btn) { background: rgba(255,255,255,.1); color: #fff; }
.home .site-header:not(.scrolled) a:focus-visible { outline-color: #fff; }
.home .site-header { position: fixed; left: 0; right: 0; top: 0; }   /* hero sits under the glass header */

/* ---------- Hero ---------- */
.home-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 20% 0%, #16295a 0%, transparent 60%), linear-gradient(180deg, #0b1530 0%, #0d1a3a 70%, #0f1f45 100%); color: #fff; padding: 150px 0 110px; isolation: isolate; }
.hero-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-map .river { fill: none; stroke: rgba(62,198,178,.28); stroke-width: 14; stroke-linecap: round; }
.hero-map .roads path { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2.5; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.2s var(--ease) forwards; }
.hero-map .roads path:nth-child(2) { animation-delay: .3s; }
.hero-map .roads path:nth-child(3) { animation-delay: .6s; }
.hero-map .roads path:nth-child(4) { animation-delay: .9s; }
.hero-map .roads path:nth-child(5) { animation-delay: 1.2s; stroke: rgba(228,87,46,.5); stroke-dasharray: 8 10 2400; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-pins .dot { fill: #e4572e; opacity: 0; animation: pop .6s var(--ease) forwards; animation-delay: var(--d); }
.hero-pins .ring { fill: none; stroke: #e4572e; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ping 3.2s ease-out infinite; animation-delay: var(--d); }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { opacity: .9; transform: scale(.5); } 80%,100% { opacity: 0; transform: scale(3.2); } }

.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow { color: var(--map-bright); display: inline-flex; align-items: center; gap: 10px; background: rgba(62,198,178,.1); border: 1px solid rgba(62,198,178,.25); padding: 6px 14px; border-radius: 999px; letter-spacing: .1em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--map-bright); box-shadow: 0 0 0 0 rgba(62,198,178,.7); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(62,198,178,.6); } 70% { box-shadow: 0 0 0 10px rgba(62,198,178,0); } 100% { box-shadow: 0 0 0 0 rgba(62,198,178,0); } }
.home-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); margin-top: 6px; }
.grad { background: linear-gradient(90deg, #ff8a5c, #e4572e 40%, #f2b14c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .lead { color: #c3cce0; }
.home-hero .lead strong { color: #fff; }

.search-demo { display: flex; align-items: center; gap: 12px; background: #fff; color: #202124; border-radius: 999px; padding: 13px 22px; max-width: 440px; margin: 22px 0 22px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.06); font-size: 1.02rem; }
.s-ico { width: 20px; height: 20px; color: #5f6368; flex: none; }
.s-text { white-space: nowrap; overflow: hidden; }
.caret { width: 2px; height: 1.2em; background: #1a73e8; animation: blink 1s steps(1) infinite; flex: none; margin-left: -10px; }
@keyframes blink { 50% { opacity: 0; } }

.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn.ghost.light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.home-hero a:focus-visible { outline-color: #fff; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; color: #aeb9d3; font-size: .92rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 14px; height: 8px; border-left: 2.5px solid var(--map-bright); border-bottom: 2.5px solid var(--map-bright); transform: rotate(-45deg) translateY(-2px); }

/* hero entrance */
.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; }
.js .hero-copy > :nth-child(3) { animation-delay: .22s; }
.js .hero-copy > :nth-child(4) { animation-delay: .32s; }
.js .hero-copy > :nth-child(5) { animation-delay: .42s; }
.js .hero-copy > :nth-child(6) { animation-delay: .52s; }
.js .hero-stage { opacity: 0; transform: translateY(30px) scale(.97); animation: rise 1.1s var(--ease) .35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Device mockups ---------- */
.hero-stage { position: relative; height: 470px; perspective: 1600px; }
.browser { position: absolute; left: 0; right: 34px; top: 10px; height: 380px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); transform: rotateY(-8deg) rotateX(4deg); transform-origin: left center; transition: transform .8s var(--ease); }
.hero-stage:hover .browser { transform: rotateY(-3deg) rotateX(2deg); }
.browser-bar { height: 34px; background: #eef0f4; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #e1e4ea; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d7de; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar .url { margin-left: 12px; flex: 1; background: #fff; border-radius: 999px; font-size: .72rem; color: #5f6368; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-bar .url::before { content: "🔒 "; font-size: .62rem; }
.browser .site { height: calc(100% - 34px); }

.phone { position: absolute; right: 0; bottom: 0; width: 196px; height: 396px; background: #0a0f1d; border-radius: 34px; padding: 10px; box-shadow: 0 50px 80px -30px rgba(0,0,0,.85), inset 0 0 0 2px #2a3350; transform: rotate(3deg); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-10px); } }
.phone .notch { position: absolute; top: 14px; left: 50%; width: 64px; height: 16px; margin-left: -32px; background: #0a0f1d; border-radius: 999px; z-index: 3; }
.phone .site { height: 100%; border-radius: 25px; overflow: hidden; background: #fff; }

.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); color: var(--ink); font-size: .82rem; padding: 10px 14px 10px 10px; border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); white-space: nowrap; }
.float-chip b { font-weight: 800; }
.chip-ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #fff4d6; color: #e0a100; font-size: .95rem; }
.chip-ico.call { background: #e3f6f2; color: var(--map); }
.chip-a { left: -26px; top: 300px; animation: bob2 7s ease-in-out infinite; }
.chip-b { right: 150px; top: -12px; animation: bob2 8s ease-in-out -2s infinite; }
@keyframes bob2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- The mini website (rendered by home.js) ---------- */
.ms { --t: #b5562a; --t2: #0f2747; height: 100%; display: flex; flex-direction: column; font-size: 10px; line-height: 1.35; color: #1d2433; background: #fff; transition: opacity .35s var(--ease), filter .35s var(--ease), transform .35s var(--ease); position: relative; }
.ms.swap { opacity: 0; filter: blur(6px); transform: scale(.985); }
.ms-nav { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border-bottom: 1px solid #eef0f3; }
.ms-logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.05em; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.ms-logo i { width: 14px; height: 14px; border-radius: 4px; background: var(--t); flex: none; }
.ms-links { display: flex; gap: 6px; }
.ms-links em { width: 26px; height: 5px; border-radius: 3px; background: #e3e6ec; }
.ms-call { background: var(--t); color: #fff; font-weight: 700; padding: 4px 9px; border-radius: 999px; font-size: .9em; white-space: nowrap; }
.ms-hero { position: relative; background: var(--t2) center/cover no-repeat; color: #fff; display: flex; align-items: flex-end; flex: none; }
.ms-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 85%); }
.ms-hero-in { position: relative; padding: 14px; }
.ms-hero small { display: inline-block; font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: rgba(255,255,255,.18); padding: 2px 7px; border-radius: 999px; }
.ms-hero h4 { margin: 6px 0 3px; font-size: 1.75em; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ms-hero p { margin: 0 0 9px; opacity: .9; }
.ms-btns { display: flex; gap: 5px; flex-wrap: wrap; }
.ms-btn { background: var(--t); color: #fff; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.ms-btn.ghost { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.5); }
.ms-trust { display: flex; align-items: center; gap: 6px; padding: 8px 12px; font-weight: 600; color: #4a5568; border-bottom: 1px solid #f0f1f4; }
.ms-trust b { color: #f4a300; letter-spacing: 1px; }
.ms-sec { padding: 10px 12px 4px; font-weight: 800; color: var(--t2); font-size: 1.1em; }
.ms-services { display: grid; gap: 6px; padding: 4px 12px 10px; }
.ms-svc { display: flex; align-items: center; gap: 8px; border: 1px solid #eef0f3; border-radius: 8px; padding: 7px 8px; }
.ms-svc i { width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--t) 14%, #fff); color: var(--t); display: grid; place-items: center; font-style: normal; font-size: 1.1em; flex: none; }
.ms-svc b { flex: 1; font-weight: 700; }
.ms-svc span { color: var(--t); font-weight: 800; }
.ms-callbar { margin-top: auto; background: var(--t); color: #fff; font-weight: 800; text-align: center; padding: 9px; font-size: 1.05em; }

.site-phone .ms-links { display: none; }
.site-phone .ms-hero { min-height: 46%; }
.site-phone .ms-nav { padding-top: 24px; }

/* desktop layout of the mini site */
.site-desktop .ms { font-size: 10.5px; }
.site-desktop .ms-callbar { display: none; }
.site-desktop .ms-hero { min-height: 52%; align-items: center; }
.site-desktop .ms-hero::before { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.05) 100%); }
.site-desktop .ms-hero-in { padding: 22px 26px; max-width: 62%; }
.site-desktop .ms-hero h4 { font-size: 2.3em; }
.site-desktop .ms-services { grid-template-columns: repeat(3, 1fr); }
.site-desktop .ms-svc { flex-direction: column; align-items: flex-start; gap: 4px; }

/* build-in stagger */
.ms.build > * { animation: build .7s var(--ease) both; }
.ms.build > :nth-child(2) { animation-delay: .08s; }
.ms.build > :nth-child(3) { animation-delay: .16s; }
.ms.build > :nth-child(4) { animation-delay: .24s; }
.ms.build > :nth-child(5) { animation-delay: .32s; }
.ms.build > :nth-child(6) { animation-delay: .4s; }
@keyframes build { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Facts strip ---------- */
.facts { background: var(--night); padding: 0 0 70px; color: #fff; position: relative; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; }
.fact { background: linear-gradient(180deg, #0f1c3d, #0c1734); padding: 26px 24px; display: grid; gap: 2px; }
.fact b { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #bfe9e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { color: #9fabc6; font-size: .92rem; font-weight: 600; }

/* ---------- Live demo ---------- */
.try { background: linear-gradient(180deg, var(--paper), #f3f1ea); }
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.try-controls { display: grid; gap: 10px; padding: 30px; }
.try-controls > label { margin-top: 6px; }
.trades { border: 0; padding: 0; margin: 10px 0 0; min-width: 0; }
.trades legend { font-weight: 700; font-size: .95rem; padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; cursor: pointer; font-weight: 600; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); transition: all .2s var(--ease); }
.chip:hover span { border-color: var(--map); color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 8px 18px -10px rgba(20,33,61,.7); }
.chip input:focus-visible + span { outline: 3px solid var(--map); outline-offset: 2px; }
.try-cta { margin-top: 18px; }
.try-cta .btn { width: 100%; }
.small { font-size: .88rem; margin: 10px 0 0; text-align: center; }

.try-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.try-stage::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent, #c84520) 28%, transparent), transparent 70%); filter: blur(10px); transition: background .6s; }
.phone.big { position: relative; right: auto; bottom: auto; width: 292px; height: 590px; border-radius: 46px; padding: 12px; transform: none; animation: none; }
.phone.big .notch { top: 18px; width: 90px; height: 22px; margin-left: -45px; }
.phone.big .site { border-radius: 35px; }
.phone.big .ms { font-size: 13px; }
.phone.big .site-phone .ms-nav { padding-top: 40px; }
.listing { position: absolute; left: -84px; bottom: 70px; width: 214px; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: bob2 7s ease-in-out infinite; }
.listing-top { display: flex; justify-content: space-between; gap: 10px; }
.listing-top b { display: block; font-size: .98rem; line-height: 1.25; overflow-wrap: anywhere; }
.listing-top span.muted { font-size: .78rem; }
.pin-badge svg { width: 26px; height: 26px; }
.listing-btns { display: flex; gap: 6px; margin-top: 10px; }
.listing-btns span { font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--map-light); color: var(--map); }
.listing-btns span.on { background: var(--btn); color: #fff; }

/* ---------- Before / after ---------- */
.compare-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.compare { position: relative; height: 380px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; --pos: 50%; }
.cmp-layer { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; }
.cmp-layer.before { background: #e9e9ec; }
.cmp-layer.after { background: linear-gradient(135deg, #e6f4f1, #fdf0ea); clip-path: inset(0 0 0 var(--pos)); }
.cmp-card { width: min(360px, 100%); background: #fff; border-radius: 16px; padding: 16px; display: grid; gap: 4px; box-shadow: 0 16px 34px -20px rgba(20,33,61,.5); }
.cmp-card b { font-size: 1.1rem; }
.cmp-card .muted { font-size: .85rem; }
.cmp-photo { height: 120px; border-radius: 10px; background: #d7d8dd center/cover; margin-bottom: 8px; }
.cmp-photo.grey { background: repeating-linear-gradient(45deg, #dcdde1 0 10px, #e4e5e8 10px 20px); }
.cmp-btns { display: flex; gap: 6px; margin-top: 6px; }
.cmp-btns span { font-size: .78rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: #f0f1f3; color: #5f6368; }
.cmp-btns span.off { text-decoration: line-through; color: #9aa0a6; }
.cmp-btns span.on { background: var(--btn); color: #fff; }
.cmp-note { font-size: .82rem; padding: 9px 11px; border-radius: 10px; margin-top: 8px; font-weight: 600; }
.cmp-note.bad { background: #fdecea; color: #a1261b; }
.cmp-note.good { background: #e3f6f2; color: #145d54; }
.after .cmp-card { filter: grayscale(0); }
.before .cmp-card { filter: grayscale(.4); }
.cmp-tag { position: absolute; top: 16px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 5px 11px; border-radius: 999px; }
.before .cmp-tag { left: 16px; background: #fff; color: #5f6368; }
.after .cmp-tag { right: 16px; background: var(--map); color: #fff; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.25); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--ink); box-shadow: 0 8px 20px -6px rgba(0,0,0,.4); letter-spacing: 2px; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; padding: 0; border: 0; }
.compare:focus-within .cmp-handle span { outline: 3px solid var(--map); outline-offset: 3px; }

/* ---------- Benefits ---------- */
.b-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #e6f4f1, #d2ede7); margin-bottom: 16px; transition: transform .4s var(--ease); }
.b-ico svg { width: 24px; height: 24px; fill: var(--map); }
.benefits .card:hover .b-ico { transform: rotate(-8deg) scale(1.08); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; --p: 0; }
.tl-line { position: absolute; top: 26px; left: 16.66%; right: 16.66%; height: 3px; background: var(--line); border-radius: 3px; }
.tl-line span { display: block; height: 100%; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--map), var(--pin)); border-radius: 3px; }
.tl-step { position: relative; text-align: center; padding: 0 10px; }
.tl-num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 3px solid var(--line); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease); }
.tl-step.lit .tl-num { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.06); box-shadow: 0 0 0 8px rgba(31,122,111,.12); }

/* ---------- Work cards ---------- */
.tilt-group .work-card { transform-style: preserve-3d; will-change: transform; }
.view { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--btn-dark); font-size: .92rem; }
.prices .more { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; }

/* ---------- Area map ---------- */
.local-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.local .towns { justify-content: flex-start; margin-top: 20px; }
.area-map svg { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: var(--shadow-lg); }
.am-river { fill: none; stroke: #a9dcd2; stroke-width: 12; stroke-linecap: round; }
.am-roads path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.am-route path { fill: none; stroke: var(--pin); stroke-width: 3; stroke-dasharray: 7 7; stroke-linecap: round; }
.am-pin text { font: 700 15px var(--font); fill: var(--ink); paint-order: stroke; stroke: #eef6f3; stroke-width: 4px; }
.am-ring { fill: rgba(228,87,46,.18); }
.am-label { font: italic 600 12px var(--font); fill: #4f8f84; }
.js .area-map .am-pin > :not(.am-ring) { opacity: 0; transform: translateY(-40px); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.3,1.6,.5,1); transition-delay: var(--d); }
.js .area-map.in .am-pin > :not(.am-ring) { opacity: 1; transform: none; }
.js .area-map .am-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.js .area-map.in .am-ring { animation: ping2 2.8s ease-out infinite; animation-delay: calc(var(--d) + .6s); }
@keyframes ping2 { 0% { opacity: 1; transform: scale(.4); } 80%,100% { opacity: 0; transform: scale(2.4); } }
.js .area-map .am-route path { stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease) 1.1s; }
.js .area-map.in .am-route path { stroke-dashoffset: 0; }

.how-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.how-list li { display: flex; gap: 14px; align-items: flex-start; }
.how-list li > span { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.how-list li > div { padding-top: 3px; color: var(--ink-soft); }
.how-list b { color: var(--ink); }
.am-pin.dim { opacity: .5; }
.am-pin.home text { font-size: 16px; font-weight: 800; }
.am-pin.you text { fill: var(--map); font-weight: 800; }
.am-route path { stroke-width: 2.2; stroke-dasharray: 5 7; }
.js .area-map .am-route path { stroke-dashoffset: 300; }
.js .area-map.in .am-pin.dim > * { opacity: 1; }

.demo-note { position: absolute; left: 0; right: 0; bottom: -34px; margin: 0; text-align: center; font-size: .78rem; color: #8f9bb8; font-style: italic; }
.demo-note.dark { position: static; margin-top: 18px; color: var(--ink-soft); }
.try-stage .demo-note.dark { grid-row: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .listing { left: 50%; margin-left: -290px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { max-width: 600px; width: 100%; margin: 0 auto; }
  .try-grid, .compare-grid, .local-grid { grid-template-columns: 1fr; gap: 36px; }
  .try-stage { min-height: 0; padding: 10px 0 20px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .tl-line { top: 0; bottom: 0; left: 26px; right: auto; width: 3px; height: auto; }
  .tl-line span { width: 100%; height: calc(var(--p) * 100%); }
  .tl-step { text-align: left; padding: 0 0 0 78px; }
  .tl-num { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (max-width: 600px) {
  .home .site-header { position: absolute; }
  .hero-eyebrow { font-size: .68rem; letter-spacing: .08em; }
  .home-hero { padding: 130px 0 70px; }
  .hero-stage { height: 330px; }
  .browser { height: 270px; right: 60px; }
  .phone { width: 140px; height: 284px; border-radius: 26px; padding: 7px; }
  .phone .site { border-radius: 20px; }
  .phone .notch { width: 44px; height: 11px; margin-left: -22px; top: 10px; }
  .phone:not(.big) .ms { font-size: 7.5px; }
  .site-desktop .ms { font-size: 8px; }
  .chip-a { left: 0; top: 250px; }
  .chip-b { display: none; }
  .search-demo { font-size: .95rem; }
  .facts { padding-bottom: 50px; }
  .fact { padding: 20px 18px; }
  .phone.big { width: 260px; height: 530px; }
  .phone.big .ms { font-size: 12px; }
  .listing { position: relative; left: auto; bottom: auto; width: 260px; margin: -60px auto 0; }
  .compare { height: 400px; }
  .cmp-layer { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .hero-stage { opacity: 1; transform: none; animation: none; }
  .hero-map .roads path { stroke-dashoffset: 0; animation: none; }
  .hero-pins .dot { opacity: 1; animation: none; }
  .phone, .float-chip, .listing { animation: none; }
  .js .area-map .am-pin > :not(.am-ring) { opacity: 1; transform: none; }
  .js .area-map .am-route path { stroke-dashoffset: 0; }
  .caret { animation: none; }
}
