:root {
  color-scheme: dark;
  --ink: #f2f6ff;
  --muted: #b1c2e8;
  --blue: #9ec4ff;
  --line: #253b70;
  --page: #020b2d;
  --panel: #081944;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; object-fit: contain; }
:where(a, button):focus-visible { outline: 3px solid #a3cbff; outline-offset: 4px; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 28px; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid #1b2b57; background: #030c2b; }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: clamp(16px, 3.7vw, 46px); }
nav a { color: #c5d4f6; text-decoration: none; font-size: .88rem; font-weight: 650; white-space: nowrap; }
nav a:hover, .site-footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.button { min-height: 45px; padding: 10px 17px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; font-size: .91rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .18s, border-color .18s; }
.button span { font-size: 1rem; line-height: 1; }
.button-outline { color: var(--ink); border-color: #334a7c; background: #0a1a43; }
.button-outline:hover { background: #13295b; border-color: #6689c8; }

.hero { isolation: isolate; position: relative; overflow: hidden; border-bottom: 1px solid #1f3569; color: #fff; background: radial-gradient(ellipse at 50% 44%, #153670 0%, #0b2054 42%, transparent 78%), #061237; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; background-image: linear-gradient(to right, #a3c6ff11 1px, transparent 1px), linear-gradient(to bottom, #a3c6ff11 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000, transparent 76%); }
.hero-content { padding-block: clamp(64px, 8.4vw, 108px); text-align: center; }
.eyebrow { margin-bottom: 17px; color: #adc6fa; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { margin-inline: auto; max-width: 960px; font-size: clamp(2.85rem, 5.45vw, 4.85rem); font-weight: 720; line-height: 1.06; letter-spacing: -.065em; text-wrap: balance; }
.hero-description { max-width: 580px; margin: 20px auto 0; color: #c4d4f4; font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.6; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 11px; margin-top: 28px; }
.hero-actions .button { min-height: 51px; padding-inline: 16px; }
.button-primary { color: #111f3e; background: #dceaff; }
.button-primary:hover { background: #fff; }
.button-quiet { color: #edf4ff; border-color: #b0c6f04d; background: #13275076; }
.button-quiet:hover { background: #203b71; border-color: #9db8ee; }

.content-section { padding-block: 63px 68px; }
.content-section > h2, .section-intro h1, .section-intro h2 { font-size: clamp(1.9rem, 3.4vw, 3.05rem); font-weight: 730; letter-spacing: -.055em; line-height: 1.1; }
.section-intro p { margin-top: 10px; color: var(--muted); }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.feature, .price-card, .requisite-card, .document-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; margin-bottom: 13px; border-radius: 9px; color: #aacbff; background: #142c60; font-size: 1.2rem; font-weight: 720; }
.icon-bars { gap: 3px; align-items: end; padding-bottom: 11px; }
.icon-bars i { width: 3px; height: 7px; background: #8ab8ff; border-radius: 1px; }
.icon-bars i:nth-child(2) { height: 13px; }
.icon-bars i:nth-child(3) { height: 18px; }
.icon-arrow { color: #7cddc6; background: #0c3b4f; }
.feature h3, .price-card h3, .payment-flow h3, .requisite-card h2, .document-card h2 { color: var(--ink); font-size: 1.15rem; line-height: 1.25; letter-spacing: -.019em; }
.feature p, .price-card > p:last-child, .payment-flow p { margin-top: 8px; color: var(--muted); font-size: .94rem; line-height: 1.59; }

.pricing { border-block: 1px solid #1f3466; background: #051339; }
.pricing-grid, .legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.price-card { padding: 23px 25px; }
.price { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-block: 12px; }
.price strong { color: #d8e7ff; font-size: clamp(1.9rem, 4.3vw, 2.7rem); line-height: 1; letter-spacing: -.06em; }
.price span { color: var(--muted); font-size: .86rem; }
.payment-flow { display: flex; gap: 15px; align-items: flex-start; margin-top: 15px; padding: 20px 23px; border: 1px solid #29477c; border-radius: 14px; background: #0d2350; }
.payment-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: #1b396e; color: #b2d0ff; font-weight: 750; }
.payment-flow a, .requisite-card a { color: var(--blue); text-underline-offset: 3px; }
.payment-flow a:hover, .requisite-card a:hover { color: #d1e3ff; }

.legal-page { display: grid; min-height: 100svh; grid-template-rows: auto 1fr auto; }
.legal-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }
.requisite-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.merchant-label { margin-bottom: 4px; color: var(--muted); font-size: .76rem; }
.copy-button { display: none; min-height: 40px; border: 1px solid #35578c; padding: 7px 10px; border-radius: 8px; background: #142c59; color: #d3e4ff; font-size: .75rem; font-weight: 730; white-space: nowrap; cursor: pointer; }
.copy-button.is-enabled { display: block; }
.copy-button:hover { background: #254474; }
.requisite-card dl > div { display: grid; grid-template-columns: minmax(112px, .65fr) minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid #22386b; }
.requisite-card dt { color: var(--muted); font-size: .83rem; }
.requisite-card dd { font-weight: 640; font-size: .88rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.requisite-card .pending { color: var(--muted); font-weight: 500; }
.copy-status:empty { display: none; }
.copy-status { margin-top: 7px; color: #84dec6; font-size: .8rem; }
.document-card { background: #07163c; }
.document-card dl { margin-top: 12px; }
.document-card dl > div { padding: 9px 0; border-top: 1px solid #22386b; }
.document-card dt { font-size: .89rem; font-weight: 670; }
.document-card dd { color: var(--muted); font-size: .81rem; }
.button-contact { margin-top: 13px; border-color: #35578c; color: #d3e4ff; background: #142c59; white-space: normal; }
.button-contact:hover { background: #254474; }
.document-card a:not(.button), .legal-document a:not(.button) { color: var(--blue); text-underline-offset: 3px; }
.document-card a:not(.button):hover, .legal-document a:not(.button):hover { color: #d1e3ff; }
.legal-document { max-width: 880px; }
.legal-document h1 { text-wrap: balance; }
.legal-document > section { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-document h2 { font-size: clamp(1.16rem, 2.4vw, 1.46rem); letter-spacing: -.022em; line-height: 1.3; }
.legal-document section p, .legal-document li, .legal-document dd { color: var(--muted); }
.legal-document section p, .legal-document ul, .document-list { margin-top: 10px; }
.legal-document ul { margin-bottom: 0; padding-left: 22px; }
.legal-document li + li { margin-top: 8px; }
.document-notice { margin-top: 19px; padding: 14px 16px; border: 1px solid #29477c; border-radius: 10px; background: #0d2350; color: #d7e5ff; }
.document-list > div + div { margin-top: 13px; }
.document-list dt { font-weight: 700; }
.document-list dd { margin-top: 4px; }

.site-footer { border-top: 1px solid #1b2b57; background: #030c2b; color: #d3e0fb; }
.footer-inner { min-height: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 15px 26px; padding-block: 12px; }
.footer-inner span { font-size: .82rem; }
.footer-inner > a:not(.brand) { font-size: .84rem; text-decoration: none; }
.footer-inner > a:nth-of-type(2) { margin-left: auto; }
.footer-inner > .requisites-link { color: var(--muted); font-size: .8rem; }
.site-footer a:hover { color: #fff; }

@media (max-width: 740px) {
  .shell { width: min(580px, calc(100% - 34px)); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 14px; min-height: 66px; padding-block: 7px 2px; }
  .header-login { grid-column: 2; grid-row: 1; min-height: 42px; }
  nav { grid-column: 1 / -1; gap: 24px; min-height: 43px; overflow: auto; }
  nav a { font-size: .8rem; }
  .hero-content { padding-block: 60px 63px; }
  .hero h1 { font-size: clamp(2.25rem, 10.1vw, 3.7rem); }
  .hero-description { margin-top: 17px; }
  .hero-actions { margin-top: 22px; }
  .eyebrow { margin-bottom: 12px; }
  .content-section { padding-block: 42px 47px; }
  .features-grid, .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .feature, .price-card, .requisite-card, .document-card { padding: 18px; }
  .pricing-grid { gap: 10px; }
  .payment-flow { padding: 17px; gap: 10px; }
}

@media (max-width: 455px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .requisite-title { flex-wrap: wrap; }
  .footer-inner { gap: 9px 15px; }
  .footer-inner > a:nth-of-type(2) { margin-left: 0; }
}

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