/* WIPJar static site — tokens from WIPJar_Design_System.md. Zero JS, no dark mode. */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/PlayfairDisplay-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/IBMPlexSans-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexMono-400.woff2") format("woff2");
}

:root {
  --ink: #1A1A18;
  --espresso: #3D2B1F;
  --terracotta: #C4572A;
  --sand: #F5F0E8;
  --parchment: #EDE7DB;
  --stone: #D4CEC4;
  --warm-white: #FEFCF8;
  --quiet: #8B8178;
}

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

body {
  background: var(--sand);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  border-bottom: 1px solid var(--stone);
  padding: 1.1rem 0;
}
header.site .wrap {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.brand {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}
nav.site a {
  color: var(--espresso);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1.25rem;
}
nav.site a:hover { color: var(--terracotta); }

main { padding: 2.5rem 0 3.5rem; }

h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0.5rem 0 1.5rem;
}
.hero h1 {
  border-left: 3px solid var(--terracotta);
  padding-left: 1rem;
}

h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 2.4rem 0 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--stone);
}

p { margin: 0 0 1rem; color: var(--espresso); }
p strong { color: var(--ink); }

ol { margin: 0 0 1rem 1.4rem; color: var(--espresso); }
ol li { margin-bottom: 0.5rem; }

a { color: var(--terracotta); }

.updated { color: var(--quiet); font-size: 0.9rem; }

footer.site {
  border-top: 1px solid var(--stone);
  padding: 1.4rem 0 2.2rem;
  font-size: 0.9rem;
  color: var(--espresso);
}
footer.site a { color: var(--terracotta); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }

.notfound-code {
  font-family: "IBM Plex Mono", monospace;
  color: var(--quiet);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
