@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #050811;
  --bg2: #0c1525;
  --tx: #edf2ff;
  --su: #a9b7ce;
  --ac: #ffd21a;
  --ok: #60e0b2;
  --ko: #ff7e87;
  --line: #24334b;
  --blue: #69a8ff;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 5%, #12254a66, transparent 42rem),
    radial-gradient(ellipse at 12% 48%, #0b183033, transparent 40rem),
    var(--bg) !important;
  color: var(--tx) !important;
  font: 16px/1.65 Manrope, "Segoe UI", Arial, sans-serif !important;
}

.w { width: min(1184px, calc(100% - 48px)) !important; margin-inline: auto !important; }
h1, h2, h3 { color: var(--tx); font-family: "Space Grotesk", Manrope, "Segoe UI", sans-serif !important; font-weight: 600; letter-spacing: -.045em !important; line-height: 1.02 !important; }
h1 { max-width: 980px; margin: 22px 0 !important; font-size: clamp(44px, 7.2vw, 88px) !important; }
h1 em { color: var(--ac) !important; font-style: normal; }
h2 { font-size: clamp(28px, 4vw, 48px); }
p { color: var(--su); }
a { transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ac); outline-offset: 4px; border-radius: 4px; }

nav {
  position: sticky; z-index: 20; top: 0;
  border-bottom: 1px solid var(--line) !important;
  background: #050811eF; backdrop-filter: blur(18px);
}
nav .w {
  display: grid !important; grid-template-columns: auto 1fr auto; gap: 30px;
  min-height: 76px; height: auto !important; align-items: center;
}
nav a { color: var(--tx) !important; text-decoration: none !important; font-size: 13px; font-weight: 700 !important; }
nav .w > a:first-child { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .12em; }
nav .w > a:first-child::before {
  display: block; flex: 0 0 34px; width: 34px; height: 34px;
  border-radius: 9px; background: url("/logo.svg") center / contain no-repeat;
  content: "";
}
nav .w > a:first-child i { display: none; }
nav a i { color: var(--blue) !important; }
.nav-links { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav-links a { color: #c3cde0 !important; }
.nav-links a:hover { color: var(--ac) !important; }
nav .cta {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--ac); border-radius: 10px !important; padding: 0 18px !important;
  background: var(--ac); color: #10131b !important; font-size: 13px !important;
}
nav .cta:hover { transform: translateY(-1px); background: #ffe15a; }

header {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(58px, 9vw, 118px) 0 58px !important;
  background: linear-gradient(110deg, #0b1425 0%, #08101e 66%, #0a1121 100%);
}
header::after {
  position: absolute; inset: 0; pointer-events: none; content: "";
  background-image: linear-gradient(#7a9ac40b 1px, transparent 1px), linear-gradient(90deg, #7a9ac40b 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent, black 55%, black);
}
header .w { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: #69e8f1 !important; font: 700 11px/1.5 "JetBrains Mono", Consolas, monospace !important;
  letter-spacing: .2em !important; text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 1px; background: currentColor; content: ""; }
.sub { max-width: 68ch !important; color: #b9c6da !important; font-size: clamp(17px, 2vw, 21px) !important; line-height: 1.7 !important; }
.gana, .chip {
  border: 1px solid #2c4161 !important; border-radius: 12px !important;
  background: #0c1729 !important; color: var(--tx);
}
.gana { margin-top: 30px !important; padding: 14px 18px !important; }
.gana b { color: var(--ac); font: 600 18px/1.3 "Space Grotesk", sans-serif !important; }
.gana span { color: var(--su); }
.chips { gap: 9px !important; }
.chip { padding: 7px 11px; color: #c4d2e8; font-size: 12px; }

main.w { padding-top: clamp(34px, 6vw, 72px); padding-bottom: 36px; }
.tabla {
  overflow: auto !important; margin: 24px 0 46px !important;
  border: 1px solid var(--line) !important; border-radius: 16px !important;
  background: linear-gradient(145deg, #0d192b, #080f1c) !important;
  box-shadow: 0 20px 60px #0003;
  scrollbar-color: #385277 #0a1120;
}
table { min-width: 760px; border-collapse: separate !important; border-spacing: 0; }
th { background: #111d30; color: #9fb1cd !important; font: 600 10px/1.4 "JetBrains Mono", Consolas, monospace !important; letter-spacing: .1em; text-transform: uppercase; }
th, td { border-color: #24334b !important; }
td { color: #d8e1f0; }
tbody tr:hover { background: #192a43; }
td small, .falla { color: var(--su) !important; }
.pos { color: var(--ac) !important; font-family: "Space Grotesk", sans-serif !important; }
.barra { background: linear-gradient(90deg, var(--blue) calc(var(--n)*1%), #26344b 0) !important; }
.nota b { color: var(--tx); }
.caja, .usos a {
  border: 1px solid var(--line) !important; border-radius: 16px !important;
  background: linear-gradient(145deg, #0d192b, #080f1c) !important; color: var(--tx) !important;
}
.usos a { transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.usos a:hover { transform: translateY(-2px); border-color: #4b79bb !important; background: #101e33 !important; }
.usos small { color: var(--su) !important; }
details { margin: 10px 0; border: 1px solid var(--line) !important; border-radius: 12px !important; background: #0c1525 !important; }
details summary { padding: 14px 16px; color: var(--tx); }
details p { padding: 0 16px 14px; }
.cierre {
  border: 1px solid #38547d; border-radius: 18px !important; padding: clamp(24px, 4vw, 48px) !important;
  background: linear-gradient(120deg, #112344, #0d1728 72%) !important; color: var(--tx) !important;
}
.cierre h2, .cierre h3 { color: var(--tx) !important; }
.cierre a { border: 1px solid var(--ac); border-radius: 10px !important; background: var(--ac) !important; color: #10131b !important; }
footer { border-top: 1px solid var(--line); color: var(--su) !important; }

@media (max-width: 860px) {
  .w { width: min(100% - 36px, 680px) !important; }
  nav .w { grid-template-columns: 1fr auto; gap: 0 12px; min-height: 68px; }
  .nav-links { grid-column: 1 / -1; justify-content: flex-start; gap: 8px 20px; overflow: visible; padding: 0 0 12px; flex-wrap: wrap; white-space: normal; }
  nav .cta { grid-column: 2; grid-row: 1; min-height: 40px; padding: 0 12px !important; }
  nav .w > a:first-child { grid-column: 1; grid-row: 1; }
  header { padding: 58px 0 38px !important; }
  h1 { font-size: clamp(43px, 11vw, 66px) !important; }
  .sub { font-size: 17px !important; }
  main.w { padding-top: 28px; }
  .cols { grid-template-columns: 1fr !important; }
  .usos { grid-template-columns: 1fr !important; }
  .usos a { padding: 17px !important; }
  .cierre { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .w { width: calc(100% - 32px) !important; }
  nav .w { gap: 0 8px; }
  nav .cta { font-size: 11px !important; }
  .eyebrow { font-size: 9px !important; letter-spacing: .14em !important; }
  .gana { align-items: flex-start !important; }
  .gana b { font-size: 16px !important; }
  .cierre { padding: 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
