/* Buzzo landing: the home page, /features/ and /teachers/. Loaded after
   style.css, which carries what the quiz and legal pages share (header,
   footer, buttons, language switch). */
:root {
  --gap: clamp(64px, 9vw, 110px);
}
body {
  overflow-x: clip;
}

/* ── The orbiting circles ─────────────────── */
/* A circle drifts in a small orbit behind its picture while the picture sways:
   the same trick as the reference's floating discs. `--size` is the diameter at
   design size, `--drift` the orbit's radius, `--lap` the seconds per lap. */
.bubble {
  --tone: var(--lav-3);
  position: absolute;
  display: grid;
  place-items: center;
  width: calc(var(--size) * 1px);
  aspect-ratio: 1;
  color: var(--night);
}
.bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--tone);
  animation: orbit var(--lap) linear infinite;
}
.bubble > * {
  position: relative;
  z-index: 1;
  animation: sway 4.5s ease-in-out infinite;
}
.bubble--purple {
  --tone: var(--violet);
  color: #fff;
}
.bubble--lime {
  --tone: var(--lime);
}
.bubble--yellow {
  --tone: var(--yellow);
}
.bubble--pink {
  --tone: var(--pink);
}
.bubble--white {
  --tone: #fff;
}
.bubble--white::before {
  box-shadow: 0 14px 30px -12px #4c357355;
}
.bubble img {
  width: 82%;
  height: auto;
  object-fit: contain;
}
.bubble svg {
  width: 38%;
  height: auto;
}
@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(var(--drift)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(var(--drift)) rotate(-360deg);
  }
}
@keyframes sway {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(-4px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}
.is-offscreen .bubble::before,
.is-offscreen .bubble > *,
.is-offscreen .ring,
.is-offscreen .chip {
  animation-play-state: paused;
}
.chip {
  position: absolute;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 26px -12px #4c357366;
  color: var(--purple);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}

/* ── Scroll reveal ────────────────────────── */
/* Hidden only once `.js` is on <html>, so without scripts the page is complete. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="left"] {
  transform: translateX(-40px);
}
.js [data-reveal="zoom"] {
  transform: scale(0.9);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ── Section scaffolding ──────────────────── */
.section-heading {
  max-width: 640px;
}
.section-heading h2 {
  margin-top: 12px;
}
.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}
.section-heading--center {
  margin-inline: auto;
  text-align: center;
}
.occasions,
.how,
.show,
.teach,
.pricing,
.faq,
.detail {
  margin-top: var(--gap);
}
.tick-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}
.tick-list li,
.hero-notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.tick-list svg,
.hero-notes svg,
.plan-card li svg {
  flex: none;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--lav-2);
  color: var(--purple);
}
.card-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 16px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
}
.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Hero ─────────────────────────────────── */
.hero {
  position: relative;
  margin-top: -80px;
  padding-top: 80px;
  background: linear-gradient(
    180deg,
    var(--lav-2) 0%,
    var(--lav-1) 70%,
    var(--lav-1) 100%
  );
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  padding-block: clamp(36px, 6vw, 76px) clamp(70px, 8vw, 110px);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}
.hero h1 span {
  color: var(--purple);
}
.hero-description {
  max-width: 480px;
  margin-top: 22px;
  color: #50525a;
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-actions .button {
  min-height: 54px;
  padding-inline: 28px;
}
.hero-notes {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #50525a;
  font-size: 14.5px;
}
.hero-art {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.hero-art .bubble {
  width: calc(var(--size) * 0.19%);
}
.bubble--main {
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}
.bubble--main img {
  width: 96%;
  margin-top: 2%;
}
.bubble--robot {
  right: 0;
  top: 7%;
}
.bubble--bear {
  left: 2%;
  bottom: 7%;
}
.bubble--mark {
  left: 8%;
  top: 12%;
}
.bubble-label {
  font-size: 34px;
  font-weight: 800;
  color: #a43d70;
}
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 2px solid var(--lav-3);
  border-radius: 50%;
  animation: spin 46s linear infinite;
}
.ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: var(--yellow);
}
.chip--score {
  right: 6%;
  bottom: 16%;
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(36px, 6vw, 90px);
  fill: var(--paper);
}

/* ── Who it is for ────────────────────────── */
.occasions .section-heading {
  margin-inline: auto;
  text-align: center;
}
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.occasion-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 152px 28px 28px;
  border-radius: 32px;
  background: var(--lav-1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.occasion-card--1 {
  background: #fdeef4;
}
.occasion-card--2 {
  background: #fff6dc;
}
.occasion-card h3 {
  margin-top: 6px;
  font-size: 22px;
}
.occasion-card p:not(.eyebrow) {
  margin-top: 10px;
  color: #55575f;
  font-size: 15px;
  line-height: 1.6;
}
.occasion-card .eyebrow {
  margin-top: 0;
}
.occasion-card .card-link {
  margin-top: auto;
  padding-top: 18px;
}
.occasion-art {
  left: 24px;
  top: 20px;
}
@media (hover: hover) {
  .occasion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 40px -28px #4c3573aa;
  }
}

/* ── How it works ─────────────────────────── */
.how .section-heading {
  margin-inline: auto;
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-icon {
  position: relative;
  margin-bottom: 20px;
}
.step-number {
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.steps h3 {
  margin-top: 6px;
  font-size: 23px;
}
.steps p {
  max-width: 300px;
  margin-top: 10px;
  color: var(--muted);
}

/* ── Ready-made quizzes ───────────────────── */
.quizzes {
  width: calc(100% - 48px);
  max-width: 1360px;
  margin: var(--gap) auto 0;
  padding-block: clamp(48px, 7vw, 84px);
  border-radius: 48px;
  background: var(--lav-1);
}
.quizzes > .wrap {
  width: calc(100% - 64px);
}
.quizzes-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.quiz-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.quiz-tile-card {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 34px -26px #4c357388;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.quiz-tile-art {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.quiz-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.quiz-tile-body {
  padding: 18px 22px 22px;
}
.quiz-tile-body h3 {
  font-size: 20px;
}
.quiz-tile-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.quiz-tile-card {
  position: relative;
}
.quiz-tile-body p {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media (hover: hover) {
  .quiz-tile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 40px -26px #4c3573aa;
  }
  .quiz-tile-card:hover img {
    transform: scale(1.06);
  }
}

/* ── Top quizzes carousel ─────────────────── */
.top-quizzes {
  margin-top: clamp(40px, 6vw, 72px);
}
.top-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.top-carousel {
  position: relative;
  margin-top: 32px;
}
.top-track {
  display: flex;
  gap: 20px;
  margin: 0 -24px;
  padding: 8px 24px 28px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
}
.top-track::-webkit-scrollbar {
  display: none;
}
.top-card {
  position: relative;
  flex: 0 0 min(340px, 84vw);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 34px -24px #4c357388;
  scroll-snap-align: start;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.top-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.top-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 12px;
  background: var(--night);
}
.top-col {
  display: grid;
  grid-template-rows: 44px repeat(3, 1fr);
  gap: 4px;
  --c: var(--lime);
}
.top-col--1 { --c: var(--yellow); }
.top-col--2 { --c: var(--pink); }
.top-col--3 { --c: var(--lav-3); }
.top-col--4 { --c: #9ce0d2; }
.top-col b {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--c);
  color: var(--night);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  hyphens: auto;
}
.top-col i {
  display: block;
  padding: 7px 0;
  border-radius: 6px;
  background: #ffffff1c;
  color: var(--c);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}
.top-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 20px 20px;
}
.top-card-body strong {
  font-size: 18px;
  line-height: 1.25;
}
.top-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--night);
  font-size: 12px;
  font-weight: 800;
}
.top-card--hard .top-badge {
  background: var(--yellow);
}
.top-blurb {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.top-card--more {
  background: var(--lav-2);
}
.top-card--more .top-card-link {
  justify-content: center;
  gap: 10px;
  padding: 28px;
}
.top-card--more strong {
  font-size: 22px;
}
.top-card--more span:not(.card-link) {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.top-nav {
  position: absolute;
  top: 40%;
  z-index: 2;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px -8px #2b1f4a66;
  color: var(--night);
  font-size: 22px;
  cursor: pointer;
}
.top-nav--prev { left: -14px; }
.top-nav--next { right: -14px; }
.top-nav[hidden] {
  display: none !important;
}
.mix-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 8px;
  padding: 24px 32px;
  border-radius: 32px;
  background: var(--lime);
  color: var(--night);
}
.mix-banner-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--night);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.mix-banner-copy {
  flex: 1 1 320px;
}
.mix-banner-copy h3 {
  font-size: 22px;
}
.mix-banner-copy p {
  margin-top: 4px;
  line-height: 1.5;
}
.mix-banner .button {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}
@media (hover: hover) {
  .top-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 40px -24px #4c3573aa;
  }
  .js .top-nav:not([hidden]) {
    display: grid;
  }
}
@media (max-width: 700px) {
  .top-track {
    margin: 0 -18px;
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }
  .mix-banner {
    padding: 20px;
  }
}

/* ── The show ─────────────────────────────── */
.show {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.show-art {
  position: relative;
  isolation: isolate;
  padding: 0 0 34px 30px;
}
.show-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 34px 60px -34px #2b1f4a99;
}
.show-art .bubble {
  z-index: 0;
}
.bubble--back-a {
  left: -24px;
  bottom: -2px;
}
.bubble--back-b {
  right: 14%;
  top: -34px;
}
.show-copy > p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}
.show-copy h2 {
  margin-top: 12px;
}

/* ── For teachers (home banner) ───────────── */
.teach {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 44px;
  background: linear-gradient(135deg, var(--night), #4a3590);
  color: #fff;
}
.teach .eyebrow {
  color: var(--lime);
}
.teach h2 {
  margin-top: 12px;
}
.teach-copy p:not(.eyebrow) {
  max-width: 460px;
  margin: 14px 0 28px;
  color: #ddd2f6;
  font-size: 17px;
}
.teach .button {
  border-color: #fff;
  background: #fff;
  color: var(--night);
  box-shadow: none;
}
.teach .button:hover {
  border-color: var(--lime);
  background: var(--lime);
}
.teach-art {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px 0 40px;
}
.teach-art .doc {
  color: var(--ink);
  box-shadow: 0 18px 30px -18px #0007;
}
.teach-art .doc:nth-of-type(1) {
  margin-right: 34px;
  rotate: -2deg;
}
.teach-art .doc:nth-of-type(2) {
  margin-left: 34px;
  rotate: 2deg;
}
.bubble--magic {
  right: -6px;
  top: -4px;
}
.chip--ready {
  left: 12%;
  bottom: 0;
  background: var(--lime);
  color: #33400d;
}

/* ── Pricing ──────────────────────────────── */
.pricing .section-heading {
  margin-inline: auto;
  text-align: center;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.plan-card,
.plan-edu {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
}
.plan-card--1 {
  border-color: var(--violet);
  box-shadow: 0 26px 46px -30px #7051cccc;
}
.plan-card[data-badge]::before {
  content: attr(data-badge);
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.plan-card h3,
.plan-edu h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}
.plan-coin {
  width: 28px;
  height: 28px;
}
.plan-edu-coin {
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
}
.plan-pack-coin {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.plan-amount {
  margin-top: 14px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.plan-amount span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.plan-note {
  color: var(--muted);
  font-size: 14px;
}
.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.5;
}
.plan-card li {
  display: flex;
  gap: 10px;
}
.plan-card li svg {
  margin-top: 2px;
}
.plan-edu {
  border-color: transparent;
  background: var(--lav-1);
}
.plan-edu-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}
.plan-edu > p:not(.plan-edu-badge):not(.plan-edu-price) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.plan-edu-price {
  margin-top: auto;
  padding-top: 22px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.plan-edu-price span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-packs {
  margin-top: 22px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
}
.plan-packs h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.plan-packs > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.plan-packs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.plan-packs li {
  display: flex;
  flex: 1 1 220px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--lav-1);
}
.plan-pack-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.plan-pack-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plan-cta {
  margin-top: 36px;
  text-align: center;
}

/* ── FAQ ──────────────────────────────────── */
.faq .section-heading {
  margin-inline: auto;
  text-align: center;
}
.faq-items {
  max-width: 820px;
  margin: 40px auto 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lav-1);
  color: var(--purple);
  font-size: 22px;
  line-height: 1;
  transition:
    transform 0.25s,
    background 0.25s;
}
.faq details[open] summary span {
  background: var(--purple);
  color: #fff;
  transform: rotate(45deg);
}
.faq details p {
  max-width: 700px;
  padding: 0 4px 24px;
  color: var(--muted);
}

/* ── Closing call to action ───────────────── */
.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  margin-top: var(--gap);
  padding: clamp(36px, 6vw, 72px);
  border-radius: 48px;
  background: linear-gradient(135deg, #5b3dba, var(--night));
  color: #fff;
}
.final-cta .eyebrow {
  color: var(--lime);
}
.final-cta h2 {
  margin: 12px 0 28px;
  font-size: clamp(34px, 4.4vw, 56px);
}
.cta-note {
  margin-top: 20px;
  color: #d9cdf5;
  font-size: 15px;
}
.final-cta-art {
  position: relative;
  min-height: 280px;
}
.final-cta-art .bubble:nth-child(1) {
  left: 8%;
  top: 6%;
}
.final-cta-art .bubble:nth-child(2) {
  right: 2%;
  top: 0;
}
.final-cta-art .bubble:nth-child(3) {
  right: 20%;
  bottom: 0;
}
.footer {
  margin-top: clamp(48px, 6vw, 72px);
}
/* The payment processor's mark, required beside the prices (LiqPay brand book). */
.footer-pay {
  display: block;
  width: 100%;
}
.footer-pay img {
  display: block;
  width: 150px;
  height: auto;
  padding: 6px 8px;
  background: #fff;
  border-radius: 6px;
  box-sizing: content-box;
}

/* ── Back to top ──────────────────────────── */
.to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 12px 24px -10px #7051cccc;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Sub-pages: features and teachers ─────── */
.page-head {
  padding-block: 24px 0;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.page-head h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
}
.page-head p:not(.back-link) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
}
.back-link {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--lav-1);
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}
.back-link:hover {
  background: var(--lav-2);
}
.detail .section-heading {
  margin-bottom: 36px;
}
.screen {
  margin: 0;
}
.screen img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 34px 60px -36px #2b1f4a99;
}
.show-grid,
.create-grid,
.feature-grid {
  display: grid;
  gap: 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.show-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.show-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--lav-1);
}
.show-card-image {
  width: 100%;
  height: auto;
}
.show-card-copy {
  padding: 24px 28px 28px;
}
.show-card-copy > p {
  margin-top: 8px;
  color: var(--muted);
}
.venue-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}
.venue-list dt {
  font-weight: 800;
}
.venue-list dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 24px 24px 0;
  list-style: none;
}
.cast-member img {
  width: 100%;
  height: auto;
}
.create-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.create-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}
.create-card h3 {
  margin-top: 6px;
  font-size: 21px;
}
.create-card p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.create-icon,
.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--lav-2);
  color: var(--purple);
}
.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 28px;
}
.feature-grid li:nth-child(4n + 2) .feature-icon {
  background: #eaf6bd;
  color: #52650f;
}
.feature-grid li:nth-child(4n + 3) .feature-icon {
  background: #ffefbd;
  color: #7a5a00;
}
.feature-grid li:nth-child(4n) .feature-icon {
  background: var(--pink);
  color: #98336a;
}
.feature-grid h3 {
  font-size: 19px;
}
.feature-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.detail.lessons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.lessons-copy h2 {
  margin-top: 12px;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1000px) {
  .hero-inner,
  .show,
  .teach,
  .final-cta,
  .detail.lessons {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-art {
    max-width: 440px;
  }
  .show-art {
    order: -1;
  }
  .quiz-tiles,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .occasion-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-edu {
    grid-column: 1 / -1;
  }
  .create-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .steps,
  .show-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    gap: 40px;
  }
  .quizzes {
    width: calc(100% - 24px);
    border-radius: 32px;
  }
  .quizzes > .wrap {
    width: calc(100% - 36px);
  }
  .plan-grid,
  .create-grid,
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .occasion-card {
    justify-content: center;
    min-height: 168px;
    padding: 22px 22px 22px 138px;
  }
  .occasion-art {
    top: 50%;
    left: 18px;
    width: 96px;
    margin-top: -48px;
  }
  .quiz-tiles {
    gap: 12px;
    margin-top: 28px;
  }
  .quiz-tile-body {
    padding: 12px 14px 16px;
  }
  .quiz-tile-body h3 {
    font-size: 16px;
  }
  .quiz-tile-body p,
  .hero-notes {
    display: none;
  }
  .teach,
  .final-cta {
    border-radius: 32px;
  }
  .show-art {
    padding-left: 14px;
  }
  .bubble--back-a {
    left: -6px;
  }
  .cast-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .faq summary {
    font-size: 16.5px;
  }
  .final-cta-art {
    min-height: 220px;
  }
  .final-cta-art .bubble {
    width: calc(var(--size) * 0.75px);
  }
  .hero-actions .button {
    flex: 1 1 100%;
  }
}

/* ── For teachers: the lesson mock-up ─────── */
.lessons-copy > .eyebrow {
  color: var(--purple);
}
.lessons-copy h2 {
  margin-top: 14px;
}
.lessons-description {
  max-width: 540px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}
.lesson-points {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.lesson-points li {
  display: flex;
  gap: 14px;
}
.lesson-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
}
.lesson-check svg {
  width: 16px;
  height: 16px;
}
.lesson-points h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.lesson-points p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.plan-pill {
  padding: 7px 13px;
  border: 1px solid #d9cdf2;
  border-radius: 999px;
  background: #fff;
  color: #4c3573;
  font-size: 12px;
  font-weight: 800;
}
.lesson-limits {
  margin-top: 16px;
  color: #6d6680;
  font-size: 13px;
  line-height: 1.6;
}
.lesson-demo {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid #ddd4f5;
  border-radius: 24px;
  background: #fbfaf6;
  box-shadow: 0 30px 60px -35px #4c357366;
}
.lesson-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.doc {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.doc-type {
  display: grid;
  place-items: end center;
  flex: none;
  width: 40px;
  height: 48px;
  padding-bottom: 7px;
  border-radius: 5px 13px 5px 5px;
  background: #d9534a;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.doc--docx .doc-type {
  background: #3d6fd8;
}
.doc > div {
  min-width: 0;
}
.doc strong {
  display: block;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc small {
  color: var(--muted);
  font-size: 12px;
}
.lesson-flow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lesson-flow-line {
  flex: 1;
  border-top: 1px dashed #b9a9dd;
}
.lesson-flow-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #efe9fb;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.lesson-flow-status svg {
  width: 16px;
  height: 16px;
}
.lesson-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding: 9px;
  border: 3px solid #8c70b3;
  border-radius: 12px;
  background: #5a437e;
  box-shadow: 0 6px 0 #9a80b6;
}
.lesson-column {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.lesson-column span {
  overflow: hidden;
  padding: 4px 0 6px;
  color: #f9edff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lesson-column i {
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(130deg, #745997, #644b86);
  color: #efe0a7;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}
.lesson-column i.is-picked {
  background: var(--lime);
  color: #384326;
  box-shadow: 0 0 0 2px #fff;
}
.lesson-question {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.lesson-question .eyebrow {
  color: var(--purple);
  font-size: 10px;
}
.lesson-question-text {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.lesson-source {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #d9e2c2;
  border-radius: 12px;
  background: #f1f5e6;
}
.lesson-source-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4e6128;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lesson-source-label svg {
  width: 14px;
  height: 14px;
}
.lesson-source p {
  margin-top: 6px;
  color: #3d4432;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.55;
}
.lesson-source small {
  display: block;
  margin-top: 6px;
  color: #6f7760;
  font-size: 12px;
}
/* ── Meet the hosts ──────────────────────── */
.host-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.host-tile {
  --host-tint: #e8dff8;
  display: flex;
  flex-direction: column;
  padding: 0 20px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fbfaf6;
}
.host-tile--owl {
  --host-tint: #efe2d0;
}
.host-tile--spark {
  --host-tint: #fbe0c4;
}
.host-tile--cloud {
  --host-tint: #dde6f8;
}
.host-tile--metronome {
  --host-tint: #f2e6b4;
}
.host-tile--baron {
  --host-tint: #d9ebc4;
}
.host-avatar {
  position: relative;
  width: calc(100% + 40px);
  aspect-ratio: 4 / 3;
  margin: 0 -20px 16px;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% 100%, #fff9, transparent 70%),
    var(--host-tint);
}
.host-tile-image,
.host-sprite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.host-tile-image {
  max-width: none;
  object-fit: cover;
}
/* A 4x4 sheet of the host's "talk" clip, fetched on the first play and stepped
   through at 10 fps while a clip is audible. The still underneath is frame 0. */
.host-sprite {
  background-size: 400% 400%;
  background-repeat: no-repeat;
  visibility: hidden;
}
.host-avatar.is-talking .host-tile-image {
  visibility: hidden;
}
.host-avatar.is-talking .host-sprite {
  visibility: visible;
  animation:
    host-talk-column 0.4s steps(4) infinite,
    host-talk-row 1.6s steps(4) infinite;
}
@keyframes host-talk-column {
  to {
    background-position-x: 133.3333%;
  }
}
@keyframes host-talk-row {
  to {
    background-position-y: 133.3333%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .host-avatar.is-talking .host-tile-image {
    visibility: visible;
  }
  .host-avatar.is-talking .host-sprite {
    visibility: hidden;
  }
}
.host-tile-mood {
  align-self: flex-start;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--host-tint);
  color: #3b3d33;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.host-tile h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.host-tile-about {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.host-quote {
  flex: 1;
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  box-shadow: 0 3px 0 #d6d7cb;
}
.host-quote p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.host-quote p[hidden],
.host-play[hidden] {
  display: none;
}
.host-play {
  display: flex;
  gap: 8px;
}
.host-play-button {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition:
    background 0.2s,
    color 0.2s;
}
.host-play-button:hover,
.host-play-button.is-playing {
  background: var(--ink);
  color: #fff;
}
.host-play-button .icon-stop,
.host-play-button.is-playing .icon-play {
  display: none;
}
.host-play-button.is-playing .icon-stop {
  display: block;
}
@media (max-width: 1100px) {
  .host-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .host-tile {
    grid-column: span 2;
  }
  .host-tile:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .host-tile:nth-child(5) {
    grid-column: span 2;
  }
}
@media (max-width: 800px) {
  .host-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .host-tile,
  .host-tile:nth-child(4),
  .host-tile:nth-child(5) {
    grid-column: auto;
  }
  .host-tile:nth-child(5) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 540px) {
  .host-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .host-tile:nth-child(5) {
    grid-column: auto;
  }
}
