/* 요금제·약관 페이지 공용 스타일 (utils/pricing|terms|refund|privacy.html) */
:root { --navy: #18243a; --gold: #f4b544; --white: #FFFFFF; --surface: #F4F6F9; --muted: #596173; --line: rgba(24,36,58,.14); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { min-height: 100svh; display: flex; flex-direction: column; background: var(--white); color: var(--navy); font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid #18243a; outline-offset: 4px; }
.wrap { width: min(1168px, 100%); margin: 0 auto; padding: 0 32px; }
header { border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 80px; display: flex; align-items: center; gap: 24px; }
.site-name { font-size: 18px; font-weight: 700; text-decoration: none; letter-spacing: -.035em; }
.nav-inner nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.nav-inner nav a { text-decoration: none; }
.nav-inner nav a:hover, .nav-inner nav a[aria-current] { text-decoration: underline; }
.lang { padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; background: none; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
main { flex: 1; padding: 48px 0 64px; }
body[data-lang="ko"] [lang="en"], body[data-lang="en"] [lang="ko"] { display: none !important; }

/* 문서 */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.04em; line-height: 1.3; }
.doc .updated { margin-top: 6px; color: var(--muted); font-size: 13px; }
.doc h2 { margin-top: 36px; font-size: 19px; letter-spacing: -.03em; }
.doc p, .doc ul, .doc ol, .doc table { margin-top: 10px; font-size: 15px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: var(--surface); }
.table-scroll { overflow-x: auto; }
.note { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 14px; }
mark.todo { background: #ffe1a3; padding: 0 4px; border-radius: 4px; }

/* 요금제 */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; max-width: 860px; }
.plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.plan.paid { border-color: rgba(244,181,68,.9); box-shadow: inset 0 -4px var(--gold); }
.plan h2 { font-size: 22px; letter-spacing: -.035em; }
.price { margin-top: 8px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan ul { flex: 1; margin-top: 16px; padding-left: 20px; font-size: 15px; }
.plan li + li { margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; padding: 13px 24px; border: 1px solid var(--navy); border-radius: 8px; background: none; color: inherit; text-decoration: none; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn:hover { background: rgba(24,36,58,.06); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: #ffc75f; }
.fine { margin-top: 20px; max-width: 860px; color: var(--muted); font-size: 13px; }

footer { padding: 24px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.foot { display: flex; flex-direction: column; gap: 10px; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.seller { line-height: 1.8; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-inner { min-height: 64px; gap: 12px; }
  .nav-inner nav { gap: 12px; font-size: 13px; }
  .nav-inner nav .optional { display: none; }
  main { padding: 32px 0 48px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 22px; }
}
