:root {
  color-scheme: dark;
  --bg: #0f1115;
  --panel: #171a21;
  --card: #1a1e26;
  --line: #2a2f3a;
  --text: #e6e8ec;
  --muted: #9aa3b2;
  --accent: #1e88e5;
  --accent-2: #1565c0;
  --accent-soft: #90caf9;
  --radius: 14px;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Topo */
.top { position: sticky; top: 0; z-index: 10; background: rgb(15 17 21 / 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }
nav .nav-cta { color: #fff; background: var(--accent); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
nav .nav-cta:hover { background: var(--accent-2); color: #fff; }

/* Destaque */
.hero { padding: 72px 0 88px; background: radial-gradient(900px 500px at 85% 10%, rgb(30 136 229 / 0.18), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent-soft); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.02em; font-weight: 700; }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 34em; }
.cta { margin-top: 32px; }
.btn-download { display: inline-flex; align-items: center; gap: 12px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; padding: 16px 28px; border-radius: 12px; box-shadow: 0 10px 30px rgb(30 136 229 / 0.35); transition: background 0.15s, transform 0.15s; }
.btn-download:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-download:focus-visible, nav a:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.btn-download svg { width: 22px; height: 22px; }
.meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.btn-missing { display: none; padding: 14px 22px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
.missing .btn-download, .missing .meta, .missing .nav-cta, .missing .hash { display: none; }
.missing .btn-missing { display: inline-block; }

.shot { margin: 0; filter: drop-shadow(0 30px 60px rgb(0 0 0 / 0.5)); }
.shot svg { display: block; width: 100%; height: auto; }

/* Passos */
section h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; text-align: center; }
.steps { padding: 80px 0; background: var(--panel); border-block: 1px solid var(--line); }
.steps ol { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgb(30 136 229 / 0.16); color: var(--accent-soft); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Recursos */
.features { padding: 88px 0; }
.grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--card), var(--bg)); }
.grid svg { width: 30px; height: 30px; fill: none; stroke: var(--accent-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.grid h3 { font-size: 18px; margin-bottom: 8px; }
.grid p { color: var(--muted); font-size: 15px; }

/* Baixar */
.install { padding: 0 0 88px; }
.install-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(600px 300px at 0% 0%, rgb(30 136 229 / 0.2), transparent 70%), var(--panel); }
.install h2 { text-align: left; }
.install-in > div:first-child p { margin: 12px 0 26px; color: var(--muted); font-size: 17px; }
.note { padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.note h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.note strong { color: var(--text); }
.hash { margin-top: 14px; font-size: 13px; }
.hash code { display: block; margin-top: 4px; font-family: Consolas, ui-monospace, monospace; font-size: 12px; color: var(--text); word-break: break-all; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-in, .install-in { grid-template-columns: 1fr; }
  .steps ol, .grid { grid-template-columns: 1fr; }
  .install-in { padding: 28px; }
  nav a:not(.nav-cta) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-download { transition: none; }
}
