/* 주유GO 웹사이트 공통 스타일 — 앱과 같은 브랜드 색·서체를 쓴다 */
:root {
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #EEF2F7;
  --border: #E1E7EF;
  --text: #16191F;
  --text-muted: #5B6472;
  --text-faint: #8993A3;
  --accent: #3182F6;
  --accent-soft: #E8F3FF;
  --shadow: 0 1px 2px rgba(22,25,31,.04), 0 8px 24px rgba(22,25,31,.05);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1318; --surface: #171C23; --surface-2: #1E252E; --border: #2B333D;
    --text: #EDEFF3; --text-muted: #9BA5B3; --text-faint: #6B7480;
    --accent: #5B9DFF; --accent-soft: rgba(91,157,255,.14);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #0F1318; --surface: #171C23; --surface-2: #1E252E; --border: #2B333D;
  --text: #EDEFF3; --text-muted: #9BA5B3; --text-faint: #6B7480;
  --accent: #5B9DFF; --accent-soft: rgba(91,157,255,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.7;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.page { max-width: 720px; margin: 0 auto; padding: 56px 24px 90px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 5px 10px; border-radius: 999px;
}
h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 8px; text-wrap: balance; }
.sub { color: var(--text-muted); font-size: 15px; margin: 0; }
.meta-row {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px;
  font-size: 13px; color: var(--text-faint);
}
.meta-row b { color: var(--text-muted); font-weight: 600; }
nav.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 22px; margin: 28px 0 40px; box-shadow: var(--shadow);
}
nav.toc .k {
  font-size: 13px; font-weight: 700; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px;
}
nav.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; }
nav.toc li { margin-bottom: 6px; break-inside: avoid; }
nav.toc a { color: var(--text); text-decoration: none; font-size: 14px; }
nav.toc a:hover { color: var(--accent); text-decoration: underline; }
article.clause { padding: 26px 0; border-top: 1px solid var(--border); scroll-margin-top: 20px; }
article.clause:first-of-type { border-top: none; padding-top: 6px; }
h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 12px; display: flex; align-items: baseline; gap: 8px; }
h2 .no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 2px 8px; border-radius: 6px; flex-shrink: 0;
}
.clause p { margin: 0 0 10px; font-size: 15px; }
.clause p:last-child { margin-bottom: 0; }
.clause ul, .clause ol.items { margin: 0 0 10px; padding-left: 20px; font-size: 15px; }
.clause li { margin-bottom: 5px; }
.table-wrap { overflow-x: auto; margin: 10px 0 14px; }
.clause table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.clause th, .clause td { text-align: left; padding: 9px 10px; border: 1px solid var(--border); vertical-align: top; }
.clause th { background: var(--surface-2); font-weight: 700; font-size: 13px; color: var(--text-muted); }
.sub-label { font-size: 13px; font-weight: 700; color: var(--text-faint); margin: 14px 0 6px; }
footer.doc-footer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); }
footer.doc-footer p { font-size: 14px; margin: 0 0 6px; }
.site-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-faint); }
.site-foot a { margin-right: 14px; }
@media (max-width: 480px) {
  .page { padding: 40px 16px 70px; }
  h1 { font-size: 23px; }
  nav.toc ol { columns: 1; }
}
