:root {
  --petroleo: #173E48;
  --petroleo-hover: #1F5260;
  --crema: #F7F3E8;
  --ambar: #DFA95B;
  --texto: #1C2530;
  --muted: #5E6873;
  --borde: #DCD5C5;
  --blanco: #FFFFFF;
  --rojo: #B3261E;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--texto);
  background: var(--blanco);
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(30px, 6vw, 44px); color: var(--blanco); }
h2 { font-size: 26px; margin-bottom: 20px; }
h3 { font-size: 18px; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--ambar); outline-offset: 2px; }

.top { background: var(--petroleo); color: var(--crema); }
.top-inner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.top-note { font-size: 14px; opacity: .85; }

.hero { background: var(--petroleo); padding: 40px 0 56px; border-bottom: 6px solid var(--ambar); }
.eyebrow { color: var(--ambar); font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }

.download { margin-top: 28px; background: var(--crema); border-radius: 12px; padding: 24px; max-width: 520px; }
.business { margin-bottom: 16px; }
.facts { margin-top: 12px; font-size: 15px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 28px; border-radius: 10px; border: 0;
  background: var(--petroleo); color: var(--blanco);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--petroleo-hover); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 15px; }

.notice { margin-top: 28px; max-width: 560px; background: var(--crema); border-radius: 12px; padding: 18px 20px; }
.notice-error { border-left: 5px solid var(--rojo); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--petroleo); text-decoration: underline; cursor: pointer; min-height: 44px; }

.section { padding: 48px 0; }
.section-alt { background: var(--crema); }

.steps { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: paso; position: relative; padding: 16px 16px 16px 64px; border: 1px solid var(--borde); border-radius: 12px; }
.steps li::before {
  content: counter(paso); position: absolute; left: 16px; top: 16px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--petroleo); color: var(--blanco);
  display: grid; place-items: center; font-weight: 700;
}
.steps p { color: var(--muted); margin-top: 4px; }

.help { margin-top: 18px; border: 1px solid var(--borde); border-radius: 12px; }
.help summary { cursor: pointer; padding: 14px 16px; font-weight: 600; min-height: 48px; }
.help-body { padding: 0 16px 16px; display: grid; gap: 10px; }
.help-body ol { margin: 0; padding-left: 22px; }

code.block {
  display: block; padding: 10px 12px; border-radius: 8px; background: var(--crema);
  font-family: Consolas, "Cascadia Mono", monospace; font-size: 14px; overflow-wrap: anywhere;
}
.hash-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hash-row code { flex: 1 1 280px; }
.muted { color: var(--muted); font-size: 15px; }

.reqs { margin: 0; padding-left: 22px; display: grid; gap: 8px; }

.foot { padding: 24px 0; font-size: 14px; color: var(--muted); }

[hidden] { display: none !important; }
