/* ============================================================
   TG Parser — Site CSS (Landing + Cabinet)
   ============================================================ */

:root {
  --bg:       #0f0f0f;
  --surface:  #1a1a1a;
  --surface2: #242424;
  --border:   #2e2e2e;
  --text:     #f0f0ee;
  --muted:    #888884;
  --accent:   #3b82f6;
  --accent2:  #60a5fa;
  --green:    #22c55e;
  --red:      #ef4444;
  --yellow:   #f59e0b;
  --r:        8px;
  --r-lg:     14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 0.85em;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; }

/* ============================================================
   Top Nav
   ============================================================ */

.topnav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}

.brand-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

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

.topnav-links a { color: var(--muted); }
.topnav-links a:hover { color: var(--text); text-decoration: none; }

.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s;
}
.btn-nav:hover { background: #2563eb !important; text-decoration: none !important; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 100px 40px 80px;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59,130,246,0.18) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent2);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-accent { color: var(--accent2); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  padding: 13px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn-hero-primary:hover { background: #2563eb; transform: translateY(-1px); text-decoration: none; }

.btn-hero-ghost {
  color: var(--muted);
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.btn-hero-ghost:hover { border-color: var(--muted); color: var(--text); text-decoration: none; }

/* Demo widget */
.hero-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  text-align: left;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.demo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.demo-dot.red    { background: #ff5f57; }
.demo-dot.yellow { background: #febc2e; }
.demo-dot.green  { background: #28c840; }

.demo-title {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}

.demo-body { padding: 16px; }

.demo-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.demo-stat {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.demo-stat-val { font-size: 22px; font-weight: 700; }
.demo-stat-lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }

.demo-match {
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  margin-bottom: 6px;
  font-size: 13px;
}

.demo-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(59,130,246,0.15);
  color: var(--accent2);
  margin-right: 6px;
}

.demo-tag.intent-tag {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

/* ============================================================
   Proof strip
   ============================================================ */

.proof {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  text-align: center;
}

.proof-item {
  padding: 20px;
  border-right: 1px solid var(--border);
}
.proof-item:last-child { border-right: none; }

.proof-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent2);
  letter-spacing: -0.04em;
}
.proof-lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   Section commons
   ============================================================ */

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-sub { color: var(--muted); margin-bottom: 40px; }

/* ============================================================
   Features
   ============================================================ */

.features {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.15s;
}
.feature-card:hover { border-color: rgba(59,130,246,0.4); }

.feature-icon {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--accent2);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ============================================================
   How it works
   ============================================================ */

.howto {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step { display: flex; gap: 16px; }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent2);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-body p  { color: var(--muted); font-size: 14px; }

/* ============================================================
   Pricing
   ============================================================ */

.pricing {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
}

.pricing-card--featured {
  border-color: rgba(59,130,246,0.5);
  background: linear-gradient(160deg, rgba(59,130,246,0.08) 0%, var(--surface) 60%);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.plan-currency { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: 13px; margin: 8px 0 20px; }

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  background: var(--surface2);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn-plan:hover { background: var(--border); text-decoration: none; }

.btn-plan--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-plan--featured:hover { background: #2563eb; border-color: #2563eb; }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.faq-list { margin-top: 32px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 18px; color: var(--muted); }
.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================
   CTA
   ============================================================ */

.cta-section {
  padding: 100px 24px;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,130,246,0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  padding: 28px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   Auth pages
   ============================================================ */

.hidden { display: none !important; }

/* ============================================================
   Auth pages
   ============================================================ */

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

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.auth-back {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 24px;
  text-decoration: none;
}
.auth-back:hover { color: var(--text); }

.auth-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}

.auth-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.auth-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 20px;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.auth-form input {
  width: 100%;
  padding: 10px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.auth-form input:focus { border-color: var(--accent); }

.btn-auth {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s;
}
.btn-auth:hover { background: #2563eb; }

.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.social-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.15s, filter 0.15s;
  box-sizing: border-box;
}
.btn-social:hover { opacity: 0.88; filter: brightness(1.06); }

.btn-yandex {
  background: #FFCC00;
  color: #000;
}
.btn-vk {
  background: #0077FF;
  color: #fff;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   Cabinet
   ============================================================ */

.cabinet-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 140px);
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 24px;
  gap: 28px;
  align-items: start;
}

.cab-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.cab-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
}

.cab-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.cab-user-name { font-weight: 600; font-size: 14px; }
.cab-user-email { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }

.cab-nav { padding: 8px 6px; }

.cab-nav-item {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}
.cab-nav-item:hover { background: var(--surface2); color: var(--text); text-decoration: none; }
.cab-nav-item.active { background: var(--surface2); color: var(--text); }

.cab-main { min-width: 0; }

.cab-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}
.cab-alert.ok    { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.cab-alert.error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }

.cab-section { margin-bottom: 28px; }

.cab-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cab-section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* License card */
.lic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 12px;
}

.lic-card--active  { border-color: rgba(34,197,94,0.3); }
.lic-card--expired { opacity: 0.6; }

.lic-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.lic-plan { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }

.lic-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lic-badge--active  { background: rgba(34,197,94,0.15); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.lic-badge--expired { background: rgba(239,68,68,0.12); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }

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

.lic-key-wrap {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}

.lic-key-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }

.lic-key-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lic-key {
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent2);
  background: transparent;
  border: none;
  padding: 0;
  user-select: all;
}

.btn-copy {
  padding: 6px 14px;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-copy:hover { background: #2563eb; }

.lic-key-hint { font-size: 12px; color: var(--muted); margin-top: 8px; }

.lic-meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.lic-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-lic-renew {
  padding: 8px 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-lic-renew:hover { background: var(--border); }

.btn-lic-upgrade {
  padding: 8px 18px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 6px;
  color: var(--accent2);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-lic-upgrade:hover { background: rgba(59,130,246,0.25); }

/* Empty license */
.lic-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
}
.lic-empty-icon { font-size: 40px; margin-bottom: 12px; }
.lic-empty h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.lic-empty p { color: var(--muted); font-size: 14px; }

/* Buy grid */
.buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.buy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
}

.buy-card--featured { border-color: rgba(59,130,246,0.4); }
.buy-plan-name { font-weight: 700; margin-bottom: 6px; }
.buy-price { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.buy-desc { font-size: 12px; color: var(--muted); margin-bottom: 16px; }

.btn-buy {
  width: 100%;
  padding: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-buy:hover { background: var(--border); }
.btn-buy--featured { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-buy--featured:hover { background: #2563eb; border-color: #2563eb; }

/* Payment table */
.pay-table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--border); }

.pay-table { width: 100%; border-collapse: collapse; }
.pay-table th { padding: 9px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--surface2); border-bottom: 1px solid var(--border); text-align: left; }
.pay-table td { padding: 9px 12px; font-size: 13px; border-bottom: 1px solid var(--border); }
.pay-table tr:last-child td { border-bottom: none; }
.pay-table tr:hover td { background: var(--surface2); }

.pay-ok      { color: var(--green);  font-weight: 600; }
.pay-pending { color: var(--yellow); font-weight: 600; }
.pay-fail    { color: var(--red);    font-weight: 600; }

/* Download */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-download:hover { border-color: var(--accent); text-decoration: none; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .cabinet-wrap { grid-template-columns: 1fr; }
  .cab-sidebar { position: static; }
  .topnav { padding: 14px 20px; }
  .hero { padding: 64px 20px 48px; }
}

@media (max-width: 600px) {
  .topnav-links a:not(.btn-nav):not(:last-child) { display: none; }
  .demo-stat-row { grid-template-columns: repeat(2,1fr); }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-item { border-right: none; border-bottom: 1px solid var(--border); }
}
