/* Главная KinVoice. Самостоятельный файл: другие страницы сайта на styles.css не меняются. */
:root {
  --bg: #f5f1e8;
  --paper: #fbf9f4;
  --sand: #e7ded0;
  --ink: #20251f;
  --muted: #5d6259;
  --line: rgba(32, 37, 31, 0.12);
  --accent: #ad5230;
  --accent-soft: #f1dfd3;
  --coral: #d97855;
  --sage: #a7ad91;
  --sun: #e7ded0;
  --mint: #a7ad91;
  --night: #20251f;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --max: 1120px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-wrap: pretty;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

/* Типографика по стилям скилла: Heading 1..3, Title, Body, Caption. */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.015em; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; color: var(--muted); }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--muted); }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--muted); }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }

@media (max-width: 900px) {
  .heading-1 { font-size: 40px; line-height: 44px; }
  .heading-2 { font-size: 36px; line-height: 40px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff;
  padding: 8px 12px; border-radius: 8px; z-index: 50;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.btn:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(173, 82, 48, 0.7); }
.btn:active { transform: scale(0.98); }
.btn.button-sm { padding: 8px 16px; }
.btn.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.btn-line:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 4px;
  text-decoration: none; color: var(--ink); font-weight: 600;
}
.btn-ghost span { transition: transform 400ms var(--ease); }
.btn-ghost:hover span { transform: translateX(4px); }

/* Шапка */
.nav-bar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(var(--max), calc(100% - 32px));
  display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 20px;
  border-radius: 999px; background: rgba(245, 241, 232, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
  z-index: 40;
  transition: box-shadow 400ms var(--ease), background-color 400ms var(--ease);
}
.nav-bar.is-scrolled { background: rgba(245, 241, 232, 0.92); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(32, 37, 31, 0.35); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: 16px; }
.brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); font-weight: 500; transition: color 300ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-login { font-size: 14px; text-decoration: none; color: var(--muted); font-weight: 500; }
.menu-toggle {
  display: none; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--ink);
  cursor: pointer; position: relative; margin-left: auto;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; content: "";
  transition: transform 400ms var(--ease), opacity 300ms var(--ease);
}
.menu-toggle span { top: 19px; }
.menu-toggle span::before { top: -6px; left: 0; right: 0; }
.menu-toggle span::after { top: 6px; left: 0; right: 0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.menu-panel {
  position: fixed; inset: 0; z-index: 35; background: rgba(245, 241, 232, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 120px 28px;
  opacity: 0; pointer-events: none; transition: opacity 400ms var(--ease);
}
.menu-panel.is-open { opacity: 1; pointer-events: auto; }
.menu-panel a {
  font-size: 32px; font-weight: 600; text-decoration: none; padding: 8px 0;
  transform: translateY(24px); opacity: 0; transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}
.menu-panel.is-open a { transform: none; opacity: 1; }
.menu-panel.is-open a:nth-child(2) { transition-delay: 60ms; }
.menu-panel.is-open a:nth-child(3) { transition-delay: 120ms; }
.menu-panel.is-open a:nth-child(4) { transition-delay: 180ms; }

@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .menu-toggle { display: block; }
  .nav-end .btn { display: none; }
}

/* Фон: канвас с медленными пятнами, запускается в hero и финальном блоке. */
.aura { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; padding: 140px 0 80px; overflow: hidden; isolation: isolate;
  display: grid; align-items: center;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--muted);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(167, 173, 145, 0.6); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(167, 173, 145, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(167, 173, 145, 0); } }
.hero h1 { margin-top: 20px; max-width: 680px; }
.hero .lead { margin-top: 20px; max-width: 540px; font-size: 18px; line-height: 28px; color: var(--muted); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero .caption-2 { margin-top: 16px; }

.hero-enter { opacity: 0; transform: translateY(24px); animation: enter 900ms var(--ease) forwards; }
.hero-enter.d1 { animation-delay: 80ms; }
.hero-enter.d2 { animation-delay: 180ms; }
.hero-enter.d3 { animation-delay: 280ms; }
.hero-enter.d4 { animation-delay: 380ms; }
.hero-visual { animation-delay: 300ms; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* Интерактивный разбор фразы */
.play {
  position: relative; background: var(--paper); border-radius: 24px; padding: 20px;
  box-shadow: 0 1px 0 rgba(32, 37, 31, 0.04), 0 30px 60px -30px rgba(32, 37, 31, 0.35);
}
.play-head { display: flex; align-items: center; gap: 12px; }
.mic {
  position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center; flex: 0 0 auto;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease);
}
.mic:hover { background: var(--accent); }
.mic:active { transform: scale(0.96); }
.mic::before, .mic::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--coral); opacity: 0;
}
.mic.is-live::before { animation: ring 1.6s var(--ease) infinite; }
.mic.is-live::after { animation: ring 1.6s var(--ease) 0.8s infinite; }
@keyframes ring { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.play-title { font-weight: 600; font-size: 16px; line-height: 24px; }
.play-sub { font-size: 13px; line-height: 18px; color: var(--muted); }

.phrase {
  margin-top: 16px; display: flex; gap: 8px; align-items: center;
  background: var(--bg); border-radius: 14px; padding: 6px 6px 6px 14px; box-shadow: inset 0 0 0 1px var(--line);
}
.phrase:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.phrase input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 8px 0; outline: none;
}
.phrase button {
  border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: inherit; font-size: 14px; font-weight: 600;
  padding: 10px 14px; cursor: pointer; transition: background-color 300ms var(--ease), transform 300ms var(--ease);
}
.phrase button:hover { background: var(--accent); }
.phrase button:active { transform: scale(0.97); }

.samples { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.samples button {
  border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer;
  padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  transition: color 300ms var(--ease), box-shadow 300ms var(--ease), background-color 300ms var(--ease);
}
.samples button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.samples button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: none; }

.sorted { margin-top: 16px; display: grid; gap: 10px; }
.lane {
  display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: start;
  padding: 12px; border-radius: 14px; background: var(--bg); min-height: 56px;
}
.lane-name { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); padding-top: 4px; text-transform: none; }
.lane ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lane li {
  font-size: 14px; line-height: 20px; font-weight: 500; padding: 6px 10px; border-radius: 10px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  animation: drop 520ms var(--ease) both;
}
.lane li b { color: var(--accent); font-weight: 600; margin-right: 6px; }
.lane li.is-empty { color: var(--muted); background: transparent; box-shadow: none; animation: none; padding-left: 0; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(0.96); } to { opacity: 1; transform: none; } }
.play-note { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--muted); }

.hero-visual { position: relative; }
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 260px; border-radius: 34px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -36px rgba(32, 37, 31, 0.5); overflow: hidden;
  transition: transform 800ms var(--ease);
}
.phone img { width: 100%; height: auto; }
.phone.back { top: 20px; right: 0; transform: rotate(6deg); opacity: 0.9; width: 230px; }
.phone.front { top: 0; left: 10px; z-index: 1; }

/* Лента слов и разделы */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 680px; }
.section-head .body-3 { margin-top: 16px; font-size: 18px; line-height: 28px; }
.eyebrow-plain { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }

/* Тизер-секция: слова зажигаются по скроллу */
.tagline { padding: 140px 0; }
.tagline .wrap { max-width: 980px; }
.tagline p { font-size: 56px; line-height: 64px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.tagline .word { color: rgba(32, 37, 31, 0.22); transition: color 700ms var(--ease); }
.tagline .word.is-on { color: var(--ink); }
.tagline p + p { margin-top: 8px; }
@media (max-width: 900px) { .tagline p { font-size: 36px; line-height: 42px; } }

/* Bento */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; background: var(--paper); border-radius: 24px; padding: 28px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 600ms var(--ease), box-shadow 600ms var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -36px rgba(32, 37, 31, 0.35); }
.card h3 { margin-top: 0; }
.card .body-6 { margin-top: 8px; }
.card.wide { grid-column: span 4; }
.card.half { grid-column: span 2; }
.card.third { grid-column: span 2; }
.card-visual { margin-top: 24px; min-height: 180px; position: relative; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .card.wide, .card.half, .card.third { grid-column: auto; }
}

/* Карточка «календарь» */
.cal { display: grid; gap: 8px; }
.cal-row { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; opacity: 0; transform: translateX(-12px); }
.cal-row time { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal-row .bar { height: 40px; border-radius: 12px; display: flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 500; }
.cal-row:nth-child(1) .bar { background: #e9f8f1; color: #1d6b4c; }
.cal-row:nth-child(2) .bar { background: var(--accent-soft); color: #3730a3; }
.cal-row:nth-child(3) .bar { background: #fde9e4; color: #9a3a25; }
.card.is-in .cal-row { animation: slide 700ms var(--ease) forwards; }
.card.is-in .cal-row:nth-child(2) { animation-delay: 160ms; }
.card.is-in .cal-row:nth-child(3) { animation-delay: 320ms; }
@keyframes slide { to { opacity: 1; transform: none; } }

/* Карточка «покупки» */
.shop { display: grid; gap: 10px; }
.shop label {
  display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; cursor: pointer;
  padding: 10px 12px; border-radius: 12px; background: var(--bg); user-select: none;
  transition: background-color 300ms var(--ease);
}
.shop input { appearance: none; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px #b9bbc8; margin: 0; cursor: pointer; display: grid; place-items: center; transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.shop input::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 400ms var(--ease); }
.shop input:checked { background: var(--mint); box-shadow: none; }
.shop input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.shop label.done span { text-decoration: line-through; color: var(--muted); }
.shop .new { animation: drop 520ms var(--ease) both; }

/* Карточка «старт» */
.trial { display: flex; align-items: center; gap: 24px; }
.ring { width: 120px; height: 120px; flex: 0 0 auto; }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--bg); }
.ring .fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1400ms var(--ease); }
.card.is-in .ring .fill { stroke-dashoffset: 65; }
.ring-num { font-size: 32px; line-height: 36px; font-weight: 600; font-variant-numeric: tabular-nums; }
.trial-text .body-6 { margin-top: 6px; }

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

.voice-row { display: grid; gap: 12px; }
.voice-quote {
  font-size: 18px; line-height: 28px; font-weight: 500; padding: 16px 18px; border-radius: 16px; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.voice-result { font-size: 14px; line-height: 20px; color: var(--muted); padding-left: 18px; position: relative; }
.voice-result::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 3px; background: var(--accent); }

/* Экраны, горизонтальная лента с наклоном за курсором */
.screens { margin-top: 56px; display: flex; gap: 24px; overflow-x: auto; padding: 24px 4px 56px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screen {
  flex: 0 0 260px; scroll-snap-align: center; border-radius: 32px; overflow: hidden; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(32, 37, 31, 0.45);
  transition: transform 500ms var(--ease);
  transform-style: preserve-3d;
}
.screen img { width: 100%; height: auto; }
.screen figcaption { padding: 14px 16px 16px; font-size: 14px; line-height: 20px; color: var(--muted); font-weight: 500; }

/* Как это работает */
.how { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; margin-top: 56px; align-items: start; }
.how-sticky { position: sticky; top: 120px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px; background: var(--paper); border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0.35; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.steps li.is-on { opacity: 1; transform: none; }
.step-num {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 20px; font-weight: 600;
}
.steps li:nth-child(2) .step-num { background: var(--coral); }
.steps li:nth-child(3) .step-num { background: var(--mint); }
.steps h3 { margin-top: 0; }
.steps .body-6 { margin-top: 6px; font-size: 15px; line-height: 24px; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; gap: 32px; }
  .how-sticky { position: static; }
}

/* Таблица лимитов */
.limits { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 40px; background: var(--paper); border-radius: 24px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.limits th, .limits td { text-align: left; padding: 16px 24px; font-size: 15px; line-height: 24px; border-bottom: 1px solid var(--line); }
.limits th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg); }
.limits tr:last-child td { border-bottom: 0; }
.limits td:nth-child(3) { font-weight: 600; color: var(--accent); }
.limits tbody tr { transition: background-color 300ms var(--ease); }
.limits tbody tr:hover { background: var(--bg); }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--paper); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 24px; transition: box-shadow 400ms var(--ease); }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 500; transition: transform 400ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; }

/* Финальный блок с тем же фоном */
.final { position: relative; overflow: hidden; isolation: isolate; margin: 40px 16px 24px; border-radius: 36px; background: var(--night); color: #fff; padding: 120px 24px; text-align: center; }
.final .aura { opacity: 0.9; }
.final .wrap { position: relative; z-index: 1; max-width: 760px; }
.final h2 { font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; }
.final p { margin-top: 16px; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, 0.7); }
.final .btn { margin-top: 32px; background: #fff; color: var(--ink); }
.final .btn:hover { background: var(--sun); color: var(--ink); box-shadow: 0 16px 36px -14px rgba(245, 185, 66, 0.8); }
@media (max-width: 900px) { .final h2 { font-size: 38px; line-height: 42px; } }

/* Подвал */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.legal { margin-top: 24px; }

/* Появление при скролле: однократно, на базовой кривой */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Уважение к настройкам движения */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-enter, .steps li { opacity: 1; transform: none; }
  .tagline .word { color: var(--ink); }
  .aura { display: none; }
  .final { background: var(--night); }
}

/* Мобильный экран 390px: без горизонтального переполнения */
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 120px 0 56px; min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero .lead { font-size: 16px; line-height: 24px; }
  .phones { height: 480px; }
  .phone { width: 220px; }
  .phone.back { width: 200px; }
  .section { padding: 88px 0; }
  .tagline { padding: 96px 0; }
  .lane { grid-template-columns: 1fr; gap: 8px; }
  .card { padding: 22px; }
  .trial { flex-direction: column; align-items: flex-start; }
  .final { margin: 24px 8px; padding: 88px 20px; border-radius: 28px; }
  .limits th, .limits td { padding: 12px 14px; font-size: 14px; }
}

/* ===== Hero: Bold Premium (этап C) ===== */
.display { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; }
.hero { min-height: 100dvh; padding: 152px 0 96px; overflow: hidden; }
.hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 56px; }
.hero h1.display { font-size: 60px; line-height: 60px; max-width: 680px; color: var(--ink); text-wrap: balance; }
.hero .lead { margin-top: 24px; max-width: 480px; font-size: 18px; line-height: 28px; color: var(--muted); }
.hero-actions { margin-top: 40px; }
.hero .btn { background: var(--coral); color: var(--ink); padding: 14px 28px; }
.hero .btn:hover { background: var(--accent); color: #fff; box-shadow: 0 14px 28px -14px rgba(173, 82, 48, 0.6); }
.hero .btn-ghost { color: var(--ink); }

.hero-stage { position: relative; height: 600px; }
.stage-phone {
  position: absolute; margin: 0; overflow: hidden; border-radius: 36px; background: var(--paper);
  box-shadow: 0 1px 0 rgba(32, 37, 31, 0.04), 0 40px 80px -40px rgba(32, 37, 31, 0.45);
}
.stage-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.stage-main { top: 0; right: 40px; width: 300px; height: 600px; }
.stage-list { left: 0; bottom: 24px; width: 230px; height: 470px; border-radius: 32px; box-shadow: 0 1px 0 rgba(32, 37, 31, 0.04), 0 30px 60px -30px rgba(32, 37, 31, 0.5); }
.stage-chip {
  position: absolute; top: 40px; left: 24px; z-index: 2; margin: 0;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: var(--paper); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink);
  box-shadow: 0 20px 40px -24px rgba(32, 37, 31, 0.45);
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

.magic { padding: 96px 0 0; }
.magic-demo { max-width: 560px; margin: 0 auto; }

@media (max-width: 900px) {
  .hero h1.display { font-size: 44px; line-height: 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stage { height: 520px; }
}

@media (max-width: 560px) {
  .hero { padding: 120px 0 64px; min-height: auto; }
  .hero h1.display { font-size: 40px; line-height: 44px; }
  .hero .lead { font-size: 16px; line-height: 24px; }
  .hero-stage { height: 440px; }
  .stage-main { right: 16px; width: 220px; height: 440px; border-radius: 30px; }
  .stage-list { bottom: 12px; width: 170px; height: 350px; border-radius: 26px; }
  .stage-chip { top: 16px; left: 0; font-size: 13px; line-height: 18px; padding: 8px 12px; }
  .hero .btn { width: 100%; }
}
