:root {
  --fg: #1f2330;
  --muted: #6b7280;
  --bg: #ffffff;
  --accent: #6c4cf1;
  --border: #e5e7eb;
  --code-bg: #f3f4f6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
}
header.site {
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
header.site .brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  text-decoration: none;
}
header.site nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-right: 12px;
}
header.site nav a:hover { color: var(--fg); }
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}
main h1 { font-size: 26px; line-height: 1.3; margin-top: 0; }
main h2 { font-size: 20px; margin-top: 2em; border-top: 1px solid var(--border); padding-top: 1.2em; }
main h3 { font-size: 16px; }
main a { color: var(--accent); }
main code { background: var(--code-bg); padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }
main table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95em; }
main th, main td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
main th { background: var(--code-bg); }
.muted { color: var(--muted); font-size: 14px; }
.note {
  background: #f6f4ff;
  border: 1px solid #e0d8ff;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 14.5px;
}
footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
footer.site .biz { line-height: 1.75; }
footer.site .biz-name { font-weight: 700; color: var(--fg); margin-bottom: 4px; }
footer.site .biz a { color: inherit; text-decoration: none; }
footer.site .copy { margin-top: 10px; }
.cards { display: grid; gap: 14px; margin-top: 24px; }
.card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-1px); }
.card .t { font-weight: 700; font-size: 16px; }
.card .d { color: var(--muted); font-size: 14px; margin-top: 4px; }
