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

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background-color: #fff;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

.page-title-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-flash {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 10000;
  max-width: min(90vw, 32rem);
  padding: 0.875rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: center;
  transform: translateX(-50%);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12);
}

.site-flash--notice {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.site-flash--alert {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.error-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.error-page__title {
  margin: 0 0 16px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #1c1c1c;
}

.error-page__text {
  margin: 0 0 24px;
  color: #666;
  line-height: 1.6;
}

.error-page__link {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  background: #1c1c1c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.error-page__link:hover {
  background: #333;
}
