@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg:          #ebe6d9;
  --bg-surface:  #dedad0;
  --border:      #1c180e;
  --border-soft: #6a6660;

  --text:        #1c180e;
  --text-muted:  #4c4840;
  --text-faint:  #908c86;

  --font-mono: 'DM Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

body {
  max-width: 780px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
  background: var(--bg);
  background-image: radial-gradient(circle, rgba(28, 24, 14, 0.055) 1px, transparent 1px);
  background-size: 6px 6px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1 {
  margin-bottom: 0.2rem;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

h2 {
  margin-top: 2rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

h3 {
  margin-bottom: 0.1rem;
  font-size: 0.95rem;
  color: var(--text);
}

p {
  color: var(--text-muted);
}

ul {
  margin-top: 0.3rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-soft);
  text-underline-offset: 2px;
}

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

code {
  font-family: var(--font-mono);
  background: var(--bg-surface);
  padding: 0.1em 0.3em;
}

@media print {
  body {
    margin: 0;
    max-width: none;
    background-image: none;
  }
}
