@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --background: #0b0b0f;
  --surface: #15151c;
  --border: #2a2a36;
  --text: #f4f4f6;
  --muted: #a3a3b2;
  --lime: #c6ff3d;
  --pink: #ff4fd8;
  --blue: #4f8bff;
  --orange: #ff8a3d;
  --ink: #0b0b0f;
  --radius: 22px;
  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.header,
main > section,
.footer {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.header__logo {
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.header__logo span { color: var(--lime); }

.header__cta {
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
}

/* Hero */
.hero { padding-top: 56px; padding-bottom: 56px; }

.hero__slogan {
  margin-top: 28px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.8rem, 3.4vw, 1rem);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero__slogan::before { content: "→ "; color: var(--lime); }

.hero__slogan span {
  color: var(--text);
  font-weight: 700;
}

.hero__title {
  font-size: clamp(2.8rem, 10vw, 6.5rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 12px 0 28px;
}

.hero__title mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0 0.12em;
  border-radius: 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stickers */
.sticker {
  display: inline-block;
  background: var(--pink);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--lime);
}

.sticker--tilt-left { transform: rotate(-4deg); }
.sticker--tilt-right { transform: rotate(4deg); background: var(--lime); box-shadow: 3px 3px 0 var(--pink); }

/* Buttons */
.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 14px;
  border: 2px solid var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
}

.button:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--text); }

.button--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.button--primary:hover { box-shadow: 4px 4px 0 var(--pink); }

/* Marquee */
.marquee-wrapper { overflow: hidden; padding: 24px 0; }

.marquee {
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1.5deg);
  margin: 0 -20px;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Sections */
.section { padding-top: 64px; padding-bottom: 64px; }

.section__title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 32px;
}

.section__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }

.section__note { color: var(--muted); margin-top: 32px; }

.section__note a { color: var(--lime); }

/* Episodes */
.episodes {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.episode {
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.episode:hover { transform: rotate(-1.5deg) scale(1.02); }

.episode--lime { background: var(--lime); }
.episode--pink { background: var(--pink); }
.episode--blue { background: var(--blue); }
.episode--orange { background: var(--orange); }

.episode__number { font-weight: 700; opacity: 0.7; }

.episode__title {
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.episode__text { flex: 1; }

.episode__meta {
  align-self: flex-start;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--ink);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Hosts */
.hosts {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.host {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.host__avatar {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-6deg);
}

.host__avatar--alt { background: var(--pink); transform: rotate(6deg); }

.host__name { font-size: 1.5rem; letter-spacing: -0.03em; }

.host__role { color: var(--lime); font-weight: 700; margin-bottom: 10px; }

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

.host__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.host__tags li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.85rem;
}

/* Subscribe */
.subscribe { text-align: center; }

.subscribe .sticker { margin-bottom: 20px; }

.platforms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.platform {
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--surface);
  border: 2px solid var(--border);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s, border-color 0.15s;
}

.platform:hover { border-color: var(--lime); transform: translateY(-3px); }

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer nav { display: flex; gap: 20px; }

.footer a { text-decoration: none; }

.footer a:hover { color: var(--lime); }

/* Helper chat (decorative) */
.helper {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: calc(100vw - 32px);
}

.helper__panel {
  position: relative;
  width: 300px;
  max-width: 100%;
  background: var(--text);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--lime);
  padding: 16px;
  margin-bottom: 14px;
  transform-origin: bottom right;
  transition: transform 0.2s, opacity 0.2s;
}

/* Speech bubble tails pointing at the mascot */
.helper__panel::after,
.helper__teaser::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--text);
  transform: rotate(45deg);
}

.helper__panel::after {
  right: 34px;
  bottom: -11px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.helper__teaser {
  position: absolute;
  right: 72px;
  bottom: 54px;
  white-space: nowrap;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--text);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--pink);
  padding: 8px 14px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.6);
  transform-origin: bottom right;
  pointer-events: none;
  transition: transform 0.2s, opacity 0.2s;
}

.helper__teaser::after {
  right: -11px;
  top: calc(50% - 9px);
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

.helper--closed .helper__teaser {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  animation: helper-pop 4s ease-in-out 1s infinite;
}

@keyframes helper-pop {
  0%, 85%, 100% { transform: scale(1); }
  90% { transform: scale(1.08) rotate(-2deg); }
  95% { transform: scale(1.04) rotate(2deg); }
}

.helper--closed .helper__panel {
  transform: scale(0.6);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: 100%;
}

.helper__close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.helper__messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 16px;
  margin-bottom: 12px;
}

.helper__bubble {
  background: #e6e6ec;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.95rem;
  align-self: flex-start;
}

.helper__bubble--user {
  background: var(--pink);
  align-self: flex-end;
}

.helper__form { display: flex; gap: 8px; }

.helper__input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: #fff;
}

.helper__send {
  font: inherit;
  font-weight: 700;
  width: 40px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--lime);
  cursor: pointer;
}

.helper__mascot {
  background: none;
  border: none;
  cursor: pointer;
  animation: helper-bob 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.helper__mascot:hover .helper__pupil { transform: translate(-3px, -2px); }

.helper__pupil { transition: transform 0.2s; }

@keyframes helper-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .helper__mascot,
  .helper--closed .helper__teaser { animation: none; }
}

/* Legal pages */
.legal { max-width: 720px; padding-top: 40px; padding-bottom: 80px; }

.legal h1 { margin-bottom: 24px; letter-spacing: -0.03em; }

.legal h2 { margin: 28px 0 8px; font-size: 1.2rem; }

.legal p { color: var(--muted); }

.legal a { color: var(--lime); }
