/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */

:root {
  --reed: #3e6b52;
  --gold: #b08a3e;
  --paper: #f7f4ec;
  --ink: #1d2420;
  --muted: #5d665f;
  --line: #e2ddd0;
  --card: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151917;
    --ink: #eef0ec;
    --muted: #a3aba5;
    --line: #2b322e;
    --card: #1d2320;
    --reed: #7fb394;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
header.site a.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 650;
}
header.site a.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav a { margin-left: 20px; color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }

.hero { text-align: center; padding: 56px 0 40px; }
.hero img { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 12px 32px rgb(0 0 0 / 0.15); }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 28px 0 12px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 21px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.hero .status {
  display: inline-block; margin-top: 24px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold); font-size: 15px; font-weight: 600;
}

.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; padding: 24px 0 48px;
}
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px;
}
.feature h2 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

article.doc { padding: 24px 0 48px; }
article.doc h1 { font-size: 34px; line-height: 1.2; margin: 16px 0 4px; }
article.doc h2 { font-size: 22px; margin: 36px 0 8px; }
article.doc .meta { color: var(--muted); margin: 0 0 24px; }
article.doc li { margin: 6px 0; }

footer.site {
  border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 15px;
}
footer.site a { color: var(--muted); }
