@font-face { font-family: Geist; src: url(assets/geist-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(assets/geist-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #1f2330;
  --muted: #5c6270;
  --accent: #3b4fe0;
  --accent-deep: #2f40c4;
  --line: rgba(20, 24, 50, .1);
  --canvas: #f6f7fb;
  --card: #ffffff;
  --shadow-window: 0 1px 2px rgba(20, 24, 60, .08), 0 24px 70px -18px rgba(25, 32, 90, .32);
  --edge: max(20px, calc((100vw - 1140px) / 2));
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.55 Geist, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
main:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(59, 79, 224, .45); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--card); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 15px; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 var(--edge); background: rgba(246, 247, 251, .78); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border-bottom: 1px solid transparent; }
.site-header { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav a:not(.button) { color: var(--ink); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.site-header nav a:not(.button):hover { background: rgba(20, 24, 50, .06); }
.site-header nav a[aria-current="page"]:not(.button) { font-weight: 600; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 13px; background: var(--accent); color: #fff; font: 600 17px/1 Geist, system-ui, sans-serif; letter-spacing: -.01em; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(25, 32, 90, .25); transition: background .15s ease; }
.button:hover { background: var(--accent-deep); }
.button:disabled { opacity: .55; cursor: default; }
.button-small { min-height: 38px; padding: 0 16px; font-size: 15px; border-radius: 10px; margin-left: 6px; }
.button-quiet { background: rgba(20, 24, 50, .07); color: var(--ink); box-shadow: none; }
.button-quiet:hover { background: rgba(20, 24, 50, .12); }
.button-light { background: #fff; color: var(--accent-deep); box-shadow: 0 1px 2px rgba(10, 14, 50, .3); }
.button-light:hover { background: #eef0ff; }
.button-wide { width: 100%; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " →"; }
.text-link:hover { text-decoration: underline; }

/* Hero: the app's own idea. A real street map fills the window, with glass floating on it. */
.hero { position: relative; display: flex; align-items: center; min-height: min(58vw, 1100px); padding: 40px var(--edge); overflow: hidden; background: #cfdbe6; }
.hero-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; filter: saturate(.8) contrast(.92) brightness(1.05); }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; font-family: Geist, system-ui, sans-serif; }
.glass { background: rgba(252, 252, 254, .84); -webkit-backdrop-filter: blur(30px) saturate(140%); backdrop-filter: blur(30px) saturate(140%); border-radius: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 .5px rgba(15, 23, 42, .12), 0 24px 60px -18px rgba(20, 24, 70, .4); }
.hero-panel { position: relative; width: min(530px, 100%); padding: 32px 30px 26px; }
.hero h1 { font-size: clamp(36px, 3.2vw, 46px); }
.hero .lead { margin-top: 18px; font-size: 18px; color: #4d5361; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fineprint { margin-top: 16px; font-size: 14px; line-height: 1.5; color: #4d5361; }
.fineprint strong { font-weight: 600; color: var(--ink); }
.not-phone { display: inline; }
span.on-phone { display: none; }
.device-pill { position: absolute; top: 20px; right: var(--edge); display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 7px; border-radius: 23px; font-size: 15px; font-weight: 600; background: rgba(252, 252, 254, .88); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: 0 0 0 .5px rgba(15, 23, 42, .12), 0 8px 24px rgba(20, 24, 60, .18); }
.device-glyph { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--accent); background: rgba(59, 79, 224, .1); }
.device-glyph::after { content: ""; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 2px #fff; }
.live-card { position: absolute; right: var(--edge); bottom: 44px; width: 310px; padding: 18px; border-radius: 20px; font-size: 13px; }
.live-next { font-weight: 600; }
.live-bar { height: 6px; margin: 10px 0 8px; border-radius: 3px; background: #d6d8e4; overflow: hidden; }
.live-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--accent); }
.live-stats { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-stats b { font-weight: 600; color: var(--ink); }
.live-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; font-weight: 600; text-align: center; }
.live-buttons button { padding: 10px 0; border: 0; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }
.live-pause { background: var(--accent); color: #fff; }
.live-stop { background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12); }
.live-place { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.live-coords { margin-top: 2px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-route.is-teleported > path, .hero-route.is-teleported > g:not(#teleport-pin) { display: none; }
.live-restore { width: 100%; margin-top: 12px; padding: 11px 0; border: 0; border-radius: 10px; background: #e7920a; color: #1c1204; font: inherit; font-weight: 600; cursor: pointer; }
.map-hint { position: absolute; right: var(--edge); top: 76px; padding: 6px 12px; border-radius: 16px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(31, 35, 48, .82); pointer-events: none; }
.pin-ring { animation: pin-ring 1.2s ease-out both; }
@keyframes pin-ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1); opacity: .7; } }
.live-speed { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.live-stepper { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 10px; background: rgba(120, 120, 128, .12); }
.live-stepper b { font-weight: 600; font-size: 15px; }
.live-stepper small { font-size: 12px; color: #5f6470; }

.link-strip { padding: 0 var(--edge); background: var(--card); border-bottom: 1px solid var(--line); }
.link-strip ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.link-strip li { position: relative; padding: 22px 28px 22px 0; }
.link-strip li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.link-strip strong { display: block; font-weight: 600; letter-spacing: -.01em; }
.link-strip span { display: block; font-size: 15px; color: var(--muted); }

.map-credit { padding-top: 10px; font-size: 12px; color: var(--muted); }

.window { margin: 0; overflow: hidden; border-radius: 16px; background: #e8e9ee; box-shadow: var(--shadow-window), 0 0 0 1px rgba(20, 24, 50, .1); }

/* Sections share one left edge with the header and footer. */
section { scroll-margin-top: 80px; }
.band { padding: clamp(72px, 10vw, 120px) var(--edge) 0; }
.band h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.section-lead { margin: -24px 0 32px; color: var(--muted); font-size: 18px; }

.mode-layout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 10px; row-gap: 20px; }
.mode { display: contents; }
.mode > button { grid-row: 1; display: flex; flex-direction: column; justify-content: flex-start; width: 100%; padding: 16px 18px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s ease; }
.mode > button:hover { background: rgba(255, 255, 255, .7); }
.mode em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.mode strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.mode button span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.mode > button[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 2px rgba(20, 24, 60, .07), inset 0 0 0 2px var(--accent); }
.mode > button[aria-pressed="true"] strong { color: var(--accent); }
.shot { grid-column: 1 / -1; grid-row: 2; display: none; margin: 0; }
.shot img { width: 100%; height: auto; }
.shot.is-active { display: block; }
.shot figcaption { display: none; }

/* What you can skip: the page's one big moment of type. */
.skip { margin-top: clamp(72px, 10vw, 120px); padding: clamp(48px, 6vw, 72px) var(--edge); color: #fff; background: linear-gradient(160deg, #3b4fe0, #2634aa); }
.eyebrow { font-size: 16px; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .86); margin-bottom: 26px; }
.skip ul { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(255, 255, 255, .24); }
.skip li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: baseline; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .24); }
.skip strong { font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.skip span { font-size: 18px; color: rgba(255, 255, 255, .9); }

.testing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.testing ul { margin: 0; padding: 0; list-style: none; }
.testing li { padding: 18px 0; border-top: 1px solid var(--line); }
.testing strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.testing span { display: block; margin-top: 6px; font-size: 16px; color: var(--muted); }
.controls { display: grid; gap: 14px; justify-items: end; margin: 0; }
.controls img { width: min(420px, 100%); height: auto; border-radius: 18px; }

.restore { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 72px); align-items: center; padding: clamp(72px, 10vw, 120px) var(--edge) 0; }
.restore-pair { display: grid; grid-template-columns: 342px 342px; gap: 16px; align-items: start; }
.restore-pair img { width: 100%; height: auto; border-radius: 20px; }
.restore-pair figure { margin: 0; }
.restore-pair figure:last-child { margin-top: 44px; }
.restore-pair figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.restore h2 { margin: 0; }
.restore p { margin: 18px 0; color: var(--muted); font-size: 18px; }

.status dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.status dl > div { padding: 20px 0; border-top: 1px solid var(--line); }
.status dt { font-weight: 600; letter-spacing: -.01em; }
.status dd { margin: 6px 0 0; color: var(--muted); font-size: 16px; }

.closing { display: flex; justify-content: center; margin-top: clamp(72px, 10vw, 120px); padding: clamp(64px, 9vw, 120px) 20px; background: linear-gradient(rgba(246, 247, 251, .5), rgba(246, 247, 251, .5)), url(assets/shots/map-1920.webp) center / cover; }
.closing-panel { width: min(560px, 100%); padding: 40px; text-align: center; }
.closing h2 { margin-bottom: 24px; }
.closing p { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* Inner pages */
.page-head { padding: clamp(48px, 7vw, 80px) var(--edge) 0; }
.page-head h1 { font-size: clamp(38px, 5vw, 64px); max-width: 18ch; }
.page-head .lead { margin-top: 16px; }

.download-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; padding: 36px var(--edge) 0; align-items: start; }
.card { padding: 28px; border-radius: 20px; background: var(--card); box-shadow: 0 1px 2px rgba(20, 24, 60, .06), 0 0 0 1px var(--line); }
.card h2 { font-size: 26px; letter-spacing: -.025em; }
.card > p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.link-button { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--accent); font: 600 15px Geist, system-ui, sans-serif; cursor: pointer; }
.mini { margin: 10px 0 0; padding-left: 20px; font-size: 15px; color: var(--muted); }
.mini li { padding: 2px 0; }

.card-primary img { margin-bottom: 18px; }
.card-primary .meta { margin-bottom: 22px; }
.card-primary h3 { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.checked { margin-top: 10px !important; font-size: 14px !important; text-align: center; }
h3.first { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; margin-bottom: 4px; }
.card-primary .button { margin-top: 18px; }
.warning p { margin-top: 4px; }
.warning { margin-top: 14px !important; padding: 12px 14px; border-radius: 12px; background: #fff6e6; color: #5f4210 !important; font-size: 15px !important; }
.warning a { color: inherit; font-weight: 600; }
.warning strong { font-weight: 600; }
.note { margin-top: 10px; font-size: 16px; color: var(--muted); }
.card ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 16px; }
.card li { position: relative; padding: 5px 0 5px 26px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.side { display: grid; gap: 20px; }
.links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; }
.hash span { display: block; }
.hash { display: block; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--canvas); font: 13px/1.5 ui-monospace, Consolas, monospace; color: var(--ink); }
#download-progress-box { margin-top: 16px; }
progress { width: 100%; height: 6px; border: 0; border-radius: 3px; overflow: hidden; background: rgba(20, 24, 50, .1); appearance: none; }
progress::-webkit-progress-bar { background: rgba(20, 24, 50, .1); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
#download-status { margin-top: 8px; font-size: 15px; color: var(--muted); }
#cancel-download { margin-top: 8px; }
.error { margin-top: 12px; color: #b3261e; font-size: 15px; }
.on-phone { display: none; }

.setup-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding: 32px var(--edge) 0; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 54px minmax(0, 1fr); padding: 24px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); grid-row: span 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; }
.steps h2 { font-size: 24px; letter-spacing: -.025em; align-self: center; }
.steps p { margin-top: 6px; color: var(--muted); }
.step-shot { grid-column: 2; margin-top: 18px; width: min(478px, 100%); height: auto; border-radius: 22px; }
.step-panel { width: min(342px, 100%); border-radius: 20px; }
.setup-aside { position: sticky; top: 84px; }
.optional { margin-top: 40px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.optional h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 8px; }
.setup-aside .button { margin-top: 18px; }
.setup-aside h3 { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.setup-aside p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.shot-note { grid-column: 2; font-size: 14px; }

.side-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-right: var(--edge); align-items: start; }
.side-layout .page-head { padding-right: 0; position: sticky; top: 64px; }
.side-layout h1 { font-size: 52px; }
.side-layout .faq, .side-layout .prose { padding-top: clamp(48px, 7vw, 80px); }
.prose h2 { font-size: 24px; letter-spacing: -.025em; margin-top: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 10px; color: var(--muted); max-width: 44em; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 36px 20px 0; position: relative; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 27px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { margin-bottom: 14px; color: var(--muted); max-width: 44em; }
.faq details p:last-child { margin-bottom: 24px; }

.next-step { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: 44px var(--edge) 0; }
.next-step-inline { padding: 36px 0 0; }

.guide { max-width: 760px; padding: clamp(48px, 7vw, 80px) 20px 0 var(--edge); box-sizing: content-box; }
.guide h1 { font-size: 48px; margin-bottom: 24px; }
.guide h2 { font-size: 26px; letter-spacing: -.025em; margin: 36px 0 10px; }
.guide h3 { font-size: 18px; margin: 24px 0 8px; }
.guide p, .guide li { color: #3f4552; }
.guide p { margin-top: 12px; }
.guide li { margin-top: 6px; }
.guide code { font: 14px ui-monospace, Consolas, monospace; background: rgba(20, 24, 50, .06); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.guide pre { overflow-x: auto; padding: 14px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.guide pre code { background: none; padding: 0; }

/* Footer */
.site-footer { display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; align-items: center; padding: 36px var(--edge); font-size: 14px; color: var(--muted); }
body:not([data-page="index"]) .site-footer { margin-top: 72px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer p { grid-column: 1 / -1; font-size: 13px; }

@media (max-width: 1280px) {
  .live-card { width: 280px; bottom: 34px; }
  .hero-panel { width: min(500px, 100%); padding: 28px; }
  .hero .actions .button { padding: 0 18px; font-size: 16px; min-height: 48px; }
  .restore-pair { grid-template-columns: 280px 280px; }
}

@media (max-width: 1000px) {
  .live-card { display: none; }
  .map-hint { top: auto; bottom: 34px; }
  .testing { grid-template-columns: minmax(0, 1fr); }
  .restore { grid-template-columns: minmax(0, 1fr); }
  .setup-aside { order: -1; }
  .side-layout .page-head { padding-right: 20px; }
  .restore, .download-grid, .setup-grid, .side-layout { grid-template-columns: minmax(0, 1fr); }
  .setup-aside { position: static; }
  .side-layout { padding-right: 0; gap: 0; }
  .side-layout .page-head { position: static; }
  .side-layout .faq, .side-layout .prose { padding: 28px 20px 0; }
  .status dl { grid-template-columns: minmax(0, 1fr); }
  .skip li { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { height: 58px; }
  .site-header nav a:not(.button) { padding: 8px 9px; }
  .button-small { margin-left: 2px; padding: 0 13px; }
  /* The map sits on top and the glass panel rises over its lower edge. */
  .hero { display: block; min-height: 0; padding: 280px 20px 20px; }
  .hero-map img { height: 320px; object-position: 50% 0; }
  .device-pill { height: 38px; font-size: 14px; }
  .device-glyph { width: 26px; height: 26px; }
  .hero-route { display: none; }
  .link-strip ol { grid-template-columns: minmax(0, 1fr); }
  .link-strip li, .link-strip li + li { padding: 14px 0; border-left: 0; }
  .link-strip li + li { border-top: 1px solid var(--line); }
  .device-pill { top: 14px; right: 14px; }
  .hero-panel { width: 100%; padding: 24px 22px 20px; }
  .hero h1 { font-size: 31px; }
  .map-hint { display: none; }
  .live-card { display: block; left: 20px; right: auto; top: 14px; bottom: auto; width: 190px; padding: 10px 12px; border-radius: 14px; pointer-events: none; }
  .live-buttons, .live-stats { display: none; }
  .live-bar { margin: 6px 0 0; }
  .hero { background: var(--canvas); }
  .map-credit { pointer-events: none; position: static; margin-top: 8px; background: none; padding: 0 8px; }
  .actions .button, .closing .button { width: 100%; }
  .not-phone { display: none; }
  span.on-phone { display: inline; }
  /* One mode at a time: a segmented control, with the description and panel beneath it. */
  .mode-layout { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 3px; row-gap: 14px; }
  .mode > button { padding: 10px 2px; text-align: center; box-shadow: none; background: rgba(20, 24, 50, .07); border-radius: 10px; }
  .mode > button em { font-size: 14px; letter-spacing: -.01em; color: var(--muted); }
  .mode > button strong { display: none; }
  .mode > button span { display: none; }
  .mode > button[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 3px rgba(20, 24, 60, .18), inset 0 0 0 1.500px var(--accent); }
  .mode > button[aria-pressed="true"] em { color: var(--ink); }
  .shot figcaption { display: block; margin-bottom: 14px; color: var(--muted); }
  .shot .window { width: 100%; height: auto; border-radius: 18px; }
  .restore-pair { grid-template-columns: minmax(0, 1fr); }
  .restore-pair figure:last-child { margin-top: 0; }
  #start-download { min-height: 44px; }
  .closing { padding: 40px 12px; }
  .closing-panel { padding: 28px 22px; }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .site-footer nav { justify-content: flex-start; }
  .card { padding: 22px; }
  .hash { font-size: 11px; padding: 10px; }
  .on-phone:not(span) { display: block; }
  .on-phone.button { display: inline-flex; margin-bottom: 10px; }
  p.on-phone { margin-bottom: 14px; color: var(--ink); }
  #start-download { background: rgba(20, 24, 50, .07); color: var(--ink); box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Plain benefits: hero checks, big facts, Telepin against the other ways, tiles and three steps. */
.button-cta { flex-direction: column; min-height: 58px; }
.button-cta .not-phone { line-height: 1.15; text-align: center; }
.button-cta small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; opacity: .85; }
.hero .lead { font-size: 20px; color: var(--ink); }
.hero-checks { margin: 16px 0 0; padding: 0; list-style: none; }
.hero-checks li { position: relative; padding: 5px 0 5px 26px; font-size: 16px; line-height: 1.35; }
.hero-checks li::before, .why-ours li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.stats strong { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.04em; line-height: 1.1; color: var(--accent); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { padding: clamp(24px, 3vw, 36px); border-radius: 20px; }
.why-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.why-card ul { margin: 0 0 22px; padding: 0; list-style: none; }
.why-card li { position: relative; padding: 8px 0 8px 28px; font-size: 18px; line-height: 1.35; }
.why-ours { color: #fff; background: var(--accent); }
.why-ours li::before { top: 14px; border-color: #fff; }
.why-other { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.why-other li::before, .why-other li::after { content: ""; position: absolute; left: 3px; top: 18px; width: 14px; height: 2px; background: #9aa0ae; transform: rotate(45deg); }
.why-other li::after { transform: rotate(-45deg); }
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tile-grid li { padding: 24px; background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.tile-grid strong, .step-grid strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.tile-grid span, .step-grid span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0 0 8px; padding: 0; list-style: none; counter-reset: step; }
.step-grid li { counter-increment: step; }
.step-grid li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; font-weight: 600; color: #fff; background: var(--accent); }
.how-steps { scroll-margin-top: 64px; }
.home-faq .faq { max-width: 820px; }
.home-faq h2 { margin-bottom: 20px; }
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .why-grid, .tile-grid, .step-grid { grid-template-columns: 1fr; }
  .step-grid { gap: 24px; }
}
.button-small { white-space: nowrap; }
@media (max-width: 640px) {
  .site-header nav .button-small { padding: 0 10px; font-size: 14px; }
}
