/* Foso — estilos comunes de la web */
@font-face { font-family: "Bricolage"; src: url("/assets/fuentes/bricolage-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fuentes/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fuentes/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fuentes/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fuentes/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "GeistMono"; src: url("/assets/fuentes/geistmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GeistMono"; src: url("/assets/fuentes/geistmono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #111216;
  --bg-deep: #0A0B0E;
  --card: #1B1C22;
  --card-hi: #24262E;
  --key: #2C2E37;
  --line: #30333D;
  --text: #F4F3EE;
  --soft: #C9CBD3;
  --muted: #A3A6B1;
  --lime: #B6F25C;   --lime-lip: #8FC23F;  --lime-ink: #13210A;
  --blue: #6E8BFF;   --blue-lip: #5068CC;  --blue-ink: #0E1433;
  --amber: #FFC24B;  --amber-lip: #CC9A3C; --amber-ink: #2B1C00;
  --coral: #FF6A57;  --coral-lip: #CC5446; --coral-ink: #2E0904;
  --coral-soft: #FF8A7A;
  --display: "Bricolage", "Geist", system-ui, sans-serif;
  --mono: "GeistMono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

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

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

a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #D4FA9A; }

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

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

.eyebrow { margin: 0 0 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; }

/* Fichas: la pieza básica de Foso */
.tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  border-radius: 26%;
  font-family: var(--display); font-weight: 800; line-height: 1;
}
.t-lime  { background: var(--lime);  color: var(--lime-ink);  box-shadow: 0 0.12em 0 var(--lime-lip); }
.t-blue  { background: var(--blue);  color: var(--blue-ink);  box-shadow: 0 0.12em 0 var(--blue-lip); }
.t-amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 0.12em 0 var(--amber-lip); }
.t-coral { background: var(--coral); color: var(--coral-ink); box-shadow: 0 0.12em 0 var(--coral-lip); }

/* Cabecera */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-tiles { display: inline-flex; gap: 4px; font-size: 22px; }
.brand-tiles span { width: 22px; height: 22px; border-radius: 6px; }
.brand-tiles span:last-child { transform: translateY(8px) rotate(16deg); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; gap: 8px 28px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--soft); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.site-nav a.btn-lime, .site-nav a.btn-lime:hover { color: var(--lime-ink); }
@media (max-width: 640px) { .site-nav a:not(.btn) { display: none; } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 16px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none;
  cursor: pointer; border: none;
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background 200ms var(--ease);
}
.btn-lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 5px 0 var(--lime-lip); }
.btn-lime:hover { color: var(--lime-ink); background: #C2F574; }
.btn-lime:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--lime-lip); }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn-ghost:hover { color: var(--text); border-color: #4A4D58; }
.btn-sm { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; box-shadow: 0 3px 0 var(--lime-lip); }
.btn[aria-disabled="true"] { cursor: default; }

/* Páginas de texto: privacidad, borrado de cuenta */
.prose { max-width: 68ch; padding: 24px 0 96px; }
.prose h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.03em; margin: 24px 0 8px; }
.prose .updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.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(--card); border-radius: 16px; padding: 18px 20px; border: 1px solid var(--card-hi); color: var(--muted); }

/* Pie */
.site-footer { border-top: 1px solid var(--card-hi); padding: 32px 0 48px; color: var(--muted); 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(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

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