/* Peptivé — Base
   Reset mínimo + tipografía base del sistema.
   Requiere css/tokens.css cargado antes que este archivo. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,300;1,400;1,500&family=Fraunces:ital,opsz,wght@0,9..144,300;1,9..144,300&family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   RESET MÍNIMO
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body,
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl, dd {
  margin: 0;
}

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   FOCO DE TECLADO — BASE GLOBAL
   (UX Uplift — Fase 2/13: cada componente interactivo repetía
   `outline: 2px solid var(--gold)` por su cuenta -- consistente en
   valor, pero duplicado, y algunos elementos interactivos (p. ej.
   .peptide-card) no tenían ningún estado de foco propio. Esta regla
   base cubre a todos por defecto; las declaraciones específicas que
   ya existen siguen aplicando igual (mismo valor) y no se tocan.)
   ============================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================
   TIPOGRAFÍA BASE
   ============================================ */
body {
  font-family: var(--font-body);
  font-weight: var(--weight-body-regular);
  font-size: var(--text-body-m-size);
  line-height: var(--text-body-m-line);
  color: var(--ink-70);
  background-color: var(--travertine);
}

/* ============================================
   é DORADA DEL LOGOTIPO
   ============================================ */
.e-gold {
  color: var(--gold);
}

/* ============================================
   UTILIDAD — SOLO LECTOR DE PANTALLA
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
