/* Tokens, reset y elementos base */
:root {
  --navy-950: #071226;
  --navy-900: #0b1a33;
  --navy-800: #11264a;
  --navy-700: #1b3866;
  --blue-500: #2f6fe4;
  --blue-400: #5b9bff;
  --blue-100: #e3edff;
  --ink: #14213a;
  --text: #3d4a63;
  --muted: #6b7890;
  --line: #dde4ef;
  --bg: #ffffff;
  --bg-tint: #f4f7fb;

  --font-sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 51, .05), 0 4px 14px rgba(11, 26, 51, .05);
  --shadow-md: 0 2px 4px rgba(11, 26, 51, .04), 0 14px 36px rgba(11, 26, 51, .09);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 68px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--blue-500);
  color: #fff;
  border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .975rem;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 22px rgba(47, 111, 228, .35); }
.btn--primary:hover { background: #2a63cc; box-shadow: 0 12px 28px rgba(47, 111, 228, .42); }
.btn--primary.btn--light { background: #fff; color: var(--navy-900); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.btn--primary.btn--light:hover { background: var(--blue-100); }

.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .05); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }

.btn--link { color: #cfdcf5; padding-inline: 12px; }
.btn--link:hover { color: #fff; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--navy-700);
  background: var(--blue-100);
  border-radius: 999px;
  letter-spacing: .01em;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
