:root {
  --bg: #0A0A0B;
  --card: #151517;
  --card-open: #1B1B1E;
  --border: #27272A;
  --text: #F4F1EA;
  --soft: #D4D4D8;
  --muted: #A1A1AA;
  --accent: #FF7A1A;
  --accent-soft: rgba(255, 122, 26, 0.14);
  --on-accent: #0A0A0B;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FAFAF7; --card: #FFFFFF; --card-open: #FFFFFF; --border: #E4E4E7;
    --text: #18181B; --soft: #3F3F46; --muted: #52525B;
    --accent: #C2410C; --accent-soft: rgba(194, 65, 12, 0.10); --on-accent: #FFFFFF;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
/* 한 줄 글자 수를 줄여 읽기 쉽게 (긴 줄은 눈이 다음 줄을 놓침) */
main { max-width: 680px; margin: 0 auto; padding: 32px 20px 80px; }
a { color: var(--accent); text-underline-offset: 3px; }
strong { font-weight: 700; color: var(--text); }

/* ── 약관·방침 공통 ─────────────────── */
header a { color: var(--muted); text-decoration: none; font-size: 15px; }
h1 { font-size: 30px; line-height: 1.3; margin: 16px 0 6px; letter-spacing: -0.02em; }
h2 { font-size: 21px; line-height: 1.4; margin: 56px 0 12px; padding-top: 20px; border-top: 1px solid var(--border); letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 28px 0 6px; }
p { margin: 0 0 14px; color: var(--soft); }
li { color: var(--soft); margin-bottom: 8px; }
ul, ol { padding-left: 22px; margin: 0 0 14px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.summary { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 14px; padding: 18px 20px 6px; margin-bottom: 28px; }
.summary > strong { display: block; font-size: 15px; color: var(--accent); margin-bottom: 8px; }
.summary ul { margin: 0 0 12px; }
.table-wrap { overflow-x: auto; margin: 12px 0 16px; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; min-width: 560px; }
th, td { border-bottom: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; color: var(--soft); }
tr:last-child td { border-bottom: 0; }
th { background: var(--card); font-weight: 700; color: var(--text); white-space: nowrap; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 56px; font-size: 15px; }
footer { color: var(--muted); font-size: 13px; margin-top: 24px; }

/* ── 고객 지원 ─────────────────────── */
.hero { padding: 8px 0 12px; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 4px 10px; border-radius: 999px;
}
.hero h1 { font-size: 34px; margin: 14px 0 8px; }
.lead { font-size: 17px; color: var(--muted); margin: 0; }

.faq-group { margin-top: 40px; }
.group-title {
  font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em;
  margin: 0 0 12px; padding: 0; border: 0;
}
.faq {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  margin-bottom: 10px; transition: background .2s, border-color .2s;
}
.faq[open] { background: var(--card-open); border-color: var(--accent); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 16px 18px; font-size: 18px; font-weight: 700; color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
  color: var(--accent); background: var(--accent-soft);
}
.faq summary::after {
  content: ""; flex: none; margin-left: auto; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 16px; }
.answer { padding: 0 20px 18px 58px; }
.answer p:last-child, .answer ul:last-child, .answer ol:last-child { margin-bottom: 0; }
.key { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.note { font-size: 15px; color: var(--muted); }
.path {
  display: inline-block; font-size: 15px; font-weight: 600; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 1px 8px; line-height: 1.6; white-space: nowrap;
}
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 34px; margin-bottom: 12px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 2px; width: 24px; height: 24px;
  border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800;
  color: var(--on-accent); background: var(--accent);
}
.facts { list-style: none; padding: 0; }
.facts li { position: relative; padding-left: 18px; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.contact {
  margin-top: 48px; text-align: center; background: var(--card);
  border: 1px solid var(--border); border-radius: 20px; padding: 28px 22px;
}
.contact h2 { margin: 0 0 6px; padding: 0; border: 0; font-size: 22px; }
.contact .button {
  display: block; max-width: 320px; margin: 18px auto 8px; padding: 15px 20px;
  background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 17px;
  text-decoration: none; border-radius: 14px;
}
.contact .mail { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.contact .note { margin: 0; text-align: left; border-top: 1px solid var(--border); padding-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  .faq, .faq summary::after { transition: none; }
}

/* 폰에서는 답을 질문 왼쪽 끝부터 (한 줄에 글자가 더 들어가게) */
@media (max-width: 480px) {
  .answer { padding-left: 20px; }
}
