:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #ffffff;
  color: #171717;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
}

.page-shell {
  width: min(100%, 1200px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(36px, 8vw, 96px) clamp(24px, 6vw, 72px) 30px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.identity {
  align-self: center;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 3vw, 32px);
  transform: translateY(-2vh);
}

.brand-logo {
  display: block;
  width: min(100%, 760px);
  height: auto;
}

h1 {
  margin: 0;
  color: #2b2b2b;
  font-size: clamp(15px, 1.55vw, 20px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding-top: 32px;
  color: #777777;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 520px) {
  .page-shell {
    padding: 30px 20px 24px;
  }

  .identity {
    transform: translateY(-1vh);
  }

  h1 {
    max-width: 18em;
    line-height: 1.8;
    letter-spacing: 0.12em;
  }

  .site-footer {
    display: grid;
    gap: 3px;
  }
}
