/* happ.makeup «Шкатулка» — тёмная тема: баклажановый фон, один тёплый акцент (шафрановое золото).
   Заголовки Jost, текст Mulish. Сначала телефон, потом широкие экраны.
   Классы plan*, btn*, modal__*, co-*, pv-fee, plans-grid, container, pending-order читают движок и hm-pay.js. */
:root {
  color-scheme: dark;
  --sh-bg: #120b15;
  --sh-bg-2: #190f1d;
  --sh-card: #1e1424;
  --sh-card-2: #271b2e;
  --sh-line: #35263d;
  --sh-line-2: #4a3653;
  --sh-text: #f6edf3;
  --sh-text-2: #cbb9c8;
  --sh-text-3: #9a879e;
  --sh-gold: #f4b03e;
  --sh-gold-hi: #ffd47e;
  --sh-gold-lo: #df8a1d;
  --sh-gold-ink: #1d1106;
  --sh-glow: rgba(244, 176, 62, 0.22);
  --sh-bad: #ff8a7a;
  --sh-r: 14px;
  --sh-r-lg: 22px;
  --sh-max: 72rem;
  --sh-read: 46rem;
  --sh-display: "Jost", "Futura", "Trebuchet MS", system-ui, sans-serif;
  --sh-body: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sh-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  /* для блоков, которые вставляет движок (access-trust и т. п.) */
  --line: var(--sh-line);
  --surface: var(--sh-card);
  --brand: var(--sh-gold);
  --accent: var(--sh-gold);
  --paper: var(--sh-bg-2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background:
    radial-gradient(60rem 30rem at 85% -8rem, rgba(244, 176, 62, 0.10), transparent 70%),
    radial-gradient(50rem 28rem at -10% 10rem, rgba(140, 60, 150, 0.16), transparent 70%),
    var(--sh-bg);
  background-repeat: no-repeat;
  color: var(--sh-text);
  font: 400 17px/1.65 var(--sh-body);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--sh-gold-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--sh-gold); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--sh-display); line-height: 1.12; letter-spacing: -0.015em; color: #fff; }
h1 { font-weight: 800; font-size: clamp(34px, 8vw, 60px); margin: 14px 0 12px; }
h2 { font-weight: 700; font-size: clamp(26px, 5.4vw, 40px); margin: 0 0 12px; }
h3 { font-weight: 600; font-size: 21px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 1.25em; }
li { margin: 0 0 8px; }
b, strong { color: #fff; }
code { font-family: var(--sh-mono); font-size: 0.86em; background: var(--sh-card-2); border: 1px solid var(--sh-line); border-radius: 7px; padding: 1px 6px; overflow-wrap: anywhere; }

.sh-wrap, .container { width: 100%; max-width: var(--sh-max); margin: 0 auto; padding: 0 16px; }
.sh-skip { position: absolute; left: -9999px; top: 0; }
.sh-skip:focus { left: 12px; top: 10px; z-index: 60; background: var(--sh-card); padding: 8px 12px; border: 2px solid var(--sh-gold); }
.sh-muted { color: var(--sh-text-3); font-size: 15px; }

/* ---- полоска и шапка -------------------------------------------------------- */
.sh-ann { background: linear-gradient(90deg, #2a1830, #3a2236 50%, #2a1830); color: var(--sh-gold-hi); font-size: 13px; text-align: center; }
.sh-ann p { margin: 0; padding: 7px 12px; letter-spacing: 0.02em; }
.sh-head { position: relative; z-index: 40; background: rgba(18, 11, 21, 0.86); border-bottom: 1px solid var(--sh-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sh-head__in { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.sh-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.sh-logo svg { width: 38px; height: 38px; flex: none; }
.sh-logo__name { display: block; font: 700 21px/1 var(--sh-display); letter-spacing: -0.01em; }
.sh-logo__sub { display: block; margin-top: 3px; font-size: 12px; line-height: 1; color: var(--sh-text-3); letter-spacing: 0.04em; }
.sh-nav { display: none; gap: 4px; }
.sh-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 999px; color: var(--sh-text-2); font-size: 15px; text-decoration: none; }
.sh-nav a:hover { color: #fff; background: var(--sh-card-2); }
.sh-nav a[aria-current="page"] { color: #fff; background: var(--sh-card-2); }
.sh-buy { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: linear-gradient(135deg, var(--sh-gold-hi), var(--sh-gold) 55%, var(--sh-gold-lo)); color: var(--sh-gold-ink); font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 22px var(--sh-glow); }
.sh-buy:hover { color: var(--sh-gold-ink); filter: brightness(1.06); }

/* ---- кнопки сайта ------------------------------------------------------------- */
.sh-btn, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  font: 800 16px/1.2 var(--sh-body); text-decoration: none; cursor: pointer; text-align: center;
  border: 1px solid var(--sh-line-2); background: rgba(255, 255, 255, 0.03); color: #fff;
}
.sh-btn:hover, .btn:hover { border-color: var(--sh-gold); color: #fff; }
.sh-btn--gold, .btn--primary {
  border-color: transparent; color: var(--sh-gold-ink);
  background: linear-gradient(135deg, var(--sh-gold-hi), var(--sh-gold) 55%, var(--sh-gold-lo));
  box-shadow: 0 10px 30px var(--sh-glow);
}
.sh-btn--gold:hover, .btn--primary:hover { color: var(--sh-gold-ink); border-color: transparent; filter: brightness(1.06); }
.sh-btn--wide, .btn--block { display: flex; width: 100%; }
.btn--ghost { background: rgba(255, 255, 255, 0.03); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---- первый экран ------------------------------------------------------------ */
.sh-hero { padding: 30px 0 34px; }
.sh-hero__grid { display: grid; gap: 30px; align-items: center; }
.sh-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--sh-line-2); background: rgba(244, 176, 62, 0.07); color: var(--sh-gold-hi); font-size: 14px; font-weight: 700; }
.sh-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sh-gold); box-shadow: 0 0 10px var(--sh-gold); }
.sh-gold { color: var(--sh-gold); }
.unofficial { margin: 0 0 14px; font-size: 13.5px; line-height: 1.45; color: var(--sh-text-3); max-width: 40rem; }
.sh-lead { font-size: 18px; color: var(--sh-text-2); max-width: 38rem; margin-bottom: 22px; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-actions .sh-btn { flex: 1 1 220px; }
.sh-ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 18px 0 0; padding: 0; font-size: 14.5px; color: var(--sh-text-2); }
.sh-ticks li { margin: 0; padding-left: 22px; position: relative; }
.sh-ticks li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 5px; border-left: 2px solid var(--sh-gold); border-bottom: 2px solid var(--sh-gold); transform: rotate(-45deg); }
.sh-upd { margin: 14px 0 0; font-size: 13px; color: var(--sh-text-3); }

/* ящички шкатулки — иллюстрация шагов на главной */
.sh-drawers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.sh-drawers li { margin: 0; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 16px 18px 16px 16px; border-radius: var(--sh-r-lg); border: 1px solid var(--sh-line); background: linear-gradient(180deg, var(--sh-card-2), var(--sh-card)); }
.sh-drawers li:nth-child(2) { margin-left: 18px; }
.sh-drawers li:nth-child(3) { margin-left: 36px; }
.sh-drawers li:nth-child(4) { margin-left: 18px; border-color: var(--sh-gold); box-shadow: 0 0 0 1px rgba(244, 176, 62, 0.35), 0 18px 40px rgba(244, 176, 62, 0.14); }
.sh-drawers i { grid-row: span 2; width: 38px; height: 38px; border-radius: 12px; background: #120b15; border: 1px solid var(--sh-line-2); display: grid; place-items: center; font: 700 15px/1 var(--sh-display); font-style: normal; color: var(--sh-gold); }
.sh-drawers b { font: 600 17px/1.2 var(--sh-display); }
.sh-drawers span { font-size: 14px; color: var(--sh-text-3); line-height: 1.35; }
.sh-drawers li::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 6px; margin-top: -3px; border-radius: 4px; background: var(--sh-line-2); }
.sh-drawers li:nth-child(4)::after { background: var(--sh-gold); }

/* ---- секции -------------------------------------------------------------------- */
.sh-sec { padding: 34px 0; }
.sh-sec--alt { background: rgba(255, 255, 255, 0.018); border-top: 1px solid var(--sh-line); border-bottom: 1px solid var(--sh-line); }
.sh-sec__head { max-width: 44rem; margin-bottom: 18px; }
.sh-sec__head p { color: var(--sh-text-2); margin: 0; }
.sh-center { text-align: center; margin-left: auto; margin-right: auto; }
.sh-read { max-width: var(--sh-read); }
.sh-read h2 { margin-top: 34px; }
.sh-read h2:first-child { margin-top: 0; }
.sh-read p, .sh-read li { color: var(--sh-text-2); }
.sh-read li::marker { color: var(--sh-gold); }

.sh-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sh-chips li { margin: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--sh-line-2); background: var(--sh-card); font-weight: 700; font-size: 15px; }
.sh-chips li small { display: block; font-weight: 400; color: var(--sh-text-3); font-size: 12.5px; line-height: 1.3; }

.sh-answer { margin: 0 0 18px; padding: 16px 18px; border-radius: var(--sh-r); border: 1px solid var(--sh-line-2); border-left: 4px solid var(--sh-gold); background: var(--sh-card); color: var(--sh-text) !important; }
.sh-note { padding: 14px 16px; border-radius: var(--sh-r); background: rgba(244, 176, 62, 0.08); border: 1px dashed rgba(244, 176, 62, 0.45); color: var(--sh-text) !important; font-size: 16px; }

/* таблицы */
.sh-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 18px; border: 1px solid var(--sh-line); border-radius: var(--sh-r); }
.sh-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.sh-table th, .sh-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--sh-line); vertical-align: top; color: var(--sh-text-2); }
.sh-table tr:last-child td { border-bottom: 0; }
.sh-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sh-text-3); background: var(--sh-card); }
.sh-table td b { color: #fff; }

/* нумерованные шаги */
.sh-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: 12px; }
.sh-steps > li { counter-increment: st; margin: 0; position: relative; padding: 18px 18px 16px 70px; border-radius: var(--sh-r-lg); border: 1px solid var(--sh-line); background: var(--sh-card); color: var(--sh-text-2); }
.sh-steps > li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(244, 176, 62, 0.1); border: 1px solid rgba(244, 176, 62, 0.4); color: var(--sh-gold); font: 700 15px/1 var(--sh-display); }
.sh-steps > li b { display: block; font: 600 18px/1.3 var(--sh-display); margin-bottom: 4px; }

/* карточки возможностей */
.sh-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sh-feats > li { margin: 0; padding: 20px 20px 18px; border-radius: var(--sh-r-lg); border: 1px solid var(--sh-line); background: var(--sh-card); }
.sh-feats svg { width: 34px; height: 34px; color: var(--sh-gold); margin-bottom: 10px; }
.sh-feats p { margin: 0; color: var(--sh-text-2); font-size: 16px; }

/* тарифы на главной и мини-блок */
.sh-tiers { display: grid; gap: 14px; margin-top: 8px; }
.sh-tier { position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: var(--sh-r-lg); border: 1px solid var(--sh-line); background: linear-gradient(180deg, var(--sh-card-2), var(--sh-card)); }
.sh-tier--main { border-color: var(--sh-gold); box-shadow: 0 0 0 1px rgba(244, 176, 62, 0.4), 0 22px 60px rgba(244, 176, 62, 0.16); }
.sh-tier__tag { position: absolute; top: -11px; right: 18px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; background: var(--sh-card-2); border: 1px solid var(--sh-line-2); color: var(--sh-text-2); }
.sh-tier--main .sh-tier__tag { background: var(--sh-gold); border-color: var(--sh-gold); color: var(--sh-gold-ink); }
.sh-tier__name { font: 600 19px/1.2 var(--sh-display); }
.sh-tier__price { font: 800 40px/1.05 var(--sh-display); margin: 10px 0 2px; color: #fff; }
.sh-tier__per { color: var(--sh-gold); font-weight: 700; font-size: 15px; margin: 0 0 12px; }
.sh-tier ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 15px; color: var(--sh-text-2); }
.sh-tier li { position: relative; padding-left: 22px; margin: 0 0 6px; }
.sh-tier li::before, .plan li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 10px; height: 5px; border-left: 2px solid var(--sh-gold); border-bottom: 2px solid var(--sh-gold); transform: rotate(-45deg); }
.sh-tier .sh-btn { margin-top: auto; }
.sh-paynote { margin: 16px auto 0; max-width: 40rem; padding: 14px 18px; border-radius: var(--sh-r); border: 1px solid var(--sh-line); background: var(--sh-card); font-size: 15px; color: var(--sh-text-2); }
.sh-paynote p { margin: 0; }
.sh-paynote p + p { margin-top: 6px; }
.sh-refund { font-size: 14px; color: var(--sh-text-3); text-align: center; margin: 10px 0 0; }

.sh-mini { margin: 26px 0; padding: 20px 18px; border-radius: var(--sh-r-lg); border: 1px solid var(--sh-line-2); background: linear-gradient(180deg, rgba(244, 176, 62, 0.07), var(--sh-card) 60%); }
.sh-mini__title { font: 700 22px/1.2 var(--sh-display); margin: 0 0 4px; color: #fff; }
.sh-mini__sub { margin: 0 0 14px; color: var(--sh-text-2) !important; font-size: 15.5px; }
.sh-mini__rows { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-mini__rows li { margin: 0; }
.sh-mini__rows a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--sh-line); background: rgba(0, 0, 0, 0.18); color: #fff; text-decoration: none; }
.sh-mini__rows a:hover { border-color: var(--sh-gold); }
.sh-mini__rows span { font-size: 13.5px; color: var(--sh-text-3); }
.sh-mini__rows b { font: 700 21px/1.2 var(--sh-display); }
.sh-mini__rows small { font-size: 13px; color: var(--sh-gold); font-weight: 700; }

/* устройства */
.sh-dev { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-dev li { margin: 0; }
.sh-dev a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--sh-r); border: 1px solid var(--sh-line); background: var(--sh-card); color: #fff; text-decoration: none; }
.sh-dev a:hover { border-color: var(--sh-gold); }
.sh-dev svg { width: 40px; height: 40px; padding: 8px; border-radius: 11px; background: rgba(244, 176, 62, 0.1); color: var(--sh-gold); }
.sh-dev b { display: block; font: 600 17px/1.3 var(--sh-display); }
.sh-dev small { display: block; color: var(--sh-text-3); font-size: 14px; line-height: 1.4; }
.sh-dev em { font-style: normal; color: var(--sh-gold); font-size: 20px; }
.sh-dev .is-mine a { border-color: var(--sh-gold); background: linear-gradient(90deg, rgba(244, 176, 62, 0.12), var(--sh-card) 70%); }
.sh-dev__hint { min-height: 1.4em; margin: 0 0 12px; color: var(--sh-gold); font-size: 15px; }

/* вопросы */
.sh-faq { max-width: 50rem; }
.sh-faq details { border: 1px solid var(--sh-line); border-radius: var(--sh-r); background: var(--sh-card); margin-bottom: 10px; }
.sh-faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 52px 16px 18px; font: 600 17.5px/1.35 var(--sh-display); color: #fff; }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--sh-gold); border-bottom: 2px solid var(--sh-gold); transform: rotate(45deg); transition: transform 0.2s; }
.sh-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.sh-faq details p { margin: 0; padding: 0 18px 16px; color: var(--sh-text-2); }

/* финальный призыв */
.sh-final { margin: 18px 0 10px; padding: 30px 20px; border-radius: 26px; text-align: center; border: 1px solid rgba(244, 176, 62, 0.45); background: radial-gradient(30rem 14rem at 50% 0, rgba(244, 176, 62, 0.16), transparent 70%), var(--sh-card); }
.sh-final h2 { margin-bottom: 8px; }
.sh-final p { color: var(--sh-text-2); max-width: 34rem; margin: 0 auto 18px; }
.sh-final .sh-actions { justify-content: center; }
.sh-final .sh-actions .sh-btn { flex: 0 1 280px; }

/* хлебные крошки */
.sh-crumbs { font-size: 14px; color: var(--sh-text-3); padding-top: 16px; }
.sh-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.sh-crumbs li { margin: 0; }
.sh-crumbs a { color: var(--sh-text-2); }
.sh-crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--sh-line-2); }

/* документы */
.sh-doc { max-width: var(--sh-read); padding-bottom: 30px; }
.sh-doc h2 { font-size: 22px; margin: 26px 0 8px; }
.sh-doc p, .sh-doc li { color: var(--sh-text-2); font-size: 16px; }

/* подвал */
.sh-foot { margin-top: 40px; border-top: 1px solid var(--sh-line); background: #0d0810; color: var(--sh-text-3); font-size: 15px; }
.sh-foot__grid { display: grid; gap: 24px; padding-top: 30px; padding-bottom: 22px; }
.sh-foot .sh-logo { margin: 0 0 12px; }
.sh-foot__note { margin: 0; max-width: 24rem; font-size: 14px; }
.sh-foot__col p { margin: 0 0 8px; font: 600 15px/1.3 var(--sh-display); color: #fff; }
.sh-foot__col ul { list-style: none; margin: 0; padding: 0; }
.sh-foot__col li { margin: 0 0 6px; }
.sh-foot__col a { color: var(--sh-text-2); text-decoration: none; }
.sh-foot__col a:hover { color: var(--sh-gold-hi); text-decoration: underline; }
.sh-foot__base { border-top: 1px solid var(--sh-line); padding-top: 14px; padding-bottom: 90px; font-size: 13.5px; }

/* нижняя панель на телефоне */
.sh-dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; border: 1px solid var(--sh-line-2); background: rgba(30, 20, 36, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45); }
.sh-dock span { font: 700 16px/1.2 var(--sh-display); color: #fff; }
.sh-dock small { display: block; font: 400 12.5px/1.2 var(--sh-body); color: var(--sh-text-3); }
.sh-dock a { flex: none; min-height: 46px; padding: 0 22px; }

/* ---- /access: тарифы и форма ------------------------------------------------------ */
.sh-plans { padding: 6px 0 34px; }
.sh-nw { white-space: nowrap; }
.sh-tier .sh-btn, .plan .btn { padding: 0 14px; font-size: 15px; }
.plans-grid { display: grid; gap: 14px; margin-top: 18px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: var(--sh-r-lg); border: 1px solid var(--sh-line); background: linear-gradient(180deg, var(--sh-card-2), var(--sh-card)); }
.plan--recommended { border-color: var(--sh-gold); box-shadow: 0 0 0 1px rgba(244, 176, 62, 0.4), 0 22px 60px rgba(244, 176, 62, 0.16); }
.plan__badge { position: absolute; top: -11px; right: 18px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--sh-card-2); border: 1px solid var(--sh-line-2); color: var(--sh-text-2); }
.plan--recommended .plan__badge { background: var(--sh-gold); border-color: var(--sh-gold); color: var(--sh-gold-ink); }
.plan__name { font: 600 19px/1.2 var(--sh-display); }
.plan__price { font: 800 40px/1.05 var(--sh-display); margin-top: 10px; color: #fff; }
.plan__old { min-height: 20px; color: var(--sh-text-3); text-decoration: line-through; font-size: 15px; }
.plan__old--empty { text-decoration: none; }
html[data-reference-price="hide"] .plan__old { visibility: hidden; }
.sh-plan-for { margin: 0; font-size: 13.5px; color: var(--sh-text-3); }
.plan__sub { color: var(--sh-gold); font-weight: 700; font-size: 15px; margin: 4px 0 12px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 15px; color: var(--sh-text-2); }
.plan li { position: relative; padding-left: 22px; margin: 0 0 6px; }
.plan .btn { margin-top: auto; }
.plans-note { font-size: 15px; color: var(--sh-text-3); margin-top: 16px; }
.pending-order { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--sh-r); border: 1px solid var(--sh-gold); background: rgba(244, 176, 62, 0.08); }

#checkout-inline:empty { display: none; }
.sh-sheet-wrap { display: none; position: fixed; inset: 0; z-index: 70; background: rgba(8, 4, 10, 0.72); padding: 16px; overflow-y: auto; }
.sh-sheet-wrap.open { display: flex; align-items: flex-start; justify-content: center; }
.sh-sheet { position: relative; width: 100%; max-width: 520px; margin: 6vh auto 0; padding: 24px 18px; border-radius: var(--sh-r-lg); border: 1px solid var(--sh-line-2); background: var(--sh-card); }
.sh-sheet h3 { margin: 0 0 6px; font-size: 22px; }
.modal__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--sh-text-2); }
.modal__desc { color: var(--sh-text-2); font-size: 15.5px; }
.modal__summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; margin: 0 0 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--sh-line); }
.modal__amount { text-align: right; }
.modal__amount b { display: block; font: 800 24px/1.1 var(--sh-display); }
.modal__amount small { color: var(--sh-text-3); font-size: 12px; }
.sh-sheet label { display: block; font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.sh-sheet input { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--sh-line-2); font: 400 17px var(--sh-body); color: #fff; background: #140c17; margin-bottom: 14px; }
.sh-sheet input:focus { border-color: var(--sh-gold); outline: none; }
.modal__error { color: var(--sh-bad); font-weight: 700; font-size: 15px; min-height: 1em; margin: 0 0 8px; }
.modal__note { font-size: 13.5px; color: var(--sh-text-3); text-align: center; margin: 10px 0 0; }
.co-rails-cap { font-size: 14px; color: var(--sh-text-3); margin: 0 0 6px; }
.co-rails { display: flex; gap: 8px; margin: 0 0 14px; }
.co-rail { flex: 1; min-height: 46px; padding: 8px 6px; border-radius: 12px; border: 1px solid var(--sh-line-2); background: transparent; color: var(--sh-text); font: 700 15px/1.2 var(--sh-body); cursor: pointer; }
.co-rail.is-on { border-color: var(--sh-gold); background: rgba(244, 176, 62, 0.14); color: var(--sh-gold-hi); }
.co-email-hint, .co-rail-hint, .co-short-note, .co-alt { color: var(--sh-text-2); }
.co-email-hint strong { color: var(--sh-gold-hi); }
html[data-form="inline"] .sh-sheet-wrap { position: static; inset: auto; z-index: auto; background: none; padding: 0; overflow: visible; }
html[data-form="inline"] .sh-sheet-wrap.open { display: block; }
html[data-form="inline"] .sh-sheet { margin: 18px auto 0; box-shadow: 0 0 0 1px rgba(244, 176, 62, 0.3), 0 18px 50px rgba(0, 0, 0, 0.35); }
html[data-form="inline"] .modal__close { display: none; }

/* ---- /success ------------------------------------------------------------------ */
.sh-order { max-width: 680px; margin-top: 20px; padding: 20px 18px; border-radius: var(--sh-r-lg); border: 1px solid var(--sh-line-2); background: var(--sh-card); }
.sh-order select, .sh-order input { font: inherit; color: #fff; background: #140c17; border: 1px solid var(--sh-line-2); border-radius: 12px; min-height: 48px; padding: 10px 12px; }
.sh-order select { display: block; width: 100%; max-width: 360px; margin: 8px 0; }
.sh-order input { min-width: 0; flex: 1; }
.sh-tg { margin: 0 0 16px; padding: 16px; border-radius: var(--sh-r); border: 1px solid var(--sh-gold); background: rgba(244, 176, 62, 0.07); }
.sh-keyrow { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }

/* первый экран внутренних страниц и списки «термин — пояснение» */
.sh-hero--inner { padding: 14px 0 26px; }
.sh-hero--inner h1 { font-size: clamp(30px, 6.6vw, 50px); max-width: 52rem; }
.sh-places { display: grid; gap: 10px; margin: 8px 0 18px; }
.sh-places > div { padding: 12px 16px; border-radius: var(--sh-r); border: 1px solid var(--sh-line); background: var(--sh-card); }
.sh-places dt { font: 600 18px/1.3 var(--sh-display); color: #fff; }
.sh-places dd { margin: 2px 0 0; color: var(--sh-text-2); font-size: 15.5px; }
.sh-read .sh-actions { margin: 6px 0 16px; }
.sh-read h3 { margin-top: 18px; }
@media (min-width: 640px) { .sh-places { grid-template-columns: repeat(2, 1fr); } }

/* ---- шире телефона --------------------------------------------------------------- */
@media (min-width: 640px) {
  .sh-feats { grid-template-columns: repeat(2, 1fr); }
  .sh-tiers, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-mini { padding: 24px 26px; }
  .sh-mini__rows { grid-template-columns: repeat(4, 1fr); }
  .sh-steps { grid-template-columns: repeat(2, 1fr); }
  .sh-sheet { padding: 28px 28px; }
  .sh-final { padding: 40px 30px; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .sh-wrap, .container { padding-left: 24px; padding-right: 24px; }
  .sh-head { position: sticky; top: 0; }
  .sh-nav { display: flex; }
  .sh-hero { padding: 54px 0 56px; }
  .sh-hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .sh-sec { padding: 52px 0; }
  .sh-tiers, .plans-grid { grid-template-columns: repeat(4, 1fr); }
  .sh-steps { grid-template-columns: repeat(4, 1fr); }
  .sh-steps > li { padding: 70px 18px 18px; }
  .sh-steps > li::before { left: 18px; top: 18px; }
  .sh-feats { grid-template-columns: repeat(4, 1fr); }
  .sh-foot__grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .sh-dock { display: none; }
  .sh-foot__base { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* шаги и таблицы внутри статьи: одна колонка, имена файлов без переноса */
.sh-hero--inner .sh-actions .sh-btn { flex: 0 1 300px; }
.sh-table code { white-space: nowrap; overflow-wrap: normal; }
@media (min-width: 640px) {
  .sh-read .sh-steps { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .sh-read .sh-steps > li { padding: 18px 18px 16px 70px; }
  .sh-read .sh-steps > li::before { left: 16px; top: 16px; }
}

/* 28.11.2026: карточка оффера под H1 (цена, устройства, оплата, ключ, возврат) */
.sh-offer { margin: 18px 0 0; max-width: 42rem; }
.sh-offer .sh-mini__title { font-size: 20px; }
.sh-offer .sh-ticks { margin: 0 0 14px; }
.sh-offer .sh-actions .sh-btn { flex: 1 1 220px; }
