:root {
  --purple: #332572;
  --yellow: #ffca14;
  --text: #2a2940;
  --muted: #62617d;
  --bg: #f6f6ff;
  --card: #ffffff;
  --rule: #e3e3ea;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #ececf6;
    --muted: #a9a8c2;
    --bg: #15142a;
    --card: #1f1e38;
    --rule: #34335a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
header {
  background: var(--purple);
  padding: 16px;
}
header .bar {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
header img { height: 44px; display: block; }
header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
  font-size: 14px;
  opacity: 0.9;
}
header nav a:first-child { margin-left: 0; }
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.card {
  background: var(--card);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 20px; margin: 28px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
a { color: var(--purple); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) a { color: var(--yellow); }
}
ul { padding-left: 22px; }
li { margin: 4px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.button {
  display: inline-block;
  background: var(--yellow);
  color: #000 !important;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 40px;
}
.hero { text-align: center; padding: 40px 24px; }
.hero img { width: min(320px, 80%); }
footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 0 16px 32px;
}
footer a { color: var(--muted); }
