:root {
  --bg: #f7f4ef; --surface: #ffffff; --text: #2a231c; --muted: #6b5f52;
  --border: #e3dbcf; --accent: #a15c2a; --accent-contrast: #ffffff; --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17140f; --surface: #221d16; --text: #f1ece3; --muted: #b7a893;
    --border: #3a3226; --accent: #d98a4f; --accent-contrast: #1a1410;
  }
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.55;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header.hero { padding: 56px 0 40px; text-align: center; }
header.hero img { width: 96px; height: 96px; border-radius: 22px; }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin: 18px 0 10px; line-height: 1.15; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40ch; margin: 0 auto 26px; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-contrast);
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1.05rem;
  text-decoration: none; border: none; cursor: pointer;
}
.sub { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }
section { padding: 30px 0; }
h2 { font-size: 1.4rem; margin: 0 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 5px 13px; font-size: 0.88rem; }
.signup { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.signup input[type=email] {
  flex: 1 1 240px; max-width: 340px; min-width: 0; padding: 12px 14px; font-size: 1rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
#signup-msg { margin: 12px 0 0; min-height: 1.4em; font-size: 0.93rem; }
footer { padding: 30px 0 46px; text-align: center; color: var(--muted); font-size: 0.85rem; }
footer a { color: inherit; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.more-links { margin-top: 14px; font-size: 0.93rem; }
.more-links a { color: var(--accent); }
