:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #1b1b1b;
  background: #f4f2ed;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
}

.landing-page,
.error-page {
  width: min(680px, calc(100% - 3rem));
  padding: 4rem 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.landing-page p,
.error-description {
  max-width: 58ch;
  margin: 2rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: #555;
}

.error-code {
  margin: 0 0 1rem;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a6a6a;
}

.error-action {
  margin: 2rem 0 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 5rem;
  font-size: 0.8rem;
  color: #777;
}
