/* SeraSupper public site — shared styles.
   Self-contained: no external fonts, CDNs, or scripts. Light/dark aware. */

:root {
  --bg: #faf7f1;
  --surface: #ffffff;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --accent: #4f7a5b;
  --accent-ink: #35583f;
  --border: rgba(43, 43, 43, 0.12);
  --max: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181a;
    --surface: #1f2124;
    --text: #e8e6e1;
    --muted: #a2a29c;
    --accent: #7fb08a;
    --accent-ink: #9cc7a6;
    --border: rgba(232, 230, 225, 0.14);
  }
}

* { box-sizing: border-box; }

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  max-width: var(--max);
  margin: 0 auto;
}

.site-header .mark {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
}

.site-header .brand {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.site-header a { color: inherit; text-decoration: none; }

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.subtitle { color: var(--muted); margin: 0 0 2rem; }

h2 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.6rem;
  padding-top: 0.5rem;
  color: var(--accent-ink);
}

h3 { font-size: 1.02rem; margin: 1.4rem 0 0.3rem; }

p, li { color: var(--text); }

a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }

ul { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  margin: 1.25rem 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  margin: 0.4rem 0.5rem 0.4rem 0;
}
.btn:hover { background: var(--accent-ink); }
.btn.secondary {
  background: transparent;
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}
.site-footer a { color: var(--muted); }
.site-footer nav a { margin-right: 1rem; }
