:root {
  --aff-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --aff-text: #1f2937;
}

html {
  font-family: var(--aff-font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
  font-family: var(--aff-font-sans);
}

body {
  color: var(--aff-text);
  font-weight: 400;
  letter-spacing: -0.006em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--aff-font-sans);
  letter-spacing: -0.022em;
}

strong,
b,
.font-bold {
  font-weight: 600 !important;
}

.font-extrabold,
.font-black {
  font-weight: 700 !important;
}

button,
[role="button"],
input,
select,
textarea {
  letter-spacing: -0.006em;
}

:where(.ti, .ph, .ph-duotone, .fas, .far, .fab, .material-icons) {
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-rendering: auto;
  vertical-align: -0.125em;
}

:where(button, [role="button"], a) > :where(.ti, .ph, .ph-duotone, .fas, .far, .fab, .material-icons) {
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
}
