* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #171717;
  --muted: #686868;
  --border: #d9d6cf;
  --max-width: 1040px;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.page {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 72px 0 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 64px;
  align-items: center;
  min-height: 70vh;
}

.cover-wrap {
  width: 100%;
}

.cover {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.7rem;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: #2c2c2c;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.platforms {
  display: grid;
  gap: 12px;
  max-width: 460px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.platform-badge,
.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
}

.platform-icon-square {
  aspect-ratio: 1 / 1;
}

.platform-badge-unavailable {
  cursor: default;
}

.telegram-link {
  gap: 10px;
}

.telegram-link img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.episode {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.episode-number,
.episode-meta,
.episode-description {
  color: var(--muted);
}

.episode-number {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.episode-meta,
.episode-description {
  margin-bottom: 0;
  line-height: 1.5;
}

.status {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.about > p {
  max-width: 720px;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.65;
}

footer {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .page {
    width: min(calc(100% - 28px), var(--max-width));
    padding-top: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .cover-wrap {
    max-width: 520px;
  }

  .episode {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section {
    padding: 52px 0;
  }
}
