:root {
  --bg: #fbf9ff;
  --surface: #ffffff;
  --text: #251b3c;
  --muted: #61587a;
  --accent: #6b3fd0;
  --accent-soft: #efe8fc;
  --border: #e3dbf3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14101f;
    --surface: #1d1830;
    --text: #efe9fb;
    --muted: #b3a9cc;
    --accent: #b99cf5;
    --accent-soft: #2a2244;
    --border: #372e55;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.site-header, main, .site-footer { max-width: 760px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 10px; }
nav a { margin-left: 18px; text-decoration: none; font-weight: 600; }
nav a:hover { text-decoration: underline; }
main { padding-top: 12px; padding-bottom: 40px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 1.2rem 0 0.4rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2.1rem 0 0.4rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.2rem; }
p, ul, ol, table { margin: 0.7rem 0; }
li { margin: 0.3rem 0; }
.updated { color: var(--muted); margin-top: 0; }
.summary { background: var(--accent-soft); border: 1px solid var(--border); border-radius: 14px; padding: 6px 20px 10px; margin: 1.2rem 0; }
.summary h2 { margin-top: 1rem; }
.hero { text-align: center; padding: 28px 0 10px; }
.hero img { border-radius: 26px; box-shadow: 0 6px 24px rgba(107, 63, 208, 0.25); }
.hero h1 { font-size: 2.4rem; margin-bottom: 0.2rem; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 34em; margin-left: auto; margin-right: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 1.6rem 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--text); display: block; }
.card:hover { border-color: var(--accent); }
.card strong { display: block; color: var(--accent); margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 0.95rem; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { background: var(--accent-soft); }
tr:last-child td { border-bottom: none; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
details[open] summary { margin-bottom: 2px; }
.note { color: var(--muted); font-size: 0.95rem; }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.92rem; padding-top: 18px; padding-bottom: 40px; }
.site-footer p { margin: 0.3rem 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 520px) { body { font-size: 16px; } h1 { font-size: 1.7rem; } nav a { margin-left: 12px; } }
