/* ==================================================
   INESS Beauty — shared foundation
   No app-specific layout belongs here.
   ================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: var(--iness-bg);
}

body {
  min-height: 100%;
  margin: 0;

  background: var(--iness-bg);
  color: var(--iness-text);

  font-family: var(--iness-font-ui);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.iness-display {
  font-family: var(--iness-font-display);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
