:root {
  --bg: #07111d;
  --bg-deep: #040a12;
  --panel: rgba(12, 27, 44, 0.82);
  --panel-solid: #0c1b2c;
  --panel-strong: #10263e;
  --line: rgba(149, 196, 232, 0.18);
  --line-strong: rgba(149, 196, 232, 0.32);
  --text: #eff8ff;
  --muted: #9ab1c5;
  --muted-strong: #c2d6e7;
  --blue: #58c9ff;
  --blue-strong: #249ff0;
  --blue-dim: rgba(88, 201, 255, 0.16);
  --ice: #b7f1ff;
  --mint: #72ecc1;
  --violet: #a79eff;
  --red: #ff6f88;
  --yellow: #f8d67e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --font: Arial, Helvetica, sans-serif;
}

:root[data-theme="light"] {
  --bg: #f2f8fc;
  --bg-deep: #e9f2f8;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-solid: #ffffff;
  --panel-strong: #e8f4fb;
  --line: rgba(21, 85, 126, 0.15);
  --line-strong: rgba(21, 85, 126, 0.28);
  --text: #0a1d2d;
  --muted: #587188;
  --muted-strong: #2d4d66;
  --blue: #098edb;
  --blue-strong: #006faf;
  --blue-dim: rgba(9, 142, 219, 0.12);
  --ice: #0369a3;
  --mint: #0b9474;
  --violet: #6259d7;
  --red: #d5284e;
  --yellow: #936b00;
  --shadow: 0 24px 70px rgba(44, 93, 126, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 620px at 100% -12%, rgba(40, 156, 239, 0.22), transparent 60%),
    radial-gradient(650px 520px at -7% 27%, rgba(86, 210, 255, 0.12), transparent 62%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-deep) 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 196, 236, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 196, 236, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 70%);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1260px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: fixed; left: 14px; top: -100px; z-index: 100; padding: 10px 14px; background: var(--ice); color: #001522; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 14px; }

.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px); }
.topbar__inner { min-height: 70px; display: flex; align-items: center; gap: 30px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 19px; letter-spacing: -0.04em; font-weight: 700; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.topnav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.topnav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .18s ease; }
.topnav a:hover { color: var(--text); }
.topbar__actions { display: flex; align-items: center; gap: 9px; }
.location-chip, .icon-button { border: 1px solid var(--line); color: var(--text); background: var(--panel); min-height: 38px; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.location-chip:hover, .icon-button:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.location-chip { display: flex; align-items: center; gap: 8px; max-width: 250px; padding: 0 12px; border-radius: 999px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.location-chip span:last-child { overflow: hidden; text-overflow: ellipsis; }
.status-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 4px rgba(248,214,126,.12); }
.status-dot.is-ready { background: var(--mint); box-shadow: 0 0 0 4px rgba(114,236,193,.12); }
.icon-button { width: 38px; display: grid; place-items: center; border-radius: 10px; }
.icon-button svg { width: 18px; }

.main { padding-top: 46px; padding-bottom: 72px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 30px; align-items: stretch; }
.hero__content { min-height: 490px; display: flex; flex-direction: column; justify-content: center; padding: 28px 0 28px 4px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--muted-strong); font-size: 11px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }
.eyebrow > span { width: 21px; height: 1px; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.eyebrow--small { font-size: 10px; margin-bottom: 8px; }
.eyebrow--danger > span { background: var(--red); box-shadow: 0 0 10px var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 18px; font-size: clamp(46px, 6.6vw, 84px); line-height: .95; letter-spacing: -.065em; font-weight: 700; }
h1 em, h2 em { color: var(--ice); font-style: normal; text-shadow: 0 0 38px color-mix(in srgb, var(--blue) 44%, transparent); }
.hero__intro { max-width: 685px; margin-bottom: 30px; color: var(--muted-strong); font-size: 17px; line-height: 1.62; }
.location-panel { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 16px; max-width: 780px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(140deg, color-mix(in srgb, var(--panel) 95%, transparent), color-mix(in srgb, var(--panel-strong) 66%, transparent)); box-shadow: var(--shadow); }
.location-panel__icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--ice); background: var(--blue-dim); border: 1px solid color-mix(in srgb, var(--blue) 34%, transparent); border-radius: 13px; }
.location-panel__icon svg { width: 22px; }
.location-panel__body { min-width: 0; display: grid; gap: 2px; }
.location-panel__label { color: var(--blue); font-size: 11px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.location-panel__body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.location-panel__body small { color: var(--muted); font-size: 12px; }
.location-panel__actions { display: flex; gap: 8px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 15px; }
.button--primary { color: #042033; background: linear-gradient(135deg, var(--ice), var(--blue)); box-shadow: 0 12px 24px color-mix(in srgb, var(--blue) 24%, transparent); }
.button--ghost { color: var(--muted-strong); background: transparent; border-color: var(--line); }
.button--ghost:hover { color: var(--text); border-color: var(--line-strong); }
.button--full { width: 100%; }

.hero__side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 490px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(50,155,225,.25), rgba(10,26,46,.85) 47%, rgba(5,13,24,.92)); box-shadow: var(--shadow); isolation: isolate; }
.hero__side::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.65; background: radial-gradient(ellipse at 55% 23%, rgba(146,234,255,.25), transparent 33%), radial-gradient(ellipse at 23% 88%, rgba(93,129,255,.18), transparent 38%); }
.radar { position: absolute; width: 330px; height: 330px; right: -57px; top: -59px; display: grid; place-items: center; }
.radar::before, .radar::after { content:""; position:absolute; inset:15%; border:1px solid rgba(186,240,255,.22); border-radius:50%; }
.radar::after { inset: 30%; border-color: rgba(186,240,255,.35); }
.radar img { position: relative; z-index: 2; width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 17px 24px rgba(0, 0, 0, .24)); }
.radar__pulse { position:absolute; border-radius:50%; border:1px solid rgba(171,234,255,.25); animation: radar 3.5s linear infinite; }
.radar__pulse--a { width: 110px; height:110px; }
.radar__pulse--b { width: 170px; height:170px; animation-delay: 1.15s; }
.radar__pulse--c { width: 230px; height:230px; animation-delay: 2.3s; }
@keyframes radar { 0% { transform:scale(.7); opacity:.8; } 80%,100% { transform:scale(1.15); opacity:0; } }
.hero__side-copy { position: relative; margin-top: auto; }
.hero__side-copy strong { display:block; margin-bottom: 6px; font-size: 25px; letter-spacing: -.045em; }
.hero__side-copy p { max-width: 330px; margin-bottom: 0; color: var(--muted-strong); font-size: 14px; }
.signal-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 27px; padding-top:18px; border-top: 1px solid rgba(196,236,255,.18); }
.signal-grid div { min-width:0; display:grid; gap:4px; }
.signal-grid span { color: rgba(225,245,255,.6); font-size:9px; letter-spacing:.12em; font-weight:700; }
.signal-grid b { overflow:hidden; color: var(--ice); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }

.command-strip { display:grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 20px; }
.command-card { display:flex; align-items:center; gap:11px; min-width:0; padding:14px; color:var(--text); text-align:left; border:1px solid var(--line); border-radius: var(--radius-md); background: var(--panel); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.command-card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--panel-strong); }
.command-card__icon { width:34px; height:34px; flex:0 0 auto; display:grid; place-items:center; border-radius:10px; }
.command-card__icon svg { width:17px; }
.command-card__icon--blue { color:var(--ice); background:var(--blue-dim); }
.command-card__icon--violet { color:#dedbff; background:rgba(167,158,255,.18); }
.command-card__icon--mint { color:#b7ffe4; background:rgba(114,236,193,.14); }
.command-card__icon--red { color:#ffc4cf; background:rgba(255,111,136,.14); }
.command-card b, .command-card small { display:block; }
.command-card b { font-size:13px; letter-spacing:-.015em; }
.command-card small { margin-top:2px; color:var(--muted); font-size:11px; }
.command-card__arrow { margin-left:auto; color:var(--muted); font-size:18px; }

.section { padding-top: 96px; }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:26px; }
h2 { margin-bottom:0; font-size:clamp(30px,4.2vw,50px); letter-spacing:-.055em; line-height:1; }
.section-heading h2 span { color:var(--ice); }
.section-heading__tools { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:10px; }
.verified-key { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:11px; white-space:nowrap; }
.verified-key i { width:7px; height:7px; display:inline-block; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px rgba(114,236,193,.1); }
.verified-key--soft i { background:var(--yellow); box-shadow:0 0 0 4px rgba(248,214,126,.1); }
select, input { width:100%; color:var(--text); border:1px solid var(--line); background:var(--panel-solid); border-radius:10px; }
select { width:auto; min-height:36px; padding:0 32px 0 11px; font-size:12px; }
.service-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:12px; }
.service-card { min-height:245px; display:flex; flex-direction:column; padding:16px; border:1px solid var(--line); border-radius:var(--radius-md); background:linear-gradient(145deg, color-mix(in srgb,var(--panel) 96%,transparent), color-mix(in srgb,var(--panel-strong) 40%,transparent)); box-shadow:0 13px 32px rgba(0,0,0,.09); transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.service-card:hover { transform:translateY(-3px); border-color:var(--line-strong); box-shadow:0 17px 37px rgba(0,0,0,.16); }
.service-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.provider-mark { width:40px; height:40px; display:grid; place-items:center; color:#f6fbff; border:1px solid rgba(205,242,255,.14); border-radius:12px; background:linear-gradient(145deg,#2b7fbf,#12558e); font-size:13px; font-weight:800; letter-spacing:-.04em; }
.service-card__state { min-height:23px; display:inline-flex; align-items:center; padding:0 8px; border:1px solid rgba(248,214,126,.24); border-radius:999px; color:var(--yellow); background:rgba(248,214,126,.08); font-size:9px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.service-card__state.is-live { color:var(--mint); border-color:rgba(114,236,193,.24); background:rgba(114,236,193,.08); }
.service-card__content { padding-top:17px; }
.service-card__category { color:var(--blue); font-size:10px; letter-spacing:.11em; font-weight:700; text-transform:uppercase; }
.service-card h3 { margin:5px 0 6px; font-size:20px; line-height:1; letter-spacing:-.045em; }
.service-card p { display:-webkit-box; overflow:hidden; margin:0; color:var(--muted); font-size:12px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.service-card__bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:17px; }
.proof-badge { color:var(--muted); font-size:10px; }
.provider-link { display:inline-flex; align-items:center; gap:5px; color:var(--ice); font-size:12px; font-weight:700; }
.provider-link span { font-size:14px; }
.empty-state { padding:38px; text-align:center; border:1px dashed var(--line-strong); border-radius:var(--radius-md); color:var(--muted); }
.empty-state strong { display:block; color:var(--text); }
.empty-state p { margin:5px 0 0; }

.local-workbench { display:grid; grid-template-columns: .75fr 1.25fr; gap:24px; margin-top:96px; padding:26px; border:1px solid var(--line); border-radius:var(--radius-lg); background:linear-gradient(145deg, rgba(12,31,50,.9), rgba(5,17,31,.9)); box-shadow:var(--shadow); }
.local-workbench__intro { padding:7px; }
.local-workbench__intro h2 { font-size:clamp(34px,3.8vw,48px); }
.local-workbench__intro > p:not(.eyebrow) { margin:16px 0 0; color:var(--muted-strong); font-size:14px; line-height:1.6; }
.local-workbench__notice { display:flex; gap:9px; margin-top:22px; padding:11px 12px; color:var(--muted); border:1px solid var(--line); border-radius:11px; background:rgba(0,0,0,.1); font-size:11px; line-height:1.45; }
.notice-dot { width:7px; height:7px; flex:0 0 auto; margin-top:4px; border-radius:50%; background:var(--yellow); }
.local-workbench__tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.local-tool { min-height:218px; display:flex; flex-direction:column; padding:15px; border:1px solid var(--line); border-radius:var(--radius-md); background:rgba(255,255,255,.025); }
.local-tool__head { display:flex; align-items:center; gap:10px; }
.local-tool__icon { width:34px; height:34px; display:grid; place-items:center; color:var(--ice); border:1px solid rgba(144,225,255,.2); border-radius:10px; background:var(--blue-dim); font-weight:800; }
.local-tool__head h3 { margin:0 0 2px; font-size:15px; letter-spacing:-.025em; }
.local-tool__head p { margin:0; color:var(--muted); font-size:11px; }
.local-tool__results { display:grid; gap:5px; min-height:75px; padding:14px 0; color:var(--muted); font-size:11px; }
.local-result { display:flex; align-items:center; gap:8px; overflow:hidden; padding:6px 0; border-bottom:1px solid rgba(148,202,236,.1); }
.local-result:last-child { border-bottom:0; }
.local-result i { width:5px; height:5px; flex:0 0 auto; border-radius:50%; background:var(--mint); }
.local-result a { overflow:hidden; color:var(--muted-strong); text-overflow:ellipsis; white-space:nowrap; }
.local-tool__action { width:100%; margin-top:auto; }

.emergency { display:grid; grid-template-columns:.9fr 1.1fr; gap:28px; align-items:center; margin-top:96px; padding:34px; border:1px solid rgba(255,111,136,.25); border-radius:var(--radius-lg); background:linear-gradient(135deg, rgba(103,23,46,.36), rgba(14,21,36,.86) 60%); }
.emergency h2 { margin-bottom:15px; }
.emergency__main > p:not(.eyebrow) { max-width:510px; margin-bottom:0; color:var(--muted-strong); font-size:14px; line-height:1.58; }
.emergency__numbers { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.emergency-card { min-height:120px; padding:15px; border:1px solid rgba(255,190,202,.18); border-radius:14px; background:rgba(0,0,0,.13); }
.emergency-card span { color:#ffb8c5; font-size:10px; letter-spacing:.11em; font-weight:700; text-transform:uppercase; }
.emergency-card a { display:block; margin-top:10px; color:#fff; font-size:27px; letter-spacing:-.05em; font-weight:700; }
.emergency-card small { display:block; margin-top:7px; color:var(--muted); font-size:10px; }

.truth-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:64px; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.truth-strip div { display:grid; grid-template-columns:auto 1fr; gap:12px; }
.truth-strip span { color:var(--blue); font-size:11px; font-weight:700; letter-spacing:.12em; }
.truth-strip p { margin:0; color:var(--muted); font-size:13px; line-height:1.55; }
.truth-strip b { color:var(--text); }
.footer { border-top:1px solid var(--line); background:rgba(0,0,0,.1); }
.footer__inner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:25px; min-height:104px; }
.footer__brand { display:inline-flex; align-items:center; gap:9px; font-weight:700; letter-spacing:-.03em; }
.footer__brand img { width:34px; height:34px; }
.footer__brand small { margin-left:4px; color:var(--muted); font-size:9px; letter-spacing:.08em; }
.footer p { max-width:620px; margin:0; color:var(--muted); font-size:11px; }
.footer nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:14px; }
.footer nav a { color:var(--muted); font-size:11px; }
.footer nav a:hover { color:var(--text); }

.location-dialog { width:min(520px, calc(100% - 32px)); padding:0; overflow:hidden; color:var(--text); border:1px solid var(--line-strong); border-radius:18px; background:var(--panel-solid); box-shadow:0 28px 80px rgba(0,0,0,.48); }
.location-dialog::backdrop { background:rgba(0,8,17,.7); backdrop-filter:blur(5px); }
.location-dialog__card { position:relative; padding:28px; }
.location-dialog__card h2 { margin-bottom:12px; font-size:34px; }
.location-dialog__card > p:not(.eyebrow) { color:var(--muted); font-size:13px; line-height:1.55; }
.location-dialog label { display:grid; gap:7px; margin-top:18px; }
.location-dialog label > span { color:var(--muted-strong); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.location-dialog input, .location-dialog select { min-height:46px; padding:0 12px; }
.location-dialog select { width:100%; }
.location-dialog .button { margin-top:24px; min-height:46px; }
.dialog-close { position:absolute; top:15px; right:15px; width:31px; height:31px; display:grid; place-items:center; color:var(--muted); border:1px solid var(--line); border-radius:9px; background:transparent; font-size:21px; line-height:1; }

@media (max-width: 1040px) {
  .hero { grid-template-columns:1fr .78fr; }
  .service-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .command-strip { grid-template-columns:repeat(2,1fr); }
  .local-workbench { grid-template-columns:1fr; }
}
@media (max-width: 780px) {
  .shell { width:min(100% - 28px, 1260px); }
  .topbar__inner { min-height:62px; gap:10px; }
  .brand { font-size:17px; }
  .brand img { width:34px; height:34px; }
  .brand small, .topnav { display:none; }
  .location-chip { max-width:158px; }
  .main { padding-top:26px; }
  .hero { grid-template-columns:1fr; gap:15px; }
  .hero__content { min-height:auto; padding:18px 0 4px; }
  .hero__intro { font-size:15px; }
  .location-panel { grid-template-columns:auto minmax(0,1fr); }
  .location-panel__actions { grid-column:1/-1; }
  .location-panel__actions .button { flex:1; }
  .hero__side { min-height:365px; }
  .command-strip { margin-top:15px; }
  .section { padding-top:70px; }
  .section-heading { display:block; }
  .section-heading__tools { justify-content:flex-start; margin-top:17px; }
  .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .local-workbench, .emergency { margin-top:70px; padding:20px; }
  .emergency { grid-template-columns:1fr; }
  .truth-strip { grid-template-columns:1fr; gap:15px; }
  .footer__inner { grid-template-columns:1fr; align-items:flex-start; gap:12px; padding:22px 0; }
  .footer nav { justify-content:flex-start; }
}
@media (max-width: 520px) {
  h1 { font-size:48px; }
  .command-strip { grid-template-columns:1fr 1fr; gap:8px; }
  .command-card { padding:11px; }
  .command-card__icon { width:30px; height:30px; }
  .command-card small { font-size:10px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:210px; }
  .local-workbench__tools { grid-template-columns:1fr; }
  .emergency__numbers { grid-template-columns:1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

.legal-page { min-height:100vh; }
.legal-main { width:min(820px, calc(100% - 36px)); margin:0 auto; padding:64px 0 88px; }
.legal-back { display:inline-flex; align-items:center; gap:8px; color:var(--ice); font-size:13px; font-weight:700; }
.legal-back:hover { color:var(--text); }
.legal-card { margin-top:24px; padding:34px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--panel); box-shadow:var(--shadow); }
.legal-card h1 { margin:0 0 18px; font-size:clamp(40px,6vw,64px); }
.legal-card h2 { margin:38px 0 12px; font-size:25px; }
.legal-card p, .legal-card li { color:var(--muted-strong); font-size:14px; line-height:1.7; }
.legal-card ul { padding-left:21px; }
.legal-card strong { color:var(--text); }
.legal-card code { padding:2px 5px; color:var(--ice); border:1px solid var(--line); border-radius:5px; background:rgba(0,0,0,.12); font-size:.9em; }

/* SCOUTEE V2 — compact provider matrix: branded, dense, and scan-first. */
.main { padding-top: 30px; padding-bottom: 58px; }
.hero { gap: 22px; }
.hero__content { min-height: 408px; padding-block: 20px; }
h1 { max-width: 720px; font-size: clamp(42px, 5.8vw, 72px); }
.hero__intro { max-width: 640px; margin-bottom: 22px; font-size: 15px; line-height: 1.55; }
.hero__side { min-height: 408px; padding: 24px; }
.radar { width: 284px; height: 284px; right: -48px; top: -55px; }
.radar img { width: 92px; height: 92px; }
.command-strip { margin-top: 14px; }
.command-card { min-height: 66px; padding: 11px 13px; }
.section { padding-top: 68px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(28px, 3.7vw, 42px); }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.service-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--panel) 98%, transparent), color-mix(in srgb, var(--panel-strong) 26%, transparent));
}
.service-card:hover { transform: translateY(-2px); }
.provider-logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  grid-row: 1 / span 2;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 242, 255, .14);
  border-radius: 12px;
  background: #0a1724;
}
.provider-logo { position: absolute; z-index: 2; width: 100%; height: 100%; padding: 5px; object-fit: contain; opacity: 0; transition: opacity .16s ease; }
.provider-logo-wrap.has-logo .provider-logo { opacity: 1; }
.provider-mark { width: 100%; height: 100%; display: grid; place-items: center; color: #f6fbff; font-size: 12px; font-weight: 800; letter-spacing: -.04em; }
.service-card__content { min-width: 0; padding: 0; align-self: center; }
.service-card__category { display: block; overflow: hidden; color: var(--blue); font-size: 9px; line-height: 1.1; letter-spacing: .095em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.service-card h3 { overflow: hidden; margin: 4px 0 0; font-size: 16px; line-height: 1.04; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.service-card p { display: none; }
.service-card__meta { display: grid; justify-items: end; align-self: stretch; grid-column: 3; grid-row: 1 / span 2; gap: 9px; padding-left: 2px; }
.service-card__state { min-height: 20px; padding: 0 6px; font-size: 8px; letter-spacing: .06em; }
.provider-link { min-height: 26px; padding: 0 7px; color: var(--ice); border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.08); font-size: 10px; white-space: nowrap; }
.provider-link:hover { border-color: var(--line-strong); background: var(--blue-dim); }
.provider-link span { font-size: 12px; }
.local-workbench, .emergency { margin-top: 68px; }
.local-workbench { padding: 20px; gap: 18px; }
.local-tool { min-height: 182px; padding: 13px; }
.emergency { padding: 26px; }
.truth-strip { margin-top: 46px; }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .main { padding-top: 20px; }
  .hero__content { min-height: auto; padding-top: 8px; }
  .hero__side { min-height: 330px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .service-card { min-height: 110px; grid-template-columns: 40px minmax(0, 1fr); padding: 10px; }
  .provider-logo-wrap { width: 40px; height: 40px; }
  .service-card__meta { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: space-between; justify-items: unset; gap: 6px; padding-left: 0; }
  .service-card__state { min-height: 18px; }
  .provider-link { min-height: 24px; }
}
@media (max-width: 430px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 96px; }
  .service-card h3 { font-size: 17px; }
}
