:root {
  color-scheme: dark;
  --bg: #0f0b18;
  --surface: #1a1428;
  --surface-2: #231b35;
  --border: rgba(167, 139, 250, 0.2);
  --text: #f5f3ff;
  --muted: #a89bc4;
  --accent: #8b5cf6;
  --accent-2: #6d28d9;
  --success: #34d399;
  --radius: 14px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: #c4b5fd;
}

a:hover {
  color: #e9d5ff;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

header.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 44px;
  height: 44px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 12px;
  display: block;
  object-fit: contain;
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.brand h1 {
  margin: 0;
  font-size: 1.25rem;
}

.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

nav a {
  margin-left: 16px;
  text-decoration: none;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  header.site-head {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  nav a {
    margin-left: 0;
  }
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-landing {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 92, 246, 0.22), transparent),
    var(--surface);
  padding: 36px 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.15);
  color: #ddd6fe;
  border: 1px solid var(--border);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

.section-lead {
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 1rem;
}

.hero h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.hero .lead {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .hero h2 {
    font-size: 2.25rem;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
}

.card-pro {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.12), 0 16px 40px rgba(139, 92, 246, 0.12);
}

.card-pro-plus {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12), 0 16px 40px rgba(245, 158, 11, 0.12);
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  line-height: 1;
}

.steps-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  padding-top: 28px;
}

.step-num {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(139, 92, 246, 0.2);
  color: #ddd6fe;
  border: 1px solid var(--border);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .price {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 8px 0;
}

.card .price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-free {
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}

.badge-pro {
  background: rgba(139, 92, 246, 0.2);
  color: #ddd6fe;
}

.badge-pro-plus {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
}

ul.clean {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

section.block {
  margin-top: 24px;
}

section.block h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  color: var(--muted);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.doc h1 {
  margin-top: 0;
}

.doc h2 {
  margin-top: 28px;
  font-size: 1.15rem;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.doc th,
.doc td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.doc th {
  background: var(--surface-2);
}

.notice {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 10px);
  padding: 14px 16px;
  color: #ddd6fe;
  margin: 16px 0;
}

.notice-success {
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
}

.notice-error {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

.hidden {
  display: none !important;
}

footer.site-foot {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site-foot a {
  margin-right: 14px;
}

.requisites-table td:first-child {
  width: 38%;
  color: var(--muted);
}

.inn-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
