:root {
  color-scheme: light;
  --background: #f5f6f4;
  --surface: #ffffff;
  --text: #20221f;
  --muted: #6b7069;
  --line: #e2e5df;
  --accent: #318447;
  --accent-soft: #e8f3ea;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  line-height: 1.7;
  word-break: keep-all;
}

a { color: var(--accent); }

.container {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 72px 0;
}

.hero { padding: 28px 0 44px; }
.hero h1, .document-header h1 {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.lead { color: var(--muted); font-size: 1.06rem; }
.updated, .note { color: var(--muted); font-size: 0.92rem; }

.link-grid { display: grid; gap: 14px; }
.card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.card:hover { border-color: var(--accent); }
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--accent);
  font-weight: 800;
  background: var(--accent-soft);
  border-radius: 14px;
}
.card strong, .card small { display: block; }
.card small { margin-top: 2px; color: var(--muted); }

.document { padding-top: 38px; }
.back { display: inline-block; margin-bottom: 38px; text-decoration: none; }
.document-header { margin-bottom: 32px; }
.document section {
  margin: 16px 0;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.document h2 { margin: 0 0 12px; font-size: 1.25rem; }
.document h3 { margin: 24px 0 4px; font-size: 1rem; }
.document p { margin: 10px 0; }
.document ul { margin: 10px 0; padding-left: 22px; }
.document li + li { margin-top: 7px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
th, td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 0.82rem; }

.button-link {
  display: inline-block;
  padding: 11px 16px;
  color: white;
  font-weight: 700;
  text-decoration: none;
  background: var(--accent);
  border-radius: 12px;
}

footer { padding: 34px 4px 0; color: var(--muted); font-size: 0.82rem; }

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 760px); padding: 38px 0; }
  .document section { padding: 20px; border-radius: 16px; }
  .hero { padding-top: 14px; }
}
