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

/* Дизайн-токены вынесены в tokens.css (подключается до этого файла). */

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.lp-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.lp-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}

.lp-btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.lp-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.lp-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 20px;
}
.lp-btn-ghost:hover { border-color: var(--accent); color: var(--accent-hover); }
.lp-btn-video { vertical-align: middle; }
.lp-play { font-size: 0.78em; opacity: 0.85; }
/* Зазор между соседними кнопками в hero (Войти + Обзор сервиса) */
.lp-hero .lp-btn + .lp-btn { margin-left: 12px; }

/* --- Topbar --- */
.lp-topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.lp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lp-logo { height: 32px; width: 32px; object-fit: cover; mix-blend-mode: lighten; }
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-slogan { font-size: var(--brand-slogan-size); color: var(--text-dim); font-weight: 400; letter-spacing: 0; white-space: nowrap; }

/* --- Hero --- */
.lp-hero {
  text-align: center;
  padding: 80px 0 56px;
}
.lp-h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}
.lp-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 32px;
}
.lp-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.lp-shot {
  margin: 56px auto 0;
  max-width: 920px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lp-shot img { display: block; width: 100%; height: auto; }

/* --- Sections --- */
.lp-section { padding: 64px 0; }
.lp-section-alt { background: var(--surface-2); }
.lp-h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

/* --- Cards (3 pillars) --- */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.lp-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-hover);
  margin-bottom: 16px;
}
.lp-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.lp-card p { color: var(--text-dim); font-size: 0.95rem; }

.lp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 2px 7px;
  white-space: nowrap;
}

/* --- Benefits --- */
.lp-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  max-width: 880px;
  margin: 0 auto;
}
.lp-benefit h4 { font-size: 1.05rem; margin-bottom: 8px; }
.lp-benefit p { color: var(--text-dim); font-size: 0.95rem; }

/* --- Plans --- */
.lp-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.lp-plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lp-plan-paid { border-color: var(--accent); }
.lp-plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hover);
  margin-bottom: 12px;
}
.lp-plan-desc { color: var(--text); margin-bottom: 24px; flex: 1; }
.lp-plan-fineprint {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Final CTA --- */
.lp-cta-final { text-align: center; }

/* --- FAQ (аккордеон на <details>, без JS) --- */
.lp-faq .lp-h2 { text-align: center; }
.lp-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.lp-faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); padding: 0 18px; }
.lp-faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: color var(--t); }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: '+'; color: var(--text-dim); font-size: 1.4em; line-height: 1; flex-shrink: 0; }
.lp-faq-item[open] summary::after { content: '−'; }
.lp-faq-item summary:hover { color: var(--accent-hover); }
.lp-faq-item p { margin: 0 0 18px; color: var(--text-dim); line-height: 1.65; }

/* --- Footer --- */
.lp-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-dim);
  font-size: 0.875rem;
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-footer a { color: var(--text-dim); text-decoration: none; }
.lp-footer a:hover { color: var(--accent-hover); }

/* --- Article (privacy policy) --- */
.lp-article {
  padding: 56px 0 72px;
  max-width: 760px;
}
.lp-article h1 { font-size: 1.9rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.lp-article .lp-article-date { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 36px; }
.lp-article h2 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  padding-top: 8px;
}
.lp-article p, .lp-article li { color: var(--text); font-size: 0.95rem; }
.lp-article p { margin-bottom: 12px; }
.lp-article ul { margin: 0 0 12px 22px; }
.lp-article li { margin-bottom: 6px; }
.lp-article a { color: var(--accent-hover); }
.lp-article img {
  display: block;
  width: 100%;
  height: auto;
  margin: 8px 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.lp-author {
  margin-top: 44px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.lp-author h2 { margin-top: 0; padding-top: 0; }
.lp-article .lp-back { display: inline-block; margin-bottom: 28px; color: var(--text-dim); text-decoration: none; }
.lp-article .lp-back:hover { color: var(--accent-hover); }
.lp-article blockquote {
  margin: 16px 0;
  padding: 4px 16px;
  border-left: 3px solid var(--border);
  color: var(--text-dim);
}
.lp-article code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1px 5px;
  font-size: 0.88em;
}

/* CTA block at the end of an article */
.lp-cta-inline {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  text-align: center;
}
.lp-cta-inline p { color: var(--text); margin-bottom: 16px; }

/* Blog index list */
.lp-posts { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.lp-post {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--t);
}
.lp-post:hover { border-color: var(--accent); }
.lp-post h2 { font-size: 1.2rem; color: var(--text); margin-bottom: 4px; }
.lp-post-date { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 8px; }
.lp-post-desc { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

/* --- Cookie notice --- */
.lp-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 50;
}
.lp-cookie[hidden] { display: none; }
.lp-cookie p { color: var(--text-dim); font-size: 0.85rem; flex: 1; min-width: 220px; margin: 0; }
.lp-cookie a { color: var(--accent-hover); }
.lp-cookie button {
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.lp-cookie button:hover { background: var(--accent-hover); }

/* --- Responsive --- */
@media (max-width: 820px) {
  .lp-cards { grid-template-columns: 1fr; }
  .lp-benefits { grid-template-columns: 1fr; }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-h1 { font-size: 2rem; }
  .lp-sub { font-size: 1.05rem; }
  .lp-hero { padding: 56px 0 40px; }
}
