/* Slotty, лендинг. Тихо, крупно, много воздуха: одна мысль на экран.
   Нейтральная палитра, единственный акцент — синий Slotty, розовая «печать» только на билете. */

/* ---------- токены: светлая тема основная, тёмная только по кнопке ---------- */
:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --accent: #1f6fe5;
  --accent-hover: #155fd0;
  --accent-soft: rgba(47, 124, 246, 0.1);
  --on-accent: #ffffff;
  --stamp: #ff5fa8;
  --ok: #1f9d55;
  --glass: rgba(251, 251, 253, 0.72);
  --phone-frame: #1d1d1f;
  --shadow-device: 0 40px 80px -30px rgba(18, 38, 80, 0.35), 0 12px 30px -12px rgba(18, 38, 80, 0.18);
  --shadow-tile: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(18, 38, 80, 0.12);

  --font-display: "Wix Madefor Display", -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-text: "Wix Madefor Text", -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 16px;
  --r-s: 12px;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1080px;
  --section: clamp(96px, 13vw, 168px);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --nav-h: 52px;
}

:root[data-theme="dark"] {
  --bg: #0b0b0d;
  --bg-2: #151517;
  --card: #1c1c1f;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #86868b;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --accent: #3d8bff;
  --accent-hover: #5c9dff;
  --accent-soft: rgba(61, 139, 255, 0.16);
  --glass: rgba(11, 11, 13, 0.7);
  --phone-frame: #2a2a2e;
  --shadow-device: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-tile: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.ico--flip { transform: scaleX(-1); }
.muted { color: var(--ink-3); }

/* ---------- типографика ---------- */
.eyebrow {
  font: 600 clamp(15px, 1.4vw, 19px)/1.3 var(--font-display);
  color: var(--accent);
  margin-bottom: 14px;
}
.display {
  font: 700 clamp(38px, 6.4vw, 76px)/1.04 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font: 700 clamp(22px, 2.3vw, 28px)/1.18 var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead {
  font: 500 clamp(19px, 2vw, 24px)/1.42 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink-3);
  max-width: 34ch;
  text-wrap: pretty;
}
.center .lead { margin-inline: auto; }
.lead b { color: var(--ink); font-weight: 600; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- кнопки ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 980px;
  background: var(--accent); color: var(--on-accent);
  font: 600 17px/1 var(--font-text);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.pill:hover { background: var(--accent-hover); }
.pill:active { transform: scale(0.97); }
.pill--sm { min-height: 30px; padding: 0 14px; font-size: 13px; }
.pill--lg { min-height: 52px; padding: 0 28px; font-size: 18px; }
.more {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px;
  color: var(--accent); font: 500 18px/1 var(--font-text); text-decoration: none;
}
.more::after { content: "›"; font-size: 1.25em; line-height: 0; transform: translateY(-1px); transition: transform 0.25s var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.more:hover::after { transform: translate(3px, -1px); }
.icon-btn, .round-btn {
  display: grid; place-items: center; border: 0; cursor: pointer; background: transparent; color: var(--ink-2);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.icon-btn { width: 36px; height: 36px; border-radius: 50%; }
.icon-btn:hover { color: var(--ink); background: var(--line); }
.round-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); color: var(--ink); }
.round-btn:hover { background: var(--line-2); }
.round-btn:active { transform: scale(0.94); }
.round-btn:disabled { opacity: 0.35; cursor: default; }
.ico--moon { display: none; }
:root[data-theme="dark"] .ico--sun { display: none; }
:root[data-theme="dark"] .ico--moon { display: block; }
/* ---------- навигация ---------- */
.gnav {
  position: sticky; top: 0; z-index: 20;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.gnav.is-scrolled { border-bottom-color: var(--line); }
.gnav__inner {
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  height: var(--nav-h); display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 19px/1 var(--font-display); letter-spacing: -0.02em; }
.brand__mark { width: 26px; height: 26px; }
.gnav__links { display: flex; gap: 28px; margin-inline: auto; }
.gnav__links a { font-size: 13px; color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.gnav__links a:hover, .gnav__links a[aria-current="true"] { color: var(--ink); }
.gnav__end { display: flex; align-items: center; gap: 8px; }
@media (max-width: 760px) {
  .gnav__links { display: none; }
  .gnav__end { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 112px); text-align: center; overflow: hidden; }
.hero__h1 > span { display: block; }
.hero__title {
  font: 800 clamp(44px, 8.4vw, 104px)/1 var(--font-display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__sub {
  margin: 24px auto 0; max-width: 34ch; text-wrap: balance;
  font: 500 clamp(19px, 2.1vw, 26px)/1.38 var(--font-display);
  letter-spacing: -0.012em; color: var(--ink-2);
}
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.hero__stage {
  position: relative; margin-top: clamp(56px, 8vw, 96px);
  display: grid; justify-items: center; padding-inline: var(--gutter);
}
/* мягкое свечение за телефоном: синее и чуть розового, как на знаке */
.hero__stage::before {
  content: ""; position: absolute; z-index: -1; inset: 6% 50% auto auto; translate: 50% 0;
  width: min(900px, 140vw); aspect-ratio: 1.4;
  background:
    radial-gradient(40% 40% at 42% 45%, rgba(47, 124, 246, 0.22), transparent 70%),
    radial-gradient(28% 28% at 64% 38%, rgba(255, 95, 168, 0.14), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__hint { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.hero__facts {
  margin-top: clamp(64px, 9vw, 112px); padding: 32px 0 clamp(72px, 10vw, 120px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--line);
}
.hero__facts li { display: grid; gap: 4px; }
.hero__facts b { font: 700 clamp(24px, 3vw, 36px)/1.1 var(--font-display); letter-spacing: -0.03em; }
.hero__facts span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 600px) {
  .hero__facts { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .hero__facts li { grid-template-columns: 7.5em 1fr; align-items: baseline; gap: 12px; }
  .hero__facts b { font-size: 22px; }
}

/* ---------- телефон и демо ---------- */
.phone {
  width: min(360px, 100%);
  border-radius: 48px;
  padding: 10px;
  background: var(--phone-frame);
  box-shadow: var(--shadow-device);
  display: flex; flex-direction: column;
  text-align: left;
  font-size: 14px;
  /* экран внутри живёт в своих цветах Telegram */
  --tg-bg: #ffffff;
  --tg-bg-2: #f1f2f6;
  --tg-ink: #0f1419;
  --tg-hint: #8a8f98;
  --tg-btn: #2f7cf6;
}
:root[data-theme="dark"] .phone { --tg-bg: #17171a; --tg-bg-2: #232327; --tg-ink: #f5f5f7; --tg-hint: #8d8d94; --tg-btn: #3d8bff; }
.phone__bar, .phone__screen, .phone__cta { background: var(--tg-bg); color: var(--tg-ink); }
.phone__bar {
  border-radius: 38px 38px 0 0; padding: 18px 18px 10px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--tg-btn); font-size: 14px;
}
.phone__bar > :last-child { justify-self: end; letter-spacing: 1px; }
.phone__title { color: var(--tg-ink); font-weight: 600; text-align: center; line-height: 1.15; }
.phone__title small { display: block; color: var(--tg-hint); font-weight: 400; font-size: 11px; }
.phone__screen { padding: 6px 16px 8px; min-height: 452px; }
.phone__cta { border-radius: 0 0 38px 38px; padding: 8px 16px 18px; }

.demo__master { display: flex; align-items: center; gap: 12px; padding: 6px 0 14px; }
.demo__master b { display: block; font-size: 15px; }
.demo__master small { color: var(--tg-hint); font-size: 13px; }
.demo__ava {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, #5c9cff, #2f7cf6); color: #fff; font-weight: 700; font-size: 14px;
}
.demo__label { font-size: 12px; color: var(--tg-hint); margin: 12px 0 8px; }
.demo__services { display: grid; gap: 6px; }
.opt {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 0; text-align: left; cursor: pointer;
  background: var(--tg-bg-2); transition: box-shadow 0.2s var(--ease), background-color 0.2s;
}
.opt span { font-weight: 500; }
.opt small { color: var(--tg-hint); font-size: 12px; white-space: nowrap; }
.opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--tg-btn); background: color-mix(in srgb, var(--tg-btn) 8%, var(--tg-bg)); }
.demo__dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.date {
  display: grid; gap: 2px; justify-items: center; padding: 8px 0; min-height: 52px;
  border: 0; border-radius: 12px; background: var(--tg-bg-2); cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.date small { font-size: 10px; color: var(--tg-hint); }
.date b { font-size: 15px; font-variant-numeric: tabular-nums; }
.date:disabled { opacity: 0.35; cursor: default; }
.date[aria-checked="true"] { background: var(--tg-btn); color: #fff; }
.date[aria-checked="true"] small { color: rgba(255, 255, 255, 0.8); }
.demo__times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; min-height: 92px; align-content: start; }
.slot {
  min-height: 40px; border: 0; border-radius: 10px; background: var(--tg-bg-2); cursor: pointer;
  font-weight: 500; font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.slot:active, .opt:active, .date:active { transform: scale(0.97); }
.slot[aria-checked="true"] { background: var(--tg-btn); color: #fff; }
.demo__empty { grid-column: 1 / -1; color: var(--tg-hint); font-size: 13px; padding: 10px 0; }
.demo__book, .demo__again {
  width: 100%; min-height: 48px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--tg-btn); color: #fff; font-weight: 600; font-size: 15px;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.demo__book:disabled { opacity: 0.45; cursor: default; }
.demo__book:not(:disabled):active, .demo__again:active { transform: scale(0.98); }
.demo__book[hidden] { display: none; }

/* билет — душа Slotty: перфорация и розовая печать */
.ticket {
  margin-top: 18px; border-radius: 20px; background: var(--tg-bg-2);
  --hole: var(--tg-bg);
  position: relative;
}
.ticket__top { padding: 22px 20px 18px; text-align: center; border-bottom: 2px dashed color-mix(in srgb, var(--tg-hint) 40%, transparent); position: relative; }
.ticket__top::before, .ticket__top::after {
  content: ""; position: absolute; bottom: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--hole);
}
.ticket__top::before { left: -10px; }
.ticket__top::after { right: -10px; }
.ticket__stamp {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 26px;
  background: var(--stamp);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--stamp) 18%, transparent);
}
.ticket__head { font: 700 22px/1.2 var(--font-display); letter-spacing: -0.02em; }
.ticket__who { color: var(--tg-hint); font-size: 13px; margin-top: 2px; }
.ticket__rows { padding: 16px 20px 4px; display: grid; gap: 10px; }
.ticket__rows div { display: flex; justify-content: space-between; gap: 12px; }
.ticket__rows dt { color: var(--tg-hint); }
.ticket__rows dd { font-weight: 600; text-align: right; }
.ticket__note { padding: 6px 20px 16px; color: var(--tg-hint); font-size: 12px; }
.ticket .demo__again { width: calc(100% - 32px); margin: 0 16px 16px; }
.motion .ticket:not([hidden]) .ticket__stamp { animation: stamp 0.55s var(--ease) both; }
.motion .ticket:not([hidden]) { animation: rise 0.6s var(--ease) both; }
@keyframes stamp { from { transform: scale(1.8) rotate(-18deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- раньше ---------- */
.before { padding: var(--section) 0; background: var(--bg-2); }
.before .lead { margin-top: 24px; }
.chatter { margin: clamp(48px, 7vw, 80px) 0; display: grid; gap: 12px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.chatter__row { display: flex; gap: 10px; width: max-content; }
.motion .chatter__row { animation: marquee 60s linear infinite; }
.motion .chatter__row--rev { animation-direction: reverse; animation-duration: 70s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.bubble {
  white-space: nowrap; padding: 10px 16px; border-radius: 20px 20px 20px 6px;
  background: var(--card); color: var(--ink); font-size: 15px; box-shadow: var(--shadow-tile);
}
.bubble--me { border-radius: 20px 20px 6px 20px; background: var(--accent); color: #fff; box-shadow: none; }
.media { border-radius: var(--r-xl); overflow: hidden; position: relative; background: var(--line); }
.media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media figcaption {
  position: absolute; left: 24px; bottom: 20px; padding: 8px 14px; border-radius: 980px;
  background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 14px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* ---------- 45 секунд ---------- */
.stat { padding: var(--section) 0; }
.stat__num {
  font: 800 clamp(120px, 26vw, 300px)/0.9 var(--font-display);
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--accent) 20%, color-mix(in srgb, var(--accent) 55%, var(--stamp)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__num small { display: block; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.3; }
.stat .lead { margin-top: 28px; }

/* ---------- один день ---------- */
.day { padding: var(--section) 0; background: var(--bg-2); }
.day__grid { display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.2fr; gap: clamp(32px, 6vw, 96px); }
.day__clock {
  position: sticky; top: calc(var(--nav-h) + 12vh); align-self: start;
  display: grid; gap: 6px;
}
.day__time {
  font: 800 clamp(64px, 9vw, 120px)/1 var(--font-display);
  letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
}
.day__moment { font: 600 20px/1.3 var(--font-display); color: var(--ink-2); }
.day__bar { margin-top: 18px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; max-width: 240px; }
.day__bar i { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0.08)); transition: transform 0.6s var(--ease); }
.day__list { display: grid; gap: clamp(72px, 10vw, 128px); min-width: 0; }
.moment, .tile { min-width: 0; }
.moment { display: grid; gap: 12px; }
.moment > p { color: var(--ink-2); max-width: 44ch; }
.moment__time { display: none; font: 700 15px/1 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.tile {
  margin-top: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l);
  background: var(--card); box-shadow: var(--shadow-tile);
}
@media (max-width: 820px) {
  .day__grid { grid-template-columns: minmax(0, 1fr); }
  .day__clock { display: none; }
  .moment__time { display: block; }
}

/* сцены: начальное состояние только при motion, финальное — по .is-play */
.steps { display: flex; flex-wrap: wrap; gap: 8px; }
.steps li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 980px; background: var(--bg-2); font-weight: 500; }
.steps .ico { color: var(--accent); }
.linkcard { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r-m); background: var(--bg-2); }
.linkcard__url { font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.linkcard__btn { flex: none; padding: 8px 12px; border-radius: 10px; background: var(--ok); color: #fff; font-size: 13px; font-weight: 600; }

.scene--push { display: grid; }
.push {
  grid-area: 1 / 1; display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px;
  background: var(--bg-2); font-size: 15px;
}
.push span:last-child { color: var(--ink-2); }
.push__app { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12px; margin-bottom: 4px; }
.push__app .ico { color: var(--accent); }
.push__app time { margin-left: auto; }
.push--back { transform: translateY(14px) scale(0.94); opacity: 0.5; z-index: -1; position: relative; }
.scene--push { isolation: isolate; padding-bottom: 46px; }

.toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 10px 14px; border: 0; border-radius: var(--r-m); background: var(--bg-2); cursor: pointer; text-align: left;
}
.toggle__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.toggle__track { width: 51px; height: 31px; border-radius: 31px; background: var(--line-2); position: relative; flex: none; transition: background-color 0.3s var(--ease); }
.toggle__thumb { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: transform 0.3s var(--ease); }
.toggle[aria-checked="true"] .toggle__track { background: #34c759; }
.toggle[aria-checked="true"] .toggle__thumb { transform: translateX(20px); }
.mini-tl { margin-top: 12px; display: grid; gap: 6px; }
.mini-tl li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--bg-2); font-size: 15px; transition: background-color 0.3s, color 0.3s; }
.mini-tl span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mini-tl b { font-weight: 500; }
.mini-tl__free { box-shadow: inset 0 0 0 1px var(--line-2); background: transparent !important; }
.mini-tl__free b { color: var(--ok); }
.mini-tl__free.is-lunch { box-shadow: none; background: var(--accent-soft) !important; }
.mini-tl__free.is-lunch b { color: var(--accent); }

.quick { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-m); background: var(--bg-2); min-height: 56px; }
.quick .ico { color: var(--accent); font-size: 20px; }
.quick__text { font-size: 15px; }
.quick__text::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.15em; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 12px; border-radius: 980px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }

.scene--remind { display: grid; gap: 8px; justify-items: start; }
.msg { max-width: 34ch; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--bg-2); font-size: 15px; }
.msg small { display: block; color: var(--ink-3); font-size: 12px; margin-bottom: 2px; }
.msg--me { justify-self: end; border-radius: 18px 18px 6px 18px; background: var(--accent); color: #fff; }
.msg-btns { display: flex; gap: 6px; }
.msg-btns span { padding: 8px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px; }

.income__label { color: var(--ink-3); font-size: 14px; }
.income__sum { display: block; font: 800 clamp(36px, 5vw, 52px)/1.1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.bars { margin-top: 20px; height: 120px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; }
.bars i { display: block; height: calc(var(--h) * 100%); border-radius: 8px; background: var(--accent); transform-origin: bottom; transition: transform 0.9s var(--ease); }
.bars i:nth-child(6) { background: linear-gradient(180deg, var(--stamp), var(--accent)); }
.bars__days { margin-top: 8px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-size: 12px; color: var(--ink-3); }

.motion .scene:not(.is-play) .linkcard__btn { opacity: 0; transform: scale(0.8); }
.motion .scene .linkcard__btn { transition: opacity 0.4s 0.5s var(--ease), transform 0.4s 0.5s var(--ease); }
.motion .scene:not(.is-play) .push:not(.push--back) { transform: translateY(-24px); opacity: 0; }
.motion .scene .push:not(.push--back) { transition: transform 0.7s 0.2s var(--ease), opacity 0.5s 0.2s; }
.motion .scene:not(.is-play) .chip { opacity: 0; transform: translateY(6px); }
.motion .scene:not(.is-play) .bars i { transform: scaleY(0.04); }
.motion .scene--remind:not(.is-play) > * { opacity: 0; transform: translateY(10px); }
.motion .scene--remind > * { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.motion .scene--remind > :nth-child(2) { transition-delay: 0.25s; }
.motion .scene--remind > :nth-child(3) { transition-delay: 0.5s; }
.bars i:nth-child(2) { transition-delay: 0.05s; } .bars i:nth-child(3) { transition-delay: 0.1s; }
.bars i:nth-child(4) { transition-delay: 0.15s; } .bars i:nth-child(5) { transition-delay: 0.2s; }
.bars i:nth-child(6) { transition-delay: 0.25s; } .bars i:nth-child(7) { transition-delay: 0.3s; }

/* ---------- возможности ---------- */
.features { padding: var(--section) 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell {
  grid-column: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl);
  background: var(--bg-2);
}
.cell > p { color: var(--ink-2); max-width: 40ch; }
.cell__title { font: 700 clamp(22px, 2.4vw, 30px)/1.12 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.cell--winback { grid-column: span 3; }
.cell--photo { grid-column: span 3; grid-row: span 2; padding: 0; min-height: 460px; color: #fff; }
.cell--channel { grid-column: span 3; }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell__over { margin-top: auto; position: relative; padding: clamp(24px, 3vw, 36px); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62)); display: grid; gap: 8px; }
.cell__over p { color: rgba(255, 255, 255, 0.85); max-width: 36ch; }
.chat { margin-top: auto; padding-top: 20px; display: grid; gap: 8px; }
.chat .msg { background: var(--card); box-shadow: var(--shadow-tile); }
.chat .msg--me { background: var(--accent); }
.post { margin-top: auto; padding: 16px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--shadow-tile); display: grid; gap: 10px; font-size: 14px; }
.post__list { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; color: var(--ink-2); }
.post__list span:nth-child(even) { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.post__btn { text-align: center; padding: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.cell__big { font: 800 clamp(48px, 6vw, 72px)/1 var(--font-display); letter-spacing: -0.05em; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--stamp); text-decoration-thickness: 4px; margin-bottom: 8px; }
.queue { display: flex; align-items: center; margin-bottom: 12px; }
.queue i { width: 44px; height: 44px; margin-right: -10px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); box-shadow: 0 0 0 3px var(--bg-2); }
.queue i:nth-child(2) { background: #7a8cff; }
.queue i:nth-child(3) { background: var(--stamp); }
.queue span { margin-left: 20px; color: var(--ink-2); font-weight: 600; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.acts span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 980px; background: var(--card); box-shadow: var(--shadow-tile); font-size: 14px; font-weight: 500; }
.acts .ico { color: var(--accent); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell, .cell--winback, .cell--channel { grid-column: span 1; }
  .cell--photo { grid-column: span 2; grid-row: auto; min-height: 420px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .cell, .cell--winback, .cell--channel, .cell--photo { grid-column: auto; }
  .cell--photo { min-height: 400px; }
}

/* ---------- без лишнего ---------- */
.without { padding: var(--section) 0; background: var(--bg-2); }
.without__list { display: grid; gap: 4px; }
.without__list li { font: 800 clamp(40px, 8vw, 96px)/1.08 var(--font-display); letter-spacing: -0.045em; color: var(--ink-3); }
.without__list s { text-decoration: none; background: linear-gradient(var(--stamp), var(--stamp)) no-repeat 0 55% / var(--strike, 100%) 0.09em; }
.motion .without__list li[data-reveal] s { --strike: 0%; transition: background-size 0.8s 0.35s var(--ease); }
.motion .without__list li.is-in s { background-size: 100% 0.09em; }
.without__after { margin-top: clamp(40px, 6vw, 64px); font: 700 clamp(28px, 4vw, 48px)/1.12 var(--font-display); letter-spacing: -0.03em; }

/* ---------- ниши ---------- */
.niches { padding: var(--section) 0; }
.niches .section-head { margin-bottom: 40px; }
.gallery__nav { display: flex; gap: 10px; flex: none; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(var(--gutter), (100% - var(--maxw)) / 2) 24px;
  scroll-padding-inline: max(var(--gutter), (100% - var(--maxw)) / 2);
  overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-2); color: #fff; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card__body { position: absolute; inset: auto 0 0; padding: 24px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)); }
.card h3 { font: 700 26px/1.1 var(--font-display); letter-spacing: -0.02em; }
.card p { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 600px) { .gallery__nav { display: none; } .gallery { grid-auto-columns: 78%; } }

/* ---------- как начать: билеты ---------- */
.how { padding: var(--section) 0; background: var(--bg-2); }
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.stub {
  position: relative; display: grid; grid-template-rows: 1fr auto;
  border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-tile);
  --hole: var(--bg-2);
}
.stub__main { padding: 28px 28px 24px; display: grid; gap: 10px; align-content: start; }
.stub__main p { color: var(--ink-2); }
.stub__main b { color: var(--ink); font-weight: 600; }
.stub__num {
  position: relative; padding: 18px 28px 22px; border-top: 2px dashed var(--line-2);
  font: 800 44px/1 var(--font-display); letter-spacing: -0.04em; color: var(--accent);
}
.stub__num::before, .stub__num::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--hole); }
.stub__num::before { left: -10px; }
.stub__num::after { right: -10px; }
@media (max-width: 820px) { .how__steps { grid-template-columns: 1fr; } }

/* ---------- вопросы ---------- */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__title { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font: 600 clamp(18px, 1.8vw, 21px)/1.3 var(--font-display); letter-spacing: -0.015em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink-2); transition: transform 0.3s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
details[open] .faq__plus::after { transform: rotate(0); }
.faq__list p { padding: 0 0 24px; color: var(--ink-2); max-width: 56ch; }
.motion details[open] p { animation: rise 0.45s var(--ease) both; }
@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } .faq__title { position: static; } }
.faq__list a, .facts__list a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- коротко о Slotty ---------- */
.facts { padding: var(--section) 0 0; }
.facts__date { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.facts__list > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts__list > div:first-child { border-top: 1px solid var(--line); }
.facts__list dt { font: 600 15px/1.5 var(--font-display); color: var(--ink-3); }
.facts__list dd { color: var(--ink); max-width: 56ch; }
.facts__list ul { display: grid; gap: 4px; list-style: disc; padding-left: 1.2em; }
.facts__list li::marker { color: var(--ink-3); }
@media (max-width: 600px) { .facts__list > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- финал и подвал ---------- */
.final { padding: var(--section) 0 calc(var(--section) * 1.1); background: var(--bg-2); }
.final__mark { width: 72px; height: 72px; margin: 0 auto 28px; }
.final__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.foot { padding: 28px 0 40px; font-size: 12px; color: var(--ink-3); background: var(--bg-2); border-top: 1px solid var(--line); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; order: 3; }
.foot a { color: var(--ink-2); }

/* ---------- появление при скролле ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .hero [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.motion .hero [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.motion .hero [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.motion .hero__stage[data-reveal] { transform: translateY(80px) scale(0.96); transition-duration: 1.3s; transition-delay: 0.3s; }
.motion .hero__stage[data-reveal].is-in { transform: none; }
