/* RadioB2B.co.uk Homepage Stylesheet
 * Self-contained architectural grid + editorial components. Requires tokens.css + fonts.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; line-height: 1.5; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--page);
  color: var(--ink-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
.hero-media picture, .pillar-photo picture, .tile picture, .webtv-stage-media picture { display: block; width: 100%; height: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
h1 { letter-spacing: -0.032em; line-height: 1.07; }
h2 { line-height: 1.13; }
h3 { line-height: 1.22; }
p  { margin: 0; max-width: 65ch; }

.mono { font-family: var(--font-mono); font-feature-settings: "zero" 1; }
.tnum { font-variant-numeric: tabular-nums; }
::selection { background: var(--brand-wash); color: var(--brand-deep); }

/* ── Focus & Skip ── */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 100;
  background: var(--brand); color: #fff; padding: .6rem 1.1rem;
  border-radius: var(--r-ctrl); text-decoration: none; font-size: .875rem; font-weight: 500;
  transition: top .18s ease;
}
.skip:focus { top: 1rem; }

/* ── Container & Band Rhythm ── */
.shell { max-width: 1240px; margin: 0 auto; padding-inline: 1.25rem; }
@media (min-width: 768px)  { .shell { padding-inline: 2rem; } }
@media (min-width: 1280px) { .shell { padding-inline: 2.5rem; } }

.band { padding-block: 4rem; }
@media (min-width: 768px) { .band { padding-block: 5.5rem; } }
.band-surface { background: var(--surface); border-block: 1px solid var(--line); }
section[id] { scroll-margin-top: 84px; }

/* ── Eyebrow (one named kicker, hero only; section headings carry themselves) ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-wash); border: 1px solid var(--brand-line);
  padding: .28rem .7rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .92rem; font-weight: 600; letter-spacing: -0.005em;
  padding: .68rem 1.2rem; border-radius: var(--r-ctrl);
  white-space: nowrap; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; min-height: 40px;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease,
              box-shadow .16s ease, transform .12s ease;
}
.btn-sm { padding: .48rem .95rem; font-size: .84rem; min-height: 36px; }
.btn-lg { padding: .85rem 1.45rem; font-size: .96rem; min-height: 46px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-strong); box-shadow: 0 8px 20px -6px rgba(37,99,235,.45); transform: translateY(-1px); }
.btn-primary:active { transform: scale(.985) translateY(0); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand-line); color: var(--brand-deep); background: var(--brand-wash); }
.btn-ghost:active { transform: scale(.985); }

/* ── Masthead (single-line at >= 1024px, max 68px) ── */
#masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
#masthead.pinned { box-shadow: 0 2px 14px rgba(15, 23, 42, .06); }
.mast-inner {
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand-mark {
  display: inline-flex; align-items: baseline; text-decoration: none; flex: none;
}
.brand-mark svg {
  width: 1.25rem; height: 1.25rem; margin-right: .42rem;
  position: relative; top: .19rem; flex: none;
}
.brand-mark .w-a { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.brand-mark .w-b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.03em; color: var(--brand); }

.mast-nav { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1024px) { .mast-nav { display: flex; } }
@media (min-width: 1200px) { .mast-nav { gap: 1.45rem; } }
.navlink {
  font-size: .875rem; font-weight: 500; color: var(--ink-body); text-decoration: none;
  padding: .4rem 0; white-space: nowrap; position: relative; transition: color .16s ease;
}
.navlink:hover { color: var(--brand-deep); }

.mast-actions { display: none; align-items: center; gap: .625rem; flex: none; }
@media (min-width: 768px) { .mast-actions { display: flex; } }
.mast-contact { display: none; }
@media (min-width: 1200px) { .mast-contact { display: inline-block; } }
.mast-login { display: none; }
@media (min-width: 1280px) { .mast-login { display: inline-block; } }

.region { display: inline-flex; padding: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; }
.region a {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .05em;
  padding: .24rem .55rem; border-radius: 999px; text-decoration: none;
  color: var(--ink-mute); transition: color .16s ease, background-color .16s ease;
}
.region a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.region a:not([aria-current="true"]):hover { color: var(--brand-deep); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -.5rem;
  background: transparent; border: none; color: var(--ink); cursor: pointer;
}
@media (min-width: 768px) { .menu-btn { display: none; } }

#mobile-panel { display: none; border-top: 1px solid var(--line); background: #fff; }
#mobile-panel.open { display: block; }
.mnav-list { display: grid; gap: .15rem; padding-block: .75rem 1rem; }
.mnav {
  display: flex; align-items: center; min-height: 44px;
  font-size: .95rem; font-weight: 500; color: var(--ink-body); text-decoration: none;
}
.mnav-foot {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding-top: .875rem; border-top: 1px solid var(--line);
}
.mnav-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; margin-top: .875rem; }

/* ── Reveal Motion ── */
html.rb2b-anim .rise { opacity: 0; transform: translateY(14px); }
html.rb2b-anim .rise.seen {
  opacity: 1; transform: none;
  transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
}
html.rb2b-anim .rise.d1.seen { transition-delay: .06s; }
html.rb2b-anim .rise.d2.seen { transition-delay: .12s; }
html.rb2b-anim .rise.d3.seen { transition-delay: .18s; }
/* Content must never stay hidden on paper, whatever the observer did. */
@media print { html.rb2b-anim .rise { opacity: 1 !important; transform: none !important; } }

@keyframes enter-up { from { transform: translateY(8px); } to { transform: none; } }
.hero-in { animation: enter-up .25s cubic-bezier(.16,1,.3,1) both; }
.hero-in.h1d { animation-delay: 0s; }
.hero-in.h2d { animation-delay: .02s; }
.hero-in.h3d { animation-delay: .04s; }

/* ── 1. Hero (Asymmetric Split, Fits 1440x900) ── */
.hero-band { padding-block: 2.5rem 3.25rem; }
@media (min-width: 1024px) { .hero-band { padding-block: 3.5rem 4.25rem; } }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 3.25rem; }
}
.hero-title { font-size: clamp(2.15rem, 3.6vw, 3.25rem); margin-bottom: 1.1rem; }
.hero-title .accent { color: var(--brand); }
.hero-sub { font-size: 1.0625rem; color: var(--ink-body); margin-bottom: 1.65rem; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 480px) { .hero-ctas .btn { width: 100%; } }

.hero-frame {
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg);
}
.hero-media { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.cert-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  color: var(--ok-ink); background: var(--ok-wash); border: 1px solid var(--ok-line);
  padding: .24rem .6rem; border-radius: 6px;
}

/* ── 2. Credibility Rail (4 Architectural Hairline Columns) ── */
.rail-band { background: var(--surface); border-block: 1px solid var(--line); padding-block: 1.75rem; }
.rail-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .rail-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) {
  .rail-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .rail-item { padding-inline: 1.5rem; border-left: 1px solid var(--line); }
  .rail-item:first-child { padding-left: 0; border-left: none; }
  .rail-item:last-child { padding-right: 0; }
}
.rail-title { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink); margin-bottom: .25rem; }
.rail-desc { font-size: .84rem; color: var(--ink-mute); line-height: 1.5; }

/* ── Section Header (Stacked vertical, never split) ── */
.sec-head { max-width: 46rem; margin-bottom: 2.5rem; }
.sec-head h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); margin-bottom: .85rem; }
.sec-head p { font-size: 1rem; color: var(--ink-body); }

/* ── 3. Dual-Pillar 50/50 Showcase (Music + WebTV) ── */
.dual-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .dual-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.pillar-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pillar-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); }
.pillar-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pillar-photo img, .pillar-photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-ctrl {
  position: absolute; top: .75rem; left: .75rem; z-index: 4;
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  color: #fff; background: rgba(15, 23, 42, .82); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px;
  padding: .35rem .72rem; cursor: pointer; min-height: 32px;
  transition: background-color .16s ease, border-color .16s ease;
}
.vid-ctrl:hover { background: var(--brand); border-color: var(--brand); }
.pillar-body { padding: 1.65rem; flex: 1; display: flex; flex-direction: column; }
.pillar-body h3 { font-size: 1.38rem; margin-bottom: .6rem; }
.pillar-lead { font-size: .92rem; color: var(--ink-body); margin-bottom: 1.2rem; }
.pillar-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .6rem; }
.pillar-list li {
  display: flex; align-items: flex-start; gap: .55rem; font-size: .875rem; color: var(--ink-body);
}
.pillar-list svg, .pillar-list [data-lucide] { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: .22rem; }
.pillar-card.is-webtv .pillar-list svg, .pillar-card.is-webtv .pillar-list [data-lucide] { color: var(--ok-ink); }
.pillar-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.pillar-foot a {
  color: var(--brand-deep); font-weight: 600; font-size: .875rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem; min-height: 24px;
}
.pillar-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 4. UK Legal Shield & Unified Media Licence ── */
.exposure-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2.25rem; }
@media (min-width: 768px) { .exposure-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.exp-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.exp-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-bottom: .75rem; flex-wrap: wrap;
}
.exp-badge {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--risk-ink); background: var(--risk-wash);
  border: 1px solid var(--risk-line); padding: .2rem .55rem; border-radius: 6px;
}
.exp-statute { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-mute); }
.exp-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.exp-card p { font-size: .9rem; color: var(--ink-body); margin-bottom: .9rem; }
.exp-note {
  margin-top: auto;
  font-size: .82rem; padding: .7rem .85rem; border-radius: var(--r-ctrl);
  background: var(--risk-wash); border: 1px solid var(--risk-line); color: var(--risk-ink);
}
.exp-note.is-clear {
  background: var(--ok-wash); border-color: var(--ok-line); color: var(--ok-ink);
}

.chain-wrap { margin-bottom: 2.75rem; }
.chain-label {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 1rem;
}
.chain-row { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; }
@media (min-width: 1024px) { .chain-row { flex-direction: row; align-items: stretch; gap: 1rem; } }
.chain-node {
  flex: 1 1 0; padding: 1.25rem; border-radius: var(--r-card);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.chain-node.terminal { background: var(--ok-wash); border-color: var(--ok-line); }
.chain-step {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--brand-deep);
}
.chain-node.terminal .chain-step { color: var(--ok-ink); }
.chain-node h3 { font-size: 1rem; margin: .35rem 0 .25rem; }
.chain-node p { font-size: .84rem; color: var(--ink-body); }
.chain-arrow { display: grid; place-items: center; color: var(--brand); flex: none; }
@media (max-width: 1023px) { .chain-arrow { transform: rotate(90deg); padding-block: .15rem; } }

/* Certificate + Points Split */
.cert-split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .cert-split { grid-template-columns: 1.05fr 0.95fr; gap: 2.75rem; } }

.cert-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.cert-watermark {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-repeat: no-repeat; background-position: center; background-size: 320px 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='140' viewBox='0 0 320 140'%3E%3Ctext x='160' y='88' text-anchor='middle' transform='rotate(-16 160 70)' font-family='monospace' font-size='44' font-weight='700' letter-spacing='10' fill='rgba(15,23,42,0.06)'%3ESAMPLE%3C/text%3E%3C/svg%3E");
}
.cert-body { padding: 1.5rem; position: relative; z-index: 1; }
.cert-head {
  display: grid; grid-template-columns: 1fr; gap: .9rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 560px) {
  .cert-head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1.25rem; }
}
.cert-kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.cert-kicker {
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep);
}
.sample-pill {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--warn-ink); background: var(--warn-wash);
  border: 1px solid var(--warn-line); padding: .14rem .45rem; border-radius: 5px;
}
.cert-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-top: .25rem; }
.cert-id-box { text-align: left; }
@media (min-width: 560px) { .cert-id-box { text-align: right; white-space: nowrap; } }
.cert-id-lbl { font-family: var(--font-mono); font-size: .64rem; color: var(--ink-faint); text-transform: uppercase; }
.cert-id-val { font-family: var(--font-mono); font-size: .92rem; font-weight: 600; color: var(--ink); }
.cert-status {
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .25rem;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
  color: var(--ok-ink); background: var(--ok-wash); border: 1px solid var(--ok-line);
  padding: .18rem .5rem; border-radius: 5px;
}

.cert-meta {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  padding-block: 1rem; border-bottom: 1px solid var(--line); font-size: .82rem;
}
@media (min-width: 560px) { .cert-meta { grid-template-columns: repeat(3, 1fr); } }
.cert-meta dt { font-family: var(--font-mono); font-size: .64rem; color: var(--ink-faint); text-transform: uppercase; margin-bottom: .2rem; }
.cert-meta dd { margin: 0; color: var(--ink); font-weight: 500; }

.cert-qr-row {
  display: flex; align-items: center; gap: 1rem; padding-top: 1rem;
}
.cert-qr-img {
  width: 78px; height: 78px; flex: none; padding: 4px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.cert-disclaimer { font-size: .76rem; color: var(--ink-faint); margin-top: .7rem; }

.cap-list { display: grid; }
.cap { display: flex; gap: .9rem; padding-block: 1rem; }
.cap:first-child { padding-top: 0; }
.cap + .cap { border-top: 1px solid var(--line); }
.cap-ico {
  flex: none; width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--brand-deep);
}
.cap h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: .2rem; }
.cap p { font-size: .875rem; color: var(--ink-body); }

/* ── 5. Cost Comparison Panel ── */
.calc-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.calc-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .calc-grid { grid-template-columns: 5fr 7fr; } }
.calc-in { padding: 1.5rem; }
@media (min-width: 768px) { .calc-in { padding: 2rem; } }

.field-label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field-help { font-size: .78rem; color: var(--ink-mute); margin-top: .4rem; }
select, input[type=number] {
  width: 100%; font: inherit; font-size: .9375rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-ctrl);
  padding: .65rem .8rem; min-height: 44px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
select:focus, input[type=number]:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); outline: none;
}

.tv-check-box {
  margin-top: 1.25rem; padding: .9rem 1rem; border-radius: var(--r-ctrl);
  background: var(--surface); border: 1px solid var(--line);
}
.tv-check-label {
  display: flex; align-items: flex-start; gap: .65rem; cursor: pointer;
}
.tv-check-label input {
  width: 18px; height: 18px; margin-top: .18rem; flex: none; accent-color: var(--brand); cursor: pointer;
}
.tv-check-title { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.tv-check-sub { display: block; font-size: .78rem; color: var(--ink-mute); margin-top: .15rem; line-height: 1.45; }

.calc-details { margin-top: 1.25rem; }
.calc-details summary { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-mute); cursor: pointer; padding-block: .25rem; }
.calc-details p { font-size: .78rem; color: var(--ink-mute); margin-top: .5rem; }

.calc-out {
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 1.5rem; display: flex; flex-direction: column;
}
@media (min-width: 768px)  { .calc-out { padding: 2rem; } }
@media (min-width: 1024px) { .calc-out { border-top: none; border-left: 1px solid var(--line); } }

/* Each price is stated once: name, figure, and a bar whose length is the figure.
   The bar is a full-width strip slid left by transform, so nothing animates layout. */
.cmp-row { margin-bottom: 1.6rem; }
.cmp-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; }
.cmp-name { font-size: .92rem; font-weight: 600; color: var(--ink); }
.cmp-val { font-family: var(--font-mono); font-size: 1.85rem; font-weight: 600; line-height: 1; color: var(--risk-ink); }
.cmp-row.ours .cmp-val { color: var(--brand); }
.cmp-bar { height: 10px; border-radius: 999px; overflow: hidden; }
.cmp-bar > i {
  display: block; height: 100%; border-radius: 999px; background: var(--risk-ink);
  transform: translateX(calc(var(--p, 0%) - 100%));
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.cmp-row.ours .cmp-bar > i { background: var(--brand); }
.cmp-sub { font-size: .8rem; color: var(--ink-mute); margin-top: .5rem; }

.savings-box {
  margin-top: auto;
  background: var(--ok-wash); border: 1px solid var(--ok-line); border-radius: var(--r-ctrl);
  padding: 1.1rem 1.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.savings-lbl { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ok-ink); margin-bottom: .25rem; }
.savings-val { font-family: var(--font-mono); font-size: 1.75rem; font-weight: 600; color: var(--ok-ink); line-height: 1; }
.savings-ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 560px) {
  .savings-ctas { display: grid; grid-template-columns: 1fr; width: 100%; }
}

/* ── 6. Interactive Dual-Mode Console + Capabilities ── */
.console-tabs {
  display: inline-flex; padding: 3px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
}
.console-tabs button {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .85rem; font-weight: 600; padding: .48rem 1.05rem; border-radius: 999px;
  border: none; background: transparent; color: var(--ink-mute); cursor: pointer; min-height: 36px;
  transition: background-color .16s ease, color .16s ease;
}
.console-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }

.console-shell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-md); overflow: hidden; margin-bottom: 2.5rem;
}
.console-bar {
  background: var(--surface-2); border-bottom: 1px solid var(--line);
  padding: .65rem .75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
}
@media (min-width: 768px) { .console-bar { padding: .7rem 1.1rem; } }
.console-status { font-size: .8rem; color: var(--ink-mute); padding-inline: .35rem; }

.console-pane { padding: 1.5rem; }
@media (min-width: 768px) { .console-pane { padding: 1.85rem; } }

.radio-top { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .radio-top { grid-template-columns: 1.2fr 0.8fr; } }

.now-playing { display: flex; align-items: center; gap: 1.1rem; }
.eq-box {
  width: 68px; height: 68px; flex: none; border-radius: var(--r-ctrl);
  background: var(--brand); color: #fff; padding: .7rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 4px;
  contain: layout paint;
}
.eq-bar { flex: 1; background: rgba(255,255,255,.92); border-radius: 2px; height: 100%; transform-origin: bottom; transform: scaleY(.3); will-change: transform; }
.eq-box.playing .eq-bar:nth-child(1) { animation: eq1 .95s ease-in-out infinite; }
.eq-box.playing .eq-bar:nth-child(2) { animation: eq2 .75s ease-in-out infinite; }
.eq-box.playing .eq-bar:nth-child(3) { animation: eq3 1.1s ease-in-out infinite; }
.eq-box.playing .eq-bar:nth-child(4) { animation: eq4 .85s ease-in-out infinite; }
@keyframes eq1 { 0%,100% { transform: scaleY(.22); } 50% { transform: scaleY(.88); } }
@keyframes eq2 { 0%,100% { transform: scaleY(.78); } 50% { transform: scaleY(.32); } }
@keyframes eq3 { 0%,100% { transform: scaleY(.40); } 50% { transform: scaleY(.96); } }
@keyframes eq4 { 0%,100% { transform: scaleY(.85); } 50% { transform: scaleY(.28); } }

.np-meta { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; color: var(--brand-deep); text-transform: uppercase; letter-spacing: .06em; }
.np-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: .15rem 0; }
.np-sub { font-size: .84rem; color: var(--ink-mute); }

.ctrl-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctrl);
  padding: 1rem; display: grid; gap: .75rem;
}
.zone-pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.zone-pill {
  font-size: .76rem; font-weight: 500; padding: .3rem .65rem; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-body); cursor: pointer;
}
.zone-pill[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-wash); color: var(--brand-deep); font-weight: 600; }

.play-vol-row { display: flex; align-items: center; gap: .75rem; }
.play-btn {
  width: 40px; height: 40px; flex: none; border-radius: 999px; border: none;
  background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.play-btn:hover { background: var(--brand-strong); }

/* Accessible 28px touch-friendly range slider */
input[type=range].vol-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px;
  background: transparent; cursor: pointer; margin: 0;
}
input[type=range].vol-slider::-webkit-slider-runnable-track {
  height: 5px; border-radius: 999px;
  background: linear-gradient(to right, var(--brand) var(--fill, 72%), var(--line) var(--fill, 72%));
}
input[type=range].vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; margin-top: -5.5px;
  border-radius: 999px; background: #fff; border: 2px solid var(--brand); box-shadow: var(--shadow-sm);
}
input[type=range].vol-slider::-moz-range-track {
  height: 5px; border-radius: 999px;
  background: linear-gradient(to right, var(--brand) var(--fill, 72%), var(--line) var(--fill, 72%));
}
input[type=range].vol-slider::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 999px; background: #fff; border: 2px solid var(--brand);
}

.preset-grid { display: grid; grid-template-columns: 1fr; gap: .625rem; margin-bottom: 1.4rem; }
@media (min-width: 640px) { .preset-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .preset-grid { grid-template-columns: repeat(4, 1fr); } }

.preset-btn {
  text-align: left; padding: .75rem .9rem; border-radius: var(--r-ctrl);
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.preset-btn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-wash); }
.preset-btn .p-name { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); }
.preset-btn .p-genre { display: block; font-size: .75rem; color: var(--ink-mute); margin-top: .1rem; }

.daypart-strip { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.daypart-head { font-size: .82rem; color: var(--ink-mute); margin-bottom: .7rem; max-width: none; }
.daypart-head strong { color: var(--ink); font-weight: 600; }
.daypart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 768px) { .daypart-grid { grid-template-columns: repeat(4, 1fr); } }
.dp-btn {
  text-align: left; padding: .6rem .75rem; border-radius: var(--r-ctrl);
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
}
.dp-btn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-wash); }
.dp-time { display: block; font-family: var(--font-mono); font-size: .68rem; color: var(--ink-mute); }
.dp-btn[aria-pressed="true"] .dp-time { color: var(--brand-deep); font-weight: 600; }
.dp-label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-top: .1rem; }

/* WebTV Console View */
.webtv-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .webtv-grid { grid-template-columns: 1.15fr 0.85fr; } }
.webtv-stage {
  border: 1px solid var(--line); border-radius: var(--r-ctrl); overflow: hidden; background: var(--surface);
}
.webtv-stage-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.webtv-stage-media img, .webtv-stage-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.webtv-stage-bar {
  padding: .85rem 1rem; background: #fff; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem;
}
.webtv-ch-list { display: grid; gap: .65rem; }
.webtv-ch-btn {
  width: 100%; text-align: left; padding: .85rem 1rem; border-radius: var(--r-ctrl);
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.webtv-ch-btn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-wash); }
.webtv-ch-code { font-family: var(--font-mono); font-size: .68rem; color: var(--brand-deep); font-weight: 600; }
.webtv-ch-name { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); }
.webtv-ch-desc { display: block; font-size: .78rem; color: var(--ink-mute); }

/* Grouped 3-Column Platform Architecture (hairline divided, not card boxes) */
.arch-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  border-top: 1px solid var(--line); padding-top: 2rem;
}
@media (min-width: 768px) { .arch-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.arch-col h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.arch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .875rem; color: var(--ink-body); }
.arch-list li { padding-left: .9rem; position: relative; }
.arch-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 4px; height: 4px; border-radius: 999px; background: var(--brand); }

/* ── 7. Venues Directory & Asymmetric Bento ── */
.trade-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.25rem; }
.trade-chips a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 .85rem;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .84rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.trade-chips a:hover { border-color: var(--brand-line); background: var(--brand-wash); color: var(--brand-deep); }

.bento-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; } }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  border: 1px solid var(--line); display: block; aspect-ratio: 16 / 10; max-height: 280px;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.16,1,.3,1); }
.tile:hover img { transform: scale(1.04); }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.15rem 1.1rem;
  background: linear-gradient(to top, rgba(15,23,42,.84), rgba(15,23,42,0));
  color: #fff; font-size: .92rem; font-weight: 600;
}

/* ── 8. Pricing ── */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: start; }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }

.multi-callout {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 1.2rem; margin-top: 1.5rem;
}
.multi-callout h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 600; margin-bottom: .3rem; }
.multi-callout p { font-size: .85rem; color: var(--ink-body); margin-bottom: .75rem; }
.text-link {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 24px;
  font-size: .875rem; font-weight: 600; color: var(--brand); text-decoration: none;
}
.text-link:hover { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }

.price-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 1.65rem; box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .price-card { padding: 2rem; } }
.price-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.4rem;
}
.plan-toggle { display: inline-flex; padding: 3px; background: var(--surface-2); border-radius: 999px; }
.plan-toggle button {
  font-size: .82rem; font-weight: 600; padding: .42rem .95rem; border-radius: 999px;
  border: none; background: transparent; color: var(--ink-mute); cursor: pointer; min-height: 34px;
}
.plan-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.price-select-row {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: end;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem;
}
@media (min-width: 640px) { .price-select-row { grid-template-columns: 1.2fr 0.8fr; } }
.price-num-row { display: flex; align-items: baseline; gap: .45rem; }
.price-num { font-family: var(--font-mono); font-size: 2.75rem; font-weight: 600; color: var(--ink); line-height: 1; }
.price-period { font-size: .9rem; color: var(--ink-mute); }
.price-note { font-size: .82rem; color: var(--ok-ink); font-weight: 500; margin-top: .45rem; }

.incl-grid { display: grid; grid-template-columns: 1fr; gap: .45rem 1.75rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .incl-grid { grid-template-columns: 1fr 1fr; } }
.incl { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-body); }
.incl svg, .incl [data-lucide] { width: 15px; height: 15px; color: var(--ok-ink); flex: none; }

.price-ctas { display: grid; grid-template-columns: 1fr; gap: .7rem; }
@media (min-width: 560px) { .price-ctas { grid-template-columns: 1fr 1fr; } }
.price-fine { font-size: .78rem; color: var(--ink-mute); text-align: center; margin: .9rem auto 0; }

/* ── 9. FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 3.5rem; } }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.15rem 0; background: none; border: none; cursor: pointer; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--ink); transition: color .16s ease;
}
.faq-q:hover { color: var(--brand-deep); }
.faq-mark {
  flex: none; width: 26px; height: 26px; border-radius: 999px; margin-top: 1px;
  display: grid; place-items: center; background: var(--surface-2); color: var(--brand-deep);
  transition: transform .28s cubic-bezier(.16,1,.3,1), background-color .18s ease;
}
.faq-item.open .faq-mark { transform: rotate(45deg); background: var(--brand-wash); }
.faq-a {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .32s cubic-bezier(.16,1,.3,1), visibility 0s linear .32s;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.faq-a > div { min-height: 0; overflow: hidden; font-size: .92rem; color: var(--ink-body); max-width: 68ch; }
.faq-a > div::after { content: ""; display: block; height: 1.2rem; }
.faq-a a { color: var(--brand); font-weight: 500; }

/* ── 10. Closing CTA (light brand-tinted panel, the one tinted surface on the page) ── */
.closing-box {
  background: var(--brand-wash); border: 1px solid var(--brand-line);
  border-radius: var(--r-card); padding: 2.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 1024px) {
  .closing-box {
    flex-direction: row; align-items: center; justify-content: space-between; padding: 2.75rem 2.5rem;
  }
}
.closing-box h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin-bottom: .5rem; }
.closing-box p { font-size: .95rem; color: var(--ink-body); }
.closing-ctas { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }
@media (max-width: 480px) { .closing-ctas, .closing-ctas .btn { width: 100%; } }

/* ── Footer ── */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3.25rem 2rem; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 3fr 1.8fr 2fr 2.2fr 2.5fr; gap: 2rem; } }

.foot-col-lbl {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: .75rem;
}
.foot-links { display: grid; gap: .4rem; }
.footlink {
  font-size: .86rem; color: var(--ink-mute); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 24px; transition: color .16s ease;
}
.footlink:hover { color: var(--brand-deep); }
.foot-bottom {
  margin-top: 2.5rem; padding-top: 1.35rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

[hidden] { display: none !important; }
[data-lucide] { display: inline-block; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.rb2b-anim .rise, .hero-in { opacity: 1; transform: none; animation: none; }
  .tile:hover img { transform: none; }
}
