:root {
  color-scheme: dark;
  --bg: #07090d;
  --surface: #0d1118;
  --surface-2: #121824;
  --line: #252c38;
  --text: #f2f0eb;
  --muted: #aab0bc;
  --accent: #d6b17a;
  --accent-soft: #261f16;
  font-family: Pretendard, "Noto Sans KR", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); }
a { color: inherit; }
.wrap { width: min(100% - 40px, 1080px); margin: 0 auto; }
.header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(37,44,56,.8); background: rgba(7,9,13,.9); backdrop-filter: blur(16px); }
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { text-decoration: none; font-family: Georgia, "Noto Serif KR", serif; font-size: 25px; font-weight: 700; letter-spacing: .18em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; }
.nav-links a, .footer a { text-underline-offset: 4px; }
.hero { padding: 110px 0 86px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 10%, rgba(214,177,122,.12), transparent 38%); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .22em; }
h1 { margin: 18px 0 0; max-width: 780px; font-size: clamp(42px, 7vw, 78px); line-height: 1.08; letter-spacing: -.045em; }
.hero-copy { margin: 26px 0 0; max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.badge { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 9px 13px; color: #d8dbe2; font-size: 12px; font-weight: 800; }
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; }
.section-lead { margin-top: 14px; max-width: 680px; color: var(--muted); line-height: 1.85; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.card { min-height: 170px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 24px; }
.card strong { display: block; margin-bottom: 12px; color: var(--accent); font-size: 13px; }
.card h3 { margin: 0; font-size: 20px; }
.card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal { width: min(100% - 40px, 760px); margin: 0 auto; padding: 74px 0 100px; }
.legal .back { color: var(--muted); font-size: 13px; font-weight: 800; text-underline-offset: 4px; }
.legal h1 { margin-top: 20px; font-size: clamp(34px, 6vw, 52px); }
.updated { margin-top: 14px; color: var(--muted); font-size: 13px; }
.notice { margin: 28px 0; border: 1px solid #4a3c29; border-radius: 16px; background: var(--accent-soft); padding: 18px 20px; color: #e7d1ad; line-height: 1.7; }
.legal section { margin-top: 42px; }
.legal h2 { margin: 0 0 14px; font-size: 21px; }
.legal h3 { margin: 24px 0 8px; font-size: 16px; }
.legal p, .legal li { color: #c3c7d0; font-size: 14px; line-height: 1.9; }
.legal ul, .legal ol { padding-left: 22px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13px; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
th { color: var(--accent); background: var(--surface); }
tr:last-child td { border-bottom: 0; }
.action { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; border-radius: 999px; background: var(--accent); color: #19130b; padding: 13px 20px; text-decoration: none; font-weight: 900; }
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 760px) {
  .wrap, .legal { width: min(100% - 32px, 1080px); }
  .nav { min-height: 62px; }
  .nav-links { gap: 12px; }
  .hero { padding: 78px 0 64px; }
  .hero-copy { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .footer-row { flex-direction: column; }
}
