/* Shared base: soft woodland palette, self-hosted fonts (see fonts.css). */
:root {
  --bg: #faf6ef;
  --card: #fffdf8;
  --tint-sage: #e6eee1;
  --tint-blush: #f5e6db;
  --ink: #34423a;
  --muted: #6c786f;
  --sage: #8fa88d;
  --accent: #c9784a;
  --line: #e6dfd0;
  --locked: #efe9dc;
  --open: #ecd0ac;
  --done: #c3d6bf;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b2420;
    --card: #232e29;
    --tint-sage: #26332b;
    --tint-blush: #302d28;
    --ink: #ece6d8;
    --muted: #a7b3a9;
    --sage: #7f9a7d;
    --accent: #e09468;
    --line: #34423a;
    --locked: #2a362f;
    --open: #8a6a43;
    --done: #4f7350;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  padding: 0 16px;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 0 64px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 0 0 .25rem; }
h1 .dot { color: var(--accent); }
.muted { color: var(--muted); }
input, button, textarea { font: inherit; }
input[type=email] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); color: var(--ink);
}
button, .button {
  display: inline-block; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--bg); cursor: pointer; text-decoration: none;
  font-weight: 500;
}
button.quiet { background: transparent; color: var(--muted); padding: 8px 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.message { margin-top: 12px; }
