/* Found My Keys — "Radar ping & brass key" */
@font-face { font-family: "Red Hat Display"; src: url("../fonts/RedHatDisplay-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Red Hat Mono"; src: url("../fonts/RedHatMono-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --teal: #123C46;
  --teal-900: #0A262D;
  --teal-700: #0E3139;
  --teal-600: #1B5563;
  --teal-400: #4F7F89;
  --teal-200: #BFD3D2;
  --teal-100: #E3ECEA;
  --brass: #D4A23A;
  --brass-ink: #7F5B10;
  --brass-200: #EBD39A;
  --brass-100: #F6EDD5;
  --coral: #F2766B;
  --coral-ink: #A3322A;
  --coral-100: #FDE6E3;
  --paper: #F7F7F2;
  --white: #FFFFFF;
  --ink: #14282E;
  --muted: #4A5D62;
  --line: #D3DAD5;
  --grid-dark: rgba(191, 211, 210, .09);
  --grid-light: rgba(18, 60, 70, .07);
  --radius: 12px;
  --wrap: 1180px;
  --font: "Red Hat Display", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Red Hat Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(10, 38, 45, .06), 0 8px 24px -12px rgba(10, 38, 45, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--font); overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--teal); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.12; letter-spacing: -.015em; color: var(--teal); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); font-weight: 850; letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; }
p, ul, ol { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--brass); color: var(--teal-900); padding: 10px 14px; font-weight: 700; border-radius: 6px; }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font: 600 .78rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 .6em; display: block; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }

/* map-grid background */
.grid-dark { background-color: var(--teal); background-image:
  linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px),
  linear-gradient(rgba(191, 211, 210, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 211, 210, .05) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px; }
.grid-light { background-image:
  linear-gradient(var(--grid-light) 1px, transparent 1px), linear-gradient(90deg, var(--grid-light) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; }

/* ---------------------------------------------------------------- header */
.site-head { background: var(--teal-900); color: var(--white); border-bottom: 1px solid rgba(212, 162, 58, .45); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 850; font-size: 1.25rem; letter-spacing: -.02em; margin-right: auto; }
.brand:hover { color: var(--brass-200); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-200); margin-top: 3px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; margin: 0; padding: 0; list-style: none; font-weight: 600; font-size: .98rem; }
.nav a { color: var(--white); text-decoration: none; padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brass); color: var(--white); }
.nav .nav-alert a { color: #FFB3AC; }
.nav .nav-alert a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(242, 118, 107, .25); }

/* ---------------------------------------------------------------- hero */
.hero { color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .lede { color: var(--teal-200); }
.hero .kicker { color: var(--brass); }
.radar { position: relative; aspect-ratio: 1; width: min(100%, 440px); justify-self: end; }
.radar svg { width: 100%; height: 100%; display: block; overflow: visible; }
.radar .ping { transform-origin: 220px 220px; animation: ping 3.6s cubic-bezier(.2, .6, .3, 1) infinite; opacity: 0; }
.radar .ping.p2 { animation-delay: 1.2s; }
.radar .ping.p3 { animation-delay: 2.4s; }
.radar .sweep { transform-origin: 220px 220px; animation: sweep 7s linear infinite; }
.radar .blip { animation: blip 7s linear infinite; opacity: .25; }
@keyframes ping { 0% { transform: scale(.15); opacity: .9; } 80% { opacity: .05; } 100% { transform: scale(1); opacity: 0; } }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 30% { opacity: .25; } 34% { opacity: 1; } 60%, 100% { opacity: .25; } }

.phone-pick { margin-top: 28px; background: rgba(10, 38, 45, .72); border: 1px solid rgba(191, 211, 210, .22); border-radius: var(--radius); padding: 18px; max-width: 560px; }
.phone-pick legend { font-weight: 700; color: var(--white); padding: 0; margin-bottom: 10px; font-size: 1.05rem; }
.phone-pick fieldset { border: 0; margin: 0; padding: 0; }
.phone-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.phone-opt { position: relative; }
.phone-opt input { position: absolute; opacity: 0; inset: 0; }
.phone-opt span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 10px 12px; border: 1px solid rgba(191, 211, 210, .35); border-radius: 8px; cursor: pointer; font-weight: 700; color: var(--white); }
.phone-opt span small { font: 500 .72rem/1.3 var(--mono); color: var(--teal-200); }
.phone-opt input:checked + span { border-color: var(--brass); background: rgba(212, 162, 58, .14); box-shadow: inset 0 0 0 1px var(--brass); }
.phone-opt input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 8px; border: 0; background: var(--brass); color: var(--teal-900); font: 750 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: #E2B24B; color: var(--teal-900); }
.btn-dark { background: var(--teal); color: var(--white); }
.btn-dark:hover { background: var(--teal-600); color: var(--white); }
.btn-line { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-line:hover { background: var(--teal); color: var(--white); }
.btn .arrow { font-family: var(--mono); }
.amazon-btn { background: var(--teal); color: var(--white); }
.amazon-btn:hover { background: var(--teal-600); color: var(--white); }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: .92rem; }

/* ---------------------------------------------------------------- key-tag badge */
.ktag { --hole: var(--white); position: relative; display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px 2px 22px; font: 600 .72rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-900); background: var(--brass-200); clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%); white-space: nowrap; }
.ktag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--hole); }
.ktag.k-net { background: var(--teal-100); color: var(--teal); }
.ktag.k-uwb { background: var(--brass); }
.ktag.k-alert { background: var(--coral-100); color: var(--coral-ink); }
.ktag.k-sub { background: #E8E4F0; color: #3D3557; }
.ktags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 12px; padding: 0; list-style: none; }

/* ---------------------------------------------------------------- sections */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-head.grid-light { background-color: var(--white); }
.page-head h1 { margin-bottom: .3em; }
.crumbs { font: 500 .8rem/1.4 var(--mono); color: var(--muted); margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--teal-400); }
.crumbs a { color: var(--muted); }

/* compatibility matrix */
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.matrix th, .matrix td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix thead th { font: 600 .74rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.matrix tbody th a { font-weight: 750; color: var(--teal); text-decoration: none; }
.matrix tbody th a:hover { text-decoration: underline; }
.matrix tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.matrix td { font: 600 .9rem/1.3 var(--mono); text-align: center; }
.yes { color: var(--teal); }
.yes::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(212, 162, 58, .25); margin-right: 8px; vertical-align: -1px; }
.no { color: #8A9A9D; font-weight: 500; }
.part { color: var(--brass-ink); }
.table-scroll { overflow-x: auto; max-width: 100%; border-radius: var(--radius); }
.table-scroll:focus-visible { outline: 3px solid var(--brass); }

/* ---------------------------------------------------------------- tracker cards (key tags) */
.tags-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.tcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 26px 26px var(--radius) var(--radius); box-shadow: var(--shadow); padding: 40px 14px 16px; transition: border-color .15s, transform .15s; }
.tcard:hover { border-color: var(--brass); transform: translateY(-2px); }
.tcard::before { content: ""; position: absolute; top: 11px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--brass), inset 0 1px 2px rgba(0, 0, 0, .2); z-index: 2; }
.tcard .visual { margin: 0 0 12px; border-radius: 12px; overflow: hidden; }
.tcard h2, .tcard h3, .tcard h4 { margin: 0 0 2px; font-size: 1.12rem; letter-spacing: -.01em; }
.tcard :is(h2, h3, h4) a { color: var(--teal); text-decoration: none; }
.tcard :is(h2, h3, h4) a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.tcard :is(h2, h3, h4) a:focus-visible { outline: none; }
.tcard:focus-within { outline: 3px solid var(--brass); outline-offset: 3px; }
.tcard .brandline { font: 500 .78rem/1.3 var(--mono); color: var(--muted); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .08em; }
.tcard .ktags { margin-bottom: 10px; }
.tcard .ktags .ktag { --hole: var(--white); }
.minispec { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .86rem; }
.minispec dt { color: var(--muted); }
.minispec dd { margin: 0; font-family: var(--mono); font-weight: 500; color: var(--ink); }

/* visual tile: photo or drawing on a map grid */
.visual { position: relative; aspect-ratio: 4 / 3; background: var(--teal-100); display: grid; place-items: center; }
.visual.grid-light { background-color: var(--teal-100); }
.visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual svg.draw { width: 72%; height: 72%; }
.visual .photo-credit { position: absolute; right: 0; bottom: 0; max-width: 100%; background: rgba(10, 38, 45, .78); color: var(--white); padding: 2px 8px; font-size: .7rem; border-top-left-radius: 6px; z-index: 3; }
.visual .photo-credit a { color: var(--white); position: relative; z-index: 3; }

/* ---------------------------------------------------------------- listing + filters */
.listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px 18px; position: sticky; top: 12px; }
.filters summary { display: none; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14px 0 6px; }
.filters fieldset:first-of-type { border-top: 0; }
.filters legend { font: 600 .74rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 0 0; float: left; width: 100%; margin-bottom: 8px; }
.filters legend + * { clear: both; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; cursor: pointer; font-size: .97rem; }
.opt input { margin-top: 5px; accent-color: var(--teal); width: 17px; height: 17px; flex: none; }
.opt .count { margin-left: auto; font: 500 .8rem/1.6 var(--mono); color: var(--muted); }
.filters .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.result-line { font: 500 .9rem/1.4 var(--mono); color: var(--muted); margin: 0 0 16px; }
.result-line strong { color: var(--teal); }
.empty { padding: 28px; background: var(--white); border: 1px dashed var(--teal-400); border-radius: var(--radius); }

/* ---------------------------------------------------------------- product page */
.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.product-figure { margin: 0; }
.product-figure figcaption { margin-top: 8px; }
.product-top .visual { border-radius: 26px 26px var(--radius) var(--radius); border: 1px solid var(--line); aspect-ratio: 1; }
.product-top .visual::before { content: ""; position: absolute; top: 18px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px var(--brass), inset 0 1px 3px rgba(0, 0, 0, .25); z-index: 2; }
.product-top .brandline { font: 600 .8rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--brass-ink); margin: 0 0 8px; }
.buy { margin: 22px 0 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.small-print { font-size: .86rem; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; font-weight: 600; color: var(--muted); font-size: .95rem; background: #FBFBF8; }
.spec-table td { font-family: var(--mono); font-size: .93rem; color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.features { list-style: none; padding: 0; margin: 0 0 1.2em; }
.features li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); }
.features li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 12px; border: 2px solid var(--brass); border-radius: 50%; }
.features li::after { content: ""; position: absolute; left: 9px; top: 20px; width: 2px; height: 2px; background: var(--brass); border-radius: 50%; }
.sources { font-size: .9rem; color: var(--muted); }
.sources ol { padding-left: 1.3em; }
.sources li { margin-bottom: 4px; }
.note-box { background: var(--brass-100); border-left: 4px solid var(--brass); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.2em; }
.note-box p:last-child { margin: 0; }

/* ---------------------------------------------------------------- prose (guides) */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .35em; }
.prose ol { padding-left: 1.4em; }
.prose ol li::marker { font-family: var(--mono); font-weight: 600; color: var(--brass-ink); }
.prose ul li::marker { color: var(--brass-ink); }
.callout { background: var(--teal-100); border-left: 4px solid var(--teal-600); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.4em 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-alert { background: var(--coral-100); border-left-color: var(--coral); }
.prose .table-scroll { margin: 0 0 1.2em; }
.md-table { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--white); font-size: .95rem; }
.md-table th, .md-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.md-table thead th { background: var(--teal); color: var(--white); font-weight: 700; }
.md-table tbody th { background: #FBFBF8; font-weight: 650; }
.md-table td { font-family: var(--mono); font-size: .88rem; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.aside-box h2 { font-size: 1.05rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { border-top: 1px solid var(--line); padding: 8px 0; }
.aside-box li:first-child { border-top: 0; }
.meta-line { font: 500 .82rem/1.4 var(--mono); color: var(--muted); }
.figure { margin: 0 0 1.5em; }
.figure img { border-radius: var(--radius); display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* guides list as waypoints */
.waypoints { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; counter-reset: wp; }
.waypoints li { counter-increment: wp; position: relative; padding: 18px 0 18px 58px; border-top: 1px solid var(--line); }
.waypoints li::before { content: counter(wp, decimal-leading-zero); position: absolute; left: 0; top: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem/1 var(--mono); color: var(--teal); border: 1.5px solid var(--teal-400); background: var(--white); }
.waypoints li.is-alert::before { border-color: var(--coral); color: var(--coral-ink); background: var(--coral-100); }
.waypoints a { font-weight: 750; font-size: 1.12rem; color: var(--teal); text-decoration: none; }
.waypoints a:hover { text-decoration: underline; }
.waypoints p { margin: 4px 0 0; color: var(--muted); font-size: .97rem; }
.waypoints .kicker { margin-bottom: 4px; }

/* alert panel */
.alert-panel { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; background: var(--white); border: 1px solid #F3B9B3; border-left: 6px solid var(--coral); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.alert-panel h2 { color: var(--coral-ink); }
.alert-panel ol { margin: 0 0 14px; padding-left: 1.2em; }
.alert-panel .pulse { width: 64px; height: 64px; position: relative; }
.alert-panel .pulse span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--coral); animation: ping-small 2.4s ease-out infinite; opacity: 0; }
.alert-panel .pulse span:nth-child(2) { animation-delay: .8s; }
.alert-panel .pulse::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--coral); }
@keyframes ping-small { 0% { transform: scale(.25); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* split feature (pets etc.) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.stat-line { font: 600 .9rem/1.4 var(--mono); color: var(--brass-ink); }

/* ---------------------------------------------------------------- compare */
.compare-table { border-collapse: separate; border-spacing: 0; background: var(--white); width: 100%; min-width: 860px; font-size: .9rem; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { position: sticky; top: 0; background: var(--teal); color: var(--white); font: 600 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; z-index: 1; }
.compare-table tbody th { position: sticky; left: 0; background: var(--white); font-weight: 700; min-width: 170px; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.compare-table tbody th a { color: var(--teal); }
.compare-table td { font-family: var(--mono); }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background: var(--brass-100); }
.compare-table input { accent-color: var(--teal); width: 18px; height: 18px; }
.side { display: grid; grid-template-columns: 180px repeat(var(--n, 2), minmax(180px, 1fr)); min-width: calc(180px + var(--n, 2) * 180px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.side > div { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.side .lab { font-weight: 600; color: var(--muted); background: #FBFBF8; font-size: .92rem; }
.side .val { font-family: var(--mono); font-size: .9rem; }
.side .head { background: var(--teal); color: var(--white); border-bottom: 0; }
.side .head a { color: var(--white); font-weight: 750; font-family: var(--font); font-size: 1.02rem; }
.side .head .visual { margin-bottom: 8px; border-radius: 10px; overflow: hidden; }
.compare-bar { position: sticky; bottom: 0; z-index: 5; background: var(--teal-900); color: var(--white); padding: 12px 0; margin-top: 18px; border-top: 2px solid var(--brass); }
.compare-bar .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }

/* ---------------------------------------------------------------- selector */
.quiz { display: grid; gap: 22px; }
.quiz fieldset { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 18px 20px 14px; margin: 0; }
.quiz legend { font-weight: 800; color: var(--teal); font-size: 1.15rem; padding: 0 6px; }
.quiz legend .step { font: 600 .78rem/1 var(--mono); color: var(--teal-900); background: var(--brass); border-radius: 50%; width: 28px; height: 28px; display: inline-grid; place-items: center; margin-right: 8px; vertical-align: 2px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; height: 100%; padding: 11px 14px 11px 40px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; position: relative; background: var(--paper); }
.choice span::before { content: ""; position: absolute; left: 13px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--teal-400); background: var(--white); }
.choice input[type=checkbox] + span::before { border-radius: 4px; }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-100); }
.choice input:checked + span::before { border-color: var(--teal); background: var(--brass); box-shadow: inset 0 0 0 3px var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.why { list-style: none; margin: 8px 0 0; padding: 0; font-size: .88rem; }
.why li { padding-left: 18px; position: relative; margin-bottom: 3px; color: var(--muted); }
.why li::before { content: "›"; position: absolute; left: 4px; color: var(--brass-ink); font-weight: 800; }
.result-group { margin-top: 40px; }

/* FAQ */
.faq-group { margin-bottom: 36px; }
.faq { border-top: 1px solid var(--line); background: var(--white); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 700; color: var(--teal); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font: 600 1.3rem/1 var(--mono); color: var(--brass-ink); }
.faq[open] summary::after { content: "−"; }
.faq .answer { padding: 0 18px 8px; }

/* network page */
.net-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; margin: 0; }
.facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-family: var(--mono); font-size: .9rem; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--teal-900); color: var(--teal-200); margin-top: 64px; padding: 48px 0 28px; font-size: .95rem; }
.site-foot a { color: var(--white); }
.site-foot .cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.site-foot h2 { color: var(--brass); font: 600 .76rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot .legal { border-top: 1px solid rgba(191, 211, 210, .2); margin-top: 32px; padding-top: 18px; font-size: .86rem; }
.site-foot .legal p { margin-bottom: .6em; max-width: 90ch; }
.disclosure-line { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 28px; }

.go-pending, .not-found { padding: 64px 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; padding: 0; }
  .filters summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 750; color: var(--teal); cursor: pointer; }
  .filters .filters-body { padding: 0 18px 18px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 40px; }
  .radar { position: absolute; right: -150px; top: 30px; width: 320px; opacity: .3; pointer-events: none; }
  .radar text { display: none; }
  .hero .wrap > div:first-child { position: relative; z-index: 1; }
  .product-top, .two-col, .split, .net-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .product-figure { max-width: 420px; }
  .waypoints { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 40px 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .phone-opts { grid-template-columns: minmax(0, 1fr); }
  .alert-panel { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .alert-panel .pulse { width: 44px; height: 44px; }
  .site-foot .cols { grid-template-columns: minmax(0, 1fr); }
  .matrix th, .matrix td { padding: 10px 8px; }
  .matrix td { font-size: .78rem; }
  .yes::before { display: block; margin: 0 auto 4px; }
  .tags-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tcard { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-content: start; padding: 14px 14px 14px 36px; border-radius: 26px var(--radius) var(--radius) 26px; }
  .tcard::before { top: 50%; left: 10px; margin: -8px 0 0; }
  .tcard > .visual { grid-column: 1; grid-row: 1 / span 6; aspect-ratio: 1; margin: 0; align-self: start; border-radius: 10px; }
  .tcard > :not(.visual) { grid-column: 2; }
  .tcard > .visual { display: block; aspect-ratio: auto; background: none; overflow: visible; }
  .tcard > .visual img, .tcard > .visual svg.draw { aspect-ratio: 1; width: 100%; height: auto; border-radius: 10px; background: var(--teal-100); display: block; }
  .tcard > .visual svg.draw { padding: 8px; }
  .tcard .visual .photo-credit { position: static; display: block; background: none; color: var(--muted); padding: 3px 0 0; font-size: .62rem; line-height: 1.3; border-radius: 0; }
  .tcard .visual .photo-credit a { color: var(--muted); }
  .tcard .minispec { font-size: .82rem; }
  .nav { gap: 2px 14px; font-size: .94rem; }
  .spec-table th { width: 42%; }
  .spec-table th, .spec-table td { padding: 9px 10px; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .radar .ping { opacity: .35; }
  .radar .ping.p1 { transform: scale(.45); }
  .radar .ping.p2 { transform: scale(.7); }
  .radar .ping.p3 { transform: scale(.95); }
  .alert-panel .pulse span { opacity: .5; transform: scale(.7); }
  .tcard:hover { transform: none; }
}
@media print {
  .site-head, .site-foot, .filters, .compare-bar, .radar { display: none; }
}

/* ---------------------------------------------------------------- ads (5od) + cookie choice */
.ad-slot[hidden], .cookie-bar[hidden] { display: none !important; }
.ad-slot { display: block; margin: 1.2rem auto; }
.ad-slot:has(ins[data-fiveod="empty"], ins[data-fiveod="error"], ins[data-fiveod="nofit"]) { display: none; }
.ad-in { display: flex; justify-content: center; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--teal-900); color: var(--teal-100);
  padding: 1rem 0 1.1rem; max-height: 80vh; overflow-y: auto; border-top: 3px solid var(--brass); background-image: linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px); background-size: 24px 24px; }
.cookie-in { display: grid; gap: .8rem 2rem; align-items: center; }
@media (min-width: 860px) { .cookie-in { grid-template-columns: minmax(0, 1fr) auto; } }
.cookie-h { color: var(--teal-100); font-family: var(--font); margin: 0 0 .3rem; font-size: 1.45rem; font-weight: 800; color: #fff; }
.cookie-txt p { margin: 0 0 .4rem; font-size: .95rem; }
.cookie-bar a { color: var(--teal-100); font-weight: 700; }
.cookie-bar a:hover { color: #fff; }
.cookie-now { font-weight: 700; color: var(--brass-200); }
.cookie-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie-btn { flex: 1 1 12rem; min-height: 48px; font-family: var(--font); font-size: 1rem; line-height: 1.1; padding: .65rem 1.2rem; cursor: pointer;
  background: var(--brass); color: var(--teal-900); border: 2px solid var(--brass); border-radius: var(--radius); font-weight: 800; }
.cookie-btn:hover { background: var(--brass-200); border-color: var(--brass-200); }
.cookie-bar :focus-visible { outline: 3px solid var(--brass-200); outline-offset: 3px; }
.cookie-h:focus { outline: none; }
.cookie-h:focus-visible { outline: 3px solid var(--brass-200); }
@media (prefers-reduced-motion: no-preference) { .cookie-bar { animation: cookie-up .25s ease-out; } }
@keyframes cookie-up { from { transform: translateY(100%); } to { transform: none; } }
@media print { .cookie-bar, .ad-slot { display: none !important; } }
.ad-head { max-width: var(--wrap); }
.ad-in-content { margin: 1.8rem 0; }
