/* Страница практикума, собранная заново (11.10): порядок блоков из docs/storm-site-rethink-2026-10-11.md.
   Язык: бумага в клетку, почти чёрный, один жёлтый. Светлые и тёмные блоки чередуются.
   Роботы стоят только на светлых блоках: ролики сняты на белом и кладутся на бумагу через mix-blend-mode:multiply.
   Первый экран и верстак оформлены в ask.css, он подключается после этого файла. */
:root {
  --ink:#17171a; --muted:#5d5b55; --paper:#f7f6f2; --grid:#e9e7df;
  --card:#ffffff; --yellow:#ffcf00; --soft:#fff6cc; --line:#17171a;
  --ease:cubic-bezier(.16,1,.3,1);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:clip; }
body {
  margin:0; color:var(--ink); background-color:var(--paper);
  background-image:linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:24px 24px;
  font:18px/1.55 "Onest","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
}
.wrap { max-width:1160px; margin:0 auto; padding:0 24px; }
a { color:inherit; }
h1,h2,h3 { font-weight:800; letter-spacing:-.025em; margin:0; }
h1 { font-size:clamp(34px,4.6vw,60px); line-height:1.04; }
h2 { font-size:clamp(30px,4vw,54px); line-height:1.06; margin-bottom:18px; text-wrap:balance; }
h3 { font-size:21px; line-height:1.25; letter-spacing:-.01em; margin-bottom:8px; }
p { margin:0 0 14px; }
.sub { color:var(--muted); font-size:20px; }
.eyebrow { display:inline-flex; align-items:center; gap:10px; font-size:14px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); margin-bottom:18px; }
.eyebrow b { background:var(--yellow); color:var(--ink); border:1.5px solid var(--line); border-radius:8px; padding:2px 9px; letter-spacing:0; }

/* шапка и линия прогресса */
.nav { position:sticky; top:0; z-index:10; background:rgba(247,246,242,.94); border-bottom:1.5px solid var(--line); }
.nav .wrap { display:flex; align-items:center; gap:22px; height:62px; }
.nav .brand { font-weight:800; margin-right:auto; text-decoration:none; letter-spacing:-.01em; }
.nav .link { text-decoration:none; font-size:16px; color:var(--muted); white-space:nowrap; }
@media (min-width:901px) { .nav .brand { white-space:nowrap; } }
@media (max-width:1100px) { .nav .wrap { gap:16px; } .nav .link { font-size:15px; } }
.nav .link:hover { color:var(--ink); }
.progress { position:absolute; left:0; right:0; bottom:-4px; height:3px; pointer-events:none; }
.progress span { display:block; height:100%; background:var(--yellow); transform:scaleX(0); transform-origin:0 50%; }

.btn {
  display:inline-block; background:var(--yellow); color:var(--ink);
  border:1.5px solid var(--line); border-radius:999px; padding:13px 26px;
  font-weight:600; text-decoration:none; box-shadow:0 3px 0 var(--line);
  transition:transform .12s, box-shadow .12s;
}
.btn:hover { transform:translateY(2px); box-shadow:0 1px 0 var(--line); }
.btn.small { padding:8px 18px; font-size:16px; box-shadow:0 2px 0 var(--line); }
.btn.ghost { background:var(--card); }
.actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.card { background:var(--card); border:1.5px solid var(--line); border-radius:18px; padding:24px; }
.card p:last-child { margin-bottom:0; }

section { padding:96px 0; }
.hero { padding:56px 0 64px; }
.stage { position:relative; width:100%; max-width:520px; aspect-ratio:1; margin:0 auto; pointer-events:none; }
/* под роликом клетка мягко гаснет: иначе multiply печатает её поверх белых корпусов */
.stage::before { content:""; position:absolute; z-index:-1; inset:-6%; background:radial-gradient(closest-side, var(--paper) 0 74%, transparent 100%); }
.stage video { position:absolute; inset:0; width:100%; height:100%; display:block; mix-blend-mode:multiply; }
.stage.zoom video { transform:scale(1.25); }

/* тёмный блок */
.dark { background:var(--ink); color:#f7f6f2; background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size:24px 24px; }
.dark .sub, .dark .eyebrow { color:#b5b3ab; }
.dark .card { color:var(--ink); }

/* Как это работает: слева реплики человека, справа то, что от них получается. Примеры (.how-case) идут по очереди:
   сайт, бот, сервис с цифрами, разбор данных. Шаг примера лежит в data-step (0 пусто, 1–3 после каждой реплики), его ведёт v3.js;
   при «меньше движения» стоит готовый итог, примеры переключаются кнопками */
.how-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-top:40px; }
.how-tab { font:600 16px/1 "Onest","Segoe UI",system-ui,sans-serif; color:#b5b3ab; cursor:pointer; background:none; border:1.5px solid #3a3a41; border-radius:999px; padding:10px 18px; transition:color .2s, background .2s, border-color .2s; }
.how-tab:hover { color:#f7f6f2; }
.how-tab.on { color:var(--ink); background:var(--yellow); border-color:var(--yellow); }
.how { margin-top:24px; min-height:500px; }
.how-case { display:grid; grid-template-columns:minmax(0,.85fr) auto minmax(0,1.15fr); gap:28px; align-items:start; }
.js .how-case:not(.on) { display:none; }
.how-case.on { animation:how-in .29s var(--ease) backwards; }
@keyframes how-in { from { opacity:0; transform:translateY(14px); } }
.how-case + .how-case { margin-top:40px; }
.how-chat { display:grid; gap:12px; align-content:start; padding-top:8px; }
.how-who { font-size:14px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:#8d8b85; }
.how-msg { margin:0; justify-self:start; max-width:100%; background:#26262b; border:1.5px solid #3a3a41; border-radius:18px 18px 18px 4px; padding:14px 18px; font-size:20px; line-height:1.3; font-weight:500; min-height:1.3em; }
.how-msg.typing::after { content:""; display:inline-block; width:9px; height:1em; margin-left:3px; background:var(--yellow); vertical-align:-2px; animation:how-blink .9s steps(1) infinite; }
.js .how-msg:not(.shown) { display:none; }
.how-msg.done { border-color:var(--yellow); }
.how-busy { display:flex; align-items:center; gap:6px; color:#8d8b85; font-size:16px; visibility:hidden; }
.how-case.busy .how-busy { visibility:visible; }
.how-busy i { width:7px; height:7px; border-radius:50%; background:var(--yellow); animation:how-dot 1s ease-in-out infinite; }
.how-busy i:nth-child(2) { animation-delay:.15s; } .how-busy i:nth-child(3) { animation-delay:.3s; margin-right:4px; }
@keyframes how-blink { 50% { opacity:0; } }
@keyframes how-dot { 0%, 60%, 100% { opacity:.25; transform:none; } 30% { opacity:1; transform:translateY(-3px); } }
.how-arrow { align-self:center; font-size:44px; font-weight:800; color:var(--yellow); line-height:1; }

/* деталь результата: до своей реплики её на экране нет вовсе, после встаёт с толчком и сдвигает остальное.
   Пока не было ни одной реплики, экран пустой (.how-empty) */
.js .hp:not(.in) { display:none; }
.hp.in { animation:thud .21s cubic-bezier(.3,1.5,.5,1) backwards; }
.how-empty { display:none; place-items:center; justify-self:stretch; min-height:300px; color:#8d8b85; font:15px "Onest","Segoe UI",system-ui,sans-serif; }
.js .how-case[data-step="0"] .how-empty { display:grid; }
@keyframes thud { from { opacity:0; transform:translateY(-18px) scale(1.03); } 60% { opacity:1; transform:translateY(2px) scale(.995); } to { opacity:1; transform:none; } }

/* пример 1: окно браузера со страницей мастер-класса */
.how-screen { display:flex; flex-direction:column; min-height:520px; background:#fff; color:var(--ink); border-radius:18px; overflow:hidden; box-shadow:0 8px 0 #000, 0 0 0 1.5px #3a3a41; }
.how-screen .how-page { flex:1; }
.how-bar { display:flex; align-items:center; gap:6px; padding:10px 14px; background:#efeee9; border-bottom:1.5px solid var(--ink); font-size:13px; color:var(--muted); }
.how-bar i { width:10px; height:10px; border-radius:50%; background:#d0cec6; }
.how-bar i:first-child { background:var(--yellow); }
.how-bar span { margin-left:8px; background:#fff; border-radius:999px; padding:2px 12px; }
.how-page { --hp-bg:#fff; --hp-acc:var(--ink); --hp-ink:var(--ink); --hp-soft:#f1f0ec; display:grid; gap:16px; align-content:start; padding:16px 22px 22px; background:var(--hp-bg); color:var(--hp-ink); transition:background .34s, color .34s; }
.how-case[data-step="3"] .how-page { --hp-bg:#f6e8dc; --hp-acc:#b9532b; --hp-ink:#43210f; --hp-soft:#ecd6c4; }
.hs-nav { display:flex; align-items:center; gap:16px; font-size:13px; padding:6px 0; }
.hs-nav b { font-size:16px; font-weight:800; letter-spacing:-.01em; margin-right:auto; }
.hs-nav span { opacity:.7; }
.hs-hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:18px; align-items:stretch; }
.hs-copy { display:grid; gap:10px; justify-items:start; align-content:center; }
.hs-tag { font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; background:var(--hp-soft); border-radius:999px; padding:5px 11px; transition:background .34s; }
.hp-title { font-size:27px; font-weight:800; letter-spacing:-.025em; line-height:1.08; }
.hp-text { font-size:15px; line-height:1.4; opacity:.85; }
.hp-dates { display:flex; gap:6px; }
.hp-dates span { border:1.5px solid currentColor; border-radius:999px; padding:5px 12px; font-size:14px; font-weight:600; }
.hp-dates .pick { background:var(--hp-acc); border-color:var(--hp-acc); color:#fff; transition:background .34s, border-color .34s; }
.hs-cta { display:flex; align-items:center; gap:14px; }
.hp-btn { padding:11px 22px; border-radius:999px; font-weight:700; font-size:16px; background:var(--hp-acc); color:#fff; transition:background .34s; }
.hs-price { font-size:19px; font-weight:800; }
.hs-photo { min-height:200px; border-radius:16px; overflow:hidden; }
.hs-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.hs-works { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.hs-works .hp { aspect-ratio:1.5; border-radius:12px; overflow:hidden; }
.hs-works img { display:block; width:100%; height:100%; object-fit:cover; }
/* до третьей реплики это сайт-черновик: целый, но кривой. Шрифт по умолчанию, синие ссылки, серые места под фото,
   угловатые кнопки. Третья реплика снимает черновой вид и открывает фото */
.hs-photo, .hs-works .hp { position:relative; background:#e3e1da; }
.hs img { transition:opacity .34s; }
.js .how-case:not([data-step="3"]) .hs { font-family:"Times New Roman",Times,serif; }
.js .how-case:not([data-step="3"]) .hs img { opacity:0; }
.js .how-case:not([data-step="3"]) .hs :is(.hs-photo, .hs-works .hp) { border-radius:0; border:1.5px solid #b5b3ab; }
.js .how-case:not([data-step="3"]) .hs :is(.hs-photo, .hs-works .hp)::after { content:"фото"; position:absolute; inset:0; display:grid; place-items:center; color:#8d8b85; font-size:14px; }
.js .how-case:not([data-step="3"]) .hs .hs-nav span { opacity:1; color:#1a3fd0; text-decoration:underline; }
.js .how-case:not([data-step="3"]) .hs .hp-title { font-weight:700; letter-spacing:0; }
.js .how-case:not([data-step="3"]) .hs .hs-tag { background:none; padding:0; letter-spacing:0; text-transform:none; font-size:14px; font-weight:400; }
.js .how-case:not([data-step="3"]) .hs .hp-dates span { border-radius:3px; border-width:1px; font-weight:400; }
.js .how-case:not([data-step="3"]) .hs .hp-dates .pick { background:#d9d7cf; border-color:var(--ink); color:var(--ink); }
.js .how-case:not([data-step="3"]) .hs .hp-btn { border-radius:3px; background:#e9e8e3; color:var(--ink); border:1px solid #6f6d68; font-weight:400; padding:7px 14px; }
.js .how-case:not([data-step="3"]) .hs .hs-price { font-weight:400; }

/* пример 2: телефон с ботом */
.how-phone { justify-self:center; width:min(340px,100%); background:#e8ece6; color:var(--ink); border:10px solid #000; border-radius:40px; overflow:hidden; box-shadow:0 0 0 1.5px #3a3a41; }
.hb-top { display:flex; align-items:center; gap:10px; padding:12px 14px; background:#fff; border-bottom:1px solid #d9dcd6; }
.hb-top i { font-style:normal; width:38px; height:38px; border-radius:50%; background:var(--yellow); display:grid; place-items:center; font-size:20px; }
.hb-top b { display:block; font-size:16px; line-height:1.2; }
.hb-top small { color:var(--muted); font-size:13px; }
.hb-feed { display:grid; gap:8px; align-content:start; justify-items:start; padding:12px 12px 18px; min-height:380px; }
.hb-day { justify-self:center; font-size:12px; color:var(--muted); background:rgba(255,255,255,.7); border-radius:999px; padding:2px 10px; }
.hb-msg { position:relative; max-width:88%; background:#fff; border-radius:16px 16px 16px 4px; padding:9px 12px 20px; font-size:15px; line-height:1.4; box-shadow:0 1px 1px rgba(0,0,0,.08); }
.hb-msg small { position:absolute; right:10px; bottom:5px; font-size:11px; color:#8d8b85; }
.hb-keys { display:grid; grid-template-columns:1fr 1fr; gap:6px; width:88%; }
.hb-keys span { text-align:center; font-size:14px; font-weight:600; background:rgba(255,255,255,.75); border:1.5px solid rgba(23,23,26,.25); border-radius:10px; padding:8px 6px; }
.hb-keys .pick { background:var(--yellow); border-color:var(--ink); }

/* пример 3: учёт расходов. Шаг 1 список трат, шаг 2 категории и итог, шаг 3 график */
.hx { --hp-bg:#fff; --hp-ink:var(--ink); gap:12px; }
.how-case[data-step="3"] .hx { --hp-bg:#fff; --hp-acc:var(--ink); --hp-ink:var(--ink); --hp-soft:#f1f0ec; }
.hx .c1 { --c:#ffd84a; } .hx .c2 { --c:#ff9d7a; } .hx .c3 { --c:#8fb0ff; } .hx .c4 { --c:#7fd6a4; }
.hx-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; min-height:44px; }
.hx-total { font-size:24px; font-weight:800; letter-spacing:-.02em; line-height:1.1; text-align:right; }
.hx-total small { display:block; font-size:12px; font-weight:600; letter-spacing:0; color:var(--muted); }
.hx-chart { display:grid; gap:7px; padding:12px 14px; background:#f6f5f1; border-radius:14px; }
.hx-chart div { display:grid; grid-template-columns:88px minmax(0,1fr) 78px; align-items:center; gap:10px; font-size:13px; }
.hx-chart i { height:14px; width:var(--w); border-radius:999px; background:var(--c); border:1.5px solid var(--ink); transform-origin:left; animation:hx-grow .4s var(--ease) .11s backwards; }
.hx-chart b { text-align:right; font-weight:700; }
@keyframes hx-grow { from { transform:scaleX(0); } }
.hx-add { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto; gap:6px; font-size:14px; }
.hx-add span { border:1.5px solid #cfcdc5; border-radius:10px; padding:8px 12px; color:#8d8b85; }
.hx-add b { background:var(--ink); color:#fff; border-radius:10px; padding:8px 14px; font-weight:700; }
.hx-list { display:grid; }
.hx-row { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid #e6e4dd; font-size:15px; }
.hx-row:last-child { border-bottom:0; }
.hx-row b { margin-left:auto; font-weight:700; white-space:nowrap; }
.hx-row em { font-style:normal; font-size:12px; font-weight:600; background:var(--c); border-radius:999px; padding:2px 9px; }

/* пример 4: разбор продаж. Шаг 1 таблица по группам покупателей, шаг 2 под каждой группой канал и цена покупателя,
   шаг 3 график окупаемости и вывод */
.hd { gap:10px; }
.how-screen.how-tall { min-height:582px; }
.hd-table { display:grid; }
.hd-row { display:grid; grid-template-columns:minmax(0,1fr) 62px 98px 82px; gap:8px; align-items:center; padding:7px 0; border-bottom:1px solid #e6e4dd; font-size:14px; line-height:1.25; }
.hd-row b { text-align:right; font-weight:700; white-space:nowrap; }
.hd-row small { display:block; font-size:12px; color:var(--muted); }
.hd-th, .hd-th b { font-size:12px; font-weight:600; color:var(--muted); }
.hd .hx-chart { gap:6px; padding:10px 14px; }
.hd .hx-chart strong { font-size:13px; }
.hd .hx-chart div { grid-template-columns:118px minmax(0,1fr) 52px; }
.hd-sum { font-size:14px; line-height:1.35; background:var(--yellow); border:1.5px solid var(--ink); border-radius:12px; padding:9px 12px; }

/* три стены для тех, кто уже пробовал: сверху зачёркнутая беда, снизу то, что будет после практикума */
/* для кого: три уровня подготовки в ряд, третий (не подойдёт) приглушён */
.levels { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:40px; }
.level { display:grid; gap:10px; align-content:start; }
.level .stage { max-width:230px; margin:-6px auto 0; }
.level .stage::before { display:none; }
.level .fit { justify-self:start; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background:var(--yellow); border:1.5px solid var(--line); border-radius:8px; padding:3px 9px; }
.level h3 { font-size:22px; }
.level p { color:var(--muted); font-size:16px; margin:0; }
.level.no { border-style:dashed; }
.level.no .fit { background:transparent; color:var(--muted); }
.rare { display:grid; grid-template-columns:minmax(0,520px) minmax(0,1fr); gap:48px; align-items:center; margin-top:40px; }
.dots { display:grid; grid-template-columns:repeat(40,1fr); gap:3px; }
.dots i, .rare-legend i { display:block; aspect-ratio:1; border-radius:2px; background:#d6d2c7; }
.dots .d2, .rare-legend .d2 { background:#b3afa3; }
.dots .d3, .rare-legend .d3 { background:#6f6c63; }
.dots .d4, .rare-legend .d4 { background:var(--ink); }
.dots .d5, .rare-legend .d5 { background:var(--yellow); box-shadow:0 0 0 1.5px var(--ink); }
.dots .d5 { animation:rare-pulse 1.8s ease-in-out infinite; position:relative; z-index:1; }
@keyframes rare-pulse { 50% { transform:scale(1.9); } }
@media (prefers-reduced-motion: reduce) { .dots .d5 { animation:none; transform:scale(1.5); } }
.rare-big { font-size:clamp(64px,9vw,120px); font-weight:800; letter-spacing:-.04em; line-height:1; }
.rare-legend { list-style:none; padding:0; margin:24px 0 0; display:grid; gap:10px; font-size:17px; }
.rare-legend li { display:grid; grid-template-columns:14px 58px 1fr; gap:10px; align-items:baseline; color:var(--muted); }
.rare-legend i { width:14px; align-self:start; margin-top:6px; }
.rare-legend b { color:var(--ink); }
.rare-legend .me { color:var(--ink); font-weight:600; }
.rare-src { margin:18px 0 0; font-size:14px; color:var(--muted); }
.gains-title { margin:64px 0 8px; }
.gains-sub { margin:0; font-size:18px; color:var(--muted); }
.gains { list-style:none; padding:0; margin:24px 0 0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gain { display:grid; gap:10px; align-content:start; }
.gain .wk { justify-self:start; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background:var(--yellow); border:1.5px solid var(--line); border-radius:8px; padding:3px 9px; }
.gain h3 { font-size:22px; }
.gain p { color:var(--muted); font-size:16px; margin:0; }
.who-note { margin:20px 0 0; font-size:17px; color:var(--muted); }
.tried { margin-top:48px; }
.tried-title { font-size:24px; margin-bottom:16px; }
.walls { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.wall { border:1.5px solid var(--line); border-radius:18px; padding:22px 24px; background:var(--card); display:grid; gap:12px; align-content:start; }
.was { font-size:17px; font-weight:600; color:var(--muted); text-decoration:line-through; text-decoration-thickness:2px; }
.now { font-size:22px; line-height:1.2; font-weight:800; letter-spacing:-.02em; text-wrap:balance; }
.now::after { content:""; display:block; width:44px; height:7px; border-radius:4px; background:var(--yellow); margin-top:12px; }
.versus-foot { margin-top:40px; display:flex; flex-wrap:wrap; gap:18px 28px; align-items:center; }
.versus-foot p { margin:0; max-width:600px; color:#cfcdc5; }

/* программа: четыре недели на одной линии */
.weeks { position:relative; margin-top:56px; display:grid; gap:20px; }
.week { display:grid; grid-template-columns:76px minmax(0,1fr) minmax(0,.85fr); gap:28px; align-items:center; }
.week .no { position:relative; align-self:stretch; display:flex; justify-content:center; align-items:center; }
.week .no::before { content:""; position:absolute; top:0; bottom:-20px; width:3px; border-radius:2px; background:var(--grid); }
.week:last-child .no::before { bottom:0; }
.week .no b { position:relative; width:60px; height:60px; border-radius:50%; background:var(--paper); border:1.5px solid var(--line); display:grid; place-items:center; font-size:26px; font-weight:800; line-height:1; transition:background .4s, box-shadow .4s, transform .4s var(--ease); }
.week.on .no b { background:var(--yellow); box-shadow:0 4px 0 var(--line); transform:translateY(-2px); }
.week.on .no::before { background:linear-gradient(var(--yellow), var(--yellow)) top / 100% var(--fill, 100%) no-repeat, var(--grid); }
.week .body { padding:26px 28px; }
.week .when { font-size:14px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.week h3 { font-size:30px; margin:2px 0 10px; }
.week .body > p { color:var(--muted); margin-bottom:16px; }
.result { position:relative; background:var(--soft); border-radius:12px; padding:11px 14px 11px 46px; font-size:17px; }
.result::before { content:"✓"; position:absolute; left:13px; top:12px; width:22px; height:22px; border-radius:50%; background:var(--yellow); border:1.5px solid var(--line); display:grid; place-items:center; font-size:13px; font-weight:800; line-height:1; }
.week details { margin-top:14px; border:0; padding:0; background:none; }
.week summary { cursor:pointer; list-style:none; font-weight:600; font-size:16px; display:inline-block; border-bottom:3px solid var(--yellow); padding:0; }
.week summary::-webkit-details-marker { display:none; }
.week summary::after { content:" +"; }
.week details[open] summary::after { content:" –"; }
.meet { display:grid; grid-template-columns:1fr 1fr; gap:6px 26px; margin-top:16px; font-size:16px; }
.meet h4 { margin:0 0 6px; font-size:16px; font-weight:800; }
.meet ul { margin:0; padding-left:18px; color:var(--muted); }
.meet li { margin-bottom:3px; }
.week .stage { max-width:440px; }

/* кто ведёт */
.host { display:grid; grid-template-columns:minmax(0,340px) minmax(0,1fr); gap:56px; align-items:center; }
.host-photo { position:relative; }
.host-photo img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; border-radius:26px; border:1.5px solid var(--yellow); box-shadow:10px 10px 0 var(--yellow); }
.host-text p { color:#d9d7cf; font-size:20px; margin:0 0 14px; }
.host-text .host-lead { color:#fff; font-size:28px; font-weight:600; line-height:1.3; letter-spacing:-.01em; margin:4px 0 18px; }
.host-text mark { color:var(--ink); font-weight:600; background:var(--yellow); border-radius:5px; padding:1px 5px; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.host-text p a { color:var(--yellow); }
.works { margin-top:72px; }
.works-title { font-size:26px; margin-bottom:18px; }
.works-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (min-width:901px) { .work:not(.feature) { grid-column:span 2; } }
.work h3 { font-size:19px; }
.work p { color:var(--muted); font-size:16px; }
.work.feature { grid-column:1 / -1; padding:0; overflow:hidden; text-decoration:none; display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); align-items:center; transition:transform .2s var(--ease), box-shadow .2s; }
.work.feature:hover { transform:translateY(-3px); box-shadow:0 6px 0 var(--yellow); }
.work.feature img { width:100%; height:100%; object-fit:cover; display:block; border-right:1.5px solid var(--line); }
.work.feature > div { padding:24px 28px; }
.work.feature h3 { font-size:24px; }
.more { display:inline-block; margin-top:6px; font-weight:600; border-bottom:3px solid var(--yellow); }

/* лента первых экранов: два ряда едут навстречу, наведение останавливает ряд */
.reel { margin-top:56px; overflow:hidden; }
.reel-row { padding:6px 0 10px; }
.reel-row + .reel-row { margin-top:8px; }
.reel-track, .reel-copy { display:flex; gap:18px; width:max-content; }
.reel-track { padding-right:18px; animation:reel 70s linear infinite; }
.reel-row.rev .reel-track { animation-direction:reverse; animation-duration:60s; }
.reel-row:hover .reel-track, .reel.off .reel-track { animation-play-state:paused; }
.screen { margin:0; width:400px; flex:none; background:var(--card); border:1.5px solid #3a3a41; border-radius:14px; overflow:hidden; }
.screen::before { content:""; display:block; height:22px; border-bottom:1.5px solid var(--line); background:radial-gradient(circle at 16px 50%, var(--yellow) 0 4.5px, transparent 5.5px), radial-gradient(circle at 32px 50%, #d9d7d0 0 4.5px, transparent 5.5px), radial-gradient(circle at 48px 50%, #d9d7d0 0 4.5px, transparent 5.5px); }
.screen img { display:block; width:100%; height:auto; }
@keyframes reel { to { transform:translateX(-50%); } }

/* цена */
.price-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,.8fr); gap:24px; align-items:center; margin-top:40px; }
.price-card { padding:32px; box-shadow:0 6px 0 var(--line); }
.price { font-size:64px; font-weight:800; line-height:1; letter-spacing:-.04em; margin:4px 0 12px; }
.price-notes { list-style:none; margin:0; padding:14px 0 0; border-top:1.5px dashed #b9b6ac; display:grid; gap:6px; font-size:17px; font-weight:600; }
.price-notes li { padding-left:22px; position:relative; }
.price-notes li::before { content:""; position:absolute; left:0; top:.5em; width:10px; height:10px; border-radius:3px; background:var(--yellow); border:1.5px solid var(--line); }
.ticks { list-style:none; padding:0; margin:0; display:grid; gap:12px; font-size:19px; }
.ticks li { padding-left:34px; position:relative; }
.ticks li::before { content:"✓"; position:absolute; left:0; top:3px; width:22px; height:22px; border-radius:50%; background:var(--yellow); border:1.5px solid var(--line); display:grid; place-items:center; font-size:13px; font-weight:800; line-height:1; }
.price-grid .stage { max-width:320px; }

/* Счётчик мест. Число занятых лежит в seats.json. Занятые места жёлтые с галочкой; по свободным бежит огонёк,
   а первое свободное подсвечено и подписано: это место посетителя */
.seats { margin-top:26px; }
.seats-row { display:flex; gap:7px; padding:4px 0 34px; }
.seat { position:relative; flex:0 1 30px; min-width:0; aspect-ratio:1; border-radius:10px; border:1.5px dashed #b9b6ac; display:grid; place-items:center; font-size:16px; font-weight:800; line-height:1; animation:seat-run 3.2s ease-in-out calc(var(--n,0) * .16s) infinite; }
.seat.on { background:var(--yellow); border:1.5px solid var(--line); box-shadow:0 3px 0 var(--line); animation:none; }
.seat.on::before { content:"✓"; }
.seat.next { border:1.5px solid var(--line); background:var(--card); animation:seat-glow 1.8s ease-in-out infinite; }
.seat.next::after { content:"ваше"; position:absolute; top:calc(100% + 7px); left:50%; translate:-50% 0; font-size:12px; font-weight:700; letter-spacing:.04em; white-space:nowrap; background:var(--ink); color:var(--yellow); border-radius:6px; padding:3px 7px; }
@keyframes seat-run { 0%, 28%, 100% { background:transparent; border-color:#b9b6ac; } 10% { background:var(--soft); border-color:var(--yellow); } }
@keyframes seat-glow { 0%, 100% { box-shadow:0 0 0 0 rgba(255,207,0,.75); } 55% { box-shadow:0 0 0 9px rgba(255,207,0,0), 0 0 22px 4px rgba(255,207,0,.55); } }
.seats-text { font-size:17px; font-weight:700; }
.final .seats-row { justify-content:center; }
@media (prefers-reduced-motion: reduce) { .seat, .seat.next { animation:none; } }

/* вопросы */
.faq { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; align-items:start; }
.faq-list { display:grid; gap:10px; }
.faq details { background:var(--card); border:1.5px solid var(--line); border-radius:16px; padding:0 22px; }
.faq summary { cursor:pointer; font-weight:600; padding:16px 34px 16px 0; list-style:none; position:relative; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; position:absolute; right:0; top:12px; font-size:26px; font-weight:400; line-height:1; }
.faq details[open] summary::after { content:"–"; }
.faq details p { color:var(--muted); padding-bottom:6px; }

.todo { background:var(--soft); border:1.5px dashed #b89500; border-radius:8px; padding:0 8px; }
.final { text-align:center; padding:56px 0 96px; }
.final .stage { max-width:400px; }
.final { overflow-x:clip; }
.final .seats { margin:0 0 26px; }
.final .sub { margin:0 auto 26px; }
footer { background:var(--ink); color:#b5b3ab; font-size:16px; padding:26px 0 38px; text-align:center; }
footer a { color:var(--yellow); }

/* движение. Заголовок выезжает по словам, блоки поднимаются по очереди; без скрипта всё видно сразу.
   У .stage и её предков transform и opacity не трогаем, поэтому data-reveal на блоки с роликом не ставится */
.split .w { display:inline-block; }
.js .split:not(.is-in) .w { clip-path:inset(0 -.3em 100% -.3em); translate:0 100%; }
.split.is-in .w { animation:word-rise .85s var(--ease) calc(var(--i,0) * 55ms) backwards; }
@keyframes word-rise { from { clip-path:inset(0 -.3em 100% -.3em); translate:0 100%; } to { clip-path:inset(-.3em); translate:0 0; } }
.js [data-reveal]:not(.is-in) { opacity:0; translate:0 22px; }
[data-reveal].is-in { transition:opacity .7s var(--ease), translate .7s var(--ease); transition-delay:calc(var(--si,0) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .js .split:not(.is-in) .w, .js [data-reveal]:not(.is-in) { clip-path:none; translate:none; opacity:1; }
  .split.is-in .w { animation:none; }
  .reel-track { animation:none; } .reel-row { overflow-x:auto; }
  .hp.in, .how-msg.typing::after, .how-busy i, .hx-chart i { animation:none; }
  html { scroll-behavior:auto; }
}

@media (max-width:900px) {
  .nav .link { display:none; }
  section { padding:60px 0; }
  .sub { font-size:18px; }
  .how-tabs { margin-top:28px; }
  .how-tab { font-size:15px; padding:9px 14px; }
  .how { margin-top:18px; min-height:0; }
  .how-case { grid-template-columns:1fr; gap:14px; }
  .how-chat { min-height:300px; padding-top:0; }
  .how-msg { font-size:17px; padding:11px 14px; }
  .how-arrow { justify-self:center; rotate:90deg; font-size:32px; }
  .how-screen { min-height:608px; }
  .hd-row { grid-template-columns:minmax(0,1fr) 88px 80px; font-size:13px; }
  .how-screen.how-tall { min-height:694px; }
  .hd-n { display:none; }
  .how-page { padding:12px 14px 16px; gap:12px; }
  .hs-nav span { display:none; }
  .hs-hero { grid-template-columns:1fr; }
  .hs-photo { min-height:150px; max-height:170px; order:-1; }
  .hp-title { font-size:23px; }
  .rare { grid-template-columns:1fr; gap:24px; margin-top:28px; }
  .dots { gap:2px; max-width:520px; }
  .gains-title { margin-top:44px; }
  .gains { grid-template-columns:repeat(2,1fr); gap:10px; margin-top:20px; }
  .levels { grid-template-columns:1fr; gap:10px; margin-top:28px; }
  .level .stage { max-width:170px; margin:-8px 0 0; }
  .tried { margin-top:36px; }
  .tried-title { font-size:21px; }
  .walls { grid-template-columns:1fr; gap:10px; }
  .wall { padding:18px; gap:8px; }
  .now { font-size:19px; }
  .weeks { margin-top:36px; }
  .week { grid-template-columns:44px minmax(0,1fr); gap:14px; }
  .week .no b { width:40px; height:40px; font-size:18px; }
  .week .body { padding:20px; }
  .week h3 { font-size:24px; }
  .week .stage { display:none; }
  .meet { grid-template-columns:1fr; }
  .host { grid-template-columns:1fr; gap:32px; }
  .host-photo { max-width:240px; }
  .host-text p { font-size:18px; }
  .host-text .host-lead { font-size:22px; }
  .works { margin-top:48px; }
  .works-grid { grid-template-columns:repeat(2,1fr); }
  .price-grid { grid-template-columns:1fr; }
  .price-grid .stage { display:none; }
  .faq { grid-template-columns:1fr; gap:24px; }
}
@media (max-width:520px) {
  .gains { grid-template-columns:1fr; }
  .gain h3 { font-size:20px; }
  body { font-size:17px; }
  .wrap { padding:0 16px; }
  .card { padding:18px; }
  .works-grid { grid-template-columns:1fr; }
  .screen { width:270px; }
  .reel-track, .reel-copy { gap:12px; }
  .reel-track { padding-right:12px; }
  .work.feature { grid-template-columns:1fr; }
  .work.feature img { border-right:0; border-bottom:1.5px solid var(--line); }
  .work.feature > div { padding:18px; }
  .price { font-size:48px; }
  .price-card { padding:22px; }
  .actions .btn, .versus-foot .btn { width:100%; text-align:center; }
}
