/* Tokens mirror src/theme.ts (docs/DESIGN.md): cream canvas, white cards, one green action, pills, no shadows. */
:root {
  --canvas: #fcf5eb;
  --surface: #ffffff;
  --wash: #f0f4f9;
  --green: #25d366;
  --on-green: #111b21;
  --ink: #111b21;
  --charcoal: #1c1e21;
  --muted: #5e5e5e;
  --link: #0373e9;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--charcoal);
  font: 400 16px/1.5 "Inter", system-ui, -apple-system, sans-serif;
}
a { color: var(--link); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header.top { padding: 20px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
nav.top a { color: var(--charcoal); text-decoration: none; margin-left: 16px; }
nav.top a:hover { text-decoration: underline; }
h1 { font-weight: 700; color: var(--ink); font-size: clamp(36px, 7vw, 64px); line-height: 1.05; margin: 32px 0 16px; letter-spacing: -0.02em; }
h2 { font-weight: 700; color: var(--ink); font-size: 24px; line-height: 1.2; margin: 32px 0 8px; }
h3 { font-weight: 700; color: var(--ink); font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 20px; line-height: 1.45; max-width: 640px; }
.muted { color: var(--muted); }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 700; text-decoration: none;
  background: var(--green); color: var(--on-green);
}
.btn.ghost { background: transparent; border: 1px solid var(--charcoal); color: var(--charcoal); font-weight: 400; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 40px 0; }
.card { background: var(--surface); border-radius: 16px; padding: 24px; }
.notice { background: var(--surface); border-radius: 16px; padding: 20px 24px; margin: 24px 0; }
.doc { background: var(--surface); border-radius: 16px; padding: 28px 24px; margin: 16px 0 40px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin-top: 0; }
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 4px 0; }
footer { padding: 32px 0 48px; border-top: 1px solid #ebe3d6; margin-top: 24px; }
footer .links a { color: var(--charcoal); margin-right: 16px; display: inline-block; margin-bottom: 8px; }
footer p { margin: 8px 0; font-size: 14px; }
@media (max-width: 560px) {
  nav.top { display: none; }
  .doc { padding: 22px 18px; }
}
