:root {
  color-scheme: light;
  --ink: #1a1a17;
  --paper: #faf8f3;
  --muted: #6b6a63;
  --accent: #c05621;
  --rule: #e4e0d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}

.hero {
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.prose p {
  font-size: 1.05rem;
}

.products {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.products h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.products p {
  color: var(--muted);
}

.product-card {
  padding: 1rem 0 0;
}

.product-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.product-card h3 a,
.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.product-card h3 a:hover,
.eyebrow a:hover {
  text-decoration: underline;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.provenance {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
}

.purchase {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.buy-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.buy-button:hover {
  filter: brightness(1.08);
}

.purchase-note {
  font-size: 0.85rem;
  color: var(--muted);
}

footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  border-top: 1px solid var(--rule);
}

footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.episode {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.episode-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.episode-back {
  font-size: 0.85rem;
  color: var(--muted);
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.preview-table th,
.preview-table td {
  border: 1px solid var(--rule);
  padding: 0.35rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.preview-table th {
  font-weight: 600;
}

.preview-table.coverage {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.preview-table em {
  color: var(--muted);
  font-style: italic;
}

.record-strip {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.record-strip a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.record-strip a:hover {
  text-decoration: underline;
}

.footer-links {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--rule);
}

.footer-links a:hover {
  color: var(--ink);
}

.manifest {
  font-size: 0.8rem;
  line-height: 1.45;
  background: #f3f0e8;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.prose h3 {
  font-size: 1rem;
}
