/* 포프리덤 소개·방침·약관 공통 (2026-12-03) */
:root {
  --bg: #fbf8f3;
  --card: #ffffff;
  --text: #1b1a18;
  --muted: #6b6760;
  --line: #ebe5dc;
  --soft: #fff4e2;
  --soft-line: #f6dfb8;
  --primary: #2f6bff;
  --primary-soft: #2f6bff14;
  --green: #3fbf94;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --card: #1c1c1f;
    --text: #f2f2f4;
    --muted: #a3a3ab;
    --line: #2c2c31;
    --soft: #2a2419;
    --soft-line: #4a3c22;
    --primary: #4d83ff;
    --primary-soft: #4d83ff24;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* 머리 */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); text-decoration: none; font-size: 17px; }
.brand img { width: 30px; height: 30px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 16px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* 첫 화면 */
.hero { padding: 56px 0 24px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: 0.02em; margin-bottom: 10px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--soft-line); font-size: 14px; font-weight: 600; }
.hero-art img { width: min(380px, 100%); margin: 0 auto; }

/* 진화 */
section { padding: 40px 0; }
h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 24px; }
.stages { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
.stages li { text-align: center; }
.stages img { width: 100%; max-width: 120px; margin: 0 auto 6px; }
.stages b { display: block; font-size: 14px; }
.stages span { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }

/* 기능 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.feature .icon { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.feature h3 { font-size: 17px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.promise { background: var(--soft); border: 1px solid var(--soft-line); border-radius: 22px; padding: 28px; }
.promise ul { margin: 12px 0 0; padding-left: 20px; }
.promise li { margin: 4px 0; }

/* 문서 */
.doc { padding-top: 40px; padding-bottom: 24px; }
.doc h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -0.01em; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.doc h2 { font-size: 20px; margin: 36px 0 10px; padding-top: 8px; }
.doc h3 { font-size: 16px; margin: 20px 0 6px; }
.doc p, .doc li { font-size: 15.5px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.summary { background: var(--soft); border: 1px solid var(--soft-line); border-radius: 16px; padding: 18px 20px; margin: 0 0 8px; }
.summary ul { margin: 6px 0 0; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 16px 0 8px; font-size: 15px; }
.toc ol { margin: 6px 0 0; }
.table-wrap { overflow-x: auto; margin: 10px 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.55; }
th { background: var(--primary-soft); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
.note { color: var(--muted); font-size: 14px; }

/* 꼬리 */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 48px; color: var(--muted); font-size: 13px; }
footer .links a { color: var(--text); text-decoration: none; font-weight: 600; margin-right: 16px; font-size: 14px; }
footer .biz { margin-top: 14px; line-height: 1.8; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; text-align: center; }
  .hero-art { order: -1; }
  .hero-art img { width: 220px; }
  .stages { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .features { grid-template-columns: 1fr; }
  .top nav a { margin-left: 12px; font-size: 13px; }
}
