:root {
  color-scheme: only light;
  color: #171713;
  background: #f1ede4;
  font-family: "Instrument Sans", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.legal-header,
.legal-footer {
  display: flex;
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
  justify-content: space-between;
  gap: 24px;
}

.legal-header {
  min-height: 78px;
  align-items: center;
  border-bottom: 1px solid rgba(23, 23, 19, 0.16);
}

.legal-brand {
  display: block;
  width: 150px;
  line-height: 0;
}

.legal-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-back {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-main {
  width: min(calc(100% - 48px), 880px);
  margin: clamp(74px, 10vw, 132px) auto;
}

.eyebrow {
  margin-bottom: 22px;
  color: #5f6758;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0 0 30px;
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 450;
  letter-spacing: -0.052em;
  line-height: 0.99;
  text-wrap: balance;
}

.lede {
  max-width: 760px;
  margin-bottom: 56px;
  color: #45433d;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.58;
}

.status-note {
  padding: 24px 28px;
  margin-bottom: 54px;
  background: #cbd4c3;
  border-left: 3px solid #171713;
}

.status-note strong {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.status-note p {
  max-width: 720px;
  margin: 8px 0 0;
  line-height: 1.65;
}

.legal-main section {
  padding: 38px 0 42px;
  border-top: 1px solid rgba(23, 23, 19, 0.17);
}

.legal-main h2 {
  margin: 0 0 18px;
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 480;
  letter-spacing: -0.03em;
}

.legal-main section p {
  max-width: 740px;
  margin: 0 0 16px;
  color: #45433d;
  font-size: 17px;
  line-height: 1.72;
}

.legal-footer {
  padding-block: 30px 36px;
  color: #625f58;
  border-top: 1px solid rgba(23, 23, 19, 0.16);
  font-size: 13px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr;
}

.not-found-main {
  display: grid;
  width: min(calc(100% - 48px), 1180px);
  margin: auto;
  padding-block: 54px 86px;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
  text-align: left;
}

.not-found-main .eyebrow {
  margin-bottom: 20px;
}

.not-found-main h1 {
  margin-inline: 0;
}

.not-found-copy > p:not(.eyebrow):not(.help-copy) {
  max-width: 520px;
  margin: 0;
  color: #56534d;
  font-size: 19px;
  line-height: 1.65;
}

.not-found-art {
  height: min(66svh, 650px);
  margin: 0;
  overflow: hidden;
}

.not-found-art img {
  width: 120%;
  height: 120%;
  margin: -6% 0 0 -8%;
  filter: brightness(0.97) contrast(1.06);
  mix-blend-mode: multiply;
  object-fit: contain;
  object-position: center;
  opacity: 0.78;
}

.return-button {
  display: inline-flex;
  min-height: 52px;
  padding: 15px 24px;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  color: #fffdf8;
  background: #171713;
  border: 1px solid #171713;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.return-button:hover {
  color: #fffdf8;
  background: #30312d;
}

.help-copy {
  margin-top: 23px;
  color: #625f58;
  font-size: 14px;
}

@media (max-width: 640px) {
  .legal-header,
  .legal-footer,
  .legal-main,
  .not-found-main {
    width: calc(100% - 40px);
  }

  .legal-header {
    min-height: 68px;
  }

  .legal-brand {
    width: 132px;
  }

  .legal-main {
    margin-block: 68px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .status-note {
    padding: 21px 20px;
  }

  .not-found-main {
    display: flex;
    padding-block: 48px 24px;
    flex-direction: column;
    gap: 26px;
  }

  .not-found-art {
    width: calc(100% + 40px);
    height: 330px;
    margin-left: -20px;
  }

  .not-found-art img {
    width: 116%;
    height: 116%;
    margin: -4% 0 0 -8%;
  }

  .legal-footer {
    flex-direction: column;
    gap: 8px;
  }
}
