/* DoctorShop cross-browser baseline tuned to match Safari-like rendering */

:root {
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
  line-height: 1.2;
}

p, li, small, label, input, textarea, select, button {
  font-size: 1rem;
}

button, input, select, textarea {
  font: inherit;
  letter-spacing: inherit;
}

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

/*
  Chrome/Blink tune-up:
  Blink suele renderizar texto un poco más "delgado" y compacto que Safari.
  Esta capa sube ligeramente tamaño, peso y tracking para acercar percepción.
*/
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  @supports not (font: -apple-system-body) {
    html {
      -webkit-font-smoothing: subpixel-antialiased;
    }

    body {
      font-size: 1.06rem;
      line-height: 1.56;
      letter-spacing: 0.012em;
      font-weight: 450;
    }

    h1, h2, h3, h4, h5, h6 {
      letter-spacing: -0.012em;
      line-height: 1.18;
    }

    p, li, small, label, input, textarea, select, button {
      font-size: 1.04rem;
    }
  }
}
