:root {
  --bg: #111113;
  --surface: #18181b;
  --surface-2: #202024;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --soft: #71717a;
  --accent: #818cf8;
  --accent-strong: #6366f1;
  --accent-2: #c084fc;
  --accent-3: #6ee7b7;
  --max: 1200px;
  --radius: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

iframe {
  width: 100%;
  border: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  line-height: 1;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-shell {
  position: relative;
  z-index: 1;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 9, 11, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  position: relative;
}

.brand {
  position: absolute;
  left: 0;
  font-family: "DM Serif Display", serif;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}

.nav-right {
  position: absolute;
  right: 0;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.menu a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  padding: 12px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.12);
}

.menu a:hover {
  transform: translateY(-1px);
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-2));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero {
  padding: 96px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.12) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.2), rgba(9, 9, 11, 0.48)),
    #111113;
}

.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 440px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-video,
.hero-overlay,
.dot-grid,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.22) saturate(1.05);
  background: transparent;
}

.hero-overlay {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0.55) 100%);
}

.dot-grid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.2;
}

.hero-fade {
  top: auto;
  height: 10rem;
  background: linear-gradient(to top, var(--bg), transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0.35rem rgba(110, 231, 183, 0.18);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: .75; }
}

.hero-grid,
.split-grid,
.content-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(3.6rem, 7vw, 6.3rem);
  letter-spacing: -0.05em;
}

.hero-gradient {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy p {
  margin-top: 24px;
  max-width: 760px;
  font-size: 1.22rem;
  margin-left: auto;
  margin-right: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.hero-card,
.card,
.topic-card,
.feed-frame,
.legal-card,
.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.card,
.contact-card,
.legal-card {
  padding: 28px;
}

.hero-card h3,
.section-head h2,
.feature-copy h3,
.legal-card h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

.hero-card p,
.meta,
.section-head p {
  margin-top: 14px;
}

.stat-grid,
.topics-grid,
.episodes-grid,
.legal-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.75rem;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  color: #fff;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.featured-layout,
.bridge-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.7fr);
}

.featured-section .section-head {
  max-width: 920px;
  margin-bottom: 34px;
}

.featured-section .section-head h2 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.96;
}

.featured-section .section-head p {
  max-width: 720px;
  font-size: 1.08rem;
}

.video-shell {
  padding: 18px;
  height: auto;
}

.video-shell iframe {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #0c0c0f;
}

.featured-layout > .card,
.featured-layout > aside.card {
  align-self: start;
}

.featured-layout > aside.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.featured-layout > aside.card h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1.02;
}

.featured-layout > aside.card p {
  font-size: 1rem;
}

.episodes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card span,
.topic-card span,
.mini-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.card h3,
.topic-card h3,
.contact-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.card p,
.topic-card p,
.contact-card p,
.legal-card p {
  margin-top: 12px;
}

.topics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-card {
  padding: 24px;
}

.feed-frame {
  padding: 18px;
}

.feed-frame iframe {
  min-height: 620px;
  border-radius: 20px;
  background: #0b0b0d;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.feature-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-item strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}

.newsletter {
  text-align: center;
}

.newsletter .card {
  padding: 44px 28px;
}

.newsletter-form {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.newsletter-form input {
  min-width: min(100%, 360px);
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font: inherit;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  padding: 28px 0 48px;
}

.footer-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: start;
}

.footer small,
.footer p,
.footer a {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.legal-grid {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 104px;
  padding: 20px;
}

.legal-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--soft);
}

.legal-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.plain-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .hero-grid,
  .featured-layout,
  .bridge-layout,
  .content-grid,
  .footer-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .topics-grid,
  .episodes-grid,
  .contact-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .brand,
  .nav-right {
    position: static;
  }

  .menu {
    gap: 14px;
    justify-content: flex-start;
    border-radius: 24px;
  }

  .nav-utility {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-video {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .video-shell iframe,
  .feed-frame iframe {
    min-height: 0;
  }

  .featured-section .section-head h2 {
    font-size: clamp(2.3rem, 12vw, 3.2rem);
  }
}
