:root {
  --ink-1: #0f1728;
  --ink-2: #2f3950;
  --paper: #f5f7ff;
  --panel: #ffffff;
  --line: #d7dff0;
  --brand: #0047ff;
  --brand-soft: #d9e5ff;
  --accent: #ffc145;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(11, 33, 99, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink-1);
  background: radial-gradient(circle at 8% 10%, #dce9ff 0%, transparent 40%),
    radial-gradient(circle at 85% 5%, #ffe9ba 0%, transparent 34%),
    var(--paper);
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  filter: blur(36px);
  opacity: 0.32;
  pointer-events: none;
}

.bg-glow-a {
  top: -160px;
  left: -160px;
  background: #8ab2ff;
}

.bg-glow-b {
  top: 35%;
  right: -190px;
  background: #ffce75;
}

.site-header,
main,
.site-footer {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-header a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero {
  padding: 2rem 0 1.75rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.12;
}

h1 {
  margin: 0.35rem 0 1rem;
  max-width: 15ch;
  font-size: clamp(2rem, 5.6vw, 4rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

h3 {
  margin-top: 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.lede {
  max-width: 72ch;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button,
.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--ink-1);
  color: var(--ink-1);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 600;
  background: transparent;
}

.button.solid {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  list-style: none;
  padding: 0;
  margin: 1.65rem 0 0;
  gap: 0.75rem;
}

.hero-stats li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
}

.hero-stats span {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.6vw, 1.8rem);
  margin-bottom: 1rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.kicker {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--brand);
}

.feature-copy p {
  color: var(--ink-2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.tags span {
  background: var(--brand-soft);
  color: #123b93;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.83rem;
  font-weight: 600;
}

.video-shell {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #0f1728 0%, #2d3c5c 100%);
  min-height: 310px;
}

.video-shell::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-shell iframe,
.load-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.load-video {
  border: 0;
  background: linear-gradient(145deg, rgba(6, 16, 40, 0.36), rgba(6, 16, 40, 0.56));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 0.36rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.is-active {
  border-color: var(--brand);
  color: var(--brand);
  background: #eef3ff;
}

.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 0.85rem;
}

.clip-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
}

.clip-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-2);
  font-size: 0.84rem;
  margin-bottom: 0.5rem;
}

.clip-card .video-shell {
  min-height: 0;
  margin-bottom: 0.7rem;
}

.clip-card p {
  margin: 0.4rem 0 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
}

.podcast-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: linear-gradient(160deg, #fbfcff, #f6f9ff);
}

.cta-panel {
  background: linear-gradient(160deg, #0f2f86, #0f1728 72%);
  color: #fff;
}

.cta-panel p {
  color: #d4dff7;
}

.cta-panel .button {
  border-color: #d7e2ff;
  color: #fff;
}

.cta-panel .button.solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #12203d;
}

.site-footer {
  color: var(--ink-2);
  text-align: center;
  padding: 0.3rem 0 1.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stacked-mobile {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 1.2rem);
  }

  .hero {
    padding-top: 1.2rem;
  }

  .link-pill,
  .button {
    width: 100%;
  }
}
