:root {
  --bg: #12131a;
  --surface: #1c1d23;
  --border: #2a2c35;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --accent: #ffd801;
  --max-width: 730px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

code {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  color: var(--accent);
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Hero */

.hero {
  padding-top: 72px;
  text-align: center;
}

.logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tagline {
  margin-top: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
}

.lead {
  margin-top: 16px;
  color: var(--text-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding-inline: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #12131a;
}

.btn-primary:hover {
  background: #e6c301;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Seções */

.section {
  padding-top: 64px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Como funciona */

.steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}

.step:hover {
  border-color: var(--accent);
}

.step-number {
  flex: 0 0 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #12131a;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
}

.step p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Comandos */

.commands {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.command {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}

.command:hover {
  border-color: var(--accent);
}

.command code {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.command p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.perm {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.perm-none {
  opacity: 0.6;
}

/* Footer — única parte amarela */

.footer {
  margin-top: 80px;
  padding: 40px 0 48px;
  background: var(--accent);
  color: rgba(18, 19, 26, 0.75);
  text-align: center;
  font-size: 0.875rem;
}

.banner {
  margin-bottom: 28px;
}

.footer a {
  color: #12131a;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  font-weight: 700;
}

.disclaimer {
  margin-top: 4px;
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* Mobile */

@media (max-width: 600px) {
  .hero {
    padding-top: 48px;
  }

  .section {
    padding-top: 48px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .command {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .perm {
    justify-self: start;
  }
}
