
/* MPPosition — unified style.css */

:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --green: #16a34a;
  --red: #dc2626;
  --yellow: #f59e0b;
  --shadow: 0 24px 60px rgba(15, 23, 42, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 32rem),
    radial-gradient(circle at top right, rgba(22, 163, 74, .10), transparent 28rem),
    var(--bg);
  line-height: 1.5;
}

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

p,
li { color: var(--muted); }

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

section { padding: 78px 0; }

h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -0.07em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 20px;
}

.meta {
  font-size: 14px;
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 248, 252, .82);
  border-bottom: 1px solid rgba(229, 231, 235, .8);
}

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

.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 26px;
  white-space: nowrap;
  color: var(--text);
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  box-shadow: 0 12px 30px rgba(37, 99, 235, .28);
  font-size: 14px;
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 650;
  transition: .18s ease;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 32px rgba(37, 99, 235, .22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 52px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: #1e40af;
  font-weight: 700;
  font-size: 14px;
}

.hero-actions {
  margin-bottom: 24px;
}

.trust {
  color: var(--muted);
  font-size: 14px;
}

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

.dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
  margin: 26px 0;
}


.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, .10);
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 18px;
}

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

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

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

.section-kicker {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.section-text {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  border-radius: 16px;
  padding: 16px 18px;
}

.app-preview {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: 30px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.window {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.window-top {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.window-body { padding: 18px; }

.circles {
  display: flex;
  gap: 6px;
}

.circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.circle:nth-child(1) { background: #f87171; }
.circle:nth-child(2) { background: #fbbf24; }
.circle:nth-child(3) { background: #34d399; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.stat small { color: var(--muted); }

.stat strong {
  display: block;
  font-size: 24px;
  margin-top: 4px;
  letter-spacing: -0.04em;
}

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

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

.mini-table th {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
}

.up { color: var(--green); font-weight: 800; }
.down { color: var(--red); font-weight: 800; }
.warn { color: var(--yellow); font-weight: 800; }

.chart {
  height: 180px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(to bottom, transparent 24%, var(--line) 25%, transparent 26%),
    linear-gradient(to bottom, transparent 49%, var(--line) 50%, transparent 51%),
    linear-gradient(to bottom, transparent 74%, var(--line) 75%, transparent 76%),
    #fff;
  position: relative;
  overflow: hidden;
}

.chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

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

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.step:before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.interface-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.sidebar-demo {
  display: grid;
  gap: 10px;
}

.side-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 700;
}

.side-item.active {
  background: rgba(37, 99, 235, .10);
  color: var(--primary);
}

.pricing {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 28px;
  align-items: center;
}

.price-card {
  background: #fff;
  border: 2px solid rgba(37, 99, 235, .22);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}

.price strong {
  font-size: 54px;
  letter-spacing: -0.07em;
}

.price span { color: var(--muted); }

.features {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.features li:before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 10px;
}

.faq {
  display: grid;
  gap: 14px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.02em;
}

details p {
  color: var(--muted);
  margin: 12px 0 0;
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, #111827, #1e3a8a);
  color: #fff;
  border-radius: 34px;
  padding: 58px 28px;
  box-shadow: var(--shadow);
}

.cta h2 { color: #fff; }

.cta p {
  color: rgba(255, 255, 255, .74);
  max-width: 680px;
  margin: 0 auto 26px;
  font-size: 18px;
}

.auth-wrap {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
}

.auth-card {
  width: min(100%, 460px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.auth-card h1 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.05em;
}

.auth-card p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  text-align: left;
}

.form-group input {
  width: 100%;
  height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
  transition: .18s ease;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.auth-btn {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 15px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

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

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.auth-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.auth-note {
  margin-top: 22px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.checkbox input { margin-top: 4px; }

.checkbox a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.legal-page .hero { padding: 62px 0 24px; }
.legal-page section { padding: 16px 0; }

.legal-page h1 {
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.06em;
  margin: 0 0 18px;
}

.legal-page h2 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.04em;
  margin: 0 0 14px;
}

.legal-page .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  margin: 18px 0;
}

.app-user { position: relative; }

.app-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.app-dropdown {
  position: absolute;
  top: 54px;
  right: 0;
  width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
  display: none;
}

.dropdown-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.dropdown-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.dropdown-email {
  font-size: 14px;
  color: var(--muted);
  word-break: break-all;
}

.dropdown-links {
  display: flex;
  flex-direction: column;
}

.dropdown-links a {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: .18s ease;
}

.dropdown-links a:hover { background: #f8fafc; }

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.footer a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow: auto;
    gap: 18px;
  }

/*   .nav-actions { width: 100%; } */

  .btn { flex: 1; }

  .hero-grid,
  .pricing,
  .interface-layout {
    grid-template-columns: 1fr;
  }

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }    
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }  
  .grid-billing {
    grid-template-columns: repeat(1, 1fr);
  }
  .hero { padding-top: 48px; }
}
.auth-error {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
}
.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  bottom: 9px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  opacity: .65;
}

.password-toggle:hover {
  opacity: 1;
}
.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  bottom: 9px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  opacity: .65;
}

.password-toggle:hover {
  opacity: 1;
}
.password-rules {
  display: grid;
  gap: 6px;
  margin: -6px 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.password-rules div.is-ok {
  color: var(--green);
  font-weight: 700;
}

.password-rules div.is-bad {
  color: var(--red);
}
.form-group textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: .18s ease;
}

.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.query-link {
  color: var(--primary);
  font-weight: 800;
}

.query-link:hover {
  text-decoration: underline;
}
.up { color: var(--green); font-weight: 800; }
.down { color: var(--red); font-weight: 800; }
.kpi h3, .kpi p {text-align:center;}
.inline-input {
  width: 100%;
  min-width: 220px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  outline: none;
}

.inline-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}
.limit-notice {
  margin: 18px 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  line-height: 1.6;
}

.limit-notice-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  margin: 2px;
}

.table-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.table-btn-danger {
  color: var(--red);
}

.table-btn-danger:hover {
  border-color: var(--red);
  color: var(--red);
}

.inline-edit-form {
  margin: 0;
}
.marketplace-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: #f1f5f9;
  color: var(--text);
  white-space: nowrap;
}

.marketplace-wb {
  background: #f3e8ff;
  color: #7e22ce;
}

.marketplace-yandex {
  background: #fef3c7;
  color: #92400e;
}

.marketplace-ozon {
  background: #dbeafe;
  color: #1d4ed8;
}
.form-group select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
  cursor: pointer;
      border: 1px solid #d1d5db;
}

.form-group select:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
.marketplace-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.marketplace-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: all .15s ease;
}

.marketplace-filters a.active {
  background: #111827;
  color: #fff;
}
.marketplace-filters {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}

.marketplace-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.marketplace-filters button.active {
  background: #111827;
  color: #fff;
}
.app-dropdown {
  display: none;
}

.app-user.is-open .app-dropdown {
  display: block;
}
.preview-filters,
.dashboard-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.preview-filters span,
.dashboard-filters span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}

.preview-filters .active,
.dashboard-filters .active {
  background: #111827;
  color: #fff;
}

.preview-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.preview-meta-card,
.stat-card {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.08);
}

.preview-meta-card small,
.stat-card small {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 13px;
}

.preview-meta-card strong,
.stat-card strong {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
}

.interface-dashboard {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 24px 60px rgba(15,23,42,.08);
}

.dashboard-sidebar {
  padding: 12px;
  border-radius: 20px;
  background: #f8fafc;
}

.dashboard-main {
  min-width: 0;
      overflow-x: auto;
}

.dashboard-bottom {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.dashboard-stats {
  display: grid;
  gap: 10px;
}

.price-card.featured {
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 24px 60px rgba(37,99,235,.12);
}

@media (max-width: 900px) {
  .interface-dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .preview-meta-grid {
    grid-template-columns: 1fr;
  }
}
.monitor-filters {
  display: grid;
  grid-template-columns: 220px 1fr 220px 220px;
  gap: 12px;
  margin: 0 0 18px;
}

.monitor-filters input,
.monitor-filters select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  outline: none;
}

.monitor-filters input:focus,
.monitor-filters select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}
.snapshot-card {
  display: grid;
  gap: 18px;
  align-items: start;
}

.snapshot-image {
  width: 140px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.08);
}

.snapshot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snapshot-info h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.snapshot-grid div {
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.06);
}

.snapshot-grid span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 13px;
}

.snapshot-grid strong {
  font-size: 16px;
  color: #0f172a;
}
.snapshot-change {
  display: inline-flex;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
}

.snapshot-change.up {
  color: #16a34a;
}

.snapshot-change.down {
  color: #dc2626;
}

.snapshot-change.same {
  color: #94a3b8;
}
.article-hero {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.article-content {
  max-width: 820px;
}

.article-content h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.2;
}

.article-content p {
  margin: 0 0 16px;
  /* color: #334155; */
  font-size: 17px;
  line-height: 1.75;
}

.article-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
  color: #334155;
  font-size: 17px;
  line-height: 1.7;
}

.article-note {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #eff6ff;
  border: 1px solid rgba(37,99,235,.16);
  color: #1e3a8a;
  font-weight: 700;
  line-height: 1.6;
}

.article-cta {
  margin-top: 36px;
  padding: 28px;
  border-radius: 24px;
  background: #0f172a;
  color: #fff;
  text-align:center;
}

.article-cta h2 {
  margin-top: 0;
  color: #fff;
}

.article-cta p {
  color: #cbd5e1;
}

.article-sidebar {
  position: sticky;
  top: 92px;
}

.article-sidebar ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  line-height: 1.7;
}
.billing-success {
    padding: 60px 0;
}

.success-card {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card h1 {
    margin-bottom: 16px;
}

.success-card p {
    color: #64748b;
    margin-bottom: 12px;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}
.overview-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
}

.overview-change-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.overview-change-item:last-child {
    border-bottom: none;
}

.overview-change-value {
    min-width: 56px;
    font-size: 20px;
    font-weight: 800;
}

.overview-change-value.positive {
    color: #16a34a;
}

.overview-change-value.negative {
    color: #dc2626;
}
.sort-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: inherit;
  cursor: pointer;
}

.sort-btn::after {
  content: "↕";
  margin-left: 6px;
  color: #94a3b8;
  font-size: 12px;
}

.sort-btn.active[data-direction="asc"]::after {
  content: "↑";
  color: #2563eb;
}

.sort-btn.active[data-direction="desc"]::after {
  content: "↓";
  color: #2563eb;
}
.notifications-layout {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
}
.faq {
    margin-top: 32px;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin: 0 0 8px;
}

.faq-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}
.notification-features {
    margin-top: 24px;
}

.notification-features h3 {
    margin-bottom: 12px;
}

.notification-features ul {
    padding-left: 18px;
    line-height: 1.8;
}

.telegram-report {
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 20px;
    padding: 24px;
    line-height: 1.7;
    font-size: 14px;
}

.telegram-report-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.telegram-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 12px 0;
}

@media (max-width: 1000px) {
    .notifications-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .overview-grid-2 {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .success-actions {
        flex-direction: column;
    }
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    gap: 32px;
}

.footer h4,
.footer h3 {
    margin-bottom: 14px;
}

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

.footer li {
    margin-bottom: 10px;
}

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

.footer a:hover {
    color: #2563eb;
}
.guides-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.guide-preview-card {
    display: block;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: .2s;
}

.guide-preview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 10px 25px rgba(15,23,42,.06);
}

.guide-preview-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.guide-preview-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.guide-preview-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.section-link {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
    .guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.guide-card h3 {
    margin: 14px 0 10px;
}

.guide-card h3 a {
    color: inherit;
    text-decoration: none;
}

.guide-card p {
    color: #64748b;
    line-height: 1.6;
}

.guide-link {
    display: inline-flex;
    margin-top: 12px;
    font-weight: 800;
    text-decoration: none;
    color: #2563eb;
}
.related-guides {
    margin-top: 56px;
}

.related-guides h2 {
    margin-bottom: 20px;
}
    .guide-illustration {
    padding: 30px 0 50px;
}

.guide-flow {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    align-items: center;
}

.flow-left {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #f8fafc;
}

.flow-step span {
    font-size: 22px;
}

.flow-arrow {
    text-align: center;
    font-size: 24px;
    color: #94a3b8;
    padding: 8px 0;
}

.flow-step.danger {
    background: #fef2f2;
    color: #b91c1c;
}

.flow-right h3 {
    margin-bottom: 20px;
}

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

.factor-card {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}
.guide-reasons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    margin: 24px 0 36px;
}

.reason-card {
    padding: 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-align: center;
    font-weight: 700;
}
.overflow {overflow-x:auto;}
@media (max-width: 768px) {
    .guide-reasons {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 900px) {
    .guide-flow {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .guides-preview {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-content h2 {
    font-size: 24px;
  }
}
@media (max-width: 760px) {
  .snapshot-card {
    grid-template-columns: 1fr;
  }

  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 820px) {
  .monitor-filters {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .app-preview {
    margin-top: 24px;
  }

  .window-body {
    padding: 14px;
  }

  .mini-table {
    font-size: 13px;
  }

  .preview-filters span,
  .dashboard-filters span {
    font-size: 12px;
    padding: 7px 10px;
  }
}
.related-guides {
    margin-top: 56px;
}

.related-guides-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.related-guides-head h2 {
    margin: 0;
}

.related-guides-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.related-guide-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: block;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: inherit;
    text-decoration: none;
}

.related-guide-card h3 {
    margin: 14px 0 10px;
    font-size: 18px;
}

.related-guide-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.related-guide-card:hover {
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 10px 25px rgba(15,23,42,.06);
}
@media (max-width: 760px) {
  .legal-page h1 { font-size: 38px; }

  .nav { align-items: flex-start; }

  .nav-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1160px); }

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

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

  .mini-table { font-size: 12px; }

  .card,
  .price-card,
  .legal-page .card {
    padding: 22px;
  }

  section { padding: 54px 0; }
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.article-content {
  max-width: 820px;
  min-width: 0;
}

.article-content h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.2;
}

.article-content p {
  margin: 0 0 16px;
 /*  color: #334155; */
  font-size: 17px;
  line-height: 1.75;
}

.article-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
  color: #334155;
  font-size: 17px;
  line-height: 1.7;
}

.guide-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 36px;
}

.reason-card {
  min-width: 0;
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-content {
    max-width: 100%;
  }

  .article-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .guide-reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .guide-reasons {
    grid-template-columns: 1fr;
  }
}
.guides-categories {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:24px 0 32px;
}

.guides-categories a {
    padding:10px 16px;
    border-radius:999px;
    background:#f1f5f9;
    color:#334155;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.guides-categories a:hover {
    background:#e2e8f0;
}

.guides-categories a.active {
    background:#2563eb;
    color:#fff;
}
.breadcrumbs {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
    font-size:14px;
    color:#64748b;
}

.breadcrumbs a {
    color:#64748b;
    text-decoration:none;
}

.breadcrumbs a:hover {
    color:#2563eb;
}
.guides-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.guide-category-btn {
    border: 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    cursor: pointer;
}

.guide-category-btn.active {
    background: #2563eb;
    color: #fff;
}
.position-chart-wrap {
    position: relative;
    width: 100%;
    height: 420px;
}

@media (max-width: 768px) {
    .position-chart-wrap {
        height: 300px;
    }
}