/* 공통 스타일: 하단 사업자 정보(모든 화면) + 안내 페이지(요금 안내·이용약관·개인정보처리방침) */

/* ─── 하단 사업자 정보 ─── */
.site-footer {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 20px 22px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #9a9ea5;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.site-footer p {
  margin: 0;
}

/* "상호: …", "주소: …"처럼 한 항목은 되도록 한 줄에 둔다. 좁은 화면에서는 항목 사이(|)에서 줄이 바뀐다. */
.site-footer .item {
  display: inline-block;
}

.site-footer .site-footer-links {
  margin-bottom: 6px;
  font-size: 12px;
}

.site-footer a {
  color: #8a8e95;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── 안내 페이지 ─── */
.doc-page {
  margin: 0;
  background: #f7f7f8;
  color: #17181a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  -webkit-text-size-adjust: 100%;
}

.doc-page * {
  box-sizing: border-box;
}

.doc {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top)) 22px 40px;
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.doc-back {
  display: inline-block;
  padding: 6px 0;
  color: #2f6fed;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.doc h1 {
  margin: 18px 0 20px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.doc h2 {
  margin: 30px 0 8px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
}

.doc p {
  margin: 0 0 10px;
}

.doc ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.doc li {
  margin: 0 0 6px;
}

.doc a {
  color: #2f6fed;
}

.doc .clause {
  margin: 0 0 6px;
}

.doc .table-wrap {
  margin: 8px 0 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}

/* 칸이 많은 표(국외 이전)는 옆으로 밀어서 본다. */
.doc table.wide {
  min-width: 640px;
}

.doc th,
.doc td {
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-align: left;
  vertical-align: top;
}

.doc th {
  background: rgba(0, 0, 0, 0.04);
  font-weight: 700;
  white-space: nowrap;
}

.pay-box {
  margin: 12px 0 10px;
  text-align: center;
}

.doc .pay-button {
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
  max-width: 360px;
  padding: 16px 20px;
  border: 0;
  border-radius: 14px;
  background: #111214;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.doc .pay-button:visited {
  color: #fff;
}
