:root {
  color-scheme: light;
  --ink: #15201d;
  --muted: #5f6d68;
  --line: #dce5e1;
  --surface: #f5f8f7;
  --brand: #0b8f70;
  --brand-dark: #07634f;
  --brand-soft: #e7f6f1;
  --warning: #fff8e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
a { color: var(--brand-dark); }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}
.site-header__inner, .legal-main, .site-footer__inner {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
}
.site-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.25rem; }
.header-link { font-size: .86rem; font-weight: 700; }
.hero {
  padding: 46px 0 38px;
  background: linear-gradient(145deg, var(--brand-soft), #fff 72%);
  border-bottom: 1px solid var(--line);
}
.hero h1 { margin: 0 0 8px; font-size: clamp(1.75rem, 6vw, 2.65rem); line-height: 1.25; }
.hero p { margin: 3px 0; color: var(--muted); font-size: .92rem; }
.legal-main { padding: 38px 0 64px; }
.lead { font-size: 1rem; color: #33423d; }
.legal-section { margin: 0 0 34px; }
.legal-section h2 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.4; }
.legal-section h3 { margin: 22px 0 8px; font-size: 1.02rem; }
.legal-section p { margin: 7px 0; }
.legal-section ul, .legal-section ol { margin: 8px 0; padding-left: 22px; }
.legal-section li { margin: 5px 0; }
.info-box, .warning-box {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.warning-box { background: var(--warning); }
.table-wrap { width: 100%; overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--surface); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.button--secondary { background: #fff; color: var(--brand-dark); border: 1px solid var(--brand); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.footer-links a { color: var(--ink); font-weight: 700; }
.note { color: var(--muted); font-size: .86rem; }

@media (max-width: 480px) {
  .site-header__inner, .legal-main, .site-footer__inner { width: min(100% - 24px, 920px); }
  .hero { padding: 34px 0 30px; }
  .legal-main { padding-top: 30px; }
  .header-link { display: none; }
  .button-row .button { width: 100%; }
  .table-wrap { border: 0; overflow: visible; }
  table, tbody, tr, td { display: block; min-width: 0; }
  thead { display: none; }
  tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  td { border-bottom: 1px solid var(--line); }
  td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--muted); font-size: .76rem; font-weight: 800; }
}
