:root {
  color-scheme: light dark;
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #d2553a;
  --accent-text: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161617;
    --card: #222224;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #e8694d;
    --border: rgba(255, 255, 255, 0.1);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
}
.mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
}
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; color: var(--muted); }
.button {
  display: inline-block;
  margin: 10px 0 18px;
  padding: 12px 26px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.small { font-size: 14px; }
.hidden { display: none; }
code {
  font: 14px ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--bg);
  border-radius: 6px;
  padding: 2px 6px;
  word-break: break-all;
}

/* The home page and the legal pages: wider, left-aligned text. */
main.wide { max-width: 720px; text-align: left; }
main.wide .mark { margin: 0 0 18px; }
main.wide h2 { font-size: 19px; margin: 28px 0 8px; }
main.wide h3 { font-size: 16px; margin: 20px 0 6px; }
main.wide ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
main.wide li { margin: 0 0 6px; }
main.wide p strong, main.wide li strong { color: var(--text); }
.features { display: grid; gap: 14px; margin: 24px 0; }
.feature { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
main.wide .feature h2 { margin: 0 0 6px; }
.feature p { margin: 0; }
.cta { text-align: center; margin: 8px 0 4px; }
footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
footer a, main a:not(.button) { color: var(--accent); }
.draft { border: 1px dashed var(--accent); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
