@charset "utf-8";
/* Raccoon Helper — сайт. Стиль «Royal gold» как в программе: дымчатое тёмное стекло и металлическое золото.
   Цвет = смысл: золото — главное и выбранное, красный — босс и опасность, изумруд — «всё хорошо»,
   бирюза — души питомцев, солнце — светлый куб и шиго. Тема только тёмная: это стиль продукта. */

:root {
  --bg-top: #1E1A16;
  --bg-mid: #12100E;
  --bg-bot: #0B0A0A;
  --g900: #4E3412;
  --g700: #966626;
  --g500: #D4A048;
  --g400: #EABC64;
  --g300: #F7D58C;
  --g100: #FFF2CE;
  --caption: #CEAA68;
  --ivory: #F8F0E2;
  --parch: #C6B8A0;
  --dusk: #9A8E7A;
  --emerald: #54E09A;
  --crimson: #F25056;
  --amethyst: #BA96FF;
  --sun: #FFCE60;
  --soul: #5CD6EC;
  --tg: #54BAF0;
  --yt: #FF4E45;
  --metal: linear-gradient(180deg, #FFF2CE 0%, #F7D58C 45%, #EABC64 62%, #966626 100%);
  --metal-btn: linear-gradient(180deg, #FFF2CE 0%, #F7D58C 30%, #EABC64 64%, #C08636 100%);
  --on-gold: #24180A;
  --hair: rgba(212, 160, 72, .2);
  --hair-2: rgba(212, 160, 72, .4);
  --glass: linear-gradient(180deg, rgba(255, 242, 206, .055), rgba(255, 242, 206, .012));
  --pane: rgba(9, 8, 7, .62);
  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 32px);
  --head: 64px;
  --f-text: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --f-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --f-num: Bahnschrift, "DIN Alternate", "Segoe UI Variable Display", "Segoe UI", system-ui, Arial, sans-serif;
  --f-brand: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, serif;
  color-scheme: dark;
}

/* --- основа ------------------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 12px);
  background: var(--bg-bot);
}
body {
  margin: 0;
  min-height: 100vh;
  font: 400 16px/1.6 var(--f-text);
  color: var(--parch);
  background-color: var(--bg-bot);
  background-image:
    radial-gradient(1100px 640px at 80% -140px, rgba(234, 188, 100, .15), transparent 70%),
    radial-gradient(820px 620px at -12% 420px, rgba(150, 102, 38, .13), transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0, var(--bg-mid) 1100px, var(--bg-bot) 2600px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
/* перевод на русский ещё не наложен — не показываем английский (страховка: через 1.5 с покажем всё равно) */
html.i18n-wait body { visibility: hidden; animation: i18n-show 0s linear 1.5s forwards; }
@keyframes i18n-show { to { visibility: visible; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--g400); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g300); }
:focus-visible { outline: 2px solid var(--g300); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; color: var(--ivory); font-family: var(--f-display); font-kerning: normal; }
p { margin: 0; }
b, strong { color: var(--ivory); font-weight: 600; }
b.red { color: #FF7C7E; }
b.green { color: var(--emerald); }
kbd, code {
  font: 600 .86em/1 var(--f-num);
  color: var(--g100);
  background: rgba(255, 242, 206, .07);
  border: 1px solid rgba(212, 160, 72, .38);
  border-radius: 6px;
  white-space: nowrap;
}
kbd { display: inline-block; padding: .2em .42em .16em; border-bottom-width: 2px; vertical-align: .08em; }
code { padding: .16em .4em; margin: 0 .1em; font: 500 .9em/1 Consolas, "Cascadia Mono", "Segoe UI Mono", ui-monospace, monospace; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--metal-btn); color: var(--on-gold); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--on-gold); }

/* --- кнопки -------------------------------------------------------------------------------------------------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px;
  font: 600 15.5px/1.15 var(--f-text);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: filter .15s ease, box-shadow .2s ease, transform .15s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
}
.btn .i { width: 19px; height: 19px; }
.btn-gold {
  color: var(--on-gold);
  background: var(--metal-btn);
  border-color: #8C5E22;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -1px 0 rgba(78, 52, 18, .45), 0 10px 26px -10px rgba(234, 188, 100, .55);
}
.btn-gold:hover {
  color: var(--on-gold);
  filter: brightness(1.07) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(78, 52, 18, .45), 0 14px 34px -8px rgba(234, 188, 100, .72);
}
.btn-gold:active { transform: translateY(1px); }
.btn-ghost {
  color: var(--g300);
  background: linear-gradient(180deg, rgba(255, 242, 206, .075), rgba(255, 242, 206, .02));
  border-color: var(--hair-2);
  box-shadow: inset 0 1px 0 rgba(255, 242, 206, .08);
}
.btn-ghost:hover {
  color: var(--g100);
  border-color: rgba(234, 188, 100, .65);
  background: linear-gradient(180deg, rgba(255, 242, 206, .12), rgba(255, 242, 206, .04));
}
.btn-sm { --h: 38px; padding: 0 14px; gap: 8px; font-size: 14px; border-radius: 10px; }
.btn-sm .i { width: 17px; height: 17px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.btn-sub { font: 500 .88em/1 var(--f-num); letter-spacing: .01em; opacity: .74; }
.btn-sub.is-soon {
  opacity: 1;
  padding: 4px 8px 3px; border-radius: 999px;
  font: 700 10.5px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(36, 24, 10, .14); border: 1px solid rgba(36, 24, 10, .3);
}
.btn-ghost .btn-sub.is-soon { background: rgba(234, 188, 100, .12); border-color: rgba(234, 188, 100, .35); }
.lbl-short { display: none; }
.btn-tg .i { color: var(--tg); }                     /* Telegram — голубым самолётиком, кнопка как остальные */
.btn-tg:hover { border-color: rgba(84, 186, 240, .7); }
.btn-yt .i { color: var(--yt); }                     /* YouTube — красным «плеем», как самолётик Telegram */
.btn-yt:hover { border-color: rgba(255, 78, 69, .7); }

/* --- шапка --------------------------------------------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 13, 11, .9);
  border-bottom: 1px solid rgba(212, 160, 72, .16);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .top {
    background: rgba(15, 13, 11, .68);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    backdrop-filter: saturate(150%) blur(14px);
  }
}
.top-in { display: flex; align-items: center; gap: 12px; height: var(--head); }
.brand, .foot-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 32px; filter: drop-shadow(0 0 10px rgba(234, 188, 100, .32)); }
.brand-word {
  font: 700 21px/1 var(--f-brand); letter-spacing: .13em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-top: 3px;
}
.brand-tail { font: 700 10.5px/1 var(--f-text); letter-spacing: .24em; color: var(--g300); padding-top: 4px; margin-left: -2px; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 10px; white-space: nowrap;
  color: var(--parch); text-decoration: none; font-size: 14.5px; font-weight: 500;
}
.nav a:hover { color: var(--ivory); background: rgba(255, 242, 206, .055); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-cab .i { color: var(--g400); }              /* кабинет в шапке — только ссылкой (SITE.cabinet "on"), «скоро» нет */
.top-tg, .top-yt { width: 38px; padding: 0; }        /* в шапке — только значок (подпись — для экранных дикторов) */
.top-tg span, .top-yt span {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.top-sup { width: 38px; padding: 0; }                /* «Поддержка» (бот, ?start=support) — тоже значком, с подсказкой */
.top-sup span {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid var(--hair-2); background: rgba(4, 3, 2, .55);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5);
}
.lang button {
  appearance: none; -webkit-appearance: none; margin: 0; border: 0; cursor: pointer;
  min-width: 34px; padding: 7px 9px 6px; border-radius: 999px;
  background: none; color: var(--parch);
  font: 700 12px/1 var(--f-text); letter-spacing: .08em;
}
.lang button:hover { color: var(--ivory); }
.lang button[aria-pressed="true"] { color: var(--on-gold); background: var(--metal-btn); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }

/* --- первый экран -------------------------------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(52px, 6.5vw, 84px); overflow-x: hidden; overflow-x: clip; }
.hero-grid { display: grid; gap: clamp(32px, 4vw, 52px); align-items: center; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1.25 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--caption);
}
.eyebrow::before {
  content: ""; flex: none; width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--metal); box-shadow: 0 0 10px rgba(234, 188, 100, .75);
}
.hero h1 {
  margin: 20px 0;
  font-size: clamp(2.1rem, 1.15rem + 3.2vw, 3.4rem); font-weight: 700; line-height: 1.07; letter-spacing: -.022em;
  text-wrap: balance;
}
.gold {
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { max-width: 36em; font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); line-height: 1.62; }
.cta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 30px; }
/* «Скачать бесплатно» и подпись под ней (v0.6.0 · 49 MB · Windows 10/11 — из ленты, site.js): с JS (класс js у <html>)
   строка подписи занята с первой отрисовки — когда придёт лента, страница не прыгнет; до ленты и при сбое она пустая */
.dl-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dl-meta { font: 500 13px/1.3 var(--f-num); letter-spacing: .01em; color: var(--dusk); text-align: center; min-height: 1.3em; }
html:not(.js) .dl-meta { display: none; }            /* без JS подписи нет — и места под неё */
.hero-note { max-width: 40em; margin-top: 18px; font-size: 14.5px; line-height: 1.55; }
.points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.points li { display: inline-flex; align-items: center; gap: 9px; }
.points li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--g500); }
/* ролик-тур под текстом первого экрана: без звука, по кругу (как гифка), язык — как у сайта (site.js) */
.reel { position: relative; justify-self: center; width: 100%; max-width: 1080px; margin: 0; isolation: isolate; }
.reel::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -14% -8% -10%;
  background: radial-gradient(closest-side, rgba(234, 188, 100, .2), rgba(234, 188, 100, .06) 58%, transparent 78%);
}
.reel-frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  border: 1px solid rgba(212, 160, 72, .38); border-radius: clamp(12px, 1.6vw, 20px);
  background: #12100E;
  box-shadow: inset 0 1px 0 rgba(255, 242, 206, .08), 0 40px 90px -36px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(234, 188, 100, .25);
}
.reel-video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.reel-video:focus-visible { outline: none; }
.reel-btn {
  position: absolute; right: clamp(8px, 1.4vw, 16px); bottom: clamp(8px, 1.4vw, 16px);
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--hair-2); border-radius: 50%;
  background: rgba(9, 8, 7, .66); color: var(--g100); cursor: pointer;
  opacity: .72; transition: opacity .2s ease, border-color .2s ease, transform .15s ease;
}
.reel-btn .i { width: 18px; height: 18px; }
.reel-btn .i-play { fill: currentColor; }
.reel-btn .i-play, .reel.is-paused .reel-btn .i-pause { display: none; }
.reel.is-paused .reel-btn .i-play { display: block; }
.reel-frame:hover .reel-btn, .reel-btn:focus-visible, .reel.is-paused .reel-btn { opacity: 1; }
.reel-btn:hover { border-color: rgba(234, 188, 100, .7); }
.reel-btn:active { transform: scale(.94); }
.reel.is-paused .reel-btn { width: 56px; height: 56px; right: 50%; bottom: 50%; transform: translate(50%, 50%); }
.reel.is-paused .reel-btn:active { transform: translate(50%, 50%) scale(.94); }
.reel.is-paused .reel-btn .i { width: 24px; height: 24px; }
.reel-cap { margin-top: 14px; text-align: center; font-size: 14px; color: var(--dusk); }
.reel.is-m { max-width: 520px; }                      /* узкий экран: вертикальный ролик 4:5 (site.js) */
.reel.is-m .reel-frame { aspect-ratio: 4 / 5; }

/* --- разделы --------------------------------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(56px, 8vw, 104px) 0; overflow-x: hidden; overflow-x: clip; }
.section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(640px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 160, 72, .55), transparent);
}
.section::after {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  transform: rotate(45deg); background: var(--metal); box-shadow: 0 0 12px rgba(234, 188, 100, .7);
}
.head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.overline {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font: 700 12.5px/1.25 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--caption);
}
.overline::before, .overline::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--g500)); }
.overline::after { transform: scaleX(-1); }
.head h2 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 1.15rem + 2.3vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -.018em;
  text-wrap: balance;
}
.head .sub { margin: 16px auto 0; max-width: 46em; font-size: clamp(1rem, .96rem + .25vw, 1.12rem); }

/* панели и плитки */
.pane, .tile, .plan, .step, .flow li, .faq details {
  background: var(--glass), var(--pane);
  border: 1px solid var(--hair);
  box-shadow: inset 0 1px 0 rgba(255, 242, 206, .06), 0 20px 40px -26px rgba(0, 0, 0, .85);
}
.badge {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--g300);
  background: radial-gradient(circle at 50% 30%, rgba(234, 188, 100, .24), rgba(78, 52, 18, .38));
  border: 1px solid rgba(212, 160, 72, .5);
  box-shadow: inset 0 1px 0 rgba(255, 242, 206, .22), 0 0 18px -4px rgba(234, 188, 100, .42);
}
.badge .i { width: 21px; height: 21px; }
.tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; }
.tile b { display: block; margin: 1px 0 3px; }
.tile span:not(.badge) { display: block; font-size: 15px; line-height: 1.5; }

/* --- возможности ----------------------------------------------------------------------------------------------- */
.rail {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  width: fit-content; max-width: 100%; margin: 0 auto clamp(16px, 3vw, 32px); padding: 5px;
  border-radius: 16px; background: rgba(4, 3, 2, .62);
  border: 1px solid rgba(212, 160, 72, .14); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6);
}
.rail a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 11px;
  color: var(--parch); text-decoration: none; font-size: 15px; font-weight: 500;
}
.rail a .i { color: var(--g400); }
.rail a:hover {
  color: var(--g100);
  background: linear-gradient(180deg, rgba(234, 188, 100, .17), rgba(234, 188, 100, .05));
  box-shadow: inset 0 0 0 1px rgba(234, 188, 100, .3);
}
.feature { --glow: 234, 188, 100; display: grid; gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(32px, 4.5vw, 56px) 0; }
.tone-sun { --glow: 255, 206, 96; }
.tone-red { --glow: 242, 80, 86; }
.tone-soul { --glow: 92, 214, 236; }
.f-text { max-width: 540px; }
.kicker .i { width: 21px; height: 21px; color: var(--g400); }
.f-text h3 {
  margin: 14px 0;
  font-size: clamp(1.55rem, 1.05rem + 1.5vw, 2.15rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em;
  text-wrap: balance;
}
.f-text > p { font-size: 1.06rem; }
.ticks { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: .64em; width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--g500); box-shadow: 0 0 8px rgba(234, 188, 100, .45);
}
.f-media { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 490px; isolation: isolate; }
.f-media::before {
  content: ""; position: absolute; inset: -16% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow), .2), rgba(var(--glow), .05) 55%, transparent 76%);
}
.f-media .shot { width: 100%; filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .62)); }
.f-media .frag { border-radius: 16px; border: 1px solid rgba(212, 160, 72, .3); }
.f-media .toast { position: relative; width: min(88%, 430px); margin: -16px 0 0 auto; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .65)); }
.m-plate { max-width: 520px; }
.m-card { max-width: 560px; }
.m-farm { max-width: 430px; }
/* поиск кубов выключен в админке (SITE.cubes, site.js): картинки тусклые, над заголовком — плашка */
.feature.is-off .f-media { opacity: .42; filter: grayscale(.75); }
.f-text > .off-note {
  display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 18px; border-radius: 14px;
  font-size: 15px; line-height: 1.5; color: var(--g300);
  background: rgba(234, 188, 100, .07); border: 1px dashed rgba(212, 160, 72, .55);
}
.off-note .i { margin-top: 1px; color: var(--g400); }
.off-note b { display: block; margin-bottom: 2px; color: var(--g100); }

.more { margin-top: clamp(40px, 6vw, 72px); }
.more-title { text-align: center; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.65rem); }
.more-grid {
  display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

/* --- как это работает -------------------------------------------------------------------------------------------- */
.flow { display: grid; gap: 34px; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.flow li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 24px 18px 22px; border-radius: 16px; text-align: center;
}
.flow li b { margin-top: 8px; font-size: 1.05rem; }
.flow li span:not(.badge) { font-size: 15px; }
.flow li + li::before {                               /* стрелка от прошлого шага */
  content: ""; position: absolute; left: 50%; top: -29px; width: 24px; height: 24px; margin-left: -12px;
  transform: rotate(90deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4A048' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flow-us { border-color: rgba(234, 188, 100, .45) !important; background: radial-gradient(120% 120% at 50% 0%, rgba(234, 188, 100, .13), transparent 60%), var(--pane) !important; }
.flow-us .badge img { width: 30px; height: auto; }
.lists { display: grid; gap: 14px; max-width: 980px; margin: clamp(28px, 4vw, 44px) auto 0; }
.pane { padding: 22px 24px; border-radius: 16px; }
.pane h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.12rem; }
.pane h3 .i { width: 22px; height: 22px; color: var(--g400); }
.marks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.marks li { display: flex; gap: 12px; align-items: flex-start; }
.marks .i { margin-top: 2px; color: var(--emerald); }
.warn {
  display: grid; gap: 24px; align-items: center;
  max-width: 980px; margin: clamp(28px, 4vw, 44px) auto 0; padding: clamp(20px, 3vw, 32px);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242, 80, 86, .11), rgba(242, 80, 86, .02) 60%), var(--pane);
  border: 1px solid rgba(242, 80, 86, .4);
  box-shadow: 0 22px 46px -26px rgba(242, 80, 86, .45);
}
.warn h3 { display: flex; align-items: center; gap: 10px; color: #FFB4B2; font-size: 1.25rem; }
.warn h3 .i { width: 24px; height: 24px; color: var(--crimson); }
.warn p { margin-top: 10px; }
.warn img { justify-self: center; width: 100%; max-width: 400px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }

/* --- тарифы ------------------------------------------------------------------------------------------------------ */
.plans {
  display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px; margin: 0 auto; padding: 0; list-style: none;
}
.plan {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 132px; padding: 20px 12px; border-radius: 16px; text-align: center;
}
.plan-num {
  font: 600 clamp(2.5rem, 2.1rem + 1.4vw, 3.25rem)/1 var(--f-num); font-variant-numeric: tabular-nums;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .45));
}
.plan-unit { font: 700 12.5px/1.2 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--caption); }
.plan-price { margin-top: 10px; font: 600 1.15rem/1.25 var(--f-num); color: var(--ivory); }
.plan-price .cur { white-space: nowrap; }
.plan-off {                                           /* скидка: изумруд — «выгодно» */
  position: absolute; top: 10px; right: 10px;
  padding: 4px 8px 3px; border-radius: 999px;
  font: 700 13px/1 var(--f-num); letter-spacing: .02em; font-variant-numeric: tabular-nums;
  color: #05200F; background: linear-gradient(180deg, #A6F7CF 0%, var(--emerald) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 16px -4px rgba(84, 224, 154, .6);
}
.plan-life {
  grid-column: span 2;
  border-color: rgba(234, 188, 100, .5);
  background: radial-gradient(120% 140% at 50% 0%, rgba(234, 188, 100, .17), transparent 60%), var(--pane);
  box-shadow: inset 0 1px 0 rgba(255, 242, 206, .12), 0 0 36px -12px rgba(234, 188, 100, .45);
}
.buy { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; text-align: center; }
.cab-cta { flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.cab-note { margin: 0; color: var(--g300); font-size: 14.5px; opacity: .82; }
/* Raccoon+: звёзды в боте, картой через Tribute, «Меценат» — в ряд, на узком экране — столбиком (.cta .btn) */
.plus-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 11px 18px; border-radius: 22px; text-align: left;
  color: var(--g300); font-weight: 500;
  background: rgba(234, 188, 100, .06); border: 1px dashed rgba(212, 160, 72, .5);
}
.soon .i { color: var(--g400); }
.rules {
  display: grid; gap: 12px;
  max-width: 980px; margin: clamp(32px, 5vw, 52px) auto 0; padding: 0; list-style: none;
}

/* --- установка --------------------------------------------------------------------------------------------------- */
.dl { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.dl-cta { align-self: stretch; justify-content: center; margin-top: 0; }   /* «Скачать бесплатно» и «Получить ключ» */
.steps { display: grid; gap: 12px; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
.step { position: relative; padding: 24px 22px 22px; border-radius: 16px; }
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%;
  font: 600 19px/1 var(--f-num); color: var(--on-gold); background: var(--metal-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 18px -4px rgba(234, 188, 100, .6);
}
.step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.step p { font-size: 15.5px; }
.tip {
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 1100px; margin: 14px auto 0; padding: 16px 20px; border-radius: 14px;
  background: rgba(84, 224, 154, .05); border: 1px solid rgba(84, 224, 154, .3);
}
.tip .i { margin-top: 2px; color: var(--emerald); }

/* --- вопросы ----------------------------------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: 14px; transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(234, 188, 100, .42); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; border-radius: 14px; cursor: pointer; list-style: none;
  color: var(--ivory); font-weight: 600; font-size: 1.05rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--g100); }
.faq summary .i { color: var(--g400); transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; }

/* --- подвал ------------------------------------------------------------------------------------------------------ */
.foot { padding: 44px 0 52px; border-top: 1px solid rgba(212, 160, 72, .14); background: rgba(4, 3, 2, .4); }
.foot-in { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot-brand img { width: 72px; height: 50px; filter: drop-shadow(0 0 12px rgba(234, 188, 100, .3)); }
.legal { max-width: 40em; font-size: 14px; color: var(--dusk); }
.legal p + p { margin-top: 4px; }                    /* вторая строка: названия и картинки игры — NCSOFT */
.foot-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; font-size: 14px; color: var(--dusk); }
.support { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.support .i { width: 18px; height: 18px; }

/* --- ширина ------------------------------------------------------------------------------------------------------ */
@media (min-width: 640px) {
  .lists { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* первый экран — в два яруса: текст и кнопки по центру, под ними ролик во всю ширину */
  .hero-copy { max-width: 940px; margin: 0 auto; text-align: center; }
  .hero .lead, .hero-note { margin-left: auto; margin-right: auto; }
  .hero .cta, .hero .points { justify-content: center; }
}
@media (min-width: 760px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
  .flow li + li::before { left: -34px; top: 50%; margin: -12px 0 0; transform: none; }
}
@media (min-width: 860px) {
  .warn { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* три правила тарифов — в один ряд, без дыры */
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .feature.flip .f-media { order: -1; }
  .feature.flip .f-text { justify-self: end; }
  .f-media .toast { position: absolute; bottom: -30px; left: -56px; margin: 0; }
  .m-plate .toast { bottom: -62px; }
  .feature.flip .f-media .toast { left: auto; right: -56px; }
  .feature.tall { align-items: start; }
  .feature.tall .f-text { position: sticky; top: calc(var(--head) + 48px); padding-top: 40px; }
}
@media (min-width: 1240px) {                         /* меню разделов — когда влезает и по-русски */
  .nav { display: flex; }
  .top-actions { margin-left: 14px; }
}
@media (min-width: 1240px) and (max-width: 1299px) {  /* «Как это работает» по-русски — впритык: поля уже */
  .nav a { padding: 8px 9px; }
}
@media (max-width: 819px) {                          /* YouTube в шапке — с 820 px (уже кнопки уезжают за край); */
  .top-yt { display: none; }                          /* на узком экране он в подвале рядом с Telegram */
}
@media (max-width: 760px) {                          /* шапка: «Скачать» — значком, «Купить ключ» — коротко */
  .top-dl { width: 38px; padding: 0; }
  .top-buy .lbl-short { display: inline; }
  .top-dl span, .top-buy .lbl-long, .top-cab .cab-lbl {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .top-cab { padding: 0 10px; gap: 6px; }             /* тесно: значок и «скоро» */
}
@media (max-width: 600px) {
  .brand-tail { display: none; }                      /* как в программе: тесно — только RACCOON */
}
@media (max-width: 560px) {
  :root { --head: 58px; }
  .cta .btn { flex: 1 1 100%; }
  .cta .dl-wrap { flex: 1 1 100%; align-items: stretch; }   /* кнопка во всю ширину, подпись — под ней */
  .cta .dl-wrap .btn { flex: none; }
  .tile { padding: 16px; }
}
@media (max-width: 520px) {
  .top-dl { display: none; }                          /* на телефоне скачивать нечего: кнопка есть на первом экране */
  .top-in { gap: 8px; }
  .top-actions { gap: 6px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 28px; }
  .brand-word { font-size: 18px; letter-spacing: .11em; }
}
@media (max-width: 460px) {
  /* тесно: значок канала рядом с «Кабинет · скоро» на 381–406 px не помещается — кнопки заезжают на поле страницы и
     за край экрана (со значком «Поддержки» этапа 3 — на 431–460 px); канал на телефоне — в подвале и кнопкой раздела
     «Кабинет» */
  .top-tg { display: none; }
}
@media (max-width: 380px) {
  .top-cab { display: none; }                         /* совсем тесно: кабинет «скоро» не помещается */
}
@media (max-width: 430px) {                          /* есть «Поддержка» — место нужно ей, «скоро» не кнопка */
  .top-sup:not([hidden]) ~ span.top-cab { display: none; }
}
@media (max-width: 420px) {
  .brand-word { font-size: 17px; }
  .lang button { min-width: 30px; padding: 7px 7px 6px; }
  .top-buy { padding: 0 12px; }
  .top-buy .i { display: none; }
  .btn-lg { padding: 0 18px; }
}
@media (max-width: 350px) {
  .brand { gap: 6px; }
  .brand img { width: 34px; height: 24px; }
  .brand-word { font-size: 14.5px; letter-spacing: .07em; }
  .lang button { min-width: 28px; padding: 7px 6px 6px; }
  .top-buy { padding: 0 10px; }
}

/* --- движение, контраст ------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq details, .faq summary .i { transition: none; }
}
@media (forced-colors: active) {
  .gold, .brand-word, .plan-num { color: CanvasText; background: none; }
  .plan-off { border: 1px solid CanvasText; }
  .btn, .lang button[aria-pressed="true"] { border: 1px solid ButtonText; }
}

/* --- живые петли окна и кабинета (видео вместо картинок; прозрачности у видео нет — скругление и тень здесь) ------ */
.f-media video.shot { display: block; width: 100%; height: auto; border-radius: 14px; background: #0E0C0B; filter: none;
  box-shadow: 0 26px 44px rgba(0, 0, 0, .62); }
.f-media video.shot.cab { border: 1px solid rgba(212, 160, 72, .3); }
/* --- Raccoon+ ------------------------------------------------------------------------------------------------------ */
.plus-also { max-width: 820px; margin: 22px auto 0; text-align: center; color: var(--g300); font-size: 15.5px; line-height: 1.55; }
#plus .plans { margin-top: clamp(28px, 4vw, 40px); }
.plan-patron { border-color: rgba(234, 188, 100, .5);
  background: radial-gradient(120% 140% at 50% 0%, rgba(234, 188, 100, .17), transparent 60%), var(--pane); }
.plan-patron .plan-price { font-size: 1rem; max-width: 30ch; }
