:root {
  --bg: #f7f8fa; --surface: #ffffff; --surface-2: #eef1f5; --text: #14171c; --muted: #5a6270;
  --line: #e2e6ec; --accent: #1b64d8; --accent-ink: #ffffff; --accent-soft: #e6effc;
  --wa: #128c4a; --wa-ink: #ffffff; --radius: 14px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1014; --surface: #161a21; --surface-2: #1d222b; --text: #e9ecf1; --muted: #9aa3b1;
    --line: #272d37; --accent: #5b9bff; --accent-ink: #0a0d12; --accent-soft: #1a2638;
    --wa: #2fbf6b; --wa-ink: #06120b; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -.01em; margin-right: auto; }
.brand span { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 18px; align-items: center; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.lang { font-size: .85rem; color: var(--muted); }
.lang a { color: var(--muted); text-decoration: none; }
.lang strong { color: var(--text); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border: 1px solid transparent;
  padding: 11px 18px; border-radius: 10px; line-height: 1.2;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.wa { background: var(--wa); color: var(--wa-ink); }
.btn.sm { padding: 8px 12px; font-size: .875rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* hero */
.hero { padding-block: 72px 56px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 16px; max-width: 18ch; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* sections */
.section { padding-block: 56px; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -.02em; margin: 0 0 8px; }
.section .intro { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9rem; margin-bottom: 10px;
}

/* downloads */
.dl h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.dl .btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.dl ol { margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: .93rem; }
.dl li { margin: 4px 0; }
.dl li strong { color: var(--text); }
.note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }

.config { margin-top: 16px; }
.config details { border-top: 1px solid var(--line); padding-block: 12px; }
.config details:first-of-type { border-top: 0; padding-top: 4px; }
.config summary { cursor: pointer; font-weight: 600; }
.field { margin-top: 12px; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.copyrow { display: flex; gap: 8px; }
.copyrow input {
  flex: 1; min-width: 0; font: .85rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px;
}

/* contact */
.contact { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: center; }
.contact .card { text-align: center; padding: 32px 22px; }
.contact .num { font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; margin: 6px 0 18px; }

footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: .875rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
