:root {
  --bg: #d9dde4;
  --surface: #f6f7fa;
  --surface-2: #fdfdfe;
  --ink: #121419;
  --muted: #4f596d;
  --accent: #121419;
  --accent-2: #121419;
  --stroke: rgba(18, 20, 25, 0.1);
  --soft-shadow:
    0 20px 48px rgba(16, 24, 40, 0.1),
    0 2px 8px rgba(16, 24, 40, 0.06);
  --soft-shadow-small:
    0 10px 24px rgba(16, 24, 40, 0.08),
    0 1px 3px rgba(16, 24, 40, 0.06);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.55;
  background:
    radial-gradient(circle at 8% 0%, rgba(130, 170, 255, 0.2), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(173, 210, 255, 0.18), transparent 30%),
    linear-gradient(145deg, #d7dce5 0%, #dbe0e8 44%, #d4dae3 100%);
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.noise-layer::before,
.noise-layer::after {
  content: "";
  position: absolute;
  inset: 0;
}

.noise-layer::before {
  background:
    radial-gradient(circle at 18% 8%, rgba(112, 162, 255, 0.34), transparent 34%),
    radial-gradient(circle at 76% 2%, rgba(163, 203, 255, 0.28), transparent 30%),
    radial-gradient(circle at 50% 0%, rgba(204, 226, 255, 0.2), transparent 44%);
  filter: blur(24px);
  opacity: 0.94;
}

.noise-layer::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.24'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.26' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='96' height='96' filter='url(%23n2)' opacity='0.16'/%3E%3C/svg%3E");
  opacity: 0.29;
  mix-blend-mode: soft-light;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

.scroll-progress {
  position: fixed;
  top: var(--safe-top);
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 60;
  background: rgba(15, 20, 34, 0.08);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7aa7ff 0%, #8ebdff 46%, #5f96f8 100%);
  box-shadow: 0 0 14px rgba(116, 167, 255, 0.52);
  transition: width 110ms linear;
}

.glow {
  display: none;
}

.glow-left {
  top: -140px;
  left: -120px;
  background: rgba(230, 87, 47, 0.34);
}

.glow-right {
  top: -120px;
  right: -100px;
  background: rgba(15, 142, 129, 0.28);
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
}

p {
  margin: 0;
}

.container {
  width: min(1260px, calc(100% - 4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1300px, calc(100% - 4rem));
  margin: 1.15rem auto 0;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  padding: 0.72rem 1rem;
  background: rgba(247, 250, 255, 0.56);
  backdrop-filter: blur(14px) saturate(125%);
  box-shadow: var(--soft-shadow-small);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(0.87rem, 1.8vw, 1rem);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.site-nav-shell {
  display: contents;
}

.site-nav .nav-mobile-only {
  display: none;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 0.8rem;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(18, 20, 25, 0.08);
}

.site-nav a:focus-visible {
  outline: 2px solid rgba(121, 149, 194, 0.85);
  outline-offset: 2px;
}

.site-nav a:not(.active):active {
  transform: scale(0.98);
  background: rgba(18, 20, 25, 0.12);
}

.site-nav a.active {
  color: var(--ink);
  border-color: rgba(121, 149, 194, 0.46);
  background: linear-gradient(140deg, rgba(164, 190, 233, 0.74), rgba(185, 205, 239, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 4px 12px rgba(103, 133, 183, 0.2);
}

/* Burger button — hidden on desktop */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 0.65rem;
  background: rgba(247, 250, 255, 0.6);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 200ms ease;
}

.burger:active {
  background: rgba(18, 20, 25, 0.08);
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 200ms ease;
  transform-origin: center;
}

.burger.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.burger.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
}

@media (max-width: 780px) {
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 29;
    background: rgba(247, 250, 255, 0.82);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 350ms ease, visibility 0s 350ms;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 350ms ease, visibility 0s;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 4.5rem 1.5rem 2rem;
  }

  .mobile-menu__nav a {
    display: block;
    text-decoration: none;
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--muted);
    padding: 0.7rem 0.4rem;
    border-radius: 0.8rem;
    transition: color 180ms ease, background 180ms ease;
    opacity: 0;
    transform: translateY(12px);
  }

  .mobile-menu__nav a:active {
    background: rgba(18, 20, 25, 0.06);
  }

  .mobile-menu__nav a.active {
    color: var(--ink);
  }

  .mobile-menu.is-open .mobile-menu__nav a {
    animation: menuFadeUp 400ms ease forwards;
  }

  .mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { animation-delay: 0ms; }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { animation-delay: 60ms; }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { animation-delay: 120ms; }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { animation-delay: 180ms; }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { animation-delay: 240ms; }

  .mobile-menu__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    opacity: 0;
    transform: translateY(12px);
  }

  .mobile-menu__footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
  }

  .mobile-menu__footer a[href^="mailto"] {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-menu__socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
  }

  .mobile-menu__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: rgba(18, 20, 25, 0.06);
    transition: background 180ms ease;
  }

  .mobile-menu__socials a:active {
    background: rgba(18, 20, 25, 0.12);
  }

  .mobile-menu__socials svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: var(--ink);
  }

  .mobile-menu.is-open .mobile-menu__footer {
    animation: menuFadeUp 400ms ease forwards;
    animation-delay: 300ms;
  }
}

@keyframes menuFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  padding-top: clamp(3rem, 8vw, 5.4rem);
  display: grid;
  gap: clamp(1.2rem, 4vw, 2.6rem);
  grid-template-columns: 1.07fr 0.93fr;
  align-items: start;
}

.hero-copy {
  max-width: 62ch;
}

.hero-copy h1 {
  position: relative;
  display: inline-block;
}

.hero-copy h1::after {
  display: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.95rem;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(18, 20, 25, 0.06);
  color: #4a5161;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.tag.small {
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
}

.card .tag,
.card .tag.small {
  border: 1px solid rgba(121, 149, 194, 0.46);
  background: linear-gradient(140deg, rgba(164, 190, 233, 0.74), rgba(185, 205, 239, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
  color: #33415d;
}

.tag.tag-new,
.card .tag.tag-new {
  background: linear-gradient(140deg, #5aacf0, #3d8fd4);
  border-color: rgba(58, 130, 200, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 8px rgba(58, 140, 210, 0.28);
  color: #fff;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 62ch;
}

.media-kit-lead {
  max-width: none;
}

.page-top .lead {
  max-width: none;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid rgba(121, 149, 194, 0.85);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn[disabled],
.btn[aria-disabled="true"],
.btn.is-disabled {
  opacity: 0.52;
  filter: saturate(0.72);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.btn.is-loading,
.btn[aria-busy="true"] {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.btn.is-loading::after,
.btn[aria-busy="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-right-color: transparent;
  animation: btnSpin 700ms linear infinite;
}

.btn-ghost.is-loading::after,
.btn-ghost[aria-busy="true"]::after {
  border-color: rgba(18, 20, 25, 0.75);
  border-right-color: transparent;
}

.btn-primary {
  color: #fff;
  padding: 0.74rem 1.1rem;
  background: #101114;
  box-shadow: 0 8px 20px rgba(16, 17, 20, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1b1e25;
  box-shadow: 0 10px 22px rgba(16, 17, 20, 0.26);
}

.btn-ghost {
  color: var(--ink);
  padding: 0.74rem 1.1rem;
  border-color: rgba(26, 31, 43, 0.2);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(26, 31, 43, 0.28);
}

.btn-small {
  padding: 0.5rem 0.84rem;
  font-size: 0.88rem;
}

.platform-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.episodes-more-mobile {
  display: none;
}

.hero-mobile-followup {
  display: none;
}

.latest-mobile-player {
  display: grid;
  gap: 0.72rem;
}

.latest-mobile-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.78rem;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.68);
}

.latest-mobile-meta {
  display: grid;
  gap: 0.38rem;
}

.latest-mobile-description {
  margin-top: 0.2rem;
}

.latest-mobile-audio {
  width: 100%;
  margin-top: 0.3rem;
}

.latest-mobile-fallback-link {
  width: 100%;
  margin-top: 0.3rem;
}

.platform-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.44rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  color: #2b3040;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  box-shadow: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.platform-pill[data-platform="yandex"]:hover,
.platform-pill[data-platform="yandex"]:focus-visible {
  background: #ffd433;
  border-color: #f3be00;
  box-shadow: 0 10px 22px rgba(243, 190, 0, 0.26);
}

.platform-pill[data-platform="apple"]:hover,
.platform-pill[data-platform="apple"]:focus-visible {
  background: #a254d6;
  border-color: #8b44bb;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(138, 68, 187, 0.28);
}

.platform-pill[data-platform="spotify"]:hover,
.platform-pill[data-platform="spotify"]:focus-visible {
  background: #1ed760;
  border-color: #16bd53;
  color: #0c0f12;
  box-shadow: 0 10px 22px rgba(30, 215, 96, 0.28);
}

.platform-pill[data-platform="vk"]:hover,
.platform-pill[data-platform="vk"]:focus-visible {
  background: #2787f5;
  border-color: #1d72d9;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(39, 135, 245, 0.3);
}

.platform-widget {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.36rem);
  transform: translate(-50%, 0.2rem) scale(0.96);
  padding: 0.32rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 20, 25, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.platform-widget-heart {
  color: #f35f5f;
  font-size: 0.8rem;
  line-height: 1;
}

.platform-widget-value {
  color: #202636;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.platform-pill[data-platform="yandex"]:hover .platform-widget,
.platform-pill[data-platform="yandex"]:focus-visible .platform-widget,
.platform-pill[data-platform="yandex"].show-widget .platform-widget {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.platform-icon {
  display: none;
  font-family: "Unbounded", sans-serif;
  font-size: 0.86rem;
  line-height: 1;
}

.platform-logo {
  display: none;
}

.hero-cover {
  margin: 0;
  width: min(100%, 520px);
  justify-self: end;
  padding: 0.5rem;
  border-radius: 1.1rem;
  border: 1px solid var(--stroke);
  background: rgba(252, 253, 255, 0.72);
  backdrop-filter: blur(10px) saturate(118%);
  box-shadow:
    0 24px 64px rgba(16, 24, 40, 0.16),
    0 4px 12px rgba(16, 24, 40, 0.08);
  transform: rotate(2.5deg);
}

.hero-cover img {
  width: 100%;
  max-height: min(72vh, 560px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
  will-change: transform;
  transition: transform 220ms ease;
}

.section-headline {
  margin-top: clamp(3.2rem, 8vw, 5.8rem);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-headline h2 {
  color: var(--ink);
}

#media-kit {
  scroll-margin-top: 7.2rem;
}

#latestEpisode {
  scroll-margin-top: 9rem;
}

.card {
  border: 1px solid var(--stroke);
  border-radius: 0.9rem;
  padding: 1.2rem;
  background: rgba(250, 252, 255, 0.64);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: var(--soft-shadow-small);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
  border-color: rgba(18, 20, 25, 0.18);
}

.latest-wrap {
  margin-bottom: 1rem;
}

.latest-card {
  padding: clamp(1rem, 2.8vw, 1.6rem);
}

.apple-podcast-embed {
  margin-top: 0.7rem;
  border: 1px solid var(--stroke);
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(244, 248, 255, 0.74);
  backdrop-filter: blur(8px);
}

.apple-podcast-embed iframe {
  display: block;
  width: 100%;
  min-height: 460px;
  border: 0;
}

.text-muted {
  color: var(--muted);
}

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(18, 20, 25, 0.34);
  text-underline-offset: 2px;
  font-weight: 800;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.text-link:hover {
  color: #2a3040;
  text-decoration-color: rgba(42, 48, 64, 0.76);
}

.text-link:focus-visible {
  outline: 2px solid rgba(121, 149, 194, 0.85);
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.tldr-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 0.5rem;
}

.tldr-item {
  border: 1px solid var(--stroke);
  border-radius: 0.85rem;
  padding: 0.56rem 0.64rem;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
}

.tldr-item .kicker {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4a5161;
  font-weight: 800;
}

.tldr-item .value {
  margin-top: 0.25rem;
  font-family: "Unbounded", sans-serif;
  font-size: 0.9rem;
}

.tldr-item .label {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 0.95rem;
}

.episode-card {
  display: grid;
  gap: 0.55rem;
  min-height: 214px;
}

.episode-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.episode-meta {
  font-size: 0.84rem;
  color: var(--muted);
}

.media-kit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1rem;
}

.audience-thesis {
  display: grid;
  align-content: start;
  padding: clamp(1.25rem, 2.8vw, 1.75rem);
  gap: 1.15rem;
}

.audience-thesis > .tag {
  justify-self: start;
}

.audience-thesis h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.audience-thesis > .text-muted {
  max-width: none;
  line-height: 1.5;
  margin-top: -0.2rem;
}

.audience-thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  margin-top: 0.2rem;
  gap: 0.95rem;
}

.audience-thesis-point {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-height: 142px;
  border: 1px solid var(--stroke);
  border-radius: 0.82rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.62);
}

.audience-thesis-point h3 {
  font-size: 1.03rem;
  line-height: 1.2;
}

.audience-thesis-point p {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.compact-top {
  margin-top: 0.9rem;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 0.6rem;
}

.stat-item,
.bullet-item {
  position: relative;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(8px);
  border-radius: 0.9rem;
  border: 1px solid var(--stroke);
  padding: 0.72rem;
}

.stat-value {
  font-family: "Unbounded", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.telegram-subscribe-widget {
  position: absolute;
  top: 0.66rem;
  right: 0.66rem;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.26rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(39, 135, 245, 0.32);
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  color: #1b5fb3;
  box-shadow: 0 8px 20px rgba(39, 135, 245, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0.32rem) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.telegram-subscribe-logo {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  object-fit: cover;
  display: inline-block;
}

.telegram-subscribe-text {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  border-right: 1px solid rgba(32, 38, 54, 0.5);
}

.telegram-stat:hover .telegram-subscribe-widget,
.telegram-stat:focus-within .telegram-subscribe-widget {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.telegram-stat:hover .telegram-subscribe-text,
.telegram-stat:focus-within .telegram-subscribe-text {
  animation:
    telegramType 900ms steps(11, end) forwards,
    telegramCaret 650ms step-end infinite;
}

@keyframes telegramType {
  from {
    width: 0;
  }
  to {
    width: 11ch;
  }
}

@keyframes telegramCaret {
  0%,
  49% {
    border-right-color: rgba(32, 38, 54, 0.55);
  }
  50%,
  100% {
    border-right-color: transparent;
  }
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 0.6rem;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
}

#integrationGrid .integration-card {
  --mx: 50%;
  --my: 50%;
  --lift-y: -5px;
  --follow-strength: 0.24;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 0.6rem;
  min-height: 220px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

#integrationGrid .integration-card::before {
  content: "";
  position: absolute;
  inset: -45% auto auto -40%;
  width: 62%;
  height: 190%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.38) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-130%) rotate(6deg);
  pointer-events: none;
  transition: transform 540ms ease;
  z-index: 0;
}

#integrationGrid .integration-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 180px at var(--mx) var(--my),
    rgba(122, 167, 255, var(--follow-strength)),
    rgba(122, 167, 255, 0) 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 0;
}

#integrationGrid .integration-card > :not(.integration-featured-chip) {
  position: relative;
  z-index: 1;
}

#integrationGrid .integration-card.integration-card--1 {
  --lift-y: -3px;
  --follow-strength: 0.18;
}

#integrationGrid .integration-card.integration-card--2 {
  --lift-y: -4px;
  --follow-strength: 0.24;
}

#integrationGrid .integration-card.integration-card--3 {
  --lift-y: -7px;
  --follow-strength: 0.32;
}

#integrationGrid .integration-card.integration-card--3::before {
  transition-duration: 420ms;
}

#integrationGrid .integration-card .tag.small {
  width: fit-content;
  margin-bottom: 0.18rem;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

#integrationGrid .integration-card .integration-bonus {
  transform: translateY(4px);
  opacity: 0.86;
  transition: transform 220ms ease, opacity 220ms ease, color 220ms ease;
}

#integrationGrid .integration-card:hover,
#integrationGrid .integration-card:focus-within {
  transform: translateY(var(--lift-y));
  border-color: rgba(18, 20, 25, 0.22);
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.14);
}

#integrationGrid .integration-card:hover::after,
#integrationGrid .integration-card:focus-within::after {
  opacity: 1;
}

#integrationGrid .integration-card:hover::before,
#integrationGrid .integration-card:focus-within::before {
  transform: translateX(245%) rotate(6deg);
}

#integrationGrid .integration-card:hover .tag.small,
#integrationGrid .integration-card:focus-within .tag.small {
  transform: translateY(-1px);
  background: rgba(18, 20, 25, 0.12);
  color: #25324b;
}

#integrationGrid .integration-card:hover .integration-bonus,
#integrationGrid .integration-card:focus-within .integration-bonus {
  transform: translateY(0);
  opacity: 1;
  color: #24324d;
}

#integrationGrid .integration-card.integration-card--2:hover,
#integrationGrid .integration-card.integration-card--2:focus-within {
  animation: integrationCardPulse 1.5s ease-in-out infinite alternate;
}

#integrationGrid .integration-card.integration-card--3:hover .tag.small,
#integrationGrid .integration-card.integration-card--3:focus-within .tag.small {
  transform: translateY(-2px) scale(1.03);
}

#integrationGrid .integration-card.is-featured {
  border-color: rgba(23, 106, 82, 0.36);
  background:
    radial-gradient(circle at 100% -8%, rgba(94, 214, 170, 0.16), transparent 42%),
    rgba(250, 252, 255, 0.74);
  box-shadow:
    0 0 0 1px rgba(23, 106, 82, 0.1),
    0 14px 30px rgba(18, 89, 70, 0.14);
}

#integrationGrid .integration-card.is-featured .tag.small {
  background: rgba(23, 106, 82, 0.14);
  color: #1c4f42;
}

#integrationGrid .integration-card .integration-featured-chip {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.26rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 106, 82, 0.36);
  background: rgba(255, 255, 255, 0.9);
  color: #1b5445;
  font-size: 0.71rem;
  letter-spacing: 0.03em;
  font-weight: 800;
  text-transform: uppercase;
}

.integration-featured-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #1e9f7a;
  box-shadow: 0 0 0 rgba(30, 159, 122, 0.45);
  animation: featuredDotPulse 1.8s ease-out infinite;
}

@keyframes integrationCardPulse {
  0% {
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.14);
  }
  100% {
    box-shadow: 0 20px 36px rgba(16, 24, 40, 0.2);
  }
}

@keyframes featuredDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 159, 122, 0.42);
  }
  80% {
    box-shadow: 0 0 0 10px rgba(30, 159, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 159, 122, 0);
  }
}

@keyframes partnersMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.integration-bonus {
  font-weight: 700;
  color: #354059;
}

.top-episodes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.top-episodes li {
  display: grid;
  gap: 0.18rem;
  padding: 0.62rem;
  border-radius: 0.62rem;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(8px);
}

.top-episodes a {
  text-decoration: none;
  font-weight: 700;
}

.top-episodes span {
  color: var(--muted);
  font-size: 0.88rem;
}

.partners-card {
  gap: 0.75rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 0.65rem;
}

.partners-marquee {
  width: 100%;
}

.partners-marquee-track {
  display: contents;
}

.partners-marquee-group {
  display: contents;
}

.partners-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.62rem;
}

.faq-drawer {
  padding: 0;
  background: rgba(250, 252, 255, 0.56);
}

.faq-drawer-summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 0.95rem 2.2rem 0.95rem 1rem;
  display: grid;
  gap: 0.32rem;
}

.faq-drawer-summary::-webkit-details-marker {
  display: none;
}

.faq-drawer-summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.95rem;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #4f596f;
}

.faq-drawer[open] .faq-drawer-summary::after {
  content: "−";
}

.faq-drawer-tag {
  color: #556079;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq-drawer-summary h3 {
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.faq-drawer-hint {
  color: var(--muted);
  font-size: 0.86rem;
}

.faq-drawer-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faq-drawer-inner {
  overflow: hidden;
  padding: 0 1rem 1rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 220ms ease, transform 260ms ease;
}

.faq-drawer[open] .faq-drawer-content {
  grid-template-rows: 1fr;
}

.faq-drawer[open] .faq-drawer-inner {
  opacity: 1;
  transform: translateY(0);
}

.faq-item {
  border: 1px solid var(--stroke);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(8px);
  padding: 0.2rem 0.75rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  font-weight: 800;
  padding: 0.78rem 1.5rem 0.78rem 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.12rem;
  line-height: 1;
  color: #4f596f;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 0.74rem;
  color: var(--muted);
  padding-right: 0.6rem;
}

.partner-logo-tile {
  --logo-scale: 1;
  --logo-scale-hover: 1.03;
  min-height: 88px;
  border-radius: 0.8rem;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  overflow: hidden;
}

.partner-logo-tile img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.03);
  opacity: 0.78;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
  transform: scale(var(--logo-scale));
  transform-origin: center;
}

.partner-logo-yandex { --logo-scale: 1.08; --logo-scale-hover: 1.12; }
.partner-logo-avito { --logo-scale: 1.08; --logo-scale-hover: 1.12; }
.partner-logo-kontur { --logo-scale: 1.08; --logo-scale-hover: 1.12; }
.partner-logo-tochka { --logo-scale: 1.14; --logo-scale-hover: 1.18; }
.partner-logo-alfa { --logo-scale: 1.08; --logo-scale-hover: 1.12; }
.partner-logo-petrovich { --logo-scale: 1.1; --logo-scale-hover: 1.14; }
.partner-logo-mega { --logo-scale: 1.2; --logo-scale-hover: 1.24; }
.partner-logo-mela { --logo-scale: 1.5; --logo-scale-hover: 1.54; }
.partner-logo-yasno { --logo-scale: 1.3; --logo-scale-hover: 1.34; }
.partner-logo-yandex-direct { --logo-scale: 1.62; --logo-scale-hover: 1.66; }
.partner-logo-y360 { --logo-scale: 1.28; --logo-scale-hover: 1.32; }
.partner-logo-otello { --logo-scale: 1.2; --logo-scale-hover: 1.24; }

.partner-logo-tile:hover img,
.partner-logo-tile:focus-within img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(var(--logo-scale-hover));
}

.partner-case-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-color: rgba(25, 25, 25, 0.14);
  background: linear-gradient(180deg, #f7f8fc 0%, #f1f4fb 100%);
  color: #191919;
}

.partner-case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 94% 10%, rgba(127, 66, 225, 0.14) 0%, rgba(127, 66, 225, 0.14) 20%, transparent 21%),
    radial-gradient(circle at 84% 84%, rgba(127, 66, 225, 0.1) 0%, rgba(127, 66, 225, 0.1) 15%, transparent 16%);
  pointer-events: none;
}

.partner-case-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.partner-case-panel > * {
  position: relative;
  z-index: 1;
}

.partner-case-illustration {
  position: absolute;
  top: 0.4rem;
  right: -0.4rem;
  width: clamp(180px, 29%, 260px);
  aspect-ratio: 16 / 9;
  background: url("./assets/partner-case-tochka-motif.svg") center / contain no-repeat;
  opacity: 0.88;
  pointer-events: none;
  z-index: 0;
}

.partner-case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.partner-case-title {
  max-width: 34ch;
  display: grid;
  gap: 0.38rem;
}

.partner-case-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.26rem 0.54rem;
  border-radius: 999px;
  background: rgba(25, 25, 25, 0.06);
  border: 1px solid rgba(25, 25, 25, 0.14);
  color: #191919;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-case-title h3 {
  color: #191919;
  font-size: clamp(1.45rem, 2.6vw, 2.08rem);
}

.partner-case-brand-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: #ffd434;
  color: #1a1f2a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.partner-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.55rem;
}

.partner-case-metric {
  border-radius: 0.8rem;
  border: 1px solid rgba(25, 25, 25, 0.14);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.56rem 0.62rem;
}

.partner-case-metric .value {
  margin: 0;
  color: #191919;
  font-family: "Unbounded", sans-serif;
  font-size: 0.95rem;
}

.partner-case-metric .label {
  margin: 0.22rem 0 0;
  color: #505a70;
  font-size: 0.78rem;
  line-height: 1.35;
}

.partner-case-summary {
  margin: 0;
  color: #2d3547;
  line-height: 1.6;
  max-width: 66ch;
}

.partner-case-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.partner-case-list li {
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 66, 225, 0.26);
  background: rgba(235, 223, 255, 0.74);
  color: #5e2fc4;
  font-size: 0.79rem;
  font-weight: 700;
}

.final-cta {
  margin-top: clamp(2rem, 6vw, 4rem);
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
  padding: clamp(1rem, 3vw, 1.8rem);
}

.bogema-site-cta {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.bogema-site-cta + .final-cta {
  margin-top: 1.2rem;
}

.bogema-title {
  font-size: clamp(1.8rem, 4.45vw, 3.24rem);
}

.bogema-lead {
  max-width: none;
}

.bogema-services-grid {
  margin-top: clamp(1.2rem, 2.4vw, 2rem);
}

.final-cta p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.telegram-follow-cta {
  position: relative;
  overflow: hidden;
}

.telegram-follow-cta::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(36, 161, 222, 0.2), rgba(36, 161, 222, 0));
  pointer-events: none;
}

.telegram-follow-cta .btn-primary {
  background: #2493d9;
}

.telegram-follow-cta .btn-primary:hover,
.telegram-follow-cta .btn-primary:focus-visible {
  background: #1f84c3;
}

.page-space {
  padding-top: 2.3rem;
  padding-bottom: 1.8rem;
}

.page-top {
  margin-top: clamp(0.7rem, 3vw, 1.2rem);
}

.archive-controls {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  padding: 0.88rem;
}

.archive-controls label {
  font-weight: 700;
  color: #3b4358;
  font-size: 0.9rem;
}

.archive-controls input {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid var(--stroke);
  padding: 0.75rem 0.88rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.62);
}

.search-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.archive-wrap {
  margin-top: 0.85rem;
}

.archive-end {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.episode-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.8rem;
}

.episodes-empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
}

.episodes-empty-state-text {
  color: var(--muted);
  line-height: 1.45;
}

.episodes-empty-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hosts-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 0.95rem;
}

.host-card {
  display: grid;
  gap: 0.55rem;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    transform 220ms ease;
}

.host-card picture {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.62rem;
  background: #eef1f6;
}

.host-card--doing-great {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --dg-ink: #2f1f4b;
  --dg-glass: rgba(225, 141, 194, 0.28);
  --dg-border: rgba(49, 34, 78, 0.46);
  --dg-shadow: rgba(78, 40, 104, 0.2);
}

.host-card--laryok {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --dg-ink: #13225a;
  --dg-glass: rgba(84, 116, 255, 0.26);
  --dg-border: rgba(23, 48, 142, 0.44);
  --dg-shadow: rgba(33, 72, 196, 0.2);
}

.host-card--bogema {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --dg-ink: #151720;
  --dg-glass: rgba(212, 232, 92, 0.3);
  --dg-border: rgba(74, 95, 20, 0.44);
  --dg-shadow: rgba(102, 130, 30, 0.22);
}

.host-card--doing-great > *,
.host-card--laryok > *,
.host-card--bogema > * {
  position: relative;
  z-index: 2;
}

.host-card--doing-great::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 34%, 0) scale(0.42);
  background:
    radial-gradient(
      120% 90% at 50% 122%,
      rgba(255, 226, 245, 0.95) 0%,
      rgba(231, 154, 209, 0.62) 34%,
      rgba(231, 154, 209, 0.16) 62%,
      rgba(231, 154, 209, 0) 82%
    ),
    linear-gradient(155deg, rgba(236, 167, 216, 0.07), rgba(212, 129, 188, 0.2));
  filter: blur(16px);
  transition:
    opacity 320ms ease,
    transform 1320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.host-card--doing-great::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2) 0px,
      rgba(255, 255, 255, 0.2) 1px,
      rgba(255, 255, 255, 0) 2px,
      rgba(255, 255, 255, 0) 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(42, 26, 67, 0.08) 0px,
      rgba(42, 26, 67, 0.08) 1px,
      rgba(42, 26, 67, 0) 2px,
      rgba(42, 26, 67, 0) 3px
    ),
    linear-gradient(140deg, rgba(246, 201, 232, 0.46), rgba(218, 132, 193, 0.36));
  mix-blend-mode: soft-light;
  transition: opacity 280ms ease;
}

.host-card--laryok::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 34%, 0) scale(0.42);
  background:
    radial-gradient(
      120% 90% at 50% 122%,
      rgba(220, 230, 255, 0.96) 0%,
      rgba(116, 143, 255, 0.64) 34%,
      rgba(116, 143, 255, 0.16) 62%,
      rgba(116, 143, 255, 0) 82%
    ),
    linear-gradient(155deg, rgba(149, 175, 255, 0.08), rgba(66, 101, 242, 0.2));
  filter: blur(16px);
  transition:
    opacity 320ms ease,
    transform 1320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.host-card--laryok::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2) 0px,
      rgba(255, 255, 255, 0.2) 1px,
      rgba(255, 255, 255, 0) 2px,
      rgba(255, 255, 255, 0) 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(16, 30, 88, 0.09) 0px,
      rgba(16, 30, 88, 0.09) 1px,
      rgba(16, 30, 88, 0) 2px,
      rgba(16, 30, 88, 0) 3px
    ),
    linear-gradient(140deg, rgba(195, 212, 255, 0.38), rgba(101, 132, 255, 0.34));
  mix-blend-mode: soft-light;
  transition: opacity 280ms ease;
}

.host-card--bogema::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 34%, 0) scale(0.42);
  background:
    radial-gradient(
      120% 90% at 50% 122%,
      rgba(243, 255, 190, 0.96) 0%,
      rgba(214, 234, 99, 0.66) 34%,
      rgba(214, 234, 99, 0.18) 62%,
      rgba(214, 234, 99, 0) 82%
    ),
    linear-gradient(155deg, rgba(220, 237, 119, 0.08), rgba(182, 209, 54, 0.2));
  filter: blur(16px);
  transition:
    opacity 320ms ease,
    transform 1320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.host-card--bogema::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.18) 0px,
      rgba(255, 255, 255, 0.18) 1px,
      rgba(255, 255, 255, 0) 2px,
      rgba(255, 255, 255, 0) 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(25, 33, 9, 0.1) 0px,
      rgba(25, 33, 9, 0.1) 1px,
      rgba(25, 33, 9, 0) 2px,
      rgba(25, 33, 9, 0) 3px
    ),
    linear-gradient(140deg, rgba(235, 247, 165, 0.42), rgba(198, 222, 74, 0.32));
  mix-blend-mode: soft-light;
  transition: opacity 280ms ease;
}

.host-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-role {
  font-weight: 700;
  color: #3c4861;
}

.host-role-link {
  color: currentColor;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1.5px;
}

.host-role-link:hover {
  opacity: 0.78;
}

@media (hover: hover) and (pointer: fine) {
  .host-card--doing-great:hover,
  .host-card--doing-great:focus-within,
  .host-card--bogema:hover,
  .host-card--bogema:focus-within,
  .host-card--laryok:hover,
  .host-card--laryok:focus-within {
    background: var(--dg-glass);
    border-color: var(--dg-border);
    backdrop-filter: blur(16px) saturate(135%);
    box-shadow: 0 22px 48px var(--dg-shadow);
    transform: translateY(-2px);
  }

  .host-card--doing-great:hover h3,
  .host-card--doing-great:focus-within h3,
  .host-card--bogema:hover h3,
  .host-card--bogema:focus-within h3,
  .host-card--laryok:hover h3,
  .host-card--laryok:focus-within h3,
  .host-card--doing-great:hover .host-role,
  .host-card--doing-great:focus-within .host-role,
  .host-card--bogema:hover .host-role,
  .host-card--bogema:focus-within .host-role,
  .host-card--laryok:hover .host-role,
  .host-card--laryok:focus-within .host-role,
  .host-card--doing-great:hover .text-muted,
  .host-card--doing-great:focus-within .text-muted,
  .host-card--bogema:hover .text-muted,
  .host-card--bogema:focus-within .text-muted,
  .host-card--laryok:hover .text-muted,
  .host-card--laryok:focus-within .text-muted {
    color: var(--dg-ink);
  }

  .host-card--doing-great:hover .host-role-link,
  .host-card--doing-great:focus-within .host-role-link,
  .host-card--bogema:hover .host-role-link,
  .host-card--bogema:focus-within .host-role-link,
  .host-card--laryok:hover .host-role-link,
  .host-card--laryok:focus-within .host-role-link {
    color: var(--dg-ink);
  }

  .host-card--doing-great:hover::before,
  .host-card--doing-great:focus-within::before,
  .host-card--bogema:hover::before,
  .host-card--bogema:focus-within::before,
  .host-card--laryok:hover::before,
  .host-card--laryok:focus-within::before {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.06);
    filter: blur(7px);
  }

  .host-card--doing-great:hover::after,
  .host-card--doing-great:focus-within::after,
  .host-card--bogema:hover::after,
  .host-card--bogema:focus-within::after,
  .host-card--laryok:hover::after,
  .host-card--laryok:focus-within::after {
    opacity: 0.58;
  }
}

@media (hover: none), (pointer: coarse) {
  .host-card--doing-great.is-mobile-spotlight,
  .host-card--bogema.is-mobile-spotlight,
  .host-card--laryok.is-mobile-spotlight {
    background: var(--dg-glass);
    border-color: var(--dg-border);
    backdrop-filter: blur(16px) saturate(135%);
    box-shadow: 0 22px 48px var(--dg-shadow);
  }

  .host-card--doing-great.is-mobile-spotlight h3,
  .host-card--doing-great.is-mobile-spotlight .host-role,
  .host-card--doing-great.is-mobile-spotlight .text-muted,
  .host-card--bogema.is-mobile-spotlight h3,
  .host-card--bogema.is-mobile-spotlight .host-role,
  .host-card--bogema.is-mobile-spotlight .text-muted,
  .host-card--laryok.is-mobile-spotlight h3,
  .host-card--laryok.is-mobile-spotlight .host-role,
  .host-card--laryok.is-mobile-spotlight .text-muted,
  .host-card--doing-great.is-mobile-spotlight .host-role-link,
  .host-card--bogema.is-mobile-spotlight .host-role-link,
  .host-card--laryok.is-mobile-spotlight .host-role-link {
    color: var(--dg-ink);
  }

  .host-card--doing-great.is-mobile-spotlight::before,
  .host-card--bogema.is-mobile-spotlight::before,
  .host-card--laryok.is-mobile-spotlight::before {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.06);
    filter: blur(7px);
  }

  .host-card--doing-great.is-mobile-spotlight::after,
  .host-card--bogema.is-mobile-spotlight::after,
  .host-card--laryok.is-mobile-spotlight::after {
    opacity: 0.58;
  }
}

.about-project-card h3 {
  margin-top: -0.25rem;
}

.about-project-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.about-project-points li {
  position: relative;
  padding-left: 1rem;
  color: #4b556a;
}

.about-project-points li::before {
  content: "";
  position: absolute;
  left: 0.18rem;
  top: 0.64em;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(121, 149, 194, 0.62);
}

.about-project-actions {
  margin-top: 0.3rem;
}

.site-footer {
  margin: 2.2rem auto calc(1.2rem + var(--safe-bottom));
  width: min(1300px, calc(100% - 4rem));
  border-radius: 1.35rem;
  border: 1px solid var(--stroke);
  padding: 1rem 1.4rem;
  background: rgba(248, 249, 251, 0.68);
  box-shadow: var(--soft-shadow-small);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.8rem;
  color: #4c566f;
  font-size: 0.88rem;
}

.site-footer__row {
  margin: 0;
}

.site-footer__row--links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: nowrap;
}

.site-footer__row--listen a {
  font-weight: 700;
  font-size: 1.03rem;
  color: #465070;
}

.site-footer__row--meta {
  font-size: 0.82rem;
  color: #5e687f;
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
  color: #4c566f;
  transition: color 160ms ease, opacity 160ms ease;
}

.site-footer a:hover {
  color: #2a3040;
}

.site-footer a:focus-visible {
  outline: 2px solid rgba(121, 149, 194, 0.85);
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.site-footer a:active {
  opacity: 0.72;
}

.back-to-top {
  display: none !important;
  position: fixed;
  right: calc(1rem + var(--safe-right));
  bottom: calc(1.25rem + var(--safe-bottom));
  z-index: 85;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(18, 20, 25, 0.18);
  background: rgba(247, 250, 255, 0.72);
  color: #232b3a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(16, 24, 40, 0.18);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 220ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  display: block;
  margin: auto;
  fill: currentColor;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: rgba(121, 149, 194, 0.52);
  background: rgba(251, 253, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 26px rgba(16, 24, 40, 0.2);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(121, 149, 194, 0.82);
  outline-offset: 2px;
}

.back-to-top:active {
  transform: translateY(1px) scale(0.98);
}

.legal-page {
  max-width: 980px;
}

.legal-card {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.legal-card h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.legal-card h3 {
  font-size: 1rem;
}

.legal-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.legal-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + var(--safe-bottom));
  z-index: 90;
  width: min(720px, calc(100% - 1.2rem));
  transform: translateX(-50%);
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  background: rgba(248, 251, 255, 0.96);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px) saturate(125%);
  padding: 0.9rem;
  display: grid;
  gap: 0.72rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.cookie-banner-text {
  color: #404a5f;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-banner-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-btn {
  justify-self: start;
  min-width: 88px;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-animate].in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  [data-animate],
  .btn {
    transition: none !important;
  }

  #integrationGrid .integration-card,
  #integrationGrid .integration-card::before,
  #integrationGrid .integration-card::after,
  .integration-featured-chip::before,
  .partners-marquee-track {
    transition: none !important;
    animation: none !important;
  }

  .back-to-top {
    transition: none !important;
  }

  .btn.is-loading::after,
  .btn[aria-busy="true"]::after {
    animation: none !important;
  }
}

@media (min-width: 1024px) {
  .back-to-top {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .audience-thesis-grid {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 0.78rem;
  }

  .hero-cover {
    max-width: 680px;
  }

  .episode-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .integration-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .hosts-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .partner-case-illustration {
    width: 190px;
    opacity: 0.76;
  }
}

@media (max-width: 780px) {
  .scroll-progress {
    display: none;
  }

  .has-episode-page .episode-listen-link {
    display: none;
  }

  [data-animate] {
    transform: translateY(8px);
    transition:
      opacity 170ms ease,
      transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .hero-kicker-desktop {
    display: none;
  }

  .lead,
  .hero-latest-mobile .latest-mobile-description,
  .episode-meta,
  .top-episodes span,
  .search-note,
  .partners-note {
    color: #4b556a;
  }

  body {
    overflow-x: hidden;
  }

  .back-to-top {
    display: none !important;
  }

  .app-shell {
    width: 100%;
    margin: 0.3rem auto;
    border-radius: 0;
  }

  .container {
    width: calc(100% - 1.4rem);
  }

  .site-header {
    width: calc(100% - 1.2rem);
    margin-top: 0.4rem;
    border-radius: 1rem;
    padding: 0.5rem 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .brand {
    font-size: 0.92rem;
    line-height: 1.2;
    color: var(--ink);
  }

  .site-header > .btn {
    display: none;
  }

  .site-nav-shell {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding-top: 1.18rem;
    padding-bottom: 0.25rem;
    gap: 0.9rem;
    min-height: auto;
    display: grid;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 12vw, 2.55rem);
    margin-top: 0.2rem;
  }

  .tag {
    font-size: 0.72rem;
    padding: 0.32rem 0.58rem;
    letter-spacing: 0.06em;
  }

  .tag.small {
    font-size: 0.7rem;
  }

  .lead {
    margin-top: 1.08rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 1.12rem;
    gap: 0.55rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.78rem 1rem;
  }

  .platform-links {
    margin-top: 0.9rem;
    gap: 0.5rem;
    justify-content: center;
  }

  .hero-listen-desktop,
  .hero-secondary-desktop,
  .hero-platforms-desktop {
    display: none;
  }

  .hero-mobile-followup {
    display: grid;
    gap: 0.62rem;
    margin-top: 0.38rem;
  }

  .hero-latest-mobile {
    margin-bottom: 0.15rem;
  }

  .hero-latest-mobile .latest-mobile-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-mobile-followup .hero-mobile-secondary {
    display: none;
  }

  .hero-mobile-followup .platform-links {
    margin-top: 0;
  }

  .platform-pill {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    padding: 0;
    font-size: 0.78rem;
  }

  .platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: rgba(18, 20, 25, 0.08);
    font-size: 0.8rem;
  }

  .platform-logo {
    display: block;
    width: 1.48rem;
    height: 1.48rem;
    object-fit: contain;
  }

  .platform-pill.has-icon .platform-icon {
    display: none;
  }

  .platform-pill.icon-missing .platform-icon {
    display: inline-flex;
  }

  .platform-label {
    display: none;
  }

  .platform-widget {
    top: calc(100% + 0.3rem);
    padding: 0.3rem 0.5rem;
  }

  .hero-cover {
    display: none;
    padding: 0.36rem;
    border-radius: 0.92rem;
  }

  .hero-cover img {
    border-radius: 0.8rem;
  }

  .section-headline {
    margin-top: 2.4rem;
    margin-bottom: 0.72rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .section-headline-live,
  .latest-wrap {
    display: none;
  }

  .section-headline .btn {
    width: 100%;
  }

  .section-headline .btn.btn-small {
    display: none;
  }

  .card {
    padding: 0.95rem;
    border-radius: 0.88rem;
  }

  .latest-card h3 {
    font-size: 1.33rem;
    line-height: 1.2;
  }

  .tldr-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .tldr-item {
    padding: 0.6rem 0.62rem;
  }

  .media-kit-grid,
  .integration-grid,
  .episode-grid,
  .episode-archive,
  .hosts-grid,
  .bullet-grid,
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  #recentEpisodes {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.72rem;
    padding: 0.02rem 0.08rem 0.22rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #recentEpisodes::-webkit-scrollbar {
    display: none;
  }

  #recentEpisodes .episode-card {
    flex: 0 0 min(19.5rem, 88%);
    min-width: min(19.5rem, 88%);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .episodes-more-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 0.5rem;
  }

  .audience-thesis-grid {
    grid-template-columns: 1fr;
  }

  .audience-thesis {
    padding: 1rem;
    gap: 0.85rem;
  }

  .audience-thesis-point {
    min-height: auto;
    padding: 0.82rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .partners-marquee {
    overflow: hidden;
    border-radius: 0.88rem;
    padding-bottom: 0.2rem;
  }

  .partners-marquee .partners-grid {
    display: block;
  }

  .partners-marquee-track {
    display: flex;
    width: max-content;
    animation: partnersMarquee 28s linear infinite;
    will-change: transform;
  }

  .partners-marquee-group {
    display: flex;
    gap: 0.65rem;
    padding-right: 0.65rem;
  }

  .partners-marquee-group .partner-logo-tile {
    flex: 0 0 8.35rem;
    min-height: 4.9rem;
  }

  .partners-marquee .partner-logo-tile img {
    max-height: 2rem;
  }

  .episode-card,
  .integration-card {
    min-height: auto;
  }

  .final-cta {
    margin-top: 1.5rem;
    padding: 1rem;
  }

  .page-space {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .page-top {
    margin-top: 0.35rem;
  }

  .page-top h1,
  .bogema-title {
    font-size: clamp(1.9rem, 10.4vw, 2.45rem);
  }

  .bogema-services-grid {
    margin-top: 0.9rem;
  }

  .bogema-site-cta {
    margin-top: 0.75rem;
  }

  .archive-controls {
    padding: 0.8rem;
  }

  .archive-controls input {
    padding: 0.7rem 0.78rem;
  }

  .episodes-empty-actions {
    width: 100%;
  }

  .episodes-empty-actions .btn {
    width: 100%;
  }

  .site-footer {
    width: calc(100% - 1.2rem);
    border-radius: 0.95rem;
    padding: 0.72rem 0.84rem 0.76rem;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.42rem;
    font-size: 0.82rem;
  }

  .site-footer__row--links {
    gap: 0.62rem;
    flex-wrap: wrap;
  }

  .site-footer__row--listen a {
    font-size: 0.96rem;
  }

  .site-footer__row--meta {
    font-size: 0.76rem;
  }

  .cookie-banner {
    width: calc(100% - 0.9rem);
    bottom: calc(0.7rem + var(--safe-bottom));
    border-radius: 0.9rem;
    padding: 0.75rem;
  }

  .cookie-banner-text {
    font-size: 0.84rem;
  }

  .search-note,
  .faq-drawer-tag,
  .faq-drawer-hint,
  .partner-case-eyebrow,
  .partner-case-metric .label,
  .partner-case-list li {
    font-size: 0.84rem;
  }

  .partner-case-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.48rem;
  }

  .partner-case-metric {
    min-width: 0;
    padding: 0.52rem 0.56rem;
  }

  .partner-case-metric .value {
    font-size: clamp(0.84rem, 4.2vw, 0.95rem);
  }

  .partner-case-illustration {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem);
  }

  .site-header {
    width: calc(100% - 0.9rem);
    padding: 0.44rem 0.58rem;
  }

  .brand {
    font-size: 0.85rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.88rem, 11.2vw, 2.2rem);
  }

  .lead {
    font-size: 0.95rem;
  }

  .tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.54rem;
    letter-spacing: 0.06em;
  }

  .btn-primary,
  .btn-ghost {
    font-size: 0.92rem;
  }

  .section-headline {
    margin-top: 2.15rem;
  }

  .latest-card h3 {
    font-size: 1.2rem;
  }

  .site-footer {
    width: calc(100% - 0.9rem);
  }

  .partners-marquee-group .partner-logo-tile {
    flex-basis: 7.8rem;
    min-height: 4.55rem;
  }
}

@media (max-width: 780px) and (hover: none) and (pointer: coarse) {
  .btn,
  .platform-pill,
  .site-nav a {
    -webkit-tap-highlight-color: rgba(18, 20, 25, 0.1);
  }

  .btn:active,
  .platform-pill:active,
  .site-nav a:active {
    transform: scale(0.97);
    filter: brightness(0.94);
  }

  .btn:active {
    box-shadow: 0 6px 14px rgba(16, 24, 40, 0.16);
  }

  .site-nav a:active {
    background: rgba(18, 20, 25, 0.12);
    border-color: rgba(18, 20, 25, 0.16);
  }

  .platform-pill:active .platform-logo,
  .platform-pill:active .platform-icon {
    transform: scale(0.94);
  }
}

/* Episode template page */
.episode-page .page-top .lead {
  margin-top: 1.25rem;
}

.episode-page .page-top.card {
  padding: clamp(1rem, 2.8vw, 1.4rem);
  border-radius: 18px;
}

.episode-page .episode-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.25rem 0 0;
}

.episode-page .hero-actions {
  margin: 1.5rem 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.episode-page .episode-tag {
  background: var(--surface-2, #e8eaed);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.85em;
  font-weight: 500;
}

.episode-page .episode-section {
  margin-top: 3.5rem;
}

.episode-page .episode-section h2 {
  margin-bottom: 1.25rem;
}

.episode-page .takeaways-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
}

.episode-page .takeaways-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  line-height: 1.6;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.episode-page .takeaways-list li:last-child {
  border-bottom: none;
}

.episode-page .takeaway-num {
  font-weight: 800;
  font-size: 1.5em;
  color: #1a1a1a;
  opacity: 0.35;
  flex-shrink: 0;
  min-width: 1.75rem;
  line-height: 1.4;
}

.episode-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted, #888);
  font-size: 0.9em;
  text-decoration: none;
  margin-bottom: 2rem;
}

.episode-page .back-link:hover {
  color: var(--text, #1a1a1a);
}

.episode-page .page-top {
  position: relative;
}

.episode-page .ep-share-btn {
  position: absolute;
  top: clamp(1rem, 2.8vw, 1.4rem);
  right: clamp(1rem, 2.8vw, 1.4rem);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  color: rgba(0, 0, 0, 0.5);
}

.episode-page .ep-share-btn:hover {
  background: rgba(0, 0, 0, 0.11);
  color: #1a1a1a;
}

.episode-page .ep-share-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.85em;
  padding: 8px 18px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  z-index: 999;
}

.episode-page .ep-share-toast.show {
  opacity: 1;
}

.episode-page .ep-cta {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  white-space: nowrap;
}

.episode-page .episode-player {
  flex: 1;
  min-width: 180px;
  border-radius: 8px;
  display: block;
  accent-color: #1a1a1a;
  height: 40px;
}

.episode-player-wrap {
  flex: 1;
  min-width: 0;
}



.episode-page .cf-wrap {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.episode-page .cf-stage {
  overflow: hidden;
}

.episode-page .cf-track {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 14px;
  padding: 28px 24px 20px;
}

.episode-page .cf-track::-webkit-scrollbar {
  display: none;
}

.episode-page .cf-item {
  flex-shrink: 0;
  width: clamp(260px, 56vw, 380px);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  user-select: text;
}

.episode-page .cf-quote p {
  font-style: italic;
  font-size: 0.95em;
  line-height: 1.65;
  margin: 0 0 0.6rem;
  color: #1a1a1a;
}

.episode-page .cf-quote footer {
  font-size: 0.82em;
  color: #888;
}

.episode-page .cf-badge {
  font-size: 0.75em;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.episode-page .cf-resource-name {
  font-size: 0.95em;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #1a1a1a;
}

.episode-page .cf-resource-desc {
  font-size: 0.82em;
  line-height: 1.5;
  color: #444;
  margin: 0 0 0.5rem;
}

.episode-page .cf-resource-by {
  font-size: 0.75em;
  color: #999;
  margin: 0;
}

.episode-page .cf-reflection {
  display: none;
}

.episode-page .cf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0 16px;
}

.episode-page .cf-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  border: none;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}

.episode-page .cf-btn:hover {
  background: rgba(0, 0, 0, 0.13);
}

.episode-page .cf-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.episode-page .cf-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.2s, transform 0.2s;
}

.episode-page .cf-dot.active {
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.4);
}

.episode-page .res-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.episode-page .res-tab {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  cursor: pointer;
  font-size: 0.875em;
  font-weight: 500;
  font-family: inherit;
  color: rgba(0, 0, 0, 0.5);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.episode-page .res-tab:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.18);
}

.episode-page .res-tab.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.episode-page .res-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  transition: opacity 0.28s ease-in-out;
}

.episode-page .res-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  display: none;
}

.episode-page .res-card.visible {
  display: block;
}

@media (max-width: 780px) {
  .episode-page .page-top h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .episode-page .page-top.card {
    padding: 0.95rem;
    border-radius: 14px;
  }

  .episode-page .noise-layer {
    display: none;
  }

  .episode-page .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(247, 250, 255, 0.94);
  }

  .episode-page .cf-wrap {
    border-radius: 16px;
  }

  .episode-page .cf-item {
    width: min(84vw, 340px);
    padding: 18px 18px 20px;
  }

  .episode-page .cf-btn {
    width: 34px;
    height: 34px;
  }

  .episode-page .cf-dot {
    width: 6px;
    height: 6px;
  }

  .episode-page .res-grid {
    grid-template-columns: 1fr;
  }

  .episode-page .episode-topics {
    display: none;
  }
}

/* ── Custom Audio Player (sd-player) ── */

.sd-player {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--stroke);
  border-radius: 0.9rem;
  background: rgba(250, 252, 255, 0.64);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: var(--soft-shadow-small);
}

.sd-player audio {
  display: none;
}

.sd-player__cover-wrap {
  display: block;
}

.sd-player__cover {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid var(--stroke);
  background: var(--surface);
}

.sd-player__body {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  align-self: center;
}

.sd-player__info {
  display: grid;
  gap: 0.1rem;
}

.sd-player__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.sd-player__date {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.sd-player__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.sd-player__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  flex-shrink: 0;
  transition: transform 120ms ease, opacity 120ms ease;
}

.sd-player__btn:hover {
  opacity: 0.7;
}

.sd-player__btn:active {
  transform: scale(0.92);
}

.sd-player__play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface-2);
  border: none;
}

.sd-player__play:hover {
  opacity: 0.85;
}

.sd-player__skip {
  position: relative;
  width: 36px;
  height: 36px;
}

.sd-player__skip-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  pointer-events: none;
  color: var(--ink);
  padding-top: 1px;
}

.sd-player__speed {
  min-width: 42px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms ease;
  padding: 0 6px;
}

.sd-player__speed:hover {
  background: rgba(255, 255, 255, 0.9);
}

.sd-player__track {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sd-player__progress-wrap {
  position: relative;
  height: 6px;
  cursor: pointer;
  border-radius: 3px;
  touch-action: none;
  flex: 1;
  min-width: 0;
}

.sd-player__progress-bg {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: rgba(18, 20, 25, 0.1);
}

.sd-player__progress-buffer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  border-radius: 3px;
  background: rgba(18, 20, 25, 0.06);
}

.sd-player__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  border-radius: 3px;
  background: var(--ink);
}

.sd-player__progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 120ms ease;
  pointer-events: none;
}

.sd-player__progress-wrap:hover .sd-player__progress-thumb,
.sd-player__progress-wrap:focus-visible .sd-player__progress-thumb,
.sd-player--seeking .sd-player__progress-thumb {
  opacity: 1;
}

.sd-player__time {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.sd-player__current,
.sd-player__duration {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  user-select: none;
  white-space: nowrap;
}

.sd-player__volume {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.sd-player__volume-btn {
  width: 28px;
  height: 28px;
}

.sd-player__volume-slider {
  width: 72px;
  accent-color: var(--ink);
  cursor: pointer;
}

.sd-player__actions {
  display: flex;
  gap: 1.2rem;
  padding-top: 0.15rem;
}

.sd-player__action {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 120ms ease;
}

.sd-player__action:hover {
  color: var(--ink);
}

.sd-player__desc {
  border-top: 1px solid var(--stroke);
  padding-top: 0.6rem;
  margin-top: 0.2rem;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 300ms ease, opacity 300ms ease, padding-top 300ms ease, margin-top 300ms ease;
  overflow: hidden;
  padding-top: 0;
  margin-top: 0;
  border-top-color: transparent;
}

.sd-player__desc.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: 0.6rem;
  margin-top: 0.2rem;
  border-top-color: var(--stroke);
}

.sd-player__desc-inner {
  overflow: hidden;
  min-height: 0;
}

.sd-player__desc p {
  margin: 0 0 0.5em;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.sd-player__desc p:last-child {
  margin-bottom: 0;
}

.sd-player__desc a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sd-player__desc a:hover {
  opacity: 0.7;
}

.sd-player__desc ul,
.sd-player__desc ol {
  margin: 0.3em 0;
  padding-left: 1.3em;
  font-size: 0.88rem;
  color: var(--muted);
}

.sd-player__desc li {
  margin-bottom: 0.2em;
}

.sd-player__error {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.sd-player__error a {
  color: var(--ink);
  text-decoration: underline;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sd-player__btn,
  .sd-player__speed,
  .sd-player__progress-fill,
  .sd-player__progress-thumb {
    transition: none;
  }
}

/* Компактный плеер на странице эпизода */
.sd-player--compact {
  display: block;
  border: none;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

.sd-player--compact .sd-player__controls {
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}

.sd-player--compact .sd-player__track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sd-player--compact .sd-player__progress-wrap {
  flex: 1;
  min-width: 80px;
}

.sd-player--compact .sd-player__time {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.75rem;
  gap: 0.4rem;
}

.sd-player--compact .sd-player__share-btn {
  display: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.sd-player--compact .sd-player__share-btn:hover {
  opacity: 1;
}

.sd-player--compact .sd-player__volume {
  display: none;
}

.sd-player__share-btn--full {
  display: none;
}

/* Mobile */
@media (max-width: 780px) {
  .sd-player {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .sd-player__cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 0.78rem;
  }

  .sd-player__controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sd-player__track {
    order: -1;
    flex-basis: 100%;
  }

  .sd-player--compact .sd-player__controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sd-player--compact .sd-player__track {
    order: -1;
    flex-basis: 100%;
  }

  .sd-player--compact .sd-player__share-btn {
    display: inline-flex;
    margin-right: auto;
  }

  .sd-player--compact .sd-player__speed {
    margin-left: auto;
  }

  .sd-player__speed {
    margin-left: auto;
  }

  .sd-player__volume {
    display: none;
  }

  .sd-player__share-btn--full {
    display: inline-flex;
    margin-right: auto;
    opacity: 0.6;
  }

  .sd-player__action[data-action="share"] {
    display: none;
  }

  .sd-player__actions {
    justify-content: center;
  }

  .sd-player__title {
    font-size: 1.1rem;
  }
}
