:root {
  --cream: #fdfbf5;
  --cream-deep: #f6f1e7;
  --ink: #1b1b18;
  --body: #4a4a43;
  --emerald: #2e6b55;
  --emerald-deep: #1f4d3d;
  --sand: #b8964f;
  --line: #e8e1d3;
  color-scheme: light dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--cream);
  color: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

header.brand {
  background: linear-gradient(160deg, var(--emerald-deep), var(--emerald));
  color: #fff;
  padding: 54px 20px 46px;
  text-align: center;
}

.wordmark {
  font-size: 26px;
  letter-spacing: 0.42em;
  font-weight: 300;
  color: var(--sand);
  margin: 0 0 14px;
  text-indent: 0.42em;
}

header.brand h1 { font-size: 30px; margin: 0; font-weight: 600; letter-spacing: -0.01em; }
header.brand .updated { margin: 10px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }

main { max-width: 760px; margin: 0 auto; padding: 44px 20px 72px; }

.intro {
  font-size: 17px;
  color: var(--ink);
  border-left: 3px solid var(--sand);
  padding-left: 18px;
  margin-bottom: 36px;
}

h2 {
  font-size: 20px;
  color: var(--ink);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

ul { padding-left: 22px; }
li { margin: 7px 0; }
strong { color: var(--ink); }

table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--cream-deep); color: var(--ink); font-weight: 600; }

.callout {
  background: #eef5f1;
  border: 1px solid #cfe3d8;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
  color: var(--emerald-deep);
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 54px;
  padding-top: 22px;
  font-size: 15px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

footer a { color: var(--emerald); font-weight: 600; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .co { color: #8b8b82; font-size: 14px; }

@media (prefers-color-scheme: dark) {
  :root { --cream: #14140f; --cream-deep: #22221b; --ink: #f2f0e8; --body: #c8c6bc; --line: #33332a; }
  .callout { background: #1b2a23; border-color: #2c4438; color: #a8d8c2; }
  footer a { color: #7fd0b0; }
}

@media (max-width: 520px) {
  header.brand { padding: 40px 18px 34px; }
  header.brand h1 { font-size: 24px; }
  .wordmark { font-size: 21px; }
  table, th, td { font-size: 14px; }
}
