/* Главная smek-ai.ru (превью /new/). Каркас по мотивам onetwobird.com, стиль — наш:
   небо Windows, бумажные вырезки со скотчем, канцелярские кнопки, окна с синей шапкой, пометки Caveat.
   Десктоп от 960px: боковая панель + основная панель #main, которая прокручивается сама. Ниже — одна колонка. */

/* Шрифты — локально (OFL, лицензии рядом) */
@font-face { font-family: "Dela Gothic One"; font-weight: 400; font-display: swap; src: url("fonts/dela-gothic-one-latin-400-normal.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; }
@font-face { font-family: "Dela Gothic One"; font-weight: 400; font-display: swap; src: url("fonts/dela-gothic-one-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("fonts/onest-latin-400-normal.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; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("fonts/onest-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("fonts/onest-latin-500-normal.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; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("fonts/onest-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("fonts/onest-latin-600-normal.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; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("fonts/onest-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url("fonts/onest-latin-700-normal.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; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url("fonts/onest-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url("fonts/caveat-latin-600-normal.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; }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url("fonts/caveat-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("fonts/caveat-latin-700-normal.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; }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("fonts/caveat-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.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; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600-normal.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; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  --ink: #1E1B18;
  --muted: #6B645C;
  --paper: #FFFDF8;
  --red: #E4572E;
  --red-text: #C8401B;        /* красный текст мельче 24px */
  --pen: #2F5D8C;
  --kraft: #C9A87A;
  --hl: #F5D547;              /* выделитель — только под цифрами; ещё жёлтые стикеры доски */
  --pink: #F8D7D0;
  --wt: #2361D6;              /* шапки окон */
  --light: #F7F9FC;
  --hard: 4px 6px 0 rgba(30, 27, 24, .14);
  --soft: 0 28px 60px rgba(16, 40, 90, .22), 0 6px 16px rgba(16, 40, 90, .14);
  --f-display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --f-ui: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: 16px;                /* поля секций по бокам */
  --frame: #2361D6;
  color-scheme: light;
}
body[data-frame="light"] { --frame: #DCE4EF; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 var(--f-ui); color: var(--ink); background: var(--frame); transition: background-color .6s ease; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; }

/* ---------- Типографика ---------- */
.h1 { font: 400 clamp(30px, 8.4vw, 40px)/1.08 var(--f-display); letter-spacing: -.01em; }
.h2 { font: 400 clamp(32px, 8.6vw, 40px)/1.06 var(--f-display); letter-spacing: -.01em; }
.lead { font-size: 17px; line-height: 1.5; color: var(--muted); }
.label { font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hand { font: 600 24px/1.1 var(--f-hand); color: var(--pen); }
.mark-u { background: linear-gradient(transparent 66%, var(--red) 66%, var(--red) 88%, transparent 88%); padding: 0 .04em; }

/* ---------- Знак ---------- */
.mark { font: 400 22px/1 var(--f-display); color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; white-space: nowrap; letter-spacing: -.01em; }
.dot { display: inline-block; width: .36em; height: .36em; margin: 0 .07em; border-radius: 50%; background: var(--red); }

/* ---------- Постоянные элементы стиля ---------- */
.paper { position: relative; background: var(--paper); box-shadow: var(--hard); }
.tape::before { content: ""; position: absolute; z-index: 2; top: -12px; left: 50%; width: 88px; height: 24px; background: rgba(201, 168, 122, .62); transform: translateX(-50%) rotate(-4deg); }
.pin { position: absolute; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #F49B7E 0 16%, var(--red) 24%); box-shadow: 2px 3px 0 rgba(30, 27, 24, .28); }
.win { background: var(--wt); border-radius: 9px 9px 4px 4px; padding: 0 3px 3px; box-shadow: var(--soft); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 4px 0 10px; color: #fff; font: 600 13px/1 var(--f-ui); white-space: nowrap; overflow: hidden; }
.win-bar > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.win-x { margin-left: auto; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .9); border-radius: 4px; }
.win-x .i { width: 14px; height: 14px; stroke-width: 2.2; }
.shot { display: grid; place-items: center; gap: 8px; align-content: center; background: linear-gradient(135deg, #EDF3FC 0%, #FBF3EF 100%); color: var(--muted); font: 500 14px/1.3 var(--f-mono); border-radius: 1px; text-align: center; padding: 12px; }
.shot .i { width: 34px; height: 34px; color: var(--pen); opacity: .55; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--f-ui); text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .2s; }
.btn .i { width: 20px; height: 20px; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #3A3530; }
.btn-light { background: #E7ECF4; color: var(--ink); }
.btn-light:hover { background: #D8DFEA; }
.btn-big { height: 64px; padding: 0 36px; font-size: 18px; }

.arrow { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(30, 27, 24, .3); transition: background-color .2s, color .2s, border-color .2s; }
.arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.head2-light .arrow { border-color: rgba(255, 253, 248, .55); color: var(--paper); }
.head2-light .arrow:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ring { position: absolute; inset: -6px; width: 66px; height: 66px; transform: rotate(-90deg); pointer-events: none; }
.ring circle { fill: none; stroke: var(--pen); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.is-ticking .ring circle { animation: ring 6s linear forwards; animation-play-state: paused; }
.in-view.is-ticking:not(:hover) .ring circle { animation-play-state: running; }
@keyframes ring { to { stroke-dashoffset: 0; } }

.dots { display: flex; gap: 8px; padding: 11px 14px; border-radius: 99px; background: rgba(30, 27, 24, .07); width: max-content; margin: 18px auto 0; }
.dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(30, 27, 24, .25); transition: width .3s, background-color .3s; }
.dots button.on { width: 26px; background: var(--ink); }

/* Карусель: нативная прокрутка со снапом — свайп на телефоне бесплатно */
.track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 18px 6px 30px; margin: -18px -6px -12px; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.track > * { flex: 0 0 84%; scroll-snap-align: start; }

/* ---------- Фоны секций ---------- */
.sec { position: relative; padding: 72px 0; }
.wrap { position: relative; z-index: 1; padding-inline: var(--pad); }
.sky { background: linear-gradient(180deg, #2C68CC 0%, #5E97E6 50%, #B3D1F3 100%); }
.sky-top { background: linear-gradient(180deg, #2C68CC 0, #5E97E6 520px, #B3D1F3 1150px) #B3D1F3; }
.light { background:
  radial-gradient(520px 360px at 88% 8%, rgba(179, 209, 243, .6), transparent 70%),
  radial-gradient(460px 340px at 6% 92%, rgba(246, 201, 184, .5), transparent 70%), var(--light); }
.light-alt { background:
  radial-gradient(520px 380px at 12% 12%, rgba(246, 201, 184, .45), transparent 70%),
  radial-gradient(560px 380px at 92% 88%, rgba(179, 209, 243, .6), transparent 70%), var(--light); }
.clouds, .sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* облака и искры анимируются только в видимой секции (.live) — иначе первый кадр страницы рисуется секунду */
.clouds i, .sparks i { display: none; }
.clouds i { position: absolute; left: -40vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .5), rgba(255, 255, 255, .2) 55%, rgba(255, 255, 255, 0)); }
.live .clouds i { display: block; animation: drift var(--d) linear var(--dl) infinite; }
@keyframes drift { to { transform: translateX(180vw); } }
.sparks i { position: absolute; width: var(--s); height: var(--s); background: #fff; clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); opacity: 0; }
.live .sparks i { display: block; animation: twinkle var(--d) ease-in-out var(--dl) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .95; transform: scale(1); } }

/* ---------- Каркас: телефон ---------- */
#main { overflow-x: clip; }
.mhead { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px 10px 0 var(--pad); color: var(--paper); }
.mhead .mark { font-size: 22px; }
.burger { width: 48px; height: 48px; display: grid; place-items: center; }
.mbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 8px; padding: 0 12px; transition: transform .4s ease, opacity .4s; }
.mbar .btn { height: 54px; box-shadow: 0 8px 24px rgba(16, 40, 90, .2); }
.mbar .btn-light { background: var(--paper); }
.mbar.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
/* плашка cookie (instagram-bot/config/metrika.html): над секциями и нижней панелью, под меню и окном выбора */
.mbar ~ .smek-ck { z-index: 60; }
@media (max-width: 959.98px) { .mbar ~ .smek-ck { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 66px); } }
/* десктоп прокручивает #main, не окно: пока плашка висит, подвал докручивается выше неё */
@media (min-width: 960px) { body:has(.smek-ck) #main { padding-bottom: 96px; } }
.menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; padding: 14px 10px 24px var(--pad); overflow: hidden; background:
  radial-gradient(420px 300px at 90% 10%, rgba(179, 209, 243, .6), transparent 70%),
  radial-gradient(380px 300px at 0% 100%, rgba(246, 201, 184, .5), transparent 70%), var(--light); }
.menu[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-nav { display: grid; gap: 2px; margin-top: 28px; }
.menu-nav a { font: 600 30px/1.2 var(--f-ui); text-decoration: none; padding: 6px 0; }
.menu-nav a i { display: none; }
.menu-nav a[aria-current] { color: var(--pen); }
.menu-mark { margin-top: auto; font: 400 26vw/1 var(--f-display); color: rgba(30, 27, 24, .06); white-space: nowrap; margin-left: -2vw; }
.menu-mark .dot { background: rgba(228, 87, 46, .2); }

/* «Написать»: окно сайта (/lead.js) — выбор Instagram, ВКонтакте или Telegram столбиком (.dlg-col), клиенту из бота —
   подтверждение; кнопки — как .btn: главная тёмная, остальные светлые */
.dlg-back { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; overflow-y: auto; padding: var(--pad); background: rgba(16, 40, 90, .35); }
.dlg-back[hidden] { display: none; }
.dlg { width: 100%; max-width: 420px; }
.dlg .win-x { text-decoration: none; }
.dlg-body { background: var(--paper); padding: 26px 20px 20px; display: grid; gap: 14px; text-align: center; }
.dlg-body b { font: 400 26px/1.1 var(--f-display); text-wrap: balance; }
.dlg-body p { color: var(--muted); font-size: 15px; }
.dlg-body p[hidden] { display: none; }
.dlg-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.dlg-acts.dlg-col { display: grid; justify-content: stretch; }
.dlg-ok { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 999px; background: #E7ECF4; color: var(--ink); font: 600 16px/1 var(--f-ui); text-decoration: none; cursor: pointer; transition: background-color .2s; }
.dlg-ok:hover { background: #D8DFEA; }
.dlg-ok.main { background: var(--ink); color: var(--paper); }
.dlg-ok.main:hover { background: #3A3530; }
.dlg-ok:disabled { opacity: .6; cursor: progress; }
.dlg-m, .dlg-w, .dlg-sec { display: grid; gap: 10px; text-align: left; }
.dlg-m [hidden], .dlg-m[hidden] { display: none; }
.dlg-w:not([hidden]) + .dlg-sec { padding-top: 12px; border-top: 1px solid rgba(30, 27, 24, .12); }
.dlg-body .dlg-hint { font-size: 13px; }
.dlg-code { font: 600 19px/1.3 var(--f-mono); color: var(--ink); background: #fff; border: 1px solid rgba(30, 27, 24, .16); padding: 8px 10px; user-select: all; overflow-wrap: anywhere; }
html.menu-open { overflow: hidden; }

/* ---------- Каркас: десктоп ---------- */
@media (min-width: 960px) {
  :root { --pad: 48px; }
  html, body { height: 100%; overflow: hidden; }
  .app { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 8px; padding: 8px; height: 100vh; }
  #main { height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(30, 27, 24, .28) transparent; }
  .mhead, .mbar, .menu { display: none !important; }
  /* боковая панель (.side) — /side.css, общая со страницами услуг */
  .sec { padding: 112px 0; }
  .h1 { font-size: clamp(44px, 4.6vw, 66px); }
  .h2 { font-size: clamp(38px, 4.2vw, 58px); }
  .lead { font-size: 18px; }
  .track { gap: 24px; }
}

/* ---------- 0. Прелоадер ---------- */
.pre { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; justify-content: space-between; padding: 22px var(--pad) 28px; background:
  radial-gradient(520px 360px at 85% 15%, rgba(179, 209, 243, .65), transparent 70%),
  radial-gradient(460px 340px at 10% 85%, rgba(246, 201, 184, .5), transparent 70%), var(--light);
  animation: pre-safety 0s 5s forwards; }
.js .pre { display: flex; }
.no-pre .pre { display: none; }
@keyframes pre-safety { to { visibility: hidden; } }
.pre-top { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pre-top .mark { font-size: 18px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.pre-bottom { display: grid; gap: 18px; }
.pre-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.pre-words { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .28em; font: 400 clamp(30px, 6.4vw, 84px)/1.05 var(--f-display); }
.pre-words span { opacity: 0; filter: blur(14px); }
.pre-words .to { color: var(--pen); }
.pre-count { font: 500 clamp(26px, 4vw, 54px)/1 var(--f-mono); }
.pre-bar { display: flex; gap: 3px; height: 26px; padding: 3px; border: 1.5px solid #7F9DB9; border-radius: 4px; background: #fff; }
.pre-bar i { flex: 1; border-radius: 1px; background: var(--wt); opacity: 0; transition: opacity .12s; }
.pre-bar i.on { opacity: 1; }

/* ---------- 1. Первый экран ---------- */
.hero { padding-top: 64px; color: var(--paper); text-shadow: 0 2px 14px rgba(16, 40, 90, .22); }
.hero .type { text-shadow: none; }
/* Плашка со словом — ячейка грида: невидимые слова-«призраки» (render.js, lists.ghosts) держат место под самое длинное,
   красная плашка с печатаемым словом лежит в той же ячейке и растёт только вбок — строки ниже не двигаются.
   Курсор — фон плашки у её правого края, а не отдельный элемент: тот сдвигался бы с каждой буквой. */
.hero-title .type { display: inline-grid; white-space: nowrap; } /* десктоп — в одну строку, как было; телефон разрешает перенос на 2 строки (ниже) */
.type-ghosts { display: contents; }
.type-ghosts > *, .type-plate { grid-area: 1 / 1; min-height: 1.12em; padding: 0 .225em .04em .12em; }
.type-ghosts > * { visibility: hidden; }
.type-plate { justify-self: start; background: linear-gradient(currentColor, currentColor) right .12em center / .055em .86em no-repeat var(--red); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { background-size: 0 0; } }
.hero-lead { margin-top: 18px; max-width: 420px; font-size: 17px; line-height: 1.5; color: rgba(255, 253, 248, .9); }
.hero-lead b { color: var(--paper); font-weight: 600; }

/* ---------- 2. Кейсы ---------- */
.cases { padding-bottom: 8px; }
.case-list { display: grid; gap: 40px; }
.case { position: relative; display: block; color: inherit; text-decoration: none; }
/* кейсы видны только на десктопе (.cases.d-only). Читаются сверху вниз: подпись и стрелка, под ними окно во всю
   сцену — под окном ничего не рисуется, иначе подложка выглядывает из-под скруглённых углов */
.case-media { display: grid; gap: 22px; color: inherit; text-decoration: none; }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.case-scene { position: relative; aspect-ratio: 4 / 3; }
.case-scene .win { width: 100%; height: 100%; display: flex; flex-direction: column; }
.case-scene .shot { flex: 1; min-height: 0; }
.case-title { font: 600 19px/1.3 var(--f-ui); color: var(--ink); }
.case-arrow { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: var(--hard); }
.case-arrow .i { transform: rotate(-45deg); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.case:hover .case-arrow .i { transform: rotate(0); }

/* ---------- 3. Можно прийти с задачей ---------- */
.head2 { display: grid; gap: 18px; margin-bottom: 32px; }
.head2-light { color: var(--paper); }
.head2-light .lead { color: rgba(255, 253, 248, .88); }
.ctrl { display: flex; gap: 12px; margin-top: 22px; }
.task { min-height: 300px; padding: 28px 24px 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.task:nth-child(odd) { transform: rotate(-.6deg); }
.task:nth-child(even) { transform: rotate(.6deg); }
.task-num { position: absolute; top: 4px; left: 16px; font: 600 112px/1 var(--f-mono); letter-spacing: -.05em; color: rgba(47, 93, 140, .11); }
.task h3 { position: relative; font: 700 21px/1.22 var(--f-ui); margin-bottom: 10px; }
.task p { position: relative; color: var(--muted); font-size: 15px; }

/* ---------- 4. Не только код ---------- */
.how-grid { display: grid; gap: 28px; }
.how-head { padding: 28px 24px 30px; transform: rotate(-1deg); }
.how-head .lead { margin-top: 14px; }
.stack { display: grid; gap: 20px; }
.st-card { --dim: 0; position: relative; padding: 14px 14px 22px; transform-origin: 50% 0; }
.st-card::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--dim); pointer-events: none; }
.st-card .shot { aspect-ratio: 16 / 10; }
.st-card .win { box-shadow: none; }
.st-card h3 { font: 700 22px/1.2 var(--f-ui); margin: 18px 8px 8px; }
.st-card p { color: var(--muted); margin: 0 8px; }
.st-num { position: absolute; z-index: 1; right: 16px; top: 48px; font: 600 13px/1 var(--f-mono); color: var(--ink); background: var(--paper); padding: 6px 8px; }

/* ---------- 5. Живое демо ---------- */
.demo-grid { display: grid; gap: 40px; }
.cut { display: inline-block; padding: 22px 26px 24px; font: 400 clamp(30px, 8vw, 46px)/1.06 var(--f-display); transform: rotate(-2deg); }
.cut .pin { top: -9px; right: 24px; }
.demo-text .lead { margin: 26px 0 26px; max-width: 460px; }
.chat-win { width: 100%; max-width: 440px; justify-self: center; }
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 400px; padding: 18px 14px 22px; background: #fff; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.msg.me { align-self: flex-end; background: var(--pen); color: var(--paper); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: #EEF1F6; border-bottom-left-radius: 6px; }
.qr { align-self: flex-start; padding: 8px 16px; border: 1.5px solid var(--pen); border-radius: 99px; color: var(--pen); font-size: 14px; font-weight: 600; margin-top: -4px; }
.link-card { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #E1E6EE; text-decoration: none; }
.link-card .i { color: var(--pen); }
.link-card b { display: block; font-size: 14px; }
.link-card span { font: 500 12px/1.3 var(--f-mono); color: var(--muted); }
.chat-day { align-self: center; font: 500 11px/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- 6. Знаю бизнес изнутри ---------- */
.about-grid { display: grid; gap: 32px; }
.about-text .h2 { margin: 12px 0 18px; }
.about-cap { display: grid; gap: 4px; margin-top: 28px; padding-left: 16px; border-left: 2px solid var(--pen); }
.about-year { font: 600 14px/1 var(--f-mono); color: var(--pen); }
.about-cap-title { font-size: 18px; }
.about-cap-text { color: var(--muted); font-size: 15px; }
.photo { padding: 12px 12px 14px; transform: rotate(1.5deg); }
.photo-in { aspect-ratio: 4 / 5; display: grid; place-items: center; align-content: center; gap: 10px; background: linear-gradient(160deg, #B3D1F3 0%, #DCE8F7 45%, #F6C9B8 100%); color: var(--pen); font: 500 14px/1.3 var(--f-mono); text-align: center; padding: 16px; }
.photo-in .i { width: 64px; height: 64px; stroke-width: 1.2; opacity: .6; }
/* Фото Артёма: размер окна задаёт CSS (aspect-ratio / 176×186), картинка его заполняет — сдвига вёрстки нет; кадр — под лицо */
.photo-img, .photo-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-img img { object-fit: cover; object-position: 50% 30%; }
.ruler { position: relative; height: 112px; margin-top: 44px; touch-action: pan-y; }
.ruler-hint { position: absolute; left: 0; top: -6px; transform: rotate(-4deg); }
.years { position: absolute; left: 0; right: 0; bottom: 46px; height: 30px; }
.year { position: absolute; bottom: 0; transform: translateX(-50%); padding: 6px 8px; font: 600 15px/1 var(--f-mono); color: var(--muted); transition: color .2s; white-space: nowrap; }
.year:first-child { transform: none; left: 0 !important; }
.year:last-child { transform: none; left: auto !important; right: 0; }
.year:hover { color: var(--ink); }
.year.on { color: var(--ink); }
.year.on::after { content: ""; position: absolute; left: 50%; bottom: -44px; width: 2px; height: 40px; background: var(--red); }
.year:first-child.on::after { left: 9px; }
.year:last-child.on::after { left: auto; right: 9px; }
.ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; justify-content: space-between; align-items: flex-end; }
.ticks i { width: 1.5px; height: 12px; background: rgba(30, 27, 24, .32); transform-origin: 50% 100%; transition: transform .18s ease-out; }
.ticks i:nth-child(6n+1) { height: 20px; background: rgba(30, 27, 24, .55); }

/* ---------- 7. Доска «после привет» ---------- */
.steps-sec { padding-bottom: 0; }
.steps-head { display: grid; gap: 14px; }
.steps-note { transform: rotate(-2deg); max-width: 340px; }
.board-wrap { position: relative; }
.board-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: flex-start; padding: 56px var(--pad) 110px; }
.board { --col: 272px; position: relative; flex: none; width: calc(var(--col) * 6); height: 100%; }
.b { position: absolute; left: calc(var(--c) * var(--col) + var(--dx, 0px)); top: var(--t); }
.col-n { top: 0; display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--f-mono); color: var(--muted); }
.col-n::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .5; }
.bar { width: calc(var(--col) * 1.18); min-height: 46px; display: flex; align-items: center; padding: 10px 18px; border-radius: 12px; background: var(--pen); color: var(--paper); font: 600 16px/1.25 var(--f-ui); box-shadow: var(--hard); }
.bar.kraft { background: var(--kraft); color: var(--ink); }
.bubble { padding: 14px 22px 16px; border-radius: 18px; background: var(--red); color: var(--paper); font: 400 24px/1 var(--f-display); transform: rotate(-5deg); box-shadow: var(--hard); }
.bubble::after { content: ""; position: absolute; left: 26px; bottom: -13px; border: 14px solid transparent; border-top-color: var(--red); border-bottom: 0; }
.note-st { width: 172px; padding: 16px 16px 20px; font: 600 21px/1.12 var(--f-hand); color: var(--ink); box-shadow: var(--hard); transform: rotate(var(--r, -3deg)); }
.note-st.yellow { background: var(--hl); }
.note-st.pink { background: var(--pink); }
.b-msg { width: 236px; padding: 12px 14px 14px; border-radius: 16px 16px 16px 6px; background: #fff; box-shadow: var(--hard); }
.b-msg span { display: block; font: 500 11px/1 var(--f-mono); color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.b-msg p { font-size: 15px; line-height: 1.35; }
.b-win { width: 210px; }
.b-win .shot { aspect-ratio: 4 / 3; font-size: 12px; }

/* ---------- 8. С чем приходят ---------- */
.svc-track { perspective: 1600px; }
.svc-track > * { flex-basis: 92%; }
.svc { transform-origin: 0 50%; will-change: transform; }
.svc .win { height: 100%; display: flex; flex-direction: column; }
.svc-body { flex: 1; padding: 22px 20px 24px; background: var(--paper); }
.tiles { display: flex; gap: 8px; margin-bottom: 18px; }
.tile { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #E6EFFB; color: var(--pen); }
.svc h3 { font: 400 clamp(26px, 7vw, 40px)/1.05 var(--f-display); margin-bottom: 10px; }
.svc .sub { color: var(--muted); max-width: 520px; }
.with { margin-top: 20px; font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { height: 38px; padding: 0 16px; border-radius: 99px; border: 1.5px solid rgba(30, 27, 24, .18); font-size: 14px; font-weight: 600; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.svc ul { display: grid; gap: 10px; margin-top: 18px; }
.svc li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.svc li .i { width: 20px; height: 20px; margin-top: 1px; color: var(--pen); }
.svc-foot { display: grid; justify-items: center; gap: 18px; }
.all-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; padding: 12px 22px; background: var(--paper); box-shadow: var(--hard); }
.all-link .i { transition: transform .3s; }
.all-link:hover .i { transform: translateX(4px); }

/* ---------- 9. Вопросы ---------- */
.faq-grid { display: grid; gap: 32px; }
.faq-head .hand { margin-top: 14px; transform: rotate(-2deg); }
.faq-group + .faq-group { margin-top: 28px; }
.faq-group h3 { margin-bottom: 12px; }
.qa { margin-bottom: 10px; background: var(--paper); box-shadow: var(--hard); transition: transform .2s, box-shadow .2s; }
.qa:hover { transform: translate(-1px, -1px); box-shadow: 6px 8px 0 rgba(30, 27, 24, .14); }
.qa > button { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 18px 16px; text-align: left; font: 600 17px/1.35 var(--f-ui); }
.qa .n { font: 500 13px/1 var(--f-mono); color: var(--muted); }
.qa .pm { transition: transform .3s ease; }
.qa.open .pm { transform: rotate(45deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 18px 20px 58px; color: var(--muted); }
.qa-a a, .demo-text .lead a { color: var(--pen); }

/* ---------- 10. Финал ---------- */
.final { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-bottom: 120px; }
.final-in { position: relative; z-index: 1; margin: auto; padding: 32px var(--pad) 0; text-align: center; max-width: 640px; }
.final-title { font-size: clamp(38px, 10vw, 76px); line-height: 1.02; }
.final .lead { margin: 18px auto 30px; color: rgba(30, 27, 24, .78); max-width: 500px; }
.final-ps { margin-top: 18px; transform: rotate(-3deg); color: var(--ink); }
.stk-row { position: relative; z-index: 1; display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--pad) 18px; }
.stk-row::-webkit-scrollbar { display: none; }
.stk { flex: none; position: relative; padding: 12px 16px 14px; font: 600 15px/1.2 var(--f-ui); transform: rotate(var(--r)); white-space: nowrap; }
.stk.hand-stk { font: 600 22px/1 var(--f-hand); color: var(--pen); }
.stk.pink { background: var(--pink); }
.stk .pin { top: -8px; left: calc(50% - 11px); }
.foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 40px var(--pad) 0; font-size: 13px; color: rgba(30, 27, 24, .75); }
.foot-copy { font: 600 13px/1 var(--f-mono); color: var(--ink); letter-spacing: .04em; }
.foot-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.up { margin-left: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ink); color: var(--ink); transition: background-color .2s, color .2s; }
.up:hover { background: var(--ink); color: var(--paper); }

/* ---------- Десктоп: секции ---------- */
@media (min-width: 960px) {
  /* подводка справа — по низу заголовка: без стикера «Новая заявка» под ней не остаётся пустого места */
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: end; padding-top: 0; }
  .hero-lead { margin-top: 10px; font-size: 18px; }
  .sky-top { padding-top: 84px; }
  .cases { margin-top: 80px; }
  .case-list { gap: 64px; }
  /* окно кейса — во всю ширину, без подложки; подпись-плашка и стрелка — над окном, на одной линии */
  .case-scene { aspect-ratio: 16 / 9.2; }
  .case-media[href] { cursor: pointer; }
  .case-media:focus-visible { outline: 3px solid var(--paper); outline-offset: 6px; border-radius: 14px; }
  .case-scene .win { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
  .case-media[href]:hover .win { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(16, 40, 90, .3), 0 4px 10px rgba(16, 40, 90, .14); }
  /* углы окна: рамка, шапка и содержимое — по одному радиусу. Тень — у самого окна (идёт по скруглению), поэтому
     обрезает не окно, а его содержимое: clip-path на .shot держит и анимированные слои сцены (Safari) */
  .case .win, .st-card .win { border-radius: 12px; }
  .case .win-bar, .st-card .win-bar { border-radius: 12px 12px 0 0; }
  .case .shot, .st-card .shot { border-radius: 0 0 9px 9px; clip-path: inset(0 round 0 0 9px 9px); }
  .case-head { padding-inline: 28px; }
  .case-title { position: relative; z-index: 2; max-width: min(580px, 66%); padding: 18px 22px 20px; background: var(--paper); box-shadow: var(--hard); font: 400 25px/1.15 var(--f-display); transform: rotate(-1deg); }
  .case-title::before { content: ""; position: absolute; top: -12px; left: 28px; width: 80px; height: 24px; background: rgba(201, 168, 122, .62); transform: rotate(-5deg); }
  .case-arrow { width: 64px; height: 64px; }

  .head2 { grid-template-columns: minmax(0, 1fr) 360px; align-items: end; gap: 48px; margin-bottom: 44px; }
  .tasks > * { flex-basis: calc((100% - 48px) / 3); }

  .how-grid { grid-template-columns: 330px minmax(0, 1fr); gap: 48px; align-items: start; }
  .how-head { position: sticky; top: 64px; }
  .stack { gap: 120px; padding-bottom: 40px; }
  .st-card { position: sticky; top: calc(64px + var(--i) * 18px); }
  /* окно — ниже экрана на подпись: подпись под окном не уходит к низу; сцена — во всё окно, без подложки */
  .st-card .shot { aspect-ratio: auto; height: clamp(300px, calc(100vh - 520px), 600px); }
  .st-card .ui { background: #fff; }
  .st-card .ui > .u-app { inset: 0; border-radius: 0; box-shadow: none; }
  /* без бумажной карточки: окно и подпись лежат на небе блока, подпись белая. Затемнение уходящей карточки —
     только на окне, подпись гаснет (иначе просвечивает под следующей) */
  #how { background: linear-gradient(180deg, #2C68CC 0%, #2F69C9 calc(100% - 140px), #B3D1F3 100%); }
  .st-card { padding: 0; background: none; box-shadow: none; }
  .st-card::after { content: none; }
  .st-card .win { position: relative; box-shadow: var(--soft); }
  .st-card .win::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); opacity: var(--dim); pointer-events: none; }
  .st-card h3 { margin: 22px 0 8px; color: #fff; }
  .st-card p { margin: 0; max-width: 760px; color: rgba(255, 255, 255, .9); font-size: 16px; }
  .st-card h3, .st-card p { opacity: calc(1 - var(--dim) * 2.5); text-shadow: 0 1px 12px rgba(20, 50, 120, .35); }
  /* сцены крупнее — заполняют окно; список не мельче 16px */
  @container ui (min-width: 521px) {
    .st-card .ui { font-size: clamp(13.5px, min(2cqw, 3.6cqh), 20px); }
    .st-card .u-qs { padding: .4em 1.6em 3.4em; }
    .st-card .u-qs li { flex: 1 1 0; max-height: 4.4em; }
    .st-card .u-fxs { padding: .9em 1.6em 3.4em; }
    .st-card .u-fx { flex: 1 1 0; max-height: 5.2em; }
    .st-card .u-fx-t { font-size: 1.2em; }
  }

  .demo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }

  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
  .photo-in { aspect-ratio: 5 / 5.4; }

  .steps-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .board-pin { height: calc(100vh - 16px); padding-bottom: 48px; }
  .board { --col: 380px; }
  .bar { font-size: 17px; }
  .note-st { width: 210px; font-size: 24px; }
  .b-msg { width: 300px; }
  .b-win { width: 260px; }

  .svc-track > * { flex-basis: min(760px, 72%); }
  .svc-body { padding: 30px 32px 32px; }
  .tile { width: 52px; height: 52px; }
  .svc-foot { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .svc-foot .dots { grid-column: 2; margin: 18px 0 0; }
  .svc-foot .all-link { grid-column: 3; justify-self: end; margin-top: 18px; }

  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: start; }
  .faq-head { position: sticky; top: 64px; }

  .final { min-height: calc(100vh - 16px); padding-bottom: 32px; }
  .stk-row { position: absolute; inset: 0; overflow: visible; padding: 0; display: block; }
  .stk { position: absolute; left: var(--x); top: var(--y); }
  .foot { padding-top: 0; }
}

/* ================= Телефон по мобильному макету (_research/maket), до 960px =================
   Десктоп эти правила не задевают: всё ниже — внутри max-width: 959.98px, классы .m-* на десктопе без правил,
   .m-only скрыты от 960px. Секции на телефоне идут в порядке макета (order) и наезжают друг на друга
   скруглённым верхом на 30px — это «выглядывающий верх следующей секции». */
@keyframes tiltIn { from { opacity: 0; transform: perspective(800px) rotateY(45deg) rotateX(-10deg) skewY(-7deg) translateY(30px); } }
@keyframes tiltInC { from { opacity: 0; transform: perspective(700px) rotateY(40deg) rotateX(-10deg) translateY(30px); } }
@keyframes rise { from { opacity: 0; translate: 0 60px; scale: .94; } }
@keyframes slideIn { from { opacity: 0; translate: -120% 0; } }
@keyframes blurIn { from { opacity: 0; filter: blur(10px); transform: translateY(10px); } }
@keyframes pinDrop { 0% { transform: translateY(-60px); opacity: 0; } 70% { transform: translateY(4px); opacity: 1; } 100% { transform: none; } }
@keyframes sway { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(26px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dotTw { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }

@media (min-width: 960px) {
  .m-only { display: none !important; }
  .hero-in { display: contents; }
}

@media (max-width: 959.98px) {
  .d-only { display: none !important; }
  .clouds, .sparks { display: none; }

  /* --- каркас: порядок макета, наезд скруглённым верхом --- */
  #main { display: flex; flex-direction: column; }
  #main > * { flex: none; }
  .sec, .m-sec { position: relative; padding: 0; min-height: 100vh; min-height: 100svh; overflow: clip; }
  #main > :not(#cases) { margin-top: -30px; border-radius: 32px 32px 0 0; }
  #cases { order: 1; z-index: 1; }
  #start { order: 2; z-index: 2; }
  #demo { order: 3; z-index: 3; }
  #m-cases { order: 4; z-index: 4; }
  #how { order: 5; z-index: 5; }
  #steps { order: 6; z-index: 6; }
  #about { order: 7; z-index: 7; }
  #services { order: 8; z-index: 8; }
  #faq { order: 9; z-index: 9; }
  #contacts { order: 10; z-index: 10; }

  /* фоны: небо Windows и светлое небо с пятнами (пятна — как размытые круги макета) */
  .sky, .sky-top, #demo, #steps { background: linear-gradient(180deg, #2C68CC 0%, #5E97E6 55%, #B3D1F3 100%); }
  #start { background:
    radial-gradient(circle at calc(100% - 50px) 90px, rgba(179, 209, 243, .7) 80px, rgba(179, 209, 243, 0) 220px),
    radial-gradient(circle at 50px 594px, rgba(246, 201, 184, .45) 60px, rgba(246, 201, 184, 0) 200px), #F7F9FC; }
  #m-cases { background:
    radial-gradient(circle at 70px 380px, rgba(179, 209, 243, .7) 90px, rgba(179, 209, 243, 0) 230px),
    radial-gradient(circle at calc(100% - 40px) 640px, rgba(246, 201, 184, .45) 50px, rgba(246, 201, 184, 0) 190px), #F7F9FC; }
  #about { background:
    radial-gradient(circle at 70px 460px, rgba(179, 209, 243, .7) 90px, rgba(179, 209, 243, 0) 230px),
    radial-gradient(circle at calc(100% - 40px) 160px, rgba(246, 201, 184, .45) 50px, rgba(246, 201, 184, 0) 190px), #F7F9FC; }
  #faq { background: radial-gradient(circle at calc(100% - 60px) 230px, rgba(179, 209, 243, .7) 80px, rgba(179, 209, 243, 0) 220px), #F7F9FC; }
  .m-cloud { position: absolute; z-index: 0; border-radius: 999px; background: #fff; filter: blur(18px); pointer-events: none; animation: sway 12s ease-in-out infinite; }
  .m-cloud-still { filter: blur(16px); animation: none; }

  /* полоска прогресса справа (положение и цвет — main.js) */
  .mprog { position: fixed; z-index: 40; right: 5px; top: 0; width: 3px; height: 70px; border-radius: 2px; background: rgba(255, 255, 255, .8); pointer-events: none; transition: background-color .3s, opacity .3s; }
  .mprog.on-light { background: rgba(30, 27, 24, .5); }
  .mprog.off, html.menu-open .mprog { opacity: 0; }

  /* наклон заголовков макета */
  .m-tilt { transform: perspective(800px) rotateY(8deg) rotateX(-2deg) skewY(-2deg); transform-origin: left center; }
  .m-tilt-c { transform: perspective(800px) rotateY(10deg) rotateX(-3deg) skewY(-2deg); transform-origin: center; }

  /* окна макета: обводка тушью, синяя шапка, белый квадрат с крестиком */
  .win { padding: 0; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper); }
  .win-bar { height: 34px; padding: 0 10px 0 12px; justify-content: space-between; background: var(--wt); font-weight: 700; }
  .win-x { width: 20px; height: 20px; border: 0; border-radius: 4px; background: #fff; color: var(--wt); }
  .win-x .i { width: 10px; height: 10px; stroke-width: 2.6; }
  .win-btns { display: flex; gap: 4px; }
  .win-btns > i { width: 18px; height: 18px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
  .win-btns .win-x { width: 18px; height: 18px; border-radius: 3px; }

  /* стрелки каруселей: светлая и тёмная с кольцом-таймером */
  .head2-side .ctrl { display: none; }
  .m-ctrl { display: flex; gap: 10px; margin: 6px 24px 0 auto; }
  .m-ctrl .arrow { width: 50px; height: 50px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); }
  .m-ctrl .arrow-next { border: 0; background: var(--ink); color: var(--paper); }
  .m-ctrl .arrow .i { width: 20px; height: 20px; }
  .m-ctrl .ring { inset: -3px; width: 56px; height: 56px; }
  .m-ctrl .ring circle { stroke: #5E97E6; stroke-width: 3; stroke-linecap: round; }
  #start .ring circle { animation-duration: 4s; }
  #services .ring circle { animation-duration: 5s; }

  /* --- 00 Загрузка --- */
  .pre { justify-content: flex-end; padding: 26px 24px 70px; color: #fff; background: linear-gradient(180deg, #2C68CC 0%, #5E97E6 55%, #B3D1F3 100%); }
  .pre-mtop { position: absolute; left: 24px; right: 24px; top: 26px; display: flex; justify-content: space-between; font: 600 12px/1 var(--f-mono); letter-spacing: 1.5px; }
  .pre-mark { position: absolute; left: 0; right: 0; top: 270px; display: flex; justify-content: center; align-items: flex-end; font: 400 150px/1 var(--f-display); }
  .pre-pin { display: inline-block; width: 30px; height: 30px; margin: 0 0 22px 8px; border-radius: 50%; background: var(--red); box-shadow: 3px 4px 0 rgba(30, 27, 24, .28); animation: pinDrop .9s cubic-bezier(.3, 1.4, .5, 1) .3s both; }
  .pre-bottom { gap: 16px; }
  .pre-mword { font: 400 34px/1 var(--f-display); color: var(--ink); }
  .pre-mword span { display: none; }
  .pre-mword span.cur { display: block; animation: blurIn .5s ease-out; }
  .pre-count { font: 500 34px/1 var(--f-mono); color: var(--ink); }
  .pre-bar { height: 22px; padding: 3px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--paper); }
  .pre-bar i { border-radius: 2px; }
  .pre-bar i:nth-child(n+17) { display: none; }

  /* --- 01 Первый экран: окно «привет.txt» --- */
  #cases .hero { position: relative; z-index: 1; margin: 80px 16px 0; padding: 0; color: var(--ink); text-shadow: none; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 8px; box-shadow: 0 24px 60px rgba(30, 27, 24, .18); overflow: hidden; }
  .hero > .win-bar { font-size: 13px; }
  .hero-in { padding: 26px 22px; }
  .hero-title { font: 400 34px/1.08 var(--f-display); letter-spacing: 0; }
  .hero-title br { display: none; }
  .hero-title .type { display: grid; width: max-content; max-width: 100%; color: var(--paper); font-size: 36px; line-height: 1.06; letter-spacing: -.5px; white-space: normal; transform: rotate(-2deg); }
  .type-ghosts > *, .type-plate { min-height: 52px; padding: 2px 20px 6px 14px; }
  .type-plate { background-position: right 14px center; background-size: 3px 36px; box-shadow: 4px 6px 0 rgba(30, 27, 24, .18); animation-duration: .8s; }
  .hero-rest { display: block; margin-top: 18px; }
  .hero-lead { max-width: none; margin-top: 18px; font-size: 16px; line-height: 1.45; color: var(--muted); }
  .hero-lead b { color: var(--ink); font-weight: 500; }
  /* первый экран — окно «привет.txt», под ним сразу выглядывает следующая секция (без пустого неба внизу) */
  #cases { min-height: 0; padding-bottom: 64px; }

  /* --- 02 Можно прийти с… --- */
  #start .car { display: flex; flex-wrap: wrap; align-items: center; padding: 64px 0 110px; }
  #start .head2 { width: 100%; display: block; margin: 0; padding: 0 24px; }
  #start .h2, #how .h2, #steps .h2, #about .h2, #services .h2, #faq .h2 { font-size: 32px; line-height: 1.06; }
  #start .mark-u { background: none; padding: 0; }
  #start .lead { margin-top: 16px; font-size: 17px; line-height: 1.45; }
  #start .tasks { width: 100%; height: 380px; margin: 30px 0 0; padding: 14px 24px 0; gap: 12px; scroll-padding-inline: 24px; align-items: flex-start; }
  #start .tasks > * { flex: 0 0 300px; }
  #start .task { min-height: 340px; padding: 26px 24px; overflow: hidden; transform: translateY(12px) rotate(3deg); transition: transform .4s ease; }
  #start .task.is-cur { transform: rotate(-1.5deg); }
  #start .task.tape::before { display: none; }
  #start .task-num { left: 18px; top: 8px; font: 400 120px/1 var(--f-display); letter-spacing: 0; color: rgba(47, 93, 140, .12); }
  #start .task > .pin { left: 136px; top: 8px; }
  #start .task h3 { margin: auto 0 0; font: 400 28px/1.1 var(--f-display); }
  #start .task p { margin-top: 12px; font-size: 16px; line-height: 1.45; }
  #start .dots { margin: 6px 0 0 24px; padding: 12px 16px; gap: 8px; }
  #start .dots button.on { width: 28px; }

  /* --- 03 Демо: напишите «прайс» --- */
  #demo { padding: 40px 0 110px; }
  #demo .demo-grid { display: block; padding: 0; }
  .m-icons { position: absolute; z-index: 1; left: 14px; top: 34px; display: flex; flex-direction: column; gap: 18px; }
  .m-icons > span { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: #fff; }
  #demo .demo-text { position: relative; margin: 0 22px 0 96px; padding: 20px 20px 22px; background: var(--paper); box-shadow: 4px 6px 0 rgba(30, 27, 24, .18); transform: rotate(1.5deg); }
  #demo .demo-text::before { content: ""; position: absolute; left: 96px; top: -10px; width: 80px; height: 20px; background: var(--kraft); opacity: .85; transform: rotate(-3deg); }
  #demo .cut { display: block; padding: 0; background: none; box-shadow: none; font: 400 28px/1.1 var(--f-display); }
  #demo .cut .pin { display: none; }
  #demo .lead { max-width: none; margin: 14px 0 0; font-size: 15px; line-height: 1.45; }
  .m-u { position: relative; display: inline-block; }
  .m-u::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -7px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8C60 3 120 11 198 4' fill='none' stroke='%23E4572E' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
  #demo .chat-win { width: auto; max-width: none; margin: 54px 22px 0; box-shadow: 0 24px 60px rgba(30, 27, 24, .18); }
  #demo .chat-win .win-bar { height: 38px; padding: 0 12px; font-size: 14px; }
  .chat-m { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 18px; background: var(--paper); }
  .chat-m .msg { font-size: 15px; line-height: 1.4; }
  .chat-m .msg.me { color: #fff; border-radius: 18px 18px 4px 18px; }
  .chat-m .msg.bot { max-width: 260px; background: #ECEDEA; border-radius: 18px 18px 18px 4px; }
  .chat-m .msg a { color: var(--pen); }
  .chat-m .qr { margin: 0; padding: 9px 14px; font-weight: 700; }
  .chat-foot { align-self: flex-start; font: 500 12px/1.3 var(--f-mono); color: var(--muted); }
  .m-demo-note { position: relative; z-index: 1; width: max-content; margin: 14px 24px 0 auto; font: 700 30px/1 var(--f-hand); color: #fff; text-align: right; transform: rotate(-5deg); }

  /* --- 04 Что уже собрал --- */
  #m-cases { padding: 36px 16px 110px; }
  .m-case-list { display: grid; gap: 46px; }
  .m-case { position: relative; }
  .m-case-win { overflow: hidden; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 8px; box-shadow: 4px 6px 0 rgba(30, 27, 24, .14); }
  .m-case-win .win-bar { height: 32px; padding: 0 12px; font-size: 13px; }
  .m-case-shot { height: 250px; display: flex; align-items: center; justify-content: center; font: 500 13px/1.4 var(--f-mono); color: var(--muted); }
  /* заголовок и стрелка — над окном, на одной линии: читаем сверху вниз */
  .m-case-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding: 0 6px; }
  .m-case-arrow { flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 3px 4px 0 rgba(30, 27, 24, .2); }
  .m-case-title { font: 400 24px/1.12 var(--f-display); }

  /* «Не только код» — экрана в макете нет: небо, облака, бумажные карточки */
  #how { padding: 56px 0 110px; }

  /* --- 05 Что после «привет»: вырезки лесенкой --- */
  #steps { padding: 0 0 110px; }
  #steps .steps-head { display: block; padding: 56px 24px 0; }
  #steps .h2 { color: #fff; }
  .m-steps { position: relative; height: 356px; margin: 112px -4px 0; padding: 0; list-style: none; }
  .m-step { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--paper); box-shadow: 4px 6px 0 rgba(30, 27, 24, .18); font-size: 16px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
  .m-step span { font: 600 14px/1 var(--f-mono); color: var(--pen); }
  .m-step:nth-child(1) { left: 0; top: 0; transform: rotate(-1deg); }
  .m-step:nth-child(2) { left: 34px; top: 62px; transform: rotate(1deg); }
  .m-step:nth-child(3) { left: 8px; top: 124px; transform: rotate(-1deg); }
  .m-step:nth-child(4) { left: 40px; top: 186px; transform: rotate(1deg); }
  .m-step:nth-child(5) { left: 110px; top: 248px; padding: 12px 18px; background: var(--red-text); color: #fff; font-size: 18px; transform: rotate(-3deg); box-shadow: 4px 6px 0 rgba(30, 27, 24, .22); }
  .m-step:nth-child(5) span { color: #fff; }
  .m-step:nth-child(5)::after { content: ""; position: absolute; left: 22px; bottom: -12px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 13px solid var(--red-text); }
  .m-step:nth-child(6) { left: 14px; top: 310px; background: var(--kraft); transform: rotate(1deg); }
  .m-step:nth-child(6) span { color: var(--ink); }
  #steps .steps-note { max-width: none; margin-top: 48px; font: 700 26px/1.05 var(--f-hand); color: var(--ink); transform: rotate(-4deg); }

  /* --- 06 Знаю бизнес изнутри --- */
  #about .wrap { padding: 52px 24px 110px; }
  #about .about-grid { display: block; }
  #about .label { font: 600 13px/1.3 var(--f-mono); letter-spacing: 1.5px; }
  #about .h2 { margin: 0; }
  #about .lead { margin-top: 14px; font-size: 16px; line-height: 1.45; }
  #about .about-cap { display: none; }
  #about .photo { width: 200px; margin: 56px 0 0 72px; padding: 12px 12px 36px; box-shadow: 4px 6px 0 rgba(30, 27, 24, .14); transform: rotate(3deg); }
  #about .photo.tape::before { display: none; }
  #about .photo > .pin { left: 89px; top: -11px; }
  #about .photo-in { width: 176px; height: 186px; aspect-ratio: auto; padding: 0 12px; background: var(--mbg, #DCE6F2); color: var(--muted); font: 500 13px/1.3 var(--f-mono); }
  #about .photo-in .i { display: none; }
  .m-pill { position: absolute; z-index: 1; padding: 10px 18px; border-radius: 999px; background: var(--paper); box-shadow: 3px 4px 0 rgba(30, 27, 24, .18); white-space: nowrap; }
  .m-pill-name { left: -56px; top: 186px; font: 400 20px/1 var(--f-display); transform: rotate(-5deg); }
  .m-pill-role { left: -10px; top: 232px; padding: 8px 16px; font-size: 15px; font-weight: 700; line-height: 1.3; transform: rotate(-1.5deg); }
  #about .ruler { height: auto; margin-top: 54px; padding-top: 46px; }
  #about .ruler-hint { left: 0; top: 0; font: 700 26px/1 var(--f-hand); transform: rotate(-5deg); }
  .m-hint-arrow { position: absolute; left: 150px; top: 4px; width: 40px; height: 40px; fill: none; stroke: var(--pen); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  #about .years { position: static; height: auto; display: flex; justify-content: space-between; }
  #about .year { position: static; transform: none; min-height: 44px; padding: 8px 0; font: 600 15px/1 var(--f-mono); color: var(--muted); }
  #about .year.on { font-size: 22px; color: var(--ink); }
  #about .year.on::after { display: none; }
  #about .ticks { position: static; height: 18px; margin-top: 4px; }
  #about .ticks i, #about .ticks i:nth-child(6n+1) { height: 7px; background: var(--ink); opacity: .35; }
  #about .ticks i:nth-child(5n+1) { height: 12px; }
  #about .ticks i:nth-child(15n+1) { height: 18px; opacity: 1; }
  #about .ticks i:nth-child(n+32) { display: none; }
  .m-cap { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }
  .m-cap b { display: block; margin-bottom: 4px; color: var(--ink); }

  /* --- 07 С чем приходят: 3D-карточка, искры --- */
  #services .car { display: block; padding: 52px 0 110px; }
  #services .head2 { display: block; margin: 0; padding: 0 24px; }
  #services .head2-side { display: none; }
  .m-sparks { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
  .m-sparks i { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: dotTw 3s ease-in-out infinite; }
  #services .svc-track { margin: 62px 0 0; padding: 22px 22px 30px; gap: 22px; scroll-padding-inline: 22px; perspective: 900px; }
  #services .svc-track > * { flex: 0 0 100%; } /* % — от ширины трека без полей: карточка 346px на 390, следующая за краем */
  #services .svc { transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; }
  #services .svc .win { position: relative; overflow: visible; border: 0; border-radius: 0; background: var(--paper) radial-gradient(rgba(47, 93, 140, .18) 1px, transparent 1.2px) 0 0 / 14px 14px; box-shadow: 4px 6px 0 rgba(30, 27, 24, .18); }
  #services .svc .win-bar { display: none; }
  #services .svc .win > .pin { left: 160px; top: -11px; }
  #services .svc-body { padding: 26px 22px 22px; background: none; }
  #services .tiles { gap: 8px; margin: 0; }
  #services .tile { width: 44px; height: 44px; border-radius: 0; background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); }
  #services .tile .i { width: 22px; height: 22px; }
  #services .svc h3 { margin: 16px 0 0; font: 400 27px/1.1 var(--f-display); }
  #services .svc .sub { margin-top: 8px; font-size: 16px; line-height: 1.45; }
  #services .with { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--ink); }
  #services .chips { margin-top: 8px; }
  #services .chip { height: auto; padding: 7px 12px; border-color: var(--ink); font-weight: 500; }
  #services .svc ul { gap: 6px; margin-top: 16px; }
  #services .svc li { gap: 10px; align-items: baseline; font: 500 14px/1.4 var(--f-mono); }
  #services .svc li .i { display: none; }
  #services .svc li::before { content: "→"; color: var(--pen); }
  #services .svc-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 24px; }
  #services .dots { display: none; }
  #services .all-link { padding: 12px 16px; font-size: 15px; font-weight: 700; box-shadow: 4px 6px 0 rgba(30, 27, 24, .18); }
  #services .all-link .i { display: none; }
  #services .m-ctrl { margin: 0; }

  /* --- 08 Что обычно спрашивают --- */
  #faq .faq-grid { display: block; padding: 52px 16px 110px; }
  #faq .faq-head { padding: 0 8px; }
  #faq .faq-head .hand { display: none; }
  #faq .faq { display: grid; gap: 8px; margin-top: 22px; }
  #faq .faq-group { display: grid; gap: 8px; }
  #faq .faq-group + .faq-group { margin-top: 0; }
  #faq .faq-group h3 { margin: 0; padding: 10px 8px 2px; font: 600 12px/1.3 var(--f-mono); letter-spacing: 1.5px; }
  #faq .qa, #faq .qa:hover { margin: 0; border: 1.5px solid transparent; box-shadow: 4px 6px 0 rgba(30, 27, 24, .1); transform: none; }
  #faq .qa.open { border-color: var(--ink); }
  #faq .qa > button { grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 12px; min-height: 52px; padding: 12px 16px; font: 700 16px/1.3 var(--f-ui); }
  #faq .qa .n { font: 600 13px/1 var(--f-mono); color: var(--pen); }
  #faq .qa .pm { width: 18px; height: 18px; stroke-width: 2; }
  #faq .qa-a p { padding: 0 16px 16px 50px; font-size: 15px; line-height: 1.45; }

  /* --- 09 Можно просто написать: лента стикеров --- */
  #contacts { display: flex; flex-direction: column; padding: 270px 0 26px; color: #fff; }
  #contacts .stk-row { display: none; }
  .m-ribbon { position: absolute; left: 0; top: 70px; width: 100%; height: 150px; overflow: hidden; }
  .m-ribbon-track { display: flex; align-items: center; gap: 22px; width: max-content; height: 150px; padding-left: 10px; animation: marquee 22s linear infinite; }
  .rb-group { display: flex; align-items: center; gap: 22px; }
  .rb-note { position: relative; padding: 14px 16px; background: var(--paper); color: var(--ink); box-shadow: 4px 6px 0 rgba(30, 27, 24, .2); transform: rotate(-6deg); font: 700 26px/1 var(--f-hand); white-space: nowrap; }
  .rb-note::before { content: ""; position: absolute; left: 34px; top: -9px; width: 54px; height: 16px; background: var(--kraft); opacity: .85; }
  .rb-badge { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--paper); box-shadow: 4px 6px 0 rgba(30, 27, 24, .2); transform: rotate(6deg); color: var(--ink); font: 400 50px/1 var(--f-display); }
  .rb-badge .dot { width: 13px; height: 13px; margin: 22px 0 0 3px; }
  .rb-win { width: 150px; overflow: hidden; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px; box-shadow: 4px 6px 0 rgba(30, 27, 24, .2); transform: rotate(-3deg); }
  .rb-win b { display: block; height: 22px; padding: 3px 8px; background: var(--wt); color: #fff; font-size: 11px; font-weight: 700; }
  .rb-win span { display: flex; align-items: center; gap: 6px; padding: 10px; color: var(--ink); font-size: 13px; font-weight: 700; }
  .rb-win .i { width: 16px; height: 16px; color: var(--pen); stroke-width: 2.4; }
  .rb-label { padding: 10px 14px; background: var(--kraft); color: var(--ink); box-shadow: 4px 6px 0 rgba(30, 27, 24, .2); transform: rotate(4deg); font: 600 14px/1.2 var(--f-mono); letter-spacing: 1.5px; white-space: nowrap; }
  .rb-pen { padding: 12px 18px; background: var(--pen); color: #fff; box-shadow: 4px 6px 0 rgba(30, 27, 24, .2); transform: rotate(-5deg); font: 700 34px/1 var(--f-hand); white-space: nowrap; }
  #contacts .final-in { margin: 0; padding: 0 24px; max-width: none; text-align: center; }
  #contacts .final-title { font-size: 36px; line-height: 1.06; color: #fff; }
  #contacts .lead { max-width: none; margin: 18px 0 0; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--ink); }
  #contacts .btn-big { margin-top: 62px; height: 64px; padding: 0 34px; font-size: 18px; font-weight: 700; box-shadow: 4px 6px 0 rgba(30, 27, 24, .2); }
  #contacts .final-ps { margin-top: 46px; font: 700 24px/1.1 var(--f-hand); color: var(--ink); transform: rotate(-2deg); }
  .ps-big { font-size: 40px; }
  #contacts .foot { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 0 12px; align-items: end; margin-top: auto; padding: 24px 24px 0; font-size: 12px; line-height: 1.5; color: var(--ink); }
  #contacts .foot > span, #contacts .foot-link { grid-column: 1; }
  #contacts .foot-copy { font: 600 12px/1.5 var(--f-mono); letter-spacing: 1px; }
  #contacts .up { grid-column: 2; grid-row: 1 / span 4; width: 52px; height: 52px; margin: 0; }
}

/* повторный заход без прелоадера: первый экран ждёт main.js (класс — инлайн-скрипт в index.html) */
.intro-wait [data-intro], .intro-wait .m-tilt, .intro-wait .m-rise { opacity: 0; }

/* входные анимации макета: блок ждёт .in (main.js — когда виден); без JS и при reduced motion всё видно сразу */
@media (max-width: 959.98px) and (prefers-reduced-motion: no-preference) {
  html.m-ready .m-tilt:not(.in), html.m-ready .m-rise:not(.in), html.m-ready .m-steps:not(.in) .m-step { opacity: 0; }
  .m-tilt.in { animation: tiltIn 1.4s cubic-bezier(.2, .7, .2, 1); }
  .m-tilt-c.in { animation-name: tiltInC; }
  .m-rise.in { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .m-steps.in .m-step { animation: slideIn .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.15s + var(--i) * .18s); }
}

/* ---------- Без анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
  html, #main { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .clouds, .sparks { display: none; }
  .board-pin { position: relative; height: auto; overflow-x: auto; padding-bottom: 40px; }
  .board { height: 560px; }
  .st-card { position: relative !important; top: auto !important; }
}
