:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --ink: #161a24;
  --muted: #5f6677;
  --line: #e3e6ee;
  --ready: #2ecc70;
  --cool: #598cff;
  --accent: #b366ff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1118;
    --card: #171b25;
    --ink: #edf0f6;
    --muted: #a0a8b8;
    --line: #2a3040;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16.5px/1.7 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 40px 16px 64px; }
header.site { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
header.site img { width: 56px; height: 56px; border-radius: 13px; }
header.site .name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
header.site .sub { color: var(--muted); font-size: 14px; }
nav.top { display: flex; flex-wrap: wrap; gap: 16px; margin: 18px 0 28px; font-size: 15px; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a[aria-current] { color: var(--ink); font-weight: 600; }
h1 { font-size: 30px; line-height: 1.3; letter-spacing: -0.03em; margin: 8px 0 10px; }
h2 { font-size: 20px; letter-spacing: -0.01em; margin: 36px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 1.2em; }
li { margin-bottom: 6px; }
a { color: var(--cool); }
.lede { color: var(--muted); font-size: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 20px; margin: 16px 0;
}
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.grid .card { margin: 0; }
.grid h3 { margin-top: 0; }
.ring {
  width: 120px; height: 120px; border-radius: 50%; margin: 24px auto;
  background: conic-gradient(var(--cool) 0 68%, var(--line) 68% 100%);
  display: grid; place-items: center;
}
.ring span {
  width: 94px; height: 94px; border-radius: 50%; background: var(--bg);
  display: grid; place-items: center; font-size: 40px;
}
.meta { color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }

nav.langs { margin:14px 0 0; font-size:.82rem; display:flex; flex-wrap:wrap; gap:4px 12px; opacity:.85; }
nav.langs a[aria-current] { font-weight:700; text-decoration:none; }
