/* ============================================================
   Voklo Landing — дизайн-система перенесена из приложения Voklo
   (apps/desktop/src/renderer/styles.css)
   ============================================================ */

/* ---------- Шрифты (самохостинг) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-v20-cyrillic_latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-v20-cyrillic_latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-v20-cyrillic_latin-800.woff2") format("woff2");
}

/* ---------- Токены Voklo (verbatim из приложения) ---------- */
:root {
  color-scheme: light;
  --bg: #fffbf8;
  --bg-soft: #fff6ef;
  --surface: #fff8f6;
  --surface-lowest: #ffffff;
  --surface-low: #fef1ec;
  --surface-container: #f8ebe6;
  --surface-high: #f2e6e0;
  --surface-highest: #ede0db;
  --text: #201a17;
  --muted: #6f625b;
  --muted-strong: #5a413a;
  --border: #eadbd2;
  --border-soft: #f2e6e0;
  --orange: #f25a2c;
  --orange-dark: #ac2d00;
  --orange-hover: #d94b24;
  --peach: #fff0e8;
  --peach-border: #ffd9c2;
  --espresso: #2a1d18;
  --cream: #fff8f1;
  --error: #ba1a1a;
  --shadow-soft: 0 20px 60px rgba(42, 29, 24, 0.08);
  --shadow-panel: 0 10px 36px rgba(42, 29, 24, 0.05);
  --shadow-float: 0 10px 40px rgba(42, 29, 24, 0.16);
  --focus: 0 0 0 4px rgba(242, 90, 44, 0.16);
  --leading-tight: 1.08;
  --leading-body: 1.52;
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --container: 1120px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 2%, rgba(255, 214, 189, 0.72), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(255, 235, 221, 0.8), transparent 28%),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
  color: var(--text);
  font-size: 16px;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

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

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

section {
  padding-block: 104px;
}

/* ---------- Типографика ---------- */
.section-title {
  max-width: 640px;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: var(--leading-tight);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 16px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

/* ---------- Кнопки (из приложения) ---------- */
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #ff7a45, var(--orange));
  color: #fff;
  box-shadow: 0 12px 28px rgba(242, 90, 44, 0.22);
}

.secondary-button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  box-shadow: 0 16px 32px rgba(242, 90, 44, 0.28);
}

.primary-button:active,
.secondary-button:active {
  transform: scale(0.98);
}

.button-arrow {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 320ms var(--ease-fluid);
}

.primary-button:hover .button-arrow {
  transform: translateX(2px) translateY(-1px);
}

.button-arrow svg {
  display: block;
}

/* «Клавиша» — фирменный мотив приложения */
.hotkey-inline {
  min-width: 40px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f46f45 0%, #ec4f22 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(242, 90, 44, 0.18);
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---------- Появление при скролле (только когда JS доступен) ---------- */
html:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 800ms var(--ease-fluid), transform 800ms var(--ease-fluid), filter 800ms var(--ease-fluid);
  transition-delay: var(--reveal-delay, 0ms);
}

html:not(.no-js) .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Header — плавающая стеклянная пилюля
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 16px 20px 0;
  pointer-events: none;
}

.header-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 8px 10px 8px 22px;
  border: 1px solid rgba(234, 219, 210, 0.9);
  border-radius: 999px;
  background: rgba(255, 251, 248, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(42, 29, 24, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #12100f;
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
}

.brand img {
  border-radius: 7px;
}

.brand-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-left: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.header-nav {
  display: flex;
  gap: 34px;
  margin: 0 auto;
}

.header-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  transition: color 180ms ease;
}

.header-nav a:hover {
  color: var(--orange-hover);
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
}

/* ============================================================
   Hero — асимметричный split: текст слева, живая демка справа
   ============================================================ */
.hero {
  padding-block: 172px 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: var(--leading-tight);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero-dot {
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.06em;
}

.hero-lead {
  margin-top: 20px;
  max-width: 480px;
  color: var(--muted);
  font-size: 19px;
  line-height: 30px;
}

.hero-lead sup {
  font-size: 12px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.hero-button {
  min-height: 58px;
  padding: 0 26px;
  border-radius: 16px;
  font-size: 17px;
  white-space: nowrap;
}

.hero-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 40px;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-trust svg {
  color: var(--orange-hover);
  flex: 0 0 auto;
}

/* --- Демка: двойной безель + окно macOS --- */
.hero-visual {
  position: relative;
}

.bezel {
  padding: 10px;
  border: 1px solid rgba(234, 219, 210, 0.7);
  border-radius: 30px;
  background: rgba(248, 235, 230, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.demo-notebook {
  overflow: hidden;
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: 44px minmax(190px, 1fr) auto;
}

.demo-window-bar {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border-soft);
}

.demo-window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.demo-window-bar span:nth-child(1) { background: #ff5f57; }
.demo-window-bar span:nth-child(2) { background: #febc2e; }
.demo-window-bar span:nth-child(3) { background: #28c840; }

.demo-window-bar strong {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #9aa1ad;
  font-size: 13px;
  font-weight: 600;
}

.demo-text-area {
  padding: 24px 26px;
}

.demo-text {
  min-height: 150px;
  color: var(--text);
  font-size: 17px;
  line-height: 28px;
}

.demo-caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 2px;
  background: var(--orange);
  animation: caret-blink 1.1s steps(1) infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.demo-dictation-bar {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 13px;
  margin: 0 16px 16px;
  padding: 0 14px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(42, 29, 24, 0.06);
}

.demo-mic-button {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a45, var(--orange));
  color: #fff;
  box-shadow: 0 14px 28px rgba(242, 90, 44, 0.22);
}

.demo-mic-button::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(242, 90, 44, 0.35);
  animation: mic-pulse 2s var(--ease-fluid) infinite;
}

@keyframes mic-pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.32); opacity: 0; }
  100% { transform: scale(1.32); opacity: 0; }
}

.demo-waves {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}

.demo-waves i {
  width: 3px;
  border-radius: 3px;
  background: var(--orange);
  animation: wave-bounce 1.05s ease-in-out infinite;
}

.demo-waves i:nth-child(1) { height: 30%; animation-delay: 0ms; }
.demo-waves i:nth-child(2) { height: 65%; animation-delay: 120ms; }
.demo-waves i:nth-child(3) { height: 95%; animation-delay: 240ms; }
.demo-waves i:nth-child(4) { height: 55%; animation-delay: 360ms; }
.demo-waves i:nth-child(5) { height: 85%; animation-delay: 480ms; }
.demo-waves i:nth-child(6) { height: 45%; animation-delay: 600ms; }
.demo-waves i:nth-child(7) { height: 25%; animation-delay: 720ms; }

@keyframes wave-bounce {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.demo-dictation-bar strong {
  font-size: 15px;
  font-weight: 700;
}

.demo-esc {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #f8f6f5;
  color: #8d94a0;
  font-size: 13px;
  font-weight: 700;
}

/* --- Плавающие карточки над демкой --- */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.hero-float-speed {
  top: -26px;
  right: -14px;
  transform: rotate(2deg);
  animation: float-drift 7s ease-in-out infinite;
}

.hero-float-speed strong {
  color: var(--orange);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
}

.hero-float-hotkey {
  bottom: -28px;
  left: -18px;
  transform: rotate(-2deg);
  animation: float-drift 8s ease-in-out infinite reverse;
}

@keyframes float-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* ============================================================
   Боли — редакционный split
   ============================================================ */
.pains {
  padding-block: 96px;
}

/* Тёмная карточка — единый визуальный язык с privacy-callout */
.pains-card {
  position: relative;
  overflow: hidden;
  padding: 60px 60px 64px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 6%, rgba(242, 90, 44, 0.24), transparent 44%),
    radial-gradient(circle at 6% 96%, rgba(212, 147, 38, 0.15), transparent 42%),
    var(--espresso);
  color: #fff8ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-soft);
}

.pains-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: center;
}

.pains-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: 0;
}

.pains-title em {
  font-style: italic;
}

.pains-lead {
  margin-top: 22px;
  max-width: 420px;
  color: rgba(255, 248, 236, 0.82);
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
}

.pains-thought {
  color: rgba(255, 248, 236, 0.76);
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}

.pains-thought em {
  color: #fff8ec;
  font-style: normal;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 138, 92, 0.85);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.pains-summary {
  margin-top: 32px;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--orange);
  max-width: 540px;
  color: rgba(255, 248, 236, 0.82);
  font-size: 16px;
  line-height: 26px;
}

.pains-summary strong {
  display: block;
  margin-top: 4px;
  color: #ff9d5c;
  font-size: 18px;
  font-weight: 800;
}

/* ============================================================
   Выгоды — карточки с визуальной «сценой»
   ============================================================ */
/* Заголовок секции: осознанный перенос в две строки + авторский штрих под «голос» */
/* ============================================================
   Что меняется — редизайн по референсу: чистые продуктовые карточки
   ============================================================ */
.benefits-title {
  max-width: 640px;
}

.accent-word {
  position: relative;
  white-space: nowrap;
}

/* Авторский рукописный штрих под словом «голос» */
.accent-underline {
  position: absolute;
  left: -1%;
  bottom: -0.44em;
  width: 106%;
  height: auto;
  color: var(--orange);
  overflow: visible;
}

.accent-underline .swash {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 780ms var(--ease-fluid);
}

.reveal.is-in .accent-underline .swash-1 {
  stroke-dashoffset: 0;
  transition-delay: 240ms;
}

.reveal.is-in .accent-underline .swash-2 {
  stroke-dashoffset: 0;
  transition-delay: 430ms;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 56px;
}

.benefit-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  background: var(--surface-lowest);
  box-shadow: 0 1px 2px rgba(42, 29, 24, 0.04), 0 18px 42px -24px rgba(42, 29, 24, 0.18);
  transition: transform 200ms var(--ease-fluid), box-shadow 200ms var(--ease-fluid);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 5px rgba(42, 29, 24, 0.05), 0 28px 52px -26px rgba(42, 29, 24, 0.24);
}

/* Заголовок + подзаголовок в шапке карточки */
.card-head {
  display: grid;
  gap: 6px;
}

.benefit-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.card-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
}

/* Нижняя информационная строка — общий продуктовый компонент */
.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  margin-top: auto;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--surface-container);
  color: var(--muted);
  font-size: 14px;
  line-height: 19px;
}

.info-box-strong {
  color: var(--text);
  font-weight: 700;
}

.info-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(42, 29, 24, 0.06);
  color: var(--muted-strong);
}

.info-ico-spark {
  background: rgba(242, 90, 44, 0.12);
  color: var(--orange);
}

.info-ico-shield,
.info-ico-globe {
  background: var(--orange);
  color: #fff;
}

/* ---------- Карточка скорости: слайдеры + вывод ×4 ---------- */
.card-speed {
  justify-content: space-between;
  gap: 26px;
}

.speed-race {
  display: grid;
  gap: 26px;
}

.race-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.race-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(42, 29, 24, 0.06);
  color: var(--muted-strong);
}

.race-row-voice .race-badge {
  background: rgba(242, 90, 44, 0.12);
  color: var(--orange);
}

.race-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.race-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.race-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.race-count {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.race-count b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.race-row-voice .race-count b {
  color: var(--orange);
}

.race-count small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.race-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(28, 18, 12, 0.1);
}

.race-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: calc(var(--fill, 0) * 100%);
  border-radius: 999px;
}

.race-fill-voice {
  --fill: var(--voice, 0.833);
  background: var(--orange);
}

.race-fill-kbd {
  --fill: var(--kbd, 0.222);
  background: var(--espresso);
}

.race-thumb {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(42, 29, 24, 0.28);
}

.race-thumb-voice {
  left: calc(var(--voice, 0.833) * 100%);
  background: var(--orange);
}

.race-thumb-kbd {
  left: calc(var(--kbd, 0.222) * 100%);
  background: var(--espresso);
}

.race-verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.race-verdict-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.race-dial {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.race-dial svg {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  transform: rotate(-90deg);
}

.dial-track {
  stroke: rgba(242, 90, 44, 0.15);
  stroke-width: 3;
}

.dial-arc {
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 128.8;
  stroke-dashoffset: 128.8;
  transition: stroke-dashoffset 1000ms var(--ease-fluid) 250ms;
}

.benefit-card.is-in .dial-arc {
  stroke-dashoffset: 32.2;
}

.race-dial b {
  position: relative;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.race-verdict-lead {
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.race-verdict-note {
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface-container);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 19px;
}

/* ---------- Карточка «Работает везде»: иконки приложений ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 2px 0;
  list-style: none;
}

.app-tile {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-lowest);
  border: 1px solid var(--border-soft);
  box-shadow: 0 5px 14px -6px rgba(42, 29, 24, 0.22);
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: opacity 450ms var(--ease-fluid), transform 450ms var(--ease-fluid), box-shadow 200ms var(--ease-fluid);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.app-tile img {
  width: 64%;
  height: 64%;
  object-fit: contain;
}

.benefit-card.is-in .app-tile {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.benefit-card.is-in .app-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 24px -8px rgba(42, 29, 24, 0.3);
}

/* ---------- Карточка «Чистый текст» ---------- */
.clean-flow {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.clean-before {
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 14px;
  border-bottom-left-radius: 5px;
  background: rgba(42, 29, 24, 0.05);
  color: var(--muted);
  font-size: 14px;
  line-height: 19px;
  text-decoration: line-through;
  text-decoration-color: rgba(111, 98, 91, 0.5);
}

.clean-arrow {
  margin-left: 18px;
  color: var(--orange);
}

.clean-after {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 14px;
  border-top-left-radius: 5px;
  background: #e9f6ee;
  color: #1f7a44;
  font-size: 14px;
  line-height: 19px;
  font-weight: 700;
}

.clean-ok {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #2f9e5b;
  color: #fff;
}

/* ---------- Карточка перевода: пара языков + результат ---------- */
.lang-swap {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.lang-pair {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.lang-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.lang-chip-target {
  background: var(--orange);
  color: #fff;
}

.lang-arrow {
  display: grid;
  place-items: center;
  color: var(--orange);
}

.lang-source {
  margin: 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.lang-target {
  margin: 0;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--peach-border);
  border-radius: 14px;
  border-top-left-radius: 5px;
  background: var(--peach);
  color: var(--text);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

/* ============================================================
   Для кого — сцена вайбкодинга + редакционный список ролей
   ============================================================ */
.audience-hero {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 44px;
  align-items: center;
  margin-top: 52px;
  padding: 36px 22px 36px 42px;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-panel);
}

.audience-copy h3 {
  font-size: 23px;
  line-height: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.audience-copy > p {
  margin-top: 12px;
  max-width: 470px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 25px;
}

.audience-tools-label {
  margin-top: 24px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.audience-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.audience-tools li {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(42, 29, 24, 0.06);
}

.audience-tools li i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

/* — терминал с диктовкой промпта — */
.audience-bezel {
  border-radius: 26px;
}

.audience-terminal {
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(242, 90, 44, 0.18), transparent 46%),
    var(--espresso);
  box-shadow: var(--shadow-soft);
}

.terminal-bar {
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 248, 236, 0.09);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }

.terminal-bar strong {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 248, 236, 0.45);
  font-size: 12px;
  font-weight: 600;
}

.terminal-body {
  padding: 20px 22px 22px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.terminal-cmd {
  color: rgba(255, 248, 236, 0.5);
  font-size: 13px;
}

.terminal-cmd em {
  color: #ff8a58;
  font-style: normal;
  font-weight: 700;
}

.terminal-prompt {
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 248, 236, 0.16);
  border-radius: 11px;
  color: #fff8ec;
  font-size: 13.5px;
  line-height: 22px;
}

.terminal-prompt::before {
  content: "› ";
  color: #ff8a58;
  font-weight: 700;
}

.terminal-caret {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 6px;
  vertical-align: -2px;
  border-radius: 2px;
  background: #ff8a58;
  animation: caret-blink 1.1s steps(1) infinite;
}

.terminal-dictation {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 16px;
  padding: 7px 14px 7px 8px;
  border-radius: 12px;
  background: rgba(255, 248, 236, 0.09);
}

.terminal-dictation .hotkey-inline {
  min-width: 32px;
  height: 32px;
  border-radius: 7px;
  font-size: 13px;
}

.terminal-dictation em {
  color: rgba(255, 248, 236, 0.75);
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

/* — роли: редакционный список с оранжевыми ярлыками — */
.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  margin-top: 46px;
}

.audience-list li {
  padding-block: 26px;
  border-top: 1px solid var(--border-soft);
}

.audience-list li:nth-child(-n + 2) {
  padding-top: 0;
  border-top: 0;
}

.audience-list h3 {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: -0.01em;
}

.audience-list p {
  margin-top: 10px;
  max-width: 470px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 25px;
  font-weight: 600;
}

.audience-note {
  margin-top: 8px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--orange);
  max-width: 560px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 26px;
}

.audience-note strong {
  color: var(--orange-hover);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .audience-hero {
    gap: 32px;
    padding: 30px 18px 30px 32px;
  }
}

@media (max-width: 960px) {
  .audience-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px;
  }

  .audience-bezel {
    max-width: 560px;
    width: 100%;
  }

  .audience-list {
    gap: 0 44px;
  }
}

@media (max-width: 720px) {
  .audience-hero {
    margin-top: 40px;
    padding: 24px 20px;
  }

  .audience-list {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .audience-list li {
    padding-block: 20px;
  }

  .audience-list li:nth-child(2) {
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
  }

  .terminal-prompt {
    font-size: 12.5px;
    line-height: 20px;
  }

  .audience-note {
    margin-top: 4px;
  }
}

/* ============================================================
   Как работает — шаги + сторяборд
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.try-steps {
  display: grid;
  gap: 30px;
}

.try-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  align-items: start;
}

.try-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
}

.try-steps h3 {
  font-size: 19px;
  line-height: 26px;
  font-weight: 800;
}

.try-steps p {
  margin-top: 5px;
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 23px;
}

.hotkey-mini {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  padding: 1px 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f46f45 0%, #ec4f22 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

/* сторяборд: три кадра, соединённые линией */
.how-storyboard {
  display: grid;
  gap: 18px;
  padding: 34px 30px;
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-panel);
}

.story-frame:nth-child(1) {
  margin-right: 72px;
}

.story-frame:nth-child(2) {
  margin-left: 36px;
  margin-right: 36px;
}

.story-frame:nth-child(3) {
  margin-left: 72px;
}

.story-field {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  line-height: 22px;
}

.story-cursor {
  width: 2px;
  height: 20px;
  border-radius: 2px;
  background: var(--orange);
  animation: caret-blink 1.1s steps(1) infinite;
}

.story-field-done {
  border-color: #cfe8d5;
  background: #f4fbf5;
}

.story-field-done svg {
  color: #2f6f43;
  flex: 0 0 auto;
}

.story-record {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  border: 1px solid var(--peach-border);
  border-radius: 14px;
  background: var(--peach);
}

.story-record em {
  color: var(--orange-hover);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.story-record .hotkey-inline {
  height: 36px;
  min-width: 36px;
  font-size: 14px;
}

.story-waves {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}

.story-waves i {
  width: 3px;
  border-radius: 3px;
  background: var(--orange);
  animation: wave-bounce 1.05s ease-in-out infinite;
}

.story-waves i:nth-child(1) { height: 35%; animation-delay: 0ms; }
.story-waves i:nth-child(2) { height: 75%; animation-delay: 140ms; }
.story-waves i:nth-child(3) { height: 100%; animation-delay: 280ms; }
.story-waves i:nth-child(4) { height: 60%; animation-delay: 420ms; }
.story-waves i:nth-child(5) { height: 30%; animation-delay: 560ms; }

/* ============================================================
   Зиг-заг возможностей
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
  margin-top: 120px;
}

.feature-row-reversed .feature-copy {
  order: 2;
}

.feature-row-reversed .feature-visual {
  order: 1;
}

.feature-title {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feature-text {
  margin-top: 14px;
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
}

.feature-visual {
  border-radius: 28px;
}

.mock-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.mock-saving {
  display: grid;
  gap: 4px;
  padding: 26px 28px;
  background: var(--espresso);
  color: #fff;
}

.mock-saving strong {
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
}

.mock-saving span {
  color: #d49326;
  font-size: 14px;
  font-weight: 600;
}

.mock-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px 28px;
  border-top: 1px solid rgba(242, 230, 224, 0.9);
}

.mock-row time {
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}

.mock-row p {
  color: var(--text);
  font-size: 14px;
  line-height: 21px;
}

/* мок голосового перевода */
.mock-translate-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  background: var(--espresso);
  color: #fff;
}

.mock-translate-pair {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}

.mock-translate-pair svg {
  color: #d49326;
}

.mock-translate-source {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px 0;
}

.mock-translate-source .story-waves {
  flex: 0 0 auto;
}

.mock-translate-source p {
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
}

.mock-translate-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 26px 0;
  padding: 13px 18px;
  border: 1px solid #cfe8d5;
  border-radius: 14px;
  background: #f4fbf5;
  color: var(--text);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.mock-translate-result svg {
  flex: 0 0 auto;
  color: #2f6f43;
}

.mock-translate-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 26px 22px;
}

.mock-translate-langs span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   Тёмный callout о приватности (мотив dictionary-callout)
   ============================================================ */
.privacy-callout {
  position: relative;
  overflow: hidden;
  margin-top: 120px;
  padding: 64px 60px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 90, 44, 0.22), transparent 42%),
    radial-gradient(circle at 10% 95%, rgba(212, 147, 38, 0.14), transparent 40%),
    var(--espresso);
  color: #fff8ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-soft);
}

.privacy-callout > div {
  position: relative;
  max-width: 760px;
}

.privacy-callout h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: 0;
}

.privacy-callout h3 em {
  font-style: italic;
}

.privacy-callout p {
  margin-top: 22px;
  max-width: 640px;
  color: rgba(255, 248, 236, 0.9);
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
}

.privacy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.privacy-chips span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff8ec;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ============================================================
   Полоса «настройка за 2 минуты»
   ============================================================ */
.setup-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 14px 24px;
  margin-top: 84px;
}

.setup-title {
  font-size: 17px;
}

.setup-title {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.setup-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-steps li {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.setup-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -26px;
  color: var(--orange);
  font-weight: 800;
}

/* ============================================================
   Тарифы — PRO приподнят и выделен
   ============================================================ */
.pricing-head {
  text-align: center;
  display: grid;
  justify-items: center;
}

.billing-toggle {
  display: flex;
  width: fit-content;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid #ead8ce;
  background: #fff;
  margin: 32px auto 28px;
}

.billing-toggle__btn {
  border: 0;
  background: none;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.billing-toggle__btn.is-active {
  background: #231f1d;
  color: #fff;
}

.billing-toggle__save {
  color: #2e9e5b;
  font-size: 12px;
}

.billing-toggle__btn.is-active .billing-toggle__save {
  color: #9be5b6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 1040px;
  margin-inline: auto;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: transparent;
}

.plan-card-featured {
  position: relative;
  border-color: var(--peach-border);
  background: #fffdfb;
  box-shadow: 0 24px 64px rgba(242, 90, 44, 0.14);
  margin-block: -14px;
  padding-block: 40px 42px;
}

.plan-card-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.65), rgba(242, 90, 44, 0.2) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-head h3 {
  font-size: 21px;
  font-weight: 800;
}

.plan-chip {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 11px;
  line-height: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-chip-pro {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.plan-price {
  margin-top: 22px;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.plan-price span span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.plan-price-custom {
  font-size: 28px;
}

.plan-period {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.plan-features {
  display: grid;
  align-content: start;
  gap: 11px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  flex: 1 1 auto;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  color: var(--muted-strong);
  font-size: 14.5px;
  line-height: 21px;
  font-weight: 600;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--peach) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="9" height="9" viewBox="0 0 14 14" fill="none"><path d="m2.5 7.5 3 3 6-7" stroke="%23d94b24" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 9px no-repeat;
}

.plan-button {
  margin-top: 28px;
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
}

.pricing-note {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 16.5px;
  line-height: 24px;
  font-weight: 700;
  transition: color 180ms ease;
}

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

.faq-list summary:hover {
  color: var(--orange-hover);
}

.faq-list summary i {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--orange-hover);
  translate: -50% -50%;
  transition: rotate 320ms var(--ease-fluid);
}

.faq-list summary i::after {
  rotate: 90deg;
}

.faq-list details[open] summary i::after {
  rotate: 0deg;
}

.faq-list details p {
  padding: 0 54px 22px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

/* ============================================================
   Финальный CTA — эспрессо
   ============================================================ */
.final-cta {
  padding-block: 40px 120px;
}

.final-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 58px 60px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 90, 44, 0.3), transparent 46%),
    radial-gradient(circle at 0% 100%, rgba(212, 147, 38, 0.16), transparent 40%),
    var(--espresso);
  color: #fff8ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-soft);
}

.final-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.final-copy p {
  margin-top: 12px;
  color: rgba(255, 248, 236, 0.85);
  font-size: 17px;
  line-height: 26px;
}

.final-actions {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.final-note {
  color: rgba(255, 248, 236, 0.6);
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   Футер
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.5);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
  padding-block: 34px;
}

.footer-brand {
  font-size: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a,
.footer-legal a,
.footer-legal span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--orange-hover);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-footnote {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12.5px;
  margin: 0;
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid {
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(34px, 4.4vw, 48px);
  }

  .how-grid,
  .feature-row {
    gap: 44px;
  }
}

@media (max-width: 960px) {
  section {
    padding-block: 80px;
  }

  .hero {
    padding-block: 148px 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

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

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

  .hero-float-speed {
    top: -22px;
    right: 6px;
  }

  .hero-float-hotkey {
    bottom: -24px;
    left: 6px;
  }

  .pains-grid,
  .how-grid,
  .feature-row,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .pains-card {
    padding: 44px 40px 48px;
  }

  .pains-grid {
    gap: 32px;
  }

  .feature-row {
    margin-top: 96px;
  }

  .feature-row-reversed .feature-copy {
    order: 1;
  }

  .feature-row-reversed .feature-visual {
    order: 2;
  }

  /* Планшет: две колонки при уменьшенных отступах */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .benefit-card {
    padding: 24px;
    gap: 20px;
  }

  /* вывод ×4 в узкой колонке — вертикально */
  .race-verdict {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .benefits-title {
    max-width: 440px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .privacy-callout {
    margin-top: 96px;
    padding: 48px 36px;
  }

  .final-card {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 44px 36px;
  }

  .final-actions {
    justify-items: start;
  }
}

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

  .header-pill {
    gap: 18px;
  }

  .container {
    padding-inline: 20px;
  }

  .hero {
    padding-block: 128px 64px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-note br {
    display: none;
  }

  .hero-trust {
    gap: 10px 18px;
  }

  .hero-float {
    padding: 10px 14px;
    font-size: 12px;
    line-height: 16px;
  }

  .hero-float-speed strong {
    font-size: 24px;
  }

  .demo-text {
    min-height: 130px;
    font-size: 15px;
    line-height: 24px;
  }

  .demo-esc {
    display: none;
  }

  /* Мобильная: одна колонка, порядок скорость → везде → чистота → перевод */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    padding: 22px;
    gap: 20px;
  }

  .benefits-title {
    max-width: none;
  }

  .race-verdict {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .app-grid {
    gap: 11px;
  }

  .mock-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mock-translate-head,
  .mock-translate-langs {
    padding-inline: 20px;
  }

  .mock-translate-source {
    padding-inline: 20px;
  }

  .mock-translate-result {
    margin-inline: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .privacy-callout {
    padding: 40px 26px;
  }

  .setup-strip {
    justify-content: flex-start;
  }

  .setup-steps {
    gap: 30px 34px;
  }

  .faq-list summary {
    font-size: 15.5px;
    padding: 16px 18px;
  }

  .faq-list details p {
    padding: 0 22px 20px 18px;
  }

  .final-copy h2 {
    font-size: 27px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .header-cta {
    font-size: 13px;
    padding: 0 13px;
    min-height: 38px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-title {
    font-size: 31px;
  }

  .hero-button {
    width: 100%;
  }

  .plan-card {
    padding: 26px 22px 28px;
  }
}

/* ---------- Поправки адаптива после ревизии дизайна ---------- */
@media (max-width: 960px) {
  .plan-card-featured {
    margin-block: 0;
    padding-block: 34px 36px;
  }

  .pains-grid {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .pains-card {
    padding: 34px 24px 38px;
  }

  .pains-thought {
    font-size: 20px;
  }

  .story-frame:nth-child(1) {
    margin-right: 28px;
  }

  .story-frame:nth-child(2) {
    margin-left: 14px;
    margin-right: 14px;
  }

  .story-frame:nth-child(3) {
    margin-left: 28px;
  }

  .setup-steps {
    gap: 12px 30px;
  }
}

/* ---------- Auth modal (Task 14) ---------- */
.auth-modal[hidden] { display: none; }
.auth-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.auth-modal__backdrop { position: absolute; inset: 0; background: rgba(35,31,29,.45); }
.auth-modal__card { position: relative; width: min(420px, 92vw); background: #fff; border-radius: 24px; padding: 40px 32px; text-align: center; box-shadow: 0 28px 80px rgba(77,51,38,.2); }
.auth-modal__close { position: absolute; top: 16px; right: 16px; border: 0; background: none; font-size: 24px; cursor: pointer; }
.auth-modal h2 { margin: 16px 0 4px; }
.auth-modal__sub { color: #6f625b; margin: 0 0 24px; }
.auth-provider { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; margin-top: 12px; border-radius: 14px; border: 1px solid #ead8ce; background: #fff; font-weight: 700; cursor: pointer; }
.auth-provider--yandex { background: #231f1d; color: #fff; border-color: #231f1d; }
.auth-modal input { width: 100%; min-height: 52px; margin-top: 12px; border-radius: 14px; border: 1px solid #ead8ce; padding: 0 16px; font-size: 16px; box-sizing: border-box; }
.auth-modal__error { color: #c0392b; margin-top: 10px; }

/* ---------- Юридические страницы (/privacy) ---------- */
.legal {
  max-width: 820px;
  padding-block: 140px 90px;
}

.legal h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.legal h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}

.legal p {
  color: var(--muted-strong);
  line-height: var(--leading-body);
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--muted-strong);
  line-height: var(--leading-body);
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(172, 45, 0, 0.3);
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.legal a:hover {
  color: var(--orange-hover);
}

.legal-table {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-lowest);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  margin: 0 0 18px;
}

.legal-row {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.legal-row + .legal-row {
  border-top: 1px solid var(--border-soft);
}

.legal-key {
  padding: 14px 18px;
  background: var(--bg-soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted-strong);
  border-right: 1px solid var(--border-soft);
}

.legal-val {
  padding: 14px 18px;
  font-size: 14.5px;
  line-height: var(--leading-body);
  color: var(--text);
}

@media (max-width: 640px) {
  .legal {
    padding-block: 120px 64px;
  }

  .legal-row {
    grid-template-columns: 1fr;
  }

  .legal-key {
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 10px;
  }
}

/* ============================================================
   Плашка согласия на cookie (152-ФЗ)
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: 440px;
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 251, 248, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-float);
  animation: cookie-in 500ms var(--ease-fluid) both;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

.cookie-banner__text {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 20px;
}

.cookie-banner__text a {
  color: var(--orange-hover);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__accept {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  background: var(--espresso);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.cookie-banner__decline {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* ---------- Согласия в окне входа ---------- */
.auth-consent {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  text-align: left;
}

.auth-consent[hidden] {
  display: none;
}

.auth-switch {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

/* сам чекбокс скрыт визуально, но остаётся доступным с клавиатуры */
.auth-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}

.auth-switch__track {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 28px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--surface-highest);
  box-shadow: inset 0 0 0 1px rgba(42, 29, 24, 0.08);
  transition: background 220ms var(--ease-fluid);
}

.auth-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(42, 29, 24, 0.22);
  transition: transform 220ms var(--ease-fluid);
}

.auth-switch input:checked + .auth-switch__track {
  background: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(242, 90, 44, 0.9);
}

.auth-switch input:checked + .auth-switch__track .auth-switch__thumb {
  transform: translateX(18px);
}

.auth-switch input:focus-visible + .auth-switch__track {
  box-shadow: var(--focus);
}

.auth-switch__text {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.auth-switch__title {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.auth-legal {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.auth-legal a {
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-legal a:hover {
  color: var(--orange-hover);
}

@media (prefers-reduced-motion: reduce) {
  .auth-switch__track,
  .auth-switch__thumb {
    transition: none;
  }
}

.legal-meta {
  margin: -18px 0 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* download.html: ссылка на версию для другой платформы */
.download-alt {
  margin-top: 14px;
  font-size: 14px;
}

.download-alt a {
  color: inherit;
  opacity: 0.72;
}

.download-alt a:hover {
  opacity: 1;
}
