/* East Coast Receiver Network — site styles */
:root {
  --brand: #627781;
  --brand-600: #4c616b;
  --brand-700: #3a4c55;
  --brand-100: #e6edf0;
  --brand-50: #f3f7f8;
  --ink: #101c22;
  --ink-2: #3b4a52;
  --muted: #6a7a82;
  --line: #dde5e9;
  --bg: #ffffff;
  --bg-alt: #f5f8f9;
  --night: #0d171c;
  --night-2: #15232a;
  --night-line: #24363f;
  --live: #3ddc97;
  --alert: #ff6b5b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 28, 34, .06), 0 8px 24px rgba(16, 28, 34, .08);
  --shadow-lg: 0 2px 4px rgba(16, 28, 34, .06), 0 24px 60px rgba(16, 28, 34, .16);
  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--live); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--live); color: #052116; box-shadow: 0 8px 24px rgba(61, 220, 151, .28); }
.btn-primary:hover { background: #5be6a9; color: #052116; }
.btn-brand { background: var(--brand-600); color: #fff; }
.btn-brand:hover { background: var(--brand-700); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 62px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 9px 12px; border-radius: 9px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--brand-50); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 9px 9px 0 0; }
.nav-links .btn { padding: 10px 16px; margin-left: 8px; font-size: .92rem; }
.nav-links .btn-primary, .nav-links .btn-primary:hover { color: #052116; background: var(--live); }
.nav-links .nav-fb { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: #1877f2; }
.nav-links .nav-fb svg { width: 20px; height: 20px; }
.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle svg { margin: auto; width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .nav { height: 72px; }
  .brand img { height: 52px; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(16,28,34,.12);
    display: none;
  }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); border-radius: 9px; }
  .nav-links .nav-fb { width: auto; height: auto; display: flex; gap: 10px; justify-content: flex-start; padding: 13px 14px; }
  .nav-links .nav-fb span { color: var(--ink-2); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-links .btn { margin: 8px 0 0; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(98,119,129,.45), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(61,220,151,.12), transparent 60%),
    var(--night);
  padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #9fd9c1; }
.hero .lead { color: #b8c7ce; }
.hero .eyebrow { color: var(--live); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.6);} 70% { box-shadow: 0 0 0 10px rgba(61,220,151,0);} 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0);} }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: #9fb0b8; font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--live); }

.page-hero { padding: 72px 0 64px; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: .88rem; color: #9fb0b8; margin-bottom: 18px; }
.crumbs a { color: #c9d6dc; text-decoration: none; }
.crumbs a:hover { color: #fff; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 72px; }
}

/* Scanner console mockup */
.console {
  background: linear-gradient(180deg, #1a2a32, #121e24);
  border: 1px solid var(--night-line); border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 20px; font-variant-numeric: tabular-nums;
}
.console-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #8aa0aa; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.console-top .on { color: var(--live); display: inline-flex; align-items: center; gap: 8px; }
.console-screen {
  margin: 14px 0; padding: 18px; border-radius: 12px;
  background: #07110d; border: 1px solid #16302a;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; color: #8af0c3;
}
.console-screen .tg { font-size: 1.35rem; font-weight: 700; color: #b9ffe0; letter-spacing: .02em; }
.console-screen .sys { font-size: .82rem; color: #5fbf95; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wave { display: flex; align-items: center; gap: 3px; height: 46px; margin-top: 12px; }
.wave i { flex: 1; background: #3ddc97; border-radius: 2px; opacity: .85; animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 18%; } 50% { height: 100%; } }
.console-list { display: grid; gap: 8px; }
.console-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 11px 13px; border-radius: 10px; background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.05); font-size: .88rem; color: #c9d6dc;
}
.console-row b { color: #fff; font-weight: 600; }
.console-row time { color: #7d929c; font-size: .8rem; }
.tag { font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 4px 7px; border-radius: 6px; text-transform: uppercase; }
.tag.fire { background: rgba(255,107,91,.15); color: #ff8f82; }
.tag.ems { background: rgba(98,170,255,.15); color: #8cc1ff; }
.tag.law { background: rgba(159,182,192,.16); color: #c6d6dd; }
.tag.pub { background: rgba(255,196,77,.15); color: #ffd27a; }
.console-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.console-buttons span {
  text-align: center; padding: 10px 4px; border-radius: 9px; font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; color: #a9bcc5; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06);
}
.console-buttons span.active { background: rgba(61,220,151,.14); color: var(--live); border-color: rgba(61,220,151,.3); }

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { section { padding: 68px 0; } }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cbd7dc; }
.card p { color: var(--ink-2); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-700); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

/* Link cards (scanner / support) */
.portal {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 34px; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: #fff; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.portal:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--ink); }
.portal.dark { background: linear-gradient(160deg, #1a2a32, var(--night)); color: #fff; border-color: var(--night-line); }
.portal.dark:hover { color: #fff; }
.portal.dark p { color: #b8c7ce; }
.portal p { color: var(--ink-2); margin: 0; }
.portal .url { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; color: var(--brand); }
.portal.dark .url { color: var(--live); }
.portal .go { margin-top: auto; padding-top: 8px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.portal .go svg { width: 18px; height: 18px; transition: transform .2s; }
.portal:hover .go svg { transform: translateX(4px); }

/* Steps (overview) */
.steps-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .steps-overview { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-overview { grid-template-columns: 1fr; } }
.step-mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step-mini::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-600); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step-mini p { color: var(--ink-2); margin: 0; font-size: .96rem; }

/* Guide */
.guide-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .93rem; }
.toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 14px; color: var(--ink-2); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--brand); font-weight: 600; }
@media (max-width: 960px) { .guide-layout { grid-template-columns: 1fr; } .toc { display: none; } }

.tabs { display: inline-flex; padding: 5px; background: var(--brand-50); border: 1px solid var(--line); border-radius: 14px; gap: 4px; margin-bottom: 40px; flex-wrap: wrap; }
.tabs button {
  border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink-2);
  padding: 10px 18px; border-radius: 10px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
}
.tabs button svg { width: 18px; height: 18px; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.tab-panel[hidden] { display: none; }

.step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px;
}
.step:last-child { border-bottom: 0; }
.step-num {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.step-num b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-600); color: #fff; letter-spacing: 0; font-size: .9rem; }
.step h3 { font-size: 1.55rem; }
.step p, .step li { color: var(--ink-2); }
.step ul { padding-left: 1.2em; margin: 0 0 1em; }
.step li { margin-bottom: 6px; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; gap: 26px; } .step .shot { order: 2; } }

.callout {
  display: flex; gap: 14px; padding: 16px 18px; border-radius: 12px; font-size: .95rem;
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--ink-2);
}
.callout svg { flex: none; width: 22px; height: 22px; color: var(--brand-600); margin-top: 1px; }
.callout.tip { background: #ecfbf4; border-color: #c7f0dc; }
.callout.tip svg { color: #17905b; }
.callout p { margin: 0; }

/* Screenshot frames (illustrations) */
.shot { position: relative; }
.shot figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 14px; }
.browser {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #eef2f4; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d3dce0; }
.dots i:nth-child(1) { background: #ff6b5b; } .dots i:nth-child(2) { background: #ffc44d; } .dots i:nth-child(3) { background: #3ddc97; }
.addr {
  flex: 1; background: #fff; border-radius: 8px; padding: 5px 12px; font-size: .78rem; color: var(--ink-2);
  font-family: ui-monospace, Consolas, monospace; border: 1px solid var(--line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.addr::before { content: "🔒 "; font-size: .7rem; }
.screen { padding: 22px; background: #0f1a1f; color: #dfe8ec; min-height: 280px; font-size: .86rem; }
.screen.light { background: #f7fafb; color: var(--ink); }

.phone {
  width: 260px; margin: 0 auto; border-radius: 38px; padding: 12px;
  background: #0b1215; box-shadow: var(--shadow-lg), inset 0 0 0 2px #26343a;
}
.phone .screen { border-radius: 28px; min-height: 470px; padding: 18px 16px; position: relative; overflow: hidden; }
.phone .notch { width: 90px; height: 22px; background: #0b1215; border-radius: 0 0 14px 14px; margin: -18px auto 14px; }
.phone .status { display: flex; justify-content: space-between; font-size: .7rem; color: #8aa0aa; margin-bottom: 14px; font-weight: 600; }

/* UI pieces inside mock screens */
.ui-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; color: #fff; }
.screen.light .ui-title { color: var(--ink); }
.ui-sub { color: #8aa0aa; font-size: .78rem; margin-bottom: 16px; }
.ui-field { margin-bottom: 11px; }
.ui-field label { display: block; font-size: .72rem; color: #8aa0aa; margin-bottom: 4px; font-weight: 600; }
.ui-input {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  padding: 9px 11px; color: #dfe8ec; font-size: .8rem;
}
.screen.light .ui-input { background: #fff; border-color: var(--line); color: var(--ink); }
.ui-btn {
  display: block; text-align: center; padding: 10px; border-radius: 9px; font-weight: 800; font-size: .82rem;
  background: var(--live); color: #052116; margin-top: 6px;
}
.ui-btn.alt { background: rgba(255,255,255,.08); color: #dfe8ec; }
.ui-link { color: var(--live); font-weight: 700; }
.ui-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.05); margin-bottom: 7px;
  border: 1px solid rgba(255,255,255,.06); font-size: .8rem;
}
.ui-row.hl { border-color: var(--live); background: rgba(61,220,151,.1); box-shadow: 0 0 0 3px rgba(61,220,151,.15); }
.ui-check { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #6a7f88; flex: none; }
.ui-check.on { background: var(--live); border-color: var(--live); position: relative; }
.ui-check.on::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #052116; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ui-toggle { width: 34px; height: 20px; border-radius: 20px; background: #3a4c55; position: relative; flex: none; }
.ui-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ui-toggle.on { background: var(--live); }
.ui-toggle.on::after { left: 17px; }
.ui-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ui-nav .ui-title { margin: 0; }
.ui-pill { font-size: .66rem; font-weight: 800; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.08); color: #a9bcc5; text-transform: uppercase; }
.ui-pill.ok { background: rgba(61,220,151,.15); color: var(--live); }
.pointer {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--live); box-shadow: 0 0 0 6px rgba(61,220,151,.25);
  animation: tap 1.6s ease-in-out infinite; pointer-events: none;
}
@keyframes tap { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.8); opacity: .7; } }
.mail { background: #fff; color: var(--ink); border-radius: 10px; padding: 18px; border: 1px solid var(--line); }
.mail .from { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: .78rem; color: var(--muted); }
.mail .from i { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-600); flex: none; }
.mail h4 { font-size: .98rem; margin-bottom: 8px; }
.mail p { font-size: .8rem; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); padding-bottom: 14px; margin: 0; }

/* CTA band */
.cta {
  border-radius: var(--radius-lg); padding: 56px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(61,220,151,.18), transparent 60%), linear-gradient(140deg, var(--brand-700), var(--night));
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #c9d6dc; margin: 0; }
.cta .hero-actions { margin: 0; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 36px 26px; } }

/* Footer */
.site-footer { background: var(--night); color: #9fb0b8; padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #b8c7ce; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-logo { width: 220px; filter: brightness(0) invert(1) opacity(.85); margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid var(--night-line); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Let grid columns shrink below their content width on small screens */
.hero-grid > *, .guide-layout > *, .step > *, .grid-2 > *, .grid-3 > *, .cta > * { min-width: 0; }
@media (max-width: 960px) { .hero-grid, .guide-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .step { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .tabs { display: flex; } .tabs button { flex: 1; justify-content: center; } }

/* Facebook icon label: screen-reader only on desktop, visible in the mobile menu */
.nav-links .nav-fb span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1020px) { .nav-links .nav-fb span { position: static; width: auto; height: auto; clip: auto; } }

/* Stats strip */
.stats { background: var(--night-2); color: #fff; padding: 0; border-top: 1px solid var(--night-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 26px 20px; border-left: 1px solid var(--night-line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; color: var(--live); line-height: 1.1; }
.stat span { font-size: .88rem; color: #9fb0b8; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--night-line); }
}

/* Coverage map */
.coverage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .coverage { grid-template-columns: minmax(0, 1fr); } }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #eef2f4; }
#coverage-map { height: 560px; width: 100%; z-index: 1; }
@media (max-width: 900px) { #coverage-map { height: 420px; } }
.map-legend {
  position: absolute; left: 14px; bottom: 30px; z-index: 2; background: rgba(255,255,255,.95);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .78rem; color: var(--ink-2);
  display: grid; gap: 6px; box-shadow: var(--shadow);
}
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 16px; height: 12px; border-radius: 3px; flex: none; }
.map-legend .lg-county { background: rgba(61,220,151,.6); border: 1.5px solid #1f8a5f; }
.map-legend .lg-state { border: 2px dashed var(--brand); background: rgba(98,119,129,.06); }
.map-reset {
  position: absolute; right: 12px; top: 12px; z-index: 2; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .82rem; font-weight: 700; color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
}
.map-reset:hover { border-color: var(--brand); }
.cov-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; }
.cov-panel h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 0 12px; }
.cov-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cov-panel button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left;
  font: inherit; font-size: .95rem; background: var(--bg-alt); border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; cursor: pointer; color: var(--ink);
}
.cov-panel button:hover { border-color: var(--live); background: #ecfbf4; }
.cov-name { font-weight: 600; }
.cov-name small { margin-left: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; color: var(--brand); background: var(--brand-100); padding: 2px 6px; border-radius: 5px; }
.cov-count { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--brand-700); white-space: nowrap; }
.cov-count small { font-weight: 600; color: var(--muted); margin-left: 3px; font-size: .75rem; }
.cov-panel .cov-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.network-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .network-grid { grid-template-columns: minmax(0, 1fr); } }
.network-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.network-grid b { display: block; }
.network-grid small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 4px; }
.cov-tip { font-family: var(--font); font-size: .82rem; }
.cov-pop { font-family: var(--font); min-width: 200px; }
.cov-pop b { display: block; font-size: 1rem; color: var(--ink); }
.cov-pop span { display: inline-block; margin: 4px 0 6px; font-weight: 800; color: #17905b; }
.cov-pop p { margin: 0 0 8px !important; color: var(--ink-2); font-size: .85rem; line-height: 1.45; }
.cov-pop a { font-weight: 700; }
.county-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 700px) { .county-cards { grid-template-columns: minmax(0, 1fr); } }
.county-cards .card h3 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }

/* Real screenshots in the guide */
.real-shot { margin: 0; }
.real-shot a { display: block; max-width: 340px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #1e2a30; background: #0b0f14; transition: transform .2s; }
.real-shot a:hover { transform: translateY(-2px); }
.real-shot img { width: 100%; height: auto; }
.real-shot figcaption, .shot figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 14px; }
.badge-real, .badge-ill {
  display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 6px; margin-right: 6px; vertical-align: 1px;
}
.badge-real { background: #ecfbf4; color: #17905b; }
.badge-ill { background: var(--brand-100); color: var(--brand-700); }
.shot-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.shot-pair .real-shot a { max-width: none; }
@media (max-width: 560px) {
  .shot-pair { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shot-pair .real-shot a { max-width: 300px; }
  .map-legend { position: static; box-shadow: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
  #coverage-map { height: 360px; }
}
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 16px; border-radius: 12px; background: #fff4ef; border: 1px solid #ffd5c4; margin: 4px 0 14px; }
.price-tag b { font-size: 1.5rem; color: #e2502a; }
.price-tag span { color: var(--ink-2); font-size: .92rem; }

/* Facebook / community */
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .social-grid { grid-template-columns: minmax(0, 1fr); } }
.social-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.social-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--ink); border-color: #c3d4ef; }
.social-card .fb { flex: none; width: 54px; height: 54px; border-radius: 14px; background: #1877f2; color: #fff; display: grid; place-items: center; }
.social-card .fb svg { width: 28px; height: 28px; }
.social-card h3 { margin-bottom: 4px; }
.social-card p { color: var(--ink-2); margin: 0 0 10px; }
.social-card .handle { font-size: .85rem; color: #1877f2; font-weight: 700; }
.social-card .alert-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c0392b; background: #fdecea; padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; }

/* App store buttons */
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid #333; min-width: 180px; transition: transform .15s;
}
.store-btn:hover { color: #fff; transform: translateY(-1px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.05rem; font-weight: 700; }
.store-btn small { font-size: .68rem; font-weight: 500; letter-spacing: .02em; opacity: .85; }
.hero .store-btn { border-color: rgba(255,255,255,.25); }

/* Social icons in footer */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); }
.footer-social a:hover { background: #1877f2; border-color: #1877f2; }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
