/*
 * SatTez — дизайн-система лендинга.
 * Палитра строго из фирменных токенов: никаких новых цветов.
 */
:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --primary: #1E3A5F;
  --accent: #4F8EF7;
  --text: #111827;
  --muted: #64748B;
  --border: #E5E7EB;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #DC2626;

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(30, 58, 95, 0.05);
  --shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 22px 60px rgba(30, 58, 95, 0.12);
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
}

h3 {
  font-size: 20px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--primary);
  color: var(--surface);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  text-decoration: none;
}

/* ── Кнопки ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: 0 10px 24px rgba(30, 58, 95, 0.18);
}

.btn-primary:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--surface);
}

.btn-accent:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(79, 142, 247, 0.45);
  outline-offset: 2px;
}

/* ── Верхняя плашка о доработке ─────────────────────────── */

.announce-bar {
  background: var(--primary);
  color: var(--surface);
  font-size: 13px;
  line-height: 1.4;
}

.announce-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 9px 0;
  text-align: center;
}

.announce-bar strong {
  font-weight: 600;
}

.announce-bar a {
  color: var(--surface);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announce-bar a:hover {
  color: var(--surface);
  opacity: 0.82;
}

/* ── Шапка ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--primary);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none !important;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand span span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 32px;
  padding: 5px 7px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
}

.lang-switch a:hover {
  background: var(--bg);
  color: var(--primary);
  text-decoration: none;
}

.lang-switch a[aria-current="page"] {
  background: var(--primary);
  color: var(--surface);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(280px, calc(100vw - 40px));
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.mobile-menu-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
}

.mobile-menu-panel a:hover {
  background: var(--bg);
  text-decoration: none;
}

.mobile-menu-panel a.btn {
  display: inline-flex;
  margin-top: 8px;
  padding: 12px 20px;
  color: var(--surface);
}

.mobile-menu-panel a.btn:hover {
  background: var(--primary);
  filter: brightness(0.92);
}

/* ── Первый экран ───────────────────────────────────────── */

.hero {
  position: relative;
  padding: 76px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -220px -160px auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.14), rgba(79, 142, 247, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -240px;
  bottom: -300px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.08), rgba(30, 58, 95, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 999px;
  background: rgba(79, 142, 247, 0.09);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  margin: 20px 0 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead {
  max-width: 580px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 13px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-notes span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero-custom-link {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.hero-custom-link a {
  color: var(--accent);
}

.hero-custom-link a:hover {
  text-decoration: underline;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.app-preview {
  position: relative;
  z-index: 1;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.preview-brand strong {
  display: block;
  color: var(--primary);
  font-size: 14px;
  line-height: 1.2;
}

.preview-brand small {
  color: var(--muted);
  font-size: 11px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.13);
  color: var(--warning);
}

.badge-accent {
  background: rgba(79, 142, 247, 0.12);
  color: var(--accent);
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 14px 0;
}

.preview-stat {
  padding: 11px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.preview-stat b {
  display: block;
  color: var(--primary);
  font-size: 19px;
  line-height: 1.2;
}

.preview-stat span {
  color: var(--muted);
  font-size: 10px;
}

.preview-panel {
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.preview-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 11px;
}

.preview-row:first-of-type {
  border-top: 0;
}

.preview-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.preview-row strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.preview-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.preview-row .badge {
  margin-left: auto;
}

.qr-card {
  position: absolute;
  z-index: 2;
  left: -26px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
  text-decoration: none !important;
}

.qr-card:hover {
  border-color: var(--accent);
}

.qr-card img {
  width: 84px;
  height: 84px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.qr-card strong {
  display: block;
  font-size: 13px;
}

.qr-card small {
  display: block;
  max-width: 140px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

/* ── Секции ─────────────────────────────────────────────── */

.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 740px;
  margin-bottom: 38px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(79, 142, 247, 0.1);
  color: var(--primary);
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15px;
}

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

/* ── Шаги ───────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--primary);
  color: var(--surface);
  font-size: 15px;
  font-weight: 800;
}

.step h3 {
  font-size: 18px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

/* ── Интеграции ─────────────────────────────────────────── */

.integration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.integration-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.integration-badge b {
  color: var(--accent);
}

/* ── Тарифы ─────────────────────────────────────────────── */

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

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 16px 44px rgba(79, 142, 247, 0.16);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.plan-name {
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
}

.plan-price {
  margin: 4px 0 2px;
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-desc {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.plan ul {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.plan li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 14px;
}

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

/* ── FAQ ────────────────────────────────────────────────── */

.faq-list {
  max-width: 860px;
}

.faq-item {
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

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

.faq-item .faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ── CTA ────────────────────────────────────────────────── */

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 44px;
  background: var(--primary);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.cta h2 {
  color: var(--surface);
  margin-bottom: 10px;
}

.cta p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cta .btn-secondary {
  background: transparent;
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.28);
}

.cta .btn-secondary:hover {
  border-color: var(--surface);
  color: var(--surface);
}

.cta-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--primary);
}

.cta-qr img {
  width: 104px;
  height: 104px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cta-qr strong {
  display: block;
  max-width: 150px;
  font-size: 14px;
}

.cta-qr small {
  display: block;
  max-width: 150px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* ── Подвал ─────────────────────────────────────────────── */

.site-footer {
  padding: 52px 0 26px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer-legal {
  max-width: 320px;
  margin-top: 12px !important;
  color: var(--muted);
  font-size: 12px !important;
}

.footer-col h4 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 14px;
  letter-spacing: 0;
}

.footer-col a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* ── Контентные страницы ────────────────────────────────── */

.page-hero {
  padding: 64px 0 38px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.breadcrumbs {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs span {
  margin: 0 7px;
  color: var(--border);
}

.page-hero .lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.content-section {
  padding: 56px 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.content-grid h2 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.content-grid p,
.content-grid li {
  color: var(--muted);
  font-size: 15px;
}

.content-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.content-card h3 {
  font-size: 17px;
}

.content-card p:last-child,
.content-card ul:last-child {
  margin-bottom: 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.compare-table th {
  background: var(--bg);
  color: var(--primary);
  font-weight: 700;
}

.compare-table td {
  color: var(--muted);
}

.compare-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* ── Юридические тексты ─────────────────────────────────── */

.prose {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.prose h1 {
  font-size: 30px;
}

.prose h2 {
  margin: 30px 0 10px;
  font-size: 19px;
}

.prose p,
.prose li {
  color: var(--text);
  font-size: 15px;
}

.prose .muted {
  color: var(--muted);
  font-size: 13px;
}

.prose .notice {
  margin: 16px 0;
  padding: 14px 16px;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  color: var(--primary);
}

.prose .placeholder {
  color: var(--danger);
  font-weight: 600;
}

.prose table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 8px 10px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg);
  color: var(--primary);
}

/* ── Адаптивность ───────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    min-height: 0;
    max-width: 620px;
  }

  .app-preview {
    transform: none;
  }

  .qr-card {
    left: auto;
    right: 16px;
    bottom: -30px;
  }

  .grid-4,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header-actions > .lang-switch {
    display: none;
  }

  .mobile-menu-panel .lang-switch {
    display: flex;
    width: max-content;
    margin: 4px 0 8px;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .section,
  .content-section {
    padding: 56px 0;
  }

  .grid-3,
  .steps,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .cta-qr {
    justify-self: start;
  }

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

@media (max-width: 620px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero .lead {
    font-size: 17px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 19px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .header-actions .btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  .preview-stats {
    grid-template-columns: 1fr;
  }

  .qr-card {
    position: static;
    margin-top: 16px;
    justify-content: flex-start;
  }

  .grid-2,
  .grid-4,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .prose {
    padding: 22px 18px;
  }

  .cta-qr {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-actions,
  .hero-actions,
  .mobile-menu {
    display: none !important;
  }

  body {
    background: var(--surface);
  }

  .cta {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none;
  }

  .cta h2,
  .cta p {
    color: var(--primary);
  }
}
