@font-face {
  font-family: 'Inter Recovery';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight Recovery';
  src: url('/assets/fonts/inter-tight-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
html:has(.error-page),
body:has(.error-page) {
  margin: 0;
  background: #ffffff;
}
.error-page {
  --paper: #ffffff;
  --ink: #172e3a;
  --heading-secondary: #697f88;
  --muted: #536570;
  --blue: #2854c5;
  --soft: #f1f4f7;
  --line: #cdd7df;
  box-sizing: border-box;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 72px);
  color: var(--ink);
  background: var(--paper);
  font:
    400 1.125rem/1.6 'Inter Recovery',
    Arial,
    sans-serif;
}
.error-page *,
.error-page *::before,
.error-page *::after {
  box-sizing: border-box;
}
.error-page-inner {
  max-width: 1050px;
  margin: 0 auto;
}
.error-page a {
  color: inherit;
}
.error-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font:
    650 27px/1 'Inter Tight Recovery',
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.error-brand svg {
  width: 34px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.error-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 70px;
  align-items: center;
  padding: clamp(70px, 15vh, 180px) 0 60px;
}
.error-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 550;
}
.error-content h1 {
  margin: 0;
  max-width: 13ch;
  font:
    550 clamp(40px, 5.5vw, 72px)/1.04 'Inter Tight Recovery',
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
}
.error-message {
  max-width: 47ch;
  margin: 24px 0 0;
  color: var(--muted);
}
.error-content .heading-secondary {
  color: var(--heading-secondary);
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 32px;
}
.error-actions a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  font-size: 1rem;
  font-weight: 550;
  text-decoration: none;
}
.error-actions .error-primary {
  padding: 12px 19px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
}
.error-actions .error-primary:hover {
  background: var(--blue);
}
.error-actions .error-secondary:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.error-actions svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.error-page a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 4px;
}
.error-route {
  width: 100%;
  height: auto;
  overflow: visible;
}
.error-route .error-terrain {
  fill: var(--soft);
  stroke: var(--line);
  stroke-width: 1;
}
.error-route .error-path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.error-route .error-missing {
  stroke: var(--muted);
  stroke-dasharray: 3 7;
}
.error-route .error-point {
  fill: var(--blue);
  stroke: var(--paper);
  stroke-width: 4;
}
.error-route .error-destination {
  fill: var(--paper);
  stroke: var(--blue);
  stroke-width: 2;
}
@media (max-width: 700px) {
  .error-content {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 65px;
  }
  .error-route {
    width: 140px;
    justify-self: end;
  }
  .error-content h1 {
    max-width: 15ch;
  }
}
@media print {
  .error-page {
    min-height: auto;
    padding: 20px;
  }
  .error-route {
    display: none;
  }
}
