/* /assets/css/legal.css
 * 이용약관, 환불정책 등 법적 문서 페이지 공통 스타일
 */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --bg: #f4f6fb;
  --panel: #ffffff;
  --line: #e7ebf3;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #2563eb;
  --blue2: #1d4ed8;
  --soft: #f1f5ff;
  --shadow: 0 10px 30px rgba(15,23,42,0.06);
  --radius: 14px;
}

*,*::before,*::after { box-sizing: border-box; }

html {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lg-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.lg-header .inner {
  width: 100%;
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lg-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lg-logo {
  height: 28px;
  display: block;
}

.lg-header-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.lg-header-nav { display: flex; gap: 10px; }

.lg-nav-link {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: background 0.15s;
}

.lg-nav-link:hover { background: var(--soft); }

.lg-main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}

.lg-card {
  width: 100%;
  max-width: 800px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
}

.lg-page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.lg-page-date {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 32px;
}

.lg-article {
  font-size: 14px;
  line-height: 1.8;
  color: #1e293b;
}

.lg-article h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}

.lg-article h2:first-of-type { margin-top: 0; }

.lg-article h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}

.lg-article p { margin: 0 0 12px; }

.lg-article ol,
.lg-article ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.lg-article li { margin-bottom: 6px; }
.lg-article strong { font-weight: 600; }

.lg-info-box {
  background: #eff6ff;
  border-left: 3px solid var(--blue);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.7;
}

.lg-warn-box {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.7;
}

.lg-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 13px;
}

.lg-article th,
.lg-article td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.lg-article th {
  background: #f8fafc;
  font-weight: 600;
  white-space: nowrap;
}

.lg-footer {
  text-align: center;
  padding: 20px 16px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.lg-footer-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lg-footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.lg-footer-links a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.lg-footer-links span { color: var(--line); }

@media (max-width: 640px) {
  .lg-header { padding: 10px 14px; }
  .lg-header-title { font-size: 14px; }
  .lg-main { padding: 16px 10px; }
  .lg-card { padding: 24px 18px; }
  .lg-page-title { font-size: 18px; }
  .lg-article h2 { font-size: 15px; }
}
