/* ====== Tokens ====== */
:root {
  --accent: #2563eb;
  --accent-press: #1d4ed8;
  --accent-soft: #eef3ff;
  --accent-ring: rgba(37, 99, 235, 0.18);

  --ink: #0e1726;
  --ink-2: #475569;
  --ink-3: #7c8aa0;
  --line: #e7eaef;
  --line-2: #eef1f5;

  --bg: #f5f7fa;
  --bg-warm: #f6f5f2;
  --card: #ffffff;

  --ok: #1f9d57;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, 0.05), 0 12px 30px -12px rgba(15, 23, 42, 0.16);
  --shadow-cta: 0 8px 22px -8px var(--accent-ring);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --display: 'Manrope', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#root { min-height: 100vh; }

/* ====== Layout shell (mobile-first column) ====== */
.shell {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--card);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -40px rgba(15, 23, 42, 0.25);
}

@media (min-width: 600px) {
  body { padding: 28px 16px; }
  .shell { border-radius: 28px; min-height: auto; }
}

.section {
  padding: 56px 22px;
  position: relative;
}
.section + .section { border-top: 1px solid var(--line-2); }

.eyebrow {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: 38px; line-height: 1.08; font-weight: 800; }
h2 { font-size: 27px; line-height: 1.14; font-weight: 800; }
h3 { font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

.lead { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.muted { color: var(--ink-3); }

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px;
  padding: 15px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-cta);
  width: 100%;
}
.btn-primary:hover { background: var(--accent-press); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-tg-icon { width: 19px; height: 19px; flex: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 15px;
  padding: 13px 20px;
}
.btn-ghost:hover { border-color: var(--ink-3); }

.contact-hint {
  margin-top: 12px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
}
.contact-hint b { color: var(--ink-2); font-weight: 600; }

/* ====== Hero ====== */
.hero {
  padding-top: 22px;
  background:
    radial-gradient(120% 80% at 100% 0%, var(--accent-soft) 0%, rgba(238,243,255,0) 55%),
    var(--card);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 36px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent);
  display: grid; place-items: center;
  box-shadow: var(--shadow-cta);
}
.brand-mark svg { width: 15px; height: 15px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; }
.brand-tag { font-size: 11px; color: var(--ink-3); letter-spacing: 0.02em; }

.status-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display);
  font-size: 11.5px; font-weight: 600;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 6px 11px 6px 9px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  position: relative;
}
.dot-live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--ok); opacity: 0.5;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hero h1 { margin-top: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-top: 18px; }
.hero-cta { margin-top: 28px; }

.hero-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hero-strip div { background: var(--card); padding: 14px 12px; }
.hero-strip .n { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.hero-strip .l { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.25; }

/* ====== Section heads ====== */
.sec-head { margin-bottom: 26px; }
.sec-head h2 { margin-top: 14px; }
.sec-head p { margin-top: 12px; }

/* ====== Problem cards ====== */
.cards { display: flex; flex-direction: column; gap: 12px; }
.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pcard:hover { box-shadow: var(--shadow-md); border-color: #dfe4ec; transform: translateY(-2px); }
.pcard-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  letter-spacing: 0.02em;
}
.pcard h3 { margin-bottom: 6px; }
.pcard .tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-bottom: 9px;
}
.pcard p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* ====== Featured: белые списки ====== */
.cards-sub {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 26px 0 12px;
}
.feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
  border: 1px solid #dbe5fb;
  border-radius: var(--r-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
}
.feature-glow {
  position: absolute; right: -70px; top: -70px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-ring), transparent 68%);
  pointer-events: none;
}
.feature-top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.feature-badge {
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #fff; background: var(--accent);
  padding: 6px 12px 6px 10px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-cta);
}
.fb-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }
.feature-num { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--accent); opacity: 0.32; letter-spacing: -0.03em; }
.feature-h { margin: 14px 0 8px; font-size: 20px; position: relative; }
.feature-p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; position: relative; }

.compare {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  position: relative;
}
.cmp-cap {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 12px;
}
.cmp-row {
  display: grid;
  grid-template-columns: 96px auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 11px;
  font-size: 13.5px;
}
.cmp-row + .cmp-row { margin-top: 8px; }
.cmp-row.off { background: #fbf3f3; border: 1px solid #f3dada; }
.cmp-row.on { background: var(--accent-soft); border: 1px solid #d7e3fb; }
.cmp-tag { font-family: var(--display); font-weight: 700; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.cmp-row.on .cmp-tag { color: var(--accent); }
.cmp-dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.cmp-dot.off { background: #e0654f; position: relative; }
.cmp-dot.off::after { content: ""; width: 8px; height: 1.6px; background: #fff; border-radius: 2px; }
.cmp-dot.on { background: var(--accent); color: #fff; }
.cmp-dot.on svg { width: 11px; height: 11px; }
.cmp-url { font-family: 'Golos Text', monospace; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.cmp-row.off .cmp-url { text-decoration: line-through; opacity: 0.7; }
.cmp-row.on .cmp-url { color: var(--ink); }
.cmp-state { font-family: var(--display); font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.cmp-state.off { color: #c4503a; }
.cmp-state.on { color: var(--accent); }

/* ====== Coverage diagram ====== */
.coverage {
  margin-top: 26px;
  background: linear-gradient(180deg, #fbfcff, #f4f7fc);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 18px 18px;
}
.cov-stage { position: relative; width: 100%; max-width: 340px; margin: 0 auto; }
.cov-svg { display: block; width: 100%; height: auto; }
.cov-hub {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent);
  color: #fff;
  padding: 7px 13px 7px 9px;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 18px -6px var(--accent-ring), 0 0 0 4px rgba(255,255,255,0.9);
}
.cov-hub-ic { width: 16px; height: 16px; display: grid; place-items: center; }
.cov-hub-ic svg { width: 16px; height: 16px; }
.cov-hub-tx { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: -0.01em; }
.cov-cap { font-size: 13px; color: var(--ink-2); margin-top: 14px; line-height: 1.5; text-align: center; }
.cov-cap b { color: var(--ink); font-family: var(--display); font-weight: 700; }

/* ====== Benefits ====== */
.benefits { display: flex; flex-direction: column; gap: 2px; }
.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.benefit:last-child { border-bottom: none; }
.benefit-check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center; flex: none; margin-top: 1px;
}
.benefit-check svg { width: 14px; height: 14px; }
.benefit b { font-family: var(--display); font-weight: 700; font-size: 15.5px; color: var(--ink); display: block; }
.benefit span { font-size: 14px; color: var(--ink-2); }

.callout {
  margin-top: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-md);
  padding: 20px;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
}
.callout-ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,0.16); display: grid; place-items: center; flex: none; }
.callout-ic svg { width: 20px; height: 20px; }
.callout b { font-family: var(--display); font-size: 15.5px; display: block; }
.callout span { font-size: 13.5px; color: rgba(255,255,255,0.82); }

/* ====== Steps ====== */
.steps-wrap { margin-top: 34px; }
.steps-wrap .sub { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 16px; }
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding-bottom: 22px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--card); border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--display); font-weight: 800; font-size: 13px;
  display: grid; place-items: center; flex: none; z-index: 1;
}
.step:not(:last-child)::before {
  content: ""; position: absolute;
  left: 14.5px; top: 30px; bottom: 6px;
  width: 1.5px; background: var(--line);
}
.step b { font-family: var(--display); font-weight: 700; font-size: 15px; display: block; margin-bottom: 3px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ====== Price ====== */
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
}
.price-label { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.price-val { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 12px 0 4px; line-height: 1; }
.price-val .from { font-size: 16px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; vertical-align: middle; }
.price-val .num { font-size: 42px; }
.price-cur { font-size: 16px; color: var(--ink-2); font-weight: 600; }
.price-note { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; line-height: 1.5; }
.price-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.chip {
  font-size: 12.5px; font-weight: 600; font-family: var(--display);
  color: var(--ink-2);
  background: #f4f6f9; border: 1px solid var(--line-2);
  padding: 7px 12px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; color: var(--ok); }

.price-guarantee {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.pg-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: flex-start; }
.pg-item .pg-ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent);
}
.pg-ic svg { width: 18px; height: 18px; }
.pg-item b { font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--ink); display: block; }
.pg-item span { font-size: 13px; color: var(--ink-2); line-height: 1.45; }

/* ====== FAQ ====== */
.faq { margin-top: 34px; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:first-child { border-top: 1px solid var(--line-2); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink);
  padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-q .ic { width: 22px; height: 22px; flex: none; display: grid; place-items: center; color: var(--accent); transition: transform 0.25s ease; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 18px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ====== Final CTA ====== */
.final {
  background: var(--bg-warm);
  text-align: center;
}
.final-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}
.final-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-ring), transparent 70%);
}
.final-card h2 { color: #fff; font-size: 24px; position: relative; }
.final-card p { color: rgba(255,255,255,0.7); font-size: 15px; margin-top: 12px; position: relative; }
.final-card .btn-primary { margin-top: 22px; position: relative; }
.final-tg { font-family: var(--display); font-weight: 700; color: var(--accent); }

footer {
  text-align: center;
  padding: 26px 22px 34px;
  font-size: 12px;
  color: var(--ink-3);
}
footer a { color: var(--ink-2); text-decoration: none; font-weight: 600; }

/* reveal — always visible (no animation dependency that could hide content) */
.reveal, .reveal.in { opacity: 1; transform: none; }
