/* SPDX-License-Identifier: AGPL-3.0-or-later */
/* Colours and type from the brand kit (notenwart/brand/README.md). No external fonts. */
:root {
  color-scheme: light dark;
  --bg: #fbf8f2;
  --surface: #f2ece0;
  --line: #ddd5c6;
  --text: #1d2b45;
  --muted: #5d6679;
  --link: #8a6420;
  --brass: #b8862e;
  --button: #1d2b45;
  --button-text: #f5efe3;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: Menlo, ui-monospace, SFMono-Regular, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a2b;
    --surface: #1d2b45;
    --line: #2e3d5c;
    --text: #f5efe3;
    --muted: #a9b1c2;
    --link: #d9a441;
    --brass: #d9a441;
    --button: #d9a441;
    --button-text: #121a2b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}
a { color: var(--link); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
h2 { font-size: 1.75rem; margin: 0 0 1.25rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; }
code, pre { font-family: var(--mono); font-size: 0.88em; }

.hero, main, footer { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }

.hero { text-align: center; padding-top: 4rem; padding-bottom: 3rem; }
.mark { display: block; margin: 0 auto; width: 132px; height: 132px; }
.wordmark { font-size: clamp(2.6rem, 8vw, 4rem); margin: 0.75rem 0 0.25rem; letter-spacing: 0.01em; }
.tagline { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 1.25rem; }
.lead { max-width: 40rem; margin: 0 auto 1rem; color: var(--muted); }
.status {
  display: inline-block;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }
.button {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.button.primary { background: var(--button); border-color: var(--button); color: var(--button-text); }

main section { padding: 2.5rem 0; border-top: 1px solid var(--line); }

.steps ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brass);
  color: var(--bg);
  font-family: var(--serif);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.steps p, .features p { margin: 0; color: var(--muted); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.features article {
  background: var(--surface);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  border-top: 3px solid var(--brass);
}

pre {
  background: var(--surface);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  line-height: 1.5;
}
.note { font-size: 0.9rem; color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  font-size: 0.85rem;
  color: var(--muted);
}
footer p { margin: 0.25rem 0; }
