/*
 * POIshelf website.
 * Direction: exact, dependable, a little road-trip. World: road atlas and sat-nav at dusk.
 * One ink ramp (dark) / map-paper ramp (light), one teal accent, amber only for the deadline.
 * Signature: mono coordinates as meta text in the product preview.
 * Spacing on a 4px grid. Weights 400, 500, 600.
 */
:root {
  --bg: #05080A;
  --surface: #0b1117;
  --surface-2: #11191f;
  --surface-3: #18222a;
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .13);
  --text: #edf2f4;
  --muted: #9ba9b1;
  --faint: #76848c;
  --accent: #62e3cf;
  --accent-hover: #43cdb8;
  --on-accent: #03110e;
  --accent-soft: rgba(98, 227, 207, .12);
  --amber: #e0a44e;
  --ok: #6cbf8a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 6px -2px rgba(0, 0, 0, .3);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .3), 0 8px 20px -6px rgba(0, 0, 0, .45);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 60px -16px rgba(0, 0, 0, .6);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px rgba(98, 227, 207, .7);

  /* map moment */
  --m-land: #0e161a;
  --m-water: #0d2229;
  --m-park: #11211c;
  --m-minor: #22303a;
  --m-major: #b8965a;
  --m-pin: #c9d3d8;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 150ms;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; transition: color var(--fast) var(--ease); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, .vehicle-switch button:focus-visible, .seg button:focus-visible, .mac button:focus-visible, .mac tr:focus-visible { outline: none; box-shadow: var(--ring); }
code { font-family: var(--mono); font-size: .9em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--text); }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 24px; }
h3 { font-size: 1.0625rem; line-height: 1.35; margin: 0 0 8px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding-top: 56px; padding-bottom: 56px; }
.label { color: var(--muted); font-size: .9375rem; font-weight: 500; margin: 0 0 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--fast) var(--ease); }
.site-header .header-inner { max-width: 1280px; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 6px; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.menu summary { display: none; }
.menu ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--muted); text-decoration: none; font-size: .9375rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)), var(--surface); color: var(--text); text-decoration: none; font: 500 1rem/1 var(--font); white-space: nowrap; box-shadow: var(--shadow-sm); transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.btn:hover { color: var(--text); border-color: rgba(255, 255, 255, .24); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(.985); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--accent); border-color: transparent; color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(0, 0, 0, .4), 0 6px 16px -6px rgba(0, 0, 0, .55); }
.btn-primary:hover { background: var(--accent-hover); border-color: transparent; color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 2px 4px rgba(0, 0, 0, .4), 0 12px 24px -8px rgba(0, 0, 0, .6); }
.btn-primary:active { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .4); }
.btn-small { height: 36px; padding: 0 16px; font-size: .875rem; border-radius: 8px; }
.btn.is-disabled { opacity: .55; pointer-events: none; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 32px 0 12px; }
.cta-note { color: var(--faint); font-size: .875rem; margin: 0; }
.dl-soon { color: var(--faint); font-size: .9375rem; padding: 0 8px; }

/* Hero (cinematic) */
.hero { position: relative; padding: 72px 0 64px; background: radial-gradient(120% 90% at 70% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); grid-template-areas: "copy visual" "stats visual"; gap: 40px 48px; align-items: center; max-width: 1280px; }
.hero-copy { grid-area: copy; }
.hero .eyebrow { display: inline-flex; height: 32px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .875rem; color: var(--muted); }
.hero h1 { font-size: clamp(2.75rem, 6.6vw, 6rem); font-weight: 500; letter-spacing: -0.045em; line-height: .96; margin: 0 0 28px; max-width: none; color: #fff; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; max-width: 560px; }
.hero .btn { height: 56px; padding: 0 28px; border-radius: 999px; font-size: 1.0625rem; }
.hero .btn-primary { color: var(--on-accent); }
.hero .btn-secondary { border-color: rgba(255, 255, 255, .28); }
.trust-line { color: var(--faint); font-size: .875rem; margin: 16px 0 0; }
.hero-visual { grid-area: visual; position: relative; margin: 0 calc(-1 * (max(0px, (100vw - 1280px) / 2) + 24px)) 0 0; height: clamp(640px, 80vh, 720px); }
.hero-visual figcaption { left: 0; }
.vehicle-switch { position: absolute; right: calc(max(0px, (100vw - 1280px) / 2) + 24px); bottom: 0; display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(11, 17, 23, .85); box-shadow: var(--shadow-md); }
.vehicle-switch button { height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 .8125rem/1 var(--font); cursor: pointer; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.vehicle-switch button:hover { color: var(--text); }
.vehicle-switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 3px rgba(0, 0, 0, .45); }
.hero-visual figcaption { bottom: 8px; }
.hero-visual canvas { display: block; width: 100%; height: calc(100% - 48px); }
.hero-visual figcaption { position: absolute; left: 0; bottom: 0; color: var(--faint); font-size: .75rem; }
.hero-stats { grid-area: stats; position: relative; padding: 20px 24px; max-width: 560px; }
.hero-stats::before, .hero-stats::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) left top / 16px 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) left top / 1px 16px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) right top / 16px 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) right top / 1px 16px no-repeat; }
.hero-stats::after { transform: scaleY(-1); }
.hero-stats dl { display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between; gap: 16px 24px; margin: 0; }
.hero-stats dd.file { font-size: 1rem; line-height: 1.8; }
.hero-stats dt { color: var(--muted); font-size: .8125rem; font-weight: 500; margin-bottom: 6px; }
.hero-stats dd { margin: 0; font-family: var(--mono); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-stats .ok-text { color: var(--accent); }
.hero-stats-note { position: absolute; right: 24px; top: -9px; margin: 0; padding: 0 6px; background: var(--bg); color: var(--faint); font-size: .6875rem; }
.preview-section { padding-top: 24px; }
.rise.d4 { animation-delay: 300ms; }

/* Hero (base) */
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; font-weight: 500; margin: 0 0 20px; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 620px; margin: 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-amber { background: var(--amber); }
.dot-ok { background: var(--ok); }

/* Product preview (the moment) */
.preview { margin: 56px 0 0; }
.win { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 64px -24px rgba(0, 0, 0, .5); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
.win-bar span { flex: 1; text-align: center; color: var(--muted); font-size: .8125rem; font-weight: 500; margin-right: 52px; }
.win-body { display: grid; grid-template-columns: 208px minmax(0, 1fr) minmax(0, .9fr); min-height: 360px; }
.win-side { display: flex; flex-direction: column; padding: 16px 8px; border-right: 1px solid var(--line); font-size: .875rem; }
.win-label { color: var(--faint); font-size: .75rem; font-weight: 500; margin: 0 8px 4px; }
.win-label:not(:first-child) { margin-top: 16px; }
.win-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.win button { font: inherit; color: inherit; background: none; border: 0; margin: 0; text-align: left; cursor: pointer; }
.win-file, .win-device { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 32px; padding: 0 8px; border-radius: 6px; transition: background-color var(--fast) var(--ease); }
.win-file:hover { background: var(--surface-2); }
.win-file.sel { background: var(--accent-soft); }
.count { font-family: var(--mono); font-size: .75rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.win .win-send { margin-top: auto; height: 32px; width: 100%; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: .8125rem; transition: background-color var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.win .win-send:hover { background: var(--accent-hover); }
.win .win-send:disabled { opacity: .6; cursor: default; }
.win-list { padding: 16px; border-right: 1px solid var(--line); min-width: 0; }
.win-title { font-weight: 600; font-size: .9375rem; margin: 0 0 8px; }
.win-list ol { list-style: none; margin: 0; padding: 0; }
.win-list li + li { border-top: 1px solid var(--line); }
.win .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; width: 100%; padding: 8px; border-radius: 6px; font-size: .875rem; transition: background-color var(--fast) var(--ease); }
.win .row:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.win .row.sel { background: var(--surface-2); }
.poi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mph { color: var(--muted); font-variant-numeric: tabular-nums; }
.coord { grid-column: 1 / -1; font-family: var(--mono); font-size: .75rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.win-map { position: relative; background: var(--m-land); }
.win-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-land { fill: var(--m-land); }
.m-water { fill: var(--m-water); }
.m-park { fill: var(--m-park); }
.m-minor path { stroke: var(--m-minor); stroke-width: 3; fill: none; stroke-linecap: round; }
.m-major { stroke: var(--m-major); stroke-width: 6; fill: none; stroke-linecap: round; }
.m-pin { cursor: pointer; }
.m-pin circle { fill: var(--m-pin); stroke: var(--m-land); stroke-width: 2; transition: fill var(--fast) var(--ease); }
.m-pin .halo { fill: transparent; stroke: none; }
.m-pin.sel circle { fill: var(--accent); }
.m-pin.sel .halo { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1; }
.win-status { display: flex; gap: 24px; height: 40px; align-items: center; padding: 0 16px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: .8125rem; color: var(--muted); }
.win-status span { display: flex; align-items: center; gap: 8px; }
.ok { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.preview figcaption { color: var(--faint); font-size: .8125rem; margin-top: 12px; }
.preview figcaption .hint { color: var(--muted); margin-right: 8px; }
.spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Entrance: once, on load */
.rise { animation: rise 480ms var(--ease) both; }
.rise.d1 { animation-delay: 60ms; }
.rise.d2 { animation-delay: 120ms; }
.rise.d3 { animation-delay: 180ms; }
.rise.d4 { animation-delay: 260ms; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.preview .m-minor path, .preview .m-major { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 900ms var(--ease) 420ms forwards; }
.preview .m-major { animation-duration: 1100ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.m-pin { animation: drop 320ms var(--ease) both; animation-delay: calc(900ms + var(--i, 0) * 60ms); transform-box: fill-box; transform-origin: 50% 100%; }
.is-live .m-pin { animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Scroll reveals (added by preview.js only when motion is allowed) */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal .road::before { transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease) 150ms; }
.reveal.in .road::before { transform: none; }

/* Demo video */
.video { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); aspect-ratio: 1600 / 1232; }
.video img, .video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15, 21, 25, .25); transition: background-color var(--fast) var(--ease); }
.play:hover { background: rgba(15, 21, 25, .12); }
.play span { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); position: relative; transition: transform var(--fast) var(--ease); }
.play:hover span { transform: scale(1.04); }
.play:active span { transform: scale(.98); }
.play span::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--on-accent); }
.demo .cta-note { margin-top: 12px; }
.credit { color: var(--faint); font-size: .75rem; margin: 8px 0 0; }
.demo[hidden] { display: none; }

/* Trust strip */
.trust { margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 20px; padding-bottom: 20px; color: var(--muted); font-size: .9375rem; }
.trust-inner span + span::before { content: "·"; color: var(--faint); margin-right: 32px; }

/* Blocks */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 48px; }
.split h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 16px; }
.split p { color: var(--muted); }
.panel { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-md); }
.panel h3 { display: flex; align-items: center; gap: 8px; }
.panel ul { padding-left: 20px; margin: 0 0 16px; }
.panel li { margin-bottom: 4px; }
.panel p:last-child { margin-bottom: 0; }

/* Deadline: drawn as a road with three stops */
.road { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 16px, transparent 16px 28px); }
.road li { position: relative; padding-top: 32px; }
.road li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--faint); }
.road li.due::before { border-color: var(--amber); background: var(--amber); }
.when { font-family: var(--mono); font-size: .8125rem; color: var(--muted); }
.road .due .when { color: var(--amber); }
.road p { margin: 8px 0 0; color: var(--muted); }

/* Features: a list, not a card grid */
.features { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.features li { padding: 24px 0; border-top: 1px solid var(--line); }
.features p { margin: 0; color: var(--muted); }

/* Screenshots (kept for when real images exist) */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.shots figure { margin: 0; }
.shots img { border-radius: 12px; border: 1px solid var(--line); }
.shots figcaption { color: var(--faint); font-size: .875rem; margin-top: 8px; }

/* Price */
.stats { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin: 8px 0 24px; }
.stat { background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow-md); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 144px; }
.stat-value { font-family: var(--display); font-size: 2rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-lead .stat-value { font-size: clamp(3rem, 7vw, 4.5rem); letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: .9375rem; }
.offer-line { font-weight: 500; }
.price-card .price { font-family: var(--display); font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.price-card .price span { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.checks { padding-left: 20px; }
.pricing-teaser { text-align: center; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 1.25rem; line-height: 1; transition: transform var(--fast) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -8px 0 20px; color: var(--muted); }

/* Closing */
.closing { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 96px; }
.closing .lead { margin-bottom: 0; }

.center { text-align: center; }
.prose ul, .prose ol, .narrow ol, .narrow ul { padding-left: 20px; }
.narrow li { margin-bottom: 4px; }
.narrow h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 12px; }
.narrow .section > h2:first-child, .narrow h2.section-title { margin-top: 0; }
#faq h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-top: 0; }
.narrow .lead { margin-bottom: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 40px 0 48px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0 0 24px; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: .875rem; }
.site-footer a:hover { color: var(--text); }
.fine { color: var(--faint); font-size: .8125rem; margin: 0; max-width: 860px; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "stats"; }
  .hero-visual { height: 560px; margin-right: 0; }
  .vehicle-switch { right: 0; }
}

@media (max-width: 960px) {
  .win-body { grid-template-columns: 192px minmax(0, 1fr); }
  .win-map { display: none; }
  .win-list { border-right: 0; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding-top: 36px; padding-bottom: 36px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .hero .btn { height: 52px; }
  .hero-visual { height: 320px; margin-right: -16px; }
  .hero-visual { height: 368px; }
  .vehicle-switch { right: 16px; }
  .hero-stats { padding: 16px; }
  .hero-stats dl { grid-template-columns: 1fr 1fr; }
  .lead { font-size: 1.0625rem; }
  .cta-row { margin-top: 24px; }
  .cta-row .btn { flex: 1 1 100%; }
  .dl-soon { width: 100%; text-align: center; }
  .preview { margin-top: 40px; }
  .win-body { grid-template-columns: 1fr; min-height: 0; }
  .win-side { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .win-side .win-label, .win-side ul:nth-of-type(2) { display: none; }
  .win-side ul { display: flex; gap: 4px; overflow-x: auto; }
  .win-file { width: auto; white-space: nowrap; gap: 8px; }
  .win .win-send { margin-top: 0; }
  .win-list li:nth-child(n+4) { display: none; }
  .win-bar span { margin-right: 0; }
  .win-status { gap: 16px; }
  .trust { margin-top: 48px; }
  .trust-inner { flex-direction: column; gap: 4px; }
  .trust-inner span + span::before { content: none; }
  .road { grid-template-columns: 1fr; gap: 24px; }
  .road::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 16px, transparent 16px 28px); }
  .road li { padding: 0 0 0 32px; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-lead { grid-column: 1 / -1; }
  .stat { min-height: 0; }
  .closing { padding-top: 72px; margin-top: 36px; }
  .site-footer { margin-top: 72px; }

  .main-nav { gap: 12px; }
  .menu { position: relative; }
  .menu summary { display: flex; align-items: center; height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; list-style: none; font-size: .875rem; font-weight: 500; color: var(--text); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu ul { position: absolute; right: 0; top: 44px; flex-direction: column; align-items: stretch; gap: 0; min-width: 200px; padding: 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .4); }
  .menu a { display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 1rem; }
  .menu a:hover { background: var(--surface-2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .preview .m-minor path, .preview .m-major { stroke-dashoffset: 0; }
}

/* ---- In-browser app demo (macOS dark appearance) ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo-hint { color: var(--muted); margin: -8px 0 24px; }
.demo-caption { color: var(--faint); font-size: .8125rem; margin: 12px 0 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--accent-hover); }

.mac { --m-bg: #1e1e1e; --m-side: #262626; --m-bar: #2a2a2a; --m-row: #252525; --m-sel: #0a59d6; --m-text: #e6e6e6; --m-dim: #9a9a9a; --m-line: rgba(255,255,255,.08);
  position: relative; display: flex; flex-direction: column; height: 760px; border-radius: 12px; overflow: hidden; background: var(--m-bg); color: var(--m-text);
  font: 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; letter-spacing: -0.003em;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 1px rgba(0,0,0,.6), var(--shadow-lg); }
.mac button { font: inherit; color: inherit; }
.mac svg { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.mac-top { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px 0 16px; background: var(--m-bar); border-bottom: 1px solid rgba(0,0,0,.5); flex: none; }
.mac-lights { display: flex; gap: 8px; width: 60px; }
.mac-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.25); }
.mac-lights i:nth-child(2) { background: #febc2e; }
.mac-lights i:nth-child(3) { background: #28c840; }
.mac-sidetoggle { width: 28px; height: 22px; margin-left: 112px; border-radius: 6px; border: 1.3px solid var(--m-dim); opacity: .6; transform: scale(.7); }
.mac-title { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mac-title strong { font-weight: 600; font-size: 13px; white-space: nowrap; }
.mac-title span { color: var(--m-dim); font-size: 11px; }
.mac-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.mac-toolgroup { display: flex; height: 32px; align-items: center; padding: 0 4px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.08); }
.mac .tool { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 0; border-radius: 14px; background: none; cursor: pointer; font-size: 12.5px; color: var(--m-text); }
.mac .tool:hover { background: rgba(255,255,255,.08); }
.mac .tool svg { width: 15px; height: 15px; }
.mac-search { display: flex; align-items: center; gap: 6px; width: 220px; height: 30px; padding: 0 10px; border-radius: 15px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1); color: var(--m-dim); }
.mac-search svg { width: 14px; height: 14px; flex: none; }
.mac-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--m-text); font: inherit; outline: none; }
.mac-search:focus-within { box-shadow: 0 0 0 3px rgba(10,89,214,.6); }
.mac-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); flex: 1; min-height: 0; }
.mac-side { display: flex; flex-direction: column; padding: 8px 8px 10px; background: var(--m-side); border-right: 1px solid rgba(0,0,0,.45); min-height: 0; }
.mac-sec { margin: 8px 8px 4px; font-size: 11px; font-weight: 600; color: var(--m-dim); }
.mac-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mac-file { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 8px; border: 0; border-radius: 6px; background: none; text-align: left; cursor: pointer; }
.mac-file strong { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac-file small { display: block; font-size: 10.5px; color: var(--m-dim); }
.mac-file:hover { background: rgba(255,255,255,.05); }
.mac-file[aria-pressed="true"] { background: var(--m-sel); }
.mac-file[aria-pressed="true"] small { color: rgba(255,255,255,.75); }
.fi { width: 14px; height: 16px; border-radius: 2px; border: 1.3px solid currentColor; opacity: .7; flex: none; }
.fi-gpx { border-radius: 50% 50% 50% 0; transform: rotate(-45deg) scale(.8); }
.mac-device { display: flex; align-items: center; gap: 8px; margin: 0 -8px; padding: 6px 16px; background: rgba(10,89,214,.28); }
.mac-device svg:first-child { width: 20px; height: 16px; color: var(--m-dim); }
.mac-device strong { display: block; font-weight: 500; }
.mac-device small { display: block; font-size: 10.5px; color: var(--m-dim); }
.mac-device .eject { width: 14px; height: 14px; margin-left: auto; fill: currentColor; stroke: none; }
.mac .mac-send { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; border: 0; border-radius: 7px; background: linear-gradient(180deg, #2b7bf6, #0a63e8); box-shadow: inset 0 .5px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.4); color: #fff; cursor: pointer; font-weight: 500; }
.mac .mac-send:hover { filter: brightness(1.08); }
.mac .mac-send:active { filter: brightness(.92); }
.mac .mac-send svg { width: 14px; height: 14px; }
.mac-main { display: grid; grid-template-rows: auto minmax(0, 220px) minmax(0, 1fr); min-width: 0; min-height: 0; }
.mac-settings { width: min(440px, calc(100% - 32px)); margin: 16px auto 14px; padding: 2px 12px; border-radius: 8px; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.08); }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; padding: 3px 0; }
.set-row + .set-row { border-top: .5px solid var(--m-line); }
.set-field { min-width: 180px; padding: 2px 8px; border-radius: 5px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.12); text-align: right; }
.seg { display: inline-flex; padding: 2px; border-radius: 7px; background: rgba(255,255,255,.08); }
.mac .seg button { height: 20px; padding: 0 10px; border: 0; border-radius: 5px; background: none; cursor: pointer; font-size: 12px; }
.mac .seg button[aria-pressed="true"] { background: var(--m-sel); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.mac .stepper { display: inline-flex; align-items: center; gap: 8px; height: 22px; padding: 0 6px 0 10px; border: 0; border-radius: 5px; background: rgba(255,255,255,.1); box-shadow: 0 .5px 1px rgba(0,0,0,.4), inset 0 .5px 0 rgba(255,255,255,.08); cursor: pointer; }
.mac .stepper svg { width: 9px; height: 12px; }
.set-icon { display: flex; align-items: center; gap: 8px; }
.set-icon i { width: 14px; height: 14px; border-radius: 50%; background: #d23b30; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.mac .mini { height: 22px; padding: 0 10px; border: 0; border-radius: 5px; background: rgba(255,255,255,.1); box-shadow: 0 .5px 1px rgba(0,0,0,.4); cursor: pointer; font-size: 12px; }
.mac-table { overflow: auto; border-top: .5px solid var(--m-line); }
.mac-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mac-table th { position: sticky; top: 0; z-index: 1; height: 26px; padding: 0 12px; background: var(--m-bg); border-bottom: .5px solid var(--m-line); text-align: left; font-size: 11.5px; font-weight: 500; color: var(--m-dim); }
.mac-table th + th { border-left: .5px solid var(--m-line); }
.mac-table td { height: 24px; padding: 0 12px; white-space: nowrap; }
.mac-table tbody tr:nth-child(even) { background: var(--m-row); }
.mac-table tbody tr { cursor: default; }
.mac-table tbody tr.sel { background: var(--m-sel); color: #fff; }
.mac-table tbody tr.sel .muted { color: rgba(255,255,255,.8); }
.mac-table .muted { color: var(--m-dim); }
.mac-table .num { text-align: right; }
.mac-table tr.empty td { color: var(--m-dim); text-align: center; height: 48px; }
.mac-map { position: relative; overflow: hidden; border-top: .5px solid rgba(0,0,0,.5); min-height: 0; }
.mac-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mm-land { fill: #2b3a35; }
.mm-water { fill: #1f3d5c; }
.mm-park { fill: #2f4a3b; }
.mm-roads path { stroke: #4a5651; stroke-width: 2; fill: none; }
.mm-major path { stroke: #6b6a52; stroke-width: 4; fill: none; }
.mm-legal { position: absolute; left: 8px; bottom: 6px; font-size: 10px; color: rgba(255,255,255,.55); }
.mac-pins { position: absolute; inset: 0; }
.mac .mac-pin { position: absolute; width: 22px; height: 22px; margin: -22px 0 0 -11px; padding: 0; border: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #3478f6; box-shadow: inset 0 0 0 2px #fff, 0 2px 4px rgba(0,0,0,.5); cursor: pointer; transition: transform var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.mac .mac-pin::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.mac .mac-pin:hover { transform: rotate(-45deg) scale(1.1); }
.mac .mac-pin.sel { z-index: 2; background: #ff3b30; transform: rotate(-45deg) scale(1.3); }
.pin-label { position: absolute; left: 50%; top: 100%; transform: rotate(45deg) translate(-4px, 10px); white-space: nowrap; font-size: 10.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.9); pointer-events: none; opacity: 0; }
.mac .mac-pin.sel .pin-label { opacity: 1; }
.mac-tip { position: absolute; z-index: 5; width: 160px; padding: 6px 10px; border-radius: 6px; background: #3a3a3a; color: #fff; font-size: 12px; text-align: center; box-shadow: var(--shadow-md); }
.mac-sheet-wrap { position: absolute; inset: 52px 0 0; z-index: 6; display: flex; justify-content: center; background: rgba(0,0,0,.25); }
.mac-sheet-wrap[hidden], .mac-tip[hidden] { display: none; }
.mac-sheet { align-self: flex-start; width: 300px; margin-top: 140px; padding: 16px; border-radius: 12px; background: rgba(50,50,50,.96); box-shadow: 0 0 0 .5px rgba(255,255,255,.15), 0 20px 50px rgba(0,0,0,.6); text-align: left; outline: none; animation: sheet-in 200ms var(--ease) both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.sheet-title { margin: 0 0 8px; font-weight: 700; font-size: 13px; }
.sheet-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.sheet-bar i { display: block; height: 100%; background: #0a84ff; transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease); }
.sheet-msg { margin: 0 0 14px; white-space: pre-line; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.sheet-btns { display: grid; gap: 8px; }
.mac .sheet-btn { height: 28px; border: 0; border-radius: 7px; background: rgba(255,255,255,.12); cursor: pointer; }
.mac .sheet-btn.primary { background: linear-gradient(180deg, #2b7bf6, #0a63e8); color: #fff; }

.video-dialog { width: min(1040px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.video-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.video-dialog video { display: block; width: 100%; height: auto; }
.video-dialog .credit { padding: 0 16px 12px; }
.video-close { position: absolute; right: 8px; top: 8px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

@media (max-width: 899px) {
  .mac { height: auto; }
  .mac-top { flex-wrap: wrap; height: auto; padding: 10px 12px; row-gap: 8px; }
  .mac-sidetoggle { display: none; }
  .mac-tools { width: 100%; margin-left: 0; justify-content: space-between; }
  .mac-search { width: auto; flex: 1; }
  .mac-body { grid-template-columns: minmax(0, 1fr); }
  .mac-side { min-width: 0; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.45); padding: 8px; }
  .mac-side .mac-sec, .mac-device { display: none; }
  .mac-files { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .mac-files li { flex: none; }
  .mac .mac-send { margin-top: 8px; }
  .mac-main { grid-template-rows: auto 260px 280px; }
}
@media (max-width: 560px) {
  .mac-toolgroup { display: none; }
  .mac-tools { width: auto; flex: 1; }
  .mac-settings { width: calc(100% - 16px); margin: 8px auto; }
  .set-row { font-size: 12px; }
  .set-row > span:first-child { min-width: 0; }
  .set-field { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .set-icon .mini { display: none; }
  .set-field { min-width: 0; }
  .set-icon { font-size: 11px; gap: 6px; }
}
.mac .mac-map svg { stroke: none; }
