/* Landing of demp.kz (artboard Landing): one page, no build step. Colors mirror the
   cabinet's tokens (frontend/src/index.css); dark mode follows the system. */
:root {
  --bg: #f4f3f8; --card: #ffffff; --fg: #17121f; --muted: #6b6580; --head: #faf9fc;
  --border: #e2deeb; --primary: #7c3aed; --primary-fg: #ffffff; --accent-soft: #efe9fe;
  --accent-text: #6d28d9; --hero: #130e1c; --hero-fg: #f3f0f8; --ok: #047857; --ok-bg: #e6f7ef;
  --min: #1d4ed8; --min-bg: #e6eefd; --shadow: 0 1px 2px rgba(23,18,31,.04), 0 18px 40px -24px rgba(23,18,31,.25);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0a13; --card: #17121f; --fg: #f3f0f8; --muted: #a39cb4; --head: #1a1423; --border: #2f2840;
    --accent-soft: rgba(139,92,246,.18); --accent-text: #c4b5fd; --hero: #1f1530; --ok: #34d399;
    --ok-bg: rgba(16,185,129,.16); --min: #7aa7fb; --min-bg: rgba(59,130,246,.18); --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.5 "Onest", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 14px; font-weight: 600; font-size: 14px; border: 1px solid transparent; white-space: nowrap; }
.btn--primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 10px 24px -10px rgba(124,58,237,.7); }
.btn--ghost { background: var(--card); border-color: var(--border); color: var(--fg); }
.btn--lg { height: 52px; padding: 0 24px; font-size: 15px; border-radius: 16px; }

.nav { max-width: 1240px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.brand__mark { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 11px; background: var(--primary); color: #fff; }
.nav__links { display: flex; gap: 22px; margin-left: 16px; color: var(--muted); font-size: 14px; }
.nav__links a:hover { color: var(--fg); }
.nav__actions { margin-left: auto; display: flex; gap: 10px; }

.hero { max-width: 1240px; margin: 0 auto; padding: 48px 32px 24px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12.5px; font-weight: 600; margin-bottom: 18px; }
.lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13.5px; }
.badges li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

.demo { border-radius: 26px; background: var(--hero); color: var(--hero-fg); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.demo__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { border-radius: 18px; background: rgba(255,255,255,.07); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi span { font-size: 12.5px; color: rgba(243,240,248,.72); }
.kpi b { font-size: 30px; font-weight: 300; letter-spacing: -.035em; line-height: 1; }
.kpi b small { font-size: 14px; color: rgba(243,240,248,.72); }
.kpi--hero { background: var(--primary); }
.kpi--hero span, .kpi--hero b small { color: rgba(255,255,255,.8); }
.demo__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.demo__table th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: rgba(243,240,248,.6); padding: 0 8px 8px; }
.demo__table td { padding: 10px 8px; border-top: 1px solid rgba(255,255,255,.08); }
.demo__table td:nth-child(2) { font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; height: 24px; align-items: center; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.pill--min { background: var(--min-bg); color: var(--min); }
.demo__event { font-size: 12.5px; color: rgba(243,240,248,.72); border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }

.section { max-width: 1240px; margin: 0 auto; padding: 48px 32px; display: flex; flex-direction: column; gap: 24px; }
.section--narrow { max-width: 900px; }
.section__sub { color: var(--muted); margin-top: -12px; }
.card { border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { border-radius: 22px; background: var(--card); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps__n { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--accent-text); }
.steps b { font-size: 17px; font-weight: 600; }
.steps p { color: var(--muted); }

.table-card { overflow: hidden; }
.vs { width: 100%; border-collapse: collapse; font-size: 14px; }
.vs thead th { text-align: left; padding: 16px 24px; background: var(--head); font-weight: 500; color: var(--muted); font-size: 13px; }
.vs thead th.vs__us { color: var(--primary); font-weight: 600; }
.vs tbody th, .vs tbody td { text-align: left; padding: 16px 24px; border-top: 1px solid var(--border); vertical-align: top; }
.vs tbody th { font-weight: 500; }
.vs tbody td:nth-child(2) { color: var(--muted); }
.vs tbody td:nth-child(3) { font-weight: 600; }

.secure { border-radius: 32px; background: var(--hero); color: var(--hero-fg); padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); gap: 32px; align-items: center; }
.secure p { color: rgba(243,240,248,.75); margin-top: 14px; font-size: 16px; }
.secure__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.secure__list li { border-radius: 18px; background: rgba(255,255,255,.07); padding: 14px 18px; font-size: 14px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { border-radius: 24px; background: var(--card); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.plan--hero { background: var(--hero); color: var(--hero-fg); }
.plan__price { font-size: 32px; font-weight: 300; letter-spacing: -.035em; }
.plan__price span { font-size: 13px; color: var(--muted); }
.plan--hero .plan__price span { color: rgba(243,240,248,.7); }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; flex: 1; }
.plan li::before { content: "✓ "; color: var(--primary); font-weight: 700; }
.plan--hero li::before { color: #c4b5fd; }
.plan li.soon { color: var(--muted); }
.plan--hero li.soon { color: rgba(243,240,248,.6); }
.plan li.soon::before { content: "○ "; }

details { border-radius: 18px; background: var(--card); box-shadow: var(--shadow); padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 300; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 18px; }

.cta { border-radius: 32px; background: var(--card); box-shadow: var(--shadow); padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { flex: 1 1 420px; }

.footer { max-width: 1240px; margin: 0 auto; padding: 24px 32px 48px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:hover { color: var(--fg); }

@media (max-width: 900px) {
  .nav { padding: 14px 16px; flex-wrap: wrap; }
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 24px 16px; }
  .section, .footer { padding-left: 16px; padding-right: 16px; }
  .secure, .cta { padding: 28px; grid-template-columns: 1fr; }
  .vs thead th, .vs tbody th, .vs tbody td { padding: 12px 14px; }
}
