:root {
  color-scheme: light;
  --ink-950: #070b18;
  --ink-900: #0d1328;
  --ink-800: #1a2340;
  --ink-700: #2f3a5c;
  --ink-500: #66719a;
  --ink-400: #8d97b6;
  --ink-300: #c3c9dd;
  --ink-200: #dde1ee;
  --ink-100: #eceef6;
  --ink-50: #f6f7fb;
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-400: #818cf8;
  --brand-200: #c7d2fe;
  --violet: #8b5cf6;
  --emerald: #10b981;
  --amber: #f59e0b;
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 82px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink-900);
  font: 15px/1.6 "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  background: #eef2ff;
  color: var(--brand-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow.dark {
  border-color: rgba(129, 140, 248, .3);
  background: rgba(99, 102, 241, .12);
  color: #c7d2fe;
}
.btn {
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  color: #fff;
  box-shadow: 0 16px 34px -16px rgba(99, 102, 241, .9);
}
.btn-primary:hover { background: linear-gradient(135deg, #4f46e5, #6d28d9); }
.btn-light { background: #fff; color: var(--ink-900); border-color: var(--ink-200); }
.btn-light:hover { background: var(--ink-50); }
.btn-ghost-dark { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 12.5px; border-radius: 9px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(7, 11, 24, .82);
  backdrop-filter: blur(14px);
}
.nav-inner { display: flex; height: 66px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; }
.brand-text small { margin-top: 2px; font-size: 8px; font-weight: 700; letter-spacing: .2em; color: rgba(255, 255, 255, .38); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: rgba(255, 255, 255, .6); font-size: 12.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; border: 0; background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(99, 102, 241, .34), transparent 60%),
    radial-gradient(760px 420px at 100% 0%, rgba(139, 92, 246, .24), transparent 60%),
    linear-gradient(180deg, #070b18 0%, #0b1124 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(129, 140, 248, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(129, 140, 248, .06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 82%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
  padding: 78px 0 88px;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(34px, 4.2vw, 55px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #a5b4fc, #d8b4fe 55%, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { margin-top: 18px; max-width: 540px; color: rgba(255, 255, 255, .55); font-size: 15.5px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-note { margin-top: 12px; color: rgba(255, 255, 255, .3); font-size: 11px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.trust-item { display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .45); font-size: 11px; }
.trust-item span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; background: rgba(16, 185, 129, .12); color: #6ee7b7; font-size: 10px; }

/* --------------------------------------------------------------- mockup */
.mock-wrap { position: relative; }
.mock-glow {
  position: absolute;
  inset: -30px -20px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .3), rgba(139, 92, 246, .16));
  filter: blur(40px);
}
.mock {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: #f7f8fc;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85);
  transform: rotate(-1.2deg);
  color: var(--ink-900);
}
.mock-bar { display: flex; height: 34px; align-items: center; gap: 6px; padding: 0 12px; background: #0a0f22; }
.mock-dot { width: 7px; height: 7px; border-radius: 999px; }
.mock-body { display: grid; grid-template-columns: 58px 1fr; min-height: 356px; }
.mock-side { padding: 12px 8px; background: #0a0f22; }
.mock-side i { display: block; height: 20px; margin-bottom: 7px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.mock-side i.active { background: rgba(129, 140, 248, .34); }
.mock-main { padding: 14px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; }
.mock-title { font-size: 11px; font-weight: 700; }
.mock-sub { margin-top: 2px; color: var(--ink-400); font-size: 8px; }
.mock-badge { padding: 3px 7px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 7.5px; font-weight: 700; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.mock-kpi { padding: 7px; border: 1px solid #e6e9f2; border-radius: 8px; background: #fff; }
.mock-kpi small { display: block; color: var(--ink-400); font-size: 6.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mock-kpi b { display: block; margin-top: 2px; font-size: 12px; letter-spacing: -.02em; }
.mock-kpi em { font-style: normal; color: #059669; font-size: 6.5px; font-weight: 700; }
.mock-chart { display: flex; height: 132px; align-items: flex-end; gap: 5px; margin-top: 8px; padding: 10px; border-radius: 8px; background: #fff; border: 1px solid #e6e9f2; }
.mock-chart span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, #6366f1, #a5b4fc); }
.mock-bottom { display: grid; grid-template-columns: 1fr 74px; gap: 8px; margin-top: 8px; }
.mock-list { padding: 8px; border: 1px solid #e6e9f2; border-radius: 8px; background: #fff; }
.mock-row { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.mock-row:last-child { margin-bottom: 0; }
.mock-row span:first-child { width: 40px; color: var(--ink-400); font-size: 6.5px; }
.mock-track { height: 4px; flex: 1; border-radius: 999px; background: #eceef6; overflow: hidden; }
.mock-track i { display: block; height: 100%; border-radius: 999px; background: #34d399; }
.mock-donut { display: grid; place-items: center; border: 1px solid #e6e9f2; border-radius: 8px; background: #fff; }
.mock-donut span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 999px; border: 6px solid #6366f1; border-right-color: #eceef6; font-size: 8px; font-weight: 800; }
.mock-float {
  position: absolute;
  left: -18px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--ink-200);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 40px -20px rgba(10, 15, 34, .45);
  color: var(--ink-900);
}
.mock-float .tick { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; background: #ecfdf5; color: #059669; font-size: 12px; }
.mock-float b { display: block; font-size: 9px; }
.mock-float small { color: var(--ink-400); font-size: 7.5px; }

/* --------------------------------------------------------------- logos */
.logos { border-bottom: 1px solid var(--ink-100); background: #fff; }
.logos-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; }
.logos-label { color: var(--ink-400); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.logos-items { display: flex; flex-wrap: wrap; gap: 26px; color: var(--ink-500); font-size: 12px; font-weight: 600; }
.logos-items span { display: flex; align-items: center; gap: 6px; }

/* -------------------------------------------------------------- section */
.section { padding: 82px 0; }
.section.soft { background: var(--ink-50); }
.section-head { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.section-head h2 { margin-top: 13px; font-size: clamp(27px, 3.1vw, 38px); font-weight: 700; line-height: 1.16; letter-spacing: -.025em; }
.section-head p { margin-top: 12px; color: var(--ink-500); font-size: 14.5px; line-height: 1.7; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.feature {
  padding: 22px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--brand-200); box-shadow: 0 24px 50px -34px rgba(16, 24, 40, .45); }
.feature-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: #eef2ff;
  color: var(--brand-600);
  font-size: 17px;
}
.feature h3 { margin-top: 14px; font-size: 14.5px; }
.feature p { margin-top: 6px; color: var(--ink-500); font-size: 12.5px; line-height: 1.65; }
.feature .tag { display: inline-block; margin-top: 12px; padding: 3px 8px; border-radius: 999px; background: var(--ink-50); color: var(--ink-500); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; }

/* -------------------------------------------------------------- workflow */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 22px 22px; border: 1px solid var(--ink-200); border-radius: var(--radius); background: #fff; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--brand-400);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.step h3 { font-size: 15px; }
.step p { margin-top: 6px; color: var(--ink-500); font-size: 12.5px; line-height: 1.65; }
.step .arrow { position: absolute; right: -13px; top: 50%; z-index: 2; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--ink-200); border-radius: 999px; background: #fff; color: var(--ink-400); font-size: 10px; }
.step:last-child .arrow { display: none; }

/* --------------------------------------------------------------- pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.price-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--ink-200);
  border-radius: 20px;
  background: #fff;
}
.price-card.featured { border-color: #a5b4fc; background: linear-gradient(160deg, #eef2ff 0%, #fff 55%); box-shadow: 0 30px 70px -40px rgba(79, 70, 229, .45); }
.price-flag { position: absolute; right: 18px; top: 18px; padding: 4px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price-card h3 { font-size: 16px; }
.price-card .desc { margin-top: 4px; color: var(--ink-500); font-size: 12px; }
.price-line { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.price-line strong { font-size: 30px; letter-spacing: -.03em; }
.price-line span { color: var(--ink-400); font-size: 12px; }
.price-card ul { margin: 18px 0 22px; padding: 0; list-style: none; }
.price-card li { display: flex; gap: 8px; margin-bottom: 8px; color: var(--ink-600); font-size: 12.5px; }
.price-card li::before { content: "✓"; color: var(--emerald); font-weight: 800; }
.price-card .btn { width: 100%; }

.trial-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 22px auto 0;
  padding: 14px 18px;
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  background: linear-gradient(120deg, #eef2ff 0%, #f8fafc 100%);
  color: var(--ink-600);
  font-size: 12.5px;
}
.trial-note strong { color: var(--ink-900); }
.trial-note .btn { flex-shrink: 0; }

/* ------------------------------------------------------------------- faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--ink-200); padding: 18px 0; }
.faq summary { display: flex; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 18px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--ink-500); font-size: 13px; line-height: 1.7; }

/* ------------------------------------------------------------------- cta */
.cta { padding: 0 0 82px; }
.cta-box {
  position: relative;
  overflow: hidden;
  padding: 48px 40px;
  border-radius: 24px;
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(99, 102, 241, .38), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(139, 92, 246, .3), transparent 60%),
    #0a0f22;
  color: #fff;
  text-align: center;
}
.cta-box h2 { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.025em; }
.cta-box p { max-width: 520px; margin: 10px auto 0; color: rgba(255, 255, 255, .5); font-size: 13.5px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--ink-200); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 46px 0 34px; }
.footer-brand p { margin-top: 12px; max-width: 280px; color: var(--ink-500); font-size: 12px; line-height: 1.7; }
.footer h4 { margin: 0 0 11px; color: var(--ink-400); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 7px; }
.footer li a { color: var(--ink-600); font-size: 12px; }
.footer li a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px 0 22px; border-top: 1px solid var(--ink-100); color: var(--ink-400); font-size: 10.5px; }
.footer-bottom a { color: var(--ink-500); }
.footer .brand { color: var(--ink-900); }
.footer .brand-text small { color: var(--ink-400); }

/* ---------------------------------------------------------------- subpage */
.page-hero { padding: 64px 0 44px; background: linear-gradient(180deg, #f6f7fb, #fff); border-bottom: 1px solid var(--ink-100); }
.page-hero h1 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1.12; }
.page-hero p { max-width: 640px; margin-top: 12px; color: var(--ink-500); font-size: 14px; }
.prose { max-width: 820px; padding: 56px 0 80px; }
.prose h2 { margin: 34px 0 10px; font-size: 20px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; color: var(--ink-600); font-size: 13.5px; line-height: 1.75; }
.prose ol, .prose ul { margin: 0 0 16px; padding-left: 20px; color: var(--ink-600); font-size: 13.5px; line-height: 1.8; }
.prose code { padding: 2px 6px; border-radius: 5px; background: var(--ink-100); color: var(--ink-800); font: 12px Consolas, monospace; }
.note { padding: 14px 16px; border: 1px solid #c7d2fe; border-radius: 12px; background: #eef2ff; color: #3730a3; font-size: 12.5px; line-height: 1.7; }
.note.warn { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--ink-200); border-radius: 16px; background: #fff; box-shadow: 0 20px 50px -40px rgba(16, 24, 40, .4); }
.download-card .meta { color: var(--ink-400); font-size: 11px; }
.download-card h3 { margin-bottom: 3px; font-size: 16px; }

/* --------------------------------------------------------------- reveal */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feature:hover { transform: none; }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 58px 0 68px; }
  .hero-lead { max-width: 640px; }
  .mock-wrap { max-width: 640px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) .arrow { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #070b18;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 9px 0; }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost-dark { display: none; }
  .grid-3, .grid-2, .steps, .pricing { grid-template-columns: 1fr; }
  .trial-note { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trial-note .btn { width: 100%; }
  .step .arrow { display: none; }
  .section { padding: 60px 0; }
  .cta-box { padding: 36px 22px; }
  .download-card { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .logos-inner { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-trust { gap: 10px; }
  .footer-main { grid-template-columns: 1fr; }
}
