@font-face {
  font-family: "Tinos Boot";
  src: url("/fonts/tinos-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #020405;
}

body {
  min-height: 100svh;
  overscroll-behavior: none;
}

.page {
  min-height: 100svh;
  color: rgba(232, 239, 230, 0.84);
  background:
    radial-gradient(
      circle at 50% 12%,
      rgba(100, 126, 106, 0.1),
      transparent 32rem
    ),
    #020405;
  font-family: "Tinos Boot", Georgia, "Times New Roman", serif;
}

.instrument {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 116px) 0 80px;
}

.header {
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(225, 236, 223, 0.13);
}

.eyebrow {
  margin: 0 0 28px;
  color: rgba(225, 236, 223, 0.4);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.69rem;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.header h1 {
  margin: 0;
  color: rgba(240, 245, 237, 0.94);
  font-size: clamp(2.45rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.lede {
  max-width: 40rem;
  margin: 28px 0 0;
  color: rgba(225, 236, 223, 0.66);
  font-size: clamp(1.08rem, 3vw, 1.32rem);
  line-height: 1.58;
}

.section {
  padding-top: 44px;
}

.section h2 {
  margin: 0 0 16px;
  color: rgba(239, 244, 236, 0.88);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.section p,
.section li,
.section dd {
  color: rgba(225, 236, 223, 0.66);
  font-size: 1.01rem;
  line-height: 1.68;
}

.section p {
  max-width: 43rem;
  margin: 0;
}

.section p + p {
  margin-top: 18px;
}

.resource-links {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-left: 1.2rem;
}

a {
  color: rgba(225, 236, 223, 0.76);
  text-underline-offset: 0.22em;
}

a:hover {
  color: rgba(242, 247, 239, 0.98);
}

a:focus-visible {
  color: rgba(242, 247, 239, 0.98);
  outline: 1px solid rgba(225, 236, 223, 0.72);
  outline-offset: 4px;
}

pre {
  max-width: 100%;
  margin: 20px 0 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid rgba(225, 236, 223, 0.13);
  color: rgba(236, 242, 233, 0.78);
  background: rgba(0, 0, 0, 0.28);
  font: 0.82rem/1.65 ui-monospace, "SFMono-Regular", Consolas, monospace;
  white-space: pre;
}

.reference-list {
  margin: 20px 0 0;
}

.reference-list div {
  padding: 14px 0;
  border-top: 1px solid rgba(225, 236, 223, 0.1);
}

.reference-list dt {
  color: rgba(239, 244, 236, 0.82);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.reference-list dd {
  margin: 6px 0 0;
}

.ordered-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 20px 0 0;
  padding: 0;
  list-style-position: inside;
}

.ordered-definition {
  display: grid;
  grid-template-columns: minmax(7rem, auto) 1fr;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid rgba(225, 236, 223, 0.09);
}

.ordered-definition code {
  color: rgba(225, 236, 223, 0.5);
  font: 0.76rem/1.7 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(225, 236, 223, 0.13);
  color: rgba(225, 236, 223, 0.46);
  font-size: 0.91rem;
  line-height: 1.6;
}

.footer p {
  margin: 0;
}

.footer .resource-links {
  margin-top: 14px;
}

@media (max-width: 600px) {
  .instrument {
    width: min(100% - 32px, 760px);
    padding-top: 56px;
  }

  .ordered-definitions {
    grid-template-columns: 1fr;
  }
}
