/* Stickzem — сайт-визитка. Чистый CSS, без сборки. */

:root {
  --bg: #fbfaff;
  --surface: #ffffff;
  --ink: #1c1b2e;
  --muted: #6b6a80;
  --line: #ececf5;
  --brand: #6c5ce7;
  --brand-dark: #5646d6;
  --brand-soft: #efecff;
  --accent: #ff7ac6;
  --ok: #12b886;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(50, 40, 120, 0.08);
  --wrap: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--brand); }

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  font-size: 15px;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(108, 92, 231, 0.35);
}
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface); }
.btn--lg { padding: 15px 30px; font-size: 17px; }

/* Hero */
.hero {
  padding: 72px 0 40px;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.hero p.lead {
  font-size: clamp(17px, 2.6vw, 20px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Секции */
section { padding: 48px 0; }
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

/* Как это работает */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.step__num {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Тарифы */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.plan--featured {
  border-color: var(--brand);
  box-shadow: 0 16px 44px rgba(108, 92, 231, 0.18);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__count { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.plan__count small { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }
.plan__price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
}
.plan__price span { font-size: 22px; color: var(--muted); }

/* Реквизиты / контакты */
.req {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.req dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 20px;
  margin: 0;
}
.req dt { color: var(--muted); }
.req dd { margin: 0; font-weight: 600; }

/* Финальный CTA */
.final-cta {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 130%);
  border-radius: 24px;
  padding: 48px 28px;
  text-align: center;
  color: #fff;
}
.final-cta h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 10px; }
.final-cta p { margin: 0 0 24px; opacity: .92; font-size: 17px; }
.final-cta .btn--primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.final-cta .btn--primary:hover { background: #f4f2ff; }

/* Подвал */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 24px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink);
}
.footer-col p { margin: 0 0 10px; line-height: 1.65; }
.footer-col p:last-child { margin-bottom: 0; }
.site-footer a { color: var(--brand-dark); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Страница оферты */
.doc { padding: 48px 0 32px; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 6px; }
.doc .doc__meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 20px; margin: 32px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: #33324a; }
.doc ul, .doc ol { padding-left: 22px; }
.doc a.back { display: inline-block; margin-bottom: 24px; text-decoration: none; font-weight: 600; }

/* Адаптив */
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .req dl { grid-template-columns: 1fr; gap: 2px 0; }
  .req dd { margin-bottom: 12px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 28px; }
}
