/* ==========================================================================
   СВЕТЛАЯ ТЕМА по шаблону intelligent-operations (превью: туманный бледно-голубой фон,
   белые провода с золотыми светящимися концами, стеклянные карточки).

   Точные цвета фона — под них генерируется ролик media/hero.mp4, который заменит холст с нитями:
     фон героя, верх кадра .......... #bccbd9
     фон героя, низ кадра ........... #e3eaf1   (вертикальный линейный градиент на весь экран)
     фон страницы (body) ............ #e3eaf1   (= низ героя, переход без шва)
     почти белые разделы ............ #f3f6f9   (полосы с мягкими краями, через раздел)
   Ролик: фон кадра тот же градиент #bccbd9 → #e3eaf1, без виньетки и без тёмных углов,
   иначе на стыке с разделами будет видна граница.
   ========================================================================== */
:root {
  --hero-top: #bccbd9;
  --hero-bottom: #e3eaf1;
  --bg: #e3eaf1;
  --bg-2: #f3f6f9;
  --mist: #cdd8e3;
  /* текст: проверено ≥ 4.5:1 на самом тёмном фоне #bccbd9 и на стекле */
  --ink: #0f1a24;
  --ink-2: #2c3a47;
  --ink-3: #424f5c;
  --ink-4: #4b5966;
  /* стекло: белое полупрозрачное, blur, тонкая светлая рамка */
  --glass: rgba(255, 255, 255, 0.5);
  --glass-2: rgba(255, 255, 255, 0.64);
  --glass-3: rgba(255, 255, 255, 0.82);
  --glass-edge: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 18px 44px -26px rgba(30, 52, 78, 0.38);
  --line: rgba(15, 26, 36, 0.1);
  --line-2: rgba(15, 26, 36, 0.18);
  /* акценты: золото и оранжевое ядро для заливок; --gold-ink для текста (контраст AA) */
  --gold: #f0b25a;
  --core: #f08a32;
  --gold-deep: #b9771f;
  --gold-ink: #7f450c;
  --btn-ink: #0f1a24;
  --danger: #b42318;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --blur: 16px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --container: 1280px;
  --gutter: 48px;
  --section: 128px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 96px; --nav-h: 60px; }
}

/* ===== Основа ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: rgba(240, 178, 90, 0.38); color: var(--ink); }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }

/* ===== Фон: видео/холст под прокрутку ===== */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%) var(--bg); }
.scene video[hidden] { display: none; }
.scene canvas, .scene video, .scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene video, .scene img { opacity: 0; transition: opacity 0.5s ease; }
.scene.has-video video { opacity: 1; }
.scene.has-video canvas { opacity: 0; }
.scene canvas { transition: opacity 0.5s ease; }
.scene__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(227, 234, 241, 0.6), rgba(236, 241, 246, 0.9));
  opacity: var(--veil, 0); transition: opacity 0.2s linear; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page { position: relative; z-index: 2; }

/* ===== Материалы шаблона ===== */
.glass { background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.15); backdrop-filter: blur(var(--blur)) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), var(--glass-shadow); }
.shadow-text { text-shadow: 0 1px 16px rgba(255, 255, 255, 0.6); }
.badge { display: inline-flex; align-items: center; gap: var(--s2); border-left: 2px solid var(--ink);
  background: var(--glass-2); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
  padding: 6px 12px; font-size: 11px; line-height: 1.4; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.badge--gold { border-left-color: var(--core); }
.mono { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.2;
  transition: background-color 0.3s var(--ease), transform 0.2s var(--ease), border-color 0.3s; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--btn-ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(15, 26, 36, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn--primary:hover { background: #22313f; }
.btn--glass { background: var(--glass-2); border: 1px solid rgba(15, 26, 36, 0.14); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.btn--glass:hover { background: var(--glass-3); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.h2 { font-size: clamp(2.1rem, 5.2vw, 4.25rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.text { color: var(--ink-2); max-width: 60ch; }

/* Проявление снизу (шаблон: 700ms ease-out) */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: var(--d, 0ms); will-change: transform; }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Шапка ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  border-bottom: 1px solid rgba(15, 26, 36, 0.08); transition: background-color 0.3s; }
.nav.is-scrolled { background: rgba(236, 241, 246, 0.74); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.logo svg { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 36px; font-size: 14px; color: var(--ink-2); }
.nav__links a { transition: color 0.3s; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: var(--s3); }
.lang { display: inline-flex; border: 1px solid var(--line-2); background: var(--glass-2); border-radius: 999px; padding: 3px; font-size: 12px; letter-spacing: 0.08em; }
.lang a, .lang span { padding: 5px 10px; border-radius: 999px; min-width: 36px; text-align: center; }
.lang span { background: var(--btn-ink); color: #fff; }
.lang a { color: var(--ink-2); }
.lang a:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--glass); align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav.is-open .burger span { background: transparent; }
.nav.is-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.menu { display: none; }

@media (max-width: 899px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-flex; }
  .menu { display: flex; flex-direction: column; gap: var(--s2); position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
    padding: var(--s5) var(--gutter) var(--s6); background: rgba(240, 244, 248, 0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
  .nav.is-open + .menu { opacity: 1; transform: none; visibility: visible; }
  .menu a.menu__link { font-size: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: var(--s4); }
}

/* ===== 1. Герой ===== */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 40px) 0 var(--s7); }
.hero__top { display: flex; justify-content: space-between; gap: var(--s6); }
.services { display: grid; gap: var(--s2); }
.services li { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-2); }
.hero__intro { max-width: 22rem; text-align: right; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s7); margin-top: var(--s8); }
.hero__main { max-width: 760px; }
.hero h1 { font-size: clamp(2.25rem, 6.2vw, 4.75rem); font-weight: 400; line-height: 1.04; letter-spacing: -0.03em; margin: var(--s5) 0 var(--s5); }
.hero h1 .dim { color: var(--ink-3); }
.hero__sub { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.facts { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s5) 0; }
.facts li { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--glass-edge); background: var(--glass); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.facts li.is-gold { border-color: rgba(240, 138, 50, 0.55); background: rgba(255, 236, 210, 0.7); color: var(--gold-ink); }

.talk { display: flex; align-items: center; gap: var(--s4); border-radius: var(--r-md); padding: var(--s3); flex: none; }
.talk__body { display: grid; gap: 6px; padding-right: var(--s2); }
.talk__name { font-size: 15px; font-weight: 500; }
.talk__role { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.talk .btn { margin-top: 4px; }

.portrait { position: relative; width: 80px; height: 96px; border-radius: var(--r-sm); overflow: hidden; flex: none;
  display: grid; place-items: center; font-size: 22px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink); background: radial-gradient(80% 70% at 50% 35%, rgba(240, 138, 50, 0.5), rgba(240, 178, 90, 0.2) 55%, rgba(255, 255, 255, 0.7));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait--lg { width: 112px; height: 136px; font-size: 30px; border-radius: var(--r-md); }

@media (max-width: 767px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero__top { flex-direction: column; gap: var(--s4); }
  .hero__intro { text-align: left; max-width: none; color: var(--ink-2); }
  .hero__bottom { flex-direction: column; align-items: stretch; margin-top: var(--s7); gap: var(--s5); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .talk { padding: 10px; }
  .portrait { width: 64px; height: 76px; font-size: 18px; }
}

/* ===== Пробел с перепиской (80vh шаблона, растянут под сцену) ===== */
.demo { height: 240vh; position: relative; }
.demo__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.demo__grid { display: grid; grid-template-columns: 1fr 380px 1fr; align-items: center; gap: var(--s7); }
.demo__note { max-width: 18rem; }
.demo__note--r { justify-self: end; text-align: right; }
.phone { width: 100%; max-width: 380px; border-radius: 34px; padding: 14px; background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px 0 #fff, 0 34px 70px -34px rgba(30, 52, 78, 0.5), 0 40px 90px -30px rgba(240, 138, 50, calc(var(--glow, 0) * 0.6)); }
.phone__screen { border-radius: 24px; background: rgba(251, 252, 253, 0.84); box-shadow: inset 0 0 0 1px rgba(15, 26, 36, 0.06); padding: var(--s4); min-height: 470px; display: flex; flex-direction: column; }
.phone__head { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); margin-bottom: var(--s4); }
.phone__ava { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--gold), var(--core) 60%, #8a4317); flex: none; }
.phone__who { font-size: 14px; font-weight: 500; line-height: 1.3; }
.phone__who small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.chat { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45;
  opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.msg.is-on { opacity: 1; transform: none; }
.msg time { display: block; font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.msg--in { align-self: flex-start; background: #e9eef3; border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: linear-gradient(160deg, rgba(240, 178, 90, 0.95), rgba(240, 138, 50, 0.95)); color: #1c1006; border-bottom-right-radius: 6px; }
.msg--out time { color: rgba(28, 16, 6, 0.78); }
.msg__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--btn-ink); color: #fff; font-size: 13px; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: rgba(240, 178, 90, 0.3); opacity: 0; transition: opacity 0.3s; }
.typing.is-on { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.demo__cap { margin-top: var(--s3); font-size: 13px; color: var(--ink-2); text-align: center; }
@media (max-width: 899px) {
  .demo { height: 260vh; }
  .demo__grid { grid-template-columns: 1fr; gap: var(--s4); justify-items: center; }
  .demo__note { max-width: 380px; text-align: center; justify-self: center; }
  .demo__note--r { display: none; }
  .phone__screen { min-height: 430px; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .demo__note { display: none; }
  .phone__screen { min-height: 400px; }
}

/* ===== 2. Было / стало + для кого (экран 2 шаблона) ===== */
.split { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s8); }
.split__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s6); }
.split__top .lead { text-align: right; max-width: 24rem; color: var(--ink); }
.split__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s8); }
.split__left { max-width: 36rem; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; margin: var(--s6) 0 var(--s4); }
.toggle button { min-height: 40px; padding: 8px 20px; border-radius: 999px; font-size: 14px; color: var(--ink-3); transition: background-color 0.3s, color 0.3s; }
.toggle button[aria-selected="true"] { background: var(--btn-ink); color: #fff; }
.scene-card { position: relative; border-radius: var(--r-lg); padding: var(--s5); min-height: 168px; }
.scene-card p { color: var(--ink); font-size: 17px; line-height: 1.55; transition: opacity 0.35s var(--ease); }
.scene-card .mono { color: var(--gold-ink); display: block; margin-bottom: var(--s2); }
.split__left .btn-row { margin-top: var(--s6); }
.panel { width: 100%; max-width: 30rem; border-radius: var(--r-lg); padding: 0 var(--s5); }
.panel li { display: flex; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.panel li:last-child { border-bottom: 0; }
.panel .num { font-size: 11px; letter-spacing: 0.15em; color: var(--ink-3); padding-top: 4px; }
.panel h3 { font-size: 18px; font-weight: 500; line-height: 1.35; }
.panel p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 899px) {
  .split__top, .split__bottom { flex-direction: column; align-items: stretch; }
  .split__top .lead { text-align: left; }
  .panel { max-width: none; }
  .toggle { display: flex; }
  .toggle button { flex: 1; }
}

/* ===== 3. Боли: уведомления ===== */
.pains__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s7); align-items: end; margin-bottom: var(--s8); }
.pains__list { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s5); align-items: start; }
.pains__list li:nth-child(2) { margin-top: var(--s8); }
.pains__list li:nth-child(3) { margin-top: var(--s4); }
.notif { border-radius: var(--r-lg); padding: var(--s5); height: 100%; }
.notif__bar { display: flex; align-items: center; gap: var(--s2); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.notif__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--core); box-shadow: 0 0 0 0 rgba(240, 138, 50, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 138, 50, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(240, 138, 50, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 138, 50, 0); } }
.notif__msg { margin: var(--s4) 0; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: #e9eef3; display: inline-block; font-size: 16px; }
.notif__time { font-size: clamp(2.5rem, 4.4vw, 3.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.notif p.text { margin-top: var(--s2); font-size: 16px; }
.pains__out { margin-top: var(--s8); font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.4; max-width: 34ch; }
.pains__out b { font-weight: 500; color: var(--gold-ink); }
@media (max-width: 899px) {
  .pains__head { grid-template-columns: 1fr; gap: var(--s4); margin-bottom: var(--s6); }
  .pains__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3);
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s3); scrollbar-width: none; }
  .pains__list::-webkit-scrollbar { display: none; }
  .pains__list li { flex: 0 0 84%; scroll-snap-align: start; margin-top: 0 !important; }
  .swipe-hint { display: flex; }
}
.swipe-hint { display: none; align-items: center; gap: var(--s2); margin-top: var(--s3); font-size: 13px; color: var(--ink-3); }

/* ===== 4. Как проходит вечер ===== */
.evening { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s9); align-items: start; }
.evening__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.evening__aside .h2 { margin: var(--s5) 0 var(--s4); }
.bring { margin-top: var(--s6); border-radius: var(--r-lg); padding: var(--s5); }
.bring h3 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; margin-bottom: var(--s3); }
.bring li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.bring li + li { margin-top: 8px; }
.bring li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 1.5px; background: var(--core); }
.steps { position: relative; padding-left: 56px; }
.steps__rail { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.steps__rail i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--fill, 0));
  background: linear-gradient(180deg, var(--gold), var(--core)); }
.step { position: relative; padding-bottom: var(--s7); }
.step:last-child { padding-bottom: 0; }
.step__n { position: absolute; left: -56px; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; letter-spacing: 0.05em; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 6px 16px -10px rgba(30, 52, 78, 0.45); transition: background-color 0.4s, border-color 0.4s, color 0.4s; }
.step.is-lit .step__n { background: var(--gold); border-color: var(--gold); color: #1c1006; }
.step h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.3; padding-top: 6px; }
.step p { margin-top: var(--s2); color: var(--ink-2); max-width: 52ch; }
.step__out { margin-top: var(--s3); display: inline-flex; gap: var(--s2); align-items: baseline; padding: 8px 14px; border-radius: var(--r-md);
  background: rgba(255, 232, 200, 0.6); border: 1px solid rgba(240, 138, 50, 0.32); color: #3d2405; font-size: 15px; }
.step__out .mono { color: var(--gold-ink); font-size: 10px; flex: none; }
.evening__total { margin-top: var(--s6); color: var(--ink-3); font-size: 14px; }
@media (max-width: 899px) {
  .evening { grid-template-columns: 1fr; gap: var(--s7); }
  .evening__aside { position: static; }
  .steps { padding-left: 52px; }
  .step__n { left: -52px; }
}

/* ===== 5. Калькулятор ===== */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; border-radius: var(--r-xl); padding: var(--s7); }
.calc .h2 { font-size: clamp(1.9rem, 4vw, 3.25rem); margin: var(--s5) 0 var(--s4); }
.range { display: grid; gap: var(--s3); }
.range + .range { margin-top: var(--s6); }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); }
.range label { font-size: 16px; color: var(--ink-2); }
.range output { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--core) 0 var(--p, 50%), rgba(15, 26, 36, 0.14) var(--p, 50%) 100%); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(15, 26, 36, 0.14); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--core); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(240, 178, 90, 0.32), 0 2px 8px rgba(15, 26, 36, 0.28); }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(240, 178, 90, 0.32), 0 2px 8px rgba(15, 26, 36, 0.28); }
.calc__out { border-top: 1px solid var(--line); margin-top: var(--s6); padding-top: var(--s5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.calc__num { font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__num.is-gold { color: var(--gold-ink); }
.calc__lbl { margin-top: var(--s2); font-size: 13px; color: var(--ink-3); }
.calc__note { margin-top: var(--s5); font-size: 14px; color: var(--ink-3); max-width: 52ch; }
@media (max-width: 899px) {
  .calc { grid-template-columns: 1fr; padding: var(--s5); gap: var(--s5); }
}

/* ===== 6. Кто ведёт ===== */
.hosts__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s6); margin-bottom: var(--s7); }
.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.host { display: flex; gap: var(--s5); align-items: flex-start; border-radius: var(--r-xl); padding: var(--s5); }
.host:nth-child(2) { margin-top: var(--s8); }
.host h3 { font-size: 22px; font-weight: 500; line-height: 1.3; }
.host .mono { display: block; color: var(--ink-3); margin: 6px 0 var(--s3); font-size: 10px; }
.host p { color: var(--ink-2); font-size: 16px; }
.honest { margin-top: var(--s7); display: flex; gap: var(--s4); align-items: flex-start; max-width: 46rem; }
.honest svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); margin-top: 3px; }
.honest p { color: var(--ink-2); }
@media (max-width: 899px) {
  .hosts__head { flex-direction: column; align-items: flex-start; }
  .hosts { grid-template-columns: 1fr; }
  .host:nth-child(2) { margin-top: 0; }
}
@media (max-width: 479px) {
  .host { flex-direction: column; }
}

/* ===== 7. Цены ===== */
.price__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: end; margin-bottom: var(--s7); }
.tiers { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: var(--s4); align-items: stretch; }
.tier { position: relative; border-radius: var(--r-xl); padding: var(--s6) var(--s5) var(--s5); display: flex; flex-direction: column; }
.tier__name { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.tier__price { margin: var(--s3) 0 var(--s2); font-size: clamp(2.5rem, 4vw, 3.25rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.tier__price small { font-size: 0.42em; letter-spacing: 0; margin-left: 4px; color: var(--ink-2); font-weight: 400; }
.tier__for { color: var(--ink-2); font-size: 15px; min-height: 3em; }
.tier ul { margin: var(--s5) 0; display: grid; gap: var(--s3); flex: 1; }
.tier li { display: flex; gap: var(--s3); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tier li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold-deep); }
.tier .btn { width: 100%; }
.tier--hot { border-color: rgba(240, 138, 50, 0.5); background: linear-gradient(180deg, rgba(255, 228, 192, 0.85), rgba(255, 255, 255, 0.66) 48%); overflow: hidden;
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px -30px rgba(240, 138, 50, 0.45); }
.tier--hot::before { content: ""; position: absolute; top: -120px; left: 50%; width: 260px; height: 260px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240, 138, 50, 0.4), rgba(240, 178, 90, 0.14) 45%, transparent 70%); pointer-events: none;
  animation: core 5s ease-in-out infinite; }
@keyframes core { 0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
.tier--hot > * { position: relative; }
.tier--hot .tier__name { color: var(--gold-ink); }
.tier__flag { position: absolute; top: var(--s5); right: var(--s5); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--gold); color: #1c1006; font-weight: 600; }
.tier__seats { margin-top: var(--s3); font-size: 13px; color: var(--ink-3); }
.anchor { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); margin-top: var(--s6); align-items: start; color: var(--ink-2); max-width: 52rem; }
.anchor svg { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 2px; }
.price__notes { margin-top: var(--s4); display: grid; gap: var(--s2); color: var(--ink-3); font-size: 14px; }
@media (max-width: 899px) {
  .price__head { grid-template-columns: 1fr; gap: var(--s4); }
  .tiers { grid-template-columns: 1fr; }
  .tier--hot { order: 1; }
  .tier--map { order: 2; }
  .tier--start { order: 3; }
  .tier__for { min-height: 0; }
}

/* ===== 8. Гарантия ===== */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: var(--s6); align-items: center; border-radius: var(--r-xl);
  padding: var(--s7); border-left: 2px solid var(--core); }
.seal { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center; position: relative;
  border: 1px solid rgba(240, 138, 50, 0.55); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-ink);
  background: radial-gradient(circle at 50% 40%, rgba(255, 236, 210, 0.9), rgba(255, 255, 255, 0.4) 70%); }
.seal::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(240, 138, 50, 0.45); animation: spin 30s linear infinite; }
.seal b { display: block; font-size: 34px; letter-spacing: -0.02em; font-weight: 300; color: var(--ink); text-transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.guarantee h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; }
.guarantee p { margin-top: var(--s3); color: var(--ink-2); }
@media (max-width: 767px) {
  .guarantee { grid-template-columns: 1fr; padding: var(--s5); gap: var(--s5); }
  .seal { width: 96px; height: 96px; }
  .seal b { font-size: 28px; }
}

/* ===== 9. Что дальше: лестница ===== */
.next__head { max-width: 46rem; margin-bottom: var(--s7); }
.next__head .h2 { margin: var(--s5) 0 var(--s4); }
.next { display: grid; grid-template-columns: minmax(0, 860px); justify-content: center; gap: var(--s5); align-items: start; }
.course { border-radius: var(--r-xl); padding: var(--s6) var(--s5); }
.course h3, .dfy h3 { font-size: 22px; font-weight: 500; line-height: 1.3; margin: var(--s3) 0 var(--s3); }
.course ol { counter-reset: m; display: grid; gap: var(--s3); margin: var(--s5) 0; }
.course ol li { counter-increment: m; display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.course ol li::before { content: counter(m, decimal-leading-zero); font-size: 11px; letter-spacing: 0.1em; color: var(--gold-ink); padding-top: 3px; }
.course__note { font-size: 14px; color: var(--ink-3); }
.dfy { border-radius: var(--r-xl); padding: var(--s6) var(--s5); }
.stairs { display: grid; gap: var(--s3); margin: var(--s5) 0; }
.stair { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); padding: var(--s4); border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--glass-edge); box-shadow: 0 10px 24px -20px rgba(30, 52, 78, 0.5);
  transition: transform 0.4s var(--ease), border-color 0.3s, background-color 0.3s; }
.stair:nth-child(2) { margin-left: 4%; }
.stair:nth-child(3) { margin-left: 8%; }
.stair:nth-child(4) { margin-left: 12%; }
.stair:hover { border-color: rgba(240, 138, 50, 0.45); background: rgba(255, 236, 210, 0.7); transform: translateX(4px); }
.stair h4 { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.35; }
.stair p { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.stair .price { font-size: 15px; font-weight: 500; color: var(--gold-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stair .price.is-muted { color: var(--ink-3); font-weight: 400; font-size: 13px; }
@media (max-width: 899px) {
  .next { grid-template-columns: 1fr; }
  .stair:nth-child(n) { margin-left: 0; }
}
@media (max-width: 479px) {
  .stair { grid-template-columns: 1fr; }
}

/* ===== 10. Запись: опросник ===== */
.book { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); align-items: start; }
.book__aside .h2 { margin: var(--s5) 0 var(--s4); }
.book__aside .facts { margin-top: var(--s5); }
.quiz { border-radius: var(--r-xl); padding: var(--s6); min-height: 520px; display: flex; flex-direction: column; }
.quiz__bar { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s6); }
.quiz__track { flex: 1; height: 4px; border-radius: 4px; background: rgba(15, 26, 36, 0.1); overflow: hidden; }
.quiz__track i { display: block; height: 100%; width: var(--q, 33.3%); background: linear-gradient(90deg, var(--gold), var(--core)); transition: width 0.5s var(--ease); }
.quiz__count { font-size: 12px; letter-spacing: 0.12em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.qstep { display: none; flex: 1; flex-direction: column; }
.qstep.is-active { display: flex; animation: qin 0.45s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.qstep legend, .qstep h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; padding: 0; margin-bottom: var(--s5); }
.qstep fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.tile { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 14px 16px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.6); cursor: pointer; transition: border-color 0.25s, background-color 0.25s, transform 0.2s var(--ease); }
.tile:hover { border-color: rgba(15, 26, 36, 0.3); }
.tile:active { transform: scale(0.98); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile b { font-weight: 500; font-size: 16px; line-height: 1.35; }
.tile span { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.tile .tag { position: absolute; top: 10px; right: 10px; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--gold); color: #1c1006; font-weight: 600; }
.tile:has(input:checked) { border-color: var(--core); background: rgba(255, 232, 200, 0.75); }
.tile.is-checked { border-color: var(--core); background: rgba(255, 232, 200, 0.75); }
.tile:has(input:focus-visible) { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.other { margin-top: var(--s3); display: none; }
.other.is-on { display: block; }
.field { display: grid; gap: var(--s2); }
.field + .field { margin-top: var(--s5); }
.field label { font-size: 14px; color: var(--ink-2); }
.field input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.85); color: var(--ink); font: inherit; font-size: 16px; transition: border-color 0.25s; }
.field input::placeholder { color: var(--ink-4); }
.field input:focus { outline: none; border-color: var(--core); box-shadow: 0 0 0 3px rgba(240, 178, 90, 0.3); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .help { font-size: 13px; color: var(--ink-3); }
.field .err { font-size: 13px; color: var(--danger); min-height: 1.2em; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: auto; padding-top: var(--s6); }
.quiz__back { font-size: 15px; color: var(--ink-3); min-height: 44px; padding: 0 var(--s2); }
.quiz__back:hover { color: var(--ink); }
.quiz__back[hidden] { display: none; }
.quiz__nav .btn { margin-left: auto; }
.quiz__legal { margin-top: var(--s3); font-size: 12px; color: var(--ink-4); }
.done { display: none; flex: 1; flex-direction: column; justify-content: center; text-align: left; gap: var(--s4); }
.quiz.is-done .done { display: flex; animation: qin 0.5s var(--ease); }
.quiz.is-done .qstep, .quiz.is-done .quiz__bar, .quiz.is-done .quiz__nav, .quiz.is-done .quiz__legal { display: none !important; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, var(--gold), var(--core)); color: #1c1006; }
.done__icon svg { width: 28px; height: 28px; }
.done h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 400; letter-spacing: -0.02em; }
.done p { color: var(--ink-2); max-width: 44ch; }
@media (max-width: 899px) {
  .book { grid-template-columns: 1fr; gap: var(--s6); }
  .quiz { padding: var(--s5); min-height: 0; }
}
@media (max-width: 479px) {
  .tiles { grid-template-columns: 1fr; }
  .quiz__nav .btn { flex: 1; }
}

/* ===== 11. Вопросы ===== */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__aside .h2 { margin: var(--s5) 0 var(--s4); }
.faq__aside .btn { margin-top: var(--s5); }
.qa { border-radius: var(--r-lg); }
.qa + .qa { margin-top: var(--s3); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: 18px var(--s5); min-height: 64px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform 0.35s var(--ease), background-color 0.3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { transform: rotate(45deg); background: rgba(240, 178, 90, 0.35); }
.qa__a { padding: 0 var(--s5) var(--s5); color: var(--ink-2); max-width: 62ch; }
@media (max-width: 899px) {
  .faq { grid-template-columns: 1fr; gap: var(--s5); }
  .faq__aside { position: static; }
  .qa summary { padding: 16px; }
  .qa__a { padding: 0 16px 16px; }
}

/* ===== 12. Финал и подвал ===== */
.final { min-height: 80vh; display: flex; flex-direction: column; justify-content: flex-end; }
.final .h2 { font-size: clamp(2.25rem, 6vw, 4.75rem); max-width: 16ch; }
.final .lead { margin-top: var(--s5); }
.final .btn-row { margin-top: var(--s6); }
.footer { border-top: 1px solid var(--line); padding: var(--s6) 0 calc(var(--s6) + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-3); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4) var(--s6); align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer a:hover { color: var(--ink); }

/* Плавающая кнопка записи на телефоне */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; gap: var(--s2);
  transform: translateY(140%); transition: transform 0.45s var(--ease); }
.dock.is-on { transform: none; }
.dock .btn--primary { flex: 1; box-shadow: 0 14px 30px -12px rgba(15, 26, 36, 0.55); }
.dock .btn--glass { width: 52px; padding: 0; background: rgba(255, 255, 255, 0.88); box-shadow: 0 14px 30px -14px rgba(30, 52, 78, 0.5); }
@media (max-width: 899px) { .dock { display: flex; } .footer { padding-bottom: calc(var(--s9) + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .msg { transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ===== Правки после замера на 390 ===== */
.next, .book, .faq, .evening, .calc, .hosts, .tiers { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .next { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .book { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .evening { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hosts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tiers { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr); }
}
.msg { font-size: 16px; }
.phone__who { font-size: 16px; }
.phone__who small, .msg time { font-size: 12px; }
.demo__cap { font-size: 15px; }
.panel p, .tier li, .stair p, .course ol li, .bring li, .step__out { font-size: 16px; }
.talk__role, .host .mono { font-size: 11px; }
@media (max-width: 599px) {
  .btn { white-space: normal; text-align: center; }
  .demo__cap { font-size: 16px; }
}
/* Боли на телефоне: карточки ложатся стопкой при прокрутке, а не уезжают за край */
@media (max-width: 899px) {
  .pains__list { display: grid; overflow: visible; margin: 0; padding: 0; gap: var(--s4); }
  .pains__list li { position: sticky; top: calc(var(--nav-h) + 16px); margin-top: 0 !important; }
  .pains__list li:nth-child(2) { top: calc(var(--nav-h) + 28px); }
  .pains__list li:nth-child(3) { top: calc(var(--nav-h) + 40px); }
  .pains__list .notif { background: rgba(250, 252, 253, 0.95); box-shadow: 0 -18px 40px -24px rgba(30, 52, 78, 0.4), inset 0 1px 0 #fff; }
  .swipe-hint { display: none; }
}
.demo__cap, .evening__total, .calc__note, .tier__for, .tier__seats, .price__notes, .course__note { font-size: 16px; }
@media (max-width: 899px) {
  .pains__list { grid-template-columns: minmax(0, 1fr); }
  .btn--sm, .toggle button { min-height: 44px; }
  .footer a { display: inline-flex; align-items: center; min-height: 44px; }
}
.btn { font-size: 16px; } .btn--sm { font-size: 14px; }
.scene canvas { opacity: calc(1 - var(--veil, 0) * 0.7); }
.scene.has-video canvas { opacity: 0; }
/* Переписка как в настоящем чате: новые снизу, старые уходят вверх, экран телефона не растёт */
.phone__screen { height: min(470px, calc(100svh - var(--nav-h) - 150px)); min-height: 0; }
.chat { overflow: hidden; justify-content: flex-end; }
.msg, .typing { flex: none; }
.msg:not(.is-on), .typing:not(.is-on) { display: none; }
.msg.is-on { animation: msgin 0.45s var(--ease); opacity: 1; transform: none; }
.typing.is-on { display: flex; }
@keyframes msgin { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) { .phone__screen { height: min(440px, calc(100svh - var(--nav-h) - 190px)); } }
.calc__num { white-space: nowrap; }
@media (max-width: 479px) { .calc__num { font-size: 28px; } }
.btn[hidden] { display: none; }
.msg__link { display: flex; width: fit-content; }
.chat { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px); mask-image: linear-gradient(to bottom, transparent 0, #000 28px); padding-top: 8px; }

/* ===== Светлая тема: чередование разделов (бледно-голубой фон сцены ↔ почти белый #f3f6f9) ===== */
.section[aria-labelledby="h-pains"], .section[aria-labelledby="h-calc"], .section[aria-labelledby="h-book"] {
  background: linear-gradient(180deg, rgba(243, 246, 249, 0) 0, rgba(243, 246, 249, 0.94) 140px,
    rgba(243, 246, 249, 0.94) calc(100% - 140px), rgba(243, 246, 249, 0) 100%); }
.section[aria-labelledby="h-price"] {
  background: linear-gradient(180deg, rgba(243, 246, 249, 0) 0, rgba(243, 246, 249, 0.94) 140px); }
.section[aria-labelledby="h-guar"] {
  background: linear-gradient(180deg, rgba(243, 246, 249, 0.94) 0, rgba(243, 246, 249, 0.94) calc(100% - 140px), rgba(243, 246, 249, 0) 100%); }
/* Ролик героя на телефоне: кадр 16:9 на весь высокий экран увеличивается почти вчетверо и ложится под весь текст.
   Ролик занимает верх экрана и мягко растворяется в фоне #e3eaf1, сверху лёгкая светлая вуаль ради контраста текста. */
@media (max-width: 767px) {
  .scene video { height: 64%; bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%); }
  .scene.has-video .scene__veil { opacity: max(0.5, var(--veil, 0)); }
}
/* Под роликом провода заходят под шапку (холст их там гасит, ролик нет): шапке светлое матовое стекло */
.scene.has-video ~ .nav { background: rgba(236, 241, 246, 0.62); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.scene.has-video ~ .nav.is-scrolled { background: rgba(236, 241, 246, 0.78); }
/* Нарезка ролика по кадрам (вместо <video>): видна при has-video, на телефоне верх экрана с растворением, как было у ролика */
#seqCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; }
.scene.has-video #seqCanvas { opacity: 1; }
@media (max-width: 767px) {
  #seqCanvas { height: 64%; bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%); }
}
.hero h1 { max-width: 15ch; }
/* Первый кадр ролика сразу при загрузке (без «тонкого пучка» холста): постер под холстом нарезки, прячется, когда нарезка готова */
#seqPoster, #seqPoster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#seqPoster img { opacity: 1 !important; transition: none; }
.scene.seq-ready #seqPoster { visibility: hidden; }
.scene:not(.seq-ready) #sceneCanvas { opacity: 0; }
@media (max-width: 767px) {
  #seqPoster { height: 64%; bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%); }
}

/* ==========================================================================
   30.11: AI-приёмщик документов. Новые элементы в системе основы
   (стекло, золото/ядро, Inter, шкала отступов --s*, радиусы --r-*).
   ========================================================================== */

/* Демо: вкладки ниш над телефоном */
.demo__mid { width: 100%; max-width: 380px; display: grid; justify-items: center; gap: var(--s4); }
.ntabs { display: flex; width: 100%; padding: 4px; border-radius: 999px; }
.ntabs button { flex: 1; min-height: 40px; padding: 8px 10px; border-radius: 999px; font-size: 14px; color: var(--ink-3);
  transition: background-color 0.3s var(--ease), color 0.3s; }
.ntabs button[aria-selected="true"] { background: var(--btn-ink); color: #fff; }
.phone-wrap { position: relative; width: 100%; }
.nchat { display: none; flex: 1; min-height: 0; flex-direction: column; }
.nchat.is-active { display: flex; }
.msg b { font-weight: 600; }

/* Документ в сообщении: бумага со штампом «образец» */
.msg--doc { display: grid; gap: var(--s2); }
.docs { display: flex; align-items: flex-end; gap: 6px; padding: 4px 0 2px; }
.doc { position: relative; width: 96px; height: 120px; border-radius: 6px; padding: 12px 10px; flex: none;
  background: linear-gradient(170deg, #ffffff, #f4f1ea); box-shadow: 0 1px 0 rgba(15, 26, 36, 0.06), 0 8px 16px -10px rgba(30, 52, 78, 0.45);
  border: 1px solid rgba(15, 26, 36, 0.08); display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.doc__l { display: block; height: 3px; border-radius: 2px; background: rgba(15, 26, 36, 0.16); }
.doc__l--s { width: 58%; }
.doc__ph { display: block; width: 22px; height: 26px; border-radius: 3px;
  background: radial-gradient(circle at 50% 36%, rgba(15, 26, 36, 0.32) 0 5px, transparent 5.5px), linear-gradient(180deg, #dfe6ec, #cdd8e3); }
.doc__name { margin-top: auto; font-size: 12px; line-height: 1.2; color: var(--ink-2); }
.doc__stamp { position: absolute; right: 6px; top: 46%; transform: rotate(-14deg); padding: 1px 6px; border: 1.5px solid var(--gold-deep);
  border-radius: 4px; color: var(--gold-deep); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.docs--fan { flex-wrap: wrap; gap: 0; }
.docs--fan .doc { width: 58px; height: 74px; padding: 8px 7px; gap: 4px; }
.docs--fan .doc + .doc { margin-left: -14px; }
.docs--fan .doc:nth-child(1) { transform: rotate(-7deg); }
.docs--fan .doc:nth-child(2) { transform: rotate(2deg); z-index: 1; }
.docs--fan .doc:nth-child(3) { transform: rotate(9deg); z-index: 2; }
.docs--fan .doc:nth-child(4) { transform: rotate(15deg); z-index: 3; }
.docs--fan .doc__name { display: none; }
.docs--fan .doc__stamp { font-size: 12px; padding: 0 3px; right: 2px; top: 40%; letter-spacing: 0; }
.doc--receipt { background: repeating-linear-gradient(180deg, #fff 0 9px, #f6f6f3 9px 10px); }
.doc--blur > * { filter: blur(1.6px); }
.docs__cap { flex-basis: 100%; margin-top: var(--s2); font-size: 14px; color: var(--ink-3); }
.msg--doc .doc { animation: none; }

/* Сводка владельцу: пуш сверху телефона */
.owner { position: absolute; z-index: 3; left: -20px; right: -20px; top: 64px; border-radius: var(--r-lg); padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 1px 0 #fff, 0 24px 48px -20px rgba(30, 52, 78, 0.55);
  opacity: 0; transform: translateY(-18px) scale(0.96); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.owner.is-on { opacity: 1; transform: none; }
.owner__bar { display: flex; align-items: center; gap: var(--s2); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.owner__bar svg { width: 16px; height: 16px; color: var(--core); }
.owner__t { margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.owner ul { margin-top: 4px; display: grid; gap: 2px; }
.owner li { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.owner li b { color: var(--gold-ink); font-weight: 600; }
.owner::before { content: ""; position: absolute; left: 16px; top: -1px; width: 48px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--core)); }
@media (max-width: 899px) {
  .owner { left: 6px; right: 6px; top: 58px; }
  .ntabs button { min-height: 44px; font-size: 14px; padding: 8px 6px; }
  .demo__lead { font-size: 16px; }
  .phone__screen { height: min(400px, calc(100svh - var(--nav-h) - 270px)); }
}
@media (max-height: 700px) and (max-width: 899px) {
  .phone__screen { height: min(380px, calc(100svh - var(--nav-h) - 150px)); }
}

/* RODO: тестовый паспорт и две колонки */
.rodo { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: start; }
.rodo__left .h2 { margin: var(--s5) 0 var(--s4); max-width: 14ch; }
.rodo__cols { display: grid; gap: var(--s4); }
.rcol { border-radius: var(--r-xl); padding: var(--s5); }
.rcol__k { display: block; color: var(--gold-ink); margin-bottom: var(--s4); font-size: 12px; }
.rcol ul { display: grid; gap: var(--s3); }
.rcol li { display: flex; gap: var(--s3); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.rcol li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold-deep); }
.rcol--real { border-left: 2px solid var(--core); }
.pass { position: relative; margin-top: var(--s6); max-width: 380px; border-radius: 14px; padding: var(--s4) 18px;
  background: linear-gradient(165deg, #fbf8f2, #eef2f5); border: 1px solid rgba(15, 26, 36, 0.12);
  box-shadow: inset 0 1px 0 #fff, 0 26px 50px -28px rgba(30, 52, 78, 0.55); transform: rotate(-2deg); }
.pass.reveal.is-in { transform: rotate(-2deg); }
.pass__top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.pass__body { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0 var(--s3); }
.pass__photo { display: block; width: 76px; height: 94px; border-radius: 6px;
  background: radial-gradient(circle at 50% 36%, rgba(66, 79, 92, 0.42) 0 15px, transparent 16px),
    radial-gradient(ellipse at 50% 108%, rgba(66, 79, 92, 0.42) 0 34px, transparent 35px), linear-gradient(180deg, #e3e9ee, #cfd9e2); }
.pass dl { margin: 0; display: grid; gap: 6px; }
.pass dt { font-size: 12px; color: var(--ink-4); line-height: 1.3; }
.pass dd { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.3; }
.pass__mrz { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; }
.pass__stamp { position: absolute; right: 22px; top: 44%; padding: 4px 14px; border: 2.5px solid var(--gold-deep); border-radius: 8px;
  color: var(--gold-deep); font-size: 24px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; mix-blend-mode: multiply;
  transform: rotate(-14deg) scale(1); opacity: 0.88; }
.pass.reveal .pass__stamp { opacity: 0; transform: rotate(-14deg) scale(1.9); transition: opacity 0.3s ease-in 0.9s, transform 0.35s cubic-bezier(0.3, 1.5, 0.6, 1) 0.9s; }
.pass.reveal.is-in .pass__stamp { opacity: 0.88; transform: rotate(-14deg) scale(1); }
@media (min-width: 900px) {
  .rodo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); }
  .rodo__cols { margin-top: var(--s9); }
}

/* Программа: шкала времени вместо номеров */
.steps--time .step__n { font-size: 12px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.steps--time .step__t { display: block; font-size: 12px; color: var(--gold-ink); line-height: 1.4; padding-top: 2px; }
.steps--time .step h3 { padding-top: 4px; }

/* Печать «тест» и курс */
.seal b { text-transform: lowercase; }
.course .stair--solo { margin: var(--s5) 0; }
.course .btn { width: 100%; }
.dfy .btn { margin-top: var(--s2); }
.tile--wide { grid-column: 1 / -1; }
.quiz__legal a { text-decoration: underline; }

/* Светлая полоса под блок RODO */
.section[aria-labelledby="h-rodo"] {
  background: linear-gradient(180deg, rgba(243, 246, 249, 0) 0, rgba(243, 246, 249, 0.94) 140px,
    rgba(243, 246, 249, 0.94) calc(100% - 140px), rgba(243, 246, 249, 0) 100%); }
@media (min-width: 900px) {
  .phone__screen { height: min(560px, calc(100svh - var(--nav-h) - 170px)); }
}
@media (max-width: 899px) {
  .doc { width: 80px; height: 100px; padding: 10px 8px; gap: 4px; }
  .docs--fan .doc { width: 50px; height: 64px; }
}
.quiz__legal { font-size: 16px; }
/* Телефон: сцена демо без лида, подпись «документы тестовые» над вкладками, телефон выше и над липкой кнопкой */
@media (max-width: 899px) {
  .demo__lead { display: none; }
  .demo__grid { gap: var(--s3); }
  .demo__mid { gap: var(--s3); }
  .demo__cap { order: -1; margin-top: 0; font-size: 16px; line-height: 1.4; }
  .phone__screen { height: min(470px, calc(100svh - var(--nav-h) - 300px)); }
  .demo__sticky { align-items: flex-start; padding-top: calc(var(--nav-h) + 16px); }
}
@media (max-height: 700px) and (max-width: 899px) {
  .demo__note { display: none; }
  .phone__screen { height: calc(100svh - var(--nav-h) - 230px); }
}
@media (max-width: 899px) {
  .doc { width: 68px; height: 86px; padding: 8px 7px; }
  .doc__name { font-size: 12px; }
  .docs--fan .doc { width: 46px; height: 58px; }
  .docs__cap { font-size: 13px; margin-top: 6px; }
}
.docs--one { flex-wrap: wrap; }
.doc__name { display: none; }
.doc__stamp { top: 52%; }
.field.other { display: none; }
.field.other.is-on { display: grid; }
.book__ask { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-size: 16px; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: rgba(240, 138, 50, 0.6); text-underline-offset: 4px; }
.book__ask svg { width: 16px; height: 16px; color: var(--core); flex: none; }
.book__ask:hover { color: var(--ink); }

/* ==========================================================================
   30.11 вечер: новая аудитория (авто, аренда, страхование, PIT, переводы).
   Только система основы: стекло, золото/ядро, Inter, --s*, --r-*.
   ========================================================================== */

/* Герой: пять меток ниш на телефоне строкой с переносом */
@media (max-width: 767px) {
  .services { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
}

/* Демо: 4 вкладки */
@media (max-width: 899px) {
  .ntabs button { font-size: 13px; padding: 8px 4px; }
}
@media (max-width: 374px) {
  .ntabs button { font-size: 12px; letter-spacing: -0.01em; }
}
/* документы: немецкий бриф с полосой, карточки (права, dowód) */
.doc--brief { background: linear-gradient(170deg, #f8fbf6, #e9f0e6); }
.doc__band { display: block; height: 10px; margin: -2px -2px 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(60, 110, 70, 0.32) 0 3px, rgba(60, 110, 70, 0.14) 3px 6px); }
.docs--fan .doc.doc--card { width: 74px; height: 50px; flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 3px 5px;
  border-radius: 6px; background: linear-gradient(150deg, #eef4fa, #dbe6f1); }
.docs--fan .doc--card .doc__ph { width: 14px; height: 18px; }
.docs--fan .doc--card .doc__l { flex: 1; margin-top: 4px; }
.docs--fan .doc.doc--pink { background: linear-gradient(150deg, #fbeef2, #f1dbe4); }
.docs--fan .doc--card + .doc--card { margin-top: 18px; }
@media (max-width: 899px) {
  .docs--fan .doc.doc--card { width: 64px; height: 44px; }
}

/* ===== Для кого: пять ниш ===== */
.who__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s7); align-items: end; margin-bottom: var(--s7); }
.niches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s4); }
.niches li { grid-column: span 2; display: flex; }
.niches li:nth-child(-n+2) { grid-column: span 3; }
.niche { position: relative; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto;
  gap: var(--s4) var(--s5); padding: var(--s5); border-radius: var(--r-xl); text-align: left; color: var(--ink);
  transition: transform 0.45s var(--ease), border-color 0.3s, background-color 0.3s; cursor: pointer; }
.niche:hover { transform: translateY(-3px); border-color: rgba(240, 138, 50, 0.45); background: rgba(255, 255, 255, 0.72); }
.niche:active { transform: scale(0.985); }
.niche:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.niche__body { display: grid; gap: var(--s2); align-content: start; }
.niche__body .num { font-size: 11px; letter-spacing: 0.15em; color: var(--ink-3); }
.niche__body b { font-size: 19px; font-weight: 500; line-height: 1.3; }
.niche__msg { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.niche__go { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--gold-ink); }
.niche__go svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.niche:hover .niche__go svg { transform: translateX(4px); }
/* мини-документ ниши */
.niche__doc { position: relative; width: 56px; height: 72px; border-radius: 6px; padding: 9px 8px; display: flex; flex-direction: column; gap: 5px;
  background: linear-gradient(170deg, #ffffff, #f4f1ea); border: 1px solid rgba(15, 26, 36, 0.08);
  box-shadow: 0 10px 20px -14px rgba(30, 52, 78, 0.6); transform: rotate(-4deg); transition: transform 0.5s var(--ease); }
.niche:hover .niche__doc { transform: rotate(2deg) translateY(-2px); }
.niche__doc i { display: block; height: 3px; border-radius: 2px; background: rgba(15, 26, 36, 0.16); }
.niche__doc i:last-child { width: 60%; }
.niche__doc::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 35%, rgba(240, 138, 50, 0.35) 36% 60%, transparent 61%); }
.niche__doc--brief { background: linear-gradient(170deg, #f8fbf6, #e6efe2); }
.niche__doc--brief i:first-child { height: 9px; background: repeating-linear-gradient(90deg, rgba(60, 110, 70, 0.34) 0 3px, rgba(60, 110, 70, 0.14) 3px 6px); }
.niche__doc--pass i:first-child { width: 18px; height: 22px; border-radius: 3px;
  background: radial-gradient(circle at 50% 36%, rgba(15, 26, 36, 0.32) 0 4px, transparent 4.5px), linear-gradient(180deg, #dfe6ec, #cdd8e3); }
.niche__doc--card { width: 72px; height: 48px; margin-top: 12px; background: linear-gradient(150deg, #eef4fa, #dbe6f1); }
.niche__doc--pit { background: repeating-linear-gradient(180deg, #fff 0 11px, #f3efe6 11px 12px); }
.niche__doc--pit::before { content: "PIT-11"; font-size: 9px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold-ink); }
.niches__note { margin-top: var(--s5); font-size: 16px; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 899px) {
  .who__head { grid-template-columns: 1fr; gap: var(--s4); margin-bottom: var(--s6); }
  .niches { grid-template-columns: 1fr; gap: var(--s3); }
  .niches li, .niches li:nth-child(-n+2) { grid-column: auto; }
  .niche { padding: var(--s4) var(--s4) var(--s4); gap: var(--s3) var(--s4); border-radius: var(--r-lg); }
  .niche__body b { font-size: 17px; }
  .niche__doc { width: 46px; height: 60px; padding: 7px 6px; gap: 4px; }
  .niche__doc--card { width: 58px; height: 40px; margin-top: 8px; }
  .niche__go { min-height: 24px; }
}

/* ===== Что дальше: цепочка внедрения ===== */
.chain { display: grid; gap: 0; margin-top: var(--s5); position: relative; }
.chain::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--core) var(--chain, 0%), rgba(15, 26, 36, 0.12) var(--chain, 0%)); }
.chain li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s4); padding: var(--s3) 0; }
.chain__n { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--ink-3);
  background: var(--bg-2); border: 1px solid var(--line-2); transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s; }
.chain li.is-lit .chain__n { background: var(--gold); border-color: var(--gold-deep); color: #1c1006; box-shadow: 0 0 0 6px rgba(240, 178, 90, 0.22); }
.chain h3 { font-size: 17px; font-weight: 500; line-height: 1.35; padding-top: 5px; }
.chain p { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.next__side { display: grid; gap: var(--s4); align-content: start; }
.next__side .stairs { margin: 0; }
.next__side .stair:nth-child(n) { margin-left: 0; }
.next__note { font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.next__side .btn { justify-self: start; }
@media (min-width: 900px) {
  .next { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s6); }
  .next__side { padding-top: var(--s6); }
}
@media (max-width: 599px) {
  .next__side .btn { justify-self: stretch; }
}
/* Герой под пять ниш: метки строкой, заголовок шире, подзаголовок в 2-3 строки, кнопки в первом экране */
@media (min-width: 768px) {
  .services { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
  .hero__main { max-width: 880px; }
  .hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); max-width: 20ch; }
  .hero__sub { max-width: 56ch; }
}
/* штамп «образец» целиком помещается на карточке-документе */
.docs--fan .doc--card .doc__stamp { font-size: 9px; left: 4px; right: auto; top: auto; bottom: 5px; padding: 0 3px; letter-spacing: 0.02em; transform: rotate(-8deg); }
.docs--fan .doc:not(.doc--card) .doc__stamp { font-size: 9px; left: 3px; right: auto; padding: 0 2px; letter-spacing: 0.02em; top: 44%; }

/* 01.12 experience cases */
.cases__title { margin-top: var(--s8); margin-bottom: var(--s5); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); list-style: none; padding: 0; margin: 0; }
.case { padding: var(--s6); border-radius: 20px; display: flex; flex-direction: column; gap: var(--s3); }
.case .mono { color: var(--gold-ink); }
.case h4 { font-size: 1.1rem; line-height: 1.3; font-weight: 600; margin: 0; }
.case p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }
