:root {
  --ink: #0b1120;
  --body: #33415c;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f6f8fc;
  --brand: #4338ca;
  --brand-dark: #312e81;
  --accent: #06b6d4;
  --radius: 14px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 18px; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.stack > * + * { margin-top: 16px; }

header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.brand-logo { width: 22px; height: 22px; object-fit: cover; border-radius: 50%; }
nav.links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
nav.links a { color: var(--body); }
.button {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
}
.button:hover { text-decoration: none; background: var(--brand-dark); border-color: var(--brand-dark); }
.button.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.button.ghost:hover { background: var(--soft); }
.button.light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.button.light:hover { background: rgba(255,255,255,.2); }

.hero { background: linear-gradient(160deg, #0b1120 0%, #1e1b4b 58%, #312e81 100%); color: #dbe3f4; padding: 92px 0 84px; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero p.lede { font-size: 19px; max-width: 58ch; color: #c3cde4; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #a5b4fc; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero .fine { font-size: 13.5px; color: #94a3c4; margin-top: 18px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
.metrics b { display: block; font-size: 30px; color: #fff; letter-spacing: -.03em; }
.metrics span { font-size: 13px; color: #a8b4d0; }

section { padding: 76px 0; }
section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 38px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .icon { width: 34px; height: 34px; border-radius: 9px; background: #eef0ff; color: var(--brand); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }

.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px;
}

table.data { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
table.data th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--soft); }
table.data tr:last-child td { border-bottom: 0; }
.badge { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef0ff; color: var(--brand); white-space: nowrap; }
.badge.pro { background: #ecfeff; color: #0e7490; }
.badge.free { background: #f0fdf4; color: #15803d; }

.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.plan.featured { border-color: var(--brand); box-shadow: 0 24px 48px -28px rgba(67,56,202,.45); }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.plan .price b { font-size: 42px; color: var(--ink); letter-spacing: -.04em; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.plan li span:first-child, .plan li > span { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #eef0ff; position: relative; margin-top: 3px; }
.plan li > span::after { content: ""; position: absolute; inset: 5px 4px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.plan .button { width: 100%; }

pre { background: #0b1120; color: #e2e8f0; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
pre .comment { color: #7d8ba8; }
code.inline { background: #eef1f7; padding: 2px 7px; border-radius: 6px; font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
details + details { margin-top: 12px; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details p { margin-top: 10px; color: var(--muted); }

.callout { border: 1px solid #fde68a; background: #fffbeb; color: #92400e; border-radius: 12px; padding: 16px 20px; font-size: 15px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.toc a { font-size: 14px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--body); background: #fff; }

footer.site { background: #0b1120; color: #94a3c4; padding: 54px 0 40px; font-size: 14.5px; }
footer.site a { color: #c7d2fe; }
footer.site .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
footer.site .legal { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 13px; color: #7d8ba8; }
@media (max-width: 760px) {
  nav.links a.hide-sm { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
}
