/* "Practice speaking <language> with Luna" on the /study/<language>/ pages
   (2026-11-04): a short line of copy beside a phone playing a scripted sample
   call on the app's real voice-call screen. Self-contained; the phone chassis
   and its desktop tilt come from phone-mock-fluid.css and device-tilt.js. */

/* Breathing room (owner 2026-11-04): this section's copy and tall phone sat
   tight against the page gutter, so it gets its own inner padding. */
.voice-practice {
  padding-inline: clamp(10px, 3.2vw, 48px);
}

.voice-practice__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.voice-practice__lede {
  margin: 18px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

.voice-practice__phone {
  width: min(100%, 300px);
  margin: 0;
  justify-self: center;
}

.voice-practice__phone .phone-mock__screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-practice__phone figcaption,
.voice-practice__grid figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
}

.voice-practice__grid figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 15.5px;
}

/* The /study/languages/ hub shows three languages side by side. */
.voice-practice__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  max-width: calc(3 * 280px + 2 * 34px);
  margin: 44px auto 0;
}

.voice-practice__grid .voice-practice__phone { width: 100%; }

@media (max-width: 820px) {
  .voice-practice__layout { grid-template-columns: minmax(0, 1fr); }
  .voice-practice__phone { width: min(100%, 290px); }
  .voice-practice__grid { grid-template-columns: minmax(0, 290px); justify-content: center; }
}
