/* IBM Plex Sans by IBM Corp. See the accompanying plex-sans-license.txt. */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("plex-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("plex-sans-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --color-background: #f4f2ec;
  --color-surface: #fffdf8;
  --color-text: #191919;
  --color-muted: #59564f;
  --color-border: #bcb9b0;
  --color-accent: #b53222;
  --color-focus: var(--color-accent);
  --font-body:
    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --font-size-small: 0.875rem;
  --font-size-body: 1rem;
  --font-size-intro: 1.125rem;
  --font-size-heading: 1.25rem;
  --font-size-display: clamp(2.5rem, 7vw, 5.75rem);
  --font-weight-regular: 400;
  --font-weight-strong: 600;
  --line-height-body: 1.65;
  --line-height-display: 1;
  --tracking-label: 0.12em;
  --tracking-display: -0.045em;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --layout-width: 80rem;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
  --page-block-space: clamp(2rem, 7vw, 6rem);
  --text-measure: 60ch;
  --display-measure: 16ch;
  --border-width: 1px;
  --border-width-strong: 2px;
  --focus-width: 3px;
  --focus-offset: 5px;
  --link-offset: 0.25em;
  /* Swiss type scale: one family, two weights, a fixed set of sizes. */
  --font-size-label: 0.75rem;
  --font-size-meta: 0.8125rem;
  --font-size-lead: 1.125rem;
  --font-size-subhead: 1.0625rem;
  --font-size-section: 1.375rem;
  --font-size-title: clamp(2.25rem, 3.2vw, 3.25rem);
  --line-height-tight: 1.08;
  --line-height-heading: 1.2;
  --line-height-text: 1.5;
  --tracking-title: -0.035em;
  --tracking-heading: -0.015em;
  --tracking-small-caps: 0.08em;
  /* Grid and controls. */
  --grid-gap: 1.5rem;
  --view-width: 78rem;
  --control-height: 2.5rem;
  --control-padding: 0.75rem;
  --color-surface-sunk: #ebe7dd;
  --color-rule: var(--color-text);
  --color-hairline: #d3cfc5;
  --color-positive: #2f6b3a;
  --color-error: #972315;
  --color-warning: #7a4f00;
}
:root,
[data-theme] {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-text);
  background: var(--color-background);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: var(--layout-width);
  margin: auto;
  padding: var(--space-4) var(--page-gutter);
}
header {
  border-bottom: var(--border-width) solid var(--color-border);
}
.brand {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  font-weight: var(--font-weight-strong);
  text-decoration: none;
}
.brand span,
.eyebrow,
footer {
  font-size: var(--font-size-small);
}
.brand span {
  font-weight: var(--font-weight-regular);
}
main {
  padding-block: var(--page-block-space);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  margin-bottom: var(--space-4);
}
h1 {
  font-size: var(--font-size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--tracking-display);
  margin: 0 0 var(--space-4);
  max-width: var(--display-measure);
}
h2 {
  font-size: var(--font-size-heading);
}
p {
  max-width: var(--text-measure);
  line-height: var(--line-height-body);
}
.intro {
  font-size: var(--font-size-intro);
}
section {
  margin-top: var(--space-6);
  border-top: var(--border-width-strong) solid var(--color-text);
  padding-top: var(--space-2);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
a {
  color: inherit;
  text-underline-offset: var(--link-offset);
}
a:hover {
  color: var(--color-accent);
}
a:focus-visible {
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: var(--focus-offset);
}
.reference {
  overflow-wrap: anywhere;
  font-size: var(--font-size-small);
  color: var(--color-muted);
}
code {
  font-family: var(--font-mono);
}
footer {
  border-top: var(--border-width) solid var(--color-border);
  color: var(--color-muted);
}
@media (max-width: 35rem) {
  .brand {
    flex-direction: column;
  }
}
