/* Covered show site. No framework. Light and dark follow the system setting. */
:root {
  --accent: #0f766e;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --text: #1a1916;
  --muted: #5c584f;
  --border: #e5e1d7;
  --accent-ink: var(--accent);
  --accent-soft: #e6f2f0;
  --accent-soft: color-mix(in srgb, var(--accent) 9%, var(--surface));
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgb(20 18 12 / 4%), 0 8px 24px -12px rgb(20 18 12 / 14%);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 72rem;
  --narrow: 46rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1012;
    --surface: #15191c;
    --surface-2: #1b2024;
    --text: #ebe9e4;
    --muted: #a19d94;
    --border: #272d32;
    --accent-ink: #5eead4;
    --accent-ink: color-mix(in srgb, var(--accent) 45%, #ffffff);
    --accent-soft: color-mix(in srgb, var(--accent) 20%, var(--surface));
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 10; background: var(--accent); color: var(--on-accent); padding: .5rem .9rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.wrap.narrow { max-width: var(--narrow); }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand-mark { width: 1.9rem; height: 1.9rem; padding: .35rem; border-radius: 9px; background: var(--accent); color: var(--on-accent); stroke-width: 2.4; }
.nav { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .45rem .7rem; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* shared bits */
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: 700; color: var(--accent-ink); margin: 0 0 .75rem; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 40rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.section { padding: 2.5rem 1rem; }
@media (min-width: 640px) { .section { padding: 3.25rem 1.5rem; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.section-lede { color: var(--muted); max-width: 44rem; }
.more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; text-decoration: none; }
.more .icon { width: 1em; height: 1em; transition: transform .15s; }
.more:hover .icon { transform: translateX(3px); }
.button { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; padding: .75rem 1.15rem; border-radius: 999px; }
.button:hover { filter: brightness(1.08); }
.button .icon { width: 1em; height: 1em; }

/* hero */
.hero { padding: 2.75rem 0 1.5rem; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60rem 28rem at 85% -10%, var(--accent-soft), transparent 70%),
    var(--bg); }
.hero-grid { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 5rem 0 4rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 4rem; }
}
.hero h1 { margin-bottom: .45em; }
.listen { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .95rem; color: var(--text); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.pill:hover { border-color: var(--accent-ink); }
.pill .icon { color: var(--accent-ink); }
.listen .pill:first-child { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.listen .pill:first-child .icon { color: var(--on-accent); }
.facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .95rem; }
.facts strong { color: var(--text); }
.hero-art { display: flex; justify-content: center; }
.cover-art, .cover-img { width: min(100%, 22rem); aspect-ratio: 1; border-radius: 22px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 45%), 0 0 0 1px rgb(0 0 0 / 6%); }
.cover-art {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / 22%), transparent 55%),
    linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000));
}
.cover-art::after { content: ""; position: absolute; inset: auto -20% -45% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgb(255 255 255 / 18%); }
.cover-top { position: absolute; top: 1.5rem; left: 1.5rem; }
.cover-mark { width: 3.2rem; height: 3.2rem; stroke-width: 2; }
.cover-name { font-size: clamp(2.6rem, 2rem + 3vw, 3.8rem); font-weight: 850; letter-spacing: -0.05em; line-height: 1; }
.cover-sub { margin-top: .6rem; font-weight: 600; font-size: .95rem; opacity: .9; line-height: 1.35; }
@media (max-width: 899px) { .hero-art { order: -1; justify-content: flex-start; } .cover-art, .cover-img { width: 9.5rem; border-radius: 16px; padding: 1rem; } .cover-top { top: 1rem; left: 1rem; } .cover-mark { width: 2rem; height: 2rem; } .cover-name { font-size: 1.9rem; } .cover-sub { display: none; } }

/* start-here path */
.path { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.path li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.path .num { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--accent-soft); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.path .is-soon .num { background: var(--surface-2); color: var(--muted); }
.path-body { min-width: 0; }
.path-body a, .path-body .title { display: block; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.3; }
.path-body a:hover { color: var(--accent-ink); }
.path .is-soon .title { color: var(--muted); }
.path .sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .92rem; margin-top: .15rem; }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }
.status .icon { width: .8em; height: .8em; fill: currentColor; }
.status.live { background: var(--accent-soft); color: var(--accent-ink); }
.status.soon { background: var(--surface-2); color: var(--muted); }
@media (max-width: 520px) { .path li { grid-template-columns: 2.25rem minmax(0, 1fr); } .path .num { width: 2.25rem; height: 2.25rem; } .path .status { grid-column: 2; justify-self: start; } }

/* episode cards */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.ep-card { position: relative; padding: 1.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.ep-card:hover { border-color: var(--accent-ink); transform: translateY(-2px); }
.ep-card h3 { margin: .7rem 0 .45rem; font-size: 1.15rem; }
.ep-card h3 a { color: var(--text); text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.ep-card p { color: var(--muted); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ep-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; font-size: .82rem; color: var(--muted); font-weight: 600; }
.badge { background: var(--accent); color: var(--on-accent); padding: .18rem .55rem; border-radius: 6px; font-weight: 750; font-size: .78rem; letter-spacing: .02em; }
.meta-item { display: inline-flex; align-items: center; gap: .3rem; }
.meta-item .icon { width: .95em; height: .95em; }

/* who + tracks */
.who { display: grid; gap: 2rem; }
@media (min-width: 900px) { .who { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; } }
.who p { color: var(--muted); }
.tracks { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tracks { grid-template-columns: 1fr 1fr; } }
.track-card { display: flex; flex-direction: column; padding: 1.4rem; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.track-card:hover { border-color: var(--accent-ink); transform: translateY(-2px); }
.track-card h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.track-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.track-count { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--accent-ink); font-size: .92rem; }
.track-count .icon { width: 1em; height: 1em; }

/* calls to action */
.cta-row { display: grid; gap: 1rem; }
@media (min-width: 800px) { .cta-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.cta-card { padding: 1.6rem; }
.cta-card h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.cta-card p { color: var(--muted); }
.cta-icon { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 1rem; }
.signup { display: flex; flex-wrap: wrap; gap: .5rem; }
.signup input { flex: 1 1 14rem; min-width: 0; font: inherit; padding: .72rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.signup input:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 1px; }
.signup button { font: inherit; font-weight: 700; cursor: pointer; border: 0; padding: .72rem 1.2rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.signup button:hover { filter: brightness(1.08); }
.fine { font-size: .82rem; color: var(--muted); margin: .75rem 0 0; }

/* page heads */
.page-head { padding: 2.75rem 0 1.5rem; border-bottom: 1px solid var(--border); background: radial-gradient(50rem 20rem at 90% -20%, var(--accent-soft), transparent 70%), var(--bg); }
@media (min-width: 640px) { .page-head { padding: 4rem 0 2.5rem; } }
.page-head .listen { margin-top: 1rem; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs a { color: var(--muted); }
.ep-sub { color: var(--muted); font-size: .95rem; font-weight: 550; }

/* episode page */
.ep-hero { padding: 2.25rem 0 2rem; border-bottom: 1px solid var(--border); background: radial-gradient(50rem 22rem at 90% -20%, var(--accent-soft), transparent 70%), var(--bg); }
@media (min-width: 640px) { .ep-hero { padding: 3.5rem 0 2.75rem; } }
.ep-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); max-width: 52rem; }
.ep-hero .lede { max-width: 46rem; }
.player { padding: 1rem; margin-top: 1.5rem; max-width: 46rem; }
.player audio { width: 100%; display: block; }
.player-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .75rem; font-size: .88rem; }
.ai-pill, .dl { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; padding: .3rem .7rem; border-radius: 999px; }
.ai-pill { background: var(--accent-soft); color: var(--accent-ink); }
.dl { color: var(--muted); }
.dl:hover { color: var(--text); }
.ai-pill .icon, .dl .icon { width: 1em; height: 1em; }

.ep-grid { display: grid; gap: 2rem; padding: 2rem 0 1rem; }
@media (min-width: 960px) {
  .ep-grid { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3.5rem; padding-top: 3rem; }
  .ep-grid .ep-aside { grid-column: 2; grid-row: 1; }
  .ep-grid .ep-main { grid-column: 1; grid-row: 1; }
  .ep-grid.no-aside { grid-template-columns: minmax(0, 46rem); }
  .chapters { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow: auto; }
}
.ep-main { min-width: 0; max-width: 46rem; }
.chapters { padding: 1.1rem 1.1rem .7rem; }
.chapters h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .6rem; }
.chapters ol { list-style: none; margin: 0; padding: 0; }
.chapters li a { display: grid; grid-template-columns: 3.4rem 1fr; gap: .5rem; padding: .45rem .5rem; margin: 0 -.5rem; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .95rem; line-height: 1.35; }
.chapters li a:hover { background: var(--surface-2); }
.ts { font-family: var(--mono); font-size: .85em; color: var(--accent-ink); font-variant-numeric: tabular-nums; padding-top: .1em; }

.block { padding: 0 0 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--border); }
.block:last-child { border-bottom: 0; }
.block h2 { font-size: 1.45rem; }
.terms { margin: 0; display: grid; gap: .75rem; }
.terms div { padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.terms dt { font-weight: 750; }
.terms dd { margin: .2rem 0 0; color: var(--muted); font-size: .97rem; }
.disclosure { background: var(--surface-2); border-left: 3px solid var(--accent); padding: .75rem 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
.links { padding-left: 1.2rem; }
.links li { margin: .3rem 0; }
.paid { color: var(--muted); font-size: .9rem; }
.transcript .note { color: var(--muted); font-size: .92rem; }
.tr-sec { margin-top: 1.75rem; }
.tr-sec h3 { display: flex; align-items: baseline; gap: .75rem; scroll-margin-top: 5rem; font-size: 1.15rem; }
.tr-sec h3 .ts { text-decoration: none; font-weight: 500; font-size: .8rem; background: var(--accent-soft); padding: .15rem .45rem; border-radius: 6px; }
.tr-sec p { max-width: 42rem; }
.sources { padding-left: 1.3rem; font-size: .92rem; color: var(--muted); overflow-wrap: anywhere; }
.sources li { margin: .5rem 0; }
.notice { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.4rem .6rem; }
.notice h2 { font-size: 1.1rem; }
.notice p { font-size: .95rem; color: var(--muted); }
.notice strong { color: var(--text); }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .4rem 0; }
.questions h3, .questions h4 { margin-top: 1.5rem; }

.pager { display: grid; gap: 1rem; padding: 1rem 0 3rem; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } .pager .next { grid-column: 2; text-align: right; } }
.pager a { padding: 1rem 1.25rem; text-decoration: none; color: var(--text); font-weight: 700; display: block; }
.pager a:hover { border-color: var(--accent-ink); }
.pager .eyebrow { margin-bottom: .3rem; }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 3rem 0 2rem; margin-top: 2rem; font-size: .95rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-grid .brand { margin-bottom: .75rem; }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: .75rem; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot-list a { color: var(--text); text-decoration: none; }
.foot-list a:hover { color: var(--accent-ink); text-decoration: underline; }
.foot-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; max-width: 52rem; }
.foot-legal a { color: inherit; }

/* practice questions */
.quiz { list-style: none; counter-reset: q; padding: 0; margin: 1rem 0 0; display: grid; gap: .9rem; }
.quiz > li { counter-increment: q; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.q-text { font-weight: 650; margin-bottom: .6rem; }
.q-text::before { content: counter(q) ". "; color: var(--accent-ink); font-weight: 800; }
.opts { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .35rem; }
.opts li { display: flex; gap: .6rem; align-items: baseline; font-size: .97rem; }
.opt-key { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--surface-2); color: var(--muted); }
.quiz details { border-top: 1px dashed var(--border); padding-top: .6rem; }
.quiz summary { cursor: pointer; font-weight: 700; color: var(--accent-ink); font-size: .92rem; }
.quiz details p { margin: .5rem 0 0; color: var(--muted); font-size: .95rem; }
.quiz details strong { color: var(--text); }

@media (min-width: 720px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) {
  .bar { gap: .5rem; }
  .brand { font-size: 1.05rem; gap: .4rem; }
  .brand-mark { width: 1.7rem; height: 1.7rem; }
  .nav a { padding: .4rem .5rem; font-size: .9rem; }
}
