:root {
  color-scheme: light;
  --ink: #251d17;
  --muted: #74665a;
  --line: #eadfd2;
  --paper: #fffdf9;
  --cream: #f6efe5;
  --accent: #ee6d47;
  --accent-dark: #bd4525;
  --green: #667d59;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(238, 109, 71, 0.10), transparent 30rem),
    var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.75;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(234, 223, 210, 0.9);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(16px);
}

.site-header__inner,
.site-footer__inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand small { color: var(--muted); font-weight: 600; }

.site-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.site-nav a { color: var(--muted); font-size: 0.88rem; text-decoration: none; }
.site-nav a:hover { color: var(--accent-dark); }

.page {
  width: min(820px, calc(100% - 40px));
  margin: 40px auto 72px;
}

.document {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(63, 42, 25, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.3; }
h2 { margin: 38px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.2rem; }
h3 { margin: 24px 0 8px; font-size: 1rem; }
p { margin: 10px 0; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }

.meta, .muted { color: var(--muted); font-size: 0.92rem; }
.notice { padding: 16px 18px; border-radius: 14px; background: #fff3ec; color: #6e321e; }
.info { padding: 16px 18px; border-radius: 14px; background: #eef3eb; color: #34462e; }

table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f7f1e8; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-footer { padding: 28px 0 48px; color: var(--muted); font-size: 0.84rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.site-footer a { color: var(--muted); }

@media (max-width: 720px) {
  .site-header { position: static; }
  .site-header__inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .site-nav { gap: 8px 12px; }
  .page { margin-top: 22px; }
  .document { border-radius: 18px; }
  table { display: block; overflow-x: auto; white-space: normal; }
}
