@font-face {
  font-family: "Geist";
  src: url("/errors/assets/GeistVariableVF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 950;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #090909;
  --card-bg: rgba(10, 10, 10, 0.62);
  --text: #ffe7d2;
  --muted: #f7c89a;
  --line: rgba(255, 146, 43, 0.42);
  --line-strong: rgba(255, 146, 43, 0.8);
  --accent: #ff922b;
  --accent-soft: rgba(255, 146, 43, 0.18);
  --shadow: rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  font-family: "Geist", "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(255, 145, 43, 0.16), transparent 34%),
    radial-gradient(circle at 85% 75%, rgba(255, 145, 43, 0.12), transparent 36%),
    url("/errors/assets/bg-tile.png");
  background-size: auto, auto, 64px 64px;
  background-repeat: no-repeat, no-repeat, repeat;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.38;
  z-index: 0;
}

body::before {
  width: min(46vw, 520px);
  height: min(46vw, 520px);
  left: -11vw;
  top: -15vw;
  background: rgba(255, 146, 43, 0.3);
  animation: drift-a 20s ease-in-out infinite;
}

body::after {
  width: min(40vw, 460px);
  height: min(40vw, 460px);
  right: -12vw;
  bottom: -16vw;
  background: rgba(255, 203, 153, 0.2);
  animation: drift-b 24s ease-in-out infinite;
}

.shell {
  width: min(760px, 100%);
  position: relative;
  z-index: 1;
}

.brand {
  display: block;
  width: min(320px, 80vw);
  height: calc(min(320px, 80vw) * 0.34);
  margin: 0 auto clamp(1.2rem, 2vw, 1.75rem);
  background-color: var(--accent);
  -webkit-mask: url("/errors/assets/logo.svg") no-repeat center / contain;
  mask: url("/errors/assets/logo.svg") no-repeat center / contain;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 146, 43, 0.08), transparent 24%), var(--card-bg);
  box-shadow: 0 24px 56px -28px var(--shadow);
  backdrop-filter: blur(11px);
  padding: clamp(1.25rem, 3.2vw, 2.2rem);
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  letter-spacing: 0.035em;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  margin-right: 0.55rem;
  padding: 0.15rem 0.58rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffdcb9;
  font-size: 0.83rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(1.58rem, 3.25vw, 2.45rem);
  line-height: 1.1;
}

.summary {
  margin: 1rem 0 0;
  color: #ffd8b3;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.58;
}

.checklist {
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  color: #f8cda3;
  line-height: 1.6;
}

.checklist li + li {
  margin-top: 0.44rem;
}

a {
  color: #ffc58c;
}

a:hover {
  color: #ffe4c5;
}

.actions {
  margin-top: 1.45rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.58rem 1.05rem;
  border-radius: 0.62rem;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 580;
  color: #ffe6cc;
  background: rgba(255, 146, 43, 0.1);
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 146, 43, 0.16);
}

.button:focus-visible {
  outline: 2px solid #ffd8b0;
  outline-offset: 2px;
}

.button--primary {
  border-color: rgba(255, 146, 43, 0.95);
  background: rgba(255, 146, 43, 0.82);
  color: #111;
}

.button--primary:hover {
  background: rgba(255, 166, 84, 0.92);
}

.meta {
  margin: 1rem 0 0;
  font-size: 0.86rem;
  color: rgba(255, 214, 174, 0.84);
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(20px, 14px, 0);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, -18px, 0);
  }
}

@media (max-width: 560px) {
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
