/* ============================================================
   BASE — reset, tokens, tipografía global, animaciones
   ============================================================ */

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Design tokens ─── */
:root {
  --ink: #0a0a0a;
  --ink-mid: #2a2a2a;
  --ink-light: #6b6b6b;
  --ink-faint: #b8b8b8;
  --paper: #f4f2ec;
  --white: #ffffff;
  --lime: #c9a84c;
  --lime-dark: #b8923e;
  --lime-glow: rgba(201, 168, 76, 0.2);
  --blue: #0f2557;
  --blue-light: rgba(15, 37, 87, 0.08);
  --border: #e2e0db;
  --border-dark: #c8c5bf;

  /* spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7rem;

  /* typography scale */
  --text-xs: 0.68rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.05rem;
  --text-lg: 1.15rem;
  --text-xl: 1.4rem;

  /* section max-widths */
  --content-width: 1280px;
  --pricing-width: 1100px;
}

/* ─── Base ─── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Epilogue", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

/* ─── Tipografía base ─── */
.section-h {
  font-family: "Cormorant Garamond", serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 6.2vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.section-h em {
  font-style: italic;
  position: relative;
}

.section-h em::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
}

.section-p {
  font-size: var(--text-md);
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.75;
  max-width: 540px;
}

/* Pill label (compartido hero + flow + security) */
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(201, 168, 76, 0.12);
  color: #7a5e25;
  padding: 0.3rem 0.85rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  border-radius: 100px;
}

/* Version oscura del pill (flow, roadmap) */
.label-pill--dark {
  color: var(--lime);
  background: rgba(201, 168, 76, 0.12);
}
