:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #16202e;
  --muted: #566377;
  --line: #e1e7ef;
  --brand: #2456d6;
  --brand-ink: #ffffff;
  --brand-soft: #e8efff;
  --accent: #e8590c;
  --ok: #1f8a4c;
  --shadow: 0 10px 30px rgba(22, 32, 46, .08);
  --radius: 14px;
  --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1520;
    --surface: #172030;
    --text: #e8edf5;
    --muted: #9aa8bd;
    --line: #26324a;
    --brand: #6f97ff;
    --brand-ink: #0b1220;
    --brand-soft: #1c2a4a;
    --accent: #ff8a4c;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--brand-soft); }
.nav .btn { color: var(--brand-ink); margin-left: 6px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--text); font: inherit; cursor: pointer; }
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 48px; }
.hero-grid { display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { margin: 0 0 6px; font-size: 1.1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.fine { color: var(--muted); font-size: .9rem; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

/* sections */
section { padding: 56px 0; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 12px; font-size: 1.2rem; }
.stage { border-radius: 22px; padding: clamp(14px, 4vw, 36px); background: radial-gradient(120% 120% at 20% 0%, var(--brand-soft), transparent 70%), var(--surface); border: 1px solid var(--line); display: flex; justify-content: center; align-items: center; }
.shot { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(22, 32, 46, .28)) drop-shadow(0 2px 4px rgba(22, 32, 46, .2)); }
.page-head { padding-top: 48px; padding-bottom: 8px; }
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1em; }
.prose h2 { margin-top: 1.6em; }

/* screenshot slider */
.slider { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 22px; }
.slider::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.slide figcaption { padding: 0 4px; }
.slide .stage { height: clamp(300px, 56vw, 440px); }
.slider-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.slider-ctrl button.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.slider-ctrl button.arrow:hover { background: var(--brand-soft); }
.slider-ctrl .dots { display: flex; gap: 8px; }
.slider-ctrl .dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.slider-ctrl .dots button[aria-current="true"] { background: var(--brand); width: 24px; border-radius: 6px; }
.slide .shot { width: auto; max-width: 100%; max-height: 100%; }
.slide figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.slide figcaption strong { color: var(--text); display: block; }

/* accordion */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details .body { padding: 0 20px 18px; color: var(--muted); }
details .body p { margin: 0 0 .8em; }

/* pricing + download */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 720px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.pro { border-color: var(--brand); box-shadow: var(--shadow); }
.price { font-size: 2.4rem; font-weight: 800; margin: 6px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
dl.meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.meta { grid-template-columns: 1fr; gap: 0; } dl.meta dd { margin-bottom: 12px; } }

/* form */
form.contact { display: grid; gap: 14px; max-width: 520px; }
label { font-weight: 600; display: grid; gap: 6px; }
input, textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); width: 100%; }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); margin-right: 16px; }
.note { background: var(--brand-soft); border-radius: var(--radius); padding: 16px 18px; color: var(--text); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
