/* Raintree Forge — shared site stylesheet.
   Plain static site: tokens on :root, dark palette via prefers-color-scheme. */

:root {
  --ink: #1c1917;
  --paper: #f5f1e8;
  --muted: #6f6a61;
  --rule: #e1dcd0;
  --accent: #2f6f4f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece8e0;
    --paper: #171412;
    --muted: #9b958a;
    --rule: #322d28;
    --accent: #6fae8f;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

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

.site-header { padding-top: 2.5rem; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: inherit;
  text-decoration: none;
}

.mark { width: 1.5rem; height: 1.5rem; color: var(--accent); }

.hero { margin-top: 4rem; }

h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 3.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

h3 { font-size: 1.25rem; margin: 0 0 0.25rem; }

p { margin: 0.5rem 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { text-decoration: underline; }

.more { font-weight: 550; }

.site-footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer a { color: inherit; }
