/* ============================================================================
   VOICES.CSS -- Standalone "Voices" page (train voices without the Studio)
   ----------------------------------------------------------------------------
   Layout for voices.html. Reuses the design tokens from brand.css and the
   console styling from voice.css / voice-capture.css; this file only adds the
   page shell (hero, two-column grid, side cards, gate) and the loading spinner.
   ========================================================================== */

.voices-wrap {
  max-width: var(--maxw, 1120px);
  margin: 0 auto;
  padding: 34px 22px 10px;
}

/* ---- loading / spinner (dashboard.css isn't loaded here) ------------------ */
.dash-loading { padding: 60px 0; text-align: center; color: var(--text-dim); }
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--accent);
  margin: 0 auto 14px; animation: vc-spin .8s linear infinite;
}
@keyframes vc-spin { to { transform: rotate(360deg); } }

/* ---- hero ---------------------------------------------------------------- */
.voices-hero { max-width: 820px; margin: 0 0 26px; }
.voices-hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.08; letter-spacing: -0.02em; margin: 12px 0 14px;
}
.voices-hero .lead { font-size: 1.1rem; color: var(--text-dim); max-width: 760px; }
.voices-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 10px; }
.voices-hero-note { font-size: .9rem; margin: 4px 0 0; }

/* ---- Pro gate ------------------------------------------------------------ */
.voices-gate { padding: 26px 26px 24px; margin-bottom: 24px; }
.voices-gate h2 { margin: 10px 0 8px; }
.voices-gate p { max-width: 720px; color: var(--text-dim); }
.voices-gate .btn { margin-top: 12px; }

/* ---- two-column grid ----------------------------------------------------- */
.voices-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.voices-main { min-width: 0; }
/* On this page the console is always visible (no take required). */
.voices-main .voice-console { display: block; }

/* ---- side cards ---------------------------------------------------------- */
.voices-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.side-card {
  background: linear-gradient(180deg, var(--panel) 0%, #14171d 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg, 16px);
  padding: 18px 18px 16px;
}
.side-card h3 { margin: 0 0 10px; font-size: 1rem; }
.side-card p { font-size: .9rem; }

.voices-steps { margin: 0; padding-left: 18px; }
.voices-steps li { margin: 0 0 9px; font-size: .9rem; color: var(--text-dim); line-height: 1.45; }
.voices-steps li b { color: var(--text); }

.voices-tips { margin: 0; padding-left: 18px; }
.voices-tips li { margin: 0 0 8px; font-size: .9rem; color: var(--text-dim); line-height: 1.45; }

.side-cta { border-color: rgba(255,107,53,.35); background: radial-gradient(400px 140px at 100% -40%, rgba(255,107,53,.14), transparent 60%), linear-gradient(180deg, var(--panel) 0%, #14171d 100%); }
.side-cta .btn { margin-top: 8px; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .voices-grid { grid-template-columns: 1fr; }
  .voices-side { position: static; }
}
@media (max-width: 520px) {
  .voices-hero-ctas .btn { width: 100%; }
}
