:root {
  --navy: #14213d;
  --navy-2: #1f3160;
  --amber: #fca311;
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1b1f27;
  --muted: #5d6675;
  --line: #dfe3ea;
  --ok: #1a7f4b;
  --ok-bg: #e4f5ec;
  --warn: #9a5b00;
  --warn-bg: #fff3dc;
  --bad: #b3261e;
  --bad-bg: #fde7e5;
  --info: #1f5fbf;
  --info-bg: #e5eefc;
  --radius: 10px;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 8%);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.45; }
h1 { font-size: 1.45rem; margin: 0; }
h2 { font-size: 1.05rem; margin: 0; }
h3 { font-size: 1rem; margin: 0; }
a { color: var(--info); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.spacer { flex: 1; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.gap { gap: 10px; }
.gap-sm { gap: 6px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack.sm { gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.grid2.top { align-items: start; }
.center { display: grid; place-items: center; min-height: 60vh; }
.wrap-any { word-break: break-word; max-width: 520px; }
.text-warn { color: var(--warn); font-weight: 600; }

input, select, textarea {
  font: inherit; color: inherit; background: #fff; border: 1px solid #c9cfd9; border-radius: 8px; padding: 8px 10px; width: 100%;
}
input[type='checkbox'], input[type='radio'] { width: auto; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgb(252 163 17 / 45%); outline-offset: 1px; }
textarea.code { font-size: 12.5px; line-height: 1.4; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field-l { font-size: 0.82rem; font-weight: 600; color: #394150; }
.hint { font-size: 0.8rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; border: 1px solid #c9cfd9; background: #fff; color: var(--text);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #f1f3f6; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); }
.btn.warn { background: var(--warn-bg); border-color: #f0c77a; color: var(--warn); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgb(0 0 0 / 5%); }
.btn.link { background: none; border: none; color: var(--info); padding: 2px 4px; font-weight: 500; }
.btn.sm { padding: 5px 10px; font-size: 0.85rem; }
.btn.big { padding: 14px; font-size: 1.05rem; width: 100%; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: #eceff3; color: #394150; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--info-bg); color: var(--info); }
.alert { padding: 10px 14px; border-radius: 8px; border: 1px solid; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert.info { background: var(--info-bg); border-color: #bcd0f5; }
.alert.ok { background: var(--ok-bg); border-color: #a9dcc0; }
.alert.warn { background: var(--warn-bg); border-color: #f0d49a; }
.alert.bad { background: var(--bad-bg); border-color: #f2b8b3; }
.alert.flush { border-radius: 0; border-left: 0; border-right: 0; }
.issues { margin: 0; padding-left: 18px; }
.issues li.bad { color: var(--bad); }
.issues li.warn { color: var(--warn); }
.empty { color: var(--muted); margin: 6px 0; }
.spinner { width: 28px; height: 28px; border: 3px solid #d6dbe3; border-top-color: var(--navy); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
ul.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
code.secret { display: block; font-size: 1.1rem; letter-spacing: 1px; margin: 8px 0; user-select: all; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); font-weight: 700; }
.table.small td { font-size: 0.85rem; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #f7f9fc; }
.dl { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 0; }
.dl dt { color: var(--muted); font-size: 0.85rem; }
.dl dd { margin: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { font: inherit; background: none; border: none; padding: 8px 14px; cursor: pointer; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; }
.tabs button.active { color: var(--navy); border-bottom-color: var(--amber); }
.timeline { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.tile-n { font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.tile-l { color: var(--muted); font-size: 0.85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #eef1f5; border-radius: 999px; padding: 4px 6px 4px 12px; display: inline-flex; align-items: center; gap: 6px; }
.chip .x { border: none; background: none; cursor: pointer; font-size: 1.1rem; color: var(--muted); }
.scan-input { font-size: 1.1rem; font-family: ui-monospace, monospace; }
.barcode { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px; }
.viewer iframe { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; }
.aff-preview { background: #fcfcfd; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; font-family: Georgia, 'Times New Roman', serif; white-space: pre-line; }
.aff-title { font-weight: 700; text-align: center; margin-bottom: 8px; }
.sign-box { border: 1px dashed #c3cad6; border-radius: 8px; padding: 12px; }
.sigpad canvas { width: 100%; max-width: 600px; height: 160px; border: 1px solid #c9cfd9; border-radius: 8px; background: #fff; touch-action: none; display: block; }

/* Auth */
.auth-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(160deg, #14213d 0%, #24375f 60%, #2d4478 100%); }
.auth-card { background: #fff; border-radius: 14px; padding: 28px; width: 100%; max-width: 400px; box-shadow: 0 20px 50px rgb(0 0 0 / 25%); }
.brand-lg { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.brand-name { font-weight: 800; font-size: 1.35rem; color: var(--navy); }

/* Office */
.topbar { height: 54px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 18px; position: sticky; top: 0; z-index: 5; }
.topbar .brand { color: #fff; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.topbar .agency { color: #c7d0e3; font-size: 0.9rem; }
.topbar .who { font-size: 0.9rem; }
.topbar .muted { color: #aab5cc; }
.topbar .btn.ghost { color: #fff; }
.office-body { display: flex; min-height: calc(100vh - 54px); }
.sidenav { width: 210px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.sidenav a { padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.sidenav a:hover { background: #f1f3f6; }
.sidenav a.active { background: #eaf0fb; color: var(--navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--amber); }
.content { flex: 1; padding: 22px 26px; max-width: 1280px; min-width: 0; }
@media (max-width: 820px) {
  .office-body { flex-direction: column; }
  .sidenav { width: auto; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .content { padding: 16px; }
  .topbar .agency { display: none; }
}

/* Field (mobile-first) */
.field-app { min-height: 100vh; display: flex; flex-direction: column; }
.field-bar { position: sticky; top: 0; z-index: 5; background: var(--navy); color: #fff; display: flex; gap: 8px; align-items: center; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); }
.field-bar .btn.ghost { color: #fff; }
.net { font-size: 0.8rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.net.on { background: #d9f2e4; color: var(--ok); }
.net.off { background: #ffe0dd; color: var(--bad); }
.field-main { flex: 1; padding: 14px; padding-bottom: 90px; max-width: 720px; width: 100%; margin: 0 auto; }
.field-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); z-index: 5; }
.field-nav button { font: inherit; background: none; border: none; padding: 14px 4px; font-weight: 600; color: var(--muted); cursor: pointer; }
.field-nav button.active { color: var(--navy); box-shadow: inset 0 3px 0 var(--amber); }
.paper-card { text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); cursor: pointer; width: 100%; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.green { background: #22a060; }
.dot.gray { background: #9aa3b2; }
.dot.none { display: none; }
.gps { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.seg { display: flex; border: 1px solid #c9cfd9; border-radius: 8px; overflow: hidden; }
.seg button { flex: 1; font: inherit; font-weight: 600; padding: 10px; background: #fff; border: none; border-right: 1px solid #c9cfd9; cursor: pointer; }
.seg button:last-child { border-right: none; }
.seg button.active { background: var(--navy); color: #fff; }
.doc-frame { width: 100%; height: 60vh; border: 1px solid var(--line); border-radius: 8px; }
.doc-img { max-width: 100%; border-radius: 8px; }
.scan-video { width: 100%; border-radius: 10px; background: #000; }

/* Print */
.print-page { padding: 20px; display: flex; flex-direction: column; gap: 24px; }
.label { border: 1px dashed #999; padding: 10px; width: 3.5in; text-align: center; }
.label img { max-width: 100%; }
.cover { border: 1px solid #999; padding: 24px; max-width: 7in; }
.cover table { border-collapse: collapse; margin: 12px 0; }
.cover th, .cover td { text-align: left; padding: 4px 12px 4px 0; }
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}

/* ScanAI review */
.scan-review { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(380px, 1.1fr); gap: 16px; align-items: start; }
.scan-doc { position: sticky; top: 70px; }
.scan-doc iframe { width: 100%; height: calc(100vh - 110px); min-height: 480px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.scan-field { border-radius: 8px; padding: 6px; margin: -6px; }
.scan-field.flagged { background: var(--warn-bg); box-shadow: inset 3px 0 0 #e0a100; }
.conf-row { margin-top: 4px; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 1000px) {
  .scan-review { grid-template-columns: 1fr; }
  .scan-doc { position: static; }
  .scan-doc iframe { height: 60vh; }
}

/* ─── Maps ─────────────────────────────────────────────────────────────── */
.slippy { position: relative; overflow: hidden; background: #dde3ea; border: 1px solid var(--line); border-radius: var(--radius); touch-action: none; user-select: none; cursor: grab; outline-offset: 2px; }
.slippy:active { cursor: grabbing; }
.slippy.crosshair { cursor: crosshair; }
.slippy-tiles img { position: absolute; max-width: none; pointer-events: none; image-rendering: auto; }
.slippy-overlay { position: absolute; inset: 0; pointer-events: none; }
.route-line { fill: none; stroke: var(--navy); stroke-width: 3.5; stroke-dasharray: 8 6; stroke-linejoin: round; }
.route-line-bg { fill: none; stroke: #fff; stroke-width: 7; stroke-linejoin: round; opacity: 0.85; }
.pin { position: absolute; transform: translate(-50%, -100%); background: none; border: none; padding: 0; cursor: pointer; line-height: 0; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / 45%)); }
.pin.selected { transform: translate(-50%, -100%) scale(1.3); z-index: 2; }
.pin.selected svg path { stroke: var(--amber); stroke-width: 3; }
.pin.dot-pin { transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; background: var(--pin); border: 2px solid #fff; }
.pin:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.me-dot { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #1a73e8; border: 3px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 25%); pointer-events: none; }
.me-acc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: rgb(26 115 232 / 14%); border: 1px solid rgb(26 115 232 / 40%); }
.map-ui { position: absolute; z-index: 3; }
.map-layers { top: 10px; left: 10px; display: flex; background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.map-layers button { font: inherit; font-size: 0.85rem; font-weight: 600; border: none; background: #fff; padding: 7px 11px; cursor: pointer; color: var(--muted); }
.map-layers button + button { border-left: 1px solid var(--line); }
.map-layers button.active { background: var(--navy); color: #fff; }
.map-zoom { top: 10px; right: 10px; display: flex; flex-direction: column; background: #fff; border-radius: 8px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.map-zoom button { font: inherit; font-size: 1.15rem; width: 38px; height: 38px; border: none; background: #fff; cursor: pointer; }
.map-zoom button + button { border-top: 1px solid var(--line); }
.map-extra { left: 10px; bottom: 26px; }
.map-attrib { right: 0; bottom: 0; font-size: 11px; background: rgb(255 255 255 / 85%); padding: 1px 6px; border-top-left-radius: 6px; color: #333; }
.pin-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.85rem; }
.pin-legend li { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid rgb(0 0 0 / 15%); }
.map-popup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.map-side { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow: auto; }
.stop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.stop-list button { text-align: left; font: inherit; color: inherit; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.stop-list button.active { border-color: var(--navy); box-shadow: 0 0 0 2px rgb(20 33 61 / 15%); }
.stop-num { flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 0.8rem; display: grid; place-items: center; }
.field-map .slippy { border-radius: 0; margin: 0 -14px; border-left: none; border-right: none; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } .map-side { max-height: none; } }

/* ─── Duty, check-ins, dispatch ───────────────────────────────────────── */
.duty-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 14px; font-size: 0.9rem; border-bottom: 1px solid var(--line); background: #eef2f7; }
.duty-bar.off { background: #f1f2f4; color: var(--muted); }
.duty-bar.available { background: var(--ok-bg); color: var(--ok); }
.duty-bar.on_scene { background: #fff0dc; color: #8a4b00; }
.duty-bar.unavailable { background: #eceef2; color: var(--text); }
.onscene-banner { display: flex; gap: 10px; align-items: center; background: #fff0dc; border: 1px solid #f1c27d; color: #6d3c00; border-radius: var(--radius); padding: 10px 12px; }
.checkin-overlay { position: fixed; inset: 0; z-index: 50; background: rgb(20 33 61 / 92%); display: grid; place-items: center; padding: 20px; }
.checkin-overlay.overdue { background: rgb(150 24 18 / 94%); animation: pulse-bg 1.6s ease-in-out infinite; }
@keyframes pulse-bg { 50% { background: rgb(120 16 12 / 96%); } }
.checkin-box { background: #fff; border-radius: 16px; padding: 24px; max-width: 420px; width: 100%; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.checkin-box h1 { font-size: 1.8rem; }
.checkin-ok { font-size: 1.4rem; padding: 18px; }
.checkin-alerted { font-weight: 600; color: var(--bad); }
.dispatch-alert { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-radius: var(--radius); padding: 12px 14px; border: 2px solid; }
.dispatch-alert.overdue { background: var(--bad-bg); border-color: var(--bad); color: #6e1510; animation: pulse-border 1.2s ease-in-out infinite; }
.dispatch-alert.checkin_due { background: var(--warn-bg); border-color: #e0a100; color: #6b4200; }
@keyframes pulse-border { 50% { border-color: #f08a82; } }
.map-popup.selected { border-color: var(--navy); box-shadow: 0 0 0 2px rgb(20 33 61 / 15%); }
@media (prefers-reduced-motion: reduce) { .checkin-overlay.overdue, .dispatch-alert.overdue { animation: none; } }
.auth-footer { margin-top: 22px; display: flex; gap: 12px; align-items: center; color: #d9e1f0; font-size: 0.85rem; line-height: 1.45; max-width: 400px; width: 100%; }
.auth-footer strong { color: #fff; }
.auth-footer .palmetto { color: #fca311; flex: none; }
.auth-footer-copy { color: #9fb0cc; font-size: 0.78rem; }

/* ─── Public cover page ───────────────────────────────────────────────── */
.landing { min-height: 100vh; background: #f7f5ef; color: var(--text); }
.landing-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 5vw, 56px); background: #14213d; color: #fff; }
.landing-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.01em; }
.landing-signin { background: var(--amber); border-color: var(--amber); color: #14213d; font-weight: 700; }
.landing-hero { background: linear-gradient(160deg, #14213d 0%, #24375f 60%, #2d4478 100%); color: #fff; padding: clamp(56px, 10vw, 120px) clamp(16px, 5vw, 56px) clamp(64px, 10vw, 110px); }
.landing-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; max-width: 18ch; margin: 18px 0 16px; }
.landing-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 60ch; color: #d9e1f0; margin: 0; }
.landing-badge { display: inline-block; background: rgb(252 163 17 / 18%); color: var(--amber); border: 1px solid rgb(252 163 17 / 55%); padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.landing-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.landing-cta .btn.primary { background: var(--amber); border-color: var(--amber); color: #14213d; }
.landing-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 45%); text-decoration: none; }
.landing-section { padding: clamp(48px, 7vw, 88px) clamp(16px, 5vw, 56px); max-width: 1180px; margin: 0 auto; }
.landing-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.landing-story { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 36px; font-size: 1.08rem; line-height: 1.6; }
.landing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 30px; }
.landing-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.landing-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.landing-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.landing-about { max-width: none; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.landing-about-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; font-size: 1.05rem; line-height: 1.65; }
.landing-home { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 600; color: #14213d; }
.landing-home .palmetto { color: #14213d; }
.landing-final { text-align: center; }
.landing-final p { color: var(--muted); font-size: 1.05rem; margin: 0 auto 22px; max-width: 56ch; }
.landing-footer { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 22px clamp(16px, 5vw, 56px); background: #14213d; color: #9fb0cc; font-size: 0.88rem; }
.landing-cta .btn, .landing-final .btn { width: auto; min-width: 180px; }
.landing-top, .landing-hero, .landing-footer { padding-left: max(clamp(16px, 5vw, 56px), calc((100% - 1180px) / 2 + 56px)); padding-right: max(clamp(16px, 5vw, 56px), calc((100% - 1180px) / 2 + 56px)); }
@media (max-width: 520px) { .landing-cta .btn, .landing-final .btn { width: 100%; } }
.landing-about-grid { max-width: calc(1180px - 2 * clamp(16px, 5vw, 56px)); }
.landing-contact { font-size: 1.05rem; }
.landing-contact a, .landing-footer a { color: inherit; font-weight: 700; }
.landing-footer a { color: #fca311; }
.landing-cta-center { justify-content: center; }
.landing-final .landing-cta .btn.primary { background: #14213d; border-color: #14213d; color: #fff; text-decoration: none; }
.landing-band { background: #14213d; color: #e6ecf6; padding: clamp(48px, 7vw, 88px) 0; }
.landing-band h2 { color: #fff; }
.landing-band .landing-split { max-width: calc(1180px - 2 * clamp(16px, 5vw, 56px)); margin: 0 auto; padding: 0 clamp(16px, 5vw, 56px); box-sizing: content-box; }
.landing-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.landing-split.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.landing-split p { font-size: 1.06rem; line-height: 1.65; }
.landing-kicker { display: inline-block; color: var(--amber); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; margin-bottom: 8px; }
.landing-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.landing-points li { background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%); border-left: 4px solid var(--amber); border-radius: 10px; padding: 14px 16px; line-height: 1.5; }
.landing-points strong { color: #fff; display: block; margin-bottom: 2px; }
.landing-sat { margin: 0; }
.landing-sat svg { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 18px 40px rgb(20 33 61 / 28%); border: 4px solid #fff; }
.landing-sat figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.landing-sat figcaption span { display: flex; align-items: center; gap: 8px; }
.dot-legend { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot-legend.geo { border: 2px dashed #6b7a90; }
.dot-legend.pin { background: #fca311; border: 2px solid #14213d; }
@media (max-width: 820px) { .landing-split, .landing-split.reverse { grid-template-columns: 1fr; } }
.landing-split h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 14px; }
.landing-alerts { display: flex; flex-direction: column; gap: 12px; }
.alert-card { background: #fff; color: var(--text); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; border-left: 6px solid; box-shadow: 0 10px 24px rgb(0 0 0 / 25%); }
.alert-card.address { border-color: #e07b00; }
.alert-card.person { border-color: #c9362b; }
.alert-card strong { font-size: 1.08rem; }
.alert-card span:last-child { color: var(--muted); font-size: 0.95rem; }
.alert-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 999px; background: #fff0dc; color: #8a4b00; }
.alert-card.person .alert-tag { background: var(--bad-bg); color: var(--bad); }
.alert-ack { align-self: flex-start; background: rgb(31 157 85 / 18%); color: #9be3b8; border: 1px solid rgb(31 157 85 / 45%); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.9rem; }
.landing-safety { border-top: 1px solid rgb(255 255 255 / 8%); }
.landing-sat figcaption span { white-space: nowrap; } .dot-legend { flex: none; }
