/* iamfil brand tokens + fonts, shared by every page. See brand/BRAND.md. */

/* Self-hosted variable fonts (SIL Open Font License), latin subset */
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
}

:root {
  /* Brand palette */
  --esmeralda:      #00674F;  /* primary: buttons, links, icon */
  --esmeralda-dark: #00513E;  /* hover state */
  --jade:           #3EBB9E;  /* secondary: lines, icons — never white text on it */
  --menta:          #73E6CB;  /* accent: highlights — never text on white */
  --menta-soft:     #E3F7F1;  /* tinted backgrounds for icons and badges */
  --tinta:          #0F2A24;  /* main text */
  --niebla:         #F3F8F6;  /* alternate section background */
  --blanco:         #FFFFFF;

  /* Roles */
  --bg:         var(--blanco);
  --bg-alt:     var(--niebla);
  --text:       var(--tinta);
  --text-soft:  #4A605A;      /* body copy: 6.6:1 on white */
  --line:       rgba(15, 42, 36, 0.10);
  --line-strong: rgba(15, 42, 36, 0.18);

  --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius:    14px;
  --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text-soft);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
:focus-visible { outline: 2px solid var(--esmeralda); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
