/* ─────────── The Game · лендинг ─────────── */
:root {
  --ink: #140f24;
  --dusk: #231a3d;
  --plum: #3b2457;
  --cream: #fff6ee;
  --sand: #f6e6d8;
  --peach: #ffbf94;
  --apricot: #ff8a5b;
  --rose: #ef6a8c;
  --gold: #ffd59a;
  --seal: #e0413a;
  --text-dark: #2a2038;
  --muted-dark: #6d6078;
  --text-light: #fbefe6;
  --muted-light: #c9b8cf;
  --sunset: linear-gradient(120deg, var(--gold) 0%, var(--apricot) 45%, var(--rose) 100%);
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
.metrika-pixel { position: absolute; left: -9999px; width: 1px; height: 1px; }
a { color: inherit; }
::selection { background: var(--apricot); color: var(--ink); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted-light); }

/* ─────────── Типографика ─────────── */
.h2 {
  font: 600 clamp(34px, 5vw, 58px)/1.05 var(--serif);
  letter-spacing: -.01em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--apricot); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.grad, .hero__title em {
  font-style: italic;
  background: var(--sunset);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite alternate;
  padding-right: .06em;
}
@keyframes shimmer { to { background-position: 100% 0; } }

/* ─────────── Кнопки ─────────── */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 30px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--glow {
  color: var(--ink); background: var(--sunset); background-size: 180% 100%;
  box-shadow: 0 10px 40px -10px rgba(255, 138, 91, .7), inset 0 1px 0 rgba(255,255,255,.5);
  overflow: hidden; isolation: isolate;
  animation: shimmer 5s ease-in-out infinite alternate;
}
.btn--glow::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); animation: sweep 3.8s var(--ease) infinite;
}
@keyframes sweep { 60%, 100% { transform: translateX(120%); } }
.btn--glow:hover { transform: translateY(-3px); box-shadow: 0 18px 50px -12px rgba(239, 106, 140, .8); }
.btn--ghost {
  color: var(--text-light); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,.18); }

/* ─────────── HERO ─────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  isolation: isolate; overflow: hidden;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -3; }
.hero__bg img {
  object-fit: cover; object-position: 54% 70%;
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: 54% 70%;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-1.5%); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(20,15,36,.55) 0%, rgba(20,15,36,.05) 30%, rgba(20,15,36,.25) 55%, rgba(20,15,36,.92) 100%),
    linear-gradient(90deg, rgba(20,15,36,.75) 0%, rgba(20,15,36,.2) 55%, transparent 100%),
    rgba(20,15,36,.3);
}
.hero__sun {
  position: absolute; z-index: -1; width: 60vmax; height: 60vmax; left: -22vmax; bottom: -10vmax;
  background: radial-gradient(circle, rgba(255,170,110,.45) 0%, rgba(255,120,90,.15) 35%, transparent 65%);
  filter: blur(10px); mix-blend-mode: screen;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }

.topbar {
  width: min(1160px, 100% - 32px); margin: 0 auto; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 24px/1 var(--serif); text-decoration: none; }
.logo__mark {
  width: 36px; height: 36px; color: var(--peach); animation: spin 14s linear infinite;
}
.logo__mark path { fill: none; stroke: currentColor; stroke-linecap: round; }
.logo__seal { fill: var(--seal); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__content {
  width: min(1160px, 100% - 32px); margin: auto auto 0; padding: 40px 0 120px;
  max-width: 1160px;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #ff6d6d; box-shadow: 0 0 0 0 rgba(255,109,109,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,109,109,0); } 100% { box-shadow: 0 0 0 0 rgba(255,109,109,0); } }
.kicker { margin: 0 0 12px; font-size: clamp(16px, 2vw, 20px); color: var(--peach); font-weight: 600; }
.hero__title {
  margin: 0 0 24px; max-width: 13ch;
  font: 600 clamp(48px, 8.4vw, 112px)/.96 var(--serif); letter-spacing: -.02em;
  text-shadow: 0 4px 40px rgba(20,15,36,.35);
  text-wrap: balance;
}
.hero__title em { text-shadow: none; }
.hero__lead { max-width: 560px; margin: 0 0 34px; font-size: clamp(17px, 1.6vw, 19px); color: #f4e4dc; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero__note { font-size: 14px; color: var(--muted-light); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 20px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ─────────── Бегущая строка ─────────── */
.marquee {
  overflow: hidden; padding: 18px 0; background: var(--sunset); color: var(--ink);
  font: 600 italic 26px/1 var(--serif); white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 26px; animation: marquee 40s linear infinite; }
.marquee i { font-style: normal; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────── Секции ─────────── */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.pain, .inside, .author, .faq { background: var(--cream); color: var(--text-dark); }
.pain .muted, .inside .muted, .author .muted, .faq .muted { color: var(--muted-dark); }
.inside { background: linear-gradient(180deg, var(--cream), var(--sand)); }

.card {
  position: relative; border-radius: var(--radius);
  background: #fff; box-shadow: 0 1px 0 rgba(42,32,56,.04), 0 20px 50px -30px rgba(59,36,87,.35);
}

/* Боль */
.pain .h2 { max-width: 17ch; }
.pain__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain__card { padding: 30px 30px 32px; font-size: 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pain__card p { margin: 0; }
.pain__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(239,106,140,.45); }
.pain__card--main {
  grid-column: 1 / -1; color: var(--text-light);
  background: linear-gradient(130deg, var(--dusk), var(--plum) 60%, #7a3a6b);
  font: 500 clamp(24px, 3vw, 34px)/1.25 var(--serif);
}
.card__num { display: block; margin-bottom: 14px; font: 700 13px/1 var(--sans); letter-spacing: .12em; color: var(--apricot); }

/* Игра */
.game { background: radial-gradient(120% 80% at 100% 0%, #3d2654 0%, var(--ink) 60%); overflow: hidden; }
.game__orb {
  position: absolute; width: 520px; height: 520px; right: -140px; top: 10%;
  border-radius: 50%; background: conic-gradient(from 0deg, var(--gold), var(--apricot), var(--rose), #8a5bd6, var(--gold));
  filter: blur(90px); opacity: .35; animation: spin 30s linear infinite;
}
.game__inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.game__text p { color: #e9dbe3; max-width: 560px; }
.quote {
  margin: 34px 0 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--apricot);
  font: 500 italic clamp(22px, 2.4vw, 28px)/1.3 var(--serif); color: var(--peach);
}
.skills { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.skill {
  display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, transform .4s var(--ease);
}
.skill:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.skill__ico {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--sunset); color: var(--ink); font-size: 22px;
}
.skill b { display: block; font-size: 17px; }
.skill div span { font-size: 15px; color: var(--muted-light); }

/* Что внутри */
.inside__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; padding: 30px 26px 32px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 20px 50px -32px rgba(59,36,87,.4);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(239,106,140,.5); }
.tile__glow {
  position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,91,.35), transparent 70%);
  transition: transform .6s var(--ease);
}
.tile:hover .tile__glow { transform: scale(1.6) translate(-20%, -20%); }
.tile__hanzi {
  display: block; margin-bottom: 18px; font: 500 46px/1 "Noto Serif SC", "Songti SC", serif;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tile h3 { position: relative; margin: 0 0 10px; font: 600 26px/1.15 var(--serif); }
.tile p { position: relative; margin: 0; font-size: 15.5px; color: var(--muted-dark); }

/* Спокойствие */
.calm {
  position: relative; overflow: hidden; padding: clamp(100px, 14vw, 180px) 0;
  background: linear-gradient(180deg, var(--sand) 0%, #ffcfa8 30%, #f59a86 65%, #7a3a6b 100%);
  color: var(--ink); text-align: center;
}
.calm__inner { position: relative; z-index: 1; }
.calm__enso { width: 92px; height: 92px; margin: 0 auto 28px; }
.calm__enso path {
  fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.calm__enso circle { fill: var(--seal); opacity: 0; scale: .4; transform-origin: 51.5px 15.5px; transition: opacity .6s var(--ease) 2s, scale .6s var(--ease) 2s; }
.calm__enso.is-in path { stroke-dashoffset: 0; }
.calm__enso.is-in circle { opacity: 1; scale: 1; }
.done__enso circle {
  fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 300; stroke-dashoffset: 300; transform: rotate(-80deg); transform-origin: center;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.done__enso.is-drawn circle { stroke-dashoffset: 34; }
.calm__big { max-width: 22ch; margin: 0 auto 30px; font: 600 clamp(32px, 5vw, 62px)/1.1 var(--serif); text-wrap: balance; }
.calm__src { max-width: 600px; margin: 0 auto; font: italic 500 21px/1.45 var(--serif); color: #fff3ea; }
.calm__src span { display: block; margin-top: 8px; font: 600 13px/1 var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.calm__waves { position: absolute; inset: auto 0 0 0; height: 26%; }
.calm__waves svg { width: 200%; height: 100%; }
.calm__waves path { fill: rgba(20,15,36,.18); }
.calm__waves .w1 { animation: wave 16s linear infinite; }
.calm__waves .w2 { fill: rgba(20,15,36,.28); animation: wave 22s linear infinite reverse; }
@keyframes wave { to { transform: translateX(-50%); } }

/* Результаты */
.results { background: linear-gradient(180deg, #4a2a5c 0%, var(--ink) 40%); }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.result {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
}
.result::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--sunset); opacity: 0; transition: opacity .4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.result:hover::before { opacity: 1; }
.result--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; }
.result--wide .result__step { grid-row: span 2; margin: 0; }
.result__step {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 50%;
  background: var(--sunset); color: var(--ink); font: 600 24px/1 var(--serif);
}
.result h3 { margin: 0 0 8px; font: 600 28px/1.1 var(--serif); }
.result p { margin: 0; color: var(--muted-light); }

/* Автор */
.author__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.author__photo { position: relative; margin: 0; }
.author__photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 40px 80px -40px rgba(59,36,87,.6); }
.author__ring {
  position: absolute; inset: -14px; z-index: -0; pointer-events: none;
  border-radius: 214px 214px 34px 34px; border: 1.5px solid var(--apricot); opacity: .5;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.author__text p { font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.stat { padding: 20px 18px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px -30px rgba(59,36,87,.5); }
.stat b { font: 600 46px/1 var(--serif); background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat sup { font: 600 26px/1 var(--serif); color: var(--apricot); }
.stat span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--muted-dark); }

/* Заявка */
.apply { overflow: hidden; isolation: isolate; }
.apply__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 10% 20%, rgba(255,138,91,.35), transparent 70%),
    radial-gradient(50% 50% at 90% 80%, rgba(239,106,140,.35), transparent 70%),
    radial-gradient(40% 40% at 60% 10%, rgba(138,91,214,.3), transparent 70%),
    var(--ink);
  background-size: 140% 140%;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { background-position: 100% 100%; } }
.apply__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.apply__intro p { color: #ecdfe6; }
.prompts { margin: 0 0 22px; padding: 0; list-style: none; }
.prompts li { position: relative; padding: 8px 0 8px 34px; font-size: 18px; }
.prompts li::before { content: ""; position: absolute; left: 0; top: 18px; width: 18px; height: 2px; background: var(--sunset); }

.form {
  padding: clamp(24px, 4vw, 40px); color: var(--text-dark);
  background: rgba(255,250,245,.97); box-shadow: 0 40px 100px -40px rgba(0,0,0,.6);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px;
  border: 1.5px solid #e6d6cc; background: #fff; color: var(--text-dark);
  font: 500 16px/1.5 var(--sans); outline: none; resize: vertical;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 190px; padding-top: 30px; }
.field label {
  position: absolute; left: 19px; top: 18px; pointer-events: none;
  color: var(--muted-dark); font-size: 16px; transform-origin: left top;
  transition: transform .25s var(--ease), color .25s;
}
.field label em { font-style: normal; opacity: .7; font-size: .9em; }
.field input:focus, .field textarea:focus { border-color: var(--apricot); box-shadow: 0 0 0 4px rgba(255,138,91,.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(.78); color: var(--apricot);
}
.field.has-error input, .field.has-error textarea { border-color: #e0475f; }
.meter { height: 4px; margin-top: 8px; border-radius: 4px; background: #f0e2d8; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--sunset); transition: width .3s var(--ease); }
.hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted-dark); }
.hint.is-ok { color: #2e9a6a; }
.err { display: block; min-height: 0; color: #d0344f; font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.err:empty { display: none; }
.err--form { text-align: center; margin-top: 12px; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 6px; font-size: 14px; color: var(--muted-dark); cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check__box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid #d8c4b8; background: #fff;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.check__box::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 700; transform: scale(0); transition: transform .25s var(--ease); }
.check input:checked + .check__box { background: var(--apricot); border-color: var(--apricot); }
.check input:checked + .check__box::after { transform: scale(1); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(255,138,91,.25); }
.form .btn { margin-top: 18px; }

.btn__spinner { display: none; width: 20px; height: 20px; border: 2.5px solid rgba(20,15,36,.25); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.form.is-loading .btn__spinner { display: inline-block; }
.form.is-loading .btn__label { opacity: .7; }

.form__state--done { display: none; text-align: center; padding: 30px 0; }
.form.is-done .form__state--fill { display: none; }
.form.is-done .form__state--done { display: block; animation: rise .8s var(--ease) both; }
.done__enso { width: 110px; height: 110px; margin: 0 auto 18px; }
.done__enso circle { stroke: var(--apricot); }
.form__state--done h3 { margin: 0 0 12px; font: 600 38px/1.1 var(--serif); }
.form__state--done p { max-width: 400px; margin: 0 auto; color: var(--muted-dark); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* FAQ */
.qa { border-bottom: 1px solid #e8d6ca; }
.qa summary {
  list-style: none; cursor: pointer; position: relative; padding: 24px 50px 24px 0;
  font: 600 clamp(21px, 2.4vw, 26px)/1.25 var(--serif);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sunset); color: var(--ink); font: 500 22px/1 var(--sans);
  transition: transform .35s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 24px; color: var(--muted-dark); max-width: 640px; animation: rise .5s var(--ease); }

/* Футер */
.footer { padding: 34px 0 40px; background: var(--ink); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: space-between; font-size: 14px; }

/* Липкая кнопка на мобильных */
.sticky-cta {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  display: none; transform: translateY(150%); transition: transform .45s var(--ease);
}
.sticky-cta.is-visible { transform: none; }

/* Страница «спасибо» */
.thanks-page { min-height: 100svh; display: grid; place-items: center; padding: 16px; position: relative; isolation: isolate; }
.thanks { max-width: 520px; padding: 48px 32px; text-align: center; color: var(--text-dark); background: rgba(255,250,245,.97); }
.thanks p { color: var(--muted-dark); margin-bottom: 28px; }
.thanks .btn--ghost { color: var(--text-dark); border-color: #d8c4b8; }

/* ─────────── Появление при скролле ─────────── */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ─────────── Адаптив ─────────── */
@media (max-width: 1024px) {
  .pain__grid { grid-template-columns: repeat(2, 1fr); }
  .pain__card:last-child { grid-column: 1 / -1; }
  .inside__grid { grid-template-columns: repeat(2, 1fr); }
  .game__inner, .apply__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero__bg img { object-position: 56% 72%; }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(20,15,36,.6) 0%, rgba(20,15,36,.15) 28%, rgba(20,15,36,.55) 55%, rgba(20,15,36,.95) 100%),
      rgba(20,15,36,.3);
  }
  .hero__content { padding-bottom: 90px; }
  .hero__actions .btn { width: 100%; }
  .hero__note { width: 100%; text-align: center; }
  .scroll-hint { display: none; }
  .topbar .btn { display: none; }
  .marquee { font-size: 21px; padding: 14px 0; }
  .pain__card:last-child { grid-column: auto; }
  .pain__grid, .inside__grid, .results__grid, .stats { grid-template-columns: 1fr; }
  .pain__card { padding: 24px; }
  .result--wide { display: block; }
  .result--wide .result__step { margin-bottom: 22px; }
  .author__inner { grid-template-columns: 1fr; }
  .author__photo { max-width: 420px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 16px 12px; }
  .stat b { font-size: 36px; }
  .stat span { font-size: 12.5px; }
  .game__orb { width: 340px; height: 340px; }
  .sticky-cta { display: inline-flex; }
  .footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .calm__enso path { stroke-dashoffset: 0; }
  .calm__enso circle { opacity: 1; scale: 1; }
  .done__enso circle { stroke-dashoffset: 34; }
}
