/* Generated by scripts/build-site.ts — edit the generator, not this file. */
:root {
  --bg: #FFFAF3;
  --surface: #FFFBF0;
  --text: #3D3528;
  --forest: #4A5C45;
  --muted: #6B5C38;
  --border: #E4D4B4;
  --on-forest: #FFFBF0;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

main, .site-header, .site-footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header { padding-top: 2rem; padding-bottom: 1rem; }

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--forest);
  text-decoration: none;
}

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

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  color: var(--forest);
  margin: 1.5rem 0 0.75rem;
}

h2 {
  font-size: 1.15rem;
  color: var(--forest);
  margin: 1.75rem 0 0.5rem;
}

.lede { font-size: 1.05rem; }

.badge {
  display: inline-block;
  background: var(--forest);
  color: var(--on-forest);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.cards { display: grid; gap: 1rem; margin: 2.5rem 0; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card, .panel, .doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
}

.card h2 { margin-top: 0; font-size: 1.02rem; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.panel { margin: 2rem 0; }
.panel h1 { margin-top: 0; }
.panel-warn { border-color: var(--muted); }

.button {
  display: inline-block;
  background: var(--forest);
  color: var(--on-forest);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  /* 44pt minimum touch target — the same rule #69 tracks inside the app. */
  min-height: 44px;
  min-width: 44px;
}

.hint, .updated, .footer-note { color: var(--muted); font-size: 0.9rem; }

.disclaimer {
  background: var(--bg);
  border-left: 3px solid var(--muted);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 0 8px 8px 0;
}

.doc { margin: 2rem 0; }
.doc-section p { margin: 0 0 0.75rem; }

.doc-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.doc-list li { padding: 0.75rem 0; border-top: 1px solid var(--border); }
.doc-list a { font-weight: 700; display: block; }
.doc-list span { display: block; color: var(--muted); font-size: 0.9rem; }

.contact { margin: 3rem 0; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.footer-links a { font-size: 0.9rem; }

@media (prefers-reduced-motion: no-preference) {
  a, .button { transition: opacity 120ms ease; }
  a:hover, .button:hover { opacity: 0.82; }
}
