/* Шрифты: Unbounded — заголовки, Onest — текст. Оба с кириллицей, лицензия SIL OFL 1.1 */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/onest-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: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/onest-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/onest-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: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/static/fonts/unbounded-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: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/static/fonts/unbounded-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #000007;
  --text: #f6f7fb;
  --soft: rgba(255, 255, 255, .7);
  --muted: rgba(255, 255, 255, .5);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .24);
  --accent: #2388ff;
  --accent-soft: rgba(35, 136, 255, .12);
  --ok: #3ddc97;
  --bad: #ff6b6b;
  --radius: 24px;
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Unbounded", "Onest", -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* синее свечение сверху страницы — отдельным слоем, чтобы не перерисовывалось при прокрутке */
body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1500px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 520px at 50% 760px, rgba(20, 74, 214, .55) 0%, transparent 70%),
              radial-gradient(38% 420px at 78% 120px, rgba(22, 60, 170, .45) 0%, transparent 70%); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2, .logo, .steps li::before { font-family: var(--font-head); }
h1, h2 { color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, #fff 0%, #fff 50%, rgba(255, 255, 255, .6) 100%); }
h1 { font-size: clamp(27px, 3.7vw, 46px); line-height: 1.12; letter-spacing: -0.035em; text-wrap: balance; padding-bottom: .1em; }
h2 { font-size: clamp(23px, 3.1vw, 38px); line-height: 1.15; letter-spacing: -0.035em; text-wrap: balance; padding-bottom: .1em; }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; }
[hidden] { display: none !important; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.muted { color: var(--muted); }
.center { text-align: center; }
.section { padding: 72px 0; }

/* заголовок раздела: метка, заголовок, подзаголовок */
.head { text-align: center; margin: 0 auto 40px; max-width: 760px; }
.badge-pill { display: inline-block; padding: 6px 24px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent); font-weight: 500; margin-bottom: 20px; }
.head p { margin: 16px auto 0; color: var(--soft); font-size: clamp(17px, 2vw, 22px); letter-spacing: -0.02em; max-width: 30em; }

/* шапка: вверху страницы — прозрачная и ниже; при прокрутке поднимается, а из центра
   раскрывается стеклянная «пилюля» */
.header { position: fixed; inset: 0 0 auto 0; z-index: 20; translate: 0 36px; pointer-events: none;
  transition: translate .7s var(--ease-out); }
.header.scrolled, .header.open { translate: 0 12px; }
.header-shell { position: relative; isolation: isolate; pointer-events: auto; }
.header-shell::before { content: ""; position: absolute; z-index: -1; inset: 0 50%; border-radius: 24px; opacity: 0;
  background: rgba(8, 10, 22, .62); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 14px 50px rgba(0, 0, 0, .45);
  transition: inset .7s var(--ease-out), opacity .35s ease; }
.header.scrolled .header-shell::before, .header.open .header-shell::before { inset: 0; opacity: 1; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 60px; padding: 0;
  transition: padding .7s var(--ease-out); }
.header.scrolled .header-row, .header.open .header-row { padding: 0 8px 0 20px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
main { padding-top: 104px; }
section[id] { scroll-margin-top: 88px; }

/* кнопка и выпадающее меню для телефона */
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  position: relative; transition: background-color .25s ease; }
.burger:hover { background: var(--glass-2); }
.burger::before, .burger::after { content: ""; position: absolute; left: 13px; right: 13px; height: 1.75px; border-radius: 2px;
  background: #fff; transition: translate .45s var(--ease-out), rotate .45s var(--ease-out); }
.burger::before { top: 17px; }
.burger::after { top: 25px; }
.header.open .burger::before { translate: 0 4px; rotate: 45deg; }
.header.open .burger::after { translate: 0 -4px; rotate: -45deg; }
.mobile-nav { display: none; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.mobile-nav > div { overflow: hidden; display: flex; flex-direction: column; }
.header.open .mobile-nav { grid-template-rows: 1fr; }
.mobile-nav a { padding: 14px 20px; color: #fff; font-size: 18px; font-weight: 500; border-top: 1px solid var(--line);
  opacity: 0; translate: 0 -8px; transition: opacity .4s ease, translate .5s var(--ease-out); }
.mobile-nav a:hover { text-decoration: none; background: var(--glass-2); }
.mobile-nav a:last-child { border-radius: 0 0 24px 24px; }
.header.open .mobile-nav a { opacity: 1; translate: 0 0; }
.header.open .mobile-nav a:nth-child(2) { transition-delay: .05s; }
.header.open .mobile-nav a:nth-child(3) { transition-delay: .1s; }
.header.open .mobile-nav a:nth-child(4) { transition-delay: .15s; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: #fff; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo .ic { width: 24px; height: 24px; transition: rotate .6s var(--ease); }
.logo:hover .ic { rotate: 72deg; }
.nav { display: flex; gap: 22px; }
.nav a { position: relative; color: rgba(255, 255, 255, .72); font-weight: 500; transition: color .3s ease; }
.nav a:hover, .nav a.current { color: #fff; }
.nav a.current::after { scale: 1 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: #fff;
  scale: 0 1; transform-origin: left; transition: scale .3s var(--ease); }
.nav a:hover { text-decoration: none; }
.nav a:hover::after { scale: 1 1; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: translate .2s var(--ease), background-color .25s ease, color .25s ease, box-shadow .25s ease, scale .1s ease; }
.btn:hover { text-decoration: none; }
.btn:active { scale: .98; }
.btn-primary { background: #fff; color: #191919; }
.btn-primary:hover { background: #eef1f8; box-shadow: 0 8px 30px rgba(255, 255, 255, .16); }
.btn-primary:not(:disabled):hover { translate: 0 -1px; }
.btn-primary:disabled { background: var(--glass-2); color: var(--muted); cursor: not-allowed; }
.btn-ghost { color: rgba(255, 255, 255, .9); padding: 0 20px; background: transparent; }
.btn-ghost:hover { background: var(--glass-2); }
.btn-block { width: 100%; height: 54px; font-size: 17px; }

/* иконки из /static/icons.svg */
.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; }
.ic.fill { fill: currentColor; }
.ic.gold { color: #ffc83d; }
.ic.blue { color: var(--accent); }
.ic.arrow { width: 1.05em; height: 1.05em; transition: translate .25s var(--ease); }
.btn:hover .ic.arrow { translate: 2px -2px; }

/* первый экран */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lead { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.2; letter-spacing: -0.02em; color: var(--soft);
  margin: 22px 0 30px; max-width: 24em; }
.lead b { color: #fff; font-weight: 500; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; color: var(--soft); }
.chips .ic { color: var(--accent); margin-right: 8px; }

/* «стеклянные» карточки с синей подсветкой снизу */
.card { position: relative; overflow: hidden; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.glow::after { content: ""; position: absolute; inset: 45% 0 0 0; pointer-events: none; z-index: -1;
  background: linear-gradient(to top, rgba(28, 92, 235, .42), transparent); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.feature { min-height: 200px; display: flex; flex-direction: column; }
.icon-tile { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(145deg, rgba(35, 136, 255, .35), rgba(35, 136, 255, .08)); border: 1px solid rgba(35, 136, 255, .35);
  color: #fff; transition: scale .35s var(--ease), box-shadow .35s ease; }
.icon-tile .ic { width: 24px; height: 24px; }
.feature:hover .icon-tile { scale: 1.08; box-shadow: 0 10px 30px rgba(35, 136, 255, .35); }
.feature h3 { margin-bottom: 6px; }
.feature p:last-child { margin: auto 0 0; padding-top: 16px; color: var(--soft); font-size: 15px; }

/* форма заказа */
.widget { padding: 22px; background: rgba(8, 10, 22, .72); border-color: var(--line-2);
  box-shadow: 0 30px 90px rgba(10, 50, 170, .35); }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--glass-2);
  border-radius: 999px; margin-bottom: 20px; }
/* подсветка плавно переезжает под выбранную вкладку и берёт цвет товара: золото — звёзды, фиолет — Premium */
.tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background-color: rgba(255, 190, 40, .2); border: 1px solid rgba(255, 200, 61, .85);
  box-shadow: 0 0 22px rgba(255, 190, 40, .35), inset 0 0 14px rgba(255, 190, 40, .12);
  transition: translate .45s var(--ease), background-color .45s ease, border-color .45s ease, box-shadow .45s ease; }
.tabs[data-active="premium"]::before { translate: 100% 0; background-color: rgba(151, 111, 255, .24);
  border-color: rgba(168, 130, 255, .95); box-shadow: 0 0 22px rgba(151, 111, 255, .45), inset 0 0 14px rgba(151, 111, 255, .15); }
.tab { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0;
  border-radius: 999px; height: 42px; background: transparent; color: var(--muted); font: inherit; font-weight: 500;
  cursor: pointer; transition: color .3s ease; }
.tab .pic, .tab .ic { transition: filter .3s ease, opacity .3s ease, scale .35s var(--ease); }
.tab:not(.active) .pic, .tab:not(.active) .ic { filter: grayscale(1); opacity: .5; }
.tab:not(.active):hover { color: var(--text); }
.tab.active { color: #fff; font-weight: 600; }
.tab.active .pic, .tab.active .ic { scale: 1.12; }
.pane:not([hidden]) { animation: rise .45s var(--ease) both; }
.field { display: block; margin-bottom: 16px; }
.label { display: block; font-size: 14px; color: var(--soft); margin-bottom: 8px; }
input[type="text"] { width: 100%; height: 50px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--glass); color: var(--text); font: inherit; outline: none;
  transition: border-color .25s ease, box-shadow .25s ease; }
input[type="text"]:hover { border-color: var(--line-2); }
input[type="text"]:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(35, 136, 255, .14); }
input[type="text"]::placeholder { color: rgba(255, 255, 255, .35); }
.input-row { display: flex; align-items: center; gap: 10px; }
.avatar { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass-2) center / cover no-repeat; border: 1px solid var(--line); color: var(--soft); font-weight: 600; }
.avatar.has-photo { color: transparent; border-color: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 151, .18);
  animation: pop .4s var(--ease); }
.hint { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); min-height: 1.4em; }
.hint { transition: color .25s ease; }
.hint.ok { color: var(--ok); }
.hint.bad { color: var(--bad); }

.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.preset, .period, .method { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); color: var(--text);
  font: inherit; cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, scale .15s ease, box-shadow .25s ease; }
.preset { padding: 10px 4px; display: grid; gap: 2px; text-align: center; }
.preset .ic { width: 14px; height: 14px; margin-right: 5px; vertical-align: -0.1em; }
.preset:active, .period:active, .method:active { scale: .97; }
.preset b { font-size: 15px; font-weight: 500; white-space: nowrap; }
.preset span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.preset:hover, .period:hover, .method:hover { border-color: var(--line-2); }
.preset.active, .period.active, .method.active { border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(35, 136, 255, .1); }

.periods { display: grid; gap: 8px; margin-bottom: 16px; }
.period { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; text-align: left; }
.period b { font-weight: 500; }
.period small { display: block; color: var(--muted); font-size: 13px; }
.period .price { font-weight: 500; white-space: nowrap; }
.save { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: var(--accent-soft); color: var(--accent); }

.methods { display: grid; gap: 8px; }
.method { height: 50px; padding: 0 16px; text-align: left; display: flex; align-items: center; gap: 12px; }
.method .ic { color: var(--accent); }
.method .pic { width: 26px; height: 26px; border-radius: 7px; }
.method-title { flex: 1; }
.method.soon { cursor: default; opacity: .62; }
.method.soon:hover { border-color: var(--line); }
.soon-badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--glass-2);
  color: var(--soft); border: 1px solid var(--line); }
/* логотипы товаров и платёжек */
.pic { width: 1.25em; height: 1.25em; flex: none; object-fit: contain; vertical-align: -0.24em; }
.preset .pic { width: 15px; height: 15px; margin-right: 5px; vertical-align: -0.15em; }
.order dd .pic { margin-right: 6px; }

.total { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 0 16px;
  padding-top: 16px; border-top: 1px solid var(--line); color: var(--soft); }
.total b { font-size: 30px; font-weight: 500; color: #fff; letter-spacing: -0.02em; }
.total b { transition: opacity .25s ease; font-variant-numeric: tabular-nums; }
.total b.loading { opacity: .45; }
.error { color: var(--bad); font-size: 14px; margin: 0 0 12px; animation: shake .4s ease; }
.fineprint { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* описание товаров */
.product h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.product p { color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; color: rgba(255, 255, 255, .9); font-size: 15px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; rotate: -45deg;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.small { font-size: 14px; }

/* текст для поиска: статья под формой */
.prose h2 { font-family: var(--font-head); font-size: clamp(21px, 2.4vw, 28px); margin-bottom: 14px; }
.prose h3 { margin: 22px 0 8px; }
.prose p, .prose li { color: var(--soft); }
.prose ol, .prose ul { padding-left: 22px; margin: 0 0 12px; display: grid; gap: 6px; }
.prose .more { margin: 18px 0 0; }

/* логотипы способов оплаты в подвале */
.pay-grid { display: grid; grid-template-columns: repeat(3, 56px); gap: 8px; }
.pay-tile { display: grid; place-items: center; height: 36px; padding: 7px 9px; border-radius: 10px;
  background: var(--glass-2); border: 1px solid var(--line); transition: border-color .25s ease, background-color .25s ease; }
.pay-tile:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .09); }
.pay-tile img { display: block; width: auto; height: 20px; max-width: 36px; object-fit: contain; border-radius: 4px; }
.pay-tile.soon { opacity: .75; }

/* таблицы цен */
.price-card h3 { margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.table td { padding: 12px 0; border-top: 1px solid var(--line); color: var(--soft); }
.table td:last-child { text-align: right; font-weight: 500; color: #fff; white-space: nowrap; }

/* шаги */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; overflow: hidden; min-height: 200px; padding: 24px; display: flex;
  flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.steps li::before { content: "0" counter(step); font-size: 32px; line-height: 1; letter-spacing: -0.03em; color: var(--accent);
  margin-bottom: auto; padding-bottom: 28px; }
.step-ic { position: absolute; top: 24px; right: 24px; width: 28px; height: 28px; color: rgba(255, 255, 255, .28);
  transition: color .3s ease, scale .35s var(--ease); }
.steps li:hover .step-ic { color: #fff; scale: 1.12; }
.steps b { display: block; font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.steps span { color: var(--soft); font-size: 15px; }

/* вопросы */
details { border: 1px solid var(--line); border-radius: 20px; background: var(--glass); margin-bottom: 10px; }
summary { padding: 20px 56px 20px 24px; cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 50%; translate: 0 -50%; font-size: 26px; font-weight: 300;
  color: var(--soft); }
summary::after { transition: rotate .35s var(--ease), color .2s ease; }
details[open] summary::after { rotate: 45deg; color: #fff; }
details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
details[open]::details-content { height: auto; }
details:hover { background: var(--glass-2); }
details[open] { border-color: var(--line-2); }
details p { padding: 0 24px 20px; margin: 0; color: var(--soft); }

/* баннер с ботом */
.banner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: 56px 48px; min-height: 380px;
  background: linear-gradient(100deg, rgba(30, 96, 240, .85) 0%, rgba(12, 36, 110, .55) 38%, rgba(255, 255, 255, .03) 70%); }
.banner-art { display: grid; place-items: center; }
.orbit-art { width: min(320px, 100%); height: auto; overflow: visible; filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .45)); }
.orbit { transform-box: view-box; transform-origin: 160px 160px; animation: spin 26s linear infinite; }
.orbit-b { animation-duration: 38s; animation-direction: reverse; }
.star-float { transform-box: view-box; transform-origin: 160px 160px; animation: float 6s ease-in-out infinite; }
.twinkle { animation: twinkle 3.2s ease-in-out infinite; }
.twinkle.t2 { animation-delay: 1.1s; }
.twinkle.t3 { animation-delay: 2s; }
.banner h2 { font-size: clamp(22px, 2.6vw, 32px); }
.dots { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; color: rgba(255, 255, 255, .9); }
.dots li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  margin-right: 14px; vertical-align: middle; }

/* заказ */
.progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 0 0 22px;
  counter-reset: p; }
.progress li { position: relative; padding-top: 16px; font-size: 13px; color: var(--muted); transition: color .4s ease; }
.progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 999px;
  background: var(--glass-2); transition: background-color .5s ease, box-shadow .5s ease; }
.progress li.reached { color: var(--text); }
.progress li.reached::before { background: var(--accent); box-shadow: 0 0 14px rgba(35, 136, 255, .55); }
.progress li.current::before { animation: pulse-bar 1.8s ease-in-out infinite; }
[data-state="done"] .progress li.reached::before { background: var(--ok); box-shadow: 0 0 14px rgba(61, 220, 151, .45); }
.recipient { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 8px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--line); }
.recipient > div { display: grid; line-height: 1.3; min-width: 0; }
.recipient .muted { font-size: 13px; }
.recipient b { font-size: 18px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.summary .sum dd { font-size: 22px; letter-spacing: -0.02em; }
.summary dd .pic { margin-right: 8px; border-radius: 5px; }
.warn, .safe { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.warn { color: #ffd98a; padding: 12px 14px; border-radius: 14px; background: rgba(255, 200, 61, .08);
  border: 1px solid rgba(255, 200, 61, .25); margin: 0 0 14px; }
.safe { color: var(--muted); margin: 14px 0 0; }
.warn .ic, .safe .ic { margin-top: 1px; }
.safe .ic { color: var(--ok); }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.order-actions .btn { flex: 1 1 auto; border: 1px solid var(--line); }
.order-actions .btn.subtle { flex: 0 1 auto; color: var(--muted); border-color: transparent; }
.order-actions .btn:disabled { opacity: .6; cursor: wait; }
.note { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--soft);
  background: var(--glass-2); animation: rise .35s var(--ease) both; }
.transfer code { transition: color .2s ease; }
.transfer code.copied { color: var(--ok); }
.transfer code.copied::after { content: "  ✓ скопировано"; font-family: var(--font); }
.last-order { display: flex; align-items: center; gap: 10px; padding: 11px 14px; margin-bottom: 14px; border-radius: 14px;
  font-size: 14px; color: #ffd98a; background: rgba(255, 200, 61, .08); border: 1px solid rgba(255, 200, 61, .25);
  animation: rise .5s var(--ease) both; transition: background-color .25s ease; }
.last-order:hover { text-decoration: none; background: rgba(255, 200, 61, .14); }
.last-order span { flex: 1; }
.last-order b { font-weight: 500; color: #fff; }
.widget .safe { margin: 12px 0 0; justify-content: center; }
.order-page { min-height: 62vh; padding-top: 24px; }
.order { background: rgba(8, 10, 22, .72); border-color: var(--line-2); }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.order-head h1 { font-size: 24px; line-height: 1.2; }
.badge { padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--glass-2); color: var(--soft); }
.badge { display: inline-flex; align-items: center; gap: 8px; transition: background-color .4s ease, color .4s ease; }
[data-state="pending"] .badge { background: rgba(255, 200, 61, .14); color: #ffc83d; }
[data-state="pending"] .badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  animation: pulse 1.6s ease-in-out infinite; }
.state:not([hidden]) { animation: rise .5s var(--ease) both; }
.big .ic { width: 28px; height: 28px; color: var(--ok); margin-right: 10px; vertical-align: -0.25em; }
.order dd .ic { margin-right: 6px; }
[data-state="paid"] .badge, [data-state="done"] .badge { background: rgba(61, 220, 151, .15); color: var(--ok); }
.summary { margin: 0 0 20px; }
.summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.summary > div:first-child { border-top: 0; }
.summary dt { color: var(--soft); flex: none; }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.state p { margin-top: 14px; }
.big { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin: 6px 0 4px; }
.transfer { margin-top: 18px; padding: 16px 18px 2px; border: 1px dashed var(--line-2); border-radius: 18px; }
.transfer code { cursor: pointer; }

/* документы */
.doc { padding-top: 24px; }
.doc h1 { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15; margin-bottom: 12px; }
.doc h2 { font-family: var(--font); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 34px 0 12px; scroll-margin-top: 96px;
  color: #fff; background: none; padding: 0; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 22px; margin: 0 0 12px; }

/* подвал */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 28px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col h4 { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.foot-col .muted + a { margin-top: 6px; }
.foot-col a { color: rgba(255, 255, 255, .8); transition: color .2s ease; }
.foot-col a:hover { color: #fff; }
.foot-col p { margin: 6px 0 0; font-size: 14px; }
.footer-seller { margin-top: 28px; font-size: 14px; }
.footer-seller:empty { display: none; }
.footer-seller h4 { font-size: 14px; color: var(--muted); font-weight: 500; margin: 0 0 6px; }
.footer-seller p { margin: 0; }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-bottom p { margin: 0; }

/* плавность: появление блоков, первый экран, фон */
.hero-text > *, .widget, .order, .doc .wrap > * { animation: rise .8s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
.widget { animation-delay: .18s; }
.doc .wrap > * { animation-duration: .6s; }
body::before { animation: drift 18s ease-in-out infinite alternate; }

[data-reveal] { transition: opacity .8s var(--ease) var(--d, 0ms), translate .8s var(--ease) var(--d, 0ms),
  transform .3s var(--ease), border-color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.js [data-reveal] { opacity: 0; translate: 0 28px; }
.js [data-reveal].in { opacity: 1; translate: 0 0; }
.feature:hover, .price-card:hover, .steps li:hover { transform: translateY(-5px); border-color: var(--line-2); }
.glow::after { transition: inset .45s var(--ease), opacity .45s ease; opacity: .85; }
.glow:hover::after { inset: 25% 0 0 0; opacity: 1; }

@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes drift { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(-6px) rotate(-3deg); } 50% { transform: translateY(8px) rotate(3deg); } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes pulse-bar { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes pulse { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .7; } }
@keyframes pop { from { scale: .7; } to { scale: 1; } }
@keyframes shake { 0%, 100% { translate: 0 0; } 25% { translate: -5px 0; } 75% { translate: 5px 0; } }

@media (max-width: 960px) {
  .header { translate: 0 20px; }
  .header-row { grid-template-columns: 1fr auto; gap: 12px; }
  .burger, .mobile-nav { display: grid; }
  main { padding-top: 92px; }
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions { display: none; }  /* форма заказа сразу под заголовком; бот — в шапке */
  .lead { margin-bottom: 20px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .banner { grid-template-columns: 1fr; padding: 36px 28px; }
  .banner-art { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .hero { padding: 16px 0 24px; }
  .grid-4, .grid-2, .steps, .footer-grid { grid-template-columns: 1fr; }
  .feature, .steps li { min-height: 0; }
  .feature p:last-child { margin-top: 18px; }
  .widget { padding: 16px; }
  .card { padding: 20px; }
  .banner { padding: 28px 20px; }
  .header-row { height: 56px; }
  .header.scrolled .header-row, .header.open .header-row { padding: 0 6px 0 16px; }
  .header-row .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .header-row .btn .ic { display: none; }
  .logo { font-size: 15px; }
  .total b { font-size: 26px; }
  .presets { gap: 6px; }
  .preset b { font-size: 13px; }
  .preset span { font-size: 11px; }
  summary { font-size: 16px; padding: 16px 48px 16px 18px; }
  details p { padding: 0 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: 0 0; }
}
