/* ================================================================
   KhmerBasics — preview.html stylesheet
   Self-contained; does not depend on assets/styles.css.
   ================================================================ */

:root {
  --bg: #070b16;
  --bg-soft: #0d1324;
  --panel: #111a2f;
  --panel-soft: #161f38;
  --blue: #032ea1;
  --blue-soft: #3155c9;
  --red: #e00025;
  --red-soft: #ff4f66;
  --gold: #f6c85f;
  --gold-soft: #ffe2a0;
  --white: #f8fafc;
  --muted: #9ba8c6;
  --muted-soft: #c4cee2;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-pop: 0 30px 70px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 8%, rgba(224, 0, 37, 0.18), transparent 38%),
    radial-gradient(circle at 86% 2%, rgba(3, 46, 161, 0.4), transparent 42%),
    linear-gradient(180deg, #070b16 0%, #090e1b 50%, #070b16 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

:lang(km),
.phrase-km {
  font-family: "Noto Sans Khmer", "Khmer OS Siemreap", "Inter", system-ui,
    sans-serif;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-glow {
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 28%, rgba(49, 85, 201, 0.22), transparent 45%),
    radial-gradient(circle at 76% 70%, rgba(224, 0, 37, 0.14), transparent 48%),
    radial-gradient(circle at center, rgba(246, 200, 95, 0.07), transparent 42%);
  filter: blur(40px);
}

main {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------------
   Nav
   ---------------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(7, 11, 22, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.brand-name {
  color: var(--white);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
}

.primary-nav a {
  position: relative;
  color: var(--muted-soft);
  padding: 0.4rem 0;
  transition: color 180ms ease;
}

.primary-nav a:hover {
  color: var(--white);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: 180ms ease;
}

.primary-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: #0a0e1b;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(246, 200, 95, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(246, 200, 95, 0.35);
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .nav-cta {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }
  .brand-name {
    display: none;
  }
}

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.2rem, 4vw, 2.4rem) clamp(2rem, 5vw, 3.5rem);
}

.hero-content {
  max-width: 560px;
}

.eyebrow {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(246, 200, 95, 0.13);
  border: 1px solid rgba(246, 200, 95, 0.25);
}

.hero-title {
  margin: 0.9rem 0 0.6rem;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--gold) 0%, #ffd87a 60%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--muted-soft);
}

.hero-meta {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ----------------------------------------------------------------
   Waitlist form
   ---------------------------------------------------------------- */

.waitlist-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  background: rgba(7, 11, 22, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.waitlist-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
}

.waitlist-form input::placeholder {
  color: rgba(155, 168, 198, 0.7);
}

.waitlist-form input:focus {
  outline: none;
}

.waitlist-form button {
  position: relative;
  flex: 0 0 auto;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #0a0e1b;
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(246, 200, 95, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(246, 200, 95, 0.4);
}

.waitlist-form .cta-success,
.waitlist-form .cta-error {
  display: none;
}

.waitlist-form.is-success {
  border-color: rgba(124, 207, 144, 0.5);
  background: rgba(35, 70, 50, 0.55);
}

.waitlist-form.is-success input {
  display: none;
}

.waitlist-form.is-success button {
  flex: 1 1 auto;
  background: rgba(124, 207, 144, 0.18);
  color: #d3f5dd;
  box-shadow: none;
  cursor: default;
}

.waitlist-form.is-success .cta-label,
.waitlist-form.is-success .cta-error {
  display: none;
}

.waitlist-form.is-success .cta-success {
  display: inline;
}

.waitlist-form.is-error {
  border-color: rgba(255, 100, 120, 0.55);
  background: rgba(70, 25, 35, 0.5);
}

.waitlist-form.is-error button {
  background: rgba(255, 100, 120, 0.18);
  color: #ffd6dd;
  box-shadow: none;
}

.waitlist-form.is-error .cta-label,
.waitlist-form.is-error .cta-success {
  display: none;
}

.waitlist-form.is-error .cta-error {
  display: inline;
}

.form-feedback {
  flex: 1 0 100%;
  margin: 0.6rem 0.4rem 0.2rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 100, 120, 0.1);
  border: 1px solid rgba(255, 100, 120, 0.32);
  color: #ffd6dd;
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-feedback.is-suggestion {
  background: rgba(231, 184, 95, 0.12);
  border-color: rgba(231, 184, 95, 0.35);
  color: var(--color-gold-soft, #f0d394);
}

.form-feedback .feedback-suggest {
  appearance: none;
  margin: 0 0.15rem;
  padding: 0.1rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.form-feedback .feedback-suggest:hover,
.form-feedback .feedback-suggest:focus-visible {
  background: currentColor;
  color: #181210;
  outline: none;
}

.waitlist-form.large {
  padding: 0.5rem;
}

.waitlist-form.large input,
.waitlist-form.large button {
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}

@media (max-width: 560px) {
  .waitlist-form {
    flex-direction: column;
    border-radius: 18px;
  }
  .waitlist-form input,
  .waitlist-form button {
    border-radius: 12px;
  }
}

/* ----------------------------------------------------------------
   Hero preview card
   ---------------------------------------------------------------- */

.hero-preview {
  position: relative;
}

.preview-card {
  padding: 1.4rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(7, 11, 22, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-pop);
}

.preview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b4f0c1;
  background: rgba(76, 200, 110, 0.12);
  border: 1px solid rgba(76, 200, 110, 0.3);
}

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5eea7a;
  box-shadow: 0 0 0 4px rgba(94, 234, 122, 0.15);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.85; }
}

.preview-category {
  color: var(--muted-soft);
  font-weight: 600;
}

.phrase {
  text-align: left;
}

.phrase-km {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
}

.phrase-romanized {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-soft);
  font-style: italic;
}

.phrase-en {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--muted-soft);
}

.voice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 1.1rem 0;
  padding: 0.5rem 0.5rem 0.5rem 0.85rem;
  border-radius: 14px;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid var(--line);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #0a0e1b;
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 6px 16px rgba(246, 200, 95, 0.3);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.play-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

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

.play-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.play-btn .icon-pause {
  display: none;
}

.play-btn.is-playing .icon-play {
  display: none;
}

.play-btn.is-playing .icon-pause {
  display: inline-block;
}

.play-btn.is-playing .play-label::after {
  /* "Listen" -> "Listening…", "Preview" -> "Previewing…". */
  content: "ing\2026";
}

.play-btn.ghost {
  background: rgba(246, 200, 95, 0.14);
  color: var(--gold-soft);
  border: 1px solid rgba(246, 200, 95, 0.28);
  box-shadow: none;
}

.play-btn.ghost:hover {
  background: rgba(246, 200, 95, 0.22);
}

.play-btn.ghost.is-playing {
  background: rgba(246, 200, 95, 0.28);
  border-color: rgba(246, 200, 95, 0.5);
}

.play-btn.mini {
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(49, 85, 201, 0.22);
  color: #d7e1ff;
  border: 1px solid rgba(49, 85, 201, 0.4);
  box-shadow: none;
  font-size: 0.78rem;
}

.play-btn.mini svg {
  width: 12px;
  height: 12px;
}

.play-btn.mini:hover {
  background: rgba(49, 85, 201, 0.32);
}

.play-btn.mini.is-playing {
  background: rgba(246, 200, 95, 0.22);
  border-color: rgba(246, 200, 95, 0.4);
  color: var(--gold-soft);
}

.voice-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.voice-toggle button {
  border: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-soft);
  transition: 160ms ease;
}

.voice-toggle button.active {
  background: rgba(246, 200, 95, 0.22);
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(246, 200, 95, 0.35);
}

.reply {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(49, 85, 201, 0.14);
  border: 1px solid rgba(49, 85, 201, 0.35);
  text-align: left;
}

.reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.reply-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8c8f5;
}

.reply .phrase-km {
  font-size: 1.05rem;
}

.reply .phrase-romanized,
.reply .phrase-en {
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: none;
    margin: 0 auto;
  }
  .waitlist-form {
    margin-inline: auto;
    max-width: 460px;
  }
  .hero-preview {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ----------------------------------------------------------------
   Trust strip
   ---------------------------------------------------------------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.4rem clamp(1.2rem, 4vw, 2.4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.trust-strip > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.trust-strip strong {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
}

.trust-strip span {
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

/* ----------------------------------------------------------------
   Section base
   ---------------------------------------------------------------- */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 2.4rem);
}

.section-tinted {
  max-width: none;
  background: rgba(13, 19, 36, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-tinted > * {
  max-width: 1180px;
  margin-inline: auto;
}

.section-head {
  max-width: 660px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(246, 200, 95, 0.1);
  border: 1px solid rgba(246, 200, 95, 0.22);
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.section-head h2 .nowrap {
  white-space: nowrap;
}

.section-head p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 1.02rem;
}

.section-foot {
  margin: 1.6rem auto 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* ----------------------------------------------------------------
   Phrase grid
   ---------------------------------------------------------------- */

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.phrase-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 22, 0.6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, border-color 220ms ease;
}

.phrase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 200, 95, 0.32);
}

.phrase-card header {
  display: flex;
  justify-content: space-between;
}

.phrase-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #dbe4ff;
  background: rgba(49, 85, 201, 0.2);
  border: 1px solid rgba(49, 85, 201, 0.4);
}

.phrase-card .play-btn {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .phrase-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

/* ----------------------------------------------------------------
   Features grid
   ---------------------------------------------------------------- */

.features-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.4rem 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 22, 0.55);
  border: 1px solid var(--line);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 200, 95, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(246, 200, 95, 0.12);
  border: 1px solid rgba(246, 200, 95, 0.22);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted-soft);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ----------------------------------------------------------------
   How it works (steps)
   ---------------------------------------------------------------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 1.6rem 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 22, 0.6);
  border: 1px solid var(--line);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: rgba(49, 85, 201, 0.2);
  color: #c8d6ff;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid rgba(49, 85, 201, 0.4);
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.steps p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.95rem;
}

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

/* ----------------------------------------------------------------
   Voice choice cards
   ---------------------------------------------------------------- */

.voice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.voice-cards.quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1100px;
}

@media (max-width: 980px) {
  .voice-cards.quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
}

.voice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 22, 0.65);
  border: 1px solid var(--line);
  transition: transform 200ms ease, border-color 200ms ease;
}

.voice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 200, 95, 0.32);
}

.voice-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.35rem;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(246, 200, 95, 0.25), rgba(49, 85, 201, 0.25));
  border: 1px solid rgba(246, 200, 95, 0.3);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-soft);
}

.voice-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.voice-meta {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}

.voice-card > p:last-of-type {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.95rem;
}

.voice-card .play-btn {
  margin-top: 0.4rem;
}

@media (max-width: 600px) {
  .voice-cards {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------
   Categories grid
   ---------------------------------------------------------------- */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.category-card {
  position: relative;
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 22, 0.6);
  border: 1px solid var(--line);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 200, 95, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.category-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.category-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.category-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted-soft);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ----------------------------------------------------------------
   Roadmap timeline
   ---------------------------------------------------------------- */

.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(246, 200, 95, 0.6) 0%,
    rgba(49, 85, 201, 0.4) 60%,
    transparent 100%);
  border-radius: 2px;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.85rem;
  padding: 1rem 1.1rem 1rem 0;
}

.timeline-dot {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
  z-index: 1;
}

.timeline li.done .timeline-dot {
  background: #5eea7a;
  border-color: #5eea7a;
  box-shadow: 0 0 0 4px rgba(94, 234, 122, 0.15);
}

.timeline li.active .timeline-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(246, 200, 95, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-status {
  display: inline-block;
  margin-bottom: 0.3rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.timeline li.done .timeline-status {
  color: #b4f0c1;
  background: rgba(94, 234, 122, 0.12);
  border-color: rgba(94, 234, 122, 0.3);
}

.timeline li.active .timeline-status {
  color: var(--gold-soft);
  background: rgba(246, 200, 95, 0.13);
  border-color: rgba(246, 200, 95, 0.32);
}

.timeline h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.timeline p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.93rem;
}

/* ----------------------------------------------------------------
   Platforms
   ---------------------------------------------------------------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 720px;
  margin: 0 auto;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.3rem 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 22, 0.6);
  border: 1px solid var(--line);
  text-align: center;
}

.platform.available {
  border-color: rgba(246, 200, 95, 0.32);
  background:
    linear-gradient(150deg, rgba(246, 200, 95, 0.12), rgba(246, 200, 95, 0.03)),
    rgba(7, 11, 22, 0.6);
}

.platform-icon {
  font-size: 1.6rem;
}

.platform strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.platform-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.platform.available .platform-meta {
  color: var(--gold-soft);
}

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

/* ----------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-list details {
  border-radius: var(--radius);
  background: rgba(7, 11, 22, 0.6);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(246, 200, 95, 0.32);
  background: rgba(7, 11, 22, 0.78);
}

.faq-list summary {
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-soft);
  transition: transform 180ms ease;
  line-height: 1;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--muted-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   Final CTA card
   ---------------------------------------------------------------- */

.section-cta {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.cta-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 4vw, 2.4rem);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(circle at 80% 0%, rgba(246, 200, 95, 0.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(49, 85, 201, 0.25), transparent 60%),
    rgba(13, 19, 36, 0.85);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
}

.cta-card .kicker {
  margin-bottom: 0.7rem;
}

.cta-card h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.cta-card > p {
  margin: 0 auto 1.5rem;
  max-width: 480px;
  color: var(--muted-soft);
  font-size: 1rem;
}

.cta-card .waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

.cta-meta {
  margin: 1.2rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 4vw, 2.4rem) 1.5rem;
  background: rgba(7, 11, 22, 0.72);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.footer-brand p {
  margin: 0.6rem 0 0;
  color: var(--muted-soft);
  font-size: 0.92rem;
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.footer-col a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.92rem;
  color: var(--muted-soft);
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.bayonshield-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: rgba(7, 11, 22, 0.65);
  border: 1px solid var(--line);
  margin: 0 auto;
}

.site-footer > .bayonshield-credit {
  display: flex;
  width: max-content;
  max-width: 100%;
}

.bayonshield-link {
  display: inline-flex;
  border-radius: 10px;
}

.bayonshield-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.bayonshield-logo {
  display: block;
  width: 114px;
  height: auto;
  opacity: 0.95;
}

.bayonshield-credit p {
  margin: 0;
  font-size: 0.88rem;
  color: #dbe4ff;
}

.copy {
  margin: 1.4rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

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

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bayonshield-credit {
    width: 100%;
    text-align: center;
  }
}
