.language-entry {
  display: grid;
  place-items: center;
  min-height: 100vh;
}
.language-panel {
  text-align: center;
  padding: 40px 20px;
}
.language-panel .wordmark {
  display: inline-grid;
  margin: 0 0 50px;
}
.language-panel h1 {
  font-size: clamp(34px, 6vw, 70px);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.language-panel > p:not(.wordmark) {
  margin: 3px;
  color: var(--muted);
}
.language-choices {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.language-choices a,
.language-switch a {
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  text-decoration: none;
  border: 1px solid var(--rule);
  min-width: 112px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
}
.language-choices a:hover,
.language-choices a:focus-visible,
.language-switch a[aria-current="page"] {
  border-color: var(--rust);
  color: var(--rust);
}
.header-utility {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.language-switch {
  display: flex;
  gap: 5px;
}
.language-switch a {
  border: 0;
  min-width: auto;
  min-height: 40px;
  padding: 5px 7px;
  font-size: 11px;
}
.locale-page[lang="zh-Hans"] {
  font-family:
    "Iowan Old Style", "Songti SC", "Noto Serif CJK SC", "Microsoft YaHei",
    serif;
}
@media (max-width: 780px) {
  .masthead {
    gap: 18px;
  }
  .header-utility {
    display: grid;
    gap: 5px;
    justify-items: end;
  }
  .language-switch a {
    padding: 4px;
  }
  .language-choices {
    display: grid;
  }
  .language-choices a {
    min-width: 180px;
  }
}
