/* Now Overhead: the home page. Dark like the app; its own small stylesheet so nothing from the app's pages leaks in. */
:root {
  --bg: #0b1220; --panel: #131c2e; --panel2: #1a2640; --line: #26324d; --fg: #e6edf7; --muted: #94a5c2;
  --amber: #fbbf24; --cyan: #38bdf8; --red: #f87171; --green: #4ade80;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: var(--cyan); }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 560px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* top bar */
.bar { position: relative; z-index: 2; padding-top: calc(env(safe-area-inset-top, 0px) + 14px); padding-bottom: 14px; }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand img { border-radius: 9px; display: block; }
.barlink { color: var(--fg); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.barlink:hover { border-color: var(--cyan); }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: 28px 64px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.eyebrow { color: var(--cyan); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
.lede { margin-top: 18px; font-size: 1.12rem; color: #c3cfe3; max-width: 34em; text-wrap: pretty; }
.cta { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-note { color: var(--muted); font-size: .92rem; max-width: 30em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border: 0; border-radius: 12px; background: var(--amber); color: #1a1405; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:hover { background: #fcd34d; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.wide { width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* the radar rings behind the phone: the same picture the app draws around your home */
.radar { position: absolute; z-index: 0; width: min(150vw, 760px); aspect-ratio: 1; left: 50%; top: 58%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at center, transparent 0 74px, rgba(56, 189, 248, .11) 75px 76px); -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 72%); mask-image: radial-gradient(circle, #000 25%, transparent 72%); }
.radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(74, 222, 128, 0) 0deg, rgba(74, 222, 128, .16) 38deg, rgba(74, 222, 128, 0) 39deg); }
@media (prefers-reduced-motion: no-preference) { .radar::after { animation: sweep 14s linear infinite; } }
@keyframes sweep { to { transform: rotate(360deg); } }

/* the sample alerts in a phone frame */
.phone { margin: 0 auto; width: 100%; max-width: 340px; padding: 14px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(180deg, #121b2d, #0e1626); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 10px; }
.phone-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 3px; font-size: .78rem; font-weight: 600; color: var(--muted); text-align: center; }
.phone-tabs span { padding: 7px 0; border-radius: 9px; }
.phone-tabs .on { background: var(--panel2); color: var(--fg); }
.sample { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 12px 14px; }
.sample.biz { border-left-color: var(--green); }
.sample .tag { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.sample.biz .tag { color: var(--green); }
.sample h2 { font-size: 1.05rem; line-height: 1.25; margin-top: 2px; }
.where-line { margin-top: 3px; font-size: .8rem; color: #c3cfe3; }
.sample dl { margin: 10px 0 0; display: grid; gap: 4px; }
.sample dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; border-top: 1px solid var(--line); padding-top: 4px; }
.sample dt { color: var(--muted); }
.sample dd { margin: 0; text-align: right; }
.phone figcaption { text-align: center; font-size: .78rem; color: var(--muted); padding-top: 2px; }

/* the sections under the hero */
.what, .where { padding-block: 52px; border-top: 1px solid var(--line); }
.sec { font-size: 1.5rem; letter-spacing: -.01em; margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.cards article { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.cards h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cards p { color: #c3cfe3; font-size: .98rem; }
.coverage { font-size: 1.2rem; margin-bottom: 8px; text-wrap: balance; }
.coverage b { color: var(--green); font-weight: 700; }

/* the request form */
.request { padding-block: 56px 72px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(56, 189, 248, .05)); }
.formcard { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; }
.formcard h2 { font-size: 1.5rem; margin-bottom: 6px; }
form { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
label { font-weight: 600; font-size: .95rem; }
label .hint { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
input, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: #0e1626; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
textarea { resize: vertical; min-height: 72px; }
input::placeholder { color: #5f7191; }
input[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-weight: 600; font-size: .9rem; min-height: 0; }
.err:empty { display: none; }
.note { font-size: .9rem; color: var(--muted); }
#n-zip { min-height: 1.4em; line-height: 1.4; }   /* one line is always reserved, so the button doesn't jump when the ZIP message appears */
.note.good { color: var(--green); }
.fine { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.thanks { margin-top: 20px; padding: 18px; border: 1px solid #1f6f43; border-radius: 14px; background: rgba(74, 222, 128, .07); }
.thanks h3 { font-size: 1.2rem; margin-bottom: 6px; }
.thanks[hidden] { display: none; }
form[hidden] { display: none; }

footer { border-top: 1px solid var(--line); padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .9rem; }

/* wider screens: copy on the left, the phone on the right */
@media (min-width: 860px) {
  .hero { padding-block: 56px 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .cta { flex-direction: row; align-items: center; gap: 18px; }
  .radar { left: 74%; top: 52%; width: 820px; }
  .formcard { padding: 32px; }
}
