@font-face {
  font-family: Chillax;
  src: url(chillax-500.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url(newsreader.ttf) format("truetype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --surface: #211917;
  --ink: #f7efe5;
  --soft: #d3bfb0;
  --rule: #67554a;
  color: var(--ink);
  background: var(--surface);
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
}
.masthead {
  padding: 26px clamp(24px, 5vw, 72px);
}
.wordmark {
  color: inherit;
  text-decoration: none;
  font: 400 30px/.95 Newsreader, Georgia, serif;
  letter-spacing: -.025em;
}
main {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 36px 22px clamp(48px, 12vh, 132px);
}
.signal {
  display: grid;
  place-items: center;
  margin-bottom: 30px;
}
.signal img {
  width: 110px;
  height: auto;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--soft);
  font: 500 12px/1.5 ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font: 500 clamp(43px, 8.3vw, 94px)/.99 Chillax, system-ui, sans-serif;
  letter-spacing: -.06em;
}
.description {
  margin: 22px 0 24px;
  color: var(--soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}
.action {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: .3em;
  font-size: 15px;
  font-weight: 600;
}
.action:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.error-page {
  color-scheme: light;
  --surface: #f4efe9;
  --ink: #211917;
  --soft: #625247;
  --rule: #a38b7a;
  background: var(--surface);
}
.error-page main {
  width: min(940px, 100%);
  margin-inline: auto;
  text-align: left;
  justify-items: start;
  padding-inline: clamp(24px, 7vw, 72px);
}
.error-page .signal {
  margin-bottom: 24px;
}
.error-page .signal img {
  width: 70px;
}
.error-page h1 { font-size: clamp(43px, 8vw, 82px); }
