:root {
  --page: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef4f8;
  --ink: #111827;
  --muted: #5b6678;
  --line: #d9e1ea;
  --blue: #2457d6;
  --blue-dark: #183b92;
  --green: #147d64;
  --amber: #a86408;
  --red: #b43b35;
  --aqua: #0e7490;
  --shadow: 0 20px 55px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
}

a {
  color: inherit;
}

.site {
  min-height: 100vh;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 225, 234, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: #aab6c5;
}

.hero {
  min-height: calc(100vh - 68px);
  padding: 72px 0 44px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, #f7f9fc 0%, #e9f0f7 48%, #f8fbfd 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 87, 214, 0.12), transparent 34%),
    linear-gradient(155deg, transparent 0 58%, rgba(20, 125, 100, 0.1) 58% 100%);
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: #e9efff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 710px;
  color: #2f3b4c;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.legal-note {
  margin: 18px 0 0;
  max-width: 710px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.legal-note a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.product-panel {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.chat-header {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.chat-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.bubble {
  width: fit-content;
  max-width: 92%;
  padding: 13px 14px;
  border-radius: 16px;
  background: #f0f4f8;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.42;
}

.bubble.user {
  justify-self: end;
  color: #fff;
  background: var(--blue);
}

.bot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bot-grid span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #c9d7e6;
  border-radius: 8px;
  color: #1d3559;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--surface);
}

.section.dark {
  color: #fff;
  background: #172033;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
}

.section.dark p,
.section.dark .section-sub {
  color: #cbd5e1;
}

.section-sub {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature small {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--aqua);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

.feature b {
  display: block;
  font-size: 19px;
  line-height: 1.25;
}

.feature p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

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

.rows {
  display: grid;
  gap: 12px;
}

.row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.row-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
}

.row b {
  display: block;
  margin-bottom: 5px;
}

.row span {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.45;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process em {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-style: normal;
  font-weight: 900;
}

.process b {
  display: block;
  margin-bottom: 8px;
}

.process span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.access-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.access-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.access-card.featured {
  border-color: #95b4ff;
  box-shadow: 0 18px 46px rgba(36, 87, 214, 0.13);
}

.access-card h3 {
  margin: 0;
  font-size: 24px;
}

.access-price {
  margin: 16px 0 6px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.access-price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.access-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.access-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.access-card li {
  position: relative;
  padding-left: 18px;
  color: #344054;
  font-size: 15px;
  line-height: 1.4;
}

.access-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.warn {
  border: 1px solid #f0c36f;
  border-radius: 8px;
  padding: 16px 18px;
  color: #5a3b05;
  background: #fff8e8;
  font-size: 15px;
  line-height: 1.5;
}

.security {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.security-flow {
  display: grid;
  gap: 10px;
}

.flow-step {
  padding: 15px 16px;
  border-radius: 8px;
  color: #102033;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.flow-step.mask {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.contact-band {
  padding: 54px 0;
  color: #fff;
  background: #0f172a;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 24px;
  align-items: center;
}

.contact-grid h2 {
  margin: 0;
  font-size: 34px;
}

.contact-grid p {
  margin: 12px 0 0;
  color: #cbd5e1;
  line-height: 1.55;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid #263449;
  color: #cbd5e1;
  background: #0f172a;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.doc-page {
  background: #fff;
}

.doc-hero {
  padding: 58px 0 34px;
  border-bottom: 1px solid var(--line);
  background: #f6f8fb;
}

.doc-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: 42px;
  line-height: 1.12;
}

.doc-hero p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.55;
}

.doc-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.doc-content h2 {
  margin: 34px 0 12px;
  font-size: 25px;
  line-height: 1.2;
}

.doc-content h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.doc-content p,
.doc-content li {
  color: #263142;
  font-size: 16px;
  line-height: 1.68;
}

.doc-content ul {
  padding-left: 22px;
}

.doc-content .notice {
  border: 1px solid #f0c36f;
  border-radius: 8px;
  padding: 16px 18px;
  background: #fff8e8;
}

.requisites {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.contact-card a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.contact-card span {
  color: #cbd5e1;
  font-size: 14px;
}

.requisites div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  line-height: 1.5;
}

.requisites dt,
.requisites b {
  color: var(--muted);
  font-weight: 800;
}

.todo {
  color: var(--red);
  font-weight: 900;
}

@media (max-width: 960px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-grid,
  .split,
  .security {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .feature-grid,
  .process-grid,
  .access-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap,
  .doc-content {
    width: min(100% - 28px, 1160px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .lead,
  .section-sub {
    font-size: 17px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid {
    gap: 26px;
  }

  .legal-note {
    font-size: 13px;
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .contact-grid h2 {
    font-size: 29px;
  }

  .feature-grid,
  .process-grid,
  .access-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-grid .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .requisites div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
