/* Палитра — темы Telegram (Day / Night Blue) */
:root {
  --bg: #efeff3;
  --surface: #ffffff;
  --surface-2: #f4f4f7;
  --text: #000000;
  --hint: #707579;
  --hint-2: #c4c9cc;
  --accent: #3390ec;
  --link: #3390ec;
  --sep: rgba(0, 0, 0, .08);
  --danger: #e53935;
  --success: #31b545;
  --shadow: 0 1px 2px rgba(16, 35, 47, .06), 0 4px 16px rgba(16, 35, 47, .05);
  --chat-bg: linear-gradient(160deg, #d6dfb8 0%, #a8c99a 48%, #cfd9a6 100%);
  --bubble-in: #ffffff;
  --bubble-out: #effdde;
  --meta-in: #a1aab3;
  --meta-out: #4fae4e;
  --premium: linear-gradient(90deg, #6b93ff 0%, #976fff 50%, #e46ace 100%);
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1621;
    --surface: #17212b;
    --surface-2: #232e3c;
    --text: #f5f5f5;
    --hint: #708499;
    --hint-2: #3e546a;
    --accent: #5288c1;
    --link: #6ab3f3;
    --sep: rgba(255, 255, 255, .06);
    --danger: #ec3942;
    --success: #4fbf67;
    --shadow: none;
    --chat-bg: linear-gradient(160deg, #0f1b27 0%, #12202d 50%, #0e1823 100%);
    --bubble-in: #182533;
    --bubble-out: #2b5278;
    --meta-in: #6d7f8f;
    --meta-out: #7da8d3;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--link); text-decoration: none; }
button { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.ico { width: 20px; height: 20px; flex: none; }
.hero > *, .how > *, .feat > div, .plan-main { min-width: 0; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.muted { color: var(--hint); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border: 0; border-radius: 10px;
  font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: filter .15s, transform .1s, opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible, .icon-btn:focus-visible, .chip:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-sm .ico { width: 18px; height: 18px; }
.btn-block { width: 100%; height: 50px; font-size: 16px; }
.btn-plain { background: transparent; color: var(--link); }
.btn-plain:hover { background: var(--surface-2); }
.btn-danger { color: var(--danger); }

/* Кнопка подписки как в Telegram: градиент Premium с бегущим бликом */
.btn-premium { position: relative; overflow: hidden; background: var(--premium); color: #fff; isolation: isolate; }
.btn-premium::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 3.2s ease-in-out 1s infinite;
}
.btn-premium:hover { filter: brightness(1.05); }
@keyframes shine { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }

.icon-btn {
  width: 32px; height: 32px; flex: none; border-radius: 50%; border: 0;
  background: var(--surface-2); color: var(--hint);
  display: grid; place-items: center; cursor: pointer;
}
.icon-btn .ico { width: 16px; height: 16px; }

/* Шапка */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--sep);
}
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.wordmark { font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.wordmark-star { width: 1.05em; height: 1.05em; flex: none; filter: drop-shadow(0 0 6px rgba(151, 111, 255, .55)); }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { color: var(--hint); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--text); }
.auth-slot { margin-left: auto; display: flex; }

.user-chip { display: flex; align-items: center; height: 40px; padding: 0 4px; border-radius: 20px; background: var(--surface-2); }
.user-chip-main {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 0;
  border: 0; background: none; cursor: pointer;
}
.user-chip-main b { font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.chip-plus {
  width: 30px; height: 30px; flex: none; border: 0; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: filter .15s, transform .1s;
}
.chip-plus:hover { filter: brightness(1.08); }
.chip-plus:active { transform: scale(.92); }
.chip-plus svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.user-chip-main:focus-visible, .chip-plus:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 20px; }

/* Аватар с цветами Telegram */
.ava {
  --s: 32px;
  position: relative; flex: none;
  width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--ava, linear-gradient(#72d5fd, #2a9ef1));
  color: #fff; font-weight: 500; font-size: calc(var(--s) * .4);
  display: grid; place-items: center; overflow: hidden;
}
.ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 56px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 500; margin-bottom: 18px; }
.eyebrow .ico { width: 18px; height: 18px; }
h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.lead { margin-top: 18px; font-size: 18px; line-height: 1.5; color: var(--hint); max-width: 34em; text-wrap: pretty; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.perks .ico {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  background: var(--accent); color: #fff;
}

/* Витрина */
.store { padding: 28px 20px 20px; }
.store-head { text-align: center; margin-bottom: 22px; }
.store-head h2 { font-size: 22px; font-weight: 700; margin-top: 12px; }
.store-head p { color: var(--hint); margin-top: 4px; }
.star-wrap { position: relative; width: 96px; height: 96px; margin: 0 auto; display: grid; place-items: center; }
.star-wrap::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 111, 255, .35), transparent 65%);
}
.star { position: relative; width: 84px; height: 84px; filter: drop-shadow(0 6px 14px rgba(151, 111, 255, .35)); }
.spark {
  position: absolute; width: 8px; height: 8px;
  background: #9f86ff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 2.4s ease-in-out infinite;
}
.s1 { top: 6px; left: -6px; }
.s2 { top: 20px; right: -10px; width: 6px; height: 6px; animation-delay: .6s; background: #e46ace; }
.s3 { bottom: 4px; left: 2px; width: 6px; height: 6px; animation-delay: 1.2s; background: #6b93ff; }
.s4 { bottom: 14px; right: -2px; animation-delay: 1.8s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }

.plans { background: var(--surface-2); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.plan {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px;
  padding: 13px 16px; cursor: pointer; transition: background .15s;
  -webkit-tap-highlight-color: transparent;
}
.plan:hover { background: rgba(127, 127, 127, .06); }
.plan + .plan::before { content: ""; position: absolute; top: 0; left: 52px; right: 0; height: 1px; background: var(--sep); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--hint-2);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.plan input:checked + .radio { border-color: var(--accent); background: var(--accent); }
.plan input:checked + .radio::after {
  content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: translateY(-1px) rotate(-45deg);
}
.plan input:focus-visible + .radio { outline: 2px solid var(--link); outline-offset: 2px; }
.plan-main { display: grid; gap: 1px; }
.plan-title { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; }
.plan-sub { color: var(--hint); font-size: 14px; font-variant-numeric: tabular-nums; }
.plan-sub s, .row s { color: var(--hint); text-decoration-thickness: 1.5px; }
.plan-price { display: grid; justify-items: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-price b { font-weight: 500; font-size: 16px; }
.plan-price small, .row small { color: var(--hint); font-size: 13px; }
.row small { display: block; font-weight: 400; }
.badge { background: var(--accent); color: #fff; font-size: 12px; font-weight: 500; line-height: 18px; padding: 0 6px; border-radius: 6px; }
.store-note { margin-top: 12px; text-align: center; color: var(--hint); font-size: 13px; }
.store-fine { margin-top: 6px; font-size: 12px; opacity: .8; }

/* Секции */
.section { padding-top: 40px; padding-bottom: 40px; }
.section-title { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }

.features { display: grid; grid-template-columns: 1fr 1fr; padding: 6px 0; }
.feat { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 12px 20px; }
.feat b { font-weight: 500; font-size: 15px; }
.feat p { color: var(--hint); font-size: 14px; margin-top: 2px; }
.feat-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--c); display: grid; place-items: center; }
.feat-ico svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.how { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; }
.steps li::before {
  content: counter(s); grid-row: span 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 500;
  display: grid; place-items: center;
}
.steps b { font-weight: 500; font-size: 17px; align-self: center; }
.steps p { color: var(--hint); margin-top: 2px; }

/* Демо-чат */
.chat { overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--sep); }
.chat-head b { display: block; font-weight: 500; }
.chat-head span:not(.ava) { color: var(--hint); font-size: 13px; }
.chat-body { background: var(--chat-bg); padding: 16px 14px 20px; display: flex; flex-direction: column; gap: 6px; min-height: 290px; }
.chat-date {
  align-self: center; margin-bottom: 6px; padding: 2px 10px; border-radius: 12px;
  background: rgba(0, 0, 0, .22); color: #fff; font-size: 13px; font-weight: 500;
}
.msg {
  max-width: 82%; padding: 6px 10px 7px; border-radius: 16px; line-height: 1.35;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}
.msg b { font-weight: 500; }
.msg.in { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); border-bottom-right-radius: 5px; }
.meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 7px 0 -5px 12px; font-size: 12px; color: var(--meta-in); }
.out .meta { color: var(--meta-out); }
.ticks { width: 16px; height: 10px; }
.chat.play .msg { animation: pop .35s cubic-bezier(.2, .9, .3, 1.2) both; }
.chat.play .msg:nth-of-type(2) { animation-delay: .5s; }
.chat.play .msg:nth-of-type(3) { animation-delay: 1.3s; }
.chat:not(.play) .msg { opacity: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq details + details { border-top: 1px solid var(--sep); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 8px; height: 8px;
  border-right: 2px solid var(--hint); border-bottom: 2px solid var(--hint);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -1px); }
.faq details p { padding: 0 20px 16px; color: var(--hint); }

.footer {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 32px; padding-bottom: 40px; margin-top: 24px;
  border-top: 1px solid var(--sep); color: var(--hint); font-size: 13px;
}
.footer .wordmark { font-size: 17px; }
.footer p { flex: 1; min-width: 240px; }

/* Диалоги */
dialog.sheet {
  border: 0; padding: 0; color: var(--text); background: var(--surface);
  width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  border-radius: 16px; box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
  overscroll-behavior: contain;
}
dialog.sheet[open] { animation: rise .22s cubic-bezier(.2, .8, .3, 1); }
dialog.sheet::backdrop { background: rgba(0, 0, 0, .45); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.sheet-body { padding: 20px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sheet-head h2 { font-size: 19px; font-weight: 500; }

.bot-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.bot-card b { display: block; font-weight: 500; }
.bot-handle { color: var(--link); font-size: 14px; }
.mini-steps { margin: 18px 0 20px; padding-left: 22px; display: grid; gap: 6px; color: var(--hint); }
.mini-steps b { color: var(--text); font-weight: 500; }
.status { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: var(--hint); font-size: 14px; }
.status.error { color: var(--danger); }
.status.error .spinner { display: none; }
.spinner {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}
.btn .spinner { width: 18px; height: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Подтверждение */
.confirm-hero { text-align: center; padding: 8px 0 20px; }
.confirm-hero svg { width: 64px; height: 64px; }
.confirm-hero h2 { font-size: 20px; font-weight: 700; margin-top: 8px; }
.confirm-hero p { color: var(--hint); margin-top: 2px; }
.list { background: var(--surface-2); border-radius: 12px; margin-bottom: 16px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; }
.row + .row { border-top: 1px solid var(--sep); }
.row span { color: var(--hint); }
.row b { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.row b.neg { color: var(--danger); }
.hint { color: var(--hint); font-size: 13px; margin: -4px 0 14px; }
.result { text-align: center; padding: 12px 0 4px; }
.result-ico {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--premium); color: #fff;
  animation: burst .5s cubic-bezier(.2, .9, .3, 1.4);
}
.result-ico svg { width: 36px; height: 36px; }
.result-ico.wait { background: var(--accent); }
.result h2 { font-size: 20px; font-weight: 700; }
.result p { color: var(--hint); margin: 6px 0 22px; }
@keyframes burst { from { transform: scale(.4); opacity: 0; } }

/* Профиль */
.profile { display: flex; align-items: center; gap: 12px; min-width: 0; }
.profile b { display: block; font-weight: 500; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile span:not(.ava) { color: var(--link); font-size: 14px; }
.balance-card {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px; border-radius: 12px; background: var(--surface-2); margin-bottom: 20px;
}
.balance-card span { color: var(--hint); }
.balance-card b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.label { display: block; font-size: 13px; font-weight: 500; color: var(--hint); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 8px 4px; }
.topup { margin-bottom: 20px; }
.topup-row { display: flex; gap: 8px; }
.field-wrap { position: relative; flex: 1; }
.field {
  width: 100%; height: 44px; padding: 0 52px 0 14px; border-radius: 10px;
  border: 1.5px solid var(--hint-2); background: transparent; color: inherit; font: inherit;
  transition: border-color .15s; -moz-appearance: textfield;
}
.field::-webkit-outer-spin-button, .field::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field:focus { outline: 0; border-color: var(--accent); }
.field-suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--hint); pointer-events: none; }
.chips { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.chip {
  height: 32px; padding: 0 14px; border-radius: 16px; border: 0; cursor: pointer;
  background: var(--surface-2); color: var(--link); font-weight: 500; font-size: 14px;
}
.chip:hover { filter: brightness(.96); }
.topup .hint { margin: 0; }

.history { background: var(--surface-2); border-radius: 12px; margin-bottom: 12px; }
.tx { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; }
.tx + .tx { border-top: 1px solid var(--sep); }
.tx-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.tx-ico.order { background: var(--premium); }
.tx-ico svg { width: 18px; height: 18px; }
.tx b { display: block; font-weight: 500; font-size: 15px; }
.tx small { color: var(--hint); font-size: 13px; }
.tx-amount { font-weight: 500; font-variant-numeric: tabular-nums; }
.tx-amount.plus { color: var(--success); }
.tx-amount.void { color: var(--hint); text-decoration: line-through; }
.empty { padding: 20px 16px; text-align: center; color: var(--hint); font-size: 14px; }

/* Тосты */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: max-content; max-width: calc(100% - 32px); }
.toast {
  background: rgba(28, 28, 30, .92); color: #fff; padding: 11px 16px; border-radius: 12px;
  font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  animation: rise .2s ease-out; transition: opacity .3s, transform .3s;
}
.toast.error { background: rgba(196, 38, 46, .95); }
.toast.out { opacity: 0; transform: translateY(8px); }

/* Согласие и юридические подписи */
.check { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 6px; cursor: pointer; line-height: 1.4; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  flex: none; width: 22px; height: 22px; margin-top: -1px; border-radius: 6px; border: 2px solid var(--hint-2);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box::after {
  content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: translateY(-1px) rotate(-45deg);
}
.check input:focus-visible + .box { outline: 2px solid var(--link); outline-offset: 2px; }
.legal-note { color: var(--hint); font-size: 12.5px; margin: 0 0 16px 34px; }
#confirm-body .legal-note { margin: 12px 0 0; text-align: center; }
.status.idle .spinner { display: none; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; width: 100%; }
.footer-links a { color: var(--link); }
.seller-line { width: 100%; font-size: 12.5px; }
.seller-line[hidden] { display: none; }

.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 50; max-width: 420px;
  display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 16px;
  background: var(--surface); border-radius: 14px; box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  font-size: 13.5px; color: var(--hint);
}
.cookie[hidden] { display: none; }

/* Страницы документов */
.doc { max-width: 820px; margin-top: 32px; margin-bottom: 32px; padding: 32px 36px 36px; line-height: 1.6; }
.doc h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.doc-meta { color: var(--hint); margin: 6px 0 20px; font-size: 14px; }
.doc h2 { font-size: 18px; font-weight: 500; margin: 26px 0 8px; }
.doc p, .doc li { margin: 0 0 8px; }
.doc ul { padding-left: 22px; margin: 0 0 8px; }
.doc code { font-size: 14px; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.doc mark { background: rgba(229, 57, 53, .15); color: var(--danger); padding: 0 4px; border-radius: 4px; }
.req { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 12px; padding: 14px 16px; background: var(--surface-2); border-radius: 12px; }
.req dt { color: var(--hint); }
.req dd { margin: 0; overflow-wrap: anywhere; }

/* Адаптив */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .how { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 40px; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .section-title { font-size: 24px; }
  .lead { font-size: 16px; }
  .store { padding: 24px 14px 16px; }
  .plan { padding: 12px; gap: 12px; }
  .plan + .plan::before { left: 46px; }
  .feat { padding: 12px 16px; }
  dialog.sheet {
    width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh;
    border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom);
  }
  .doc { padding: 24px 18px 28px; margin-top: 16px; border-radius: 0; margin-inline: -16px; width: auto; }
  .req { grid-template-columns: 1fr; gap: 0; }
  .req dd { margin-bottom: 8px; }
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .chat:not(.play) .msg { opacity: 1; }
}
