/* Сверх роли — публичный сайт. Токены из брендбука 1.1. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/site/inter-cyrillic.e1dea13a93.woff2) format('woff2-variations'), url(/site/inter-cyrillic.e1dea13a93.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/site/inter-latin.2c295d99e2.woff2) format('woff2-variations'), url(/site/inter-latin.2c295d99e2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD;
}

:root {
  --ink: #211a2d;
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --pulse: #d5f268;
  --iris: #6953c7;
  --iris-soft: #ece8f8;
  --fog: #6e6876;
  --white: #ffffff;
  --line: rgba(33, 26, 45, 0.12);
  --line-strong: rgba(33, 26, 45, 0.22);
  --ok: #2f6b45;
  --ok-soft: #e3efe6;
  --warn: #7a5a14;
  --warn-soft: #f5ecd6;
  --ink-2: #2d2540;
  --paper-dim: rgba(247, 246, 242, 0.74);
  --r-card: 16px;
  --r-btn: 12px;
  --gutter: 20px;
  --maxw: 1200px;
  color-scheme: light;
}
@media (min-width: 768px) {
  :root { --gutter: 48px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Якоря не прячутся под липкой шапкой */
[id] { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--iris); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 4px; }
.section-ink :focus-visible, .final :focus-visible, .site-footer :focus-visible { outline-color: var(--pulse); }

h1, h2, h3, .h3 { margin: 0; font-weight: 700; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(30px, 3.3vw, 40px); line-height: 1.14; }
h3, .h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }

.eyebrow {
  font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--iris); margin-bottom: 16px;
}
.section-ink .eyebrow, .final .eyebrow { color: var(--pulse); }
.lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; color: var(--ink); max-width: 38em; margin-top: 24px; }
.section-lead { font-size: 19px; line-height: 1.5; margin-top: 16px; max-width: 36em; }
.muted { color: var(--fog); margin-top: 16px; }
.fine { color: var(--fog); font-size: 15px; line-height: 1.5; margin-top: 16px; }
.demo-tag { font-size: 13px; line-height: 18px; color: var(--fog); margin-top: 12px; }
.demo-tag::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--pulse); border: 1px solid rgba(33,26,45,.35); margin-right: 8px; vertical-align: 0; }
.section-ink .demo-tag { color: var(--paper-dim); }

/* Кнопки: высота 48, радиус 12 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn);
  font: inherit; font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #372c4a; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-pulse { background: var(--pulse); color: var(--ink); }
.btn-pulse:hover { background: #c9ea4f; }
.btn-ghost-inv { background: transparent; color: var(--paper); border-color: rgba(247,246,242,.4); }
.btn-ghost-inv:hover { border-color: var(--paper); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.more { display: inline-flex; margin-top: 16px; font-weight: 600; text-decoration: none; }
.more::after { content: ''; width: 18px; height: 1px; background: currentColor; align-self: center; margin-left: 10px; transition: width .18s ease; }
.more:hover::after { width: 28px; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247,246,242,.94); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
/* Официальный логотип: 31 px в высоту = 177 px в ширину, минимум брендбука 176 px */
.logo-svg { display: block; height: 31px; width: auto; }
.site-footer .logo { color: var(--paper); }
.main-nav { display: none; align-items: center; gap: 4px; }
.main-nav > a, .drop > summary { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.main-nav > a:hover, .drop > summary:hover { background: rgba(33,26,45,.06); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.drop { position: relative; }
.drop > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.drop[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.drop-list { position: absolute; top: calc(100% + 8px); left: 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 300px; box-shadow: 0 12px 32px rgba(33,26,45,.10); }
.drop-list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.drop-list a:hover, .drop-list a[aria-current="page"] { background: var(--paper); }
.header-actions { display: none; margin-left: auto; align-items: center; gap: 16px; }
.link-quiet { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 4px; }
.link-quiet:hover { text-decoration: underline; }

.burger { margin-left: auto; }
.burger > summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; border-radius: 10px; }
.burger > summary::-webkit-details-marker { display: none; }
.burger > summary span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .18s ease; }
.burger[open] > summary span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[open] > summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.burger-panel { position: absolute; left: 0; right: 0; top: 72px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; max-height: calc(100vh - 72px); overflow: auto; }
.burger-panel ul { list-style: none; border-top: 1px solid var(--line); }
.burger-panel li a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--line); }
.burger-label { font-size: 13px; color: var(--fog); padding: 12px 0 8px; }
.burger-panel ul + ul { margin-top: 16px; }
.burger-actions { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 1024px) {
  .main-nav, .header-actions { display: flex; }
  .burger { display: none; }
}

.crumbs { font-size: 14px; color: var(--fog); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--fog); }
.crumb-sep { opacity: .6; }

/* Первый экран */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { max-width: 11.5em; }
.hero-visual { position: relative; }
.hero-pair { display: grid; gap: 20px; }
.who { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fog); margin: 0 0 8px 2px; }
@media (min-width: 640px) {
  .hero-emp { width: 84%; }
  .hero-mgr { width: 84%; margin-left: auto; margin-top: -8px; }
}
@media (min-width: 1024px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
}

/* Открытая рамка вокруг следующего действия */
.frame-hold { position: relative; padding: 14px; }
.frame { position: absolute; inset: 0; pointer-events: none; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.frame::before { content: ''; position: absolute; left: -3px; top: 0; width: 58%; height: 3px; background: var(--ink); }
.frame::after { content: ''; position: absolute; right: 0; bottom: -3px; width: 3px; height: 52%; background: var(--ink); }
.frame-hold::after { content: ''; position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; background: var(--pulse); border: 1px solid rgba(33,26,45,.18); }
@media (prefers-reduced-motion: no-preference) {
  .frame-hold::after { animation: module-in .22s ease-out .12s both; }
}
@keyframes module-in { from { transform: translate(-6px, 6px); } to { transform: none; } }

/* Карточки интерфейса (иллюстрации) */
.ui-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.ui-eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--iris); }
.ui-title { font-size: 18px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; margin-top: 6px; }
.ui-meta { color: var(--fog); font-size: 14px; margin-top: 4px; }
.ui-sub { font-size: 13px; font-weight: 600; color: var(--fog); margin-top: 16px; }
.ui-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ui-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ui-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 10px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; }
.ui-btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ui-list { list-style: none; margin-top: 8px; display: grid; gap: 8px; }
.ui-list li { display: flex; gap: 10px; align-items: baseline; }
.st { flex-shrink: 0; font-size: 12px; font-weight: 600; line-height: 16px; padding: 3px 8px; border-radius: 6px; }
.st-done { background: var(--ok-soft); color: var(--ok); }
.st-done::before { content: '✓ '; }
.st-open { background: var(--warn-soft); color: var(--warn); }
.st-open::before { content: '○ '; }
.ui-topics { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.ui-topics li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 10px; background: var(--paper); border-radius: 10px; }
.ui-add { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--iris); }
.ui-add::before { content: '+ '; }
.ui-route { list-style: none; margin-top: 14px; display: grid; gap: 0; }
.ui-route li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.ui-route .dot { width: 12px; height: 12px; border: 2px solid var(--line-strong); border-radius: 50%; }
.ui-route .done .dot { background: var(--ink); border-color: var(--ink); }
.ui-route .here .dot { background: var(--pulse); border-color: var(--ink); }
.ui-route .here span:nth-child(2) { font-weight: 650; }
.ui-tasks { list-style: none; margin-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.ui-tasks li { padding-left: 24px; position: relative; }
.ui-tasks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border: 1.5px solid var(--line-strong); border-radius: 4px; }
.ui-tasks li.done { color: var(--fog); }
.ui-tasks li.done::before { background: var(--ink); border-color: var(--ink); }
.ui-line { margin-top: 6px; }
.ui-attn-list { list-style: none; margin-top: 10px; display: grid; }
.ui-attn-list li { display: grid; grid-template-columns: 76px 1fr; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ui-who { font-weight: 650; grid-row: span 2; }
.ui-why { color: var(--fog); font-size: 14px; }
.ui-act { font-size: 14px; font-weight: 600; }
.ui-act::before { content: '→ '; color: var(--iris); }
.ui-stack { display: grid; gap: 16px; }
.ui-bar { height: 6px; background: var(--paper-2); border-radius: 3px; margin-top: 14px; overflow: hidden; }
.ui-bar span { display: block; height: 100%; background: var(--ink); }
.stack-ui { display: grid; gap: 16px; align-content: start; }

/* Секции */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 72px; }
.section-paper2 { background: var(--paper-2); }
.section-line { border-top: 1px solid var(--line); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .section-lead { color: var(--paper); }
.section-ink .muted { color: var(--paper-dim); }
.section-ink a { color: var(--pulse); }
.h2-wide { max-width: 20em; }
/* Шапка страницы и первый блок не должны разъезжаться на два полных отступа */
.hero + .section, .page-head + .section:not(.section-paper2):not(.section-ink) { padding-top: 24px; }
@media (min-width: 1024px) { .section { padding: 104px 0; } }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .split-rev > :first-child { order: 2; }
}

.ticks { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--iris); }
.section-ink .ticks li::before { background: var(--pulse); }
.ticks-no li::before { background: var(--fog); }
.ticks-lg li { font-size: 19px; }

/* Ситуации */
.cases { list-style: none; margin-top: 40px; border-top: 1px solid var(--ink); }
.cases li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.case-n { font-size: 15px; font-weight: 600; color: var(--iris); padding-top: 4px; font-variant-numeric: tabular-nums; }
.cases h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.cases p { margin-top: 8px; color: var(--fog); max-width: 34em; }
@media (min-width: 900px) {
  .cases li { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; }
  .cases li > div { display: contents; }
  .cases p { margin-top: 0; }
  .cases .more { grid-column: 3; margin-top: 8px; }
}

/* Пример в четырёх состояниях */
.demo { margin-top: 40px; }
.demo-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tabs button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 10px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.demo-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.demo-n { display: inline-grid; place-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--paper-2); color: var(--ink); font-size: 13px; font-weight: 700; }
.demo-tabs button[aria-selected="true"] .demo-n { background: var(--pulse); }
.demo-pane { display: grid; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.demo-step { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.demo-text h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; }
.demo-text p:last-child { margin-top: 12px; font-size: 18px; max-width: 30em; }
.demo-ui { max-width: 480px; }
.js .demo-tabs { display: flex; }
.demo-tabs { display: none; }
.js .demo-pane { border-top: 0; padding-bottom: 0; }
.js .demo-pane[hidden] { display: none; }
.js .demo-step { display: none; }
@media (min-width: 900px) {
  .demo-pane { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 64px; align-items: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .demo-pane:not([hidden]) { animation: pane-in .2s ease-out; }
}
@keyframes pane-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Возможности */
.feat-main { display: grid; gap: 32px; margin-top: 48px; }
.feat-main > div { border-top: 2px solid var(--ink); padding-top: 20px; }
.feat-main p { margin-top: 8px; color: var(--fog); }
@media (min-width: 900px) { .feat-main { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.feat-extra { display: grid; gap: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.feat-extra > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.feat-extra dt { font-weight: 650; }
.feat-extra dd { margin: 0; color: var(--fog); font-size: 15px; }
@media (min-width: 900px) {
  .feat-extra { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 32px; }
  .feat-extra > div { border-bottom: 0; border-left: 1px solid var(--line); padding: 0 0 0 20px; }
}

/* Старт */
.steps { list-style: none; margin-top: 32px; display: grid; gap: 0; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-size: 19px; font-weight: 500; }
.steps span { display: inline-grid; place-content: center; width: 36px; height: 36px; flex-shrink: 0; border: 2px solid var(--ink); border-radius: 10px; font-size: 15px; font-weight: 700; }
.steps li:first-child span { background: var(--pulse); }
.trust { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.plain-links { list-style: none; margin-top: 16px; display: grid; gap: 10px; }

/* Цены */
.price-table { width: 100%; border-collapse: collapse; font-size: 17px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; border-spacing: 0; }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child > * { border-bottom: 0; }
.price-table thead th { font-size: 13px; font-weight: 600; color: var(--fog); letter-spacing: .04em; text-transform: uppercase; padding-top: 14px; padding-bottom: 14px; }
.price-table tbody th { font-weight: 650; }
.price-table td { font-variant-numeric: tabular-nums; }
.pkg-note { display: block; font-weight: 400; color: var(--fog); font-size: 14px; margin-top: 2px; }
.price-table tr.is-fit { background: #fbfdf0; }
.price-table tr.is-fit th { box-shadow: inset 4px 0 0 var(--pulse); }
.price-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .price-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; } }
@media (max-width: 640px) {
  .price-table-full thead { display: none; }
  .price-table-full tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .price-table-full tbody th { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 4px; }
  .price-table-full td { border-bottom: 0; padding-top: 4px; font-size: 15px; }
  .price-table-full td:nth-of-type(1)::before { content: 'В месяц'; display: block; color: var(--fog); font-size: 13px; }
  .price-table-full td:nth-of-type(2)::before { content: 'За год'; display: block; color: var(--fog); font-size: 13px; }
}
.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: grid; gap: 12px; position: sticky; top: 96px; }
.calc label { font-weight: 500; }
.calc input[type="number"] { height: 48px; border-radius: 10px; border: 1px solid var(--line-strong); padding: 0 14px; font: inherit; font-size: 20px; font-weight: 600; width: 100%; color: var(--ink); background: var(--white); }
.calc-period { border: 0; padding: 0; margin: 0; display: flex; gap: 20px; }
.calc-period label { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; cursor: pointer; }
.calc-period input { width: 18px; height: 18px; accent-color: var(--ink); }
.calc-out { font-size: 19px; line-height: 1.45; min-height: 3em; }
.calc-out strong { font-size: 28px; letter-spacing: -0.02em; display: block; }

/* Вопросы */
.faq { display: grid; gap: 32px; margin-top: 40px; }
.faq h3 { font-size: 18px; }
.faq p { margin-top: 8px; color: var(--fog); }
@media (min-width: 800px) { .faq { grid-template-columns: repeat(2, 1fr); gap: 36px 64px; } }

/* Финальный призыв */
.final { background: var(--ink); color: var(--paper); padding: 88px 0; overflow: hidden; }
.final-grid { display: grid; gap: 40px; align-items: center; }
.final h2 { max-width: 15em; }
.final .section-lead { color: var(--paper); }
.final .fine { color: var(--paper-dim); }
.final-mark { justify-self: end; display: none; }
@media (min-width: 900px) {
  .final-grid { grid-template-columns: 1fr auto; }
  .final-mark { display: block; }
}
.final-sm { padding: 72px 0; }

/* Внутренние страницы */
.page-head { padding: 32px 0 56px; }
.page-head h1 { max-width: 14em; }
@media (min-width: 1024px) { .page-head { padding: 40px 0 72px; } }
.flow { list-style: none; counter-reset: f; margin-top: 32px; display: grid; gap: 0; }
.flow li { counter-increment: f; position: relative; padding: 0 0 28px 52px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; display: grid; place-content: center; border: 2px solid var(--ink); border-radius: 10px; font-weight: 700; font-size: 15px; }
.flow li::after { content: ''; position: absolute; left: 16px; top: 38px; bottom: 6px; width: 2px; background: var(--line-strong); }
.flow li:last-child::after { display: none; }
.flow p { margin-top: 6px; color: var(--fog); }
.roles { display: grid; gap: 24px; margin-top: 40px; }
.roles > div { background: var(--white); border-radius: var(--r-card); border: 1px solid var(--line); padding: 24px; }
.roles p { margin-top: 8px; color: var(--fog); }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.compare { display: grid; gap: 32px; margin-top: 32px; }
.compare > div { border-top: 2px solid var(--ink); padding-top: 20px; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; gap: 48px; } }
.compare-tight { margin-top: 0; }
.timeline { list-style: none; margin-top: 40px; display: grid; gap: 0; border-left: 2px solid var(--ink); }
.timeline > li { position: relative; padding: 0 0 40px 32px; }
.timeline > li::before { content: ''; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; background: var(--paper); border: 2px solid var(--ink); }
.timeline > li:first-child::before { background: var(--pulse); }
.timeline h3 { font-size: 24px; margin-top: 4px; }
.tl-when { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--iris); display: block; }
@media (min-width: 900px) {
  .timeline { border-left: 0; border-top: 2px solid var(--ink); grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .timeline > li { padding: 28px 0 0; }
  .timeline > li::before { left: 0; top: -8px; }
}
.meet-list { list-style: none; display: grid; gap: 0; }
.meet-list li { padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.meet-list li:first-child { padding-top: 0; }
.meet-list strong { display: block; margin-top: 4px; }
.two-meet { display: grid; gap: 40px; margin-top: 40px; }
.two-meet > div > p { margin: 8px 0 20px; color: var(--fog); }
.two-meet h3 { margin-top: 4px; }
.two-meet-next { border-left: 3px solid var(--pulse); padding-left: 20px; align-self: start; }
@media (min-width: 1000px) { .two-meet { grid-template-columns: 1fr 1fr 0.8fr; gap: 32px; } }
.feat-extra-4 { margin-top: 32px; }

.tpl-list { list-style: none; display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line-strong); }
.tpl-list a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; }
.tpl-list a:hover .tpl-name { text-decoration: underline; }
.tpl-name { font-weight: 650; font-size: 18px; }
.tpl-note { color: var(--fog); font-size: 15px; }
.tpl-catalog { list-style: none; display: grid; gap: 16px; }
.tpl-catalog a { position: relative; display: grid; gap: 8px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); color: var(--ink); text-decoration: none; min-height: 200px; align-content: start; transition: border-color .18s ease; }
.tpl-catalog a:hover { border-color: var(--ink); }
.tpl-catalog a::after { content: ''; position: absolute; right: 22px; top: 22px; width: 16px; height: 16px; background: var(--pulse); border: 1px solid rgba(33,26,45,.25); }
.tpl-catalog .tpl-name { font-size: 24px; letter-spacing: -0.02em; padding-right: 32px; }
.tpl-meta { font-size: 14px; color: var(--iris); font-weight: 600; margin-top: auto; padding-top: 16px; }
@media (min-width: 900px) { .tpl-catalog { grid-template-columns: repeat(3, 1fr); } }

/* Страница шаблона */
.doc { display: grid; gap: 40px; }
@media (min-width: 1000px) { .doc { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; } .doc-side { position: sticky; top: 96px; align-self: start; } }
.doc-main { display: grid; gap: 40px; max-width: 760px; }
.doc-block p { margin-top: 10px; }
.doc-goal { position: relative; padding: 28px 28px 28px 32px; }
.doc-goal .frame { border-width: 3px; }
.doc-goal::after { content: ''; position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; background: var(--pulse); border: 1px solid rgba(33,26,45,.18); }
.doc-goal .ui-eyebrow:not(:first-child) { margin-top: 18px; }
.doc-goal p:not(.ui-eyebrow) { margin-top: 6px; }
.doc-goal-text { font-size: 22px; line-height: 1.35; font-weight: 650; letter-spacing: -0.015em; }
.doc-stages { list-style: none; display: grid; gap: 28px; margin-top: -20px; }
.doc-stages > li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.stage-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.stage-head h3 { font-size: 20px; }
.stage-head .tl-when { margin-left: auto; }
.stage-n { display: inline-grid; place-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; }
.doc-stages > li > .muted { margin-top: 6px; }
.doc-tasks { list-style: none; margin-top: 16px; display: grid; gap: 0; }
.doc-tasks > li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.box { width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 5px; margin-top: 3px; }
.task-h { display: inline-block; margin-left: 10px; font-size: 13px; color: var(--fog); white-space: nowrap; }
.sub { list-style: none; margin-top: 6px; display: grid; gap: 4px; color: var(--fog); font-size: 15px; }
.sub li::before { content: '— '; }
.doc-two { display: grid; gap: 32px; }
@media (min-width: 800px) { .doc-two { grid-template-columns: 1fr 1fr; } }
.doc-side .ticks { font-size: 16px; }

/* О сервисе, безопасность */
.principles, .req, .facts { margin: 20px 0 0; display: grid; gap: 0; }
.principles > div, .facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.principles dt, .facts dt { font-weight: 650; }
.principles dd, .facts dd { margin: 4px 0 0; color: var(--fog); }
.req { grid-template-columns: auto 1fr; gap: 8px 24px; }
.req > div { display: contents; }
.req dt { color: var(--fog); }
.req dd { margin: 0; font-variant-numeric: tabular-nums; }
.facts { border-top: 1px solid var(--ink); margin-top: 0; }
@media (min-width: 900px) {
  .facts > div { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 22px 0; }
  .facts dd { margin: 0; color: var(--ink); }
}
.page-404 { padding-bottom: 104px; }

/* Подвал */
.site-footer { background: var(--ink); color: var(--paper-dim); padding: 64px 0 32px; font-size: 15px; border-top: 1px solid rgba(247,246,242,.1); }
.final + .site-footer, .final-sm + .site-footer { padding-top: 24px; }
.final + .site-footer .footer-top, .final-sm + .site-footer .footer-top { border-top: 1px solid rgba(247,246,242,.14); padding-top: 48px; }
.footer-top { display: grid; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 22em; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.footer-h { color: var(--paper); font-weight: 600; margin-bottom: 12px; }
.footer-cols ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--paper-dim); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(247,246,242,.14); font-size: 13px; }
@media (min-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 2.2fr; gap: 64px; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}

@media print {
  .site-header, .site-footer, .no-print, .crumbs, .skip { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section, .section-tight, .page-head { padding: 12pt 0; }
  .doc { display: block; }
  .doc-side { margin-bottom: 16pt; }
  .doc-stages > li { break-inside: avoid; border-color: #999; }
  .doc-goal::after, .frame-hold::after { border: 1px solid #333; }
  a { color: inherit; text-decoration: none; }
}
.more-row { margin-top: 16px; }

/* Список фактов в колонке split: всегда столбиком, как на телефоне */
.feat-extra-stack { margin-top: 0; }
@media (min-width: 900px) {
  .feat-extra.feat-extra-stack { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .feat-extra.feat-extra-stack > div { border-left: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
}

/* ===== Главная-витрина =====
   Приёмы продуктовых страниц Apple: одна мысль на экран, крупная типографика,
   интерфейс — главный визуал, движение привязано к прокрутке и объясняет смысл.
   site.js выставляет сцене [data-scene] --p (0…1) и data-stage. Класс .scenes
   на <html> ставится только при включённом JS и без «уменьшить движение»;
   без него всё показано в итоговом состоянии обычным потоком. */
.home { --ease: cubic-bezier(.28, .11, .32, 1); --hdr: 72px; }
.home main { overflow-x: clip; }
.sc { position: relative; padding: 96px 0; }
.sc-alt { background: var(--paper-2); }
.sc-eyebrow { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--iris); letter-spacing: -0.01em; margin-bottom: 14px; }
.sc-title { font-size: clamp(40px, 6vw, 80px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 700; text-wrap: balance; }
.sc-lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.42; letter-spacing: -0.012em; color: var(--fog); margin-top: 24px; max-width: 30em; }
.sc-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sc-head .sc-lead { margin-left: auto; margin-right: auto; }
.sc-more { text-align: center; margin-top: 32px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; border-radius: 14px; }
.cta-center { justify-content: center; }
.home .btn { transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.home .btn:active { transform: scale(.98); }
@media (min-width: 1024px) { .sc { padding: 160px 0; } }

/* Окно приложения. Размеры внутри — как в приложении; на узком окне меню
   прячется, колонки встают столбиком (container queries). */
.win {
  container: win / inline-size;
  width: min(1160px, calc(100vw - 2 * var(--gutter)));
  margin: 0 auto; text-align: left; color: var(--ink); font-size: 15px; line-height: 1.45;
  background: var(--white); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 0 0 1px rgba(33,26,45,.08), 0 2px 6px rgba(33,26,45,.04), 0 40px 80px -24px rgba(33,26,45,.28);
}
.win-bar { height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: #f1efe9; border-bottom: 1px solid var(--line); }
.win-dots { display: flex; gap: 7px; width: 60px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(33,26,45,.14); }
.win-url { flex: 0 1 300px; margin: 0 auto; height: 26px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12.5px; color: var(--fog); }
.win-bar::after { content: ''; width: 60px; }
.win-app { flex: 1; display: grid; grid-template-columns: 212px minmax(0, 1fr); background: var(--paper); }
.win-side { border-right: 1px solid var(--line); padding: 18px 12px; font-size: 14px; }
.win-logo { display: flex; align-items: center; gap: 9px; font-weight: 750; font-size: 17px; letter-spacing: -0.03em; padding: 0 8px 12px; }
.win-sec { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fog); padding: 14px 8px 6px; }
.win-side ul { list-style: none; display: grid; gap: 2px; }
.win-side li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; }
.win-side li svg { color: var(--fog); flex-shrink: 0; }
.win-side li.on { background: var(--white); box-shadow: inset 2px 0 0 var(--iris), 0 1px 2px rgba(33,26,45,.06); font-weight: 600; }
.win-side li.on svg { color: var(--ink); }
.win-main { padding: 24px 32px 32px; min-width: 0; }
.win-head { padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.win-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fog); }
.win-h { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin-top: 4px; }
.win-desc { color: var(--fog); font-size: 14px; margin-top: 4px; }
@container win (max-width: 640px) {
  .win-app { grid-template-columns: minmax(0, 1fr); }
  .win-side { display: none; }
  .win-main { padding: 18px 16px 20px; }
  .win-h { font-size: 21px; }
  .win-head { padding-bottom: 14px; margin-bottom: 14px; }
}

.ws-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.ws-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; }
.ws-col { display: grid; gap: 16px; align-content: start; }
.ws-label { font-size: 13px; font-weight: 600; color: var(--fog); }
.ws-title { font-size: 20px; line-height: 1.28; font-weight: 700; letter-spacing: -0.018em; margin-top: 6px; }
.ws-title-sm { font-size: 16px; }
.ws-focus { padding: 22px 24px; box-shadow: 0 0 0 1.5px var(--ink), 0 18px 40px -20px rgba(33,26,45,.35); border-color: transparent; }
.ws-focus .ws-title { font-size: 23px; max-width: 16em; }
.ws-frame { position: absolute; top: -9px; right: -9px; width: 22px; height: 22px; background: var(--pulse); border: 1px solid rgba(33,26,45,.2); }
.ws-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.ws-due { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: var(--iris-soft); color: var(--iris); margin-right: auto; }
.ws-todo { list-style: none; display: grid; gap: 10px; margin-top: 12px; font-size: 14px; }
.ws-todo li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.ws-todo .ui-meta { margin: 0; font-size: 13px; }
.ws-box { width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 5px; margin-top: 2px; }
.ws-todo li.done { color: var(--fog); }
.ws-todo li.done .ws-box { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--white); }
.ws-topics { list-style: none; display: grid; gap: 6px; margin-top: 12px; font-size: 14px; }
.ws-topics li { padding: 8px 10px; background: var(--paper); border-radius: 9px; }
.ws-list { list-style: none; display: grid; gap: 12px; margin-top: 12px; font-size: 14px; }
.ws-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: baseline; }
.ws-list .ui-meta { margin: 0; font-size: 13px; }
.ws-agenda { list-style: none; display: grid; gap: 8px; margin-top: 12px; font-size: 14px; }
.ws-agenda li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 9px 12px; background: var(--paper); border-radius: 10px; }
.ws-add { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--ok); }
.ws-add::before { content: '✓ '; }
@container win (max-width: 700px) {
  .ws-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-focus .ws-title { font-size: 20px; }
}

/* Первый экран: заголовок, затем окно приложения поднимается и занимает экран */
.sc-hero { padding: 56px 0 80px; text-align: center; }
.sc-hero h1 { font-size: clamp(46px, 7.4vw, 108px); line-height: .98; letter-spacing: -0.05em; max-width: 9.5em; margin: 0 auto; }
.sc-hero .sc-lead { margin: 28px auto 0; max-width: 26em; }
.sc-hero .cta-row { margin-top: 36px; }
@media (max-width: 599px) { .sc-hero .cta-row .btn { width: min(100%, 300px); } }
.sc-hero-vis { margin-top: 64px; }
.sc-hero-vis .demo-tag, .sc-rise .demo-tag { text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .sc-hero-text > * { animation: sc-rise 1.1s cubic-bezier(.28, .11, .32, 1) both; }
  .sc-hero-text > :nth-child(2) { animation-delay: .08s; }
  .sc-hero-text > :nth-child(3) { animation-delay: .18s; }
  .sc-hero-text > :nth-child(4) { animation-delay: .26s; }
  .sc-hero-text > :nth-child(5) { animation-delay: .32s; }
  .sc-hero-vis .win { animation: sc-rise-far 1.5s cubic-bezier(.28, .11, .32, 1) .4s both; }
}
@keyframes sc-rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes sc-rise-far { from { opacity: 0; transform: translateY(90px) scale(.96); } }
@media (min-width: 768px) and (min-height: 640px) {
  .scenes .sc-hero { height: 250vh; padding: 0; --h: min(1, calc(var(--p, 0) * 1.5)); }
  .scenes .sc-hero .sc-pin { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); overflow: hidden; }
  .scenes .sc-hero-text { padding-top: 6vh; opacity: calc(1 - var(--h) * 2.2); transform: translateY(calc(var(--h) * -12vh)) scale(calc(1 - var(--h) * .06)); }
  .scenes .sc-hero-vis { position: absolute; left: 0; right: 0; top: 0; margin: 0; transform-origin: 50% 0;
    transform: translateY(calc(max(66vh, 540px) * (1 - var(--h)) + 9vh * var(--h))) scale(calc(.82 + var(--h) * .18)); }
  .scenes .sc-hero-vis .demo-tag { opacity: var(--h); }
}

/* Цель → шаги → одно действие → выполнено (сцена со стадиями) */
.sc-split { display: grid; gap: 40px; align-items: center; }
.sc-caps { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.sc-caps li { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.42; letter-spacing: -0.012em; color: var(--fog); max-width: 22em; padding-left: 18px; border-left: 2px solid var(--line-strong); }
@media (min-width: 1024px) {
  .sc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; }
  .sc-split .sc-title { font-size: clamp(44px, 4.2vw, 62px); }
}
.sv { display: grid; gap: 14px; max-width: 600px; width: 100%; margin: 0 auto; }
.sc-vis .demo-tag { max-width: 600px; margin-left: auto; margin-right: auto; }
.sv-goal { background: var(--white); border: 1.5px dashed var(--line-strong); border-radius: 18px; padding: 20px 24px; transform-origin: 50% 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.sv-goal-t { font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-top: 6px; }
.sv-steps { list-style: none; display: grid; gap: 10px; }
.sv-step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px;
  transition: opacity .7s var(--ease), transform .8s var(--ease), box-shadow .6s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.sv-step-t { display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
.sv-n { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: 13px; font-weight: 700; transition: background-color .6s var(--ease); }
.sv-more { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .8s var(--ease); }
.sv-more > div { overflow: hidden; padding-left: 36px; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-bottom: 2px; }
.sv-first { border-color: transparent; box-shadow: 0 0 0 1.5px var(--ink), 0 22px 44px -22px rgba(33,26,45,.4); }
.sv-first .sv-n { background: var(--pulse); }
.sv-first .ws-frame { transition: transform .7s var(--ease), opacity .7s var(--ease); }
.sv-done { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.sv-check { display: inline-block; width: 0; overflow: hidden; transition: width .5s var(--ease); }
.sv-check::before { content: '✓'; }
@media (min-height: 620px) {
  .scenes .sc-step { height: 380vh; padding: 0; }
  .scenes .sc-step .sc-pin { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); display: grid; align-items: center; overflow: hidden; }
  .scenes .sc-caps { display: grid; gap: 0; }
  .scenes .sc-caps li { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); color: var(--ink); border-left-color: var(--ink); transition: opacity .6s var(--ease), transform .7s var(--ease); }
  .scenes .sc-step[data-stage="0"] .sc-caps li:nth-child(1),
  .scenes .sc-step[data-stage="1"] .sc-caps li:nth-child(2),
  .scenes .sc-step[data-stage="2"] .sc-caps li:nth-child(3),
  .scenes .sc-step[data-stage="3"] .sc-caps li:nth-child(4) { opacity: 1; transform: none; }
  .scenes .sc-step[data-stage="0"] .sv-goal { transform: translateY(96px) scale(1.06); }
  .scenes .sc-step[data-stage="0"] .sv-step { opacity: 0; transform: translateY(28px); transition-delay: 0s; }
  .scenes .sc-step:is([data-stage="1"], [data-stage="2"], [data-stage="3"]) .sv-goal { opacity: .5; transform: scale(.96); }
  .scenes .sc-step:is([data-stage="0"], [data-stage="1"]) .sv-more { grid-template-rows: 0fr; }
  .scenes .sc-step:is([data-stage="0"], [data-stage="1"]) .sv-first { box-shadow: 0 0 0 1px var(--line); }
  .scenes .sc-step:is([data-stage="0"], [data-stage="1"]) .sv-first .sv-n { background: var(--paper-2); }
  .scenes .sc-step:is([data-stage="0"], [data-stage="1"]) .sv-first .ws-frame { opacity: 0; transform: translate(-10px, 10px); }
  .scenes .sc-step:is([data-stage="2"], [data-stage="3"]) .sv-step:not(.sv-first) { opacity: .4; transition-delay: 0s; }
  .scenes .sc-step[data-stage="3"] .sv-done { background: var(--pulse); color: var(--ink); border-color: var(--ink); }
  .scenes .sc-step[data-stage="3"] .sv-check { width: 1.2em; }
}
@media (min-height: 620px) and (max-width: 1023px) {
  .scenes .sc-step .sc-split { gap: 24px; }
  .scenes .sc-step .sc-title { font-size: clamp(34px, 8.6vw, 56px); }
  .scenes .sc-step .sc-caps { margin-top: 16px; }
  .scenes .sc-step[data-stage="0"] .sv-goal { transform: translateY(40px) scale(1.04); }
}

/* Окно поднимается навстречу, пока доходит до середины экрана */
.sc-rise { margin-top: 64px; }
.scenes .sc-rise { --r: min(1, calc(var(--p, 0) * 1.4)); }
.scenes .sc-rise .win { transform-origin: 50% 0; opacity: calc(.25 + var(--r) * .75); transform: translateY(calc((1 - var(--r)) * 90px)) scale(calc(.9 + var(--r) * .1)); }
@media (min-width: 1024px) { .sc-rise { margin-top: 88px; } }

/* Линия между встречами */
.bt-rail { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 13px; font-weight: 600; }
.bt-node { display: grid; gap: 1px; }
.bt-node small { font-weight: 500; color: var(--fog); font-size: 12px; }
.bt-now { text-align: right; }
.bt-line { position: relative; height: 4px; border-radius: 2px; background: var(--paper-2); }
.bt-fill { position: absolute; inset: 0; background: var(--ink); border-radius: inherit; transform-origin: left; }
.bt-line i { position: absolute; left: var(--x); top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--pulse); border: 2px solid var(--ink); }
.scenes .sc-rise .bt-fill { transform: scaleX(clamp(0, calc((var(--p, 0) - .3) * 1.8), 1)); }
.bt-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@container win (max-width: 700px) {
  .bt-cols { grid-template-columns: minmax(0, 1fr); }
  .bt-node small { display: none; }
}

/* Команда: только те, кому нужна помощь */
.tm { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tm-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 18px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.tm-row:first-child { border-top: 0; }
.tm-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.tm-ava.tm-warn { background: var(--warn-soft); color: var(--warn); }
.tm-ava.tm-info { background: var(--iris-soft); color: var(--iris); }
.tm-who { display: grid; }
.tm-who small, .tm-plan small { color: var(--fog); font-size: 12.5px; }
.tm-plan .ui-bar { margin-top: 6px; height: 5px; }
.tm-why { font-size: 13px; font-weight: 600; line-height: 1.35; padding: 5px 10px; border-radius: 8px; justify-self: start; }
.tm-why.tm-warn { background: var(--warn-soft); color: var(--warn); }
.tm-why.tm-info { background: var(--iris-soft); color: var(--iris); }
.tm-act { min-height: 34px; font-size: 13px; }
.tm-rest { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 4px; color: var(--fog); font-size: 14px; }
.tm-avas { display: flex; }
.tm-avas i { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--paper); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: var(--fog); margin-left: -8px; }
.tm-avas i:first-child { margin-left: 0; }
@container win (max-width: 760px) {
  .tm-row { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; }
  .tm-plan { display: none; }
  .tm-why, .tm-act { grid-column: 2; }
  .tm-act { justify-self: start; }
}

/* Появление по мере прокрутки */
.scenes [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 100ms); }
.scenes [data-reveal].is-in { opacity: 1; transform: none; }

/* «Иногда нужно посмотреть шире»: тёмная сетка плиток */
.sc-dark { background: var(--ink); color: var(--paper); }
.sc-dark .sc-lead { color: rgba(247,246,242,.72); }
.sc-dark .demo-tag { color: var(--paper-dim); text-align: center; margin-top: 28px; }
.sc-dark :focus-visible { outline-color: var(--pulse); }
.bento { display: grid; gap: 16px; margin-top: 64px; }
.tile { background: var(--ink-2); border-radius: 28px; padding: 32px 28px; display: flex; flex-direction: column; overflow: hidden; }
.tile-eyebrow { color: var(--pulse); font-weight: 600; font-size: 15px; }
.tile-title { font-size: clamp(25px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.032em; margin-top: 10px; max-width: 15em; }
.tile-text { color: rgba(247,246,242,.72); margin-top: 14px; font-size: 16px; line-height: 1.5; max-width: 30em; }
.tile .more { color: var(--pulse); margin-top: auto; padding-top: 28px; }
.tile-vis { margin: 32px auto 0; width: 100%; max-width: 560px; }
@media (min-width: 1024px) {
  .bento { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 20px; margin-top: 88px; }
  .tile { padding: 40px; }
  .tile-360 { grid-row: span 2; }
}
.rd { width: 100%; height: auto; }
.rd-ring { fill: none; stroke: rgba(247,246,242,.14); stroke-width: 1; }
.rd-self { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-dasharray: 5 5; stroke-linejoin: round; }
.rd-others { fill: rgba(213,242,104,.2); stroke: var(--pulse); stroke-width: 2.2; stroke-linejoin: round; }
.rd-label text { fill: rgba(247,246,242,.72); font-size: 15px; font-family: inherit; }
.rd-shape { transform-box: fill-box; transform-origin: 50% 50%; }
.rd-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; font-size: 14px; color: rgba(247,246,242,.72); margin-top: 8px; }
.rd-k { width: 20px; height: 3px; margin-left: 14px; }
.rd-k-others { background: var(--pulse); margin-left: 0; }
.rd-k-self { background: repeating-linear-gradient(90deg, var(--paper) 0 5px, transparent 5px 9px); }
.scenes .tile-360 .rd-shape { transform: scale(.15); opacity: 0; transition: transform 1.6s var(--ease) .35s, opacity .9s var(--ease) .35s; }
.scenes .tile-360.is-in .rd-shape { transform: none; opacity: 1; }
.chain2 { list-style: none; display: grid; gap: 26px; margin-top: 28px; }
.chain2 li { position: relative; background: rgba(247,246,242,.06); border: 1px solid rgba(247,246,242,.12); border-radius: 16px; padding: 14px 18px; font-weight: 600; font-size: 17px; display: grid; gap: 2px; }
.chain2 small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pulse); }
.chain2 li + li::before { content: ''; position: absolute; left: 28px; top: -22px; width: 2px; height: 18px; background: var(--pulse); transform-origin: top; }
.scenes .tile-okr .chain2 li { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.scenes .tile-okr .chain2 li::before { transform: scaleY(0); transition: transform .5s var(--ease); }
.scenes .tile-okr.is-in .chain2 li, .scenes .tile-okr.is-in .chain2 li::before { opacity: 1; transform: none; }
.scenes .tile-okr .chain2 li:nth-child(1) { transition-delay: .4s; }
.scenes .tile-okr .chain2 li:nth-child(2), .scenes .tile-okr .chain2 li:nth-child(2)::before { transition-delay: .75s; }
.scenes .tile-okr .chain2 li:nth-child(3), .scenes .tile-okr .chain2 li:nth-child(3)::before { transition-delay: 1.1s; }
.ai-card { margin-top: 24px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.45; }
.ai-q { color: var(--fog); }
.scenes .tile-ai .ai-line { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.scenes .tile-ai.is-in .ai-line { opacity: 1; transform: none; }
.scenes .tile-ai .ai-line:nth-of-type(2) { transition-delay: .6s; }
.scenes .tile-ai .ai-line:nth-of-type(3) { transition-delay: 1.1s; }

/* Путь одного человека: слева шаги, справа одно окно меняет состояние */
.pth { display: grid; gap: 40px; }
.pth-steps { list-style: none; margin-top: 44px; display: grid; gap: 32px; position: relative; }
.pth-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; position: relative; }
.pth-n { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--paper); position: relative; z-index: 1; transition: background-color .5s var(--ease); }
.pth-body h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; padding-top: 5px; }
.pth-more { display: grid; grid-template-rows: 1fr; }
.pth-more > div { overflow: hidden; }
.pth-more p { color: var(--fog); margin-top: 6px; max-width: 26em; }
.pth-inline { margin-top: 18px; max-width: 640px; }
.pth-vis { display: none; }
@media (min-width: 1024px) and (min-height: 700px) {
  .scenes .sc-path { height: 460vh; padding: 0; }
  .scenes .sc-path .sc-pin { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); display: grid; align-items: center; overflow: hidden; }
  .scenes .pth { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; align-items: center; }
  .scenes .pth .sc-title { font-size: clamp(38px, 3.6vw, 54px); }
  .scenes .pth-inline { display: none; }
  .scenes .pth-steps { gap: 4px; margin-top: 36px; }
  .scenes .pth-steps::before, .scenes .pth-steps::after { content: ''; position: absolute; z-index: 0; left: 17px; top: 26px; bottom: 26px; width: 2px; background: var(--line); }
  .scenes .pth-steps::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .scenes .pth-step { padding: 8px 0; z-index: 1; }
  .scenes .pth-body { opacity: .38; transition: opacity .5s var(--ease); }
  .scenes .pth-n { color: var(--fog); border-color: var(--line-strong); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
  .scenes .pth-more { grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
  .scenes .sc-path[data-stage="0"] .pth-step:nth-child(1) .pth-body,
  .scenes .sc-path[data-stage="1"] .pth-step:nth-child(2) .pth-body,
  .scenes .sc-path[data-stage="2"] .pth-step:nth-child(3) .pth-body,
  .scenes .sc-path[data-stage="3"] .pth-step:nth-child(4) .pth-body,
  .scenes .sc-path[data-stage="4"] .pth-step:nth-child(5) .pth-body { opacity: 1; }
  .scenes .sc-path[data-stage="0"] .pth-step:nth-child(1) .pth-more,
  .scenes .sc-path[data-stage="1"] .pth-step:nth-child(2) .pth-more,
  .scenes .sc-path[data-stage="2"] .pth-step:nth-child(3) .pth-more,
  .scenes .sc-path[data-stage="3"] .pth-step:nth-child(4) .pth-more,
  .scenes .sc-path[data-stage="4"] .pth-step:nth-child(5) .pth-more { grid-template-rows: 1fr; }
  .scenes .sc-path[data-stage="0"] .pth-step:nth-child(1) .pth-n,
  .scenes .sc-path[data-stage="1"] .pth-step:nth-child(2) .pth-n,
  .scenes .sc-path[data-stage="2"] .pth-step:nth-child(3) .pth-n,
  .scenes .sc-path[data-stage="3"] .pth-step:nth-child(4) .pth-n,
  .scenes .sc-path[data-stage="4"] .pth-step:nth-child(5) .pth-n { background: var(--pulse); color: var(--ink); border-color: var(--ink); }
  .scenes .pth-vis { display: block; }
  .pth-stack { display: grid; }
  .pth-win { grid-area: 1 / 1; width: 100%; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .6s var(--ease), transform .9s var(--ease); }
  .pth-win .win-main { min-height: 470px; }
  .scenes .sc-path[data-stage="0"] .pth-win:nth-child(1),
  .scenes .sc-path[data-stage="1"] .pth-win:nth-child(2),
  .scenes .sc-path[data-stage="2"] .pth-win:nth-child(3),
  .scenes .sc-path[data-stage="3"] .pth-win:nth-child(4),
  .scenes .sc-path[data-stage="4"] .pth-win:nth-child(5) { opacity: 1; transform: none; }
  .pth-vis .demo-tag { text-align: center; }
}
.pc-bars { display: grid; gap: 12px; margin-top: 18px; font-size: 14px; }
.pc-bars p { display: grid; grid-template-columns: 96px minmax(0, 1fr) 32px; gap: 12px; align-items: center; }
.pc-bar { height: 10px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.pc-bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.pc-bar-o i { background: var(--iris); }

.sc-topics { padding: 24px 0 112px; }
.topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
.topics a { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.topics a:hover { background: var(--white); border-color: var(--ink); }

/* Цена крупно */
.pk { list-style: none; display: grid; gap: 12px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pk li { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; display: grid; gap: 4px; align-content: start; }
.pk-who { font-weight: 600; font-size: 15px; color: var(--fog); }
.pk-price { font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.035em; margin-top: 14px; }
.pk-per { font-size: 14px; color: var(--fog); }
.sc-price .cta-row { margin-top: 48px; }
.trust-line { text-align: center; margin: 28px auto 0; max-width: 42em; color: var(--fog); font-size: 15px; }

.final-home { padding: 128px 0; text-align: center; }
.final-center { display: flex; flex-direction: column; align-items: center; }
.final-home .final-mark { display: block; margin-bottom: 40px; }
.final-home h2 { max-width: 12em; }
.final-home .sc-lead { color: rgba(247,246,242,.72); margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .final-home { padding: 176px 0; } }

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { transition: none !important; animation: none !important; }
}
