
:root {
  --bg: #000f2f;
  --surface: #1b375d;
  --surface-alt: #254267;
  --line: #315786;
  --text: #f8f5ef;
  --muted: #c4cbda;
  --primary: #fa490c;
  --primary-strong: #d63f0a;
  --accent: #fbb109;
  --radius: 14px;
  --space-1: 0.75rem;
  --space-2: 1.15rem;
  --space-3: 1.6rem;
  --space-4: 2.4rem;
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.18);
  --shadow-hover: 0 16px 34px rgba(0, 0, 0, 0.24);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at top, var(--surface-alt) 0%, var(--bg) 48%);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.68;
}
a { color: var(--primary); text-decoration: none; transition: color .18s ease; }
a:hover { text-decoration: underline; }
.shell { width: min(1100px, 92vw); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, white 12%);
  position: sticky; top: 0; backdrop-filter: blur(6px);
}
.header-shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.brand-lockup { display: grid; gap: 0.14rem; }
.site-brand { font-family: 'Segoe UI Semibold', 'Trebuchet MS', Arial, sans-serif; font-weight: 700; letter-spacing: 0.02em; color: var(--text); }
.site-subbrand { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 620; }
.site-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 999px;
  padding: 0.2rem;
  background: color-mix(in srgb, var(--surface) 85%, black 15%);
}
.nav-link { color: var(--muted); padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid transparent; }
.nav-link:hover { color: var(--text); border-color: var(--line); text-decoration: none; }
.nav-link.is-active { color: var(--text); border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
main { padding: 2.35rem 0 3.3rem; }
h1, h2, h3 { font-family: 'Segoe UI Semibold', 'Trebuchet MS', Arial, sans-serif; line-height: 1.2; margin-top: 0; }
h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  max-width: 18ch;
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(1.35rem, 2.3vw, 1.76rem); }
.kicker { color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; font-weight: 700; }
.lede { color: var(--muted); max-width: 70ch; font-size: 1.08rem; }
.meta {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 650;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, color-mix(in srgb, var(--surface) 90%, white 10%) 0%, var(--surface) 100%);
  padding: 1.28rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  border-color: color-mix(in srgb, var(--primary) 24%, var(--line));
  box-shadow: var(--shadow-hover);
}
.hero { padding: 1.7rem 1.7rem 1.55rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 1.25rem;
  align-items: center;
}
.hero-cover-wrap { justify-self: end; }
.hero-cover {
  width: min(360px, 100%);
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.15rem; }
.button { display: inline-block; border-radius: 11px; padding: 0.66rem 1rem; font-weight: 600; border: 1px solid var(--line); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.button:hover { text-decoration: none; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--primary); color: #ffffff; border-color: var(--primary-strong); }
.button-primary:hover { box-shadow: 0 8px 18px rgba(250, 73, 12, 0.32); }
.button-secondary { background: transparent; color: var(--text); }
.trust-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.trust-points li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.24rem 0.68rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-alt) 76%, black 24%);
}
.grid { display: grid; gap: 1rem; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.episode-card {
  display: grid;
  align-content: start;
  gap: 0.42rem;
}
.episode-card h2,
.episode-card h3 {
  margin-bottom: 0.28rem;
}
.episode-card h2 a,
.episode-card h3 a {
  text-decoration: none;
}
.card-link {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}
.stack { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.62rem; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.detail { color: var(--muted); font-size: 0.94rem; }
.snapshot-table { width: 100%; border-collapse: collapse; }
.snapshot-table th, .snapshot-table td { border-bottom: 1px solid var(--line); padding: 0.45rem; text-align: left; vertical-align: top; }
.snapshot-table th { color: var(--muted); font-weight: 600; }
.follow-links { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.follow-link {
  display: inline-flex; align-items: center; gap: 0.48rem;
  border: 1px solid var(--line); border-radius: 11px; padding: 0.52rem 0.72rem;
  background: color-mix(in srgb, var(--surface) 75%, black 25%);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.follow-link:hover {
  text-decoration: none;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.follow-link.is-disabled { opacity: 0.7; cursor: default; }
.platform-icon {
  width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--line) 74%, #fff);
}
.platform-logo { width: 0.95rem; height: 0.95rem; display: block; }
.todo-note { color: var(--accent); font-size: 0.92rem; }
audio { width: 100%; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 1.75rem 0 2.35rem; }
.copyright { margin-top: 0.2rem; font-size: 0.9rem; }
@media (max-width: 780px) {
  .header-shell { align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cover-wrap { justify-self: start; }
}
