/* Glyph Radio · the storefront (glyphradio.com/) and the hub (/radio) — Window GSP-30B · docs/BLUEPRINT-GSP30-GLYPH-RADIO-2-AND-EXACT-PRICING.md §2.6.
 * The storefront reads Light or Dark (the phone's scheme until the key is tapped); the hub is the radio's own dark console. Glyph Radio's
 * colours are the AG-LOGO5D mark's: Signal Amber #EA8C06 on warm night #120c04. Every key ≥ 44 px; no inline style anywhere. */
:root { --gr-amber: #ea8c06; --gr-amber-2: #c96a04; --gr-bg: #fbf7f0; --gr-s1: #ffffff; --gr-ink: #1d1407; --gr-ink-2: #5b4a33; --gr-line: #e5dccd; --gr-key: #f3ece1; --gr-on: #ffffff; --gr-text-amber: #8f4800; } /* WEB-2B: amber WORDS read >= 4.5 : 1 on cream (the fills keep the mark's amber) */
html[data-theme="dark"] { --gr-text-amber: #ea8c06; --gr-bg: #120c04; --gr-s1: #1e1609; --gr-ink: #fbf3e4; --gr-ink-2: #cbb894; --gr-line: #3a2c16; --gr-key: #2a1f0e; --gr-on: #1a1206; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) { --gr-text-amber: #ea8c06; --gr-bg: #120c04; --gr-s1: #1e1609; --gr-ink: #fbf3e4; --gr-ink-2: #cbb894; --gr-line: #3a2c16; --gr-key: #2a1f0e; --gr-on: #1a1206; } }
.gr-door, .gr-hub { margin: 0; background: var(--gr-bg); color: var(--gr-ink); font: 400 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.gr-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--gr-amber); color: #1a1206; font-weight: 700; }
.gr-skip:focus { left: 8px; }
.gr-key { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--gr-line); background: var(--gr-key); color: var(--gr-ink); font: 700 15px/1 system-ui, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 1.5px 0 rgba(0, 0, 0, 0.18); }
.gr-key--primary { border-color: var(--gr-amber-2); background: var(--gr-amber); color: #1a1206; }
.gr-key:focus-visible, .gr-theme__key:focus-visible, .gr-tab:focus-visible, .gr-person:focus-visible { outline: 3px solid var(--gr-amber); outline-offset: 2px; }
.gr-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; text-decoration: none; }
.gr-brand__name { font: 800 19px/1 system-ui, sans-serif; letter-spacing: -0.01em; }

/* ── the storefront ── */
.gr-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 10px clamp(14px, 4vw, 40px); background: var(--gr-bg); border-bottom: 1px solid var(--gr-line); }
.gr-top .gr-brand { margin-right: auto; }
.gr-theme { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; border-radius: 12px; background: var(--gr-key); box-shadow: inset 0 0 0 1px var(--gr-line); }
.gr-theme__key { min-width: 64px; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--gr-ink-2); font: 700 14px/1 system-ui, sans-serif; cursor: pointer; }
.gr-theme__key[aria-checked="true"] { background: var(--gr-s1); color: var(--gr-ink); box-shadow: inset 0 0 0 1px var(--gr-line), 0 1.5px 0 rgba(0, 0, 0, 0.18); }
#gr-main { max-width: 1160px; margin: 0 auto; padding: 0 clamp(14px, 4vw, 40px) 48px; }
.gr-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 6vw, 72px) 0; }
.gr-kicker { margin: 0 0 8px; color: var(--gr-text-amber); font: 700 13px/1.2 system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
html[data-theme="dark"] .gr-kicker { color: var(--gr-amber); }
.gr-hero h1 { margin: 0 0 14px; font: 800 clamp(30px, 4.6vw, 52px)/1.08 system-ui, sans-serif; letter-spacing: -0.02em; }
.gr-sub { margin: 0 0 22px; max-width: 38em; color: var(--gr-ink-2); font-size: 18px; }
.gr-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.gr-hero__art { display: grid; place-items: center; }
.gr-hero__mark { width: min(100%, 260px); height: auto; }
.gr-band { padding: 32px 0; border-top: 1px solid var(--gr-line); }
.gr-band h2 { margin: 0 0 16px; font: 800 26px/1.2 system-ui, sans-serif; }
.gr-band__sub { margin: 0 0 14px; color: var(--gr-ink-2); }
.gr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gr-card { padding: 18px; border-radius: 16px; background: var(--gr-s1); box-shadow: inset 0 0 0 1px var(--gr-line); }
.gr-card h3 { margin: 0 0 6px; font: 800 18px/1.25 system-ui, sans-serif; }
.gr-card p { margin: 0; color: var(--gr-ink-2); }
.gr-chans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gr-chan { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--gr-key); }
.gr-chan b { font: 800 15px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--gr-text-amber); }
html[data-theme="dark"] .gr-chan b { color: var(--gr-amber); }
.gr-suite__list { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 12px; padding: 0; list-style: none; }
.gr-suite__list li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.gr-foot { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 24px 16px 36px; border-top: 1px solid var(--gr-line); }
.gr-foot a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--gr-ink-2); }
@media (max-width: 720px) { .gr-hero { grid-template-columns: 1fr; } .gr-hero__art { order: -1; } .gr-hero__mark { width: 160px; } .gr-top .gr-key--top { display: none; } }

/* ── the hub: the radio's own console ── */
.gr-hub { --gr-bg: #120c04; --gr-s1: #1e1609; --gr-ink: #fbf3e4; --gr-ink-2: #cbb894; --gr-line: #3a2c16; --gr-key: #2a1f0e; min-height: 100vh; }
.gr-hub__top { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--gr-line); }
.gr-hub__top .gr-brand { margin-right: auto; }
.gr-hub__me { font: 700 14px/1 system-ui, sans-serif; color: var(--gr-ink-2); }
.gr-sign { max-width: 520px; margin: 40px auto; padding: 24px; border-radius: 18px; background: var(--gr-s1); box-shadow: inset 0 0 0 1px var(--gr-line); }
.gr-sign[hidden], .gr-hub__body[hidden], .gr-tabs[hidden] { display: none; }
.gr-sign__title { margin: 0 0 8px; font: 800 24px/1.2 system-ui, sans-serif; }
.gr-sign__say { margin: 0 0 16px; color: var(--gr-ink-2); }
.gr-sign__form { display: grid; gap: 12px; }
.gr-sign__name { margin: 0; font: 800 18px/1.2 system-ui, sans-serif; }
.gr-field { display: grid; gap: 4px; }
.gr-field__label { font: 600 13px/1.2 system-ui, sans-serif; color: var(--gr-ink-2); }
.gr-field__in { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--gr-line); background: var(--gr-bg); color: var(--gr-ink); font: 600 18px/1 system-ui, sans-serif; }
.gr-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.gr-person { display: grid; gap: 2px; min-height: 64px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--gr-line); background: var(--gr-key); color: var(--gr-ink); text-align: left; cursor: pointer; }
.gr-person__name { font: 700 15px/1.2 system-ui, sans-serif; }
.gr-person__role { font: 500 12px/1.2 system-ui, sans-serif; color: var(--gr-ink-2); }
.gr-hub__body { display: grid; gap: 16px; padding: 16px; min-width: 0; }
.gr-col { min-width: 0; }
.gr-chanbox { min-width: 0; }
.gr-call .chan-text { margin: 4px 0 0; }
.gr-hub #gs-ptt-pill, .gr-hub #gs-ptt-close { display: none; } /* the transceiver lives in its column: no pill, no close */
.gr-hub .gr-col--radio > #gs-ptt-hud.ptt-hud { position: static !important; inset: auto !important; transform: none !important; width: 100% !important; max-width: none !important; max-height: none !important; margin: 0; }

/* ── 1,280 px: Channels & Direct | Stream | Docked Transceiver ── */
@media (min-width: 1024px) {
  .gr-hub__body { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); align-items: start; }
  .gr-col--radio { position: sticky; top: 16px; }
  .gr-hub .chan-shell { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } /* the sheet's own sidebar starts at a 900 px container; the hub's column is narrower */
  .gr-hub .chan-ui .chan-rail { display: flex; flex-direction: column; height: auto; gap: 4px; padding: 6px; overflow: visible; }
  .gr-hub .chan-ui .chan-rail .chan-pill { flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; height: auto; min-height: 44px; padding: 6px 12px; }
  .gr-hub .chan-ui .chan-rail .chan-pill__note { display: block; }
}
/* ── under 1,024 px: ONE column and the 4-tab rail ── */
@media (max-width: 1023.98px) {
  .gr-hub { padding-bottom: 72px; }
  .gr-hub__body { padding: 10px; }
  .gr-tabs { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--gr-s1); box-shadow: 0 -1px 0 var(--gr-line); }
  .gr-tab { min-width: 0; min-height: 52px; border: 0; border-radius: 12px; background: transparent; color: var(--gr-ink-2); font: 700 13px/1.15 system-ui, sans-serif; cursor: pointer; }
  .gr-tab[aria-selected="true"] { background: var(--gr-key); color: var(--gr-ink); box-shadow: inset 0 0 0 1.5px var(--gr-amber); }
  .gr-hub[data-tab="radio"] .gr-col--chan, .gr-hub[data-tab="interp"] .gr-col--chan, .gr-hub[data-tab="channels"] .gr-col--radio, .gr-hub[data-tab="direct"] .gr-col--radio { display: none; }
  .gr-hub[data-tab="channels"] .chan-dm, .gr-hub[data-tab="direct"] .chan-rail { display: none; }
  .gr-hub[data-tab="direct"] .chan-main > :not(.chan-dm-thread) { display: none; }
}
@media (min-width: 1024px) { .gr-tabs { display: none; } }
