:root {
  --page: #f1f2f7;
  --hero: #e9e9f7;
  --card: #ffffff;
  --text: #202126;
  --muted: #6f7580;
  --line: #dfe2ea;
  --violet: #8c88ff;
  --violet-dark: #3c386f;
  --violet-soft: #f0f0ff;
  --red: #ff3b44;
  --green: #5dd7c7;
  --orange: #db6130;
  --radius-xl: 38px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(33, 35, 52, 0.08);
  --shell: min(1264px, calc(100vw - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--page);
  font-family: "Manrope", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: 68px;
  font-weight: 600;
  line-height: 1.02;
}

h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.12;
}

h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.18;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  margin: 16px auto 0;
  width: var(--shell);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 74px;
  padding: 0 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand__wordmark {
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.brand__wordmark::first-letter {
  color: inherit;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a + a::before {
  content: "";
  position: absolute;
  left: -15px;
  width: 1px;
  height: 22px;
  background: var(--line);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 3px;
  border-radius: 999px;
  background: var(--violet);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--large {
  min-height: 64px;
  padding-inline: 40px;
  border-radius: 18px;
}

.button--primary {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 14px 30px rgba(140, 136, 255, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #7d78f4;
}

.button--secondary,
.button--ghost {
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
}

.hero {
  margin-top: -90px;
  overflow: hidden;
  background: var(--hero);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  gap: 36px;
  align-items: center;
  min-height: 700px;
  padding: 170px 0 150px;
}

.hero__lead {
  max-width: 760px;
  margin-top: 24px;
  color: #282a30;
  font-size: 23px;
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 110px;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.phone-mockup {
  position: absolute;
  right: 8px;
  top: 44px;
  width: 274px;
  height: 390px;
  border: 12px solid rgba(39, 40, 54, 0.18);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46));
  transform: rotate(14deg);
}

.phone-mockup__bar {
  width: 58px;
  height: 8px;
  margin: 18px auto;
  border-radius: 999px;
  background: rgba(42, 43, 52, 0.14);
}

.phone-mockup__brand,
.phone-mockup__balance {
  display: none;
}

.small-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 42px;
  height: 76px;
  border-radius: 14px;
  background: rgba(140, 136, 255, 0.16);
}

.small-card span,
.small-card strong,
.phone-mockup__rows {
  display: none;
}

.virtual-card {
  position: absolute;
  right: 56px;
  top: 60px;
  z-index: 2;
  width: 300px;
  height: 210px;
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #8d89ff 0%, #7a74e8 76%);
  box-shadow: 0 24px 60px rgba(59, 55, 124, 0.2);
  transform: rotate(17deg);
}

.virtual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: auto, 22px 100%;
}

.virtual-card::after {
  content: "→";
  position: absolute;
  right: 36px;
  top: 68px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #827cff;
  background: rgba(255, 255, 255, 0.8);
  font-size: 54px;
  font-weight: 800;
  transform: rotate(-18deg);
}

.virtual-card__top,
.virtual-card__number,
.virtual-card__bottom {
  position: relative;
  z-index: 1;
}

.virtual-card__brand {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.virtual-card__chip {
  position: absolute;
  left: 0;
  top: 34px;
  width: 58px;
  height: 42px;
  border-radius: 4px;
  background: #fff;
}

.virtual-card__chip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--red);
}

.virtual-card__number {
  display: none;
}

.virtual-card__bottom {
  position: absolute;
  right: 22px;
  bottom: 18px;
}

.virtual-card__bottom span {
  color: rgba(255, 255, 255, 0.72);
}

.virtual-card__bottom strong {
  color: #fff;
  font-size: 28px;
  text-transform: uppercase;
}

.hero__visual::before {
  content: "5";
  position: absolute;
  left: 0;
  bottom: 58px;
  color: rgba(112, 107, 197, 0.22);
  font-size: 210px;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-16deg);
}

.hero__visual::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 34px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #706be7;
  box-shadow: 108px -78px 0 -8px var(--red);
}

.hero-facts {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: -112px;
  padding: 38px 34px;
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

.metric-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 22px;
  min-height: 132px;
  padding: 0 34px 32px 0;
}

.metric-card:nth-child(n + 4) {
  padding-top: 32px;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
}

.metric-card:not(:nth-child(3n)) {
  border-right: 1px solid var(--line);
}

.metric-card:not(:nth-child(3n + 1)) {
  padding-left: 34px;
}

.metric-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f1f2f8;
}

.metric-card__icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--violet);
}

.metric-card__icon--fill {
  background: linear-gradient(135deg, #8c88ff, #a49fff);
}

.metric-card__icon--fill::before {
  background: #fff;
}

.metric-card strong {
  display: block;
  color: var(--text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
}

.metric-card > span:last-child {
  grid-column: 2;
  color: #30323a;
  font-size: 16px;
  line-height: 1.4;
}

.section-tabs {
  display: flex;
  gap: 34px;
  padding: 52px 0 44px;
}

.section-tabs a {
  position: relative;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.section-tabs a.is-active,
.section-tabs a:hover {
  color: var(--text);
}

.section-tabs a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 3px;
  background: var(--violet);
}

.section {
  padding: 54px 0;
}

.section--split {
  padding-top: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.section-copy,
.order-panel,
.cashback-strip,
.cashback-tile,
.benefit-card,
.info-card,
.tariff-table,
.faq-panel,
.app-section__inner,
.document-panel,
.office-map,
.office-panel {
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: none;
}

.section-copy,
.order-panel {
  padding: 36px;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 28px;
  min-height: 116px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 58px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.step-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--text);
  background: #f1f2f8;
  font-size: 24px;
  font-weight: 800;
}

.step-card strong {
  align-self: end;
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
}

.step-card p {
  grid-column: 2;
  color: var(--muted);
  font-size: 16px;
}

.order-panel {
  display: grid;
  align-content: space-between;
}

.order-panel h3 {
  font-size: 38px;
  font-weight: 600;
}

.order-panel__lead {
  max-width: 560px;
  margin-top: 82px;
  color: #3d4048;
  font-size: 17px;
}

.order-panel > .button {
  justify-self: end;
  margin-top: 28px;
  min-width: 210px;
}

.lead-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.lead-form label {
  display: grid;
  gap: 12px;
}

.lead-form label > span {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.lead-form input {
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid #cfd3df;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.lead-form input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(140, 136, 255, 0.16);
}

.lead-form__note {
  color: #444750;
  font-size: 15px;
}

.lead-form__note a {
  color: #3f78ff;
}

.lead-form__status {
  min-height: 22px;
  color: #27a667;
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head p {
  margin-top: 10px;
  color: #2d3038;
  font-size: 18px;
}

.eyebrow {
  display: none;
}

.cashback-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.cashback-board {
  overflow: hidden;
  padding: 34px 34px 38px;
  border-radius: var(--radius-xl);
  background: var(--card);
}

.cashback-board__head {
  display: grid;
  gap: 4px;
}

.cashback-board__head span {
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
}

.cashback-board__head strong {
  color: #33363f;
  font-size: 18px;
  font-weight: 500;
}

.cashback-grid {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  overflow: hidden;
}

.cashback-grid article {
  display: grid;
  grid-template-columns: 54px minmax(190px, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 270px;
  min-height: 88px;
  padding: 16px;
  border-radius: 18px;
  background: #f0f1f6;
}

.cashback-grid article::before {
  content: "";
  grid-row: span 2;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--violet);
}

.cashback-grid article:nth-child(2)::before {
  background: var(--green);
}

.cashback-grid article:nth-child(3)::before {
  background: var(--orange);
}

.cashback-grid article:nth-child(4)::before {
  background: #48a84d;
}

.cashback-grid strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.cashback-grid span {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.cashback-grid small {
  grid-column: 2;
  margin-top: -12px;
  color: var(--muted);
  font-size: 14px;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1.08fr 1.08fr 1fr;
  gap: 32px;
}

.benefit-card {
  min-height: 250px;
  padding: 34px;
  overflow: hidden;
}

.benefit-card:first-child {
  min-height: 520px;
  color: #fff;
  background: var(--violet);
}

.benefit-card:first-child strong,
.benefit-card:first-child p {
  color: #fff;
}

.benefit-card:nth-child(2) {
  min-height: 520px;
  background: var(--hero);
}

.benefit-card:nth-child(3),
.benefit-card:nth-child(4) {
  min-height: 244px;
}

.benefit-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.14;
}

.benefit-card p {
  color: #2e3037;
  font-size: 18px;
}

.section--light {
  background: transparent;
}

.info-grid,
.article-columns {
  display: none;
}

.promo-section {
  padding-top: 20px;
}

.promo-premium {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.45fr) minmax(420px, 0.92fr);
  gap: 28px;
  min-height: 390px;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #7169db 0%, #9da4ff 100%);
}

.promo-premium__copy {
  position: relative;
  z-index: 2;
  color: #fff;
}

.promo-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
}

.promo-icon::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
}

.promo-premium h2 {
  color: #fff;
  font-size: 46px;
}

.promo-premium p {
  margin-top: 22px;
  color: #fff;
  font-size: 22px;
}

.promo-premium__visual {
  position: relative;
  min-height: 320px;
}

.promo-premium__visual span {
  position: absolute;
  left: -40px;
  top: 30px;
  width: 240px;
  height: 240px;
  border-radius: 52px;
  background: linear-gradient(135deg, #e6f0ff, #f2c1ff);
  border: 4px solid rgba(73, 102, 226, 0.45);
  transform: rotate(-26deg);
  box-shadow: 0 22px 45px rgba(45, 52, 126, 0.22);
}

.promo-premium__visual span::before,
.promo-premium__visual span::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 52px;
}

.promo-premium__visual span::before {
  width: 116px;
  height: 190px;
  left: 62px;
  top: -82px;
}

.promo-premium__visual span::after {
  width: 116px;
  height: 190px;
  left: 62px;
  bottom: -82px;
}

.promo-premium__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-self: stretch;
  padding: 56px;
  border-radius: 30px;
  background: #fff;
}

.promo-premium__panel article {
  display: grid;
  align-content: start;
  gap: 10px;
}

.promo-premium__panel strong {
  color: var(--text);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.promo-premium__panel span {
  color: #2c2f36;
  font-size: 19px;
  line-height: 1.36;
}

.promo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.promo-card,
.product-card {
  position: relative;
  min-height: 360px;
  padding: 42px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--hero);
}

.promo-card h2,
.product-card h2 {
  position: relative;
  z-index: 2;
  font-size: 40px;
}

.promo-card p,
.product-card p {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin-top: 22px;
  color: #2f323a;
  font-size: 24px;
}

.promo-card .button,
.product-card .button {
  position: absolute;
  left: 42px;
  bottom: 36px;
  z-index: 2;
  background: #fff;
  color: var(--text);
}

.promo-card__object {
  position: absolute;
  right: 42px;
  bottom: 0;
}

.promo-card__object--stack {
  width: 190px;
  height: 190px;
  border-radius: 42px;
  background: linear-gradient(135deg, #8c88ff, #655fce);
  box-shadow:
    28px -28px 0 -12px #ed534b,
    54px -54px 0 -22px #9da4ff;
}

.promo-card__object--stack::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 18px solid #fff;
  border-radius: 10px;
}

.promo-card__object--phone {
  width: 270px;
  height: 190px;
  border-radius: 34px;
  background: #fff;
  border: 8px solid rgba(63, 70, 101, 0.1);
  transform: rotate(-16deg);
  box-shadow: 0 28px 48px rgba(55, 55, 98, 0.18);
}

.promo-card__object--phone::before {
  content: "";
  position: absolute;
  right: -26px;
  top: -40px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #3f3d77;
}

.promo-card__object--phone::after {
  content: "";
  position: absolute;
  left: 58px;
  bottom: 24px;
  width: 92px;
  height: 48px;
  border-radius: 14px;
  background: var(--violet);
  box-shadow: 110px 0 0 var(--red);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.product-card {
  min-height: 340px;
  background: #fff;
}

.product-card--big {
  grid-row: span 2;
  min-height: 720px;
}

.product-card--dark {
  color: #fff;
  background: linear-gradient(135deg, #333462, #7f7aba);
}

.product-card--dark h2,
.product-card--dark p {
  color: #fff;
}

.product-card--deposit strong {
  position: absolute;
  right: 60px;
  top: 170px;
  color: var(--red);
  font-size: 80px;
  font-weight: 800;
}

.product-card__premium {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 330px;
  height: 220px;
  background: linear-gradient(135deg, #dfe7ff, #7773d9);
  border-radius: 30px 0 38px 0;
}

.product-card__premium::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 34px;
  width: 190px;
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4f4f8, #a8a5ff);
  transform: rotate(8deg);
}

.product-card__card {
  position: absolute;
  right: 42px;
  bottom: 18px;
  width: 430px;
  height: 290px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 72% 22%, #fff 0 26%, transparent 27%),
    linear-gradient(135deg, #8985ff, #6965df);
  transform: rotate(-16deg);
}

.product-card__card::before {
  content: "5";
  position: absolute;
  left: 140px;
  top: 34px;
  color: #fff;
  font-size: 190px;
  font-weight: 800;
  line-height: 1;
}

.app-section {
  padding: 54px 0;
}

.app-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 34px;
  min-height: 360px;
  padding: 52px 34px;
  overflow: hidden;
}

.app-section h2 {
  font-size: 46px;
}

.app-section p {
  max-width: 600px;
  margin-top: 18px;
  color: #32353d;
  font-size: 22px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 76px;
  padding: 18px;
  width: fit-content;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(33, 35, 52, 0.12);
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 12px;
  color: #fff;
  background: #202126;
  font-weight: 800;
}

.app-preview {
  position: relative;
  min-height: 320px;
}

.app-preview__screen {
  position: absolute;
  right: 190px;
  top: -48px;
  width: 280px;
  min-height: 420px;
  padding: 24px;
  border: 12px solid #fff;
  border-radius: 38px;
  background: #f5f6fb;
  box-shadow: 0 18px 48px rgba(33, 35, 52, 0.14);
}

.app-preview__top {
  display: flex;
  justify-content: space-between;
}

.app-preview__card {
  margin-top: 40px;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #b0adff);
}

.app-preview__card span,
.app-preview__card strong {
  display: block;
  color: #fff;
}

.app-preview__card strong {
  margin-top: 12px;
  font-size: 22px;
}

.app-preview__list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.app-preview__list span {
  height: 58px;
  border-radius: 16px;
  background: #fff;
}

.qr-tile {
  position: absolute;
  right: 0;
  top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 28px);
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(33, 35, 52, 0.12);
}

.qr-tile span {
  width: 28px;
  height: 28px;
  background: #0b0b0d;
}

.qr-tile span:nth-child(2n) {
  opacity: 0.22;
}

.tariff-table {
  overflow: hidden;
}

.tariff-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: center;
  min-height: 72px;
  padding: 20px 30px;
  border-top: 1px solid var(--line);
}

.tariff-row:first-child {
  border-top: 0;
}

.tariff-row--group {
  background: #f7f8fb;
}

.tariff-row--group strong {
  color: var(--text);
}

.tariff-row > span {
  color: var(--muted);
  font-weight: 700;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
}

.faq-panel {
  padding: 18px;
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.faq-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #f0f1f6;
  color: var(--muted);
  font-weight: 800;
}

.faq-tab.is-active {
  color: #fff;
  background: var(--violet);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 20px;
  background: #fff;
}

.faq-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 20px 24px;
  border: 0;
  color: var(--text);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.faq-item > button span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-item > button span::before,
.faq-item > button span::after {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  background: var(--text);
}

.faq-item > button span::after {
  transform: rotate(90deg);
}

.faq-item > button[aria-expanded="true"] span::after {
  opacity: 0;
}

.faq-item__body {
  padding: 0 24px 22px;
}

.site-footer {
  padding: 72px 0 34px;
  color: var(--muted);
  background: transparent;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 70px;
  align-items: start;
}

.brand--footer .brand__wordmark {
  color: var(--text);
}

.site-footer__brand p {
  max-width: 700px;
  margin-top: 40px;
  color: #41454e;
  font-size: 16px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 22px 56px;
}

.site-footer__nav a {
  color: var(--muted);
  font-weight: 700;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  color: var(--muted);
  font-size: 15px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 27, 36, 0.55);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 36px;
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 30px 90px rgba(16, 18, 30, 0.28);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f2f7;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}

.modal h2 {
  font-size: 34px;
}

.modal p {
  margin-top: 12px;
  font-size: 17px;
}

.lead-form--modal .button {
  width: 100%;
}

.document-main {
  padding: 90px 0;
}

.document-hero {
  max-width: 880px;
}

.document-hero p {
  margin-top: 18px;
}

.document-stack {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.document-panel {
  padding: 28px;
}

.document-panel h2 {
  font-size: 26px;
}

.document-panel h3 {
  margin-top: 24px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}

.document-prose {
  display: grid;
  gap: 14px;
}

.document-prose p {
  margin: 0;
  color: #2f323a;
  line-height: 1.72;
}

.document-list,
.document-steps {
  margin: 0;
  padding-left: 22px;
  color: #2f323a;
  line-height: 1.72;
}

.document-list li + li,
.document-steps li + li {
  margin-top: 10px;
}

.document-steps--alpha {
  list-style-type: lower-alpha;
}

.document-steps--roman {
  list-style-type: lower-roman;
  margin-top: 12px;
}

.document-list strong,
.document-prose strong {
  color: var(--text);
}

.premium-hero,
.offices-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 560px;
  margin-top: 28px;
  padding: 56px;
  border-radius: var(--radius-xl);
  background: var(--hero);
  overflow: hidden;
}

.premium-hero h1,
.offices-hero h1 {
  font-size: 58px;
}

.premium-hero p,
.offices-hero p {
  max-width: 620px;
  margin-top: 22px;
  color: #2f323a;
  font-size: 22px;
}

.premium-hero .button,
.offices-hero .button {
  margin-top: 72px;
}

.premium-hero__visual,
.offices-hero__visual {
  position: relative;
  min-height: 420px;
}

.premium-card {
  position: absolute;
  left: 70px;
  top: 78px;
  width: 330px;
  height: 210px;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #302f5f, #8c88ff);
  transform: rotate(14deg);
  box-shadow: var(--shadow);
}

.premium-card span,
.premium-card small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.premium-card strong {
  display: block;
  margin-top: 42px;
  color: #fff;
  font-size: 34px;
}

.premium-phone {
  position: absolute;
  right: 70px;
  top: 34px;
  width: 230px;
  height: 330px;
  padding: 36px;
  border: 10px solid #fff;
  border-radius: 36px;
  background: #f8f8fc;
  box-shadow: var(--shadow);
}

.premium-phone strong {
  display: block;
  margin-top: 90px;
  color: var(--violet);
  font-size: 58px;
}

.premium-phone small {
  color: var(--muted);
  font-weight: 800;
}

.premium-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--red);
}

.premium-shape--one {
  left: 20px;
  bottom: 58px;
  width: 90px;
  height: 90px;
}

.premium-shape--two {
  right: 18px;
  bottom: 30px;
  width: 66px;
  height: 66px;
  background: var(--violet);
}

.premium-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--line);
}

.premium-benefits article {
  min-height: 176px;
  padding: 34px;
  background: #fff;
}

.premium-benefits strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.18;
}

.premium-cashback {
  display: flex;
  gap: 14px;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: #fff;
}

.premium-cashback article {
  min-width: 220px;
  padding: 20px;
  border-radius: 20px;
  background: #f0f1f6;
}

.premium-cashback strong {
  display: block;
  margin-top: 16px;
  font-size: 34px;
}

.privilege-tabs {
  display: flex;
  gap: 14px;
  margin: 34px 0 18px;
}

.privilege-tabs button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.privilege-tabs .is-active {
  color: #fff;
  background: var(--violet);
}

.privilege-grid,
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.privilege-card,
.level-card {
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
}

.privilege-card--wide {
  grid-column: span 2;
  background: var(--hero);
}

.level-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--violet);
  font-weight: 800;
}

.level-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: #3d4048;
}

.office-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.office-panel {
  padding: 26px;
}

.office-filter {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.office-filter label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #3d4048;
}

.office-filter input {
  width: 18px;
  height: 18px;
  accent-color: var(--violet);
}

.office-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(140, 136, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(140, 136, 255, 0.1) 1px, transparent 1px),
    #fafbff;
  background-size: 64px 64px;
}

.office-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 8px;
  color: #fff;
  background: var(--violet);
  font-weight: 800;
  transform: rotate(-45deg);
  box-shadow: 0 12px 24px rgba(140, 136, 255, 0.28);
}

.office-pin span {
  transform: rotate(45deg);
}

.office-pin:nth-child(1) {
  left: 20%;
  top: 22%;
}

.office-pin:nth-child(2) {
  left: 52%;
  top: 34%;
  background: var(--red);
}

.office-pin:nth-child(3) {
  left: 68%;
  top: 62%;
  background: var(--green);
}

.office-pin:nth-child(4) {
  left: 35%;
  top: 70%;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="documents"] .document-hero,
body[data-page="documents"] .document-stack,
body[data-page="documents"] .document-panel {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .site-header__actions {
    position: fixed;
    left: 24px;
    right: 24px;
    display: none;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-nav {
    top: 104px;
    flex-direction: column;
    gap: 0;
    padding: 14px;
  }

  .site-nav a {
    min-height: 52px;
  }

  .site-nav a::before,
  .site-nav a::after {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header__actions {
    top: 278px;
    padding: 14px;
  }

  .site-header__actions.is-open {
    display: grid;
  }

  .hero__inner,
  .split-layout,
  .app-section__inner,
  .premium-hero,
  .offices-hero,
  .faq-layout,
  .office-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

  .hero-facts,
  .premium-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card {
    border-right: 0 !important;
    border-top: 1px solid var(--line);
    padding: 28px !important;
  }

  .metric-card:nth-child(-n + 2) {
    border-top: 0;
  }

  .benefit-list,
  .promo-premium,
  .promo-pair,
  .product-grid,
  .privilege-grid,
  .levels-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .benefit-card:first-child,
  .benefit-card:nth-child(2) {
    min-height: 240px;
  }

  .privilege-card--wide {
    grid-column: auto;
  }

  .promo-premium__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  .site-header {
    top: 10px;
    width: calc(100vw - 28px);
    border-radius: 20px;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    position: relative;
    min-height: 64px;
    padding: 0 16px;
  }

  .menu-toggle {
    position: fixed;
    top: 24px;
    right: 28px;
    z-index: 60;
    display: block !important;
  }

  .brand__wordmark {
    font-size: 22px;
  }

  h1,
  h2,
  h3,
  p,
  strong,
  span {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: 40px;
  }

  h2,
  .order-panel h3,
  .app-section h2 {
    font-size: 30px;
  }

  .hero {
    margin-top: -74px;
  }

  .hero__inner {
    padding: 128px 0 110px;
  }

  .hero__lead {
    max-width: 320px;
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .hero__actions {
    margin-top: 42px;
  }

  .hero__actions .button,
  .order-panel > .button,
  .section-head .button {
    width: 100%;
    max-width: 100%;
  }

  .hero__visual {
    min-height: 330px;
  }

  .phone-mockup {
    right: 10px;
    top: 48px;
    width: 210px;
    height: 300px;
  }

  .virtual-card {
    right: 52px;
    top: 72px;
    width: 232px;
    height: 158px;
  }

  .virtual-card::after {
    width: 54px;
    height: 54px;
    font-size: 38px;
  }

  .hero__visual::before {
    font-size: 138px;
  }

  .hero-facts,
  .premium-benefits {
    grid-template-columns: 1fr;
    margin-top: -70px;
    padding: 0;
    overflow: hidden;
  }

  .metric-card,
  .metric-card:nth-child(-n + 2) {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    width: 100%;
    min-width: 0;
    border-top: 1px solid var(--line);
    padding: 24px !important;
  }

  .metric-card > span:last-child,
  .metric-card strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .metric-card strong {
    font-size: 28px;
  }

  .metric-card:first-child {
    border-top: 0;
  }

  .section-tabs {
    gap: 22px;
    overflow-x: auto;
    padding: 38px 0;
  }

  .section-tabs a {
    white-space: nowrap;
  }

  .section {
    padding: 40px 0;
  }

  .section-copy,
  .order-panel,
  .cashback-board,
  .benefit-card,
  .promo-premium,
  .promo-card,
  .product-card,
  .app-section__inner,
  .document-panel {
    padding: 24px;
    border-radius: 28px;
  }

  .order-panel__lead,
  .benefit-card p,
  .section-head h2,
  .promo-premium__panel span {
    max-width: 100%;
  }

  .order-panel > .button {
    justify-self: stretch;
  }

  .promo-premium h2,
  .promo-card h2,
  .product-card h2 {
    font-size: 30px;
  }

  .promo-premium p,
  .promo-card p,
  .product-card p {
    font-size: 18px;
  }

  .promo-premium__visual {
    min-height: 160px;
  }

  .promo-premium__visual span {
    left: 24px;
    top: 0;
    width: 138px;
    height: 138px;
  }

  .promo-premium__panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .promo-premium__panel strong {
    font-size: 36px;
  }

  .promo-pair,
  .product-grid {
    margin-top: 28px;
    gap: 18px;
  }

  .promo-card,
  .product-card,
  .product-card--big {
    min-height: 420px;
  }

  .promo-card .button,
  .product-card .button {
    left: 24px;
    bottom: 24px;
  }

  .promo-card__object--stack,
  .promo-card__object--phone {
    right: -20px;
    transform: scale(0.78);
    transform-origin: right bottom;
  }

  .product-card--deposit strong {
    right: 24px;
    top: 170px;
    font-size: 52px;
  }

  .product-card__premium,
  .product-card__card {
    transform: scale(0.7);
    transform-origin: right bottom;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .cashback-grid {
    overflow-x: auto;
  }

  .store-row {
    width: 100%;
    margin-top: 34px;
  }

  .store-button {
    width: 100%;
  }

  .app-preview {
    min-height: 420px;
  }

  .app-preview__screen {
    right: auto;
    left: 0;
    width: 236px;
  }

  .qr-tile {
    right: 0;
    grid-template-columns: repeat(4, 20px);
  }

  .qr-tile span {
    width: 20px;
    height: 20px;
  }

  .tariff-row,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .premium-hero,
  .offices-hero {
    padding: 28px;
  }

  .premium-hero h1,
  .offices-hero h1 {
    font-size: 38px;
  }

  .premium-card {
    left: 10px;
    width: 250px;
  }

  .premium-phone {
    right: 0;
    width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
