/* website-v2 shared chrome: self-hosted display font (replaces Google Fonts). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/Archivo-Variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/Archivo-Variable-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Two explicit App Store entries in the shared nav: iPhone and Mac. */
.nav-dl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.links + .nav-dl {
  margin-left: 0;
}
@media (max-width: 860px) {
  .nav-dl {
    display: none;
  }
}

/* CJK display type: Archivo's negative tracking, condensed width and sub-1
   leading are tuned for Latin. Chinese and Japanese need open tracking and a
   taller line box, or the fallback glyphs crowd each other. */
html[lang="zh-CN"] .display,
html[lang="ja"] .display {
  line-height: 1.18;
  letter-spacing: 0;
  font-stretch: 100%;
}
html[lang="zh-CN"] .h2,
html[lang="ja"] .h2 {
  line-height: 1.26;
  letter-spacing: 0;
  font-stretch: 100%;
}
html[lang="zh-CN"] .h3,
html[lang="ja"] .h3,
html[lang="zh-CN"] .qa summary,
html[lang="ja"] .qa summary {
  letter-spacing: 0;
  font-stretch: 100%;
}
html[lang="zh-CN"] .hero .lede,
html[lang="ja"] .hero .lede {
  line-height: 1.75;
}
