:root {
  --bg: #faf8f4;
  --bg-2: #f3f0ea;
  --surface: #ffffff;
  --surface-2: #f5f3ee;
  --border: #e4ded3;
  --text: #1c1917;
  --text-2: #44403c;
  --muted: #57534e;
  --accent: #4338ca;
  --accent-2: #3730a3;
  --accent-ink: #ffffff;
  --accent-soft: #eef2ff;
  --amber: #f59e0b;
  --amber-ink: #92400e;
  --warn: #f59e0b;
  --radius: 14px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(228, 222, 211, .9);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 1.08rem; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  transition: background .15s ease, transform .15s ease;
  text-align: center;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--amber-ink); outline-offset: 3px; }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: #78716c; }
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent-2); }

/* Hero */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(99, 102, 241, .14), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(245, 158, 11, .10), transparent 60%),
    linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner > * { max-width: 860px; }
.accent { color: var(--accent); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700; color: var(--amber-ink); margin-bottom: .8em;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--text-2); max-width: 720px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.cta-row.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card p:last-child { margin-bottom: 0; }
.card-outline { background: transparent; border-style: dashed; border-color: #c9c0b1; }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-soft); border: 1px solid rgba(67, 56, 202, .25);
  padding: 2px 10px; border-radius: 999px; margin-bottom: 12px;
}

.grid { display: grid; gap: 20px; margin-top: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.optional { margin-top: 20px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 14px; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before {
  position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}
.checklist.warn li::before { content: "!"; color: var(--text); background: var(--warn); }
.checklist.ok li::before { content: "✓"; color: var(--accent-ink); background: var(--accent); }

.mini { margin: 0 0 1em; padding-left: 1.1em; color: var(--text-2); }
.mini li { margin-bottom: 4px; }
.mini li::marker { color: var(--accent); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(67, 56, 202, .3);
  font-weight: 800; margin-bottom: 14px;
}

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; }
.price { font-size: 1.5rem; font-weight: 800; margin: 0 0 .1em; }
.price-note { color: var(--muted); font-size: .95rem; }
.featured { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(67, 56, 202, .35), 0 20px 50px -25px rgba(55, 48, 163, .35); }
.pricing + .muted { margin-top: 26px; }

/* FAQ */
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 18px 28px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 1.4rem; font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); padding-bottom: 18px; margin: 0; }

/* Final CTA */
.cta {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(99, 102, 241, .12), transparent 70%),
    var(--accent-soft);
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 30px 0; font-size: .92rem; }
.footer-inner p { margin: 0 0 6px; }

/* Privacy / prose page */
.prose { padding: 64px 0 80px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-2); }

/* Responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 60px; }
  .section { padding: 60px 0; }
  .two-col, .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .two-col { gap: 28px; }
  .cta-row .btn { width: 100%; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* list used directly as a card */
.checklist.card { padding: 26px; }
@media (max-width: 760px) { .checklist.card { padding: 22px; } }

/* Secondary offering (software) */
#software .cta-row { margin-bottom: 0; }
