/* Marketing page additions for Quizel 1.0.8 (Voice Mode, study streak, four languages).
   Loaded after styles-v3.css; assets are cached immutably, so changes need a new file name. */

.voice-section {
  padding-block: clamp(82px, 10vw, 132px);
  background:
    radial-gradient(circle at 16% 18%, rgba(128, 105, 240, 0.38), transparent 28rem),
    radial-gradient(circle at 90% 90%, rgba(255, 224, 179, 0.12), transparent 22rem),
    #20173e;
  color: #fff;
}

.voice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.voice-section h2 {
  color: #fff;
}

.voice-section .feature-copy {
  max-width: 600px;
}

.voice-section .feature-copy > p {
  color: #dcd6f6;
}

.voice-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.voice-modes li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.voice-modes strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}

.voice-modes span {
  display: block;
  color: #cfc8ee;
  font-size: 14px;
  line-height: 1.5;
}

.voice-section .feature-copy > p.voice-facts {
  margin: 0;
  color: #beb6e2;
  font-size: 14px;
  line-height: 1.65;
}

.voice-facts a {
  color: #fff;
  text-underline-offset: 3px;
}

.voice-stage {
  display: grid;
  place-items: center;
  padding: 36px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.07);
}

.voice-stage .current-screen {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Keep the tilted flashcard phone and its caption above the proof strip. */
@media (min-width: 1001px) {
  .marketing-page .hero-visual {
    min-height: 700px;
  }
}

.site-nav .nav-lang {
  font-size: 13px;
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

@media (max-width: 760px) {
  .voice-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .voice-modes {
    grid-template-columns: 1fr;
  }

  .voice-stage {
    width: 100%;
    padding: 30px;
  }

  .site-nav .nav-lang-extra {
    display: none;
  }
}
