:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --subtle: #f2f2f6;
  --ink: #111114;
  --muted: #4a4a52;
  --line: rgba(17, 17, 20, 0.1);
  --accent: #5b3df5;
  --accent-ink: #ffffff;
  --accent-soft: #eeeaff;
  --ring: #5b3df5;
  --radius: 22px;
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0f;
    --surface: #15151b;
    --subtle: #1c1c24;
    --ink: #f4f4f7;
    --muted: #b4b4c0;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #8f78ff;
    --accent-ink: #0b0b0f;
    --accent-soft: #221d3d;
    --ring: #b3a4ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 10px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
nav.main ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
nav.main a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
nav.main a:hover { color: var(--ink); }
@media (max-width: 760px) { nav.main { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 560px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); z-index: -1; pointer-events: none; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
@media (prefers-color-scheme: dark) { .eyebrow { color: #cfc4ff; } }
h1 { font-size: clamp(38px, 7vw, 72px); line-height: 1.04; letter-spacing: -0.035em; margin: 22px auto 20px; max-width: 15ch; }
h1 .grad { background: linear-gradient(90deg, var(--accent), #e0569b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 48px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Sections */
section.block { padding: 88px 0; }
section.alt { background: var(--subtle); }
.head { max-width: 680px; margin-bottom: 44px; }
.kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 10px; }
@media (prefers-color-scheme: dark) { .kicker { color: #cfc4ff; } }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; }
h3 { font-size: 21px; letter-spacing: -0.015em; margin: 0 0 8px; line-height: 1.25; }
.head p, .card p, .step p, details p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
@media (prefers-color-scheme: dark) { .icon { color: #cfc4ff; } }
.icon svg { width: 24px; height: 24px; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.card li { display: flex; gap: 10px; align-items: baseline; }
.card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .step::before { color: #cfc4ff; } }

.products { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.product .tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--subtle); color: var(--muted); margin-bottom: 10px; }
.product h3 { margin: 0; }
.product p { color: var(--muted); margin: 0; font-size: 15.5px; }

.split { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.checks svg { width: 28px; height: 28px; color: var(--accent); }
@media (prefers-color-scheme: dark) { .checks svg { color: #cfc4ff; } }
.checks strong { display: block; font-size: 18px; margin-bottom: 2px; }
.checks span { color: var(--muted); }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; }

.final { text-align: center; background: var(--ink); color: var(--bg); border-radius: 32px; padding: 72px 24px; }
.final h2 { color: var(--bg); max-width: 18ch; margin: 0 auto 14px; }
.final p { color: color-mix(in srgb, var(--bg) 78%, transparent); max-width: 560px; margin: 0 auto; font-size: 18px; }
.final .btn-primary { background: var(--bg); color: var(--ink); }
.final .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Language switch */
.actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.lang:hover { background: var(--subtle); }
.lang svg { width: 16px; height: 16px; margin-right: 6px; color: var(--muted); }
