:root {
  --bg: #0b0c0e;
  --surface: #14161a;
  --line: #262a30;
  --text: #e9ebee;
  --muted: #9aa1ab;
  --lime: #afff00;
  --mono: ui-monospace, 'JetBrains Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

a { color: var(--lime); }

code { font-family: var(--mono); font-size: .9em; }

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

.hero { padding: 72px 0 0; overflow: hidden; }

.tag { margin: 0 0 12px; color: var(--muted); font-size: 15px; }

.pill {
  display: inline-block;
  padding: 1px 10px;
  margin-right: 6px;
  border-radius: 99px;
  background: var(--lime);
  color: #101300;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(36px, 8vw, 64px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.lead { max-width: 620px; margin: 18px 0 26px; font-size: 20px; color: #c9cdd3; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

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

.btn.primary { background: var(--lime); border-color: var(--lime); color: #101300; }

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 1160px;
  margin: 48px auto 0;
  padding: 0 16px;
}

.shots img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

section { padding-top: 56px; }

h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.25; }

h3 { margin: 22px 0 8px; font-size: 16px; color: var(--muted); }

p { margin: 0 0 12px; }

.small { color: var(--muted); font-size: 15px; }

.note {
  margin-top: 48px;
  padding: 20px 22px;
  border-left: 3px solid var(--lime);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
}

.note h2 { font-size: 20px; }

.note p:last-child { margin-bottom: 0; }

.code {
  position: relative;
  margin: 10px 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.code pre {
  margin: 0;
  padding: 14px 84px 14px 16px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
}

.copy {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.copy:hover { border-color: var(--lime); }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

.tabs button {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.tabs button[aria-selected='true'] { background: var(--lime); border-color: var(--lime); color: #101300; font-weight: 600; }

:is(a, button):focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.panel { margin-top: 6px; }

.table { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }

th, td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

th { color: var(--muted); font-weight: 600; }

.table + .small { margin-top: 14px; }

.changelog h3 { margin-top: 18px; font-family: var(--mono); font-size: 20px; color: var(--text); }

.changelog h4 { margin: 14px 0 4px; font-size: 15px; color: var(--muted); }

.changelog ul { margin: 0 0 10px; padding-left: 20px; }

footer { padding-top: 56px !important; padding-bottom: 40px !important; color: var(--muted); font-size: 15px; }

@media (max-width: 560px) {
  .hero { padding-top: 48px; }
  .lead { font-size: 18px; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots img:last-child { display: none; }
  #paquetes :is(th, td):last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
