:root {
  --brand: #6e56f8;
  --brand-dark: #5a43e0;
  --accent: #fd7301;
  --text: #1f2330;
  --muted: #5b6172;
  --bg: #ffffff;
  --bg-alt: #f1efff;
  --border: #e5e7eb;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #8c78ff;
    --brand-dark: #a596ff;
    --text: #eceef4;
    --muted: #a7acbb;
    --bg: #12131a;
    --bg-alt: #1b1c27;
    --border: #2c2e3c;
    --card: #1b1c27;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--brand);
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-small { padding: 8px 16px; font-size: .95rem; }
.btn-large { padding: 16px 32px; font-size: 1.15rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--brand); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hero-icon { width: 256px; border-radius: 56px; box-shadow: 0 20px 50px rgba(110, 86, 248, .3); }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .5em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }

.features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.features li { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.features p { color: var(--muted); margin: 0; font-size: .97rem; }

.download { max-width: 720px; }
.download-box { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px; text-align: center; margin: 24px 0 32px; }
.download-meta { color: var(--muted); font-size: .95rem; margin: 12px 0 0; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: .5em; }

.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 720px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-icon { order: -1; width: 128px; border-radius: 28px; }
}
