:root {
  color-scheme: light dark;
  --accent: #d7263d;
  --accent-soft: #fdecee;
  --text: #16181d;
  --sub: #5d6470;
  --muted: #8b919c;
  --line: #e7e9ed;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #ff5468;
    --accent-soft: #3a1c21;
    --text: #eef0f3;
    --sub: #a9afb9;
    --muted: #7d838e;
    --line: #2a2e35;
    --bg: #0f1114;
    --surface: #181b20;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { max-width: 760px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; gap: 4px; }
.top nav a { text-decoration: none; color: var(--sub); font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.top nav a[aria-current] { color: var(--accent); background: var(--accent-soft); }
main { max-width: 760px; margin: 0 auto; padding: 28px 16px 72px; }
.title h1 { font-size: 28px; line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { font-size: 13px; font-weight: 600; color: var(--sub); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.lead { color: var(--sub); margin: 0; }
.glance { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 24px 0 8px; }
.glance div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.glance b { display: block; font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.glance p { margin: 0; font-size: 15px; line-height: 1.6; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 16px 0 8px; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc ol { margin: 8px 0 0; padding-left: 22px; columns: 2 220px; column-gap: 24px; }
.toc li { font-size: 15px; padding: 2px 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); }
section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; margin-top: 14px; }
section h2 { font-size: 19px; line-height: 1.4; margin: 0 0 10px; display: flex; gap: 10px; align-items: baseline; }
section h2 .n { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; transform: translateY(-2px); }
section p { margin: 10px 0; }
section ul, section ol { margin: 10px 0; padding-left: 20px; }
section li { margin: 6px 0; }
.items { display: grid; gap: 8px; margin: 12px 0; }
.item { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--bg); }
.item h3 { font-size: 15px; margin: 0 0 2px; }
.item p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); }
.item .for { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--sub); }
.item .for b { color: var(--muted); font-weight: 600; margin-right: 4px; }
.note { font-size: 14px; color: var(--sub); }
.callout { background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; margin: 12px 0; font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.hero { text-align: center; padding: 28px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.hero h1 { font-size: 32px; margin: 18px 0 6px; letter-spacing: -0.02em; }
.hero p { color: var(--sub); font-size: 17px; margin: 0 auto; max-width: 520px; }
.features { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 28px 0; }
.features div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.features b { display: block; font-size: 16px; margin-bottom: 4px; }
.features p { margin: 0; color: var(--sub); font-size: 15px; line-height: 1.6; }
footer { max-width: 760px; margin: 0 auto; padding: 0 16px 40px; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
footer a { color: var(--sub); }
@media (max-width: 480px) {
  .title h1 { font-size: 25px; }
  section { padding: 18px 14px; }
  .top nav a { padding: 6px 8px; font-size: 13px; }
}
