/* ============================================================
   SCANCHQ.COM — Main Stylesheet
   /assets/css/scanchq.css
   ============================================================ */

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --bg-primary:    #0a0d12;
  --bg-secondary:  #111520;
  --bg-card:       #141926;
  --bg-card-alt:   #0f1420;
  --border:        #1e2a3a;
  --border-accent: #1c3a5e;
  --accent-blue:   #1a7fd4;
  --accent-cyan:   #00c8e0;
  --accent-amber:  #f5a623;
  --accent-red:    #e03535;
  --accent-green:  #21c97a;
  --text-primary:  #d8e4f0;
  --text-secondary:#7a92aa;
  --text-submuted: #445566;
  --text-muted:    #76818c;
  --font-display:  'Rajdhani', sans-serif;
  --font-mono:     'Share Tech Mono', monospace;
  --font-body:     'Noto Sans', sans-serif;
  --radius:        4px;
  --scanner-w:     640px;
  --codes-max-w:   380px;
  --scanner-h:     620px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent-cyan); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }

/* CRT scanline overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,.04) 2px, rgba(0,0,0,.04) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

.rss-excerpt {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.rss-read-more {
  margin-left: 4px;
  color: var(--accent-green);
  font-size: 11px;
  white-space: nowrap;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.site-wrapper { max-width: 1600px; margin: 0 auto; padding: 0 12px; }
.section-gap  { margin-bottom: 10px; }

/* ── HEADER ──────────────────────────────────────────────── */
header {
  background: linear-gradient(180deg, #060910 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border-accent);
  padding: 20px 20px 10px 20px;
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon  { width: 48px; height: 48px; flex-shrink: 0; margin-bottom: 12px; }
.logo-text  { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: 3px; color: #fff; text-transform: uppercase; }
.logo-text span { color: var(--accent-cyan); }
.logo-sub   { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 2px; margin-top: -4px; text-transform: uppercase; }

/* Status badge — dynamic states */
.status-center { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.status-badge  {
  display: flex; align-items: center; gap: 7px;
  border-radius: 20px; padding: 4px 14px;
  transition: background .4s, border-color .4s;
}
/* LIVE state (default) */
.status-badge.state-live {
  background: rgba(33,201,122,.1);
  border: 1px solid rgba(33,201,122,.35);
}
.status-badge.state-live .status-dot    { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.status-badge.state-live .status-label  { color: var(--accent-green); }

/* OFFLINE state */
.status-badge.state-offline {
  background: rgba(224,53,53,.1);
  border: 1px solid rgba(224,53,53,.35);
}
.status-badge.state-offline .status-dot   { background: var(--accent-red); box-shadow: 0 0 8px var(--accent-red); animation: none; }
.status-badge.state-offline .status-label { color: var(--accent-red); }

.tgheader {
    text-align: center; 
    padding: 8px;
    color: var(--text-primary);
}
.tgid {
    text-align: left;
    padding: 8px;
    font-size: 0.85rem;
    color: #00c8e0;
}
.tgname {
    text-align: left;
    padding: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
}
.tgled {
    text-align: center;
    font-size: 1rem;
}
.led-green {
    color: var(--accent-green);
}
.led-off {
    color: #5b5b5b;
}

/* CHECKING state */
.status-badge.state-checking {
  background: rgba(245,166,35,.08);
  border: 1px solid rgba(245,166,35,.3);
}
.status-badge.state-checking .status-dot   { background: var(--accent-amber); box-shadow: 0 0 8px var(--accent-amber); }
.status-badge.state-checking .status-label { color: var(--accent-amber); }

.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.85)} }
.status-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.status-sub   { font-family: var(--font-mono); font-size: 16px; font-weight: bold; color: #12de28; letter-spacing: 1px; }

.header-location { text-align: right; }
.location-county { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-primary); letter-spacing: 1px; }
.location-state  { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 2px; }

/* ── SCANNER BLOCKED NOTICE ──────────────────────────────── */
/*
  Shown when the iframe cannot load because source.scanchq.com
  sends X-Frame-Options: SAMEORIGIN (blocks embedding on desktop
  browsers; mobile browsers are more permissive, which is why
  it works on phone but not desktop).
  The notice replaces the scanner area when blocked.
*/
.scanner-blocked-notice {
  display: none; /* shown by JS when iframe fails */
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  height: var(--scanner-h);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px;
}
.scanner-blocked-notice .blocked-icon  { font-size: 36px; opacity: .5; }
.scanner-blocked-notice .blocked-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent-amber); text-transform: uppercase;
}
.scanner-blocked-notice .blocked-body  { font-size: 13px; color: var(--text-secondary); max-width: 480px; line-height: 1.7; }
.scanner-blocked-notice .blocked-link  {
  display: inline-block;
  background: var(--accent-blue); color: #fff;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 22px; border-radius: var(--radius);
  text-decoration: none; transition: background .2s;
}
.scanner-blocked-notice .blocked-link:hover { background: var(--accent-cyan); color: #000; }

/* ── SCANNER SECTION ─────────────────────────────────────── */
.scanner-section { padding: 10px 0; }
.scanner-row     { display: flex; gap: 10px; align-items: flex-start; }

.scanner-wrap {
  flex: 0 0 var(--scanner-w); width: var(--scanner-w); max-width: 100%;
  background: #000;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,200,224,.07), 0 0 0 1px rgba(26,127,212,.15);
  position: relative;
}
.scanner-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-blue), var(--accent-cyan), transparent);
  animation: scanbar 3s ease-in-out infinite;
}
@keyframes scanbar { 0%,100%{opacity:.4}50%{opacity:1} }
.scanner-wrap iframe { display: block; width: 100%; height: var(--scanner-h); border: none; }

/* Sidebar — hidden until ≥940px */
.scanner-sidebar { 
  flex: 1 1 auto; 
  min-width: 0; 
  display: none; 
  height: calc(var(--scanner-h) + 2px); /* Match scanner height */
  flex-direction: column; 
  gap: 10px; 
}

.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  height: calc(var(--scanner-h) + 2px);
}
.sidebar-card .card-header {
  background: var(--bg-card-alt); border-bottom: 1px solid var(--border);
  padding: 8px 14px; display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.sidebar-card .card-body { flex: 1 1 auto; overflow-y: auto; padding: 10px 14px; min-height: 0; }
.sidebar-card .card-body::-webkit-scrollbar { width: 4px; }
.sidebar-card .card-body::-webkit-scrollbar-track { background: var(--bg-card-alt); }
.sidebar-card .card-body::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 2px; }

/* Tier 2 (940–1159px): show codes sidebar */
@media (min-width: 940px) {
  .scanner-wrap    { max-width: var(--scanner-w); }
  .scanner-sidebar { display: flex; flex-direction: column; }
  .sidebar-codes   { display: flex; flex-direction: column; max-height:380px; margin-bottom: 10px;}
  .sidebar-ids     { display: flex; flex-direction: column; max-height:232px;}
  .sidebar-rss     { display: none; }
}
/* Tier 3 (≥1160px): swap to RSS sidebar */
@media (min-width: 1160px) {
  .sidebar-codes   { display: none; }
  .sidebar-ids     { display: none; }
  .sidebar-rss     { display: flex; flex-direction: column; }
}

/* ── STANDARD CARD ───────────────────────────────────────── */
.card        { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card-header { background: var(--bg-card-alt); border-bottom: 1px solid var(--border); padding: 8px 14px; display: flex; align-items: center; justify-content: space-between; }
.card-title  { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--accent-cyan); text-transform: uppercase; }
.card-body   { padding: 10px 14px; height: 320px; overflow-y: auto; }
.card-body::-webkit-scrollbar { width: 4px; }
.card-body::-webkit-scrollbar-track { background: var(--bg-card-alt); }
.card-body::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 2px; }

/* ── INFO ROW ────────────────────────────────────────────── */
.info-row { display: flex; gap: 10px;  align-items: stretch; }
.info-codes { flex: 0 0 var(--codes-max-w); max-width: var(--codes-max-w); }
.info-ids   { flex: 0 0 var(--codes-max-w); max-width: var(--codes-max-w); }
.info-rss   { flex: 1 1 0; min-width: 0; }
.info-map   { flex: 1 1 0; min-width: 0; }

/* Tier 2: codes in sidebar — hide from info row, show RSS+map */
@media (min-width: 940px) and (max-width: 1159px) { 
  .info-codes { display: none; }
  .info-ids   { display: none; }
}

/* Tier 3: RSS in sidebar — hide RSS, show codes+map */
@media (min-width: 1160px) {
  .info-rss   { display: none; }
  .info-codes { display: flex; flex-direction: column; }
}

/* ── 10-CODES TABLE ──────────────────────────────────────── */
.codes-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 12px; }
.codes-table tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.codes-table tr:last-child { border-bottom: none; }
.codes-table tr:hover { background: rgba(26,127,212,.08); }
.codes-table td { padding: 5px 6px; vertical-align: top; }
.code-id   { color: var(--accent-amber); white-space: nowrap; width: 54px; font-weight: bold; }
.code-desc { color: var(--text-secondary); }

/* ── RADIO IDs───────────────────────────────────────────── */
.category-row td {
  background: var(--bg-card-alt);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 6px !important;
  border-bottom: 1px solid var(--border) !important;
}

.info-ids .code-id, 
.sidebar-ids .code-id {
  width: 65px; 
}

/* ── RSS ─────────────────────────────────────────────────── */
.rss-list { list-style: none; }
.rss-item { padding: 9px 0; border-bottom: 1px solid var(--border); }
.rss-item:last-child { border-bottom: none; }
.rss-item a { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text-primary); display: block; margin-bottom: 3px; line-height: 1.4; }
.rss-item a:hover { color: var(--accent-cyan); text-decoration: none; }
.rss-meta   { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); display: flex; gap: 10px; }
.rss-source { color: var(--accent-blue); }
.rss-loading { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-align: center; padding: 30px 0; letter-spacing: 1px; }
.rss-error   { font-family: var(--font-mono); font-size: 11px; color: var(--accent-red); text-align: center; padding: 20px 0; line-height: 2; }

/* ── MAP ─────────────────────────────────────────────────── */
.map-frame-wrap { height: 320px; position: relative; }
.map-frame-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.map-overlay-btn {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--accent-blue); color: #fff;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius);
  text-decoration: none; transition: background .2s;
}
.map-overlay-btn:hover { background: var(--accent-cyan); color: #000; text-decoration: none; }

/* ── LAUNCH BANNER─────────────────────────────────────────── */
.launch-banner {

    /*padding: 15px;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    /*gap: 5px;*/
}

/* ── 2-COL ROW ───────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }

/* ── ARTICLES ────────────────────────────────────────────── */
.article-list { list-style: none; }
.article-item { padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.article-item:last-child { border-bottom: none; }
.article-tag { flex-shrink:0; font-family:var(--font-mono); font-size:9px; letter-spacing:1px; text-transform:uppercase;  border:1px solid; padding:2px 6px; border-radius:2px; height:fit-content; margin-top:2px; }
.article-tag.police { background:rgba(26,127,212,.15); border-color:rgba(26,127,212,.3); color:var(--accent-blue); }
.article-tag.fire { background:rgba(224,53,53,.12); border-color:rgba(224,53,53,.3); color:var(--accent-red); }
.article-tag.ems  { background:rgba(33,201,122,.12); border-color:rgba(33,201,122,.3); color:var(--accent-green); }
.article-tag.scanner  { background:rgba(255, 193, 7,.12); border-color:rgba(255, 193, 7,.3); color: orange; }
.article-info a { font-size:14px; font-weight:600; color:var(--text-primary); display:block; margin-bottom:3px; line-height:1.4; }
.article-info a:hover { color:var(--accent-cyan); text-decoration:none; }
.article-info p { font-size:12px; color:var(--text-secondary); line-height:1.4; }


/* ── AGENCY SPECIFIC OVERRIDES ───────────────────────────── */

/* Disable the default card-body scroll so the columns can take over */
.agency-card-context .card-body {
  height: 320px;     /* Match your standard card height */
  overflow: hidden;  /* Hide the main scrollbar */
  padding: 10px;     /* Tighten padding for column layout */
}

.agency-columns-wrapper {
  display: flex;
  gap: 10px;
  height: 100%;      /* Fill the 320px card-body */
}

.agency-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* THE FROZEN HEADER */
.agency-card-context .col-header {
  flex-shrink: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-amber); /* Matches 10-code highlights */
  padding-bottom: 8px;
  letter-spacing: 1px;
}

/* THE INDEPENDENT SCROLL */
.agency-card-context .scroll-container {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}

/* CLEAN SCROLLBARS FOR COLUMNS */
.agency-card-context .scroll-container::-webkit-scrollbar {
  width: 3px;
}
.agency-card-context .scroll-container::-webkit-scrollbar-thumb {
  background: var(--border-accent);
  border-radius: 10px;
}

/* BUTTON STYLING (The 'Scanline' Look) */
.agency-btn {
  display: block;
  padding: 8px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.agency-btn:hover { opacity: 0.8; text-decoration: none; color: #000; }

.police-col .agency-btn { background: #BFDBFE; border: 1px solid #1D4ED8; }
.fire-col .agency-btn   { background: #FECACA; border: 1px solid #B91C1C; }
.ems-col .agency-btn    { background: #BBF7D0; border: 1px solid #15803D; }

/* ── AFFILIATE ───────────────────────────────────────────── */
/* Main Card Container */
.agency-card {
  display: flex;
  justify-content: space-between;
  background-color: #111827; /* Dark navy/slate background */
  padding: 20px;
  gap: 15px;
  width: 100%;
  max-width: 900px; 
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Individual Column Wrapper */
.agency-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Column Headers */
.col-header {
  color: #FBBF24; /* Yellow */
  text-align: center;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* * THE COMBINATION LOCK MECHANIC
 * Fixed height + overflow-y creates the independent scrolling
 */
.scroll-container {
  height: 350px; /* Adjust this to fit your section card */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px; /* Spacing between buttons */
  padding-right: 5px; 
}

/* Custom Webkit Scrollbar for a cleaner UI */
.scroll-container::-webkit-scrollbar {
  width: 6px;
}
.scroll-container::-webkit-scrollbar-track {
  background: #1F2937;
}
.scroll-container::-webkit-scrollbar-thumb {
  background: #4B5563;
  border-radius: 4px;
}

/* Base Button Styling */
.agency-btn {
  display: block;
  padding: 12px 10px;
  text-align: center;
  text-decoration: none;
  color: #111827; /* Dark text */
  font-weight: 600;
  border: 2px solid transparent;
  transition: filter 0.2s, transform 0.1s;
}

.agency-btn:active {
  transform: scale(0.98); /* Click effect */
}

.agency-btn:hover {
  filter: brightness(0.9);
}

/* Color Coding based on Agency Type */
.police-col .agency-btn {
  background-color: #BFDBFE; /* Light Blue */
  border-color: #1D4ED8;
}

.fire-col .agency-btn {
  background-color: #FECACA; /* Light Red */
  border-color: #B91C1C;
}

.ems-col .agency-btn {
  background-color: #BBF7D0; /* Light Green */
  border-color: #15803D;
}

/* ── AFFILIATE ───────────────────────────────────────────── */
.affiliate-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.affiliate-item { background:var(--bg-card-alt); border:1px solid var(--border); border-radius:var(--radius); padding:10px; display:flex; flex-direction:column; gap:5px; transition:border-color .2s,transform .15s; }
.affiliate-item:hover { border-color:var(--accent-amber); transform:translateY(-1px); text-decoration:none; }
.affiliate-item:hover .aff-title { color:var(--accent-amber); }
.aff-icon  { font-size:20px; }
.aff-title { font-family:var(--font-display); font-size:12px; font-weight:600; color:var(--text-primary); letter-spacing:.5px; line-height:1.3; }
.aff-price { font-family:var(--font-mono); font-size:10px; color:var(--accent-amber); }
.aff-badge { font-family:var(--font-mono); font-size:9px; color:var(--text-muted); }

/* ── CHAT PLACEHOLDER ────────────────────────────────────── */
.chat-section   { gap:10px; }
.section-label  { font-family:var(--font-display); font-size:11px; font-weight:600; letter-spacing:3px; color:var(--text-muted); text-transform:uppercase; border-left:2px solid var(--accent-blue); padding-left:8px; margin-bottom:8px; }
.chat-placeholder { background:var(--bg-card); border:1px dashed var(--border-accent); border-radius:var(--radius); height:320px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; }
.chat-placeholder-icon  { font-size:28px; opacity:.4; }
.chat-placeholder-label { font-family:var(--font-mono); font-size:12px; color:var(--text-muted); letter-spacing:2px; text-transform:uppercase; }
.chat-placeholder-sub   { font-size:11px; color:var(--text-muted); opacity:.6; }


/* ── ADS ─────────────────────────────────────────────────── */
.ad-bar { background:var(--bg-card-alt); border:1px dashed var(--border); border-radius:var(--radius); height:90px; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.ad-bar span { font-family:var(--font-mono); font-size:10px; color:var(--text-muted); letter-spacing:2px; text-transform:uppercase; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background:var(--bg-card-alt); border-top:1px solid var(--border-accent); padding:16px 20px; margin-top:6px; }
.footer-inner { max-width:1600px; margin:0 auto; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; }
.footer-copyright { font-family:var(--font-mono); font-size:12px; color:var(--text-muted); letter-spacing:1px; }
.footer-links { display:flex; flex-wrap:wrap; gap:6px 18px; list-style:none; }
.footer-links li a { font-family:var(--font-mono); font-size:12px; color:var(--text-muted); letter-spacing:1px; text-transform:uppercase; transition:color .2s; }
.footer-links li a:hover { color:var(--accent-cyan); text-decoration:none; }
.footer-disclaimer { width:100%; font-size:11px; color:var(--text-muted); opacity:.6; border-top:1px solid var(--border); padding-top:10px; margin-top:6px; line-height:1.6; }

/* ── MOBILE (<940px) ─────────────────────────────────────── */
@media (max-width: 939px) {
  .scanner-wrap { flex:1 1 100%; width:100%; max-width:100%; }
  .scanner-wrap iframe { height:500px; }
  .info-row { flex-direction:column; }
  .info-codes,.info-rss,.info-map { flex:none; width:100%; max-width:100%; display:flex; flex-direction:column; }
  .two-col { grid-template-columns:1fr; }
  .header-inner { grid-template-columns:1fr auto; }
  .header-location { display:none; }
  .scanner-blocked-notice { height:500px; }
}

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
 
/* Hero band at top of about page */
.about-hero {
  padding: 52px 0 44px;
  text-align: center;
  position: relative;
}
 
/* Subtle horizontal rule below the hero */
.about-hero::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  margin: 32px auto 0;
}
 
.about-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}
 
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}
 
.about-hero-title span { color: var(--accent-cyan); }
 
.about-hero-tagline {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 1px;
}
 
/* Page body: constrained reading width centered */
.about-body {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 60px;
}
 
/* Opening paragraph — slightly larger lead text */
.about-lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
 
.about-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}
 
/* Pull-quote style sentence */
.about-pullquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--accent-cyan);
  background: rgba(0,200,224,.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-cyan);
}
 
/* Section cards — each major section of the about page */
.about-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
 
.about-section-header {
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
 
.about-section-icon {
  font-size: 20px;
  flex-shrink: 0;
}
 
.about-section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}
 
.about-section-body {
  padding: 20px 22px;
}
 
.about-section-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
 
.about-section-body p:last-child { margin-bottom: 0; }
 
/* Feature list inside a section */
.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
 
.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
 
.about-feature-bullet {
  flex-shrink: 0;
  margin-top: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}
 
.about-feature-content { flex: 1 1 auto; min-width: 0; }
 
.about-feature-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 3px;
}
 
.about-feature-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
}
 
/* Stats row — three quick-facts */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 0;
}
 
.about-stat {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}
 
.about-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  line-height: 1;
}
 
.about-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}
 
/* CTA box at bottom of about page */
.about-cta {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(26,127,212,.15) 0%, rgba(0,200,224,.08) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
 
.about-cta-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}
 
.about-cta-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 20px;
}
 
.about-cta-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.4);
  color: var(--accent-amber);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
 
.about-cta-btn {
  display: inline-block;
  background: var(--accent-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: var(--radius);
  box-shadow: 1px 1px 3px #20315b;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
 
.about-cta-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  transform: translateY(-1px);
  text-decoration: none;
}
 
/* Mobile adjustments for about page */
@media (max-width: 600px) {
  .about-hero   { padding: 36px 0 28px; }
  .about-stats  { grid-template-columns: 1fr; }
  .about-cta    { padding: 24px 16px; }
  .about-section-body { padding: 16px; }
  .about-section-header { padding: 12px 16px; }
}
 
/* ── LEGAL PAGE STYLES ─────────────────────────────── */
.legal-hero {
  padding: 48px 0 36px;
  text-align: center;
  position: relative;
}
.legal-hero::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  margin: 28px auto 0;
}
.legal-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}
.legal-hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}
.legal-hero-title span { color: var(--accent-cyan); }
.legal-meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* TOC nav */
.legal-toc {
  max-width: 860px;
  margin: 0 auto 20px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.legal-toc-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.legal-toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.legal-toc-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0,200,224,.07);
  border: 1px solid rgba(0,200,224,.2);
  border-radius: 2px;
  padding: 4px 12px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.legal-toc-links a:hover {
  background: rgba(0,200,224,.18);
  color: #fff;
  text-decoration: none;
}

/* Body container */
.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* Chapter divider */
.legal-chapter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 2px solid var(--accent-blue);
  padding-left: 10px;
  margin: 24px 0 10px;
  scroll-margin-top: 116px;
}

/* Section card */
.legal-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  scroll-margin-top: 100px;
}
.legal-section-header {
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-section-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-amber);
  letter-spacing: 2px;
  flex-shrink: 0;
}
.legal-section-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}
.legal-section-body {
  padding: 18px 20px;
}
.legal-section-body p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.legal-section-body p:last-child { margin-bottom: 0; }

/* Bullet list */
.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.legal-list:last-child { margin-bottom: 0; }
.legal-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.legal-list li::before {
  content: '▸';
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
}
.legal-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Sub-section label within a card */
.legal-sub-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin: 16px 0 8px;
}
.legal-sub-label:first-child { margin-top: 0; }

                    /* Notice / callout block */
                    .legal-notice {
                      background: rgba(224, 53, 53, 0.06);
                      border: 1px solid rgba(224, 53, 53, 0.3);
                      border-radius: var(--radius);
                      padding: 14px 18px;
                      margin-bottom: 14px;
                    }
                    .legal-notice-label {
                      font-family: var(--font-mono);
                      font-size: 9px;
                      letter-spacing: 3px;
                      text-transform: uppercase;
                      color: var(--accent-red);
                      margin-bottom: 8px;
                    }
                    .legal-notice p {
                      font-size: 12px !important;
                      color: var(--text-secondary) !important;
                      line-height: 1.7 !important;
                      margin-bottom: 8px !important;
                    }
                    .legal-notice p:last-child { margin-bottom: 0 !important; }

/* Warning callout (red) */
.legal-warn {
  background: rgba(224, 53, 53, 0.07);
  border: 1px solid rgba(224, 53, 53, 0.3);
  border-left: 3px solid var(--accent-red);
  border-radius: var(--radius);
  padding: 13px 16px;
  margin-bottom: 12px;
}
.legal-warn-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 7px;
}
.legal-warn p {
  font-size: 12px !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  margin-bottom: 0 !important;
}

/* Info callout (amber) */
.legal-note {
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-left: 3px solid var(--accent-amber);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 14px;
}
/* Info callout (blue) */
.legal-info-blue {
  background: rgba(26, 127, 212, 0.07);
  border: 1px solid rgba(26, 127, 212, 0.3);
  border-left: 3px solid var(--accent-blue);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 14px;
}
.legal-note-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 8px;
}
.legal-note p {
  font-size: 12px !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  margin-bottom: 8px !important;
}
.legal-info p:last-child { margin-bottom: 0 !important; }
/* Data type chips */
.data-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.data-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid;
}
.data-chip.identity  { background: rgba(0,200,224,.08); border-color: rgba(0,200,224,.3); color: var(--accent-cyan); }
.data-chip.contact   { background: rgba(26,127,212,.08); border-color: rgba(26,127,212,.3); color: var(--accent-blue); }
.data-chip.prefs     { background: rgba(245,166,35,.08); border-color: rgba(245,166,35,.3); color: var(--accent-amber); }
.data-chip.billing   { background: rgba(33,201,122,.08); border-color: rgba(33,201,122,.3); color: var(--accent-green); }
/*.data-chip.analytics { background: rgba(224,53,53,.08);  border-color: rgba(224,53,53,.3);  color: var(--accent-red); }*/

/* Rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.rights-item {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.rights-item-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.rights-item-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.6;
}
/* Rdio scanner guide table */
/*.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 14px;
}
.guide-table th {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-amber);
  text-align: left;
}
.guide-table td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  vertical-align: top;
}
.guide-table td:first-child {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  white-space: nowrap;
  width: 160px;
}
.guide-table tr:hover td { background: rgba(26, 127, 212, 0.05); }
*/

/* LED legend */
.led-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.led-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}
.led-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.led-dot.green  { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
.led-dot.amber  { background: var(--accent-amber); box-shadow: 0 0 6px var(--accent-amber); }
.led-dot.red    { background: var(--accent-red);   box-shadow: 0 0 6px var(--accent-red); }

/* Contact card */
.legal-contact {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(26,127,212,.1) 0%, rgba(0,200,224,.05) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.legal-contact-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.legal-contact p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.legal-contact a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
}

@media (max-width: 600px) {
  .legal-hero { padding: 30px 0 22px; }
  .legal-section-body { padding: 14px; }
  .legal-section-header { padding: 10px 14px; }
  /*.guide-table td:first-child { width: auto; white-space: normal; }*/
  .rights-grid { grid-template-columns: 1fr; }
  .legal-toc { padding: 12px 14px; }
}

/* ── CONTACT PAGE ─────────────────────────────────────── */
.contact-hero {
  padding: 48px 0 36px;
  text-align: center;
  position: relative;
}
.contact-hero::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  margin: 28px auto 0;
}
.contact-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}
.contact-hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}
.contact-hero-title span { color: var(--accent-cyan); }
.contact-hero-sub {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* ── CONTACT BODY ─────────────────────────────────────── */
.contact-body {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* ── FORM CARD ────────────────────────────────────────── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-card-header {
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}
.contact-card-note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.contact-form-body {
  padding: 24px 22px;
}

/* ── FORM FIELDS ──────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 7px;
}
.form-label .label-note {
  color: var(--text-muted);
  font-size: 9px;
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0;
}
.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(0,200,224,.12);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

/* ── SUBJECT CHECKBOXES ───────────────────────────────── */
.subject-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.subject-option {
  position: relative;
}
.subject-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.subject-option label {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
  transition: border-color .2s, background .2s, color .2s;
  user-select: none;
}
.subject-option label::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--border-accent);
  border-radius: 2px;
  background: var(--bg-card-alt);
  transition: background .2s, border-color .2s;
}
.subject-option input:checked + label {
  border-color: var(--accent-cyan);
  background: rgba(0,200,224,.07);
  color: var(--accent-cyan);
}
.subject-option input:checked + label::before {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.subject-option input:focus-visible + label {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* ── CHAR COUNTER ─────────────────────────────────────── */
.field-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 5px;
}
.char-count {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.char-count.warn { color: var(--accent-amber); }
.char-count.over { color: var(--accent-red); }

/* ── FORM FOOTER ──────────────────────────────────────── */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.form-privacy-note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: .5px;
  line-height: 1.6;
  flex: 1;
}
.form-privacy-note a {
  color: var(--accent-blue);
}
.btn-submit {
  flex-shrink: 0;
  background: var(--accent-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 26px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover {
  background: var(--accent-cyan);
  color: #000;
  transform: translateY(-1px);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* ── SUCCESS / ERROR STATES ───────────────────────────── */
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .5px;
  line-height: 1.6;
}
.form-status.success {
  display: block;
  background: rgba(33,201,122,.1);
  border: 1px solid rgba(33,201,122,.35);
  color: var(--accent-green);
}
.form-status.error {
  display: block;
  background: rgba(224,53,53,.1);
  border: 1px solid rgba(224,53,53,.3);
  color: var(--accent-red);
}

/* ── VALIDATION ───────────────────────────────────────── */
.form-input.invalid,
.form-textarea.invalid {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 2px rgba(224,53,53,.12);
}
.field-error {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent-red);
  letter-spacing: .5px;
  margin-top: 4px;
  display: none;
}
.field-error.visible { display: block; }

/* ── HONEYPOT ─────────────────────────────────────────── */
.hp-field { display: none !important; }

@media (max-width: 600px) {
  .contact-form-body { padding: 18px 14px; }
  .subject-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .btn-submit { text-align: center; }
}

/* ============================================================
   SCANCHQ.COM — FAQ Page Styles
   /assets/css/faq.css
   Add to main scanchq.css or import as a separate sheet.
   ============================================================ */

/* ── FAQ HERO ────────────────────────────────────────────── */
.faq-hero {
  padding: 52px 0 44px;
  text-align: center;
  position: relative;
}

.faq-hero::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  margin: 32px auto 0;
}

.faq-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.faq-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}

.faq-hero-title span { color: var(--accent-cyan); }

.faq-hero-tagline {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* ── FAQ BODY ────────────────────────────────────────────── */
.faq-body {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* ── CATEGORY LABEL ──────────────────────────────────────── */
.faq-category-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 2px solid var(--accent-blue);
  padding-left: 10px;
  margin-bottom: 10px;
}

.faq-cat-icon { font-size: 15px; }

/* ── ACCORDION WRAPPER ───────────────────────────────────── */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── ACCORDION ITEM ──────────────────────────────────────── */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--border-accent);
  box-shadow: 0 0 20px rgba(26, 127, 212, 0.08);
}

/* ── QUESTION BUTTON ─────────────────────────────────────── */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card-alt);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  color: inherit;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(26, 127, 212, 0.08);
}

.faq-question[aria-expanded="true"] {
  background: rgba(26, 127, 212, 0.1);
  border-bottom: 1px solid var(--border);
}

/* Question number badge */
.faq-q-number {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: bold;
  color: var(--accent-amber);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 2px;
  padding: 2px 6px;
  letter-spacing: 1px;
}

/* Question text */
.faq-q-text {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  line-height: 1.3;
}

.faq-question[aria-expanded="true"] .faq-q-text {
  color: var(--accent-cyan);
}

/* Chevron icon */
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.28s ease, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-chevron svg {
  width: 16px;
  height: 16px;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

/* ── ANSWER PANEL ─────────────────────────────────────────── */

/* 
  The panel uses max-height animation for smooth collapse.
  JS toggles the --faq-h CSS variable and aria-expanded.
*/
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.is-open {
  max-height: var(--faq-h, 600px);
}

.faq-answer-inner {
  padding: 18px 20px 20px 20px;
  border-top: 0; /* border comes from question[aria-expanded="true"] */
}

.faq-answer-inner p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ── ANSWER: AGENCY LIST ─────────────────────────────────── */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.faq-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-list-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(26, 127, 212, 0.15);
  border: 1px solid rgba(26, 127, 212, 0.3);
  color: var(--accent-blue);
  padding: 2px 6px;
  border-radius: 2px;
}

.faq-list-tag.police {
  background: rgba(26, 127, 212, 0.12);
  border-color: rgba(26, 127, 212, 0.3);
  color: #60a5fa;
}

.faq-list-tag.fire {
  background: rgba(224, 53, 53, 0.12);
  border-color: rgba(224, 53, 53, 0.3);
  color: var(--accent-red);
}

.faq-list-tag.ems {
  background: rgba(33, 201, 122, 0.12);
  border-color: rgba(33, 201, 122, 0.3);
  color: var(--accent-green);
}

/* ── ANSWER: CALLOUT BOX ─────────────────────────────────── */
.faq-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(33, 201, 122, 0.07);
  border: 1px solid rgba(33, 201, 122, 0.25);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-callout strong { color: var(--accent-green); }
.faq-callout-icon   { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── ANSWER: PRICING GRID ────────────────────────────────── */
.faq-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.faq-price-tier {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.faq-price-tier.prelaunch  { border-color: rgba(33, 201, 122, 0.35); }
.faq-price-tier.standard { border-color: rgba(26, 127, 212, 0.3); }

.faq-price-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.faq-price-tier.prelaunch .faq-price-label   { color: var(--accent-green); }
.faq-price-tier.standard .faq-price-label { color: var(--accent-blue); }

.faq-price-date {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.faq-price-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.faq-price-amount span {
  font-size: 16px;
  color: var(--text-muted);
}

.faq-price-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

/* ── FAQ CTA ─────────────────────────────────────────────── */
.faq-cta {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(26, 127, 212, 0.15) 0%, rgba(0, 200, 224, 0.08) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.faq-cta-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--accent-amber);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.faq-cta-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.faq-cta-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 22px;
}

.faq-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Secondary CTA button variant */
.faq-btn-secondary {
  background: transparent !important;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue) !important;
}

.faq-btn-secondary:hover {
  background: rgba(26, 127, 212, 0.15) !important;
  color: var(--accent-cyan) !important;
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .faq-hero            { padding: 36px 0 28px; }
  .faq-pricing-grid    { grid-template-columns: 1fr; }
  .faq-cta             { padding: 24px 16px; }
  .faq-question        { padding: 14px; gap: 10px; }
  .faq-answer-inner    { padding: 14px; }
  .faq-q-text          { font-size: 14px; }
}