:root {
  color-scheme: dark light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: #0B0E14;
  color: #E5E7EB;
  line-height: 1.65;
}

main { display: block; }

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1, h2, h3 {
  color: #fff;
  line-height: 1.2;
  margin: 0.75rem 0 0.5rem;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  background: linear-gradient(90deg, #f97316, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { margin: 0.5rem 0; opacity: 0.9; }

ul, ol { margin: 0.75rem 0 0.75rem 1.25rem; }

/* Links neutros com realce da marca no hover */
a { color: #E5E7EB; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #F59E0B; }
a:visited { color: #CBD5E1; }

.lead { font-size: 1rem; opacity: 0.92; }

.cta {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #f97316; /* theme orange 500 */
  color: #fff;
  font-weight: 600;
}
.cta:hover { background: #ea580c; }
/* keep readable even after visiting */
.cta:visited { color: #fff; }
/* accessible focus ring */
.cta:focus-visible {
  outline: 2px solid rgba(245, 158, 11, 0.45);
  outline-offset: 2px;
}

/* Keep only the primary CTA at the top; hide the duplicate at the very end */
.wrap > p:last-of-type > .cta { display: none; }

.box {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: #11151B;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.steps { counter-reset: s; }
.steps li { counter-increment: s; margin: 0.5rem 0; }
.steps li::marker { color: #fca5a5; font-weight: 600; }

details {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  margin: 0.75rem 0;
  background: rgba(255,255,255,0.05);
}
summary { cursor: pointer; font-weight: 600; }

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  background: rgba(0,0,0,0.25);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre-wrap;
}

.meta { color: #9CA3AF; font-size: 0.9rem; }



