/* ash — pure grayscale, no accent colour. Contrast and weight carry hierarchy. */

:root {
  --bg: #0e0e0f;
  --text: #fafafa;
  --muted: #8b8c90;
  --emphasis: #3a3a3c;
  --rule: #1c1c1e;

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure: 34rem;
  --step: 1.5rem;
}

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

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.masthead {
  margin-bottom: 4rem;
}

.wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}

.tagline {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---- typography ---- */

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 var(--step);
}

h2 {
  font-size: 1.0625rem;
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
}

p,
li {
  margin: 0 0 1rem;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

ul {
  padding-left: 1.125rem;
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--emphasis);
  transition: text-decoration-color 120ms ease;
}

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

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

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

/* ---- publisher / contact block ---- */

.detail {
  margin: 0 0 1rem;
}

.detail dt {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-bottom: 0.125rem;
}

.detail dd {
  margin: 0 0 1rem;
}

/* ---- required disclaimer ---- */

.disclaimer {
  margin-top: 4rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--emphasis);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.pagenav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
}

.pagenav a {
  margin-right: 1.25rem;
}

.updated {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-bottom: 2rem;
}

@media (max-width: 30rem) {
  .wrap {
    padding-top: 3rem;
  }
  .wordmark {
    font-size: 1.75rem;
  }
}
