/* FindMe site — "control room" direction: ink-navy bands, signal blue, live/stale status colours as the motif. */
:root {
  --ink: #0b1320; --ink-2: #13203a; --ink-line: #23314f;
  --paper: #f6f8fc; --surface: #ffffff; --tint: #eef2fa; --line: #dde3ef;
  --fg: #111a2c; --muted: #56627a; --on-ink: #e9eef8; --on-ink-muted: #9fb0cf;
  --signal: #0f6fff; --signal-2: #4c8dff; --live: #19b35c; --stale: #f0a020; --offline: #8a93a5;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0d1422; --surface: #141d2f; --tint: #111a2b; --line: #26324a; --fg: #e8edf7; --muted: #9aa8c2; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--fg); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--signal); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 780px; }
.row { display: flex; align-items: center; gap: 18px; }
.wrap-ok { flex-wrap: wrap; } .gap { gap: 12px; } .spacer { flex: 1; } .center { text-align: center; }
.small { font-size: 14px; } .tiny { font-size: 12px; color: var(--muted); } .muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 14px; }
h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
section { padding: 84px 0; scroll-margin-top: 64px; }
section.tint { background: var(--tint); }
section.dark { background: var(--ink); color: var(--on-ink); }
section.dark h2 { color: #fff; }
.lead { font-size: 20px; color: inherit; opacity: .9; max-width: 60ch; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(10px); color: var(--on-ink); border-bottom: 1px solid var(--ink-line); }
.top .row { height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: 22px; flex: 1; }
.nav a { color: var(--on-ink-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: #fff; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: var(--on-ink); font-weight: 700; font-size: 14px; padding: 6px 10px; border: 1px solid var(--ink-line); border-radius: 8px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 40px; margin: 0; padding: 6px; list-style: none; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 12px; min-width: 150px; }
.lang a { display: block; padding: 8px 12px; color: var(--on-ink); text-decoration: none; border-radius: 8px; }
.lang a:hover, .lang a[aria-current] { background: var(--ink-line); }
@media (max-width: 900px) { .nav { display: none; } .top .spacer-auto { flex: 1; } .top .lang { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; font-size: 16px; }
.btn.primary { background: var(--signal); color: #fff; }
.btn.primary:hover { background: #0a5ee0; }
.btn.ghost { border-color: currentColor; color: var(--signal); }
.top .btn.ghost { color: var(--on-ink); border-color: var(--ink-line); }
.btn.ghost-dark { color: var(--on-ink); border-color: var(--ink-line); }
.btn.big { padding: 15px 24px; font-size: 17px; }
.btn.small { padding: 7px 12px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--signal-2); outline-offset: 2px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, #18306088, transparent), var(--ink); color: var(--on-ink); padding: 72px 0 88px; }
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; color: var(--live); margin: 0 0 14px; }
.trust { margin-top: 22px; font-size: 14px; color: var(--on-ink-muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* demo map */
.demo { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; background: #0f1b31; border: 1px solid var(--ink-line); overflow: hidden;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 40px 40px; box-shadow: 0 30px 80px #0008; }
.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.streets path { fill: none; stroke: #2b3d63; stroke-width: 6; stroke-linecap: round; }
.streets .river { stroke: #1d4b7a; stroke-width: 10; }
.pin { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pin b { width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 13px; border: 3px solid #fff; position: relative; }
.pin .age { font: 600 12px var(--mono); padding: 2px 8px; border-radius: 999px; background: #0b1320dd; border: 1px solid var(--ink-line); white-space: nowrap; color: var(--live); }
.pin.aging .age { color: var(--stale); } .pin.stale .age { color: var(--offline); } .pin.stale b { filter: grayscale(.9); opacity: .7; }
.pin.live b::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--live); animation: ping 2.4s ease-out infinite; animation-delay: var(--d); }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin.live b::after { animation: none; opacity: .5; } html { scroll-behavior: auto; } }

/* content blocks */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; list-style: none; margin: 24px 0 0; }
.cols3 li { padding-left: 18px; border-left: 3px solid var(--stale); color: var(--muted); font-size: 18px; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(s); font: 800 15px var(--mono); color: var(--signal); display: block; margin-bottom: 10px; }
.steps p, .card p { margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; margin-top: 28px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.dark { background: var(--ink-2); border-color: var(--ink-line); }
.card.dark h3 { color: #fff; } .card.dark p { color: var(--on-ink-muted); }
.usecase { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--signal); }
.usecase p { color: var(--muted); margin: 0; }
.also { margin-top: 22px; color: var(--muted); }
.note { margin-top: 26px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--ink-line); color: var(--on-ink-muted); font-size: 15px; }
.code { background: var(--ink); color: #cfe0ff; border-radius: var(--radius); padding: 22px; overflow-x: auto; font: 14px/1.6 var(--mono); margin: 0; border: 1px solid var(--ink-line); }
@media (max-width: 900px) { .cols3, .steps { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--signal); }
.price { font-size: 38px; font-weight: 800; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checks li { padding-left: 26px; position: relative; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--live); font-weight: 800; }
.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--signal); font-weight: 800; }
.faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.cta .lead { margin: 0 auto 24px; }
.cta .row { justify-content: center; }
.foot { background: var(--ink); color: var(--on-ink-muted); padding: 28px 0; font-size: 14px; border-top: 1px solid var(--ink-line); }
.foot a { color: var(--on-ink); text-decoration: none; }

/* legal */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal p, .legal li { color: var(--fg); }
.legal table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.toc { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 12px 20px; margin: 24px 0; }
