/* ─────────────────────────────────────────────
   Сдано. — ночная афиша
   ───────────────────────────────────────────── */

:root {
  --night: #0B0B0C;
  --night-1: #111113;
  --night-2: #18181B;
  --night-3: #232327;
  --paper: #ECEAE4;
  --paper-2: #DEDBD3;
  --sheet: #F8F7F3;
  --ink: #0B0B0C;
  --ink-2: #5E5D5A;
  --ink-3: #7A7873;
  --text: #ECEAE4;
  --text-2: #B4B2AC;
  --text-3: #8C8A85;
  --line: rgba(236, 234, 228, .13);
  --line-2: rgba(236, 234, 228, .26);
  --line-ink: rgba(11, 11, 12, .13);
  --line-ink-2: rgba(11, 11, 12, .28);
  --red: #FF3B1F;
  --red-hot: #FF5A3D;
  --red-deep: #D22A10;
  --acid: #D8FF3C;

  --f-wide: "Unbounded", "Sofia Sans", system-ui, sans-serif;
  --f-cond: "Sofia Sans Extra Condensed", "Sofia Sans", system-ui, sans-serif;
  --f-body: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --r: 3px;
  --nav-h: 68px;
  --sec: clamp(96px, 11vw, 176px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ── base ─────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--night);
  color-scheme: dark;
  scrollbar-color: var(--night-3) var(--night);
  scrollbar-width: thin;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(17px, .5vw + 14px, 19px);
  line-height: 1.55;
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--red); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--night-3); border: 2px solid var(--night); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
input, select, textarea { caret-color: var(--red); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--acid); color: var(--ink); padding: 10px 16px; border-radius: var(--r);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.grain {
  position: fixed; inset: -100px; z-index: 120; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-30px, 20px); }
  40% { transform: translate(20px, -40px); } 60% { transform: translate(-50px, -10px); }
  80% { transform: translate(40px, 30px); } 100% { transform: translate(0, 0); }
}

/* ── type ─────────────────────────────────── */

.h2 {
  font-family: var(--f-wide);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 76px);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0 0 .45em;
  hyphens: manual;
}
.lead { font-size: clamp(18px, 1.2vw + 8px, 23px); line-height: 1.45; color: var(--text-2); max-width: 36em; }

/* ── logo & dot ───────────────────────────── */

.logo {
  font-family: var(--f-wide); font-weight: 800; font-size: 22px; letter-spacing: -.04em;
  text-decoration: none; display: inline-flex; align-items: baseline; line-height: 1;
}
.logo__dot {
  display: inline-block; width: .24em; height: .24em; border-radius: 50%;
  background: var(--red); margin-left: .07em; flex: none;
  box-shadow: 0 0 .35em rgba(255, 59, 31, .55);
  animation: rec 2.6s ease-in-out infinite;
}
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ── buttons ──────────────────────────────── */

.btn {
  --h: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 26px;
  font-family: var(--f-cond); font-weight: 800; font-size: 21px; line-height: 1;
  text-transform: uppercase; letter-spacing: .035em; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; white-space: nowrap; position: relative; isolation: isolate; overflow: hidden;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease-out);
}
.btn i { font-size: .95em; transition: transform .35s var(--ease-out); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--red { background: var(--red); color: var(--ink); }
.btn--red:hover { background: var(--red-hot); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--ink { background: var(--ink); color: var(--acid); }
.btn--ink:hover { background: #000; color: #fff; }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: progress; }

.tag {
  font-family: var(--f-cond); font-weight: 800; font-size: 13px; line-height: 1;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px 4px; border: 1.5px solid currentColor; border-radius: 100px;
}

/* ── nav ──────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s, transform .5s var(--ease-out);
}
.nav.is-solid {
  background: rgba(11, 11, 12, .92);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__links {
  display: flex; gap: clamp(16px, 2vw, 32px); margin-left: auto;
  font-family: var(--f-cond); font-weight: 700; font-size: 18px; letter-spacing: .05em; text-transform: uppercase;
}
.nav__links a { text-decoration: none; color: var(--text-2); transition: color .2s; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: clamp(12px, 2vw, 28px); }
.nav__cab {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px;
  font-family: var(--f-cond); font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text); text-decoration: none; border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .2s;
}
.nav__cab:hover { border-color: var(--text); }
.nav__cab i { font-size: 19px; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: none; color: var(--text); cursor: pointer; place-content: center; gap: 6px; padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--night);
  padding: calc(var(--nav-h) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--f-cond); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 12vw, 64px);
  line-height: 1; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  display: flex; align-items: baseline; justify-content: space-between;
}
.menu nav a i { font-size: .5em; color: var(--red); }

/* ── hero ─────────────────────────────────── */

.hero {
  position: relative; min-height: 100svh; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(4px, 1.4vw, 20px));
  padding-bottom: clamp(36px, 4vw, 56px);
  display: flex; flex-direction: column;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 12% 105%, rgba(255, 59, 31, .30), transparent 70%),
    radial-gradient(40% 35% at 92% 0%, rgba(236, 234, 228, .07), transparent 70%);
}
.hero__mark { position: relative; padding-inline: clamp(6px, 1.4vw, 22px); }
#chrome { width: 100%; height: 22vw; }
/* 2D-знак: на телефонах и без WebGL. Кадр того же хрома, проявление, блик и лампа — на CSS */
.mark2d { display: none; position: relative; width: 100%; isolation: isolate; }
.mark2d__img { display: block; width: 100%; height: auto; animation: mark-in 1.1s var(--ease-out) .15s both; }
.mark2d__shine {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url("../img/sdano-mark-800.webp") center / 100% 100% no-repeat;
  mask: url("../img/sdano-mark-800.webp") center / 100% 100% no-repeat;
}
.mark2d__shine::before {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: -45%; width: 38%;
  background: linear-gradient(100deg, transparent 15%, rgba(255, 255, 255, .15) 38%, rgba(255, 255, 255, .95) 50%, rgba(255, 220, 210, .15) 62%, transparent 85%);
  transform: translateX(0) skewX(-14deg);
  animation: mark-shine 6s var(--ease-io) 1.5s infinite;
}
.mark2d__dot {
  position: absolute; left: 95.3%; top: 76.9%; width: 9%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 90, 61, .9) 0 18%, rgba(255, 59, 31, .35) 36%, transparent 68%);
  animation: rec 2.6s ease-in-out infinite, mark-dot-in .6s var(--ease-out) .9s both;
}
@keyframes mark-in { from { clip-path: inset(100% 0 0 0); transform: translateY(14%); } to { clip-path: inset(0); transform: none; } }
@keyframes mark-shine { 0% { transform: translateX(0) skewX(-14deg); } 40%, 100% { transform: translateX(460%) skewX(-14deg); } }
@keyframes mark-dot-in { from { scale: 0; } }
.no-webgl #chrome { display: none; }
.no-webgl .mark2d { display: block; }
@media (max-width: 760px) {
  #chrome { display: none; }
  .mark2d { display: block; }
}

.hero__grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 4vw, 80px); align-items: end; margin-top: clamp(12px, 2vw, 32px);
}
.hero__title {
  font-family: var(--f-wide); font-weight: 700;
  font-size: clamp(30px, 3.1vw, 54px); line-height: 1.04; letter-spacing: -.04em;
  margin: 0 0 20px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line + .line { color: var(--text-2); }
.hero__lead { max-width: 33em; color: var(--text-2); font-size: clamp(17px, .6vw + 13px, 21px); line-height: 1.5; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__copy { padding-bottom: 6px; }
.hero__facts {
  list-style: none; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: var(--f-cond); font-weight: 700; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2);
}
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts i { color: var(--red); font-size: 20px; }

/* ── lineup (hero flyer) ──────────────────── */

.lineup {
  position: relative; z-index: 2; background: var(--paper); color: var(--ink); border-radius: var(--r);
  padding: 16px 22px 14px; transform: rotate(-1.2deg); margin-top: calc(-1 * clamp(40px, 7vw, 120px));
  box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 40px 80px -24px rgba(0, 0, 0, .7), 0 12px 24px -8px rgba(0, 0, 0, .5);
}
.lineup::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .48 0 0 0 0 .44 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
.lineup__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); }
.lineup__title { margin: 0; font-family: var(--f-cond); font-weight: 900; font-size: 24px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.lineup__no { color: var(--ink-2); font-weight: 700; margin-left: 4px; }
.lineup__list { list-style: none; margin: 0; padding: 0; }
.lineup__row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 7px 22px; margin-inline: -22px; border-bottom: 1px solid var(--line-ink);
  font-family: var(--f-cond);
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
.lineup__row time { font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: color .5s; }
.lineup__name { font-weight: 900; font-size: clamp(22px, 1.9vw, 30px); line-height: 1; text-transform: uppercase; letter-spacing: .005em; transition: color .5s; }
.lineup__row--head .lineup__name {
  font-family: var(--f-wide); font-weight: 800; text-transform: none; letter-spacing: -.04em;
  font-size: clamp(22px, 2vw, 32px); display: inline-flex; align-items: baseline;
}
.lineup__state {
  justify-self: end; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.lineup__price { color: var(--ink-2); }
.lineup__row.is-done .lineup__name { color: var(--ink-3); }
.lineup__row.is-done time { color: var(--ink-2); }
.lineup__row.is-now { background: var(--red); }
.lineup__row.is-now time, .lineup__row.is-now .lineup__price { color: var(--ink); }
.lineup__row--head.is-now { background: var(--ink); color: var(--paper); }
.lineup__row--head.is-now time { color: var(--text-2); }

.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 3px; border-radius: 100px;
  font-family: var(--f-cond); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.chip--ok { background: var(--ink); color: var(--paper); }
.chip--ok i { color: var(--acid); }
.chip--new { animation: chip-in .6s var(--ease-out); }
@keyframes chip-in { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { display: block; width: 3px; background: currentColor; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }

.lineup__toast {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 11px 14px; min-height: 62px;
  background: var(--ink); color: var(--paper); border-radius: var(--r); font-size: 15px; line-height: 1.35;
}
.lineup__toast p { margin: 0; }
.lineup__toast b { font-family: var(--f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); margin-right: 3px; }
.lineup__toast.is-in { animation: toast .7s var(--ease-out); }
@keyframes toast { from { transform: translateY(10px); opacity: 0; } }
.lineup__avatar {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: var(--ink);
  display: grid; place-items: center; font-family: var(--f-wide); font-weight: 800; font-size: 12px;
}
.lineup__foot { margin-top: 10px; font-family: var(--f-cond); font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }

/* ── ticker ───────────────────────────────── */

.ticker {
  --pitch: 4px;
  position: relative; z-index: 2; overflow: hidden; color: var(--red);
  background:
    radial-gradient(circle, rgba(255, 59, 31, .13) 38%, transparent 44%) 0 0 / var(--pitch) var(--pitch),
    #070707;
  border-block: 1px solid #1d1d20;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .9);
}
.ticker__track {
  display: flex; align-items: center; gap: 36px; width: max-content; padding: 18px 18px 16px;
  font-family: var(--f-cond); font-weight: 900; font-size: clamp(30px, 3.4vw, 52px); line-height: 1;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 59, 31, .9), 0 0 2px #FF8A6E;
  -webkit-mask: radial-gradient(circle, #000 40%, transparent 46%) 0 0 / var(--pitch) var(--pitch);
  mask: radial-gradient(circle, #000 40%, transparent 46%) 0 0 / var(--pitch) var(--pitch);
  animation: marquee 48s linear infinite;
}
.ticker__track i { font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── manifest ─────────────────────────────── */

.manifest { padding-block: var(--sec); }
.manifest__statement {
  font-family: var(--f-wide); font-weight: 600; font-size: clamp(26px, 3.4vw, 56px);
  line-height: 1.14; letter-spacing: -.035em; margin: 0; max-width: 24ch; text-wrap: pretty;
}
.manifest__statement .w { transition: color .2s linear; }

.versus { position: relative; margin-top: clamp(64px, 8vw, 128px); }
.versus__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 0 14px; border-bottom: 2px solid var(--text);
  font-family: var(--f-cond); font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3);
}
.versus__head span:last-child { color: var(--text); display: inline-flex; align-items: baseline; }
.versus__list { list-style: none; margin: 0; padding: 0; }
.versus__list li {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: baseline;
  padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid var(--line);
}
.versus__list s {
  color: var(--text-3); font-size: clamp(17px, 1.2vw + 4px, 22px);
  text-decoration-color: var(--red); text-decoration-thickness: 2px;
}
.versus__list span {
  font-family: var(--f-wide); font-weight: 600; font-size: clamp(19px, 1.6vw + 4px, 30px);
  line-height: 1.18; letter-spacing: -.03em;
}

.versus__popup { position: absolute; right: clamp(0px, 3vw, 48px); top: -150px; width: 290px; z-index: 3; pointer-events: none; }
.popup95 {
  font-family: Tahoma, Verdana, "Segoe UI", sans-serif; font-size: 13px; color: #000; background: #ECE9D8;
  border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: 2px 2px 0 #000;
  transform: rotate(3deg); transition: filter .6s, opacity .6s, transform .8s var(--ease-out);
}
.popup95__bar {
  display: flex; justify-content: space-between; align-items: center; padding: 3px 6px;
  background: linear-gradient(90deg, #0A246A, #A6CAF0); color: #fff; font-weight: 700;
}
.popup95__bar b { background: #ECE9D8; color: #000; width: 16px; height: 14px; display: grid; place-items: center; font-size: 12px; line-height: 1; border: 1px solid #fff; border-color: #fff #404040 #404040 #fff; }
.popup95__body { padding: 12px; text-align: center; }
.popup95__body p { margin: 0 0 8px; }
.popup95__big { font: 900 24px/1 Impact, "Arial Black", sans-serif; color: #FF0000; background: #FFFF00; padding: 6px; animation: blink95 .8s steps(1) infinite; }
@keyframes blink95 { 50% { color: #0000FF; } }
.popup95__btn { display: inline-block; margin: 4px 0 0 !important; padding: 6px 12px; background: linear-gradient(#7CFC00, #228B22); color: #fff; font-weight: 700; border-radius: 12px; text-shadow: 1px 1px 0 #000; }
.versus__popup .stamp { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: 34px; opacity: 0; }
.versus__popup.is-killed .popup95 { filter: grayscale(1) contrast(.9); opacity: .45; transform: rotate(-4deg) translateY(10px); }
.versus__popup.is-killed .stamp { animation: slam .5s var(--ease-out) forwards; }
@keyframes slam {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.4); }
  60% { opacity: 1; transform: rotate(-10deg) scale(.94); }
  100% { opacity: 1; transform: rotate(-10deg) scale(1); }
}

/* ── stamp ────────────────────────────────── */

.stamp {
  display: inline-block; font-family: var(--f-wide); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  padding: .16em .42em .2em; border: .1em solid currentColor; border-radius: .18em; transform: rotate(-10deg);
  white-space: nowrap;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}
.stamp--red { color: var(--red); background: rgba(11, 11, 12, .5); }
.stamp--final { color: var(--red); font-size: 30px; }

/* ── process ──────────────────────────────── */

.process { background: var(--paper); color: var(--ink); padding-top: var(--sec); padding-bottom: clamp(48px, 6vw, 88px); position: relative; }
.process .lead { color: var(--ink-2); }
.process__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.process__intro .h2 { margin: 0; }
.process__intro .lead { margin: 0; }

.process__pin { position: relative; margin-top: clamp(40px, 5vw, 72px); overflow: hidden; }
.process__rail { height: 3px; background: var(--line-ink); margin-inline: var(--gutter); position: relative; }
.process__rail-fill { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.process__track { display: flex; padding-inline: var(--gutter); width: max-content; }

.set {
  flex: none; width: clamp(300px, 29vw, 430px); padding: 24px clamp(20px, 2.2vw, 32px) 28px;
  display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--line-ink-2);
}
.set:first-child { border-left: 0; padding-left: 0; }
.set__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.set__time {
  display: flex; flex-direction: column; font-family: var(--f-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(34px, 3vw, 48px); line-height: .9; letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.set__pay {
  font-family: var(--f-cond); font-weight: 800; font-size: 15px; letter-spacing: .07em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 5px 10px 4px; border-radius: 100px; line-height: 1;
}
.set__title {
  font-family: var(--f-wide); font-weight: 700; font-size: calc(clamp(22px, 1.75vw, 30px) * var(--grow, 1));
  line-height: 1.02; letter-spacing: -.04em; margin: 6px 0 0; display: flex; align-items: baseline;
}
.set__text { color: var(--ink-2); margin: 0; font-size: 17px; line-height: 1.5; }
.set__get {
  margin: 0; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-ink);
  font-family: var(--f-cond); font-weight: 800; font-size: 17px; letter-spacing: .05em; text-transform: uppercase;
}
.set__get i { color: var(--red); font-size: 20px; }

.proof {
  margin-top: auto; background: var(--sheet); padding: 14px 18px 16px; min-height: 216px;
  border: 1px solid var(--line-ink-2); border-top: 3px solid var(--ink);
  font-size: 15px; line-height: 1.4;
}
.proof dl { margin: 0; display: grid; gap: 0; }
.proof dl div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line-ink-2); }
.proof dl div:last-child { border-bottom: 0; }
.proof dt { font-family: var(--f-cond); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: 14px; color: var(--ink-2); padding-top: 1px; }
.proof dd { margin: 0; font-weight: 600; }
.proof__label { font-family: var(--f-cond); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }
.toc { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.toc li { padding: 5px 0; border-bottom: 1px dotted var(--line-ink-2); font-weight: 600; }
.toc li:last-child { border: 0; }
.toc__sub { padding-left: 16px !important; font-weight: 400 !important; color: var(--ink-2); }
.src { list-style: none; margin: 0; padding: 0; }
.src li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line-ink); font-weight: 600; }
.src li i { color: var(--red); flex: none; }
.src .src__more { border: 0; color: var(--ink-2); font-weight: 500; font-style: italic; }
.page__h { font-weight: 800; margin: 0 0 6px; }
.page__p { margin: 0 0 10px; font-family: "Times New Roman", Times, serif; font-size: 15px; line-height: 1.45; }
.page__line { display: block; height: 7px; border-radius: 4px; background: rgba(11, 11, 12, .1); margin: 7px 0; }
.page__line--short { width: 60%; }
.page__note { margin: 12px 0 0; background: var(--acid); padding: 8px 10px; border-radius: var(--r); font-size: 14px; }
.report__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-ink); }
.report__row b { font-family: var(--f-cond); font-weight: 900; font-size: 19px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.report__row b i { color: var(--red); }
.report__row--main { border: 0; padding-bottom: 6px; }
.report__row--main b { font-size: 40px; line-height: .9; }
.report__bar { position: relative; height: 8px; background: rgba(11, 11, 12, .1); border-radius: 8px; margin-bottom: 6px; }
.report__bar span { position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--ink); border-radius: inherit; }
.report__bar i { position: absolute; top: -4px; bottom: -4px; left: var(--v); width: 2px; background: var(--red); }

.set--final { background: var(--ink); color: var(--paper); border-left: 0; border-radius: var(--r); margin-left: clamp(8px, 1vw, 16px); }
.set--final .set__time { color: var(--red); }
.set--final .set__pay { background: var(--paper); color: var(--ink); }
.set--final .set__text { color: var(--text-2); }
.set--final .set__get { border-color: var(--line); }
.proof--final { background: var(--night-2); border-color: var(--line); border-top-color: var(--red); position: relative; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--night-3); border-radius: var(--r); }
.file i { font-size: 26px; color: var(--red); }
.file span { display: flex; flex-direction: column; font-weight: 700; line-height: 1.2; }
.file small { font-weight: 400; color: var(--text-3); font-size: 13px; }
.proof--final .stamp { position: absolute; right: 12px; bottom: 14px; font-size: 34px; }

.process__note { margin: clamp(24px, 3vw, 40px) auto 0; color: var(--ink-2); font-size: 15px; }

/* ── room ─────────────────────────────────── */

.room { padding-block: var(--sec); position: relative; overflow: hidden; }
.room::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 78% 55%, rgba(255, 59, 31, .22), transparent 70%);
}
.room__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 120px); align-items: center; }
.room__points { list-style: none; margin: 36px 0 40px; padding: 0; display: grid; gap: 0; max-width: 560px; }
.room__points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.room__points li:last-child { border-bottom: 1px solid var(--line); }
.room__points i { font-size: 28px; color: var(--red); }
.room__points b { display: block; font-family: var(--f-cond); font-weight: 900; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; margin-bottom: 4px; }
.room__points span { color: var(--text-2); }

.phone {
  width: 340px; height: 690px; border-radius: 52px; padding: 11px; position: relative;
  background: linear-gradient(145deg, #2C2C31, #0F0F11 45%, #1D1D21);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 60px 120px -30px rgba(0, 0, 0, .9), 0 30px 60px -20px rgba(255, 59, 31, .25);
  transform: rotate(3deg);
}
.phone__screen { height: 100%; border-radius: 42px; overflow: hidden; background: var(--night-1); display: flex; flex-direction: column; position: relative; }
.phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 2; }
.phone__top { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 50px 16px 12px; border-bottom: 1px solid var(--line); }
.phone__top b { display: block; font-size: 16px; line-height: 1.2; }
.phone__top small { color: var(--text-3); font-size: 13px; }
.phone__back { font-size: 22px; color: var(--text-2); }
.phone__stage { font-family: var(--f-cond); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 100px; background: var(--red); color: var(--ink); line-height: 1; }
.phone__chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 16px; font-size: 14.5px; line-height: 1.35; }
.msg--in { background: var(--night-3); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--out { background: var(--paper); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg--file { display: flex; gap: 10px; align-items: center; }
.msg--file i { font-size: 26px; color: var(--red); }
.msg--file span { display: flex; flex-direction: column; font-weight: 700; }
.msg--file small { font-weight: 400; color: var(--text-3); font-size: 12.5px; }
.msg--sys { align-self: center; max-width: none; background: none; font-family: var(--f-cond); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--acid); display: flex; gap: 6px; align-items: center; }
.msg--typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: typing 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; } .msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.phone__bar { margin: 0 12px 22px; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 100px; background: var(--night-2); color: var(--text-3); font-size: 14px; }
.phone__bar i { color: var(--red); font-size: 20px; }

/* ── price ────────────────────────────────── */

.price { padding-block: var(--sec); border-top: 1px solid var(--line); }
.price__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.price__head .h2, .price__head .lead { margin: 0; }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.calc__controls { display: flex; flex-direction: column; gap: 40px; }

.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; margin-bottom: 14px; font-family: var(--f-cond); font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; height: 56px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: var(--r);
  font-family: var(--f-cond); font-weight: 900; font-size: 24px; letter-spacing: .02em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s;
}
.seg label:hover span { border-color: var(--text); }
.seg input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--acid); outline-offset: 3px; }

.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.range__top label { font-family: var(--f-cond); font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.range__top output { font-family: var(--f-cond); font-weight: 900; font-size: 34px; line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.range__hint { margin: 14px 0 0; color: var(--text-2); font-size: 16px; min-height: 1.5em; }
input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 0; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--red) var(--p), var(--night-3) var(--p));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--night-3); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--red); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%;
  background: var(--paper); border: 6px solid var(--red); box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease-out);
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 6px solid var(--red); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--acid); }

.calc__result {
  background: var(--paper); color: var(--ink); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column;
}
.calc__label { font-family: var(--f-cond); font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.calc__total {
  font-family: var(--f-cond); font-weight: 900; font-size: clamp(64px, 7vw, 112px); line-height: .9; letter-spacing: -.01em;
  margin: 6px 0 20px; font-variant-numeric: tabular-nums;
}
.calc__split { list-style: none; margin: 0 0 24px; padding: 0; border-top: 3px solid var(--ink); }
.calc__split li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line-ink);
  font-family: var(--f-cond); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; font-variant-numeric: tabular-nums;
}
.calc__split li span:nth-child(2) { color: var(--ink-2); font-weight: 700; }
.calc__split li span:last-child { min-width: 5.2em; text-align: right; }
.calc__note { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }

/* ── rules ────────────────────────────────── */

.rules { background: var(--paper); color: var(--ink); padding-block: var(--sec); }
.rules__title { max-width: 12ch; }
.rules__list { list-style: none; margin: clamp(32px, 4vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.rules__list li {
  display: block; padding: 28px 28px 34px 0;
  border-bottom: 1px solid var(--line-ink-2);
}
.rules__list li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line-ink-2); }
.rules__list h3 { font-family: var(--f-wide); font-weight: 700; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -.035em; line-height: 1.08; margin: 0 0 10px; }
.rules__list p { margin: 0; color: var(--ink-2); font-size: 17px; }
.pay { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.pay__title { margin: 0; font-family: var(--f-cond); font-weight: 900; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.pay__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay__list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-ink-2); border-radius: 100px;
  font-weight: 600; font-size: 16px;
}
.pay__list i { font-size: 20px; color: var(--red); }

/* ── ai ───────────────────────────────────── */

.ai { padding-block: var(--sec); }
.ai__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.ai__copy > p:not(.lead) { color: var(--text-2); max-width: 34em; }
.diff { margin: 0; background: var(--sheet); color: var(--ink); border-radius: var(--r); padding: clamp(20px, 2.4vw, 32px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.diff__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 3px solid var(--ink); font-family: var(--f-cond); font-weight: 800; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; }
.diff__head span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.diff__head i { font-size: 20px; color: var(--red); }
.diff__ver { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.diff__text { font-family: "Times New Roman", Times, serif; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.5; margin: 22px 0; min-height: 4.5em; }
.diff__text del { color: var(--red-deep); text-decoration-thickness: 2px; background: rgba(255, 59, 31, .1); }
.diff__text ins { text-decoration: none; background: var(--acid); padding: 0 .1em; }
.diff__text sup { font-family: var(--f-body); font-weight: 700; color: var(--red-deep); }
.diff__log { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.diff__log li { padding: 8px 10px; border: 1px solid var(--line-ink); border-radius: var(--r); font-size: 14px; color: var(--ink-2); transition: background-color .3s, color .3s, border-color .3s; }
.diff__log li b { font-family: var(--f-cond); font-weight: 900; font-size: 16px; color: var(--ink); margin-right: 4px; }
.diff__log li.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.diff__log li.is-on b { color: var(--acid); }

/* ── guest ────────────────────────────────── */

.guest { background: var(--acid); color: var(--ink); padding-block: clamp(80px, 9vw, 140px); overflow: hidden; }
.guest__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 96px); align-items: center; }
.guest__title { font-family: var(--f-wide); font-weight: 800; font-size: clamp(38px, 5.6vw, 92px); line-height: .96; letter-spacing: -.04em; margin: 0 0 28px; max-width: 11ch; }
.guest__copy > p { font-size: clamp(18px, 1.2vw + 6px, 22px); max-width: 32em; margin-bottom: 32px; }
.guest__fine { font-size: 14px !important; margin: 16px 0 0 !important; color: #3D4A12; }
.sticker { position: relative; width: clamp(220px, 24vw, 340px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--acid); display: grid; place-items: center; transform: rotate(8deg); }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.sticker text { font-family: var(--f-cond); font-weight: 900; font-size: 17px; letter-spacing: .08em; fill: currentColor; }
.sticker__price { font-family: var(--f-wide); font-weight: 800; font-size: clamp(44px, 4.4vw, 64px); letter-spacing: -.04em; line-height: 1; display: flex; align-items: flex-start; }
.sticker__price small { font-size: .32em; letter-spacing: 0; margin: .3em 0 0 .1em; }
.sticker__minus { margin-right: .07em; } /* широкий минус Unbounded при трекинге −.04em касается цифры */
@keyframes spin { to { transform: rotate(360deg); } }

/* ── order ──────────────────────────────── */

.order { padding-block: var(--sec); }
.order__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.order__copy { position: sticky; top: calc(var(--nav-h) + 32px); }
.order__contacts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.order__contacts li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 18px; }
.order__contacts li:last-child { border-bottom: 1px solid var(--line); }
.order__contacts i { font-size: 22px; color: var(--red); }
.order__contacts a { text-decoration: none; }
.order__contacts a:hover { text-decoration: underline; }

.tg-order { display: grid; gap: 28px; }
.tg-order__h { margin: 0; font-family: var(--f-cond); font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.tg-order__list { list-style: none; margin: 0; padding: 0; }
.tg-order__list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 4px 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.tg-order__list li:last-child { border-bottom: 1px solid var(--line); }
.tg-order__list li::before {
  content: ""; grid-row: span 2; width: 12px; height: 12px; margin-top: 11px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 12px rgba(255, 59, 31, .55);
}
.tg-order__list b { font-size: 21px; }
.tg-order__list span { color: var(--text-2); font-size: 17px; }
.tg-order__note { margin: 0; font-size: 15px; color: var(--text-3); }

/* ── telegram fab ─────────────────────────── */

.tg-fab {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50;
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  background: #2AABEE; color: #fff; text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
  transition: transform .25s var(--ease-out), background-color .2s;
}
.tg-fab i { font-size: 32px; translate: -2px 1px; }
.tg-fab:hover { transform: scale(1.07); background: #229ED9; }
.tg-fab:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
@media (max-width: 760px) { .tg-fab { width: 54px; height: 54px; } .tg-fab i { font-size: 28px; } }

/* ── faq ──────────────────────────────────── */

.faq { padding-block: var(--sec); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__list { border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--f-wide); font-weight: 600; font-size: clamp(18px, 1.4vw + 4px, 26px); letter-spacing: -.03em; line-height: 1.2;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red-hot); }
.faq summary i { flex: none; font-size: 24px; color: var(--red); transition: transform .4s var(--ease-out); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 3em 26px 0; color: var(--text-2); max-width: 44em; }

/* ── footer ───────────────────────────────── */

.foot { background: #000; padding: clamp(64px, 8vw, 120px) 0 28px; overflow: hidden; }
.foot__mark {
  font-family: var(--f-wide); font-weight: 900; font-size: 17vw; line-height: .8; letter-spacing: -.015em;
  margin: 0 0 clamp(40px, 5vw, 80px) -.04em; display: flex; align-items: baseline; color: #1B1B1E;
}
.foot__mark .logo__dot { width: .2em; height: .2em; box-shadow: 0 0 .3em rgba(255, 59, 31, .6); }
.foot__grid { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 32px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot__grid > div { display: flex; flex-direction: column; gap: 8px; }
.foot__grid a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.foot__grid a:hover { color: var(--text); }
.foot__h { margin: 0 0 6px; font-family: var(--f-cond); font-weight: 800; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.foot__legal { margin: 0; font-size: 14px; color: var(--text-3); line-height: 1.5; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.foot__bottom a { color: var(--text-2); }

.ph-spinner-gap { animation: spin 1s linear infinite; }

/* ── responsive ───────────────────────────── */

@media (max-width: 1100px) {
  .rules__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules__list li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .rules__list li:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line-ink-2); }
  .foot__grid { grid-template-columns: auto repeat(3, minmax(0, 1fr)); }
  .foot__legal { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --nav-h: 60px; }
  .nav__links { display: none; }
  .nav__cab span { display: none; }
  .nav__cab { width: 42px; padding: 0; justify-content: center; }
  .nav__actions { margin-left: auto; }
  .burger { display: grid; }

  .hero { min-height: auto; }
  #chrome { height: 26vw; }
  .hero__mark { padding-inline: 4px; }
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .lineup { transform: rotate(-1deg); margin: 8px 4px 0; }

  .process__intro, .price__head { grid-template-columns: 1fr; }
  .process__pin { overflow: visible; }
  .process__rail { display: none; }
  .process__track { flex-direction: column; width: auto; }
  .set, .set:first-child { width: auto; border-left: 0; padding: 32px 0; border-top: 1px solid var(--line-ink-2); }
  .set--final { padding: 28px 20px !important; margin: 16px 0 0; border-top: 0; }
  .proof { min-height: 0; }

  .room__grid { grid-template-columns: 1fr; }
  .phone { margin-inline: auto; transform: rotate(2deg) scale(.94); }

  .calc { grid-template-columns: 1fr; }
  .ai__grid { grid-template-columns: 1fr; }
  .guest__grid { grid-template-columns: 1fr; }
  .sticker { justify-self: end; margin-top: -8px; }
  .order__grid { grid-template-columns: 1fr; }
  .order__copy { position: static; }
  .faq__grid { grid-template-columns: 1fr; }
  .versus__popup { position: relative; top: auto; right: auto; margin: 0 0 40px auto; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .btn { --h: 54px; font-size: 19px; padding: 0 20px; }
  .btn--sm { --h: 40px; font-size: 16px; padding: 0 14px; }
  .nav .btn--sm { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: 8px 18px; font-size: 16px; }
  .lineup { padding: 16px 16px 14px; }
  .lineup__row { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 8px; padding: 8px 16px; margin-inline: -16px; }
  .lineup__row time { font-size: 14px; }
  .lineup__name { font-size: 22px; }
  .lineup__state { font-size: 14px; }
  .chip { font-size: 12px; padding: 4px 7px 3px; }

  .versus__head { display: none; }
  .versus__list li { grid-template-columns: 1fr; gap: 6px; }
  .versus__popup { width: 250px; }

  .rules__list { grid-template-columns: 1fr; }
  .rules__list li, .rules__list li:nth-child(2n) { padding: 24px 0; border-left: 0; }

  .seg span { height: 50px; padding: 0 16px; font-size: 21px; }
  .calc__split li { font-size: 17px; gap: 10px; }
  .diff__log { grid-template-columns: 1fr; }
  .phone { width: 300px; height: 610px; border-radius: 46px; }
  .phone__screen { border-radius: 36px; }
  .sticker { justify-self: center; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid a { overflow-wrap: anywhere; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
  .ticker__track { animation: none; }
}
