/* Wobble's plain pages on GitHub Pages. Colours and type follow brand/BRAND.md. */

@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora.ttf') format('truetype');
  font-weight: 100 800;
  font-display: swap;
}

@font-face {
  font-family: 'Sometype Mono';
  src: url('fonts/SometypeMono.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --graphite: #1a1e21;
  --rule: #33383c;
  --ink: #f2f3f4;
  --muted: #8c9298;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--graphite);
  color: var(--ink);
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

header {
  margin-bottom: 40px;
}

header img {
  display: block;
  height: 32px;
  width: auto;
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  margin: 40px 0 8px;
}

p,
ul {
  margin: 0 0 16px;
}

li {
  margin-bottom: 8px;
}

.label {
  font-family: 'Sometype Mono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Links stay ink: the accent never goes on text (brand/BRAND.md). */
a {
  color: var(--ink);
  text-decoration-color: var(--muted);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--ink);
}

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
}

footer a {
  margin-right: 16px;
}
