:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #202123;
  background: #f7f7f5;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
img { display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.frame {
  width: min(74rem, calc(100% - clamp(2.75rem, 12vw, 12rem)));
  margin-inline: auto;
}

.masthead {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  color: #fff;
}
.nav, .wordmark, .nav-links {
  display: flex;
  align-items: center;
}
.nav {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 1rem;
  min-height: 4.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.wordmark {
  gap: .38rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.035em;
}
.wordmark img { width: 2.25rem; height: auto; margin-left: -.18rem; }
.nav-links { gap: clamp(1rem, 3vw, 2.4rem); }
.nav-links a { font-size: .91rem; color: #e5e5e5; white-space: nowrap; }

.hero {
  display: grid;
  grid-template-rows: minmax(8rem, 1fr) auto;
  row-gap: clamp(.75rem, 2vh, 1.5rem);
  padding-block: clamp(1.45rem, 2.4vw, 2rem) clamp(2rem, 3vw, 3rem);
  color: #fafafa;
}
.hero-poster {
  --poster-width: min(94vw, 76rem);
  display: grid;
  align-content: center;
  justify-items: center;
  container-type: size;
  position: relative;
  isolation: isolate;
}
.hero-poster h1 {
  width: var(--poster-width);
  position: relative;
  z-index: 0;
  color: #e6e7e9;
  font-size: calc(var(--poster-width) * .335);
  line-height: .94;
  font-weight: 750;
  letter-spacing: -.055em;
  text-indent: -.055em;
  text-align: center;
  white-space: nowrap;
}
.hero-mac {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(var(--poster-width) * .89);
  height: auto;
  margin: calc(var(--poster-width) * -.029) auto 0;
  pointer-events: none;
}
.hero-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.purpose {
  font-size: clamp(1.12rem, 1.65vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .65rem 1.38rem;
  border: 1px solid transparent;
  border-radius: .58rem;
  background: #fafafa;
  color: #17181a;
  font-size: .97rem;
  font-weight: 580;
  text-decoration: none;
}
.download:focus-visible { outline-color: white; }

.feature, .installation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(3rem, 8vw, 8rem);
  scroll-margin-top: 1.5rem;
}
.feature {
  align-items: center;
  padding-block: clamp(4rem, 7vw, 7rem);
}
.usage { grid-template-areas: "picture copy" "picture notes"; }
.external {
  grid-template-areas: "copy picture";
  border-top: 1px solid #d2d2d1;
}
.feature-copy { grid-area: copy; }
.usage .feature-copy { align-self: end; }
.guide-details { grid-area: notes; align-self: start; margin-top: 1.25rem; }
.guide-details details {
  margin: 0;
  border-top: 1px solid #d9d9d6;
}
.guide-details details:last-child { border-bottom: 1px solid #d9d9d6; }
.guide-details summary { width: 100%; padding-block: .75rem; font-weight: 540; }
.guide-details details[open] { padding-bottom: .45rem; }
h2 {
  font-size: clamp(1.75rem, 2.65vw, 2.6rem);
  line-height: 1.3;
  font-weight: 570;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.feature-copy > p, .install-notes > p, details p, .display-modes dd {
  max-width: 31em;
  color: #48494d;
  line-height: 1.85;
  text-wrap: pretty;
}
.feature-copy > p { margin-top: .8rem; }
.feature-copy h2 + p { margin-top: 1.2rem; }
.display-modes { margin-top: 1.2rem; }
.display-modes dt { margin-top: .8rem; font-weight: 600; line-height: 1.6; }
.display-modes dd { margin-top: .1rem; }
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .88em;
  overflow-wrap: anywhere;
  color: #2a2b2e;
}
.menu-symbol {
  display: inline-block;
  vertical-align: -.045em;
  font: 650 1.3em/1 -apple-system, BlinkMacSystemFont, sans-serif;
  color: #252529;
}
.menu-shot, .settings { grid-area: picture; }
.menu-shot img {
  width: min(100%, 24rem);
  height: auto;
  margin-inline: auto;
  border-radius: .95rem;
}
.settings img {
  width: min(100%, 25.5rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 9px 15px rgb(22 22 28 / 16%));
}
details { margin-top: .75rem; }
summary {
  display: list-item;
  width: fit-content;
  padding-block: .6rem;
  color: #2e2e35;
  line-height: 1.6;
  cursor: pointer;
}
summary::marker { font-size: .78em; }
details p { margin: .15rem 0 .55rem; }
.manuals { font-size: .87rem; }
.manuals a { text-underline-offset: .18em; }
.installation {
  padding-block: clamp(2.4rem, 4.75vw, 4rem) clamp(3.25rem, 6vw, 6rem);
  border-top: 1px solid #d2d2d1;
}
.installation h2 { font-size: clamp(1.55rem, 2.25vw, 2rem); }
.download-footer {
  grid-column: 1 / -1;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}
.download-large {
  width: min(82%, 21rem);
  min-height: 3.625rem;
  padding: .75rem 1.5rem;
  border-radius: .875rem;
  background: #202123;
  color: #fff;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  font-weight: 600;
}
.download-large:focus-visible { outline-color: #202123; }
.requirements {
  margin-top: .8rem;
  color: #5c5d62;
  font-size: .875rem;
  line-height: 1.6;
}
@media (hover: hover) {
  .nav-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
  .download:hover { background: #dfdfe1; }
  .download-large:hover { background: #393a3d; }
  summary:hover { color: #111; }
}

@media (min-width: 641px) and (max-width: 920px) {
  .feature, .installation { column-gap: 2.5rem; }
}
@supports (width: 1cqh) {
  /* Keep the title and cutout together in the space between the navigation and download. */
  .hero-poster { --poster-width: min(94vw, 76rem, 140cqh); }
}
@media (max-width: 700px) {
  .feature, .installation { grid-template-columns: minmax(0, 1fr); }
  .feature {
    row-gap: 1.75rem;
    padding-block: 3.4rem;
  }
  .usage { grid-template-areas: "copy" "picture" "notes"; }
  .external { grid-template-areas: "copy" "picture"; }
  .guide-details { margin-top: 0; }
  .feature-copy > p, details p { max-width: none; }
  .settings img { width: min(100%, 24.5rem); }
  .installation { row-gap: 1rem; }
}
@media (max-width: 640px) {
  .nav { min-height: 3.7rem; }
  .hero { padding-block: clamp(2.4rem, 10vw, 3.45rem) 2.5rem; }
  .hero-mac { width: var(--poster-width); }
  .hero-caption {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
@media (max-width: 365px) {
  .frame { width: calc(100% - 2.25rem); }
  .nav-links { gap: .85rem; }
  .wordmark { font-size: .95rem; }
}
