/* Typographie de base, reprise de src/styles/base.css du site (charte Beyio).
   Les couleurs et tailles viennent de jetons-du-site.css, copie exacte de src/styles/tokens.css. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--beige);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2 {
  font-family: var(--font-display);
  font-stretch: var(--font-display-stretch);
  font-weight: var(--font-display-weight);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.25;
  font-size: var(--fs-card);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--night);
  text-wrap: balance;
}

p {
  margin: 0;
  max-width: var(--mesure);
  text-wrap: pretty;
}

strong {
  font-weight: 600;
}

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

a {
  color: inherit;
}

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

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