:root {
  color-scheme: dark;
  --bg: #06122e;
  --panel: rgba(18, 43, 92, .72);
  --panel-solid: #102b5f;
  --line: rgba(163, 197, 255, .2);
  --text: #f7faff;
  --muted: #afc2e8;
  --blue: #4c8dff;
  --cyan: #35d6ff;
  --green: #4ee0a1;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(42, 190, 255, .22), transparent 28rem),
    radial-gradient(circle at 10% 45%, rgba(62, 91, 255, .2), transparent 32rem), var(--bg);
}
a { color: #83bcff; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: white; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: auto; }
header { position: sticky; top: 0; z-index: 20; background: rgba(6,18,46,.82); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 8px 25px rgba(26,120,255,.35); }
.navlinks { display: flex; align-items: center; gap: 22px; }
.navlinks a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.navlinks a:hover { color: white; }
.hero { padding: 92px 0 72px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 7vw, 5.7rem); margin: 18px 0 24px; max-width: 800px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin: 0 0 18px; }
h3 { font-size: 1.3rem; margin: 0 0 8px; }
.lead { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.32rem); max-width: 680px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), #3a67ff); color: white; text-decoration: none; font-weight: 700; box-shadow: 0 12px 35px rgba(49,105,255,.28); }
.button.secondary { background: rgba(255,255,255,.06); border: 1px solid var(--line); box-shadow: none; }
.hero-icon { width: min(100%, 390px); justify-self: center; border-radius: 25%; box-shadow: 0 35px 90px rgba(0, 119, 255, .36); }
section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head p, .muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(22,52,108,.78), rgba(10,29,67,.76)); box-shadow: inset 0 1px rgba(255,255,255,.05); }
.icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(66,139,255,.16); color: var(--cyan); font-weight: 800; margin-bottom: 22px; }
.card p { color: var(--muted); margin-bottom: 0; }
.download-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.download-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.download-meta span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .88rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; counter-reset: setup; }
.step { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(15,38,83,.5); counter-increment: setup; }
.step::before { content: counter(setup); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 10px; color: white; background: linear-gradient(135deg, var(--blue), #3a67ff); font-weight: 800; }
.step h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.step p { color: var(--muted); margin: 8px 0 0; }
.checksum { overflow-wrap: anywhere; font: .78rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.security { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.legal-hero { padding: 76px 0 42px; }
.legal { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 52px; align-items: start; padding-bottom: 100px; }
.toc { position: sticky; top: 100px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(15,38,83,.58); }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 6px 0; }
.toc a:hover { color: white; }
.article { background: rgba(8,25,58,.64); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 5vw, 54px); }
.article h2 { font-size: 1.7rem; margin-top: 48px; scroll-margin-top: 100px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: #c7d5f1; }
.article table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.article th, .article td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: rgba(75,141,255,.12); }
.notice { border-left: 3px solid var(--cyan); padding: 16px 18px; background: rgba(53,214,255,.07); border-radius: 0 14px 14px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footlinks { display: flex; gap: 18px; flex-wrap: wrap; }
.footlinks a { color: var(--muted); }
@media (max-width: 800px) {
  .navlinks a:not(.support-link):not(.language-switch) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 64px; }
  .hero .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .hero-icon { width: 220px; order: -1; }
  .grid, .security, .download-card, .steps { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
  .article table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
