/**
 * Scales rem from the 1920×1080 Figma artboard (16px = 1rem at design size).
 * Uses the smaller of width/height scale so the layout fits any viewport aspect ratio.
 */
:root {
  --design-width: 1920;
  --design-height: 1080;
  --design-rem: 16;
}

html {
  font-size: min(
    calc(100vw * var(--design-rem) / var(--design-width)),
    calc(100vh * var(--design-rem) / var(--design-height))
  );
}
