/* Colors follow the app's default 1a "Precision" theme (Shared/ThemePalette.swift). */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --line: #e0e3e7;
  --text: #131822;
  --muted: #53585f;
  --faint: #767a82;
  --accent: #0559d2;
  --note: #e8f0fc;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c10;
    --surface: #12151a;
    --line: #24282e;
    --text: #f2f3f6;
    --muted: #a7abb2;
    --faint: #7c8088;
    --accent: #71abff;
    --note: #121c2c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  overflow-wrap: break-word;
}
html:lang(ko) body { word-break: keep-all; }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 28px 20px 56px; }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
header.site a.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
header.site img { width: 36px; height: 36px; border-radius: 8px; }
header.site nav { display: flex; gap: 14px; font-size: 0.92rem; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--accent); }
.hero { text-align: center; padding: 20px 0 36px; }
.hero img { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 14px 36px rgba(19, 24, 34, 0.18); }
.hero h1 { font-size: 2.1rem; line-height: 1.3; margin: 26px 0 10px; letter-spacing: -0.035em; }
.hero p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 8px 0 28px; }
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  header.site nav { gap: 10px; font-size: 0.85rem; }
}
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.card h3 { font-size: 1rem; margin: 0 0 4px; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.note { background: var(--note); border-radius: 14px; padding: 16px 20px; margin: 0 0 28px; }
.note ul { margin: 0; padding-left: 1.2em; }
.note p { margin: 0 0 4px; font-weight: 700; }
h2 { font-size: 1.2rem; margin: 40px 0 12px; letter-spacing: -0.02em; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin: 8px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 2px; color: var(--muted); }
article h1 { font-size: 1.8rem; margin: 0 0 4px; letter-spacing: -0.03em; }
article .meta { color: var(--faint); margin: 0 0 24px; }
article h2 { font-size: 1.12rem; margin: 34px 0 10px; }
article ul { padding-left: 1.2em; }
article li { margin: 4px 0; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--faint); font-weight: 600; white-space: nowrap; }
footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 18px; color: var(--faint); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site a { color: var(--muted); }
