/* PodBridge gap check — brutalist cousin of reddx.xyz: black, bone, signal red. */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: #111110;
  --panel-2: #1a1918;
  --ink: #f2efe8;
  --ink-2: #c9c4ba;
  --ink-3: #8f8a81;
  --red: #ff3b30;
  --red-deep: #c4170e;
  --on-red: #0a0a0a;
  --line: #f2efe8;
  --hair: #34322f;
  --focus: #ffd23f;
  --mono: "Space Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --series-on: #f2efe8;
  --series-maybe: #77726b;
  --series-missing: #ff3b30;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(242, 239, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 232, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.55;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: var(--on-red); }

/* Ticker */
.ticker { background: var(--red); color: var(--on-red); border-bottom: 3px solid var(--line); overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.ticker-track { display: inline-flex; padding: 7px 0; animation: ticker 38s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.topbar, main, .footer { width: min(980px, calc(100% - 32px)); margin-inline: auto; }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; background: var(--red); border: 3px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 2px; flex: none; }
.brand-mark span { width: 3px; background: var(--on-red); }
.brand-mark span:nth-child(1), .brand-mark span:nth-child(4) { height: 8px; }
.brand-mark span:nth-child(2) { height: 18px; }
.brand-mark span:nth-child(3) { height: 12px; }
.brand-text { display: grid; font-family: var(--sans); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
.brand-text small { font-family: var(--mono); font-weight: 400; font-size: .66rem; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); white-space: nowrap; }
.badge i { width: 9px; height: 9px; background: var(--red); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* Hero */
.hero { padding: 44px 0 8px; }
.eyebrow { margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
h1 { margin: 0; max-width: 820px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.7rem, 7.2vw, 5.4rem); line-height: .98; letter-spacing: -0.02em; }
h1 mark { background: var(--red); color: var(--on-red); font-style: normal; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede { max-width: 640px; margin: 22px 0 30px; color: var(--ink-2); }
h2 { margin: 0; font-family: var(--mono); font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Boxes */
.card { background: var(--panel); border: 3px solid var(--line); box-shadow: 8px 8px 0 var(--red); padding: 24px; }
.form-card { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field select {
  width: 100%; min-width: 0; padding: 13px 14px; border-radius: 0; border: 2px solid var(--ink-3);
  background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 1rem;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { border-color: var(--line); outline: none; box-shadow: 4px 4px 0 var(--red); }
.field input[aria-invalid="true"] { border-color: var(--red); border-style: dashed; }
.field .check { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; cursor: pointer; font-size: .82rem; letter-spacing: .06em; }
.field .check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; padding: 0; margin: 0; flex: none; border: 2px solid var(--line); background: var(--bg); display: inline-grid; place-content: center; cursor: pointer; }
.field .check input:checked { background: var(--red); box-shadow: none; }
.field .check input:checked::after { content: "X"; font-family: var(--sans); font-weight: 700; font-size: .95rem; line-height: 1; color: var(--on-red); }
.field input:disabled { opacity: .45; border-style: dashed; }
.hint { margin: 0; font-size: .8rem; color: var(--ink-3); }
.field-error, .form-error { margin: 0; font-size: .85rem; font-weight: 700; color: var(--ink); background: var(--red-deep); padding: 6px 10px; border-left: 6px solid var(--red); }
.field-error::before, .form-error::before { content: "ERR > "; }
.field-error:empty, .form-error:empty { display: none; }
.form-row { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; }
.form-row .compact { flex: 1 1 220px; }

.button { border: 3px solid var(--line); border-radius: 0; padding: 12px 18px; font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .08s, box-shadow .08s; }
.button.primary { background: var(--red); color: var(--on-red); box-shadow: 5px 5px 0 var(--line); flex: 1 1 260px; font-size: .95rem; }
.button.primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--line); }
.button.primary:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--line); }
.button.primary:disabled { background: var(--panel-2); color: var(--ink-3); border-color: var(--ink-3); box-shadow: none; transform: none; cursor: progress; }
.button.ghost { background: transparent; color: var(--ink); border-width: 2px; padding: 8px 14px; font-size: .78rem; }
.button.ghost:hover { background: var(--ink); color: var(--bg); }
.button.wide { width: 100%; margin-top: 14px; }
.button[aria-disabled="true"] { cursor: default; }

.how { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 3px solid var(--line); }
.how li { padding: 14px 16px; color: var(--ink-2); font-size: .84rem; border-right: 3px solid var(--line); }
.how li:last-child { border-right: 0; }
.how b { display: block; font-family: var(--sans); font-size: 1.8rem; line-height: 1; color: var(--red); margin-bottom: 8px; }
.how strong { color: var(--ink); display: block; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }

/* Progress */
.progress-card { margin-top: 34px; }
.steps { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 8px; }
.steps li { display: flex; align-items: baseline; gap: 12px; color: var(--ink-3); font-size: .9rem; }
.steps li .state::before { content: "[  ]"; white-space: pre; font-weight: 700; }
.steps li.active { color: var(--ink); font-weight: 700; }
.steps li.active .state::before { content: "[>>]"; color: var(--red); animation: blink 1s steps(2, start) infinite; }
.steps li.done { color: var(--ink-2); }
.steps li.done .state::before { content: "[OK]"; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .steps li.active .state::before, .badge i { animation: none; } .ticker-track { animation: none; } }
.progress { height: 18px; border: 2px solid var(--line); background: var(--bg); }
.progress-fill { height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--red-deep) 10px 20px); transition: width .4s linear; }
.progress-note { margin: 10px 0 0; font-size: .8rem; color: var(--ink-3); }

/* Results */
.results { display: grid; gap: 26px; margin-top: 36px; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; padding: 14px 18px; box-shadow: 8px 8px 0 var(--ink-3); }
.pair .side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pair .side:last-child { justify-content: flex-end; text-align: right; }
.pair img, .pair .ph { width: 46px; height: 46px; object-fit: cover; border: 2px solid var(--line); background: var(--panel-2); flex: none; }
.pair .name { font-family: var(--sans); font-weight: 700; text-transform: uppercase; overflow-wrap: anywhere; }
.pair .meta { font-size: .75rem; color: var(--ink-3); }
.pair .arrow { font-family: var(--sans); font-weight: 700; font-size: 1.5rem; color: var(--red); }

.headline { padding: 28px; }
.hero-figure { display: inline-block; margin: 0; padding: 4px 14px 0; background: var(--red); color: var(--on-red); font-family: var(--sans); font-weight: 700; font-size: clamp(3.8rem, 13vw, 7rem); line-height: .95; letter-spacing: -0.04em; border: 3px solid var(--line); }
.hero-label { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1.1; }
.hero-sub { margin: 8px 0 24px; color: var(--ink-2); }
.split { display: flex; gap: 2px; height: 26px; width: 100%; background: var(--bg); border: 2px solid var(--line); padding: 2px; }
.split .seg { height: 100%; min-width: 4px; }
.split .seg:hover, .split .seg:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.seg-on, .swatch-on { background: var(--series-on); }
.seg-maybe, .swatch-maybe { background: repeating-linear-gradient(45deg, var(--series-maybe) 0 4px, var(--panel-2) 4px 7px); }
.seg-missing, .swatch-missing { background: var(--series-missing); }
.legend { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .8rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend .swatch { width: 14px; height: 14px; border: 1px solid var(--line); flex: none; }
.legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tooltip { position: fixed; z-index: 10; pointer-events: none; background: var(--ink); color: var(--bg); font-size: .78rem; font-weight: 700; padding: 6px 10px; border: 2px solid var(--bg); box-shadow: 4px 4px 0 var(--red); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 26px 0 0; border: 2px solid var(--line); }
.kpis div { padding: 12px 14px; border-right: 2px solid var(--line); }
.kpis div:last-child { border-right: 0; }
.kpis dt { font-size: .68rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.kpis dd { margin: 4px 0 0; font-family: var(--sans); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.fine { margin: 14px 0 0; font-size: .74rem; color: var(--ink-3); }

.cta { display: grid; gap: 14px; background: var(--red); color: var(--on-red); box-shadow: 8px 8px 0 var(--line); }
.cta h2 { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.02; }
.cta p { margin: 0; max-width: 660px; }
.cta .button.primary { justify-self: start; flex: none; background: var(--on-red); color: var(--ink); border-color: var(--on-red); box-shadow: 5px 5px 0 var(--ink); }
.cta .button.primary[aria-disabled="true"] { transform: none; }
.cta .small { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.video-list { list-style: none; margin: 0; padding: 0; display: grid; }
.video-list li { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair); }
.video-list li:first-child { border-top: 2px solid var(--line); }
.video-list img, .video-list .ph { width: 96px; height: 54px; object-fit: cover; border: 2px solid var(--line); background: var(--panel-2); }
.video-list .title { font-family: var(--sans); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.video-list .title:hover { background: var(--red); color: var(--on-red); }
.video-list .meta { font-size: .74rem; color: var(--ink-3); }
.video-list .len { font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.video-list .maybe { font-size: .78rem; color: var(--ink-2); }
details.list-card summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.list-card summary::after { content: "[+] SHOW"; font-size: .75rem; font-weight: 700; color: var(--ink-2); }
details.list-card[open] summary::after { content: "[-] HIDE"; }
details.list-card summary::-webkit-details-marker { display: none; }
details.list-card[open] .hint { margin: 12px 0 10px; }
.list-card { box-shadow: 8px 8px 0 var(--ink-3); }
.empty { margin: 8px 0 0; color: var(--ink-2); }
.again { text-align: center; margin: 6px 0 0; }

.footer { margin-top: 56px; padding: 22px 0 48px; border-top: 3px solid var(--line); font-size: .74rem; color: var(--ink-3); }
.footer p { margin: 0 0 6px; max-width: 780px; }

@media (max-width: 720px) {
  body { font-size: 14px; }
  .hero { padding-top: 28px; }
  .card { padding: 18px; box-shadow: 6px 6px 0 var(--red); }
  .how { grid-template-columns: 1fr; }
  .how li { border-right: 0; border-bottom: 3px solid var(--line); }
  .how li:last-child { border-bottom: 0; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis div:nth-child(2) { border-right: 0; }
  .kpis div:nth-child(-n+2) { border-bottom: 2px solid var(--line); }
  .pair { grid-template-columns: 1fr; }
  .pair .side:last-child { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .pair .arrow { display: none; }
  .video-list li { grid-template-columns: 72px 1fr; }
  .video-list img, .video-list .ph { width: 72px; height: 40px; }
  .video-list .len { grid-column: 2; }
  .badge { display: none; }
}

/* Site pages: nav, prose, pricing */
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.prose { max-width: 720px; }
.prose h2 { margin: 40px 0 12px; font-size: 1rem; }
.prose h2::before { content: "// "; color: var(--red); }
.prose h3 { margin: 22px 0 8px; font-family: var(--sans); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.55; }
.prose p { margin: 0 0 12px; }
.prose ul { padding-left: 20px; margin: 0 0 12px; }
.prose li { margin: 0 0 6px; }
.prose a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: .74rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.grid2 .card { box-shadow: 8px 8px 0 var(--ink-3); }
.grid2 h2 { margin-bottom: 10px; }
.grid2 p, .grid2 li { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.grid2 ul { padding-left: 18px; margin: 0; }
.price { margin: 30px 0 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 3px solid var(--line); box-shadow: 8px 8px 0 var(--red); background: var(--panel); }
.price > div { padding: 26px; }
.price > div:first-child { border-right: 3px solid var(--line); }
.price .amount { font-family: var(--sans); font-weight: 700; font-size: clamp(3rem, 8vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; }
.price .amount small { font-family: var(--mono); font-size: 1rem; letter-spacing: .08em; color: var(--ink-3); margin-left: 6px; }
.price ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.price li::before { content: "[x] "; color: var(--red); font-weight: 700; }
.price .button.primary { flex: none; width: 100%; margin-top: 18px; }
.price .fine { margin-top: 12px; }
.faq details { border-top: 1px solid var(--hair); padding: 12px 0; }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; font-family: var(--sans); font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--red); }
.faq details[open] summary::after { content: "\2013"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.5; }
.footer nav { margin-bottom: 10px; display: flex; gap: 16px; flex-wrap: wrap; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.footer nav a { text-decoration: none; color: var(--ink-2); }
.footer nav a:hover { color: var(--red); }
@media (max-width: 720px) {
  .grid2, .price { grid-template-columns: 1fr; }
  .price > div:first-child { border-right: 0; border-bottom: 3px solid var(--line); }
  .nav { font-size: .66rem; gap: 4px 12px; }
}

.hero h1 mark { display: inline-block; margin-top: .12em; line-height: 1.04; }
