/* MissingManual public site.
   Brand tokens only: Leaf ground, Ink text, Graphite prose, Slate labels.
   Ochre is reserved for unverified claims and is deliberately unused here.
   No motion, no build step, no framework. */

:root {
  --leaf: #f7f5f0;
  --ink: #14161a;
  --graphite: #3a3d42;
  --slate: #63666c;
  --hair: rgba(20, 22, 26, 0.14);
  --wash: rgba(20, 22, 26, 0.045);
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--leaf);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ── masthead ── */

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 0 0;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.028em;
}

.lockup svg {
  display: block;
  width: 17px;
  height: auto;
  fill: var(--ink);
}

nav {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── prose ── */

h1 {
  font-size: clamp(38px, 7vw, 56px);
  font-weight: 600;
  letter-spacing: -0.033em;
  line-height: 1.03;
  margin: 68px 0 0;
  max-width: 15ch;
}

h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin: 0 0 12px;
}

h3 {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--graphite);
  margin-top: 24px;
  max-width: 56ch;
}

p {
  max-width: 68ch;
  margin-top: 16px;
}

.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}

.rule {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  max-width: 46ch;
  border-left: 3px solid var(--ink);
  padding-left: 20px;
  margin: 40px 0;
}

section {
  padding: 44px 0 0;
  border-top: 1px solid var(--hair);
  margin-top: 52px;
}

ul {
  margin-top: 16px;
  padding-left: 20px;
  max-width: 68ch;
}

li {
  margin-top: 8px;
}

/* ── code ── */

code {
  font-family: var(--mono);
  font-size: 0.88em;
}

pre {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  background: var(--wash);
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: 16px 18px;
  overflow-x: auto;
  margin-top: 18px;
}

pre .c {
  color: var(--slate);
}

/* ── tables ── */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-top: 22px;
}

th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}

td:last-child,
th:last-child {
  padding-right: 0;
}

td.num {
  font-family: var(--mono);
  font-size: 14px;
  white-space: nowrap;
}

/* ── footer ── */

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2;
  color: var(--slate);
}

footer a {
  color: var(--slate);
}
