:root {
  --bg: #f7f7fb;
  --ink: #191825;
  --muted: #6f6c7d;
  --line: #e7e5ef;
  --accent: #6957f5;
  --accent-soft: #efedff;
  --surface: #ffffff;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(105, 87, 245, 0.12), transparent 36%),
    linear-gradient(180deg, #fbfaff 0%, var(--bg) 100%);
  line-height: 1.55;
}

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

.wrap {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 11px; }
.nav-links { display: flex; gap: 16px; color: var(--muted); font-size: 14px; }

.hero { padding: 24px 0 40px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 14px;
  max-width: 14ch;
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.lead {
  max-width: 42ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 650;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(0.96); text-decoration: none; }
.btn-ghost {
  background: rgba(255,255,255,0.8);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { text-decoration: none; background: #fff; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 42px;
}
.card, .price, .doc {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(34, 27, 73, 0.05);
}
.card { padding: 18px; }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 48px;
}
.price { padding: 22px; }
.price .tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #5a48d7;
  font-size: 11px;
  font-weight: 700;
}
.price h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.03em; }
.price .amount { margin: 0 0 14px; color: var(--muted); }
.price ul { margin: 0; padding-left: 18px; color: var(--muted); }

.doc { padding: 28px; }
.doc h1 { margin-top: 0; letter-spacing: -0.03em; }
.doc h2 { margin-top: 28px; font-size: 18px; }
.doc p, .doc li { color: #3b3850; }
.meta { color: var(--muted); font-size: 13px; }

.footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
}

@media (max-width: 760px) {
  .grid, .pricing { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}
