*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07090f;
  --bg2: #0e1018;
  --bg3: #161b28;
  --accent: #e8a020;
  --text: #d4d8e8;
  --text-dim: #6b7490;
  --border: #1e2336;
  --font: 'Inter', 'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a3050; border-radius: 3px; }

/* ── NAV ── */
.legal-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.legal-nav-logo {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.legal-nav-logo span { color: var(--accent); }
.legal-nav-back {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.legal-nav-back:hover { color: var(--text); }

/* ── CONTENT ── */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.legal-date {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  margin-top: 20px;
}
.legal-section p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.85;
}
.legal-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.legal-section li {
  font-size: 15px;
  color: var(--text);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.75;
}
.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.legal-section a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,160,32,0.3);
  transition: border-color 0.2s;
}
.legal-section a:hover { border-color: var(--accent); }

.legal-callout {
  background: rgba(232, 160, 32, 0.06);
  border: 1px solid rgba(232, 160, 32, 0.22);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.legal-callout p { margin-bottom: 0; }

/* ── ABOUT CARDS ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.about-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.about-card:hover { border-color: rgba(232,160,32,0.3); }
.about-card-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.about-card-title { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.about-card-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.about-card-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(232,160,32,0.3);
  transition: border-color 0.2s;
}
.about-card-link:hover { border-color: var(--accent); }

/* ── FOOTER ── */
.legal-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.legal-footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.legal-footer-copy { font-size: 13px; color: var(--text-dim); }
.legal-footer-links { display: flex; gap: 24px; }
.legal-footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-footer-links a:hover { color: var(--text); }

@media (max-width: 700px) {
  .legal-nav { padding: 16px 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .legal-footer { padding: 32px 24px; }
  .legal-footer-inner { flex-direction: column; text-align: center; }
  .legal-footer-links { justify-content: center; }
}
