:root {
  --nhl-green: #009a44;
  --nhl-blue: #006bb6;
  --ink: #17212b;
  --muted: #5f6f7f;
  --line: #d8e0e7;
  --paper: #ffffff;
  --page: #eef3f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(0, 154, 68, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(0, 107, 182, 0.12), transparent 42%),
    var(--page);
  font-family: Arial, Helvetica, sans-serif;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.panel {
  width: min(100%, 980px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 33, 43, 0.12);
  padding: clamp(28px, 6vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: clamp(40px, 7vw, 72px);
}

.brand-mark {
  display: grid;
  grid-template-columns: auto auto;
  align-items: stretch;
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 10px 12px;
}

.brand-mark span:first-child {
  background: var(--nhl-green);
}

.brand-mark span:last-child {
  background: var(--nhl-blue);
}

.brand p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.status {
  width: fit-content;
  margin-bottom: 20px;
  color: var(--nhl-blue);
  font-size: clamp(3.75rem, 13vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

article {
  border-top: 4px solid var(--nhl-green);
  padding-top: 22px;
}

article[lang="en"] {
  border-top-color: var(--nhl-blue);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

article p:last-child {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .message-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .brand p {
    margin: 0;
  }
}