:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --accent: #22d3ee;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --line: #e2e8f0;
  --ok: #16a34a;
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 54px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px;
  font-weight: 700; color: var(--primary);
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p.lead { font-size: 1.18rem; color: var(--muted); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 11px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: .15s;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; }
.logo .mark,
.sidebar-logo .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 200%;
  animation: mark-flow 4.5s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.logo .mark::before,
.sidebar-logo .mark::before {
  content: "S";
  color: #fff; font-weight: 800; font-size: 16px; line-height: 1;
}
@keyframes mark-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .logo .mark,
  .sidebar-logo .mark { animation: none; }
}
.nav-links { display: flex; align-items: center; gap: 26px; }
/* :not(.btn) so the nav-link gray never overrides a button's own text color */
.nav-links a:not(.btn) { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }

/* ---- hero ---- */
.hero { padding: 50px 0 40px; text-align: center; }
.hero .pill {
  display: inline-flex; gap: 7px; align-items: center;
  background: #eef2ff; color: var(--primary-dark);
  font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px;
}
.hero h1 { margin: 16px auto 14px; max-width: 14ch; }
.hero .lead { max-width: 56ch; margin: 0 auto 22px; }
.hero .cta-row { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.hero .micro { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---- product mock ---- */
.mock {
  margin: 38px auto 0; max-width: 880px;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(79, 70, 229, .35);
  background: #fff;
}
.mock-bar {
  display: flex; gap: 7px; padding: 13px 16px;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; }
.mock-stat {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  background: var(--bg-alt);
}
.mock-stat .k { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.mock-stat .v { font-size: 28px; font-weight: 800; margin-top: 4px; }
.mock-stat .v small { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---- stat bar ---- */
.statbar { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.statbar .item { text-align: center; }
.statbar .num { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.statbar .lbl { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---- feature grid ---- */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; background: #fff;
  box-shadow: 0 4px 16px -8px rgba(15, 23, 42, .12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -14px rgba(79, 70, 229, .3);
}
.card .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 800; margin-bottom: 11px;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14px; }

.section-head { text-align: center; max-width: 60ch; margin: 0 auto 30px; }
.section-head p { color: var(--muted); margin-top: 8px; font-size: 1.02rem; }

/* ---- steps ---- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n {
  counter-increment: step; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step .n::before { content: counter(step); }

/* ---- safety callout ---- */
.safety {
  border: 1px solid #c7d2fe; background: #eef2ff;
  border-radius: 18px; padding: 30px;
  box-shadow: 0 10px 30px -16px rgba(79, 70, 229, .35);
}
.safety ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.safety li { display: flex; gap: 10px; font-weight: 600; }
.safety li::before { content: "✓"; color: var(--ok); font-weight: 800; }

/* ---- pricing ---- */
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: #fff; display: flex; flex-direction: column;
  box-shadow: 0 6px 20px -12px rgba(15, 23, 42, .16);
}
.price-card.featured {
  border-color: var(--primary); box-shadow: 0 20px 40px -24px rgba(79,70,229,.5);
  position: relative;
}
.price-card.featured .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 13px; border-radius: 999px;
}
.price-card .amt { font-size: 2.4rem; font-weight: 800; margin: 8px 0; }
.price-card .amt small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; margin: 14px 0 20px; display: grid; gap: 8px; }
.price-card li { display: flex; gap: 9px; font-size: 14.5px; }
.price-card li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---- faq ---- */
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq summary {
  font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin-top: 10px; }

/* ---- final cta ---- */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 22px; padding: 44px 36px; text-align: center;
  box-shadow: 0 20px 44px -20px rgba(79, 70, 229, .55);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7d2fe; margin: 12px auto 26px; max-width: 50ch; }
.cta-band .btn--primary { background: #fff; color: var(--primary-dark); }
.cta-band .btn--primary:hover { background: #eef2ff; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer .muted { color: var(--muted); font-size: 13.5px; }
.footer .links { display: flex; gap: 20px; }
.footer .links a { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.disclaimer {
  font-size: 12.5px; color: var(--muted); text-align: center;
  max-width: 70ch; margin: 18px auto 0;
}
