/* AiPod — technical-minimal developer-infra aesthetic.
   Framed hairline column, mono bracket labels, navy code panels.
   Blue on near-white; colors unchanged from the previous system. */

:root {
  --ink: #101624;
  --ink-soft: #46506a;
  --ink-faint: #7c87a3;
  --paper: #fafbfc;
  --card: #ffffff;
  --wash: #f5f7fa;
  --line: #e3e8f0;
  --line-blue: #c7d6ff;
  --blue: #0b46f0;
  --blue-dark: #082fae;
  --blue-wash: #eef3ff;
  --navy: #0c1230;
  --navy-line: #1c2547;
  --navy-ink: #cdd8ff;
  --green: #0a9a5c;
  --radius: 10px;
  --shadow-soft: 0 1px 3px rgba(16, 22, 36, 0.06);
  --frame-w: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue); color: #fff; }

.px-font {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.mono { font-family: 'IBM Plex Mono', monospace; }

.wrap { max-width: var(--frame-w); margin: 0 auto; padding: 0 32px; position: relative; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

b, strong { font-weight: 600; }

/* ---------- the frame: full-height hairline rails ---------- */

body::before, body::after {
  content: '';
  position: fixed;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  z-index: 90;
  pointer-events: none;
}
body::before { left: calc(50% - var(--frame-w) / 2); }
body::after  { left: calc(50% + var(--frame-w) / 2); }

@media (max-width: 1160px) {
  body::before, body::after { display: none; }
}

/* ---------- primitives ---------- */

.dither { display: none; }

.cursor-blink::after {
  content: '▮';
  color: var(--blue);
  animation: blink 1.1s steps(1) infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* bracket chip — [ LABEL ] */
.tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}
.tag::before { content: '[\00a0'; opacity: 0.55; }
.tag::after  { content: '\00a0]'; opacity: 0.55; }
.tag.ghost { color: var(--ink-faint); }
.tag.tf { color: var(--green); }
.tag i { font-style: normal; opacity: 0.6; margin-left: 3px; }
a.tag:hover { text-decoration: none; color: var(--blue-dark); }
a.tag.ghost:hover { color: var(--ink-soft); }

/* mono bracket kicker above section headlines — [ EYEBROW ] */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.eyebrow::before { content: '[ '; color: var(--blue); }
.eyebrow::after  { content: ' ]'; color: var(--blue); }

/* ---------- header ---------- */

header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 251, 252, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 80;
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 62px;
}
.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo:hover { text-decoration: none; }
.logo .dot {
  width: 10px; height: 10px;
  background: var(--blue);
  border-radius: 2px;
  display: inline-block;
}
nav.site {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
nav.site a { color: var(--ink-soft); }
nav.site a:hover { color: var(--ink); text-decoration: none; }
nav.site a.cta {
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  padding: 7px 15px;
  font-weight: 500;
}
nav.site a.cta:hover { background: var(--blue-dark); }
@media (max-width: 720px) {
  nav.site a:not(.keep):not(.cta) { display: none; }
}

/* ---------- sections ---------- */

section {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 96px 0;
}
section.hero { border-top: 0; }

/* crosshair marks where section seams meet the frame rails */
section::before, section::after {
  content: '+';
  position: absolute;
  top: -0.72em;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1;
  color: var(--ink-faint);
  z-index: 91;
}
section::before { left: calc(50% - var(--frame-w) / 2 - 0.28em); }
section::after  { left: calc(50% + var(--frame-w) / 2 - 0.28em); }
section.hero::before, section.hero::after { display: none; }
@media (max-width: 1160px) {
  section::before, section::after { display: none; }
}

section.tint { background: var(--wash); }

.sec {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 26ch;
}
.lede {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 36px;
}
.lede:last-child { margin-bottom: 0; }
.blue { color: var(--blue); }

/* ---------- hero ---------- */

.hero { padding: 96px 0 72px; }
.hero.center .wrap { max-width: 920px; }
.hero.center { text-align: center; }
.hero.center .sub { max-width: 58ch; }
.hero.center .wrap > * { margin-left: auto; margin-right: auto; }

/* faint dot grid behind the hero */
.hero {
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 50% 0;
}
.hero > .wrap {
  background: radial-gradient(ellipse 70% 70% at 50% 40%, var(--paper) 40%, transparent 100%);
}

.kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.kicker a { color: var(--ink-faint); }
.kicker a:hover { color: var(--blue); }

/* announcement pill above the H1 */
.announce {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 30px;
}
.announce .tag { font-size: 10px; }
.announce:hover { text-decoration: none; border-color: var(--line-blue); color: var(--ink); }

h1 {
  font-size: clamp(38px, 6.4vw, 66px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  max-width: 17ch;
}
.sub {
  margin-top: 22px;
  font-size: clamp(16.5px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero.center .hero-actions { justify-content: center; }

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }
.btn.alt {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
}
.btn.alt:hover { background: var(--card); border-color: var(--ink-faint); }

/* mono trust line under the hero CTAs */
.trust {
  margin-top: 26px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
}
.hero.center .trust { justify-content: center; }
.trust span::before { content: '·'; margin-right: 18px; color: var(--line-blue); }
.trust span:first-child::before { content: ''; margin: 0; }

/* ---------- hero concept panel: sound → structured → agents ---------- */

.concept {
  margin-top: 44px;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 44px 44px 30px;
  text-align: left;
}
.concept::before, .concept::after {
  content: '+';
  position: absolute;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1;
  color: var(--ink-faint);
}
.concept::before { top: -6px; left: -5px; }
.concept::after { bottom: -6px; right: -5px; }
.concept-art { display: block; width: 100%; height: auto; }
.concept-art .bar { fill: var(--blue); transform-box: fill-box; transform-origin: center; }
.concept-art .c-morph rect { fill: var(--blue); opacity: 0.72; }
.concept-art .c-guide { stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 2 6; }
.concept-art .c-card { fill: var(--card); stroke: var(--line); }
.concept-art .c-title { fill: var(--ink); }
.concept-art .c-line { fill: var(--line); }
.concept-art .c-blue { fill: var(--blue); }
.concept-art .c-blue.soft { opacity: 0.45; }
.concept-art .c-chip { fill: var(--blue-wash); stroke: var(--line-blue); }
.concept-art .c-chip.ghost { fill: var(--wash); stroke: var(--line); }
.concept-art .bar { animation: eq 2.4s ease-in-out infinite alternate; }
.concept-art .bar:nth-of-type(2n) { animation-delay: -0.5s; }
.concept-art .bar:nth-of-type(3n) { animation-delay: -1.1s; }
.concept-art .bar:nth-of-type(5n) { animation-delay: -1.7s; }
@keyframes eq { from { transform: scaleY(1); } to { transform: scaleY(0.55); } }
@media (prefers-reduced-motion: reduce) {
  .concept-art .bar { animation: none; }
}
.concept-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.concept-steps .cs { font-size: 15px; color: var(--ink); }
.concept-steps .cs b { font-weight: 600; display: flex; align-items: center; gap: 7px; }
.concept-steps .cs-n {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 5px;
}
.concept-steps .cs-n::before { content: '[ '; color: var(--blue); }
.concept-steps .cs-n::after { content: ' ]'; color: var(--blue); }
.cs-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-style: normal;
  font-size: 9px;
  line-height: 1;
  background: var(--wash);
  color: var(--ink-faint);
}
.cs-mark.yes {
  border-color: rgba(10, 154, 92, 0.35);
  background: rgba(10, 154, 92, 0.08);
  color: var(--green);
}
.concept-steps .cs small {
  display: block;
  margin-top: 3px;
  margin-left: 22px; /* mark width + gap, so the caption aligns with the phrase */
  font-size: 13px;
  color: var(--ink-faint);
}
.hero.center .concept-steps { text-align: left; }
@media (max-width: 720px) {
  .concept { padding: 26px 22px 20px; }
  .concept-steps { grid-template-columns: 1fr; gap: 14px; }
}

/* staggered load reveal */
.rise { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.rise.d1 { animation-delay: 0.07s; }
.rise.d2 { animation-delay: 0.14s; }
.rise.d3 { animation-delay: 0.22s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
}

/* ---------- hero demo panel: request → response ---------- */

.demo-panel {
  margin-top: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--navy-line);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 20px 50px -24px rgba(12, 18, 48, 0.45);
}
.demo-panel .half { min-width: 0; background: var(--navy); }
.demo-panel .half + .half { border-left: 1px solid var(--navy-line); }
@media (max-width: 880px) {
  .demo-panel { grid-template-columns: 1fr; }
  .demo-panel .half + .half { border-left: 0; border-top: 1px solid var(--navy-line); }
}

.tabbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--navy-line);
}
.tabbar .status {
  margin-left: auto;
  padding-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d6b96;
  white-space: nowrap;
}
.tabbar .status .ok { color: #7fd9a5; }
.tab {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: #5d6b96;
  padding: 8px 12px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--navy-ink); }
.tab.active { color: #fff; border-bottom-color: var(--blue); }

.pane { display: none; }
.pane.active { display: block; }

/* ---------- terminal / code panel ---------- */

.term {
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-radius: 12px;
  overflow: hidden;
}
.term .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5d6b96;
  padding: 11px 16px;
  border-bottom: 1px solid var(--navy-line);
}
.term .bar::before { content: '[ '; }
.term .bar::after { content: ' ]'; }
.term pre, .demo-panel pre {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.75;
  color: var(--navy-ink);
  padding: 18px 20px;
  overflow-x: auto;
}
.term .c, .demo-panel .c { color: #5d6b96; }         /* comments */
.term .g, .demo-panel .g { color: #7fd9a5; }         /* strings / URLs */
.term .b, .demo-panel .b { color: #9db8ff; }         /* keys */

/* ---------- stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}
.stats .cell {
  padding: 22px 20px 18px;
  border-left: 1px solid var(--line);
}
.stats .cell:first-child { border-left: 0; }
.stats .n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stats .l {
  margin-top: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 720px) {
  .stats .cell { border-top: 1px solid var(--line); }
}

/* ---------- grids + cards ---------- */

.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) {
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.card h3 .px { color: var(--blue); margin-right: 10px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--ink-soft); }
.card.hl { border-color: var(--line-blue); }

/* feature row: copy left, code right */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature .fnum {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.feature .fnum::before { content: '[ '; color: var(--blue); }
.feature .fnum::after { content: ' ]'; color: var(--blue); }
.feature h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.feature p { margin-top: 12px; font-size: 15.5px; color: var(--ink-soft); max-width: 46ch; }
.feature ul { list-style: none; margin-top: 18px; }
.feature li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 5px 0 5px 26px;
  position: relative;
}
.feature li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--blue);
}
.feature .more { margin-top: 16px; font-size: 14px; font-weight: 500; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
}

/* the with/without comparison */
.vs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.vs-col { padding: 24px 26px; background: var(--card); }
.vs-col.with { background: var(--blue-wash); border-left: 1px solid var(--line); }
.vs-head {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.vs-col.with .vs-head { color: var(--blue); }
.vs ul { list-style: none; }
.vs li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 0 6px 24px;
  position: relative;
}
.vs li::before {
  content: '✗';
  position: absolute;
  left: 0;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--ink-faint);
}
.vs-col.with li::before { content: '✓'; color: var(--green); }
@media (max-width: 720px) {
  .vs { grid-template-columns: 1fr; }
  .vs-col.with { border-left: 0; border-top: 1px solid var(--line); }
}

.ask-examples {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-faint);
  line-height: 2;
}
.ask-examples b { color: var(--ink-soft); font-weight: 500; font-family: 'IBM Plex Mono', monospace; font-size: 13px; }

/* ---------- api table ---------- */

table.api {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  font-size: 14px;
}
table.api th {
  text-align: left;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}
table.api td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
table.api tr:last-child td { border-bottom: 0; }
table.api td:first-child {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--blue);
  white-space: nowrap;
}
@media (max-width: 720px) {
  table.api td:first-child { white-space: normal; }
}

/* ---------- episode / show cards ---------- */

.ep-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ep-card:hover { text-decoration: none; border-color: var(--line-blue); transform: translateY(-2px); }
.ep-card .date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ep-card h3 {
  margin-top: 8px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.ep-card .meta {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-faint);
}
.ep-card.show-main { border-color: var(--line-blue); background: var(--blue-wash); }
.ep-card.show-main h3 { font-size: 22px; }
.show-name { font-size: 18px; }

/* ---------- waitlist ---------- */

.wl { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.wl-in {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 280px;
}
.wl-in:focus { outline: none; border-color: var(--blue); }
.wl-msg { margin-top: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ink-soft); min-height: 1.4em; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 56px 0 40px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
footer.site .wrap.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
footer.site .px-font { margin-bottom: 12px; }
footer.site .px-font::before { content: '[ '; color: var(--blue); }
footer.site .px-font::after { content: ' ]'; color: var(--blue); }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--blue); }
footer.site .ftag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-left: 6px;
}
footer.site .legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-faint);
}

/* ---------- breadcrumbs ---------- */

.crumbs {
  padding: 18px 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-faint);
}
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--blue); }

/* ---------- episode page ---------- */

.ep-hero { padding: 48px 0 40px; border-top: 0; }
.ep-hero h1 { font-size: clamp(26px, 4vw, 40px); max-width: 28ch; }
.ep-hero .meta {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.ep-hero .summary {
  margin-top: 22px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 74ch;
}

.block { padding: 40px 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; }
.block h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}
.block h2::before { content: '[ '; color: var(--blue); }
.block h2::after { content: ' ]'; color: var(--blue); }

.topic-row {
  display: flex;
  gap: 18px;
  padding: 10px 0;
  font-size: 14.5px;
}
.topic-row .ts {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--blue);
  min-width: 64px;
  padding-top: 2px;
}
.topic-row p { color: var(--ink-soft); font-size: 14px; }

.quote-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--card);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.quote-card .q { font-size: 15.5px; line-height: 1.55; }
.quote-card .who { margin-top: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-faint); }
.quote-card .who b { color: var(--ink-soft); }

.pred {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px 20px;
  margin-bottom: 10px;
  font-size: 14.5px;
}
.pred .head {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.pred .head a { color: var(--blue); }

.claim {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14.5px;
}
.claim .head {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.claim .head .holder { color: var(--blue); font-weight: 600; }
.claim .body { color: var(--ink); }
.claim .quote {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
  border-left: 2px solid var(--line-blue);
  padding-left: 12px;
}

/* ---------- demo pages ---------- */

.demo-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding: 26px 0 56px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}
.demo-nav .spacer { flex: 1; }

.demo-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 150px;
  gap: 26px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 32px;
  margin-bottom: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.demo-card:hover { text-decoration: none; border-color: var(--line-blue); transform: translateY(-2px); }
.demo-card .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 26px;
  font-weight: 600;
  color: var(--blue);
}
.demo-card .num::before { content: '[ '; color: var(--line-blue); }
.demo-card .num::after { content: ' ]'; color: var(--line-blue); }
.demo-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.demo-card p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.demo-card .built-on {
  margin-top: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-faint);
}
.demo-card .built-on b { color: var(--blue); font-weight: 500; }
@media (max-width: 720px) {
  .demo-card { grid-template-columns: 1fr; gap: 12px; }
  .demo-card .viz { display: none; }
}

/* abstract card viz */
.viz { display: flex; flex-direction: column; gap: 9px; }
.viz .vrow { display: flex; gap: 7px; align-items: center; }
.viz .vdot { width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.viz .vdot.ghost { background: var(--line-blue); }
.viz .vline { height: 7px; border-radius: 3px; background: var(--line); flex: 1; }
.viz .vline.w2 { flex: 0.66; }
.viz .vline.w3 { flex: 0.4; }
.viz .vline.head { background: var(--line-blue); }
.viz .vchip { width: 18px; height: 7px; border-radius: 3px; background: var(--line-blue); }

/* prediction ledger */
.led-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .led-hero { grid-template-columns: 1fr; } }

.receipt-wrap { max-width: 360px; }
.receipt {
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: 24px 24px 16px;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: var(--shadow-soft);
}
.receipt hr { border: 0; border-top: 1px dashed var(--line); margin: 14px 0; }
.receipt .r-head { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; }
.receipt .r-sub { font-size: 10.5px; color: var(--ink-faint); margin-top: 4px; }
.receipt .r-row { display: flex; justify-content: space-between; gap: 14px; font-size: 11.5px; padding: 3px 0; }
.receipt .r-row span { color: var(--ink-faint); }
.receipt .r-row b { font-weight: 500; text-align: right; }
.receipt .r-pred { font-size: 13px; line-height: 1.55; }
.receipt .r-quote { margin-top: 10px; font-size: 11.5px; color: var(--ink-soft); }
.receipt .r-barcode {
  height: 26px;
  margin-top: 12px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px);
  opacity: 0.75;
}
.receipt .r-id { font-size: 9.5px; color: var(--ink-faint); margin-top: 6px; letter-spacing: 0.06em; }
.receipt-tail {
  height: 14px;
  background:
    linear-gradient(-45deg, transparent 7px, var(--card) 0) 0 0 / 14px 100% repeat-x,
    linear-gradient(45deg, transparent 7px, var(--card) 0) 7px 0 / 14px 100% repeat-x;
  filter: drop-shadow(0 2px 2px rgba(16, 22, 36, 0.08));
}

.bars { max-width: 620px; }
.bar-row { display: flex; align-items: center; gap: 14px; padding: 6px 0; font-size: 14px; }
.bar-row .name { min-width: 180px; }
.bar-row .track { flex: 1; height: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.bar-row .fill { display: block; height: 100%; background: var(--blue); }
.bar-row b { font-family: 'IBM Plex Mono', monospace; font-size: 13px; min-width: 32px; text-align: right; }

.meter-wrap { margin-top: 30px; max-width: 620px; }
.meter { height: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--green); }
.meter-wrap p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }

.led-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  position: sticky;
  top: 62px;
  background: var(--paper);
  z-index: 10;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.chip {
  appearance: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.chip:hover { border-color: var(--line-blue); }
.chip.active { color: #fff; background: var(--blue); border-color: var(--blue); }
.led-search {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  flex: 1;
  min-width: 200px;
}
.led-search:focus { outline: none; border-color: var(--blue); }
.led-count { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; }

.month-div {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 26px 0 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.led-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.led-date { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-faint); padding-top: 3px; }
.led-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.led-head .holder { font-weight: 600; font-size: 14.5px; }
.led-pred { font-size: 14.5px; }
.led-quote { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.led-quote a { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; white-space: nowrap; }

/* entity dossier */
.pulse {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  padding: 14px 0 0;
}
.pulse .col { flex: 1; min-width: 3px; background: var(--line-blue); border-radius: 2px 2px 0 0; }
.pulse .col.peak { background: var(--blue); }
.pulse .col:hover { background: var(--blue); }
.pulse-x {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.pulse-note { margin-top: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-faint); }

.arc-card .when {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.arc-card .claim-body { font-size: 14.5px; }
.arc-card .quote { margin-top: 10px; font-size: 13px; color: var(--ink-soft); border-left: 2px solid var(--line-blue); padding-left: 12px; }
.arc-card .src { margin-top: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; }

.dos { border-top: 1px solid var(--line); }
.dos-ep { padding: 22px 0; border-bottom: 1px solid var(--line); }
.dos-date {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-faint);
}
.dos-title { display: inline-block; margin-top: 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.dos-title:hover { color: var(--blue); text-decoration: none; }
.dos-more { margin-top: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-faint); }

/* briefing + digest */
.mast {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 26px;
}
.mast-brand { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.mast-issue { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-faint); }

.brief-dateline {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.lead-card { padding: 32px 34px; border-color: var(--line-blue); }
.lead-title {
  display: block;
  margin-top: 14px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.lead-title:hover { color: var(--blue); text-decoration: none; }
.pullquote {
  margin: 20px 0 6px;
  font-size: 17px;
  line-height: 1.55;
  border-left: 3px solid var(--blue);
  padding-left: 18px;
  max-width: 62ch;
}
.pullquote .who { display: block; margin-top: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-faint); }
.fm { display: flex; gap: 8px 6px; flex-wrap: wrap; margin-top: 14px; }

.story {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.story:last-child { border-bottom: 0; }
.story-no {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
}
.story-title { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.story-body { margin-top: 10px; font-size: 15.5px; color: var(--ink-soft); max-width: 72ch; }
.cite {
  margin-top: 14px;
  border-left: 2px solid var(--line-blue);
  padding-left: 16px;
  max-width: 66ch;
}
.cite blockquote { font-size: 14px; color: var(--ink-soft); }
.cite figcaption { margin-top: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-faint); }
@media (max-width: 720px) {
  .story { grid-template-columns: 1fr; gap: 8px; }
}

.signals { list-style: none; max-width: 72ch; }
.signals li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
  position: relative;
}
.signals li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--blue);
}
.signals li a { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; white-space: nowrap; }

.issue-lead { display: block; color: var(--ink); }
.issue-lead:hover { text-decoration: none; border-color: var(--line-blue); }
.issue-head { margin-top: 14px; font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.issue-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 30px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.issue-row:hover { text-decoration: none; }
.issue-row:hover h3 { color: var(--blue); }
.issue-no { font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 600; color: var(--blue); }
.issue-when { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-faint); }
.issue-row h3 { margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.issue-row p { margin-top: 4px; font-size: 13.5px; color: var(--ink-soft); }
.issue-arrow { font-family: 'IBM Plex Mono', monospace; color: var(--ink-faint); }
@media (max-width: 720px) {
  .issue-row { grid-template-columns: 1fr; gap: 6px; }
  .issue-arrow { display: none; }
}

/* ---------- takeaways (episode block + /takeaways/ feed) ---------- */

.tk-from { font-size: 15px; color: var(--ink-soft); margin: -8px 0 8px; }
.tk-from b { color: var(--ink); font-weight: 600; }
.tk-list { list-style: none; margin: 0; padding: 0; }
.tk {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.tk:last-child { border-bottom: 0; }
.tk-no {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  padding-top: 3px;
}
.tk-no::before { content: '['; opacity: 0.45; }
.tk-no::after { content: ']'; opacity: 0.45; }
.tk-main { max-width: 74ch; }
.tk-title { font-size: 18px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; color: var(--ink); }
.tk-body { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.tk .cite { margin-top: 12px; }
.tk-ts { color: var(--blue); }

.tk-post {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.tk-post summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
  align-items: center;
}
.tk-post summary::-webkit-details-marker { display: none; }
.tk-post summary::after { content: '+'; margin-left: auto; font-family: 'IBM Plex Mono', monospace; color: var(--ink-faint); }
.tk-post[open] summary::after { content: '−'; }
.tk-post[open] summary { border-bottom: 1px solid var(--line); }
.tk-post-body { padding: 16px 18px 18px; }
.tk-post-body pre {
  white-space: pre-wrap;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  max-height: 420px;
  overflow: auto;
}
.tk-post-actions { display: flex; gap: 14px; align-items: center; margin-top: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; }
.tk-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
}
.tk-copy:hover { background: var(--blue-dark); }

.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tk-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.tk-chip:hover { border-color: var(--line-blue); color: var(--blue); }
.tk-chip.on { color: #fff; background: var(--blue); border-color: var(--blue); }

.tk-entry-head { margin-bottom: 6px; }
.tk-entry-title { margin-top: 12px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; max-width: 30ch; }
.tk-entry-title a { color: var(--ink); }
.tk-entry-title a:hover { color: var(--blue); text-decoration: none; }
.tk-entry-head .tk-from { margin-top: 10px; }
.tk-entry-foot { display: flex; gap: 20px; margin-top: 18px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; }

.tk-rows { display: flex; flex-direction: column; }
.tk-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 220px) 36px;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14.5px;
}
.tk-row:hover { text-decoration: none; }
.tk-row:hover .tk-row-title { color: var(--blue); }
.tk-row-when { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; }
.tk-row-title { font-weight: 500; }
.tk-row-from { font-size: 13px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-row-n { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--blue); text-align: right; }

@media (max-width: 720px) {
  .tk { grid-template-columns: 1fr; gap: 6px; }
  .tk-row { grid-template-columns: 1fr; gap: 2px; }
  .tk-row-from { white-space: normal; }
  .tk-row-n { text-align: left; }
}
.block .tk-entry-title {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
  line-height: 1.25;
  margin: 12px 0 0;
}
.block .tk-entry-title::before, .block .tk-entry-title::after { content: none; }
