:root {
  --brand: #4338ca;
  --brand-dark: #3730a3;
  --brand-light: #eef2ff;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

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

img { max-width: 100%; height: auto; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.9);
  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;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo { font-size: 24px; }
.brand b { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--slate); font-weight: 600; font-size: 15px; }
.nav .cta {
  background: var(--brand); color: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 700;
}
.nav .cta:hover { background: var(--brand-dark); text-decoration: none; }
@media (max-width: 720px) { .nav a:not(.cta) { display: none; } }

/* Hero / page head */
.page-hero {
  background: radial-gradient(1200px 400px at 80% -10%, var(--brand-light), transparent),
              linear-gradient(180deg, #fbfdfc, #ffffff);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}
.eyebrow {
  display: inline-block; background: var(--brand-light); color: var(--brand-dark);
  font-weight: 700; font-size: 13px; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 32px); line-height: 1.2; letter-spacing: -0.01em; margin: 48px 0 16px; font-weight: 800; }
h3 { font-size: 20px; margin: 28px 0 10px; font-weight: 700; }
.lead { font-size: 20px; color: var(--slate); max-width: 720px; }

/* Content */
main { padding: 8px 0 64px; }
main p, main li { color: #334155; }
main ul { padding-left: 22px; }
main li { margin: 8px 0; }
.section { padding: 8px 0; }

.btn {
  display: inline-block; background: var(--brand); color: #fff !important;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  margin-top: 8px;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn-ghost {
  background: #fff; color: var(--brand-dark) !important; border: 1.5px solid var(--brand);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 24px 0; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: #fff; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 10px 30px -12px rgba(30,27,75,.18); transform: translateY(-2px); }
.card .ico { font-size: 26px; }
.card h3 { margin: 10px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Blog cards — whole card is a link */
a.card { display: flex; flex-direction: column; gap: 8px; color: inherit; }
a.card:hover { text-decoration: none; }
a.card h3 { color: var(--ink); }
a.card .cta { margin-top: auto; color: var(--brand); font-weight: 700; font-size: 15px; padding-top: 6px; }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 16px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp thead th { background: var(--brand-light); color: var(--brand-dark); }
.cmp tbody tr td:first-child { color: var(--slate); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 28px 0; }
.price {
  border: 2px solid var(--line); border-radius: 20px; padding: 28px; text-align: center; background: #fff;
}
.price.popular { border-color: var(--brand); box-shadow: 0 16px 40px -18px rgba(67,56,202,.4); }
.price .amount { font-size: 44px; font-weight: 800; }
.price .amount span { font-size: 18px; color: var(--muted); font-weight: 600; }
.price .per { color: var(--muted); }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin: 12px 0; background: #fff;
}
.faq summary { font-weight: 700; cursor: pointer; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--slate); }

/* Breadcrumb */
.crumbs { font-size: 14px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; border-radius: 24px; padding: 44px 32px; text-align: center; margin: 48px 0;
}
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0 0 22px; }
.cta-band .btn { background: #fff; color: var(--brand-dark) !important; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fafafa; padding: 40px 0; color: var(--muted); font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.site-footer h4 { color: var(--ink); font-size: 15px; margin: 0 0 12px; }
.site-footer a { color: var(--slate); display: block; margin: 6px 0; }
.site-footer .copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
