:root {
  --bg: #F5F5FA; --surface: #FFFFFF; --raised: #F0F0F6; --hairline: #E4E4EC;
  --ink: #0E0E16; --ink-2: #5A5A6B; --ink-3: #8C8C9C;
  --accent: #5B4BE8; --accent-alt: #E8457C; --positive: #0E9F6E;
  --grad: linear-gradient(135deg, #2A1F8F 0%, #7B3BD6 55%, #FF5C8A 100%);
  --radius: 20px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0A12; --surface: #15151F; --raised: #1E1E2B; --hairline: #2A2A3A;
    --ink: #F5F5FA; --ink-2: #A5A5B8; --ink-3: #6E6E82; --accent: #8E82FF; --accent-alt: #FF6B9A;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Noto Sans", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }

/* header */
header.site { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(14px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--hairline); }
header.site .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav.main { display: flex; gap: 18px; margin-left: auto; }
nav.main a { color: var(--ink-2); font-weight: 500; }
nav.main a:hover { color: var(--ink); text-decoration: none; }
.lang { position: relative; }
.lang select { appearance: none; -webkit-appearance: none; background: var(--raised); color: var(--ink); border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 30px 6px 12px; font: inherit; font-size: .875rem; cursor: pointer; }
.lang::after { content: "▾"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-2); font-size: .8rem; }
@media (max-width: 720px) { nav.main { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; background: var(--accent); color: #fff; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.secondary { background: var(--raised); color: var(--ink); border: 1px solid var(--hairline); }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 64px 0 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--accent); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 14px; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero .shot { justify-self: center; width: min(100%, 360px); filter: drop-shadow(0 30px 60px rgba(42, 31, 143, .25)); border-radius: 36px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 40px; } .hero .shot { width: min(100%, 300px); } }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0 64px; }
.trust div { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 16px 18px; }
.trust strong { display: block; margin-bottom: 4px; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr; } }

section { padding: 48px 0; }
section h2 { margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; }
.card .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--raised); display: grid; place-items: center; margin-bottom: 14px; color: var(--accent); }
.card .icon svg { width: 22px; height: 22px; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* privacy block */
.privacy-block { background: var(--grad); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.privacy-block h2, .privacy-block p { color: #fff; }
.privacy-block ul { margin: 18px 0; padding-left: 1.2em; }
.privacy-block li { margin-bottom: 8px; }
.privacy-block a { color: #fff; font-weight: 600; text-decoration: underline; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps div { position: relative; padding: 22px 22px 22px 64px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); }
.steps div::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan.highlight { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 6px 0 2px; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.plan .alt { color: var(--ink-2); font-size: .9rem; min-height: 1.4em; margin-bottom: 12px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 16px; }
.plan li { padding: 6px 0 6px 26px; position: relative; border-top: 1px solid var(--hairline); font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--positive); font-weight: 700; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* faq */
details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--ink-3); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--ink-2); }

/* docs pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.doc .sub { color: var(--ink-2); margin-bottom: 1.5em; }

footer.site { border-top: 1px solid var(--hairline); padding: 32px 0 48px; color: var(--ink-2); font-size: .875rem; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
