.error-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2.75rem, 10vh, 6rem) 1.25rem 2rem;
}

.error-card {
  width: min(620px, 100%);
  padding: 0.75rem 1.4rem 1rem;
  margin: 0 auto;
  text-align: center;
}

.error-graphic {
  width: min(300px, 88%);
  height: auto;
  margin: 0 auto 0.8rem;
  display: block;
}

.error-card h1 {
  margin: 0 auto 1.5rem;
  font-size: clamp(1.8rem, 4.2vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.error-copy {
  margin: 0 auto 1.9rem;
  max-width: 42ch;
  color: #31465d;
  font-size: 1.03rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.error-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  padding: 0.97rem 1.3rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(180deg, var(--color-secondary-bright) 0%, var(--color-secondary-dark) 100%);
  color: #fffdfb;
  font-weight: 500;
  font-size: 0.96rem;
  text-decoration: none;
  box-shadow: 0 12px 22px var(--shadow-brand);
  cursor: pointer;
}
