:root {
  --c: #5b5bd6; --c2: #8b5cf6; --c3: #a855f7;
  --ink: #14172a; --ink2: #475069; --muted: #7a8194;
  --line: #e7e8f0; --bg: #f6f7fb; --card: #ffffff;
  --radius: 14px; --container: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--c); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Header */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--c), var(--c2), var(--c3)); position: relative; flex-shrink: 0; }
.logo::before, .logo::after, .logo i { content:""; position:absolute; width:6px; height:6px; border-radius:50%; background:#fff; }
.logo::before { top:9px; left:14px; } .logo::after { bottom:10px; left:9px; } .logo i { bottom:10px; right:9px; }
.nav a.link { color: var(--ink2); font-weight: 600; font-size: 15px; }
.nav .spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--c); color: #fff; box-shadow: 0 6px 20px rgba(91,91,214,.28); }
.btn-primary:hover { background: #4f4fcf; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink2); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* Hero */
.hero { text-align: center; padding: 84px 0 64px; }
.eyebrow { display: inline-block; background: rgba(91,91,214,.1); color: var(--c); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 99px; margin-bottom: 22px; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 850; }
h1 .grad { background: linear-gradient(120deg, var(--c), var(--c3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--ink2); max-width: 680px; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-shot { margin: 56px auto 0; max-width: 1000px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(20,23,42,.4); background: #fff; }
.hero-shot img { width: 100%; display: block; }

/* Sections */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 800; }
.section-head p { font-size: 17px; color: var(--ink2); margin: 0; }

/* Feature grid */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature .ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(91,91,214,.12); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 750; }
.feature p { margin: 0; color: var(--ink2); font-size: 15px; }

/* Alt band */
.band { background: var(--ink); color: #fff; }
.band .section-head h2 { color: #fff; }
.band .section-head p { color: #aab0c4; }
.band .feature { background: #1c2036; border-color: #2a2f4a; }
.band .feature h3 { color: #fff; }
.band .feature p { color: #aab0c4; }
.band .feature .ic { background: rgba(139,92,246,.2); }

/* CTA */
.cta-band { text-align: center; background: linear-gradient(135deg, var(--c), var(--c3)); color: #fff; border-radius: 20px; padding: 56px 24px; margin: 24px 0; }
.cta-band h2 { font-size: 34px; margin: 0 0 12px; }
.cta-band p { font-size: 18px; opacity: .92; margin: 0 0 26px; }
.cta-band .btn-primary { background: #fff; color: var(--c); box-shadow: none; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }

/* Docs */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 48px 0; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .doc aside { position: static; } }
.doc aside { position: sticky; top: 88px; align-self: start; }
.doc aside a { display: block; padding: 7px 0; color: var(--ink2); font-weight: 600; font-size: 14px; }
.doc-body h1 { font-size: 38px; }
.doc-body h2 { font-size: 24px; margin: 40px 0 12px; padding-top: 12px; }
.doc-body h3 { font-size: 18px; margin: 26px 0 8px; }
.doc-body p, .doc-body li { color: var(--ink2); font-size: 16px; }
.doc-body code { background: #eceefb; color: #4a3fb0; padding: 2px 7px; border-radius: 6px; font-size: 14px; }
.doc-body pre { background: var(--ink); color: #e6e8f5; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.doc-body pre code { background: none; color: inherit; padding: 0; }
.step { display: flex; gap: 16px; margin: 18px 0; }
.step .n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; padding: 16px 18px; margin: 20px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-inner a { color: var(--ink2); font-weight: 600; }
.pill { display:inline-block; background:rgba(255,255,255,.15); padding:4px 12px; border-radius:99px; font-size:13px; font-weight:700; }
.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none; } }
