@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text-primary); }
body {
  font-family: "Manrope", -apple-system, system-ui, sans-serif;
  font-size: var(--fs-15);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.page {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--sp-16) var(--gutter) var(--sp-24);
}

.head { margin-bottom: var(--sp-16); }
.head__author { display: inline-flex; align-items: center; gap: var(--sp-10); text-decoration: none; }
.head__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.head__names { display: flex; flex-direction: column; }
.head__name { font-size: var(--fs-16); font-weight: var(--fw-500); }
.head__sub { font-size: var(--fs-12); color: var(--text-tertiary); }

.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-24); }
.col { min-width: 0; }

.step {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  margin: 0 0 var(--sp-10);
  font-size: var(--fs-16);
  font-weight: var(--fw-500);
}
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg);
  font-size: var(--fs-12);
  font-weight: var(--fw-600);
}

.plans { display: flex; flex-direction: column; gap: var(--sp-8); }
.plan {
  position: relative;
  display: block;
  width: 100%;
  padding: var(--sp-12) var(--sp-14);
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: opacity var(--dur-press);
}
.plan > :not(.plan__mark) { position: relative; }
.plan[aria-checked="true"] {
  background: var(--card-dark);
  border-color: var(--card-dark);
  color: var(--on-dark);
}
.plan[aria-checked="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/brand-pattern.svg") center / cover no-repeat;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 34%, transparent 66%, #000);
  mask-image: linear-gradient(to bottom, #000, transparent 34%, transparent 66%, #000);
  pointer-events: none;
}
.plan[aria-checked="true"] .plan__old { color: var(--on-dark-quiet); }
.plan[aria-checked="true"] .plan__fact,
.plan[aria-checked="true"] .plan__list { color: var(--on-dark-soft); }
.plan__title { font-size: var(--fs-15); font-weight: var(--fw-500); padding-right: var(--sp-40); }
.plan__price { margin-top: var(--sp-4); font-size: var(--fs-15); }
.plan__old { margin-right: var(--sp-8); color: var(--text-tertiary); font-weight: var(--fw-400); text-decoration: line-through; }
.plan__fact { margin-top: var(--sp-4); font-size: var(--fs-13); color: var(--text-secondary); }
.plan__mark {
  position: absolute;
  top: var(--sp-12);
  right: var(--sp-12);
  width: 22px;
  height: 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.plan[aria-checked="true"] .plan__mark,
.check[aria-checked="true"] .check__box {
  background: var(--accent) url("/check.svg") center / 70% no-repeat;
  border-color: var(--accent);
}
.plan[aria-checked="true"] .plan__mark {
  background: var(--on-dark) url("/check-dark.svg") center / 70% no-repeat;
  border-color: var(--on-dark);
}
.plan__incl { margin-top: var(--sp-10); }
.plan__incl-title { margin: 0 0 var(--sp-4); font-size: var(--fs-13); font-weight: var(--fw-500); }
.plan__list { margin: 0; padding: 0; list-style: none; font-size: var(--fs-13); color: var(--text-secondary); }

.promo { margin-top: var(--sp-10); }
.promo__label { display: block; margin-bottom: var(--sp-4); font-size: var(--fs-13); color: var(--text-secondary); }
.promo__row { position: relative; }
.promo__input { margin: 0; padding-right: 110px; text-transform: uppercase; }
.promo__apply {
  position: absolute;
  top: 0;
  right: 0;
  height: 40px;
  padding: 0 var(--sp-14);
  background: none;
  border: 0;
  color: var(--text-secondary);
  font-size: var(--fs-14);
}

.hint { display: flex; align-items: center; gap: var(--sp-6); margin: 0 0 var(--sp-6); font-size: var(--fs-12); color: var(--text-secondary); }
.hint::before {
  content: "!";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  line-height: 14px;
  text-align: center;
}
.field {
  display: block;
  width: 100%;
  height: 40px;
  margin-bottom: var(--sp-6);
  padding: 0 var(--sp-14);
  font-size: var(--fs-16);
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  outline: none;
}
.field:focus { border-color: var(--border-soft); }
.field::placeholder { color: var(--text-tertiary); }
.field--bad { border-color: var(--error); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.note { margin: var(--sp-6) 0 0; font-size: var(--fs-13); color: var(--text-secondary); }
.note:empty { display: none; }
.note--error { color: var(--error); }

.today { margin: var(--sp-6) 0; font-size: var(--fs-13); color: var(--text-body); }
.today b { font-weight: var(--fw-800); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wallets:empty { display: none; }
.or {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  margin: var(--sp-6) 0;
  font-size: var(--fs-12);
  color: var(--text-tertiary);
}
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border-subtle); }
.card:empty { display: none; }
.card {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 var(--sp-10);
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card > * { width: 100%; }
.off {
  margin: 0;
  padding: var(--sp-14);
  font-size: var(--fs-14);
  color: var(--text-tertiary);
  text-align: center;
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius);
}

.cta {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: var(--sp-8);
  font-size: var(--fs-15);
  font-weight: var(--fw-500);
  background: var(--cta-bg);
  color: var(--cta-text);
  border: 0;
  border-radius: var(--radius);
  transition: opacity var(--dur-press);
}
.cta:disabled { opacity: 0.4; cursor: default; }
.cta:active:not(:disabled) { opacity: 0.8; }

.terms { margin: var(--sp-6) 0 0; font-size: var(--fs-11); color: var(--text-tertiary); text-align: center; }
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  width: 100%;
  margin-top: var(--sp-8);
  padding: 0;
  font-size: var(--fs-13);
  color: var(--text-secondary);
  text-align: left;
  background: none;
  border: 0;
}
.check__box {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.secure { display: flex; align-items: center; justify-content: center; gap: var(--sp-8); margin: var(--sp-6) 0 0; font-size: var(--fs-11); color: var(--text-body); }
.secure img { width: 16px; height: 16px; }

.foot {
  padding: var(--sp-32) var(--gutter) var(--sp-40);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-13);
  color: var(--text-secondary);
}
.foot__in { max-width: 976px; margin: 0 auto; text-align: center; }
.foot__links { margin-bottom: var(--sp-20); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-10) var(--sp-20); margin-bottom: var(--sp-10); }
.foot__links a { color: var(--text-primary); text-underline-offset: 3px; }
.foot p { margin: 0 0 var(--sp-4); }

.doc {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-32) var(--gutter) var(--sp-48);
  font-size: var(--fs-15);
  line-height: 1.55;
  color: var(--text-body);
}
.doc h1 { margin: 0 0 var(--sp-20); font-size: var(--fs-24); font-weight: var(--fw-800); line-height: 1.25; color: var(--text-head); }
.doc h2 { margin: var(--sp-32) 0 var(--sp-10); font-size: var(--fs-18); font-weight: var(--fw-800); line-height: 1.3; color: var(--text-head); }
.doc h3 { margin: var(--sp-20) 0 var(--sp-8); font-size: var(--fs-16); font-weight: var(--fw-800); color: var(--text-head); }
.doc p { margin: 0 0 var(--sp-12); }
.doc ul { margin: 0 0 var(--sp-12); padding-left: var(--sp-20); }
.doc li { margin-bottom: var(--sp-6); }
.doc table { width: 100%; margin: 0 0 var(--sp-16); border-collapse: collapse; font-size: var(--fs-13); }
.doc th, .doc td { padding: var(--sp-8); text-align: left; vertical-align: top; border: 1px solid var(--line); }
.doc th { font-weight: var(--fw-800); background: var(--bg-elevated); }

.thanks-body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.thanks {
  flex: 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: var(--sp-48) var(--gutter) var(--sp-32);
  text-align: center;
}
.thanks__ok {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-20);
  border-radius: 50%;
  background: var(--ok) url("/check.svg") center / 58% no-repeat;
}
.thanks__title { margin: 0 0 var(--sp-12); font-size: var(--fs-22); font-weight: var(--fw-800); color: var(--text-head); }
.thanks__text { margin: 0 0 var(--sp-20); font-size: var(--fs-15); color: var(--text-body); }
.thanks__cta, .bio__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  height: 48px;
  font-size: var(--fs-16);
  font-weight: var(--fw-600);
  text-decoration: none;
  background: var(--cta-bg);
  color: var(--cta-text);
  border-radius: var(--radius);
}
.thanks__cta { width: 240px; margin: 0 auto; }
.thanks__cta::before { content: ""; width: 18px; height: 18px; background: url("/apple.svg") center / contain no-repeat; }
.bio__cta { border-radius: 24px; }
.thanks__charge { margin: var(--sp-14) 0 0; font-size: var(--fs-13); color: var(--text-secondary); }
.thanks__box {
  margin-top: var(--sp-24);
  padding: var(--sp-16);
  text-align: left;
  background: var(--warn-bg);
  border: 1px solid var(--warn);
  border-radius: var(--radius);
}
.thanks__box p { margin: 0; font-size: var(--fs-14); color: var(--text-body); }
.thanks__box .thanks__box-title { display: flex; align-items: center; gap: var(--sp-8); margin-bottom: var(--sp-8); font-size: var(--fs-16); font-weight: var(--fw-600); color: var(--warn); }
.thanks__box .thanks__box-title::before {
  content: "!";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--warn);
  color: var(--bg);
  font-size: var(--fs-13);
  line-height: 20px;
  text-align: center;
}
.thanks__box .thanks__box-mail { margin-bottom: var(--sp-8); font-size: var(--fs-16); font-weight: var(--fw-600); color: var(--text-head); word-break: break-all; }
.thanks__faq { margin-top: var(--sp-20); text-align: left; }
.faq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: var(--sp-12);
  padding: var(--sp-14) var(--sp-16);
  font-size: var(--fs-14);
  font-weight: var(--fw-600);
  color: var(--text-head);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.faq i { font-style: normal; font-size: var(--fs-18); line-height: 1; }
.faq i::before { content: "+"; }
.faq[aria-expanded="true"] i::before { content: "-"; }
.faq__body { padding: var(--sp-10) var(--sp-16) 0; font-size: var(--fs-14); color: var(--text-secondary); }
.thanks__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-8) var(--sp-16);
  padding: var(--sp-16) var(--gutter) var(--sp-24);
  font-size: var(--fs-12);
  color: var(--text-tertiary);
}

.promo-body {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 18vh;
  overflow: hidden;
  background: var(--card-dark);
}
.bio__bg {
  position: fixed;
  inset: -40px;
  background: url("/avatar.jpg") center / cover no-repeat;
  filter: blur(28px);
  opacity: 0.8;
}
.bio {
  position: relative;
  width: calc(100% - var(--sp-48));
  max-width: 340px;
  padding: var(--sp-32) var(--sp-24);
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius-sheet);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.bio__avatar { width: 72px; height: 72px; margin-bottom: var(--sp-14); border-radius: var(--radius-sheet); object-fit: cover; }
.bio__name { margin: 0; font-size: var(--fs-22); font-weight: var(--fw-800); color: var(--text-head); }
.bio__role { margin: var(--sp-4) 0 var(--sp-24); font-size: var(--fs-14); color: var(--text-secondary); }
.bio__foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6) var(--sp-14);
  padding: var(--sp-12) var(--gutter) var(--sp-16);
  font-size: var(--fs-11);
  color: var(--on-dark-soft);
}
.bio__handle { display: inline-flex; align-items: center; gap: var(--sp-6); margin-top: var(--sp-16); font-size: var(--fs-14); color: var(--text-body); text-decoration: none; }
.bio__handle::before { content: ""; width: 16px; height: 16px; background: url("/instagram.svg") center / contain no-repeat; }

.sandbox {
  padding: var(--sp-8) var(--gutter);
  font-size: var(--fs-13);
  font-weight: var(--fw-600);
  text-align: center;
  background: #FFE9A8;
  color: #4A3B00;
}

@media (max-width: 859px) {
  :root { --gutter: 16px; }
  .head { margin-bottom: var(--sp-20); }
  .head__author { gap: var(--sp-12); }
  .head__avatar { width: 64px; height: 64px; }
  .head__name { font-size: var(--fs-18); font-weight: var(--fw-600); }
  .head__sub { font-size: var(--fs-13); }
  .cols { gap: var(--sp-32); }
  .step { gap: var(--sp-10); margin-bottom: var(--sp-16); font-size: var(--fs-18); font-weight: var(--fw-600); }
  .plans { gap: var(--sp-16); }
  .plan { padding: var(--sp-16); }
  .plan__title, .plan__price { font-size: var(--fs-16); }
  .plan__price { margin-top: var(--sp-6); }
  .plan__fact { margin-top: var(--sp-6); font-size: var(--fs-14); }
  .plan__mark { top: var(--sp-16); right: var(--sp-16); width: 28px; height: 28px; }
  .plan__incl { margin-top: var(--sp-20); }
  .plan__incl-title { margin-bottom: var(--sp-8); font-size: var(--fs-15); font-weight: var(--fw-600); }
  .plan__list { font-size: var(--fs-14); }
  .promo { margin-top: var(--sp-16); }
  .promo__label { margin-bottom: var(--sp-8); font-size: var(--fs-16); color: var(--text-primary); }
  .promo__apply { height: 44px; }
  .hint { margin-bottom: var(--sp-10); font-size: var(--fs-13); }
  .field { height: 44px; margin-bottom: var(--sp-10); }
  .card { height: 44px; }
  .today { margin: var(--sp-12) 0; font-size: var(--fs-14); }
  .or { margin: var(--sp-12) 0; font-size: var(--fs-13); }
  .cta { height: 48px; margin-top: var(--sp-12); font-size: var(--fs-16); }
  .terms { margin-top: var(--sp-10); font-size: var(--fs-12); }
  .check { margin-top: var(--sp-12); font-size: var(--fs-14); }
  .check__box { width: 22px; height: 22px; }
  .secure { margin-top: var(--sp-10); font-size: var(--fs-12); }
}

@media (min-width: 860px) {
  .page { max-width: 984px; padding: var(--sp-35) var(--gutter) var(--sp-40); color: var(--text-body); }
  .head { margin-bottom: var(--sp-35); }
  .head__author { gap: var(--sp-12); }
  .head__avatar { width: 64px; height: 64px; }
  .head__name { font-size: var(--fs-22); font-weight: var(--fw-800); }
  .head__sub { font-size: var(--fs-12); color: var(--text-tertiary); }
  .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .step { gap: var(--sp-10); margin-bottom: var(--sp-20); font-size: var(--fs-18); font-weight: var(--fw-800); line-height: 22px; color: var(--text-head); }
  .step__n { flex: none; width: 22px; height: 22px; font-size: var(--fs-12); font-weight: var(--fw-800); }
  .plans { gap: var(--sp-16); }
  .plan { padding: var(--sp-16); font-size: var(--fs-17); line-height: 26px; }
  .plan__title, .plan__price { font-size: var(--fs-17); font-weight: var(--fw-800); }
  .plan__price { margin-top: 0; }
  .plan__fact { margin-top: 0; font-size: var(--fs-17); }
  .plan__mark { top: var(--sp-16); right: var(--sp-16); width: 30px; height: 30px; }
  .plan__incl { margin-top: var(--sp-31); }
  .plan__incl-title { margin-bottom: var(--sp-10); font-size: var(--fs-17); font-weight: var(--fw-700); line-height: 17px; }
  .plan__list { font-size: var(--fs-17); line-height: 26px; }
  .promo { margin-top: var(--sp-19); }
  .promo__label { margin-bottom: var(--sp-16); font-size: var(--fs-17); line-height: 17px; color: var(--text-head); }
  .promo__input { padding-right: 130px; }
  .promo__apply { height: 40px; padding: 0 var(--sp-10); font-size: var(--fs-17); font-weight: var(--fw-700); color: rgba(0, 0, 0, 0.4); }
  .hint { margin-bottom: var(--sp-14); font-size: var(--fs-14); line-height: 17px; }
  .field { height: 40px; margin-bottom: var(--sp-16); padding: 0 var(--sp-10); font-size: var(--fs-14); font-weight: var(--fw-600); }
  .today { margin: var(--sp-61) 0 var(--sp-31); font-size: var(--fs-12); line-height: 15px; }
  .wallets { margin-bottom: var(--sp-24); }
  .or { margin: 0 0 var(--sp-24); font-size: var(--fs-17); line-height: 20px; }
  .card { height: 41px; }
  .cta { height: 40px; margin-top: var(--sp-9); font-size: var(--fs-17); font-weight: var(--fw-400); border-radius: var(--radius-cta); }
  .terms { margin-top: var(--sp-35); font-size: var(--fs-12); line-height: 15px; color: var(--text-body); }
  .terms--accept { margin-top: var(--sp-18); font-size: var(--fs-14); line-height: 20px; }
  .check { justify-content: flex-start; gap: var(--sp-8); margin-top: var(--sp-9); font-size: var(--fs-17); line-height: 20px; color: var(--text-body); }
  .check__box { width: 20px; height: 20px; }
  .secure { margin-top: var(--sp-10); font-size: var(--fs-14); line-height: 22px; }
  .secure + .secure { margin-top: 1px; }
  .foot__in { max-width: 940px; }
}
