@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #fbfbfa;
  --ink: #14181d;
  --ink-soft: #4a545e;
  --rule: #d9dde1;
  --signal: #1f5f8b;
  --panel: #f2f4f5;
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* --- masthead ------------------------------------------------ */

.masthead {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
}

.brand {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
}

.updated {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: 1rem 0 0;
}

/* --- body ---------------------------------------------------- */

h2 {
  font-size: 0.78rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 3rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

p { margin: 0 0 1.15rem; }

a {
  color: var(--signal);
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

ul { margin: 0 0 1.15rem; padding-left: 1.15rem; }
li { margin-bottom: 0.5rem; }

strong { font-weight: 600; }

code, .kw {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.9em;
  background: var(--panel);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

/* --- disclosure block (signature element) -------------------- */
/* The whole job of these pages is that specific required facts are
   present and findable. This renders them as a spec sheet rather
   than burying them in prose. */

.spec {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--signal);
  background: var(--panel);
  padding: 1.5rem 1.5rem 0.5rem;
  margin: 0 0 1.5rem;
}

.spec dl { margin: 0; }

.spec dt {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}

.spec dd {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

/* --- footer -------------------------------------------------- */

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

footer a { margin-right: 1.25rem; display: inline-block; }

@media (max-width: 480px) {
  .wrap { padding: 2.5rem 1.25rem 4rem; }
  h1 { font-size: 1.45rem; }
  body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
