/* Colors come from the app: page, panel and card greys, the LED green, and the Learn, Coach, Training and P25 accents. */
:root {
  color-scheme: dark;
  --page: #141414;
  --card: #212121;
  --line: #3d3d3d;
  --text: #ebebeb;
  --muted: #a6a6a6;
  --led: #6bff73;
  --led-dark: #0a140c;
  --learn: #32d2f5;
  --coach: #ffc733;
  --training: #d9991a;
  --ptt: #731414;
  --p25: #264dbf;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 18px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--learn); text-underline-offset: 3px; }
a:hover { color: #7fe4fa; }
a:focus-visible { outline: 2px solid var(--coach); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid #262626; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { height: 40px; width: auto; border-radius: 6px; }
.site-nav { display: flex; gap: 22px; font-size: 16px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 36px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 240px; width: min(1300px, 130%); height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(107, 255, 115, .13), rgba(107, 255, 115, 0)); pointer-events: none;
}
.hero > * { position: relative; }
.led-label {
  display: inline-block; margin: 0 0 18px; color: var(--led); font: 600 15px/1.4 var(--mono); letter-spacing: .14em;
  text-transform: uppercase; text-shadow: 0 0 12px rgba(107, 255, 115, .5);
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 700; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); margin-inline: auto; }
.lede { max-width: 42em; margin: 14px auto 0; color: #c9c9c9; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 20px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--training);
  color: #141414; font-weight: 700;
}
.text-link { font-weight: 600; }
.radio-stage { width: min(1240px, 100% - 32px); margin: 28px auto 0; }
.radio-stage img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .65)); }
.radio-stage figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* Display strip, styled like the radio's two-line screen */
.display-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; padding: 8px; border: 2px solid #000; border-radius: 12px;
  background: var(--led-dark); box-shadow: inset 0 0 24px #000;
}
.display-cell { padding: 18px 16px; text-align: center; }
.display-cell + .display-cell { border-left: 1px solid #16261a; }
.display-cell strong {
  display: block; color: var(--led); font: 700 clamp(30px, 4vw, 44px)/1.1 var(--mono); text-shadow: 0 0 14px rgba(107, 255, 115, .55);
}
.display-cell span { display: block; margin-top: 6px; color: #9ed8a3; font: 500 13px/1.35 var(--mono); letter-spacing: .04em; text-transform: uppercase; }

/* Sections */
section { padding: 72px 0; }
section h2 { font-size: clamp(32px, 4.6vw, 52px); }
.section-intro { max-width: 44em; margin: 18px 0 0; color: #c9c9c9; font-size: 20px; line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip .split-copy { order: 2; }
.split-copy p { margin: 18px 0 0; color: #c9c9c9; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid #2c2c2c; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.shot.narrow { max-width: 560px; margin-inline: auto; border-radius: 28px; }

.tinted-learn .led-label { color: var(--learn); text-shadow: 0 0 12px rgba(50, 210, 245, .45); }
.tinted-coach .led-label { color: var(--coach); text-shadow: 0 0 12px rgba(255, 199, 51, .4); }
.tinted-training .led-label { color: var(--training); text-shadow: 0 0 12px rgba(217, 153, 26, .45); }

/* Lists of short items */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 28px; }
.mode { padding: 22px; border-top: 3px solid var(--training); border-radius: 10px; background: var(--card); }
.mode h3 { font-size: 22px; }
.mode p { margin: 8px 0 0; color: #c9c9c9; font-size: 17px; line-height: 1.5; }

.checks { margin: 22px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; margin-top: 12px; padding-left: 28px; color: #d6d6d6; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--led); box-shadow: 0 0 10px rgba(107, 255, 115, .7); }

.radios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; align-items: start; }
.radio-card { margin: 0; }
.radio-card img { width: 100%; }
.radio-card figcaption { margin-top: 12px; color: #c9c9c9; font-size: 17px; }
.radio-card strong { color: var(--text); }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tool { padding: 24px; border: 1px solid #2c2c2c; border-radius: 12px; background: var(--card); }
.tool h3 { font-size: 22px; }
.tool p { margin: 10px 0 0; color: #c9c9c9; font-size: 17px; line-height: 1.5; }

.closing { text-align: center; }
.closing h2 { margin-inline: auto; }
.closing .section-intro { margin-inline: auto; }

/* Footer */
.site-footer { margin-top: 24px; padding: 40px 0 56px; border-top: 1px solid #262626; color: var(--muted); font-size: 15px; line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 18px; font-size: 16px; }
.site-footer p { max-width: 60em; margin: 0; }

/* Support and privacy */
.document { width: min(720px, 100% - 32px); margin: 0 auto; padding: 56px 0 40px; }
.document h1 { font-size: clamp(36px, 6vw, 52px); }
.document .updated { margin: 12px 0 0; color: var(--muted); }
.document h2 { margin-top: 40px; font-size: 22px; letter-spacing: -.01em; line-height: 1.25; }
.document p { margin: 12px 0 0; color: #d6d6d6; }
.contact-card { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--led); border-radius: 8px; background: var(--card); }
.contact-card p { margin: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  body { font-size: 17px; }
  section { padding: 52px 0; }
  .hero { padding-top: 44px; }
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split.flip .split-copy { order: 0; }
  .modes, .tools { grid-template-columns: minmax(0, 1fr); }
  .radios { grid-template-columns: minmax(0, 1fr); }
  .display-strip { grid-template-columns: repeat(2, 1fr); }
  .display-cell:nth-child(3) { border-left: 0; }
  .display-cell:nth-child(n + 3) { border-top: 1px solid #16261a; }
  .section-intro { font-size: 18px; }
}

@media (max-width: 480px) {
  .site-nav { gap: 14px; font-size: 15px; }
  .brand img { height: 34px; }
  .radio-stage { width: 100%; }
  .led-label { font-size: 13px; }
}
