:root {
  --brand: #5b4ee8;
  --brand-dark: #4436d6;
  --brand-soft: #eceafd;
  --ink: #1b1d2e;
  --muted: #5d6178;
  --line: #e6e7ef;
  --bg: #ffffff;
  --bg-alt: #f6f6fb;
  --accent-1: #e2734f;
  --accent-2: #b85bd6;
  --accent-3: #2f3349;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(40, 34, 120, 0.25);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 15px; transition: background .15s, color .15s; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 0 0 6px var(--brand-soft); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand-soft); }
.btn-lg { padding: 16px 30px; font-size: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent-2)); display: grid; place-items: center; color: #fff; font-size: 16px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button { font-weight: 500; color: var(--ink); background: none; border: 0; font-size: 15px; cursor: pointer; padding: 8px 0; font-family: inherit; }
.nav-links button::after { content: " ▾"; font-size: 11px; color: var(--muted); }
.dropdown { position: absolute; top: 100%; left: -16px; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; display: none; }
.nav-links li:hover .dropdown, .nav-links li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 12px; border-radius: 8px; }
.dropdown a:hover { background: var(--bg-alt); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; }

/* Hero */
.hero { background: radial-gradient(ellipse at 80% 20%, #f1eefe 0, transparent 55%), var(--bg-alt); padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; margin: 14px 0 20px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Mock dashboard card */
.mock { position: relative; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; }
.mock-card h4 { margin: 0 0 14px; font-size: 17px; }
.mock-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.usage-list { display: grid; gap: 8px; }
.usage-row { display: flex; justify-content: space-between; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; }
.usage-row.hl { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.donut { width: 150px; aspect-ratio: 1; border-radius: 50%; margin: 10px auto; background: conic-gradient(var(--accent-1) 0 62%, var(--accent-2) 62% 88%, var(--accent-3) 88% 100%); -webkit-mask: radial-gradient(circle, transparent 38%, #000 39%); mask: radial-gradient(circle, transparent 38%, #000 39%); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); justify-content: center; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.float-stat { position: absolute; top: -38px; right: 10px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 14px 20px; border: 1px solid var(--line); }
.float-stat strong { font-size: 34px; color: var(--brand); display: block; line-height: 1; }
.float-stat span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; margin: 10px 0 14px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 18px; }

.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; padding: 36px 0; color: #9a9db1; font-weight: 700; letter-spacing: .08em; font-size: 18px; border-bottom: 1px solid var(--line); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.stat b { font-size: 40px; color: var(--brand); display: block; }
.stat span { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 22px; margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; margin: 10px 0 16px; }
.split p { color: var(--muted); font-size: 17px; }
.check { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.check li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 10px; }

.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 110px 1fr 48px; align-items: center; gap: 12px; font-size: 14px; }
.bar .track { height: 10px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent-2)); border-radius: 99px; }

.integrations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.integration { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 10px; text-align: center; font-weight: 600; color: var(--muted); }

.cta-band { background: linear-gradient(135deg, var(--brand), #7a4fe0); color: #fff; border-radius: 24px; padding: 64px 32px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 14px; }
.cta-band p { opacity: .85; font-size: 18px; margin: 0 0 28px; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.cta-band .btn-outline { background: transparent; border-color: #fff; color: #fff; }

/* Footer */
.site-footer { background: #15162a; color: #c4c6d8; padding: 72px 0 28px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h5 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2c45; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* Pricing */
.toggle { display: inline-flex; background: var(--bg-alt); border-radius: 99px; padding: 4px; margin-top: 18px; }
.toggle button { border: 0; background: none; padding: 9px 20px; border-radius: 99px; font-weight: 600; cursor: pointer; font-family: inherit; color: var(--muted); }
.toggle button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; background: #fff; }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.popular::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan h3 { margin: 0; }
.price { font-size: 42px; font-weight: 800; margin: 14px 0 2px; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 9px; font-size: 14px; flex: 1; }
.plan li::before { content: "✓ "; color: var(--brand); font-weight: 800; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq p { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .features, .plans { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .integrations { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-actions .hide-sm { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); gap: 6px; }
  .nav-links.open .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .float-stat { position: static; margin-bottom: 14px; display: inline-block; }
}
@media (max-width: 600px) {
  .features, .plans, .stats, .mock-cols { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
}

/* Generated pages (site/build.mjs) */
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.pill.ok { background: #e3f6ea; color: #1f9d55; }
.pill.warn { background: #fff2dc; color: #b7791f; }
.mock-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-shot { font-size: 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px; }
.mock-shot b { color: var(--muted); font-weight: 500; }
.mock-screen { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: 8px; border: 1px solid var(--line); padding: 8px; display: grid; gap: 5px; align-content: start; }
.mock-screen i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.7); }
.mock-screen i:nth-child(2) { width: 70%; } .mock-screen i:nth-child(3) { width: 45%; }
.mock-screen.s0 { background: linear-gradient(135deg, #2f3349, #5b4ee8); }
.mock-screen.s1 { background: linear-gradient(135deg, #e2734f, #b85bd6); }
.mock-screen.s2 { background: linear-gradient(135deg, #1f9d55, #3aa0e8); }
.mock-timeline { display: grid; gap: 8px; }
.mock-tl { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 9px 12px; border-left: 3px solid var(--brand); background: var(--bg-alt); border-radius: 6px; font-size: 14px; }
.mock-tl.ok { border-color: #1f9d55; } .mock-tl.warn { border-color: #e2734f; }
.mock-tl b { color: var(--muted); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step h3 { margin: 14px 0 8px; font-size: 19px; } .step p { color: var(--muted); margin: 0; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.platform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 12px; text-align: center; display: grid; gap: 4px; }
.platform b { font-size: 34px; line-height: 1; } .platform span { font-weight: 700; } .platform small { color: var(--muted); }
.link-card { display: flex; flex-direction: column; }
.link-card p { flex: 1; } .link-card .more { color: var(--brand); font-weight: 600; margin-top: 14px; font-size: 14px; }
.features.one-col { grid-template-columns: 1fr; }
.check.x li::before { content: "✕"; color: #d64545; }
.lead-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.lead-form input, .lead-form select, .lead-form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-weight: 400; }
.hero h1 { overflow-wrap: anywhere; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .platforms { grid-template-columns: 1fr; } .mock-shots { grid-template-columns: repeat(2, 1fr); } }
