:root {
  color-scheme: light;
  --ink: #2d2326;
  --muted: #756a6d;
  --rose: #c96a7a;
  --rose-soft: #fff1f3;
  --line: #eadfe1;
  --surface: #fffdfd;
  --background: #faf6f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
}

main {
  width: min(860px, calc(100% - 32px));
  margin: 32px auto 64px;
  padding: clamp(24px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(61, 42, 47, .07);
}

.brand-header { margin-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 800; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
a { color: #a8485b; }
nav a { font-weight: 700; text-decoration: none; }
h1 { margin: 0 0 8px; font-size: clamp(30px, 6vw, 44px); line-height: 1.25; }
h2 { margin-top: 40px; font-size: 22px; }
h3 { margin-top: 26px; font-size: 18px; }
p, li, td, th { font-size: 15px; }
.lede, .meta { color: var(--muted); }
.notice { margin: 24px 0; padding: 18px 20px; background: var(--rose-soft); border: 1px solid #f0c8d0; border-radius: 16px; }
.button { display: inline-block; padding: 12px 18px; color: #fff; background: var(--rose); border-radius: 999px; font-weight: 800; text-decoration: none; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; }
th, td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #fbf5f6; }
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 640px) {
  main { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  table, tbody, tr, th, td { display: block; }
  th { border-bottom: 0; }
  td { margin-bottom: 10px; }
}
