* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  min-height: 100%;
  background: var(--color-bg);
}

body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: var(--color-info);
}

a:hover {
  color: #1f548c;
}

:focus-visible {
  outline: 3px solid rgb(239 184 42 / 45%);
  outline-offset: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: var(--space-3);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: 16px;
  font-weight: 700;
}

time,
input[type="date"],
input[type="number"],
.table,
.details-grid {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 18px;
  }
}

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