/* =========================================================================
   ChatGPT Plus — центр активации
   Светлый минимализм в духе Apple / App Store. Синий акцент, чек как «оформление».
   ========================================================================= */

/* ── ШРИФТ «в стиле Apple» ────────────────────────────────────────────────
   На Apple-устройствах используется системный San Francisco (-apple-system).
   На остальных (Windows/Android/Linux) — самохостинг Inter, максимально близкий
   к SF Pro, с полной кириллицей. Файлы: public/assets/fonts/ (Inter, OFL).
   Один вариативный файл на подмножество символов, грузится только нужное.       */
@font-face {
  font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/fonts/inter-cyrillic-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fbfbfd;
  --bg-soft: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --hair: #d2d2d7;
  --hair-soft: #e8e8ed;

  --blue: #0071e3;
  --blue-press: #0060c8;
  --blue-soft: #eef5ff;

  --green: #1a9c6e;
  --green-ink: #0f7a54;
  --green-soft: #e7f6ef;

  --amber: #b25000;
  --amber-soft: #fdf1e6;
  --red: #c4362f;
  --red-soft: #fdeeed;

  --radius-card: 22px;
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 34px -18px rgba(20, 30, 55, 0.28);
  --shadow-pop: 0 18px 50px -20px rgba(20, 30, 55, 0.4);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter Variable", "Inter",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", "Roboto Mono",
    Menlo, Consolas, monospace;

  --wrap: 680px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.mono { font-family: var(--mono); letter-spacing: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.5); outline-offset: 2px; border-radius: 6px; }

/* ── ПЛИТКА-ИКОНКА (в духе иконки приложения App Store) ─────────────────── */
.app-tile {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: radial-gradient(120% 120% at 30% 20%, #2b2b30 0%, #050506 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 16px -8px rgba(0, 0, 0, 0.5);
  flex: none;
}
.app-tile .knot { width: 32px; height: 32px; fill: #fff; }
.app-tile--sm { width: 34px; height: 34px; border-radius: 9px; }
.app-tile--sm .knot { width: 21px; height: 21px; }

/* ── ШАПКА ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
/* Название магазина в шапке (без логотипа): крупный текст + строка «от <ник>» */
.brand { display: inline-flex; flex-direction: column; justify-content: center; gap: 1px; color: var(--ink); line-height: 1.06; }
.brand:hover { text-decoration: none; }
.brand-title { font-weight: 700; font-size: 22px; letter-spacing: -0.03em; white-space: nowrap; }
.brand-by { font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.brand-by b { color: var(--ink); font-weight: 650; letter-spacing: -0.01em; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.stock-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--green-ink);
  background: var(--green-soft); padding: 6px 11px; border-radius: 999px;
  white-space: nowrap;
}
.stock-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(26, 156, 110, 0.5); animation: pulse 2.4s infinite;
}
.stock-pill.is-out { color: var(--amber); background: var(--amber-soft); }
.stock-pill.is-out::before { background: var(--amber); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26,156,110,.5);} 70%{box-shadow:0 0 0 6px rgba(26,156,110,0);} 100%{box-shadow:0 0 0 0 rgba(26,156,110,0);} }

/* Кнопка/логотип FunPay */
.funpay-logo svg { height: 20px; width: auto; display: block; }
.fp-fun { fill: #1b2a4a; font-family: var(--font); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.fp-pay { fill: #0071e3; font-family: var(--font); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }

.funpay-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--hair);
  padding: 7px 13px 7px 12px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 14px;
  transition: border-color .15s, box-shadow .15s, transform .06s;
}
.funpay-btn:hover { text-decoration: none; border-color: #b9b9c0; box-shadow: 0 4px 14px -8px rgba(0,0,0,.35); }
.funpay-btn:active { transform: translateY(1px); }
.funpay-buy-label {
  padding-left: 9px; border-left: 1px solid var(--hair-soft); color: var(--blue);
}

/* ── ГЕРОЙ ──────────────────────────────────────────────────────────────── */
.main { padding-top: 40px; padding-bottom: 64px; }
.hero { text-align: center; padding: 8px 0 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 550; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--hair-soft);
  padding: 6px 12px; border-radius: 999px;
}
.chip-i { width: 14px; height: 14px; fill: var(--blue); flex: none; }
.hero-title {
  font-size: clamp(32px, 6.4vw, 52px); line-height: 1.05; font-weight: 700;
  letter-spacing: -0.035em; margin: 0 0 16px;
}
.grad {
  background: linear-gradient(105deg, #0071e3 0%, #21a179 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 30em; margin: 0 auto; font-size: clamp(16px, 2.2vw, 18px);
  color: var(--muted); line-height: 1.5; text-wrap: balance;
}

/* ── НАЛИЧИЕ ПО ТАРИФАМ («ChatGPT Go — 48 шт» и т.д.) ─────────────────────── */
.stock-strip { margin-top: 8px; }
.stock-strip-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 10px; }
.stock-strip-title { font-size: 14px; font-weight: 650; color: var(--ink); }
.stock-strip-note { font-size: 12px; color: var(--muted); }
.stock-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stock-tile {
  background: var(--surface); border: 1px solid var(--hair-soft); border-radius: 14px;
  padding: 13px 14px; display: flex; flex-direction: column; gap: 7px; min-width: 0;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.st-name {
  max-width: 100%;
  font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-check {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); display: none; place-items: center;
}
.st-check svg { width: 11px; height: 11px; fill: #fff; }
.stock-tile.is-active {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
  background: linear-gradient(180deg, #fff, #f4f8ff);
}
.stock-tile.is-active .st-name { color: var(--blue); }
.stock-tile.is-active .st-check { display: grid; }
.st-count {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
}
.st-count .st-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.st-in { color: var(--green-ink); }
.st-in .st-dot { background: var(--green); box-shadow: 0 0 0 0 rgba(26, 156, 110, 0.5); animation: pulse 2.4s infinite; }
.st-out { color: #9a9aa0; }
.st-out .st-dot { background: #cacad0; }
@media (max-width: 560px) { .stock-tiles { grid-template-columns: repeat(2, 1fr); } }

/* ── КАРТА ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--hair-soft);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  padding: 20px; margin-top: 6px;
  animation: rise .5s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* строка «подписки» App Store */
.sub-row { display: flex; align-items: center; gap: 14px; padding: 4px 4px 18px; }
.sub-meta { flex: 1; min-width: 0; }
.sub-name { font-weight: 640; font-size: 18px; letter-spacing: -0.02em; }
.sub-desc { color: var(--muted); font-size: 13.5px; }

/* ── СЕГМЕНТИРОВАННЫЙ ПЕРЕКЛЮЧАТЕЛЬ (iOS) ──────────────────────────────── */
.segmented {
  position: relative; display: flex; gap: 0;
  background: var(--bg-soft); border-radius: 12px; padding: 3px; margin-bottom: 20px;
}
.seg {
  position: relative; z-index: 1; flex: 1 1 0; min-width: 0;
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 9px 6px; border-radius: 9px; letter-spacing: -0.01em;
  transition: color .2s; white-space: nowrap;
}
.seg.is-active { color: var(--ink); }
.seg:hover:not(.is-active) { color: var(--ink); }
.seg-thumb {
  position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px;
  width: calc((100% - 6px) / 3);
  background: var(--surface); border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transform: translateX(calc(var(--seg-i, 0) * 100%));
  transition: transform .28s cubic-bezier(.3, 1.2, .4, 1);
}

/* ── ПАНЕЛИ / ПОЛЯ ──────────────────────────────────────────────────────── */
.panel[hidden] { display: none; }
.field { margin-bottom: 16px; }
.field-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px;
}
.step {
  display: inline-grid; place-items: center; width: 21px; height: 21px; flex: none;
  background: var(--ink); color: #fff; border-radius: 50%; font-size: 12px; font-weight: 700;
}
.input {
  width: 100%; background: var(--surface); color: var(--ink);
  border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 13px 14px; font-size: 15px; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #a1a1a8; }
.input:hover { border-color: #b9b9c0; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14); }
.input.is-bad { border-color: var(--red); box-shadow: 0 0 0 4px rgba(196, 54, 47, 0.12); }
.textarea { resize: vertical; min-height: 92px; line-height: 1.45; font-size: 13px; }
.field-hint { display: block; margin-top: 7px; font-size: 12.5px; color: var(--muted); }

/* аккордеон «как получить» */
.how { margin-top: 10px; }
.how > summary {
  cursor: pointer; list-style: none; color: var(--blue); font-size: 13.5px; font-weight: 600;
  padding: 4px 0;
}
.how > summary::-webkit-details-marker { display: none; }
.how[open] > summary { color: var(--ink); }
.how-steps {
  margin: 8px 0 2px; padding: 14px 16px 14px 34px; background: var(--bg-soft);
  border-radius: var(--radius); font-size: 13.5px; color: var(--ink-2); line-height: 1.6;
}
.how-steps li { margin: 4px 0; }
.how-steps code { font-family: var(--mono); font-size: 12.5px; background: #fff; padding: 1px 5px; border-radius: 5px; border: 1px solid var(--hair-soft); }

/* статус проверки Session JSON (появляется после вставки) */
.session-status {
  margin-top: 9px; font-size: 12.5px; line-height: 1.45;
  display: flex; align-items: flex-start; gap: 7px;
}
.session-status .ss-i { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: currentColor; }
.session-status.ok { color: var(--green-ink); }
.session-status.bad { color: var(--red); }
.session-status.warn { color: var(--amber); }
.session-status b { font-weight: 650; }

.captcha-slot { margin: 4px 0 16px; }
.captcha-slot[hidden] { display: none; }

/* ── КНОПКИ ─────────────────────────────────────────────────────────────── */
.btn-primary, .btn-secondary {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--radius); cursor: pointer;
  font-family: inherit; font-weight: 650; letter-spacing: -0.01em;
  transition: background .15s, transform .06s, box-shadow .15s, opacity .15s;
}
.btn-primary {
  background: var(--blue); color: #fff; font-size: 16.5px; padding: 15px 18px;
  box-shadow: 0 8px 20px -10px rgba(0, 113, 227, 0.7);
}
.btn-primary:hover { background: var(--blue-press); }
.btn-primary:active { transform: translateY(1px); }
.btn-arrow { font-size: 20px; line-height: 0; transform: translateY(-1px); font-weight: 400; }
.btn-secondary {
  background: var(--bg-soft); color: var(--ink); font-size: 15px; padding: 13px 18px;
  border: 1px solid var(--hair);
}
.btn-secondary:hover { background: #ececf0; }
.btn-secondary:active { transform: translateY(1px); }
button:disabled { opacity: 0.55; cursor: default; pointer-events: none; }

/* ── РЕЗУЛЬТАТ ──────────────────────────────────────────────────────────── */
.result { margin-top: 20px; }
.result[hidden] { display: none; }
.result-inner {
  border-top: 1px solid var(--hair-soft); padding-top: 20px;
  animation: fade .3s ease both;
}
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* прогресс */
.progress { display: flex; align-items: center; gap: 14px; }
.spinner {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  border: 3px solid var(--hair-soft); border-top-color: var(--blue);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress-text b { display: block; font-size: 15px; }
.progress-text span { font-size: 13px; color: var(--muted); }
.progress-bar { height: 4px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; margin-top: 16px; }
.progress-bar i { display: block; height: 100%; width: 30%; background: var(--blue); border-radius: 999px; animation: slide 1.5s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }

/* ЧЕК (успех) — в стиле квитанции App Store */
.receipt { text-align: center; }
.receipt-seal {
  width: 64px; height: 64px; border-radius: 50%; margin: 2px auto 14px;
  background: var(--green-soft); display: grid; place-items: center;
}
.receipt-seal svg { width: 34px; height: 34px; }
.receipt-seal path {
  fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 34; stroke-dashoffset: 34; animation: draw .55s .12s cubic-bezier(.6,.2,.1,1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.receipt h3 { margin: 0 0 18px; font-size: 21px; letter-spacing: -0.02em; }
.receipt-body {
  text-align: left; border: 1px dashed var(--hair); border-radius: var(--radius);
  padding: 4px 16px; background: linear-gradient(180deg, #fff, #fcfcfe);
}
.rrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; }
.rrow + .rrow { border-top: 1px dashed var(--hair-soft); }
.rrow > span { color: var(--muted); font-size: 13.5px; }
.rrow > b { font-weight: 600; font-size: 14px; text-align: right; word-break: break-all; }
.rrow .copy {
  appearance: none; border: 0; background: var(--bg-soft); color: var(--blue);
  font: 600 12px var(--font); padding: 3px 8px; border-radius: 7px; cursor: pointer; margin-left: 8px;
}
.rrow .copy:hover { background: #e9e9ee; }
.receipt-note {
  margin-top: 16px; font-size: 12.5px; color: var(--ink-2); background: var(--blue-soft);
  border-radius: var(--radius); padding: 12px 14px; text-align: left; line-height: 1.55;
}
.receipt-actions { margin-top: 18px; }

/* статусные плашки (проверка кода / аккаунта / ошибка) */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.5;
}
.note .note-i { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.note .note-i svg { width: 13px; height: 13px; }
.note b { display: block; margin-bottom: 2px; }
.note-ok { background: var(--green-soft); color: var(--green-ink); }
.note-ok .note-i { background: var(--green); } .note-ok .note-i svg { fill: #fff; }
.note-warn { background: var(--amber-soft); color: var(--amber); }
.note-warn .note-i { background: var(--amber); } .note-warn .note-i svg { fill: #fff; }
.note-err { background: var(--red-soft); color: var(--red); }
.note-err .note-i { background: var(--red); } .note-err .note-i svg { fill: #fff; }
.note .fp { color: inherit; font-weight: 700; text-decoration: underline; }

.detail-grid { margin-top: 14px; }
.detail-grid .rrow > b { color: var(--ink); }

/* ── МОДАЛЬНОЕ ПРЕДУПРЕЖДЕНИЕ ────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(18, 24, 40, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: mfade 0.18s ease;
}
@keyframes mfade { from { opacity: 0; } to { opacity: 1; } }
.modal-sheet {
  background: var(--surface); border-radius: 20px; max-width: 440px; width: 100%;
  padding: 26px 24px 22px; box-shadow: var(--shadow-pop); text-align: center;
  animation: mrise 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes mrise { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-badge {
  width: 56px; height: 56px; border-radius: 50%; background: var(--amber-soft); color: var(--amber);
  display: grid; place-items: center; margin: 0 auto 14px;
}
.modal-badge svg { width: 30px; height: 30px; fill: currentColor; }
.modal-title { font-size: 19px; letter-spacing: -0.02em; margin: 0 0 12px; }
.modal-text { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; text-align: left; }
.modal-text p { margin: 0 0 10px; }
.modal-text p:last-child { margin-bottom: 0; }
.modal-text b { color: var(--ink); font-weight: 650; }
.modal-text .hl { background: var(--amber-soft); color: var(--amber); padding: 1px 5px; border-radius: 5px; font-weight: 650; }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions button { flex: 1; }
@media (prefers-reduced-motion: reduce) { .modal, .modal-sheet { animation: none; } }

/* ── ВИДЕОИНСТРУКЦИЯ ─────────────────────────────────────────────────────── */
.video-section { margin-top: 46px; text-align: center; }
.video-title { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
.video-sub { color: var(--muted); font-size: 14.5px; margin: 0 auto 18px; max-width: 34em; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden; background: #0b1020;
  border: 1px solid var(--hair-soft); box-shadow: var(--shadow-card);
}
.video-frame video, .video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
.video-frame video { object-fit: contain; background: #0b1020; }
.video-facade {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer;
  background: #0b1020 center / cover no-repeat; display: grid; place-items: center;
}
.video-play {
  width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, 0.94);
  display: grid; place-items: center; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s;
}
.video-facade:hover .video-play { transform: scale(1.07); }
.video-play svg { width: 30px; height: 30px; fill: var(--blue); margin-left: 4px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { margin-top: 46px; }
.faq-title { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 14px; text-align: center; }
.faq-list { background: var(--surface); border: 1px solid var(--hair-soft); border-radius: var(--radius-card); overflow: hidden; }
.faq-item { border-top: 1px solid var(--hair-soft); }
.faq-item:first-child { border-top: 0; }
.faq-item > summary {
  cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1;
  transition: transform .2s; flex: none;
}
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item > p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.faq-item code { font-family: var(--mono); font-size: 12.5px; background: var(--bg-soft); padding: 1px 5px; border-radius: 5px; }

/* ── ПОДВАЛ ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--hair-soft); background: var(--surface); padding: 34px 0 40px; margin-top: 20px; }
.footer-inner { text-align: center; }
.footer-funpay {
  display: inline-flex; align-items: center; gap: 13px; color: var(--ink);
  padding: 12px 18px; border: 1px solid var(--hair-soft); border-radius: 16px; background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.footer-funpay:hover { text-decoration: none; border-color: #c9c9d0; box-shadow: 0 8px 22px -14px rgba(0,0,0,.35); }
.funpay-logo--lg svg { height: 26px; }
.footer-funpay-meta { text-align: left; display: flex; flex-direction: column; line-height: 1.3; }
.footer-funpay-meta b { font-size: 15px; }
.footer-funpay-meta span { font-size: 12.5px; color: var(--muted); }
.footer-note { margin: 18px 0 0; color: var(--ink-2); font-size: 14px; }
.footer-fine { margin: 14px auto 0; max-width: 40em; color: #9a9aa0; font-size: 11.5px; line-height: 1.55; }

/* ── АДАПТИВ ────────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .main { padding-top: 26px; }
  .brand-title { font-size: 18px; }
  .brand-by { font-size: 12px; }
  .stock-pill { display: none; } /* на мобильном наличие показывают плитки ниже */
  .funpay-buy-label { display: none; }
  .funpay-btn { padding: 7px 12px; }
  .card { padding: 16px; border-radius: 18px; }
  .seg { font-size: 12.5px; padding: 9px 4px; }
  .hero-title { font-size: clamp(28px, 8vw, 40px); }
}

/* ── ДОСТУПНОСТЬ: меньше движения ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .receipt-seal path { stroke-dashoffset: 0; }
}
