/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-muted: #f6f7fb;
  --text: #14172a;
  --text-muted: #5b607a;
  --border: #e6e8f0;
  --card: #ffffff;

  --brand: #4f46e5;
  --brand-dark: #3f37c9;
  --brand-light: #eef0fe;
  --accent: #16a394;

  --navy: #0f1226;
  --navy-2: #171a35;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 18, 38, 0.04), 0 8px 24px rgba(15, 18, 38, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 18, 38, 0.14);

  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c18;
    --bg-muted: #10132a;
    --text: #f1f2fb;
    --text-muted: #a7abc9;
    --border: #262a4a;
    --card: #12142a;

    --brand: #7c74f5;
    --brand-dark: #6a61f0;
    --brand-light: #1c1a3d;
    --accent: #34d0bd;

    --navy: #06070f;
    --navy-2: #0c0e20;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.full-width { width: 100%; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .28);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-ghost {
  color: var(--text-muted);
  font-weight: 600;
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.logo-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
}
.logo-mark svg { width: 17px; height: 17px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.main-nav a:hover { color: var(--text); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 15% -10%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    var(--bg-muted);
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 760px; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: .4em;
}
.hero-sub {
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 2em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.hero-note {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Strip (who it's for) ---------- */
.strip {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.strip-label {
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.pill-row li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-muted { background: var(--bg-muted); }
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-sub { font-size: 17px; margin: 0; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 26px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand-light);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: .4em; }
.feature-card p { margin: 0; font-size: 15px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; margin-bottom: .4em; }
.step p { font-size: 14px; margin: 0; }

/* ---------- Pricing ---------- */
.pricing-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pricing-card-main { padding: 40px; }
.price-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.price-block { display: flex; flex-direction: column; }
.price-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.price-plus { font-size: 22px; color: var(--text-muted); font-weight: 700; }

.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.pricing-card-side {
  background: var(--bg-muted);
  border-left: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.pricing-card-side p { font-size: 15px; margin: 0 0 4px; }

.pricing-footnote {
  text-align: center;
  font-size: 13px;
  margin-top: 20px;
}

/* ---------- FAQ ---------- */
.faq-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  max-width: 980px;
  margin: 0 auto;
}
.faq-group-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand);
  margin-bottom: 14px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 16px;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 88px 0;
}
.cta-band-inner { max-width: 620px; text-align: center; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 34px); }
.cta-band p { color: rgba(255,255,255,.78); font-size: 16px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 13px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-card-side { border-left: none; border-top: 1px solid var(--border); }
  .faq-groups { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 20px;
    gap: 16px;
  }
  .site-header.nav-open .header-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(72px + 168px);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 0 24px 20px;
    gap: 10px;
    border-bottom: 1px solid var(--border);
  }

  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
}
