/* Runlist — estilos comunes de la web */
@font-face {
  font-family: "Outfit";
  src: url("/assets/outfit-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #0B1629;
  --surface: #10203B;
  --surface-2: #162A4B;
  --accent: #8AA8DF;
  --accent-light: #C9D6EF;
  --text: #E9EDF5;
  --muted: #A9B4C8;
  --subtle: #8E9BB3;
  --hairline: rgba(255, 255, 255, 0.07);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-light); }

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

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

/* Cabecera */
.site-header { padding: 28px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 24px; letter-spacing: -0.02em;
}
.brand svg { width: 26px; height: 34px; }

/* Boton de cristal ahumado, como los de la app */
.glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  border: 0.75px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--accent);
  font: inherit; font-size: 17px; font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 150ms var(--ease);
}
.glass:hover { border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.glass:active { transform: scale(0.97); background: rgba(0, 0, 0, 0.45); }
.glass[aria-disabled="true"] { cursor: default; }

/* Paginas de texto: privacidad, borrado de cuenta */
.prose { max-width: 68ch; padding: 24px 0 96px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 24px 0 8px; font-weight: 600; }
.prose .updated { color: var(--subtle); font-size: 15px; margin: 0 0 40px; }
.prose h2 { font-size: 24px; letter-spacing: -0.01em; margin: 48px 0 12px; font-weight: 600; }
.prose p, .prose li { color: var(--muted); text-wrap: pretty; }
.prose strong { color: var(--text); font-weight: 500; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .note {
  background: var(--surface); border-radius: 16px; padding: 18px 20px;
  border: 1px solid var(--hairline); color: var(--muted);
}

/* Pie */
.site-footer { border-top: 1px solid var(--hairline); padding: 40px 0 56px; color: var(--subtle); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .credits { width: 100%; font-size: 13px; color: var(--subtle); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
