@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-normal.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --ink: #26282c;
  --muted: #5e6067;
  --rule: #ccc9bf;
  --brass: #795826;
  --display: "Instrument Serif", Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body,
figure,
fieldset,
dl,
dd,
h1,
h2,
h3,
p {
  margin: 0;
}
body {
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection {
  color: #26282c;
  background: #e8c68f;
}
a {
  color: inherit;
  text-underline-offset: 0.19em;
}
a:hover {
  color: var(--brass);
}
:focus-visible {
  outline: 3px solid #976a19;
  outline-offset: 4px;
}
section[id],
main[id] {
  scroll-margin-top: 28px;
}
.wrap {
  width: min(1392px, 100%);
  padding-inline: clamp(24px, 5.4vw, 88px);
  margin-inline: auto;
}
.visually-hidden,
.counts input,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 12px;
  background: white;
}
.masthead {
  border-bottom: 1px solid var(--rule);
}
.navigation {
  display: flex;
  align-items: center;
  min-height: 77px;
  gap: 40px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.wordmark img {
  display: block;
  object-fit: contain;
}
.navigation a:not(.wordmark),
footer a:not(.wordmark) {
  font-size: 14px;
  text-decoration: none;
  font-weight: 550;
}
.navigation a:not(.wordmark) {
  padding-block: 7px;
}
.navigation a:hover,
footer a:hover {
  text-decoration: underline;
}
.nav-links {
  display: flex;
  gap: 29px;
  margin-left: auto;
  color: var(--muted);
}
.nav-install {
  border-left: 1px solid var(--rule);
  padding-left: 32px;
}
.nav-install span,
footer a span {
  margin-left: 0.24em;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.58fr);
  align-items: center;
  gap: clamp(28px, 4.4vw, 76px);
  padding-block: clamp(50px, 6.3vw, 96px) clamp(52px, 6.5vw, 96px);
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
}
h1 {
  font-size: clamp(65px, 6.8vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.92;
}
h1 em {
  color: var(--brass);
  font-weight: 400;
}
.intro > p:not(.requirements) {
  max-width: 32ch;
  margin-top: 25px;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.52;
  color: var(--muted);
}
.download {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border-radius: 7px;
  padding: 13px 21px;
  margin-top: 28px;
  color: #fffcf4;
  background: #303338;
  text-decoration: none;
  font-weight: 620;
  font-size: 16px;
}
.download:hover {
  background: #484b50;
  color: white;
}
.down-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 17px;
  border-bottom: 1.6px solid currentColor;
}
.down-icon::before,
.down-icon::after {
  content: "";
  position: absolute;
}
.down-icon::before {
  left: 7px;
  top: 0;
  height: 12px;
  border-left: 1.6px solid;
}
.down-icon::after {
  left: 4px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid;
  border-bottom: 1.6px solid;
  transform: rotate(45deg);
}
.requirements {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12.5px;
}
.demo {
  min-width: 0;
}
.screen {
  overflow: hidden;
  border-radius: 10px;
  background: #373a36;
}
.shot {
  display: none;
  cursor: zoom-in;
}
.shot:focus-visible {
  outline-offset: -5px;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.three {
  display: block;
}
.demo:has(input[value="2"]:checked) .three,
.demo:has(input[value="4"]:checked) .three {
  display: none;
}
.demo:has(input[value="2"]:checked) .two,
.demo:has(input[value="4"]:checked) .four {
  display: block;
}
figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
}
.demo-caption {
  color: var(--muted);
  font-size: 13px;
}
.counts {
  border: 0;
  display: flex;
  padding: 2px;
  border-radius: 7px;
  background: #e8e6dd;
  min-width: 0;
}
.counts label {
  cursor: pointer;
}
.counts span {
  display: block;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 560;
}
.counts input:checked + span {
  color: #fff;
  background: #42454a;
}
.counts input:focus-visible + span {
  outline: 3px solid #986819;
  outline-offset: 2px;
}
.counts label:hover span {
  text-decoration: underline;
}
h2 {
  font-size: clamp(40px, 4.2vw, 63px);
  line-height: 1.04;
  letter-spacing: -0.032em;
}
.section {
  padding-bottom: clamp(48px, 5.8vw, 84px);
}
.section-intro {
  padding-top: clamp(38px, 4vw, 64px);
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}
.section-intro p {
  max-width: 39ch;
  color: var(--muted);
}
.layout-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-block: 1px solid var(--rule);
}
.layout-list article {
  padding: 26px clamp(15px, 2vw, 34px) 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.layout-list article + article {
  border-left: 1px solid var(--rule);
}
.layout-list article:first-child {
  padding-left: 0;
}
.diagram {
  display: grid;
  width: 86px;
  height: 55px;
  gap: 3px;
  padding: 3px;
  border: 1px solid #8b7150;
  border-radius: 5px;
  background: #e8dec6;
}
.diagram i {
  background: #fbf8ed;
  border: 1px solid #b6a17c;
  border-radius: 1.5px;
}
.diagram i:first-child {
  background: #ad874e;
  border-color: #9f7944;
}
.grid {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.columns {
  grid-template-columns: repeat(3, 1fr);
}
.rows {
  grid-template-rows: repeat(3, 1fr);
}
.side {
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.side i:first-child {
  grid-row: span 2;
}
h3 {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.layout-list h3 {
  margin-top: 20px;
}
.layout-list p {
  font-size: 14px;
  color: var(--muted);
  margin: 5px 0 13px;
  max-width: 26ch;
}
kbd {
  font-family: inherit;
  font-weight: 550;
  font-size: 13px;
  white-space: nowrap;
}
.layout-list kbd {
  color: var(--brass);
  margin-top: auto;
}
.layout-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}
.keyboard-section {
  background: #25282c;
  color: #eeebe3;
}
.split,
.details {
  display: grid;
  grid-template-columns: 1fr 1.32fr;
  gap: clamp(52px, 7vw, 108px);
  padding-block: clamp(52px, 6.2vw, 90px);
}
.split > div > p {
  color: #d4d3ce;
  margin-top: 16px;
  max-width: 33ch;
}
.key-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0;
  border-top: 1px solid #52565b;
}
.key-list > div:last-child {
  border-bottom: 1px solid #52565b;
}
.key-list dt {
  font-size: 15px;
}
.key-list kbd {
  display: inline-block;
  font-size: 13px;
  color: #f2daa9;
  padding: 2px 8px;
  border: 1px solid #65686c;
  border-radius: 4px;
}
.details {
  grid-template-columns: 1fr 1.13fr;
}
.details h2 {
  font-size: clamp(40px, 3.4vw, 52px);
}
.details p,
.details ol {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 58ch;
}
.details ol {
  padding-left: 1.4rem;
}
.details li {
  margin: 10px 0 0;
  padding-left: 0.2rem;
}
.details strong,
.details a {
  color: var(--ink);
  font-weight: 600;
}
.details a:hover {
  color: var(--brass);
}
footer {
  border-top: 1px solid var(--rule);
}
footer .wrap {
  padding-block: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .wordmark {
  font-size: 19px;
  gap: 6px;
}
@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.15fr);
    gap: 26px;
  }
  h1 {
    font-size: clamp(56px, 7.8vw, 71px);
  }
  .counts span {
    padding-inline: 7px;
  }
  .layout-list article {
    padding-inline: 16px;
  }
  .split,
  .details {
    column-gap: 44px;
  }
}
@media (max-width: 700px) {
  .navigation {
    min-height: 62px;
    justify-content: space-between;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .nav-install {
    border: 0;
    padding-left: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 39px;
    padding-bottom: 36px;
    gap: 27px;
  }
  h1 {
    font-size: clamp(66px, 12.5vw, 84px);
  }
  .intro > p:not(.requirements) {
    max-width: 40ch;
    margin-top: 16px;
  }
  .download {
    margin-top: 19px;
  }
  .section-intro {
    display: block;
  }
  .section-intro p {
    margin-top: 12px;
  }
  .layout-list {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 25px;
  }
  .layout-list article {
    padding: 22px 17px;
  }
  .layout-list article:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .layout-list article:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }
  .layout-list h3 {
    margin-top: 12px;
  }
  .split,
  .details {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .split > div > p {
    max-width: 44ch;
  }
  .details {
    gap: 40px;
  }
  .counts span {
    display: grid;
    min-height: 44px;
    place-items: center;
    padding-inline: 8px;
  }
}
@media (max-width: 355px) {
  .wrap {
    padding-inline: 16px;
  }
  .counts span {
    padding-inline: 6px;
  }
  .demo-caption {
    font-size: 12px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #1b1d20;
    --ink: #eeebe3;
    --muted: #c6c4be;
    --rule: #494c50;
    --brass: #dfbb80;
  }
  .download,
  .skip:focus {
    color: #25281f;
    background: #efe4ca;
  }
  .download:hover {
    color: #1b1d20;
    background: #f7eddb;
  }
  .counts {
    background: #34373b;
  }
  .counts input:checked + span {
    color: #292b23;
    background: #e9dbb8;
  }
  :focus-visible,
  .counts input:focus-visible + span {
    outline-color: #edc984;
  }
}
