/* Tokens de marca y base compartida (portada + app). */

:root {
  /* Marca */
  --graphite-950: #0B0C0E;
  --graphite-900: #111316;
  --graphite-850: #16191D;
  --graphite-800: #1C2025;
  --graphite-700: #2A2F36;
  --graphite-600: #3A4049;
  --graphite-500: #5B626C;
  --graphite-400: #8A919B;
  --graphite-300: #B4B9C0;
  --bone-200: #E6E2D9;
  --bone-100: #F3F1EC;
  --bone-50: #FAF9F6;
  --signal: #B5524F;
  --signal-strong: #9C4341;
  --signal-ink: #FFFFFF;

  /* Semáforo */
  --ok: #17915A;
  --warn: #B87F00;
  --bad: #D0383E;
  --info: #6E8EC4;

  /* Tipografía */
  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  /* Movimiento y forma */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --r-xl: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-stretch: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
::selection { background: var(--signal); color: var(--signal-ink); }

.mono { font-family: var(--font-mono); font-feature-settings: "zero" 1; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-type b {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.logo-type small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: .6;
}

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