/* ============================================================
   ReadyToPlay — 정책 페이지 (이용약관/개인정보/환불/사업자정보)
   RtP Bento 디자인 토큰: 다크 히어로 + 라이트 본문 카드
   ============================================================ */
:root {
  --rtp-orange:        #FF6B35;
  --rtp-orange-strong: #D94E1F;
  --rtp-orange-soft:   #FFEEE6;
  --rtp-blue:          #0064FF;
  --rtp-blue-strong:   #0052D4;
  --rtp-blue-soft:     #EAF2FE;

  --ink-bg:     #0a0f1a;   /* 다크 배경 (히어로/헤더/푸터) */
  --ink-bg-2:   #111827;
  --ink-line:   rgba(255,255,255,.10);
  --ink-text:   #eef3fa;
  --ink-sub:    #9aa6b8;

  --paper:      #ffffff;   /* 라이트 본문 카드 */
  --paper-bg:   #f4f6fb;
  --text:       #1a1f2b;
  --text-sub:   #4b5563;
  --text-muted: #8a93a3;
  --border:     #e6e9f0;

  --r:    22px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-s: 0 1px 6px rgba(15,23,42,.06);
  --shadow-m: 0 10px 40px rgba(15,23,42,.10);
  --ease: cubic-bezier(0.2, 0, 0, 1);

  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper-bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }

.pol { max-width: 860px; margin: 0 auto; }

/* ============ HEADER ============ */
.pol-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: var(--ink-bg);
  color: var(--ink-text);
}
.pol-logo { display: flex; align-items: center; gap: 9px; }
.pol-logo__mark {
  font-family: "Barlow", var(--font);
  font-weight: 900; font-size: 22px; letter-spacing: -1px;
  color: var(--ink-text);
}
.pol-logo__p { color: var(--rtp-orange); }
.pol-logo__name { font-weight: 700; font-size: 15px; color: var(--ink-text); }
.pol-home {
  font-size: 13px; font-weight: 600; color: var(--ink-sub);
  padding: 7px 12px; border: 1px solid var(--ink-line); border-radius: 999px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.pol-home:hover { color: var(--ink-text); border-color: rgba(255,255,255,.28); }

/* ============ HERO ============ */
.pol-hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(255,107,53,.18), transparent 60%),
    radial-gradient(900px 360px at 10% 0%, rgba(0,100,255,.16), transparent 55%),
    var(--ink-bg);
  color: var(--ink-text);
  padding: 44px 22px 52px;
}
.pol-hero__badge {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  color: var(--rtp-orange);
  background: rgba(255,107,53,.12);
  border: 1px solid rgba(255,107,53,.28);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.pol-hero__title {
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 800; letter-spacing: -1px; line-height: 1.25;
}
.pol-hero__title .accent { color: var(--rtp-orange); }
.pol-hero__desc {
  margin-top: 12px; font-size: 15px; color: var(--ink-sub); max-width: 560px;
}
.pol-hero__meta { margin-top: 14px; font-size: 12.5px; color: rgba(154,166,184,.75); }

/* ============ TABS ============ */
.pol-tabs {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 6px; overflow-x: auto;
  padding: 10px 14px;
  background: rgba(10,15,26,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
  scrollbar-width: none;
}
.pol-tabs::-webkit-scrollbar { display: none; }
.pol-tab {
  flex: 0 0 auto;
  font-family: var(--font);
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-sub);
  background: transparent;
  border: 1px solid transparent;
  padding: 9px 15px; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: all .2s var(--ease);
}
.pol-tab:hover { color: var(--ink-text); background: rgba(255,255,255,.05); }
.pol-tab.is-active {
  color: #fff;
  background: var(--rtp-orange);
  box-shadow: 0 4px 14px rgba(255,107,53,.35);
}

/* ============ MAIN / PANELS ============ */
.pol-main { padding: 26px 16px 40px; }
.pol-panel { display: none; animation: fade-up .28s var(--ease); }
.pol-panel.is-active { display: block; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pol-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-m);
  padding: 30px 26px;
}
.pol-card__title {
  font-size: 22px; font-weight: 800; letter-spacing: -.5px;
  color: var(--text);
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 2px solid var(--rtp-orange-soft);
}
.pol-lead { font-size: 15px; color: var(--text-sub); margin-bottom: 20px; }

/* ============ 문서 타이포 ============ */
.pol-doc { font-size: 14.5px; color: var(--text-sub); }
.pol-doc__meta {
  font-size: 12.5px; color: var(--text-muted); margin: -10px 0 22px;
}
.pol-doc h3 {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 26px 0 10px;
  padding-left: 11px; border-left: 3px solid var(--rtp-orange);
}
.pol-doc h4 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 24px 0 8px;
}
.pol-doc p { margin: 8px 0; }
.pol-doc ol, .pol-doc ul { margin: 8px 0 8px 20px; }
.pol-doc li { margin: 5px 0; }
.pol-doc ol ol, .pol-doc ul ul, .pol-doc ol ul { margin-top: 5px; }
.pol-doc strong { color: var(--text); font-weight: 700; }
.pol-doc a { color: var(--rtp-blue); font-weight: 600; text-decoration: underline; }
.pol-doc__note {
  margin-top: 24px; padding: 12px 14px;
  font-size: 13px; color: var(--text-muted);
  background: var(--paper-bg); border-radius: var(--r-sm);
}

/* ============ 표 ============ */
.pol-table-wrap { overflow-x: auto; margin: 12px 0; }
.pol-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 360px;
}
.pol-table th, .pol-table td {
  border: 1px solid var(--border); padding: 10px 12px; text-align: left;
}
.pol-table th { background: var(--rtp-blue-soft); color: var(--text); font-weight: 700; }

/* ============ 서비스·요금 ============ */
.pol-price {
  background: linear-gradient(135deg, var(--rtp-orange-soft), #fff);
  border: 1px solid var(--rtp-orange-soft);
  border-radius: var(--r-md);
  padding: 22px; margin: 8px 0 24px;
}
.pol-price__tag { font-size: 12.5px; font-weight: 700; color: var(--rtp-orange-strong); }
.pol-price__amount {
  font-size: 30px; font-weight: 800; color: var(--text); margin: 4px 0 8px;
}
.pol-price__amount span { font-size: 18px; color: var(--text-muted); font-weight: 600; }
.pol-price__note { font-size: 14px; color: var(--text-sub); margin: 0; }
.pol-panel h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.pol-panel ul { margin: 8px 0 8px 20px; }
.pol-panel li { margin: 5px 0; color: var(--text-sub); }
.pol-panel a { color: var(--rtp-blue); font-weight: 600; }

/* ============ 사업자 정보 ============ */
.pol-biz { margin-top: 8px; }
.pol-biz__row {
  display: grid; grid-template-columns: 150px 1fr; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid var(--border);
}
.pol-biz__row:last-child { border-bottom: none; }
.pol-biz dt { font-weight: 700; color: var(--text); font-size: 14px; }
.pol-biz dd { color: var(--text-sub); font-size: 14px; }
.pol-biz__hint { color: var(--text-muted); font-size: 12.5px; }

/* ============ FOOTER ============ */
.pol-footer {
  background: var(--ink-bg); color: var(--ink-sub);
  padding: 28px 22px 36px; margin-top: 20px;
  text-align: center;
}
.pol-footer__biz { font-size: 12.5px; line-height: 1.9; color: var(--ink-sub); }
.pol-footer__links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin: 18px 0 14px;
}
.pol-footer__links a {
  font-size: 13px; font-weight: 600; color: var(--ink-text);
  transition: color .2s var(--ease);
}
.pol-footer__links a:hover { color: var(--rtp-orange); }
.pol-footer__copy { font-size: 12px; color: rgba(154,166,184,.6); }

/* ============ 반응형 ============ */
@media (max-width: 560px) {
  .pol-card { padding: 24px 18px; border-radius: var(--r-md); }
  .pol-biz__row { grid-template-columns: 1fr; gap: 3px; }
  .pol-biz dt { font-size: 13px; }
}
