/* Content pages (/v/, /plans/): same brand as styles.css, one reading column. Built by tools/pages/build.py. */
.doc-main { max-width: 820px; padding-block: 12px 56px; display: grid; gap: 40px; }
.doc-main article { display: grid; gap: 28px; min-width: 0; }
.doc-main article > *, .doc-main > * { min-width: 0; }
.doc h1 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 5.4vw, 48px); line-height: 1.06; letter-spacing: -.01em; max-width: 22ch; }
.doc h2 { font-size: clamp(22px, 4.4vw, 28px); max-width: none; margin-bottom: 12px; }
.doc h2.label { font-family: var(--mono); font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.doc p, .doc li { max-width: 68ch; }
.crumbs a { color: var(--muted); }
.meta { margin-top: -14px; }
.lede { font-size: 19px; line-height: 1.5; max-width: 52ch; }

.player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--rule); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.answer { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--marker); border-radius: 10px; padding: 18px 20px; display: grid; gap: 10px; }
.answer p { font-size: 18px; line-height: 1.55; }

.chapters { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.chapters a { display: flex; gap: 12px; padding: 7px 4px; text-decoration: none; border-radius: 6px; }
.chapters a:hover { background: var(--card); }
.ts { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); min-width: 3.4em; text-decoration: none; }
a.ts:hover { text-decoration: underline; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.numbers { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.numbers th, .numbers td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
.numbers thead th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.numbers tbody th { font-weight: 600; min-width: 9em; }
.numbers td:nth-child(2) { font-variant-numeric: tabular-nums; }
.numbers td:last-child { font-size: 13.5px; color: var(--muted); white-space: nowrap; }

.try { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.kit { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--fg); border-radius: 999px; padding: 9px 16px; }
.btn-ghost:hover { background: var(--marker); color: var(--paper-ink); border-color: var(--paper-ink); }

.transcript { display: grid; gap: 12px; }
.transcript h2 { margin-bottom: 0; }
.transcript p { font-size: 16px; line-height: 1.65; }
.transcript .ts { margin-right: 6px; }

.sources { padding-left: 1.2em; margin: 0; display: grid; gap: 4px; font-size: 15px; }
.sources a { overflow-wrap: anywhere; }

.desk { border-top: 1px solid var(--rule); padding-top: 20px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.desk p { max-width: 70ch; }
.desk .text-link { color: var(--fg); }

.related ul, .vgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.related a, .vgrid a { display: grid; gap: 8px; text-decoration: none; }
.related img, .vgrid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--rule); display: block; }
.related span, .vgrid .t { font-weight: 600; line-height: 1.3; }
.related a:hover span, .vgrid a:hover .t { text-decoration: underline; }

/* Phones: each table row becomes a small card with labels, so no column hides off-screen. */
@media (max-width: 620px) {
  .numbers thead { display: none; }
  .numbers, .numbers tbody, .numbers tr, .numbers th, .numbers td { display: block; width: 100%; }
  .numbers tr { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; background: var(--card); }
  .numbers th, .numbers td { border: 0; padding: 3px 0; }
  .numbers tbody th { min-width: 0; }
  .numbers td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 13px; }
  .numbers td:last-child { white-space: normal; }
}
