:root {
  color-scheme: light;
  --ink: #171614;
  --muted: #969696;
  --line: #e9e9e9;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  background: #ffffff;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(680px, calc(100% - 40px));
  min-height: 0;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 112px) 0;
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wordmark {
  display: block;
  width: clamp(158px, 20vw, 214px);
  height: auto;
}

h1 {
  margin: 36px 0 34px;
  color: var(--muted);
  font-size: clamp(11px, 1.15vw, 14px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: none;
}

.chefo-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 7px;
  color: #777777;
  border-bottom: 1px solid #d7d7d7;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.chefo-link span {
  display: inline-block;
  font-size: 14px;
  transition: transform 180ms ease;
}

.chefo-link:hover,
.chefo-link:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

.contact-footer {
  display: flex;
  justify-content: center;
  padding: 0 20px clamp(24px, 4vh, 38px);
}

.contact-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-footer svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.contact-footer a:hover,
.contact-footer a:focus-visible {
  color: var(--ink);
}

.contact-footer a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.chefo-link:hover span,
.chefo-link:focus-visible span {
  transform: translate(2px, -2px);
}

.chefo-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

@media (max-width: 520px) {
  .page {
    justify-content: flex-start;
    width: min(100% - 28px, 680px);
    padding: 17vh 0 48px;
  }

  .contact-footer {
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  h1 {
    max-width: 290px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .chefo-link {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
