:root {
  --bg: #f7f7f5; --surface: #fff; --text: #14161a; --muted: #5f646b; --border: #e4e5e2;
  --accent: #1f8a5b; --accent-text: #fff; --deep: #14301f; --sand: #f2d49b; --ok: #1f8a5b; --err: #c2410c;
  --r: 16px; --max: 1040px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1113; --surface: #181b1f; --text: #ecedee; --muted: #9ba1a6; --border: #2a2e33; --accent: #3dbe84; --accent-text: #0f1113; --ok: #3dbe84; --err: #fb923c; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.nav { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--text); text-decoration: none; font-size: 18px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); border: 0; border-radius: 12px; padding: 14px 22px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.btn.small { padding: 9px 14px; font-size: 15px; }
.hero { padding-top: 56px; padding-bottom: 40px; max-width: 820px; }
.eyebrow { color: var(--muted); font-weight: 600; letter-spacing: .02em; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.fine { color: var(--muted); font-size: 14px; }
.loop ol { list-style: none; padding: 0; margin: 24px auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.loop li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; display: flex; gap: 12px; align-items: baseline; }
.loop span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.grid article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
h2 { margin: 0 0 8px; font-size: 22px; }
.grid p { margin: 0; color: var(--muted); }
.trust { padding-top: 32px; padding-bottom: 32px; }
.trust ul { padding-left: 20px; display: grid; gap: 6px; }
.join { background: var(--deep); color: #f7f7f5; border-radius: 24px; padding: 32px 24px; margin: 24px auto 40px; max-width: calc(var(--max) - 40px); }
.join h2 { font-size: 28px; }
.join .row { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 16px; }
.join input[type=email] { flex: 1 1 260px; min-width: 0; padding: 14px; border-radius: 12px; border: 1px solid #3a5a47; background: #0f2418; color: #fff; font: inherit; }
.join .btn { background: var(--sand); color: var(--deep); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
legend { padding: 0; margin-bottom: 6px; color: #c9d6cd; font-size: 15px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #c9d6cd; }
.consent input { margin-top: 4px; }
#status { min-height: 1.5em; font-weight: 600; margin: 14px 0 0; }
#status.ok { color: #a7e8c6; } #status.err { color: #ffc49b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.foot { color: var(--muted); font-size: 14px; padding-bottom: 40px; }
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 48px; }
/* legal / support pages: readable on a phone */
.navlink { color: var(--text); font-weight: 600; text-decoration: none; }
.chd-link { margin: 0 auto; font-size: 15px; font-weight: 650; }
.doc { overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(28px, 7vw, 42px); }
.doc h2 { margin-top: 32px; }
.doc h3 { margin: 24px 0 6px; font-size: 18px; }
.doc li { margin: 4px 0; }
.doc blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 8px; }
.doc code { font-size: .9em; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { position: absolute; left: -10000px; }
  .doc tr { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; background: var(--surface); }
  .doc td { border: 0; border-top: 1px solid var(--border); }
  .doc td:first-child { border-top: 0; font-weight: 650; }
  .doc td::before { content: attr(data-label); display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
}
.review-note { margin-top: 40px; color: var(--muted); font-size: 14px; }
mark.todo { background: #fde68a; color: #14161a; padding: 0 4px; border-radius: 4px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; }
