.error-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgb(51 204 204 / 0.18), transparent 34%),
    linear-gradient(180deg, #f6fbfb 0%, #eef5fb 48%, #fff7f2 100%);
}

.error-page__shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.error-page__panel {
  width: min(42rem, 100%);
  padding: 3rem;
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 1.75rem;
  background: rgb(255 255 255 / 0.88);
  box-shadow: 0 2rem 4rem rgb(38 50 56 / 0.12);
  backdrop-filter: blur(10px);
}

.error-page__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-brand-support);
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-page__panel h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.error-page__message {
  margin: 1rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
}

.error-page__detail {
  margin: 1rem 0 0;
  color: var(--color-text-subtle);
}

.error-page__support {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
}

.error-page__support code {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .error-page__shell {
    padding: 1rem;
  }

  .error-page__panel {
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
  }

  .error-page__actions {
    flex-direction: column;
  }
}
