/* =========================================================
   Призио — лендинг
   Акцент: фиолетовый #6A4CFF, тёплый вторичный #FF8A4C
   ========================================================= */

:root {
  --bg: #FBFAF8;
  --bg-tint: #F5F3F9;
  --surface: #FFFFFF;
  --ink: #15131C;
  --ink-2: #3D3A4A;
  --muted: #676377;
  --line: #E8E5EE;
  --line-2: #DCD8E5;

  --accent: #6A4CFF;
  --accent-600: #5636F0;
  --accent-700: #4426D6;
  --accent-soft: #EFEBFF;
  --accent-soft-2: #E3DCFF;
  --warm: #FF8A4C;
  --warm-700: #C2541A;
  --warm-soft: #FFF0E6;
  --ok: #12A150;

  --dark: #0E0C15;
  --dark-2: #17141F;
  --dark-ink: #EEEBF6;
  --dark-muted: #A7A2BA;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(21, 19, 28, .05), 0 2px 8px rgba(21, 19, 28, .04);
  --shadow-md: 0 2px 4px rgba(21, 19, 28, .04), 0 12px 32px -8px rgba(21, 19, 28, .12);
  --shadow-lg: 0 4px 8px rgba(21, 19, 28, .04), 0 30px 70px -20px rgba(40, 24, 110, .28);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --gutter: 24px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.nw { white-space: nowrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #7C5FFF 0%, #5A3AF4 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(48, 20, 160, .3), 0 10px 24px -10px rgba(106, 76, 255, .75);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 4px rgba(48, 20, 160, .3), 0 16px 32px -12px rgba(106, 76, 255, .85);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,.75);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #C9C2DA; background: #fff; transform: translateY(-1px); }

.btn-light { background: #fff; color: var(--accent-700); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(0,0,0,.5); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(251, 250, 248, .78);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom-color: rgba(21, 19, 28, .07);
  box-shadow: 0 8px 30px -18px rgba(21, 19, 28, .25);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; display: block; filter: drop-shadow(0 4px 10px rgba(106,76,255,.35)); }
.brand-mark svg { width: 100%; height: 100%; }

.nav { margin-left: 8px; }
.nav-list { display: flex; gap: 2px; }
.nav-list a {
  display: block; padding: 8px 12px; white-space: nowrap; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav-list a:hover { color: var(--ink); background: rgba(21, 19, 28, .05); }
.nav-list a.is-active { color: var(--accent-700); }
.nav-cta-mobile { display: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.link-login { font-weight: 700; font-size: 14.5px; color: var(--ink-2); padding: 8px 6px; border-radius: 8px; }
.link-login:hover { color: var(--accent-700); }
.link-kb { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 700; font-size: 14.5px; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; background: rgba(106, 76, 255, .08); transition: color .2s, background-color .2s; }
.link-kb .i { width: 17px; height: 17px; color: var(--accent-700); }
.link-kb:hover { color: var(--accent-700); background: rgba(106, 76, 255, .14); }
.nav-mobile-only { display: none; }
@media (max-width: 1280px) {
  .link-kb { padding: 9px; }
  .link-kb span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.menu-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

/* ---------- Common section ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head-center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head-center .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-title {
  font-size: clamp(30px, 4.1vw, 50px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
}
.section-sub {
  margin-top: 16px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--muted);
  max-width: 640px;
  text-wrap: pretty;
}
.section-head-center .section-sub { margin-inline: auto; }

/* ---------- Background helpers ---------- */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21, 19, 28, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 19, 28, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }

/* ---------- Reveal & entrance (только при работающем JS) ---------- */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js-anim .reveal.in { opacity: 1; transform: none; }

.js-anim .enter {
  animation: enter 1s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 110ms + 80ms);
}
@keyframes enter {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(24px, 4vw, 56px); padding-bottom: 0; isolation: isolate; }
.hero-bg { position: absolute; inset: calc(var(--header-h) * -1) 0 0; z-index: -1; overflow: hidden; }
.glow-a { width: 620px; height: 620px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(124, 95, 255, .38), rgba(124, 95, 255, 0) 70%); }
.glow-b { width: 480px; height: 480px; left: -200px; top: 260px; background: radial-gradient(circle, rgba(255, 158, 102, .28), rgba(255, 158, 102, 0) 70%); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
}
.eyebrow-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px rgba(18, 161, 80, .15);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 7px rgba(18, 161, 80, .05); } }

.hero-title {
  margin-top: 22px;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 1.0;
  letter-spacing: -.045em;
  font-weight: 800;
}
.hl {
  background: linear-gradient(95deg, #6A4CFF 0%, #9A48F2 48%, #E2582A 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: .06em;
}
.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(16.5px, 1.45vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .i { width: 17px; height: 17px; color: var(--ok); stroke-width: 2.4; }

/* ---------- Hero visual (масштабируется через container units) ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  aspect-ratio: 58 / 60;
  container-type: inline-size;
}
.stage {
  position: absolute; inset: 0;
  font-size: calc(100cqw / 58);
}
.stage-glow {
  position: absolute; left: 10%; top: 8%; width: 84%; height: 84%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(124,95,255,.28), rgba(124,95,255,0) 65%);
  filter: blur(20px);
}

/* Коробка */
.box {
  position: absolute; left: 0; bottom: 2.5em;
  width: 31em; aspect-ratio: 300 / 250;
  animation: float-b 7s ease-in-out infinite;
}
.box-svg { width: 100%; height: 100%; overflow: visible; }
.sticker {
  position: absolute; left: 36.5%; top: 50.5%;
  width: 27%;
  padding: .55em .55em .45em;
  background: #fff;
  border-radius: .9em;
  box-shadow: 0 .2em .5em rgba(60,30,10,.18), 0 .8em 1.6em -.6em rgba(60,30,10,.3);
  transform: rotate(-4deg);
  display: flex; flex-direction: column; align-items: center; gap: .3em;
}
.sticker-qr { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: .3em; }
.sticker-qr svg { width: 100%; height: 100%; fill: #1A1726; }
.sticker-cap { font-size: .72em; font-weight: 800; color: #1A1726; letter-spacing: -.01em; white-space: nowrap; }
.scanline {
  position: absolute; left: -6%; right: -6%; top: 0; height: 14%;
  background: linear-gradient(180deg, rgba(106,76,255,0), rgba(106,76,255,.35) 70%, rgba(106,76,255,.95) 92%, rgba(106,76,255,0));
  animation: scan 2.6s ease-in-out infinite alternate;
}
@keyframes scan { from { transform: translateY(-20%); } to { transform: translateY(640%); } }
.vf { position: absolute; width: 1.2em; height: 1.2em; border: .22em solid var(--accent); animation: vf 2.6s ease-in-out infinite; }
.vf-tl { left: -.55em; top: -.55em; border-right: 0; border-bottom: 0; border-top-left-radius: .5em; }
.vf-tr { right: -.55em; top: -.55em; border-left: 0; border-bottom: 0; border-top-right-radius: .5em; }
.vf-bl { left: -.55em; bottom: -.55em; border-right: 0; border-top: 0; border-bottom-left-radius: .5em; }
.vf-br { right: -.55em; bottom: -.55em; border-left: 0; border-top: 0; border-bottom-right-radius: .5em; }
@keyframes vf { 50% { opacity: .55; transform: scale(1.12); } }

/* Телефон */
.phone {
  position: absolute;
  background: linear-gradient(160deg, #2A2733, #0F0D15 40%);
  border-radius: 4.4em;
  padding: .85em;
  box-shadow:
    inset 0 0 0 .12em rgba(255,255,255,.08),
    0 3em 6em -2em rgba(40, 24, 110, .45),
    0 1.2em 2.4em -1em rgba(21, 19, 28, .35);
}
.hero-phone { right: 2em; top: .5em; width: 25.5em; height: 52em; animation: float-a 6s ease-in-out infinite; }
@keyframes float-a { 50% { transform: translateY(-1.1em); } }
@keyframes float-b { 50% { transform: translateY(-.6em) rotate(-.6deg); } }

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 3.6em;
  overflow: hidden;
  background: #F4F3F8;
  padding: 1.1em 1.3em 1.4em;
  display: flex; flex-direction: column; gap: 1em;
  color: #16151C;
  --brand: #6A4CFF;
}
.phone-screen::before {
  content: ""; position: absolute; left: 50%; top: .9em; transform: translateX(-50%);
  width: 7.6em; height: 2.1em; border-radius: 2em; background: #0F0D15;
}
.ma-status { display: flex; justify-content: space-between; align-items: center; font-size: 1.15em; font-weight: 800; padding: .25em .8em 0; height: 1.9em; }
.ma-status-r { display: flex; gap: .25em; align-items: flex-end; }
.ma-status-r i { display: block; width: .3em; border-radius: .1em; background: #16151C; }
.ma-status-r i:nth-child(1) { height: .5em; } .ma-status-r i:nth-child(2) { height: .7em; } .ma-status-r i:nth-child(3) { height: .9em; }

.ma-top { display: flex; align-items: center; gap: .9em; margin-top: .4em; }
.ma-logo {
  width: 3.4em; height: 3.4em; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.15em;
}
.ma-titles { display: flex; flex-direction: column; line-height: 1.2; }
.ma-titles b { font-size: 1.35em; font-weight: 800; letter-spacing: -.01em; }
.ma-titles small { font-size: 1.02em; color: #77738A; font-weight: 600; }

.ma-cover {
  position: relative; overflow: hidden;
  border-radius: 1.8em; padding: 1.4em 1.5em;
  min-height: 10.2em;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.35), rgba(255,255,255,0) 40%),
    linear-gradient(135deg, #8B6FFF, #5130E8 60%, #3B1FC2);
  display: flex; flex-direction: column; justify-content: flex-end; gap: .25em;
}
.ma-cover-tag {
  position: absolute; top: 1.2em; left: 1.4em;
  font-size: .95em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.2); padding: .35em .8em; border-radius: 2em;
}
.ma-cover b { font-size: 2em; line-height: 1.05; letter-spacing: -.02em; }
.ma-cover small { font-size: 1.05em; opacity: .85; font-weight: 600; }
.ma-cover-sparkle { position: absolute; right: 1.2em; top: 1em; color: #FFD3AE; animation: twinkle 3s ease-in-out infinite; }
.ma-cover-sparkle .i { width: 3em; height: 3em; fill: currentColor; stroke: none; }
@keyframes twinkle { 50% { transform: scale(.75) rotate(20deg); opacity: .7; } }

.ma-ticket {
  position: relative;
  background: #fff;
  border-radius: 1.8em;
  padding: 1.3em 1.5em 1.2em;
  box-shadow: 0 .2em .6em rgba(21,19,28,.06);
  display: flex; flex-direction: column; gap: .3em;
}
.ma-ticket::before, .ma-ticket::after {
  content: ""; position: absolute; top: 62%; width: 1.6em; height: 1.6em; border-radius: 50%; background: #F4F3F8;
}
.ma-ticket::before { left: -.8em; } .ma-ticket::after { right: -.8em; }
.ma-label { font-size: 1.05em; color: #77738A; font-weight: 700; }
.ma-number {
  font-family: var(--mono); font-weight: 700;
  font-size: 3.7em; line-height: 1.05; letter-spacing: -.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.ma-ticket.bump { animation: bump .7s var(--ease); }
@keyframes bump { 30% { transform: scale(1.04); box-shadow: 0 0 0 .3em rgba(106,76,255,.18), 0 .8em 2em -.6em rgba(106,76,255,.5); } }
.ma-perf { display: block; border-top: .15em dashed #E2E0EA; margin: .6em -.2em .4em; }
.ma-mine { display: flex; justify-content: space-between; gap: .6em; font-size: .98em; color: #77738A; font-weight: 700; white-space: nowrap; }
.ma-mine #heroMine { font-family: var(--mono); font-weight: 500; color: #3F3C4E; letter-spacing: -.02em; }

.ma-progress { display: flex; flex-direction: column; gap: .6em; padding: 0 .3em; }
.ma-progress-row { display: flex; justify-content: space-between; font-size: 1.1em; color: #77738A; font-weight: 600; }
.ma-progress-row b { color: #16151C; font-variant-numeric: tabular-nums; }
.ma-bar { height: .75em; border-radius: 1em; background: #E6E4EE; overflow: hidden; }
.ma-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8B6FFF, var(--brand)); transition: width .8s var(--ease); }
.ma-stats { display: grid; grid-template-columns: 1fr 1.5fr; gap: .7em; }
.ma-stats > span { background: #fff; border-radius: 1.3em; padding: .8em 1.1em; display: flex; flex-direction: column; line-height: 1.25; box-shadow: 0 .2em .6em rgba(21,19,28,.05); }
.ma-stats small { font-size: .95em; color: #77738A; font-weight: 700; }
.ma-stats b { font-size: 1.3em; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ma-btn {
  margin-top: auto;
  text-align: center; font-weight: 800; font-size: 1.25em;
  color: #fff; background: var(--brand);
  border-radius: 1.2em; padding: 1em;
  box-shadow: 0 .8em 1.6em -.8em rgba(106,76,255,.8);
}

/* Плашки */
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .65em 1.05em .65em .65em;
  font-size: 1.4em; font-weight: 750; white-space: nowrap;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(21,19,28,.07);
  border-radius: 1.1em;
  box-shadow: 0 .9em 2em -1em rgba(40,24,110,.35), 0 .1em .3em rgba(21,19,28,.06);
  color: var(--ink);
}
.chip-ic { width: 1.9em; height: 1.9em; border-radius: .6em; display: grid; place-items: center; flex: none; }
.chip-ic .i { width: 1.15em; height: 1.15em; stroke-width: 2.4; }
.chip-ic-accent { background: var(--accent); color: #fff; }
.chip-ic-tg { background: #E3F4FD; color: #1C93D2; }
.chip-ic-max { background: #ECE8FF; color: #5A3AF4; }
.chip-ic-ok { background: #E3F6EB; color: var(--ok); }
.chip-sep { color: #B5B1C3; }
.chip-plus { left: 3em; top: 8em; animation: float-a 5s ease-in-out infinite .4s; }
.chip-plus.pop { animation: chip-pop .9s var(--ease); }
@keyframes chip-pop {
  0% { transform: scale(.85); }
  40% { transform: scale(1.08); box-shadow: 0 0 0 .35em rgba(106,76,255,.16), 0 1.2em 2.4em -1em rgba(106,76,255,.6); }
  100% { transform: scale(1); }
}
.chip-msg { left: -1em; top: 21.5em; font-size: 1.3em; animation: float-b 6.5s ease-in-out infinite 1s; }
.chip-fair { right: 1.5em; bottom: 1.2em; animation: float-a 5.5s ease-in-out infinite 1.6s; }

/* Конфетти */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.confetti i {
  position: absolute; display: block;
  width: .7em; height: 1.1em; border-radius: .15em;
  opacity: 0;
  animation: confetti 1.6s cubic-bezier(.15,.6,.3,1) forwards;
}
@keyframes confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}

/* Преимущества под hero */
.benefits {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.benefit-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-600); }
.benefit-title { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; line-height: 1.3; }
.benefit p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* Бегущая строка */
.marquee {
  margin-top: clamp(40px, 5vw, 64px);
  border-block: 1px solid var(--line);
  padding-block: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center;
  font-size: 18px; font-weight: 700; color: #8C889C; letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee-track span::after {
  content: ""; width: 10px; height: 10px; margin-inline: 28px;
  background: var(--warm);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.7 5.3 3.7 8.3 10 10-6.3 1.7-9.3 4.7-10 10-.7-5.3-3.7-8.3-10-10 6.3-1.7 9.3-4.7 10-10z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.7 5.3 3.7 8.3 10 10-6.3 1.7-9.3 4.7-10 10-.7-5.3-3.7-8.3-10-10 6.3-1.7 9.3-4.7 10-10z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   HOW
   ========================================================= */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-soft-2); }
.step > p { padding-inline: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.step-num {
  display: inline-block; margin: 20px 10px 8px;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: var(--accent-600); background: var(--accent-soft);
  padding: 3px 9px; border-radius: 8px;
}
.step-title { padding-inline: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.3; }

.step-visual {
  height: 150px; border-radius: 16px; position: relative; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%),
    linear-gradient(160deg, #F3F0FF, #ECE7FB);
  border: 1px solid #EAE5F8;
}
.step-visual-2 { background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%), linear-gradient(160deg, #FFF4EC, #FBE9DC); border-color: #F6E3D5; }
.step-visual-3 { background: radial-gradient(circle at 30% 80%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%), linear-gradient(160deg, #EEF6FF, #E3EEFB); border-color: #DCE8F7; }
.step-visual-4 { background: radial-gradient(circle at 60% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%), linear-gradient(160deg, #EDF9F1, #E0F2E7); border-color: #D7EEDF; }

.token-field {
  width: 84%; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center;
  background: #fff; border-radius: 12px; padding: 9px 12px;
  box-shadow: 0 6px 16px -8px rgba(60,40,140,.35); border: 1px solid #E6E1F6;
}
.token-label { grid-column: 1; font-size: 11px; font-weight: 700; color: var(--muted); }
.token-value { grid-column: 1; font-family: var(--mono); font-size: 12px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.token-ok { grid-column: 2; grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 50%; background: #E3F6EB; color: var(--ok); display: grid; place-items: center; }
.token-ok .i { width: 15px; height: 15px; stroke-width: 2.6; }
.token-tags { position: absolute; bottom: 14px; display: flex; gap: 6px; }
.token-tags span { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.token-tags .tg { background: #DDF1FC; color: #137BB2; }
.token-tags .mx { background: #E7E1FF; color: #4A2BE0; }
.step-visual-1 .token-field { margin-bottom: 26px; }

.labels { position: relative; width: 190px; height: 110px; }
.label {
  position: absolute; top: 8px; width: 74px;
  background: #fff; border-radius: 10px; padding: 7px 7px 5px;
  box-shadow: 0 8px 18px -10px rgba(120,60,20,.45); border: 1px solid #F1E3D8;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: transform .45s var(--ease);
}
.label svg { width: 100%; fill: #1A1726; }
.label i { font-style: normal; font-family: var(--mono); font-size: 8.5px; font-weight: 700; color: #6E5A4C; }
.label:nth-child(1) { left: 0; transform: rotate(-10deg) translateY(6px); }
.label:nth-child(2) { left: 58px; z-index: 2; }
.label:nth-child(3) { left: 116px; transform: rotate(10deg) translateY(6px); }
.step:hover .label:nth-child(1) { transform: rotate(-16deg) translate(-8px, 8px); }
.step:hover .label:nth-child(3) { transform: rotate(16deg) translate(8px, 8px); }

.mini-ticket {
  background: #fff; border-radius: 14px; padding: 12px 18px; text-align: left;
  box-shadow: 0 10px 22px -12px rgba(20,80,160,.45); border: 1px solid #DCE6F5;
  display: flex; flex-direction: column;
}
.mini-ticket small { font-size: 11px; font-weight: 700; color: var(--muted); }
.mini-ticket b { font-family: var(--mono); font-size: 26px; color: var(--accent-600); letter-spacing: -.03em; line-height: 1.15; }
.mini-plus {
  position: absolute; right: 22%; top: 22%;
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  background: var(--accent); color: #fff; border-radius: 20px; padding: 3px 9px;
  box-shadow: 0 6px 14px -6px rgba(106,76,255,.8);
  animation: plus-bob 2.8s ease-in-out infinite;
}
@keyframes plus-bob { 50% { transform: translateY(-6px); } }

.winner {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 10px 22px -12px rgba(10,110,50,.45); border: 1px solid #D5ECDD;
}
.winner-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--warm-soft); color: var(--warm-700); display: grid; place-items: center; }
.winner span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.2; }
.winner small { font-size: 11px; font-weight: 700; color: var(--muted); }
.winner b { font-family: var(--mono); font-size: 19px; }
.winner-ok { color: var(--ok); }

/* =========================================================
   FEATURES (bento)
   ========================================================= */
.features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 18%, var(--bg-tint) 82%, var(--bg) 100%); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-soft-2); }
.card-ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-600);
  margin-bottom: 18px;
  transition: transform .35s var(--ease);
}
.card:hover .card-ic { transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.card-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }

.qr-strip { display: flex; gap: 10px; }
.qr-tile {
  width: 86px; min-width: 0; padding: 9px 9px 7px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform .35s var(--ease);
}
.qr-tile svg { width: 100%; fill: var(--ink); }
.qr-tile i { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--ok); background: #E3F6EB; padding: 2px 7px; border-radius: 10px; }
.qr-tile.used svg { opacity: .28; }
.qr-tile.used i { color: var(--muted); background: #EFEDF3; }
.card:hover .qr-tile:nth-child(odd) { transform: translateY(-4px); }

.choose { margin-top: 18px; display: grid; gap: 8px; }
.choose-btn { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 14px; padding: 10px 14px; border-radius: 12px; }
.choose-btn .i { width: 18px; height: 18px; }
.choose-btn.tg { background: #E6F5FD; color: #12709F; }
.choose-btn.mx { background: #ECE8FF; color: #4426D6; }

.card-phone .admin-mini {
  width: 250px;
  background: var(--dark); color: var(--dark-ink);
  border-radius: 18px; padding: 14px;
  display: grid; gap: 8px;
  box-shadow: 0 20px 40px -18px rgba(14,12,21,.6);
}
.admin-row, .admin-switch { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 9px 11px; border-radius: 11px; background: rgba(255,255,255,.06); }
.admin-row span, .admin-switch span { color: var(--dark-muted); font-weight: 600; }
.admin-row b { font-family: var(--mono); font-size: 15px; }
.admin-switch i { width: 34px; height: 20px; border-radius: 20px; background: var(--ok); position: relative; }
.admin-switch i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }

.card-accent {
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,178,107,.45), rgba(255,178,107,0) 45%),
    linear-gradient(150deg, #7B5CFF, #4B2BE2 70%);
  border-color: transparent;
  display: flex; flex-direction: column;
}
.card-accent .card-ic { background: rgba(255,255,255,.18); color: #fff; }
.card-accent p { color: rgba(255,255,255,.82); }
.card-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.card-link .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card-accent:hover { border-color: transparent; box-shadow: 0 24px 48px -20px rgba(75,43,226,.7); }
.card-accent:hover .card-link .i { transform: translateX(4px); }

/* =========================================================
   FAIR (dark)
   ========================================================= */
.dark { background: var(--dark); color: var(--dark-ink); }
.fair { overflow: hidden; isolation: isolate; }
.fair-bg { position: absolute; inset: 0; z-index: -1; }
.grid-bg-dark {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 25%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 25%, #000 20%, transparent 75%);
}
.glow-c { width: 900px; height: 600px; left: 50%; top: -300px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(106,76,255,.45), rgba(106,76,255,0) 65%); }
.dark .section-sub { color: var(--dark-muted); }
.eyebrow-dark { color: #B7A7FF; }

.fair-flow {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.fair-flow::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 46px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(183,167,255,.55) 0 8px, transparent 8px 16px);
  background-size: 32px 2px;
  animation: dash-move 1.4s linear infinite;
  z-index: 0;
}
@keyframes dash-move { to { background-position: 32px 0; } }
.fair-step {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 22px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .35s, transform .35s var(--ease);
}
.fair-step:hover { border-color: rgba(183,167,255,.4); transform: translateY(-3px); }
.fair-node {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: #241D45; color: #C9BDFF;
  border: 1px solid rgba(183,167,255,.35);
  box-shadow: 0 0 24px rgba(106,76,255,.35);
}
.fair-node-ok { background: #123522; color: #6FE0A0; border-color: rgba(111,224,160,.4); box-shadow: 0 0 24px rgba(18,161,80,.35); }
.fair-k { font-family: var(--mono); font-size: 12px; color: #9C95B8; margin-top: 6px; }
.fair-step h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.3; }
.fair-step p { font-size: 14.5px; color: var(--dark-muted); line-height: 1.6; }
.fair-code {
  margin-top: auto;
  display: block;
  font-family: var(--mono); font-size: 12.5px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 9px 11px;
  color: #E6E1FF;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fair-code .muted { color: #8E88A8; }
.fair-code .ok { color: #6FE0A0; }
.fair-code .lock { margin-left: 6px; font-size: 11px; color: #FFC79E; background: rgba(255,138,76,.14); padding: 2px 7px; border-radius: 6px; }
#hashTyper::after { content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: #B7A7FF; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.fair-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.verify-card {
  background: #F9F8FC; color: var(--ink);
  border-radius: 24px; padding: 22px;
  box-shadow: 0 30px 80px -30px rgba(106,76,255,.6), 0 0 0 1px rgba(255,255,255,.1);
}
.verify-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.verify-head b { display: block; font-size: 16.5px; font-weight: 800; }
.verify-head small { font-size: 13px; color: var(--muted); font-weight: 600; }
.verify-ic { width: 42px; height: 42px; border-radius: 12px; background: #E3F6EB; color: var(--ok); display: grid; place-items: center; }
.verify-list { display: grid; gap: 10px; padding: 16px 0; }
.verify-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.ok-dot { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-top: 0; }
.ok-dot .i { width: 13px; height: 13px; stroke-width: 3; }
.js-anim .verify-card .verify-list li { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-anim .verify-card.in .verify-list li { opacity: 1; transform: none; }
.js-anim .verify-card.in .verify-list li:nth-child(1) { transition-delay: .3s; }
.js-anim .verify-card.in .verify-list li:nth-child(2) { transition-delay: .6s; }
.js-anim .verify-card.in .verify-list li:nth-child(3) { transition-delay: .9s; }
.js-anim .verify-card.in .verify-list li:nth-child(4) { transition-delay: 1.2s; }
.verify-winners {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 14px; border-radius: 14px; background: var(--accent-soft);
}
.verify-winners span { font-size: 13px; font-weight: 700; color: var(--accent-700); margin-right: 4px; }
.verify-winners b { font-family: var(--mono); font-size: 14px; background: #fff; color: var(--ink); padding: 4px 10px; border-radius: 9px; box-shadow: var(--shadow-sm); }

.fair-copy h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.025em; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.fair-copy p { color: var(--dark-muted); font-size: 16.5px; line-height: 1.65; }
.fair-copy p + p { margin-top: 12px; }
.fair-copy .fair-note { font-size: 14px; color: #8E88A8; border-left: 2px solid rgba(183,167,255,.4); padding-left: 14px; margin-top: 20px; }

/* =========================================================
   THEMES
   ========================================================= */
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: -24px 0 36px; }
.swatch {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c); border: 3px solid #fff; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line-2), 0 4px 10px -4px rgba(21,19,28,.3);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--c), 0 6px 14px -4px rgba(21,19,28,.35); transform: scale(1.08); }

.theme-row {
  --brand: #6A4CFF;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px;
  border-radius: 12px;
}
.theme { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.theme figcaption { font-weight: 800; font-size: 15px; color: var(--ink-2); }
.mini-phone {
  width: 100%; max-width: 230px;
  container-type: inline-size;
  aspect-ratio: 9 / 17.6;
  padding: 3.6%;
  border-radius: 32px;
  background: linear-gradient(160deg, #2A2733, #0F0D15 40%);
  box-shadow: 0 30px 50px -28px rgba(40,24,110,.55), 0 8px 16px -10px rgba(21,19,28,.3);
  transition: transform .45s var(--ease);
}
.theme:nth-child(even) { padding-top: 32px; }
.theme:hover .mini-phone { transform: translateY(-8px); }

.mp-screen {
  --t-bg: #F5F5F7; --t-card: #fff; --t-ink: #16151C; --t-muted: #6B6878; --t-track: #E7E6EC; --t-top: #16151C;
  height: 100%; overflow: hidden; position: relative;
  border-radius: 26px;
  background: var(--t-bg); color: var(--t-ink);
  font-size: calc(100cqw / 21);
  padding: 2.9em 1.2em 1.3em;
  display: flex; flex-direction: column; gap: .95em;
  transition: background-color .3s;
}
.mp-screen::before { content: ""; position: absolute; top: .8em; left: 50%; transform: translateX(-50%); width: 5.6em; height: 1.5em; border-radius: 1em; background: #0F0D15; }
.mp-top { display: flex; align-items: center; gap: .6em; color: var(--t-top); }
.mp-top b { font-size: 1.15em; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-logo { width: 2.3em; height: 2.3em; flex: none; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; transition: background-color .4s; }
.mp-cover {
  border-radius: 1.2em; padding: 1em 1.1em; min-height: 7.2em;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.35), rgba(255,255,255,0) 45%),
    linear-gradient(140deg, color-mix(in srgb, var(--brand) 78%, #fff), color-mix(in srgb, var(--brand) 82%, #000));
  transition: background .4s;
}
.mp-cover small { font-size: .82em; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.mp-cover b { font-size: 1.45em; line-height: 1.1; letter-spacing: -.02em; }
.mp-ticket { background: var(--t-card); border-radius: 1.2em; padding: .9em 1.1em; display: flex; flex-direction: column; box-shadow: 0 .2em .6em rgba(0,0,0,.05); }
.mp-ticket small { font-size: .85em; color: var(--t-muted); font-weight: 700; }
.mp-ticket b { font-family: var(--mono); font-size: 2.2em; letter-spacing: -.03em; line-height: 1.15; color: var(--brand); transition: color .4s; }
.mp-bar { height: .55em; border-radius: 1em; background: var(--t-track); overflow: hidden; }
.mp-bar span { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--brand); transition: background-color .4s; }
.mp-meta { display: flex; justify-content: space-between; font-size: .8em; font-weight: 700; color: var(--t-muted); margin-top: -.5em; }
.mp-prizes { display: flex; flex-direction: column; gap: .45em; background: var(--t-card); border-radius: 1.1em; padding: .85em 1em; }
.mp-prizes small { font-size: .8em; font-weight: 800; color: var(--t-muted); text-transform: uppercase; letter-spacing: .06em; }
.mp-prizes span { display: flex; align-items: center; gap: .55em; font-size: .92em; font-weight: 700; }
.mp-prizes i { width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8em; font-weight: 800; color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); transition: color .4s, background-color .4s; }
.theme[data-theme="contrast"] .mp-prizes { color: #000; }
.theme[data-theme="contrast"] .mp-meta { color: #BDBDBD; }
.mp-btn { margin-top: auto; text-align: center; font-weight: 800; font-size: 1.05em; color: #fff; background: var(--brand); border-radius: .9em; padding: .85em; transition: background-color .4s; }

.theme[data-theme="dark"] .mp-screen { --t-bg: #0F0F13; --t-card: #1C1B22; --t-ink: #F3F3F6; --t-muted: #9C9AA8; --t-track: #2B2A33; --t-top: #F3F3F6; }
.theme[data-theme="warm"] .mp-screen { --t-bg: #F4ECE1; --t-card: #FFFAF3; --t-ink: #2A1F16; --t-muted: #85705E; --t-track: #E6D8C5; --t-top: #2A1F16; }
.theme[data-theme="warm"] .mp-cover { background: radial-gradient(circle at 85% 15%, rgba(255,240,220,.45), rgba(255,255,255,0) 45%), linear-gradient(140deg, color-mix(in srgb, var(--brand) 70%, #F3C58F), color-mix(in srgb, var(--brand) 80%, #3A1F0A)); }
.theme[data-theme="contrast"] .mp-screen { --t-bg: #000; --t-card: #fff; --t-ink: #000; --t-muted: #3A3A3A; --t-track: #333; --t-top: #fff; }
.theme[data-theme="contrast"] .mp-cover { background: #fff; color: #000; border: .2em solid var(--brand); }
.theme[data-theme="contrast"] .mp-ticket { border: .15em solid #fff; }
.theme[data-theme="contrast"] .mp-ticket b { color: #000; }
.theme[data-theme="contrast"] .mp-btn { border: .15em solid #fff; }
.theme[data-theme="pastel"] .mp-screen { --t-bg: #EEF0FA; --t-card: #fff; --t-ink: #24243A; --t-muted: #7A7B96; --t-track: #DDE0F2; --t-top: #24243A; }
.theme[data-theme="pastel"] .mp-cover { color: #24243A; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.7), rgba(255,255,255,0) 45%), linear-gradient(140deg, color-mix(in srgb, var(--brand) 22%, #fff), color-mix(in srgb, var(--brand) 38%, #F6E8F4)); }
.theme[data-theme="pastel"] .mp-btn { background: color-mix(in srgb, var(--brand) 85%, #fff); }

/* =========================================================
   ANALYTICS
   ========================================================= */
.analytics { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 25%, var(--bg-tint) 75%, var(--bg) 100%); }
.analytics-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.analytics-copy .section-sub { margin-bottom: 28px; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 16px; color: var(--ink-2); }
.check-list .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-600); stroke-width: 2.6; }

.dash { margin: 0; }
.dash-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: grid; gap: 12px;
}
.dash-bar { display: flex; align-items: center; gap: 14px; padding: 4px 4px 10px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #E4E1EA; }
.dash-tabs { display: flex; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); overflow: hidden; white-space: nowrap; }
.dash-tabs b, .dash-tabs span { padding: 5px 10px; border-radius: 8px; }
.dash-tabs b { background: var(--accent-soft); color: var(--accent-700); }
.dash-range { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line); padding: 5px 10px; border-radius: 8px; white-space: nowrap; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.kpi small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.kpi b { font-size: 23px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi-d { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi-d.up { color: var(--ok); }

.chart-card, .table-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 10px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 14px; flex-wrap: wrap; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 8px; }
.lg-a { background: #D9D0FF; }
.lg-b { background: var(--accent); }
.chart { width: 100%; height: 170px; overflow: visible; }
.chart-grid line { stroke: #EEECF2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-bars rect { fill: #DDD5FF; transform-box: fill-box; transform-origin: 50% 100%; transition: fill .2s; }
.chart-bars rect:hover { fill: #C7B9FF; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-dots circle { fill: #fff; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.js-anim .dash .chart-bars rect { transform: scaleY(0); transition: transform .9s var(--ease); }
.js-anim .dash.in .chart-bars rect { transform: scaleY(1); }
.js-anim .dash .chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .4s; }
.js-anim .dash.in .chart-line { stroke-dashoffset: 0; }

.table-card { padding: 6px 14px; }
.trow { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.2fr; gap: 10px; align-items: center; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.trow:last-child { border-bottom: 0; }
.trow span:first-child { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thead { font-size: 12px; color: var(--muted); font-weight: 700; }
.conv { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.conv i { flex: 1; height: 6px; border-radius: 6px; background: #EEECF2; position: relative; overflow: hidden; }
.conv i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, #9F88FF, var(--accent)); border-radius: inherit; }
.dash-cap { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

/* =========================================================
   CASES
   ========================================================= */
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #F6DCCB; }
.case-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--warm-soft); color: var(--warm-700); margin-bottom: 18px; transition: transform .35s var(--ease); }
.case:hover .case-ic { transform: scale(1.08) rotate(-6deg); }
.case-ic .i { width: 22px; height: 22px; }
.case h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.3; }
.case p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { padding-top: clamp(40px, 5vw, 72px); }
.price-card {
  position: relative;
  max-width: 1000px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(124,95,255,.10), rgba(124,95,255,0) 50%),
    radial-gradient(circle at 100% 100%, rgba(255,138,76,.10), rgba(255,138,76,0) 45%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.price-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(124,95,255,.7), rgba(124,95,255,.05) 40%, rgba(255,138,76,.05) 60%, rgba(255,138,76,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.price-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--warm-700); background: var(--warm-soft); padding: 6px 12px; border-radius: 20px; }
.price-badge .i { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 10px; }
.price-num { font-size: clamp(56px, 7vw, 80px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price-per { font-size: 18px; font-weight: 700; color: var(--muted); }
.price-desc { color: var(--ink-2); font-size: 16px; margin-bottom: 24px; }
.price-foot { margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.price-list { display: grid; gap: 13px; align-content: center; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.price-list .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #E3F6EB; color: var(--ok); stroke-width: 3; margin-top: 0; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-top: clamp(56px, 7vw, 96px); }
.faq-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px;
  font-size: 17.5px; font-weight: 750; letter-spacing: -.01em; line-height: 1.4;
  transition: color .2s;
  border-radius: 10px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-700); }
.qa-ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s; }
.qa-ic .i { width: 16px; height: 16px; stroke-width: 2.4; }
.qa[open] .qa-ic { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.qa-a { padding: 0 54px 22px 4px; }
.qa-a p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.qa[open]::details-content { block-size: auto; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { padding-bottom: clamp(64px, 8vw, 112px); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(160,130,255,.65), rgba(160,130,255,0) 70%),
    radial-gradient(circle at 100% 100%, rgba(255,140,120,.32), rgba(255,140,120,0) 38%),
    linear-gradient(160deg, #5434EE, #2D1A9C 70%, #22127A);
  box-shadow: 0 40px 80px -40px rgba(60,30,200,.7);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%);
}
.cta-band h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; max-width: 820px; margin-inline: auto; text-wrap: balance; }
.cta-band p { margin: 18px auto 0; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.82); }
.cta-actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-ticket {
  position: absolute;
  font-family: var(--mono); font-weight: 700; font-size: 18px;
  padding: 10px 18px; border-radius: 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: rgba(255,255,255,.9);
}
.cta-ticket.t1 { left: 6%; top: 18%; transform: rotate(-10deg); animation: float-c 7s ease-in-out infinite; }
.cta-ticket.t2 { right: 7%; top: 24%; transform: rotate(8deg); animation: float-c 8s ease-in-out infinite 1s; }
.cta-ticket.t3 { left: 12%; bottom: 14%; transform: rotate(6deg); animation: float-c 6s ease-in-out infinite 2s; }
@keyframes float-c { 50% { translate: 0 -10px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding-top: 48px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 14.5px; max-width: 280px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 600; width: fit-content; border-radius: 6px; transition: color .2s; }
.footer-nav a:hover { color: var(--accent-700); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .nav {
    display: none;
    position: fixed; left: 0; right: 0; top: var(--header-h);
    margin: 0;
    padding: 12px var(--gutter) 20px;
    background: rgba(251, 250, 248, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(21,19,28,.35);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .nav { display: block; animation: menu-in .3s var(--ease); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 14px 6px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .menu-toggle { display: inline-flex; }
  .nav-mobile-only { display: block; }
  .link-kb { display: none; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 540px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fair-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fair-flow::before { display: none; }
  .analytics-inner { grid-template-columns: 1fr; }
  .analytics-copy { max-width: 720px; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-wide { grid-template-columns: minmax(0, 1fr); }
  .theme:nth-child(even) { padding-top: 0; }
  .card-accent { grid-column: span 2; }
  .theme-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 44px;
    scrollbar-width: none;
  }
  .theme-row::-webkit-scrollbar { display: none; }
  .theme { flex: 0 0 200px; scroll-snap-align: center; }
  .cta-ticket { display: none; }
}

@media (max-width: 860px) {
  .benefits { grid-template-columns: 1fr; }
  .fair-bottom { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .link-login { display: none; }
  .header-actions { gap: 8px; }
  .brand { font-size: 19px; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-points { gap: 8px 16px; font-size: 14px; }
  .steps, .fair-flow, .bento, .cases-grid { grid-template-columns: 1fr; }
  .card-wide, .card-accent { grid-column: auto; }
  .card { padding: 22px; }
  .card:not(.card-wide), .card-wide .card-body, .case {
    display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center;
  }
  .card:not(.card-wide) > :not(.card-ic), .card-wide .card-body > :not(.card-ic), .case > :not(.case-ic) { grid-column: 1 / -1; }
  .card:not(.card-wide) > h3:not(.card-ic), .card-wide .card-body > h3:not(.card-ic), .case > h3:not(.case-ic) { grid-column: 2; margin: 0; }
  .card-ic, .case-ic { width: 44px; height: 44px; margin: 0; }
  .card p, .case p { margin-top: 12px; }
  .case { padding: 22px; }
  .card-accent .card-link { padding-top: 14px; }
  .fair-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: center; }
  .fair-node { width: 44px; height: 44px; grid-row: 1 / 3; }
  .fair-k { margin: 0; align-self: end; }
  .fair-step h3 { align-self: start; }
  .fair-step p, .fair-code { grid-column: 1 / -1; }
  .fair-step p { margin-top: 4px; }
  .qr-strip { gap: 8px; }
  .qr-tile { width: auto; flex: 1; padding: 7px 6px 6px; }
  .qr-tile i { font-size: 9px; padding: 2px 4px; letter-spacing: -.02em; }
  .card-phone .admin-mini { width: 100%; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-tabs span { display: none; }
  .trow { grid-template-columns: 1.3fr .8fr 1fr; }
  .trow span:nth-child(3) { display: none; }
  .qa summary { font-size: 16.5px; padding: 18px 2px; }
  .qa-a { padding-right: 8px; }
  .swatches { margin-top: -12px; }
  .cta-band { border-radius: 24px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
  .header-actions .btn-sm { padding: 8px 11px; font-size: 13px; }
}

/* ---------- Motion preferences / static mode ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .scanline { top: 40%; }
}
.is-static *, .is-static *::before, .is-static *::after {
  animation: none !important;
  transition: none !important;
}

/* Мини-чек и мини-купон в карточках возможностей */
.receipt-mini, .coupon-mini { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 170px; padding: 16px 14px 14px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(40, 20, 90, .12); }
.receipt-mini { border-radius: 6px 6px 14px 14px; background: linear-gradient(#fff, #fff) padding-box; position: relative; }
.receipt-mini .rm-line { display: block; width: 100%; height: 7px; border-radius: 4px; background: #ECE9F2; }
.receipt-mini .rm-line.short { width: 60%; align-self: flex-start; }
.receipt-mini .rm-sum { align-self: flex-end; font-weight: 800; font-size: 14px; color: #1B1530; }
.receipt-mini svg, .coupon-mini svg { width: 86px; height: 86px; color: #1B1530; }
.receipt-mini .rm-ok { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 750; color: #0B7A3E; background: #E5F6EC; padding: 6px 8px; border-radius: 8px; text-align: center; }
.receipt-mini .rm-ok .i { width: 14px; height: 14px; flex: none; }
.coupon-mini { border: 2px dashed #6D4AFF; }
.coupon-mini small { font-size: 11px; color: #7A7391; text-transform: uppercase; letter-spacing: .06em; }
.coupon-mini b { font-size: 16px; color: #1B1530; }
.coupon-mini span { font-weight: 800; letter-spacing: .12em; color: #6D4AFF; font-size: 14px; }
@media (max-width: 760px) { .receipt-mini, .coupon-mini { width: 100%; max-width: 220px; margin: 0 auto; } }

/* Текст пункта списка с иконкой — одним блоком, чтобы вложенные span не становились отдельными колонками */
.li-t { min-width: 0; }
.price-list .i, .check-list .i { flex: none; }

/* Ссылка внизу карточки возможностей (демо) */
.card-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14.5px; color: var(--accent-700); }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Тарифы ---------- */
.tiers { max-width: 1200px; margin: 0 auto; }
.period { display: flex; width: max-content; margin: 0 auto 18px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.period button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 700 14.5px var(--font); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.period button.on { background: var(--accent); color: #fff; }
.founder-note { text-align: center; margin: 0 auto 22px; max-width: 640px; padding: 10px 16px; border-radius: 14px; background: var(--warm-soft); color: var(--warm-700); font-size: 15px; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tier-best { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.tier-badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 800; }
.tier h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.tier-for { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.tier-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 2px; }
.tier-num { font-size: 38px; font-weight: 800; letter-spacing: -.035em; }
.tier-per { color: var(--muted); font-weight: 600; }
.tier-note { min-height: 20px; margin: 0; font-size: 13.5px; color: var(--muted); }
.tier-founder { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--warm-700); }
.tier ul { display: grid; gap: 9px; margin: 18px 0 22px; flex: 1; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.tier li .i { flex: none; width: 20px; height: 20px; padding: 3.5px; border-radius: 50%; background: #E3F6EB; color: var(--ok); stroke-width: 3; }
.setup-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 18px 22px; border-radius: var(--radius-sm); background: #fff; border: 1px dashed var(--line-2); font-size: 15px; color: var(--ink-2); }
.setup-strip .btn { flex: none; }
.tiers .price-foot { text-align: center; }
@media (max-width: 960px) {
  .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tier-best { order: -1; }
  .setup-strip { flex-direction: column; align-items: flex-start; }
}
