/* VerifiedRadioData. Night navy from the hero's blue hour, amber from a scanner's backlit screen.
   One loud element: the lookup readout. Everything else is quiet. */
:root {
  --night: #14213a;
  --night-2: #22324f;
  --paper: #f5f6f3;
  --card: #ffffff;
  --ink: #1b2230;
  --muted: #566070;
  --rule: #d8dce2;
  --amber: #e8962a;
  --amber-ink: #8a4a06;
  --lcd-bg: #1d150b;
  --lcd: #ffb446;
  --simulcast: #8a3b12;
  --p25: #e0892c;
  --dmr: #3f7f8c;
  --digital: #6b7f9e;
  --trunked: #7f93ad;
  --analog: #dfe3e8;
  --red: #a8322a;
  --green: #2f6f50;
  --head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --measure: 40rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.62 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--night); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--amber-ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--night); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(100% - 2rem, 62rem); margin-inline: auto; }

/* header */
.top { background: var(--night); color: #fff; }
.top-in { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .9rem 0; }
.mark { font: 700 1.2rem/1 var(--head); font-stretch: 87%; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.top nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.top nav a { font: 500 .95rem/1.2 var(--head); color: #cfd6e2; text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--lcd); }
.has-hero .top { position: absolute; inset: 0 0 auto 0; background: transparent; z-index: 2; }

/* type */
h1, h2, h3 { font-family: var(--head); font-stretch: 87%; line-height: 1.12; letter-spacing: -.012em; color: var(--night); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; margin: 2.4rem 0 1rem; max-width: 22ch; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 700; margin: 3.2rem 0 .8rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 .4rem; }
p, ul, ol { max-width: var(--measure); }
.lede { font-size: 1.28rem; line-height: 1.55; }
.fine { font-size: .9rem; color: var(--muted); }
.page { padding-bottom: 4rem; }
section { scroll-margin-top: 1rem; }
ul.plain { padding-left: 1.1rem; }
ul.plain li { margin-bottom: .6rem; }
.cta { display: inline-block; font: 700 1rem/1 var(--head); background: var(--night); color: #fff; padding: .85rem 1.2rem; border-radius: 4px; text-decoration: none; }
.cta:hover { background: var(--night-2); color: var(--lcd); }
a.src { color: inherit; text-decoration-style: dotted; }
.flag { font-family: var(--head); font-weight: 700; color: var(--red); }

/* photos */
.photo { margin: 2rem 0; }
.photo img { display: block; width: 100%; max-height: 30rem; object-fit: cover; border-radius: 3px; }
figcaption { font: 400 .8rem/1.4 var(--head); color: var(--muted); margin-top: .45rem; }
figcaption a { color: inherit; }

/* hero */
.hero { position: relative; min-height: min(88vh, 46rem); display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; border-radius: 0; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,33,58,0) 35%, rgba(20,33,58,.55) 62%, rgba(20,33,58,.9) 92%); }
.hero-photo figcaption { position: absolute; right: 1rem; bottom: .6rem; z-index: 1; color: #9aa6ba; margin: 0; }
.hero-in { position: relative; z-index: 1; padding: 6rem 0 3.5rem; }
.hero h1 { color: #fff; margin-top: 0; }
.hero p { font-size: 1.25rem; color: #e3e8f0; }

/* lookup */
.lookup { max-width: 34rem; margin: 1.5rem 0 1rem; position: relative; }
.lookup label { display: block; font: 600 .95rem/1.2 var(--head); margin-bottom: .45rem; }
.lookup-row { display: flex; gap: .5rem; }
.lookup input { flex: 1; min-width: 0; font: 500 1.15rem/1 var(--body); padding: .85rem 1rem; border: 2px solid var(--night); border-radius: 4px; background: #fff; color: var(--ink); }
.lookup button { font: 700 1.05rem/1 var(--head); padding: 0 1.3rem; border: 0; border-radius: 4px; background: var(--amber); color: var(--night); cursor: pointer; }
.lookup button:hover { background: var(--lcd); }
.hero-lookup input { border-color: transparent; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; margin: .2rem 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--rule); border-radius: 4px; z-index: 5; max-width: none; }
.suggest li { padding: .55rem .9rem; cursor: pointer; font-family: var(--head); }
.suggest li[aria-selected="true"], .suggest li:hover { background: #fff3e0; }

/* the readout: the site's one loud element */
.result:empty { display: none; }
.result { margin: 1.5rem 0 1rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--card); overflow: hidden; }
.screen { background: var(--lcd-bg); color: var(--lcd); font: 500 clamp(1.05rem, 2.6vw, 1.45rem)/1.35 var(--mono); padding: 1.1rem 1.4rem; letter-spacing: .04em; }
.screen span { display: block; }
.screen .dim { color: #b07a2c; font-size: .8em; }
.verdict { padding: 1.4rem 1.4rem .4rem; }
.verdict h3 { margin-top: 0; font-size: 1.45rem; }
.verdict .say { margin-top: 0; }
.mini-picks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 1rem 0; }
.mini { display: grid; grid-template-columns: 5.5rem 1fr; gap: .9rem; align-items: start; border-top: 1px solid var(--rule); padding-top: 1rem; }
.mini img { width: 5.5rem; height: 5.5rem; object-fit: contain; background: #fff; }
.mini .role { margin: 0; font: 600 .85rem/1.2 var(--head); color: var(--muted); }
.mini h4 { margin: .15rem 0 .5rem; font: 700 1.1rem/1.2 var(--head); font-stretch: 87%; color: var(--night); }
.budget { border-top: 1px solid var(--rule); padding-top: .8rem; font-size: 1rem; }
.warn { border-left: 4px solid var(--red); background: #fbf1ef; padding: .8rem 1rem; margin: 1rem 0; font-size: 1rem; }
.warn h4 { margin: 0 0 .4rem; font: 700 1.05rem/1.2 var(--head); color: var(--red); }
.warn ul { margin: 0; padding-left: 1.1rem; }
.agencies { margin: 1rem 0 0; }
.result .fine { margin: .8rem 0 1.2rem; }

/* buy buttons */
.buy { display: inline-flex; flex-direction: column; gap: .1rem; background: var(--amber); color: var(--night); text-decoration: none; padding: .6rem 1rem; border-radius: 4px; font-family: var(--head); line-height: 1.15; }
.buy:hover { background: var(--lcd); color: var(--night); }
.buy-p { font-weight: 800; font-size: 1.05rem; }
.buy-n { font-weight: 500; font-size: .82rem; }
.buy.noprice .buy-n { display: none; }
.buy.noprice::before { content: "See it on Amazon"; font-weight: 800; }
.buy.alt { background: transparent; border: 2px solid var(--night); }
.price { font-family: var(--mono); font-size: .95em; }

/* picks */
.pick { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 1.5rem; padding: 1.8rem 0; border-top: 1px solid var(--rule); }
.pick .pic img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 3px; }
.pick .role { margin: 0; font: 600 .95rem/1.3 var(--head); color: var(--amber-ink); }
.pick h3 { margin: .2rem 0 .6rem; font-size: 1.55rem; }
.pick ul { padding-left: 1.1rem; margin: .4rem 0 .8rem; }
.pick li { margin-bottom: .35rem; }
.watch-h { margin: .6rem 0 0; font: 700 .95rem/1.2 var(--head); color: var(--muted); }
.watch li { color: #3d4553; }

/* tables */
.tablewrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; background: var(--card); }
caption { text-align: left; font: 600 .95rem/1.3 var(--head); color: var(--muted); padding: 0 0 .5rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font: 700 .9rem/1.2 var(--head); color: var(--muted); border-bottom: 2px solid var(--night); background: var(--paper); }
tbody th { font-weight: 600; }
td.num, th.num { font-family: var(--mono); font-size: .92rem; text-align: right; white-space: nowrap; }
.sys td { text-align: center; font-family: var(--head); font-weight: 600; }
.sys td a { text-decoration: none; }
.sys td.yes a { color: var(--green); }
.sys td.no a { color: var(--red); }
.sys td.paid a { color: var(--amber-ink); }
.sys .form { display: block; font: 400 .8rem/1.2 var(--head); color: var(--muted); }
.enc td, .enc th { font-size: .92rem; }
.enc .st { font-family: var(--head); font-weight: 700; white-space: nowrap; }
.st-encrypted { color: var(--red); }
.st-partlyencrypted, .st-announced, .st-delayed { color: var(--amber-ink); }
.st-reversed, .st-open { color: var(--green); }
.srcs a { display: block; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; max-width: none; }
.filter select, .filter input { font: 500 1rem var(--head); padding: .45rem .6rem; border: 1px solid var(--muted); border-radius: 4px; background: #fff; }
.note { border-left: 4px solid var(--amber); background: #fdf5e8; padding: .7rem 1rem; font-size: 1rem; }

/* map + legend keys */
.map { margin: 1.5rem 0; }
.map img { width: 100%; display: block; }
.key { display: inline-block; width: .85em; height: .85em; border-radius: 2px; margin: 0 .35em 0 .2em; vertical-align: -.05em; }
.k-simulcast { background: var(--simulcast); } .k-p25 { background: var(--p25); } .k-dmr { background: var(--dmr); }
.k-digital { background: var(--digital); } .k-trunked { background: var(--trunked); } .k-analog { background: var(--analog); }
.fam { display: inline-block; font: 600 .78rem/1 var(--head); padding: .25rem .45rem; border-radius: 3px; margin: 0 .25rem .25rem 0; background: #eceef2; color: var(--ink); white-space: nowrap; }
.fam-p25, .fam-p25p2, .fam-simulcast { background: #fbe6c8; color: #6d3a05; }
.fam-dmr, .fam-nxdn { background: #d9ebee; color: #1f4f58; }

/* home */
.guides { list-style: none; padding: 0; max-width: none; }
.guides li { border-top: 1px solid var(--rule); padding: 1.1rem 0; }
.guides a { font: 700 1.35rem/1.2 var(--head); font-stretch: 87%; text-decoration: none; }
.guides a:hover { text-decoration: underline; }
.guides p { margin: .35rem 0 0; color: var(--muted); }

/* footer */
.foot { background: var(--night); color: #c5cdda; padding: 2.5rem 0 3rem; font-size: .95rem; }
.foot a { color: #fff; margin-right: 1.2rem; }
.foot .fine { color: #8d98ab; }

@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .pick { grid-template-columns: 1fr; gap: .8rem; }
  .pick .pic img { max-width: 11rem; }
  .lookup-row { flex-direction: column; }
  .lookup button { padding: .9rem; }
  .hero-in { padding-top: 5rem; }
  th, td { padding: .5rem; }
  .enc thead, table.stack thead { display: none; }
  .enc, .enc tbody, .enc tr, .enc th, .enc td, table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; text-align: left; }
  .enc tr, table.stack tr { border-bottom: 2px solid var(--rule); padding: .6rem 0; }
  .enc tr[hidden] { display: none; }
  .enc th, .enc td, table.stack th, table.stack td { border: 0; padding: .15rem .5rem; }
  .enc th { font-size: 1.05rem; }
  .enc td[data-l]::before, table.stack td[data-l]::before, table.stack th[data-l]::before { content: attr(data-l) ": "; font: 600 .85rem var(--head); color: var(--muted); }
  table.stack tr[hidden] { display: none; }
  .chart svg { display: none; }
  .chart::before { content: "The chart shows on wider screens. The same numbers are in the table on this page."; display: block; font: .9rem var(--head); color: var(--muted); }
  .enc .srcs a { display: inline; margin-right: .6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* section tabs: the pages of the section you're in, under the header */
.tabs { background: var(--night-2); border-top: 1px solid rgba(255,255,255,.08); }
.tabs-in { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; }
.tabs a { font: 500 .95rem/1 var(--head); color: #c9d2df; text-decoration: none; padding: .8rem 0 .7rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { color: #fff; }
.tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--lcd); }
.top nav a[aria-current="true"] { color: var(--lcd); }

/* home: answers from every section side by side, then a card per section */
.home-result { margin-top: 2rem; }
.answer-for { margin: 0; padding: 1rem 1.4rem; font: 500 1.05rem/1.3 var(--head); border-bottom: 1px solid var(--rule); max-width: none; }
.answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.answer { padding: 1.2rem 1.4rem 1.4rem; }
.answer + .answer { border-left: 1px solid var(--rule); }
.answer h3 { margin: 0 0 .7rem; font-size: 1.3rem; }
.answer p { font-size: 1.02rem; }
.screen.small { font-size: 1.05rem; padding: .8rem 1rem; border-radius: 3px; }
.pick-line { font-weight: 600; }
a.more { font: 700 1rem/1.2 var(--head); }
.sec-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem; }
.sec-card { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.sec-photo { margin: 0; }
.sec-photo img { width: 100%; height: 13rem; object-fit: cover; display: block; border-radius: 0; }
.sec-photo figcaption { padding: .3rem 1.2rem 0; }
.sec-body { padding: .6rem 1.2rem 1.3rem; }
.sec-body h3 { margin: .3rem 0 .4rem; font-size: 1.5rem; }
.sec-body h3 a { text-decoration: none; }
.sec-body p { font-size: 1.02rem; color: var(--muted); }
.sec-links { list-style: none; padding: 0; margin: .6rem 0 0; }
.sec-links li { border-top: 1px solid var(--rule); }
.sec-links a { display: block; padding: .6rem 0; font: 600 1.02rem/1.2 var(--head); text-decoration: none; }
.sec-links a:hover { color: var(--amber-ink); }
td.ok { color: var(--green); font-family: var(--head); font-weight: 600; }
td.flag { font-family: var(--head); }
@media (max-width: 640px) { .answer + .answer { border-left: 0; border-top: 1px solid var(--rule); } }
.sys td.txt { text-align: left; font-family: var(--body); font-weight: 400; font-size: .9rem; }
.sys td.txt a { color: var(--ink); }
.sys td.unk { color: var(--muted); font-weight: 500; }

/* hub parts */
.crumbs ol { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; font: 500 .88rem/1.3 var(--head); color: var(--muted); max-width: none; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--rule); }
.crumbs a { color: var(--muted); }
.crumbs + h1 { margin-top: .8rem; }
.cite { font: 500 .8rem var(--head); color: var(--muted); white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.tile { display: grid; grid-template-columns: 4.5rem 1fr; grid-template-rows: auto auto 1fr; column-gap: .9rem; padding: 1rem; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; text-decoration: none; color: var(--ink); }
.tile:hover { border-color: var(--amber); }
.tile img { grid-row: 1 / 4; width: 4.5rem; height: 4.5rem; object-fit: contain; }
.tile-t { font: 700 1.1rem/1.2 var(--head); color: var(--night); }
.tile-l { font-size: .95rem; color: var(--muted); margin: .2rem 0 .4rem; }
.tile-pick { font: 600 .9rem/1.2 var(--head); color: var(--amber-ink); align-self: end; }
.verdict-box { border-left: 5px solid var(--amber); background: var(--card); padding: 1rem 1.3rem; margin: 1.5rem 0; max-width: var(--measure); }
.verdict-box p { margin: .3rem 0; }
.badge { display: inline-block; font: 700 .8rem/1 var(--head); padding: .3rem .5rem; border-radius: 3px; white-space: nowrap; }
.b-ok { background: #e3f1e8; color: var(--green); } .b-lic { background: #fbe6c8; color: #6d3a05; } .b-bad { background: #f6dcd8; color: var(--red); } .b-unk { background: #eceef2; color: var(--muted); }
.chart { margin: 1.5rem 0; max-width: 46rem; } .chart svg { width: 100%; height: auto; display: block; }
.faq h3 { font-size: 1.15rem; }
.hero .crumbs a, .hero .crumbs li { color: #c9d2df; }
.sub-hero { min-height: min(70vh, 36rem); }
.finds { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.2rem; }
.find { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--amber); border-radius: 4px; padding: 1rem 1.2rem; }
.find p { font-size: 1rem; margin: .3rem 0; }
.find-n { font: 800 1.6rem/1.1 var(--head); font-stretch: 87%; color: var(--night); margin: 0 !important; }
.lic .why { display: block; font-size: .9rem; color: var(--muted); margin-top: .35rem; }
.lic .srcs .fine { display: block; margin: .3rem 0 0; }
.fccbox { display: inline-flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .4rem; }
.fccbox input { font: 500 1rem var(--mono); padding: .45rem .6rem; border: 1px solid var(--muted); border-radius: 4px; }
.cta.small { padding: .55rem .9rem; font-size: .95rem; }
.lic .form, .enc .form { display: block; font: 400 .8rem/1.2 var(--head); color: var(--muted); margin-top: .2rem; }
body:not(.has-hero) .sub-hero { min-height: min(62vh, 32rem); }
.foot .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 2rem; }
.foot .wrap > p:first-child, .foot .foot-links, .foot .fine { grid-column: 1 / -1; }
.foot-sec ul { list-style: none; padding: 0; margin: .3rem 0 0; }
.foot-sec li { margin: .25rem 0; }
.foot-h { margin: 0; font: 700 1rem var(--head); }
.foot-sec a { margin-right: 0; }
.sub-hero .hero-photo::after { background: linear-gradient(180deg, rgba(20,33,58,.35) 0%, rgba(20,33,58,.62) 45%, rgba(20,33,58,.92) 92%); }

.tile.noimg { grid-template-columns: 1fr; }
@media (max-width: 640px) { .tabs-in { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); padding-right: 2rem; } }
.gloss dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; } .gloss dt { font: 700 1rem var(--head); color: var(--night); } .gloss dd { margin: 0; }
@media (max-width: 640px) { .gloss dl { grid-template-columns: 1fr; } .gloss dd { margin-bottom: .5rem; } }

@media (max-width: 640px) { table.stack caption { display: block; width: auto; text-align: left; } }
.pos-low img { object-position: 50% 100%; }
