.voice-hero {
  padding-bottom: 24px;
  background:
    radial-gradient(circle at 86% -12%, rgba(47, 107, 255, 0.17), transparent 36%),
    radial-gradient(circle at 5% 110%, rgba(255, 112, 102, 0.11), transparent 31%),
    linear-gradient(136deg, #fdfcf8 0%, #fbfaf6 56%, #f2f4fb 100%);
}

/* Match the slim device frame used by the payments demo. */
.voice-page .voice-feature-phone {
  padding: 5px;
  border-color: rgba(255, 255, 255, 0.38);
  border-radius: 31px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 0 0 2px rgba(255, 255, 255, 0.07),
    0 34px 46px rgba(8, 28, 80, 0.42);
}

.voice-page .voice-feature-phone::before,
.voice-page .voice-feature-phone::after {
  content: none;
}

.voice-page .voice-feature-phone-screen {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  clip-path: inset(0 round 26px);
}

.voice-page .voice-feature-phone-button {
  top: 93px;
  height: 50px;
}

.voice-examples,
.voice-process,
.voice-capabilities {
  margin-top: 26px;
  padding: clamp(64px, 7vw, 92px) clamp(24px, 5.4vw, 68px);
  border: 1px solid var(--warm-line);
  border-radius: 36px;
  box-shadow: var(--warm-shadow);
}

.voice-examples {
  background:
    radial-gradient(circle at 95% 6%, rgba(255, 112, 102, 0.1), transparent 28rem),
    radial-gradient(circle at 5% 96%, rgba(47, 107, 255, 0.08), transparent 26rem),
    #f8f7f3;
}

.voice-process {
  background:
    radial-gradient(circle at 4% 90%, rgba(255, 207, 74, 0.13), transparent 25rem),
    rgba(251, 250, 246, 0.9);
}

.voice-capabilities {
  background:
    radial-gradient(circle at 95% 5%, rgba(47, 107, 255, 0.09), transparent 28rem),
    rgba(247, 248, 252, 0.9);
}

.voice-page .panel-heading,
.voice-page .lists-section-heading h2,
.voice-page .voice-process-heading h2,
.voice-page .lists-final-cta h2 {
  width: 100%;
  max-width: none;
}

.voice-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.voice-example-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(47, 107, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(26, 36, 67, 0.06);
}

.voice-example-card-smart {
  background:
    radial-gradient(circle at 100% 0, rgba(47, 107, 255, 0.09), transparent 58%),
    rgba(255, 255, 255, 0.82);
}

.voice-example-type {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.voice-example-card:nth-child(2) .voice-example-type {
  background: rgba(255, 207, 74, 0.25);
  color: #886713;
}

/* ==========================================================================
   Реплика шторки «Быстрый список» из приложения.
   Источник: lib/screens/lists_page/quick_list_voice_input_sheet.dart
   Все размеры, отступы, радиусы и цвета перенесены 1-в-1.
   ========================================================================== */

.qs-sheet {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(216, 218, 222, 0.86);
  border-radius: 28px;
  background: rgba(253, 253, 254, 0.94);
  box-shadow:
    0 24px 48px rgba(18, 27, 52, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-family: "Inter", sans-serif;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.qs-sheet__handle {
  width: 40px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(216, 218, 222, 0.9);
}

.qs-sheet__title {
  display: block;
  margin-bottom: 16px;
  color: #1f2328;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
}

/* glassCard(padding: symmetric(horizontal: 12, vertical: 10), radius 18) */
.qs-sheet__wave {
  padding: 10px 12px;
  border: 1px solid rgba(216, 218, 222, 0.78);
  border-radius: 18px;
  background: rgba(253, 253, 254, 0.76);
  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.qs-sheet__wave .voice-waveform {
  display: block;
  width: 100%;
  height: 24px; /* VoiceWaveform(height: 24) */
}

.qs-sheet__status {
  display: block;
  margin: 10px 0 12px;
  color: #666d76;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-align: center;
}

.qs-sheet__recognized {
  min-height: 52px;
  padding: 14px;
  border: 1px solid rgba(216, 218, 222, 0.78);
  border-radius: 20px;
  background: rgba(253, 253, 254, 0.8);
  color: #1f2328;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.qs-sheet__result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--warm-sage-soft);
}

.qs-sheet__result > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--warm-sage);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.qs-sheet__result div {
  min-width: 0;
}

.qs-sheet__result strong,
.qs-sheet__result small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qs-sheet__result strong {
  color: #41624e;
  font-size: 13px;
  font-weight: 700;
}

.qs-sheet__result small {
  margin-top: 2px;
  color: #708174;
  font-size: 11px;
}

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

.voice-process-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.voice-process-heading .label {
  padding-top: 9px;
}

.voice-process-heading h2 {
  max-width: 820px;
  margin: 0;
  color: var(--warm-ink);
  font-family: "Onest", "Inter", sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.062em;
}

.voice-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 48px 0 0;
  padding: 0;
}

.voice-process-grid article {
  min-height: 210px;
  padding: 23px;
  border: 1px solid rgba(47, 107, 255, 0.1);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.7);
}

.voice-process-grid article > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 10px;
  font-weight: 800;
}

.voice-process-grid article:nth-child(3) > span {
  background: rgba(255, 207, 74, 0.25);
  color: #886713;
}

.voice-process-grid h3 {
  margin: 36px 0 9px;
  color: var(--warm-ink);
  font-family: "Onest", "Inter", sans-serif;
  font-size: 21px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.voice-process-grid p {
  margin: 0;
  color: var(--warm-muted);
  font-size: 12px;
  line-height: 1.58;
}

.voice-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.voice-capability-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(47, 107, 255, 0.1);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 28px rgba(26, 36, 67, 0.04);
}

.voice-capability-grid article > span {
  display: inline-grid;
  min-width: 36px;
  height: 36px;
  place-items: center;
  padding: 0 8px;
  border-radius: 11px;
  background: rgba(255, 112, 102, 0.11);
  color: #d95750;
  font-family: "Onest", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.voice-capability-grid article:nth-child(even) > span {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.voice-capability-grid h3 {
  margin: 31px 0 8px;
  color: var(--warm-ink);
  font-family: "Onest", "Inter", sans-serif;
  font-size: 21px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.voice-capability-grid p {
  margin: 0;
  color: var(--warm-muted);
  font-size: 12px;
  line-height: 1.58;
}

.voice-page .panel-list li,
.voice-example-card,
.voice-capability-grid article,
.voice-process-grid article {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.voice-page .panel-list li::before {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .voice-page .panel-list li:hover {
    border-color: rgba(47, 107, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow:
      0 14px 30px rgba(26, 36, 67, 0.1),
      0 0 0 3px rgba(47, 107, 255, 0.06);
    transform: translateY(-2px);
  }

  .voice-example-card:hover,
  .voice-capability-grid article:hover,
  .voice-process-grid article:hover {
    border-color: rgba(47, 107, 255, 0.34);
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow:
      0 24px 52px rgba(26, 36, 67, 0.13),
      0 0 0 3px rgba(47, 107, 255, 0.07);
    transform: translateY(-6px);
  }

  .voice-page .panel-list li:hover::before {
    box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.11);
    transform: scale(1.08);
  }
}

.voice-final-cta {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 112, 102, 0.12), transparent 24rem),
    radial-gradient(circle at 4% 110%, rgba(47, 107, 255, 0.13), transparent 25rem),
    linear-gradient(135deg, #fbfaf6, #f2f4fb 68%);
}

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

  .voice-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voice-process-grid article:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .voice-examples,
  .voice-process,
  .voice-capabilities {
    padding: 52px 18px;
    border-radius: 27px;
  }

  .voice-process-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .voice-process-heading .label {
    padding-top: 0;
  }

  .voice-process-heading h2 {
    font-size: 40px;
  }

  .voice-example-grid,
  .voice-process-grid,
  .voice-capability-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .voice-process-grid article:nth-child(3) {
    grid-column: auto;
  }

  .voice-example-card {
    padding: 18px;
  }

  .qs-sheet {
    margin-top: 14px;
  }

  .voice-process-grid article,
  .voice-capability-grid article {
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-page .panel-list li,
  .voice-page .panel-list li::before,
  .voice-example-card,
  .voice-capability-grid article,
  .voice-process-grid article {
    transition: none;
  }
}
