:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-soft: #111827;
  --surface: #161b22;
  --surface-hi: #1c2430;
  --border: #303846;
  --border-bright: #465468;
  --text: #edf2f7;
  --muted: #aab6c5;
  --dim: #929faf;
  --green: #54f137;
  --green-hi: #9dff5d;
  --yellow: #f4ff38;
  --red: #ff5757;
  --cyan: #57d9ff;
  --green-soft: rgba(84, 241, 55, 0.12);
  --green-line: rgba(84, 241, 55, 0.34);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(79, 140, 255, 0.14), transparent 42rem),
    var(--bg);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(84, 241, 55, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 241, 55, 0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
  content: "";
  pointer-events: none;
}

a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 3px;
}

[data-lang="en"] { display: none !important; }
html[lang="en"] [data-lang="de"] { display: none !important; }
html[lang="en"] [data-lang="en"] { display: revert !important; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: var(--green);
  color: #051006;
  padding: 10px 18px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: 180ms ease;
}

.site-header.scrolled,
.privacy-header {
  border-color: rgba(84, 241, 55, 0.12);
  background: rgba(13, 17, 23, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}


.desktop-nav,
.header-actions,
.lang-switch {
  display: flex;
  align-items: center;
}

.desktop-nav { gap: 2px; }
.header-actions {
  gap: 10px;
  margin-left: auto;
}

.desktop-nav a {
  border-radius: 9px;
  color: var(--muted);
  padding: 8px 11px;
  font-size: 14px;
  text-decoration: none;
  transition: 150ms ease;
}

.desktop-nav a:hover {
  background: var(--surface);
  color: var(--text);
}

.lang-switch {
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.lang-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--dim);
  padding: 5px 7px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.lang-switch button.active {
  background: var(--surface-hi);
  color: var(--green-hi);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 9px;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  background: var(--surface-hi);
  color: var(--text);
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--green-line);
}

.btn-primary {
  border-color: var(--green);
  background: linear-gradient(135deg, var(--green-hi), var(--green));
  box-shadow: 0 10px 32px rgba(84, 241, 55, 0.2);
  color: #061107;
}

.btn-quiet { background: rgba(28, 36, 48, 0.8); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.98);
  padding: 12px 24px 20px;
}

.mobile-nav.open { display: grid; gap: 6px; }
.mobile-nav a { border-radius: 10px; padding: 11px 12px; text-decoration: none; }
.mobile-nav a:hover { background: var(--surface); color: var(--text); }

.hero {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: 1.07fr 0.93fr;
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
  padding-block: 72px 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green-hi);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  background: var(--green);
  content: "";
}

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 6.5vw, 78px);
  font-weight: 750;
}

h1 .accent,
h2 .accent {
  background: linear-gradient(105deg, var(--green-hi), var(--yellow));
  background-clip: text;
  color: transparent;
}

h2 { font-size: clamp(31px, 4vw, 48px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }

.hero-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-button {
  --store-color: var(--green-hi);
  --store-line: var(--green-line);
  --store-glow: rgba(84, 241, 55, 0.14);
  position: relative;
  display: flex;
  flex: 1 1 220px;
  align-items: center;
  min-height: 68px;
  gap: 13px;
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--store-glow), rgba(28, 36, 48, 0.92) 58%);
  color: var(--text);
  padding: 12px 15px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.store-button::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 14% 50%, var(--store-glow), transparent 64%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.store-button:hover::after { opacity: 1; }

.store-icon {
  display: grid;
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--store-line);
  border-radius: 11px;
  background: var(--surface-hi);
  color: var(--store-color);
}

.store-icon svg { width: 21px; height: 21px; }

.store-copy {
  display: flex;
  position: relative;
  z-index: 1;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.store-copy strong { color: var(--text); font-size: 15px; }
.store-copy small { color: var(--dim); font-family: var(--mono); font-size: 11px; }

.store-arrow {
  position: relative;
  z-index: 1;
  margin-left: auto;
  color: var(--dim);
  font-size: 18px;
  transition: transform 160ms ease, color 160ms ease;
}

.store-button:hover .store-arrow {
  transform: translate(2px, -2px);
  color: var(--store-color);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.proof-pill,
.protocol {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.8);
  color: var(--muted);
  padding: 7px 11px;
  font-family: var(--mono);
  font-size: 11px;
}

.proof-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  content: "";
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
}

.hero-visual::before {
  position: absolute;
  width: min(440px, 88vw);
  height: min(440px, 88vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.28), rgba(84, 241, 55, 0.08) 48%, transparent 72%);
  content: "";
  filter: blur(8px);
}

.phone-stage {
  position: relative;
  width: max-content;
  max-width: 100%;
}

.phone {
  position: relative;
  width: 306px;
  aspect-ratio: 9 / 19.4;
  border-radius: 48px;
  background: linear-gradient(155deg, #8a98aa, #465468 44%, #293545);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  padding: 9px;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 39px;
  background: #1c2430;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  width: 84px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.mock-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 43px 18px 12px;
}

.mock-brand { color: #fff; font-size: 18px; letter-spacing: -0.04em; }
.mock-brand em { color: #8cf333; font-style: normal; font-weight: 800; }
.mock-menu { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #344256; color: #fff; font-size: 13px; }

.mock-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 13px 15px;
}

.mock-status,
.mock-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: #283445;
  padding: 13px;
}

.mock-status-line { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; }
.mock-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8cf333; box-shadow: 0 0 12px rgba(140, 243, 51, 0.8); animation: live-pulse 1.8s ease-in-out infinite; }
.mock-time { margin-left: auto; color: #fff; font-family: var(--mono); font-size: 10px; }
.mock-status-copy { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.62); font-size: 9.5px; }

.mock-chips,
.mock-choice-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.mock-chips span { border-radius: 999px; background: #344256; color: rgba(255, 255, 255, 0.7); padding: 4px 7px; font-family: var(--mono); font-size: 7.5px; }

.mock-label { display: block; color: rgba(255, 255, 255, 0.74); font-family: var(--mono); font-size: 8px; font-weight: 800; letter-spacing: 0.09em; }
.mock-choice-row span { flex: 1 1 auto; border-radius: 999px; background: #344256; color: rgba(255, 255, 255, 0.66); padding: 6px 8px; text-align: center; font-size: 8px; white-space: nowrap; }
.mock-choice-row .selected { background: #8cf333; color: #0a0f1a; font-weight: 800; }

.mock-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-setting-row small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.72); font-size: 8.5px; }
.mock-switch { display: flex; width: 34px; height: 20px; align-items: center; border-radius: 999px; background: #344256; padding: 2px; }
.mock-switch i { width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, 0.62); }
.mock-switch.on { justify-content: flex-end; background: #8cf333; }
.mock-switch.on i { background: #1c2430; }

.mock-live-diagnostics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-live-diagnostics span { border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; background: #283445; padding: 8px; }
.mock-live-diagnostics small { display: block; color: rgba(255, 255, 255, 0.72); font-family: var(--mono); font-size: 6.5px; }
.mock-live-diagnostics strong { display: block; margin-top: 2px; color: #fff; font-size: 10px; }

.mock-stop { display: grid; min-height: 46px; place-items: center; border-radius: 14px; background: #ff6b6b; color: #0a0f1a; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(28, 36, 48, 0.92);
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 10px 13px;
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  animation: float-card 6s ease-in-out infinite;
}

.float-card small { display: block; color: var(--dim); font-size: 9px; }
.float-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; background: var(--green-soft); color: var(--green-hi); }
.float-icon.live { color: var(--green); font-size: 9px; }
.float-icon.record { background: rgba(255, 87, 87, 0.12); color: var(--red); font-size: 9px; }
.float-live { top: 82px; left: -96px; }
.float-quality { top: 214px; right: -124px; animation-delay: -1.5s; }
.float-audio { bottom: 190px; left: -118px; animation-delay: -4.5s; }
.float-record { right: -104px; bottom: 76px; animation-delay: -3s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.section {
  padding-block: 56px;
  border-top: 1px solid rgba(84, 241, 55, 0.09);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.section-head p { max-width: 540px; margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--surface-hi), var(--surface));
  padding: 25px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.feature-card:hover { transform: translateY(-3px); border-color: var(--green-line); }
.feature-card::after { position: absolute; right: -34px; bottom: -44px; width: 120px; height: 120px; border-radius: 50%; background: rgba(84, 241, 55, 0.07); filter: blur(4px); content: ""; }
.feature-icon { display: grid; width: 42px; height: 42px; margin-bottom: 22px; place-items: center; border: 1px solid var(--green-line); border-radius: 12px; background: var(--green-soft); color: var(--green-hi); font-family: var(--mono); font-size: 13px; font-weight: 800; }
.feature-card p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.feature-card-featured { display: grid; min-height: 0; grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; border-color: var(--green-line); background: linear-gradient(130deg, rgba(35, 64, 55, 0.98), var(--surface)); }
.feature-card-featured .feature-icon { margin-bottom: 0; }
.feature-card-featured p { max-width: 870px; }

.protocols {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.protocol { border-color: var(--green-line); color: var(--green-hi); padding: 9px 15px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: steps;
}

.step {
  position: relative;
  border-top: 1px solid var(--border-bright);
  padding: 30px 10px 0 0;
  counter-increment: steps;
}

.step::before {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--green-line);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-hi);
  content: counter(steps, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
}

.step p { margin: 10px 0 0; font-size: 15px; }

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 38px;
  border: 1px solid rgba(244, 255, 56, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(244, 255, 56, 0.05);
  padding: 16px 18px;
  color: #c8cba4;
  font-size: 14px;
}
.notice strong { color: var(--yellow); }

.download-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--green-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 20%, rgba(84, 241, 55, 0.17), transparent 22rem),
    linear-gradient(135deg, #243b36, #161b22 70%);
  padding: clamp(34px, 6vw, 68px);
  text-align: center;
}
.download-card p { max-width: 590px; margin: 18px auto 28px; }
.download-card .btn { min-width: 210px; }

.download-actions {
  display: grid;
  max-width: 560px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a,
.footer-links span { color: var(--dim); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.copyright { color: var(--dim); font-family: var(--mono); font-size: 11px; }

.privacy-main { padding: 74px 0 110px; }
.privacy-hero { max-width: 820px; padding-bottom: 46px; }
.privacy-hero h1 { font-size: clamp(40px, 6vw, 68px); }
.privacy-hero p { max-width: 700px; margin: 20px 0 0; font-size: 18px; }
.updated { display: inline-block; margin-top: 18px; color: var(--dim); font-family: var(--mono); font-size: 11px; }

.privacy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 72px;
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 5px;
}
.privacy-toc a { border-left: 1px solid var(--border); color: var(--dim); padding: 6px 12px; font-size: 13px; text-decoration: none; }
.privacy-toc a:hover { border-color: var(--green); color: var(--text); }

.legal-section { padding: 0 0 46px; }
.legal-section + .legal-section { padding-top: 46px; border-top: 1px solid var(--border); }
.legal-section h2 { margin-bottom: 18px; font-size: 27px; }
.legal-section h3 { margin: 24px 0 8px; font-size: 17px; }
.legal-section p { margin: 0 0 14px; }
.legal-section ul { margin: 12px 0 0; padding-left: 21px; }
.legal-section li { margin-bottom: 8px; }
.legal-section a { color: var(--green-hi); }
.legal-box { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 18px; }
.legal-box strong { color: var(--text); }

@media (max-width: 940px) {
  .desktop-nav, .header-actions > .btn { display: none; }
  .menu-button { display: grid; place-items: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 56px; }
  .hero-visual { min-height: 680px; width: min(100%, 590px); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-layout { grid-template-columns: 1fr; gap: 38px; }
  .privacy-toc { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 660px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 64px; }
  .lang-switch { margin-left: auto; }
  .hero { padding-block: 46px 40px; gap: 48px; }
  h1 { font-size: clamp(39px, 13vw, 56px); }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .btn,
  .hero-actions .store-button { width: 100%; }
  .download-actions { grid-template-columns: 1fr; }
  .hero-visual { min-height: 600px; }
  .phone { width: 270px; }
  .float-card { display: none; }
  .section { padding-block: 40px; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card-featured { display: block; }
  .feature-card-featured .feature-icon { margin-bottom: 22px; }
  .step { padding-bottom: 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .privacy-main { padding-top: 50px; }
  .privacy-toc { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 380px) {
  .phone { width: 248px; }
  .hero-visual { min-height: 550px; }
}

/* pocketCoverage phone map */
.coverage-map {
  position: relative;
  height: 276px;
  overflow: hidden;
  border: 1px solid rgba(84, 241, 55, 0.14);
  border-radius: 17px;
  background:
    linear-gradient(31deg, transparent 46%, rgba(177, 197, 211, .28) 47%, rgba(177, 197, 211, .28) 50%, transparent 51%),
    linear-gradient(119deg, transparent 40%, rgba(177, 197, 211, .22) 41%, rgba(177, 197, 211, .22) 44%, transparent 45%),
    linear-gradient(78deg, transparent 62%, rgba(177, 197, 211, .20) 63%, rgba(177, 197, 211, .20) 66%, transparent 67%),
    #293c43;
}

.coverage-map::before,
.coverage-map::after {
  position: absolute;
  height: 8px;
  border-radius: 999px;
  content: "";
  transform-origin: left center;
}

.coverage-map::before {
  left: 35px;
  top: 202px;
  width: 124px;
  background: linear-gradient(90deg, #ff3434, #ff9e1a, #f4ff38);
  box-shadow: 0 0 12px rgba(255, 115, 29, .38);
  transform: rotate(-29deg);
}

.coverage-map::after {
  left: 140px;
  top: 142px;
  width: 107px;
  background: linear-gradient(90deg, #f4ff38, #54f137);
  box-shadow: 0 0 13px rgba(84, 241, 55, .42);
  transform: rotate(-49deg);
}

.map-start,
.map-pin {
  position: absolute;
  z-index: 2;
  border: 3px solid #fff;
  box-shadow: 0 0 18px currentColor;
}

.map-start {
  left: 28px;
  bottom: 47px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ff3434;
  color: #ff3434;
}

.map-pin {
  top: 42px;
  right: 34px;
  width: 25px;
  height: 25px;
  border-radius: 50% 50% 50% 0;
  background: #54f137;
  color: #54f137;
  transform: rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #1c2430;
  content: "";
}

.mock-record-button {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-hi), var(--green));
  color: #071008;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.mock-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mock-metric {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  background: #283445;
  padding: 9px;
}

.mock-metric small { display: block; color: rgba(255,255,255,.72); font: 7px var(--mono); }
.mock-metric strong { color: #fff; font-size: 11px; }
.mock-metric .good { color: var(--green-hi); }


.home-map-preview { overflow: hidden; border: 1px solid var(--green-line); border-radius: var(--radius-lg); background: var(--surface); }
.home-map-canvas { position: relative; }
.home-map-preview .home-coverage-map { height: 290px; }
.home-map-sample {
  position: absolute;
  z-index: 500;
  top: 18px;
  left: 18px;
  min-width: 190px;
  padding: 14px 16px;
  border: 1px solid rgba(84, 241, 55, .22);
  border-radius: 12px;
  background: rgba(13, 17, 23, .92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}
.home-map-sample-label { display: block; margin-bottom: 7px; color: var(--green-hi); font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.home-map-sample strong { display: block; color: var(--text); font-size: 25px; line-height: 1.1; letter-spacing: -.035em; }
.home-map-sample strong small { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.home-map-sample-quality { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.home-map-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 22px; border-top: 1px solid var(--border); }
.home-map-caption { color: var(--muted); font-size: 12px; }
.home-map-legend { width: 180px; flex-shrink: 0; color: var(--muted); font-size: 11px; }
.home-map-legend .map-legend-gradient { margin: 7px 0 4px; }
.home-map-legend-labels { display: flex; justify-content: space-between; font: 10px var(--mono); }
@media (max-width: 660px) {
  .home-map-preview .home-coverage-map { height: 245px; }
  .home-map-sample { top: 12px; left: 12px; min-width: 164px; padding: 11px 13px; }
  .home-map-sample strong { font-size: 21px; }
  .home-map-footer { align-items: flex-start; flex-direction: column; gap: 14px; padding: 16px; }
  .home-map-legend { width: 100%; }
}
.section-cta { display: flex; justify-content: center; margin-top: 24px; }

/* Public coverage map */
.map-page { height: 100vh; overflow: hidden; background: var(--bg); }
.map-page::before { display: none; }
.map-header {
  position: relative;
  border-color: rgba(84, 241, 55, .14);
  background: rgba(13, 17, 23, .96);
  backdrop-filter: blur(18px) saturate(140%);
}
.map-brand { color: var(--text); font-size: 18px; letter-spacing: -.035em; text-decoration: none; }
.map-brand strong { font-weight: 900; }
.map-brand span { color: var(--green-hi); font-weight: 750; }
.desktop-nav a.active { background: var(--green-soft); color: var(--green-hi); }
.public-map-main { position: relative; height: calc(100vh - 73px); }
.public-map { width: 100%; height: 100%; background: var(--surface-hi); }
.public-map .leaflet-tile-pane { filter: saturate(.7); }
.public-map .leaflet-control-zoom a {
  border-color: var(--border) !important;
  background: rgba(13, 17, 23, .94);
  color: var(--text);
}
.public-map .leaflet-control-zoom a:hover { background: var(--surface-hi); color: var(--green-hi); }
.public-map .leaflet-control-attribution {
  border-radius: 8px 0 0 0;
  background: rgba(13, 17, 23, .78);
  color: var(--dim);
  backdrop-filter: blur(8px);
}
.public-map .leaflet-control-attribution a { color: var(--green-hi); }
.public-map-main .maplibregl-ctrl-top-right { top: 50%; transform: translateY(-50%); }
.public-map .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show) {
  background: transparent;
  box-shadow: none;
}
.public-map .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show) .maplibregl-ctrl-attrib-button {
  background-color: transparent;
}

.public-map .leaflet-popup-content-wrapper,
.public-map .leaflet-popup-tip,
.public-map .maplibregl-popup-content {
  border: 1px solid var(--border-bright);
  background: rgba(28, 36, 48, .97);
  color: var(--text);
  box-shadow: var(--shadow);
}
.public-map .leaflet-popup-content { margin: 14px; }
.public-map .leaflet-popup-close-button,
.public-map .maplibregl-popup-close-button { color: var(--muted); }
.public-map .maplibregl-popup-anchor-top .maplibregl-popup-tip,
.public-map .maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
.public-map .maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color: rgba(28, 36, 48, .97); }
.public-map .maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
.public-map .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
.public-map .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color: rgba(28, 36, 48, .97); }
.public-map .maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: rgba(28, 36, 48, .97); }
.public-map .maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: rgba(28, 36, 48, .97); }
.coverage-popup { display: grid; min-width: 190px; gap: 8px; }
.coverage-popup > strong { margin-bottom: 3px; color: var(--green-hi); font-size: 15px; }
.coverage-popup > span,
.coverage-popup-summary > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; font-size: 12px; }
.coverage-popup b { max-width: 170px; font-weight: 400; overflow-wrap: anywhere; text-align: right; }
.coverage-popup small { color: var(--dim); font: 10px var(--mono); text-transform: uppercase; }
.coverage-popup-summary { display: grid; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.coverage-popup-measurements { display: grid; max-height: 260px; gap: 9px; overflow-y: auto; }
.coverage-popup-measurement { display: grid; gap: 3px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.07); }
.coverage-popup-measurement:first-child { border-top: 0; }
.coverage-popup-measurement strong { color: var(--text); font-size: 12px; }
.coverage-popup-measurement span { color: var(--dim); font-size: 11px; }
.coverage-popup-zoom {
  width: auto;
  justify-self: start;
  border: 1px solid var(--green-line);
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green-hi);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.coverage-popup-zoom:hover { background: rgba(84, 241, 55, .18); }
.map-intro {
  position: absolute;
  z-index: 500;
  top: 24px;
  left: 24px;
  width: min(420px, calc(100% - 48px));
  border: 1px solid var(--green-line);
  border-radius: 20px;
  background: rgba(13, 17, 23, .91);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(18px) saturate(130%);
}
.map-panel-toggle[hidden],
.map-intro-body[hidden],
.map-filter-summary[hidden] { display: none; }
.map-panel-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 44px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text); padding: 4px 0;
  font-size: 14px; font-weight: 750; text-align: left; cursor: pointer;
}
.map-panel-chevron { color: var(--green-hi); font-size: 24px; line-height: 1; transform: rotate(180deg); }
.is-collapsed .map-panel-chevron { transform: none; }
.map-filter-summary { display: none; color: var(--green-hi); font-size: 11px; overflow-wrap: anywhere; }
.map-intro .eyebrow { margin-bottom: 9px; font-size: 10px; }
.map-intro h1 { margin: 0; font-size: clamp(25px, 3vw, 37px); }
.map-intro p { margin: 9px 0 13px; font-size: 13px; line-height: 1.55; }
.map-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 12px; }
.map-filters label { display: grid; gap: 4px; color: var(--dim); font: 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.map-filters select {
  width: 100%; min-width: 0; height: 36px; border: 1px solid var(--border-bright); border-radius: 9px;
  background: rgba(28, 36, 48, .97); color: var(--text); padding: 0 9px; font: 12px var(--sans); text-transform: none;
}
.map-filters select:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 1px; }
.map-filters select:disabled { opacity: .55; }
.map-filters button {
  grid-column: 1 / -1; justify-self: start; border: 0; background: transparent; color: var(--green-hi);
  padding: 2px 0; font: 10px var(--mono); cursor: pointer;
}
.map-filters button[hidden] { display: none; }
.map-load-state { color: var(--dim); font: 10px var(--mono); letter-spacing: .04em; }
.map-load-state[data-state="ready"] { color: var(--green-hi); }
.map-load-state.error { color: var(--red); }
.map-legend {
  position: absolute;
  z-index: 500;
  right: 24px;
  bottom: 56px;
  width: min(260px, calc(100% - 48px));
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(13, 17, 23, .9);
  padding: 12px 14px;
  backdrop-filter: blur(14px);
}
.map-legend-gradient { height: 7px; border-radius: 99px; background: linear-gradient(90deg, #ff3434, #ff9e1a, #f4ff38, #54f137); }
.map-legend > div:last-child { display: flex; justify-content: space-between; margin-top: 5px; color: var(--dim); font: 9px var(--mono); text-transform: uppercase; }

@media (max-width: 660px) {
  .map-brand { font-size: 16px; }
  .public-map-main { height: calc(100vh - 65px); }
  .map-intro { top: 12px; left: 12px; width: calc(100% - 24px); border-radius: 16px; padding: 15px; }
  .map-intro { max-height: calc(100% - 24px); overflow-y: auto; overscroll-behavior: contain; }
  .map-intro:has(.map-panel-toggle:not([hidden])) { padding-top: 6px; }
  .map-intro.is-collapsed { padding-block: 6px; }
  .map-intro.is-collapsed .map-load-state:not(.error) { display: none; }
  .map-intro.is-collapsed .map-load-state.error { display: block; padding-bottom: 6px; }
  .map-filter-summary:not([hidden]) { display: block; padding-bottom: 6px; }
  .map-intro h1 { font-size: 24px; }
  .map-intro p { margin-bottom: 7px; font-size: 12px; }
  .map-filters { margin-top: 10px; }
  .map-legend { right: 12px; bottom: 60px; width: 190px; }
}
