/* 404 — centered hero, theme colors */

.error404 .site-breadcrumbs {
  display: none;
}

body.error404 main {
  display: flex;
  flex-direction: column;
}

.error-404 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md) calc(var(--space-xl) * 1.5);
  text-align: center;
}

.error-404-inner {
  max-width: 36rem;
  margin-inline: auto;
}

.error-404-code {
  margin: 0 0 0.35em;
  font-family:
    "Open Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(5.5rem, 20vw, 11rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.07em;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 55%,
    var(--color-primary) 100%
  );
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 32px rgba(166, 9, 61, 0.12));
}

.error-404-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
}

.error-404-lede {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.error-404-actions {
  margin: 0;
}

.error-404-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
