/* doc-v4 — 글만 있는 화면(이용약관 · 개인정보 처리방침 · 환불 정책 · 영장 카나리아 · 없는 주소)의 vpn4 껍데기 (2026-09-27)
 *
 * 랜딩(vpn4.css)의 글꼴 · 색 · 알약 메뉴 · 언어 칸 · 꼬리말 카드를 그대로 옮겨 왔습니다.
 * 본문(법률 문구)은 한 글자도 바꾸지 않고 모양만 입힙니다.
 * 알약은 스크립트 없이 항목 셋을 늘 펼쳐 둡니다(랜딩의 열고 닫기는 쓰지 않습니다).
 * 색은 :root 에만 둡니다. 아래에서 색을 새로 적지 않습니다.
 */

@font-face { font-family: 'Switzer'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Switzer-400.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Switzer-500.woff2') format('woff2'); }
@font-face { font-family: 'Switzer'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Switzer-600.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 400; font-style: normal; font-display: swap; src: local('Pretendard Regular'), url('../fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-style: normal; font-display: swap; src: local('Pretendard Medium'), url('../fonts/Pretendard-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-style: normal; font-display: swap; src: local('Pretendard SemiBold'), url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-style: normal; font-display: swap; src: local('Pretendard Bold'), url('../fonts/Pretendard-Bold.subset.woff2') format('woff2'); }

:root {
  color-scheme: light;
  /* 랜딩과 같은 값 */
  --c-black: #000000;
  --c-white: #FFFFFF;
  --c-panel: #EAEAEA;
  --c-ink-2: #262626;
  --c-dark-2: #1A1A1A;
  --a-ink-10: rgba(0, 0, 0, 0.1);
  --a-white-10: rgba(255, 255, 255, 0.1);
  --a-white-15: rgba(255, 255, 255, 0.15);
  --a-white-50: rgba(255, 255, 255, 0.5);
  --a-white-60: rgba(255, 255, 255, 0.6);
  --a-white-80: rgba(255, 255, 255, 0.8);
  /* 문서 전용 — 흰 카드 위 본문 · 작은 글(흰 바탕 대비 5.7:1) · 카드 안 옅은 판 */
  --c-text: #333333;
  --c-dim: #666666;
  --c-soft: #F4F4F4;
  /* 본문 인라인 style 이 부르는 옛 이름(법률 문구 마크업을 건드리지 않으려고 이름만 받아 둡니다) */
  --accent: var(--c-black);
  --dim-2: var(--c-dim);

  --font-sans: 'Switzer', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --t-3: 46px;
  --t-6: 28px;
  --t-7: 24px;
  --t-8: 20px;
  --t-9: 18px;
  --t-body: 16px;
  --t-sm: 14px;
  --t-xs: 12px;
  --r-btn: 10px;
  --r-pill: 14px;
  --r-card: 24px;
  --gutter: 60px;
  --pill-top: 30px;
  --pill-h: 51px;
  --ease-std: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;
}
/* 국문 페이지 — 한글 · 라틴 · 숫자 모두 Pretendard 먼저(랜딩과 같음) */
html[lang="ko"] { --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--c-panel); }
body {
  margin: 0;
  background: var(--c-panel);
  color: var(--c-black);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--c-black); outline-offset: 3px; }
.foot :focus-visible { outline-color: var(--c-white); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 40; background: var(--c-white); color: var(--c-black); padding: 10px 14px; border-radius: var(--r-btn); font-weight: 500; }
.skip-link:focus { top: 16px; }

/* 머리글(알약 · EN | KO)은 site-v4.css 가 맡습니다 — 랜딩과 같은 값 (8차) */

/* ------------------------------------------------------------ 본문 카드 — 가운데 읽기 좋은 폭 760 · 흰 바탕 · 모서리 24 */
main { display: block; padding: 40px 12px 0; }
.doc {
  max-width: 760px; margin: 0 auto;
  padding: 64px 64px 72px;
  background: var(--c-white); border-radius: var(--r-card);
  color: var(--c-text);
}
.doc h1, .doc h2, .doc h3 { color: var(--c-black); font-weight: 600; }
html[lang="ko"] .doc h1, html[lang="ko"] .doc h2, html[lang="ko"] .doc h3 { font-weight: 700; }
.doc h1 { font-size: var(--t-3); line-height: 1.15; letter-spacing: -0.04em; }
/* 영문은 낱말 사이가 붙어 보이지 않게 자간을 덜 줄입니다 */
html[lang="en"] .doc h1 { letter-spacing: -0.03em; }
html[lang="en"] .doc h2, html[lang="en"] .doc h3 { letter-spacing: -0.02em; }
html[lang="en"] .doc p, html[lang="en"] .doc li, html[lang="en"] .foot .site-footer__biz { letter-spacing: 0; }
.doc .doc__meta { margin-top: 16px; color: var(--c-dim); font-size: var(--t-sm); line-height: 1.5; font-variant-numeric: tabular-nums; }
.doc h2 { margin-top: 56px; font-size: var(--t-7); line-height: 1.3; letter-spacing: -0.03em; }
.doc h3 { margin-top: 32px; font-size: var(--t-8); line-height: 1.35; letter-spacing: -0.02em; }
.doc p, .doc li { font-size: var(--t-body); line-height: 1.75; }
.doc p { margin-top: 14px; }
.doc ul, .doc ol { margin: 14px 0 0; padding: 0; list-style: none; }
.doc ul li { position: relative; padding-left: 20px; margin-top: 8px; }
.doc ul li::before { content: ''; position: absolute; left: 4px; top: calc(0.875em - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: var(--c-black); }
.doc ol { counter-reset: doc-step; }
.doc ol li { position: relative; padding-left: 36px; margin-top: 10px; counter-increment: doc-step; }
.doc ol li::before {
  content: counter(doc-step); position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-black); color: var(--c-white);
  font-size: var(--t-xs); font-weight: 700; line-height: 22px; text-align: center; letter-spacing: 0;
}
.doc a:not(.btn) { color: var(--c-black); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; transition: opacity var(--dur) var(--ease-std); }
.doc a:not(.btn):hover { opacity: 0.6; }
.doc strong { color: var(--c-black); font-weight: 600; }
html[lang="ko"] .doc strong { font-weight: 700; }
.doc hr { border: 0; border-top: 1px solid var(--a-ink-10); margin: 44px 0; }

/* 영문 법률 문서의 「한국어판이 우선합니다」 한 줄 */
.lang-prevails { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--c-soft); color: var(--c-text); }
.doc p.lang-prevails { font-size: var(--t-sm); line-height: 1.55; }

/* 영장 카나리아 — 꼬리말과 같은 검은 카드 */
.canary-seal { margin-top: 32px; padding: 28px 30px; border-radius: 20px; background: var(--c-dark-2); color: var(--c-white); }
.doc .canary-seal p { margin-top: 0; color: var(--c-white); font-size: var(--t-9); line-height: 1.6; font-weight: 500; }
.doc .canary-seal p + p { margin-top: 12px; }
.doc .canary-seal .canary-seal__date { margin-top: 20px; color: var(--a-white-60); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }

/* 표 — 개인정보 처리방침의 «무엇을 · 얼마나 보관하나» */
.table-scroll { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--a-ink-10); border-radius: 16px; padding: 4px 14px; background: var(--c-white); }
table.data { width: 100%; min-width: 460px; border-collapse: collapse; font-size: var(--t-sm); }
table.data caption { text-align: left; color: var(--c-dim); font-size: 13px; line-height: 1.5; padding: 14px 6px 8px; }
table.data th, table.data td { text-align: left; padding: 12px 6px; border-bottom: 1px solid var(--a-ink-10); vertical-align: top; line-height: 1.55; }
table.data thead th { font-size: var(--t-xs); font-weight: 500; color: var(--c-dim); letter-spacing: 0; }
table.data tbody th { font-weight: 600; color: var(--c-black); }
html[lang="ko"] table.data tbody th { font-weight: 700; }
table.data td { color: var(--c-text); }
table.data .keep { color: var(--c-ink-2); font-variant-numeric: tabular-nums; font-weight: 500; }
table.data .nokeep { color: var(--c-black); font-variant-numeric: tabular-nums; font-weight: 600; }
html[lang="ko"] table.data .nokeep { font-weight: 700; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }

/* 단추 — 꼬리말은 랜딩처럼 흰 단추, 흰 카드 안(없는 주소)은 검은 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: var(--r-btn); font-size: var(--t-body); font-weight: 500; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-std); }
.btn:active { transform: scale(0.97); }
.btn:hover { opacity: 0.85; }
.btn--primary { background: var(--c-white); color: var(--c-black); }
.doc .btn--primary { background: var(--c-black); color: var(--c-white); }

/* ------------------------------------------------------------ 꼬리말 — 랜딩과 같은 검은 카드(칸 · 글자 크기 · 선) */
.foot {
  position: relative; margin: 96px 12px 12px; padding: 40px; border-radius: var(--r-card);
  background: var(--c-dark-2); color: var(--c-white); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em;
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 150px) minmax(0, 1fr) minmax(0, 170px) minmax(0, 170px); column-gap: 28px; align-items: start;
}
html[lang="en"] .foot { grid-template-columns: minmax(0, 300px) minmax(0, 220px) minmax(0, 1fr) minmax(0, 170px) minmax(0, 170px); }
.foot__top { display: contents; }
.foot__top > div:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.foot__top > div:nth-child(2) { grid-column: 4; grid-row: 1; }
.foot__top > div:nth-child(3) { grid-column: 5; grid-row: 1; }
.foot__brand { font-size: var(--t-6); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
html[lang="ko"] .foot__brand { font-weight: 700; }
.foot__hook { margin-top: 22px; font-size: var(--t-8); line-height: 1.3; }
html[lang="ko"] .foot__hook { font-weight: 700; }
.foot__hook span { display: block; margin-top: 4px; font-size: var(--t-body); font-weight: 500; color: var(--a-white-60); }
.foot__top .btn { margin-top: 20px; }
.foot h4 { margin: 0 0 14px; font-size: var(--t-sm); font-weight: 400; line-height: 1.45; color: var(--a-white-50); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--t-body); }
.foot ul a { transition: opacity var(--dur) var(--ease-std); }
.foot ul a:hover { opacity: 0.6; }
.foot ul a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
/* 사업자 표기 — 이름은 둘째 칸, 값은 셋째 칸에 줄마다 하나씩(마크업은 그대로, 칸 맞춤만) */
.foot .site-footer__biz { grid-column: 2 / 4; grid-row: 1; font-size: var(--t-sm); line-height: 1.45; color: var(--a-white-60); letter-spacing: -0.01em; }
.foot .site-footer__biz dl { display: grid; gap: 6px; }
.foot .site-footer__biz dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 28px; }
html[lang="en"] .foot .site-footer__biz dl > div { grid-template-columns: 220px minmax(0, 1fr); }
.foot .site-footer__biz dt { color: var(--a-white-50); }
.foot .site-footer__biz dd { color: var(--a-white-80); word-break: keep-all; overflow-wrap: anywhere; } /* 영문 판에도 한글 값이 있어 낱말 가운데서 끊기지 않게 */
.foot .site-footer__biz a { text-decoration: underline; text-underline-offset: 2px; }
/* 옛 꼬리말의 정책 한 줄은 오른쪽 「정책」 칸과 같은 링크라 겹쳐 보이지 않게 둡니다(마크업은 그대로) */
.foot .site-footer__policy { display: none; }
.foot .lang-note { margin-top: 14px; font-size: var(--t-xs); line-height: 1.5; color: var(--a-white-50); }
.foot__bottom { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--a-white-10); font-size: var(--t-sm); color: var(--a-white-60); }
.foot__bottom a { color: var(--c-white); }

/* ------------------------------------------------------------ 태블릿 폭 — 꼬리말 칸이 좁아 사업자 표기를 아래 줄로 */
@media (max-width: 1100px) {
  .foot, html[lang="en"] .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 170px) minmax(0, 170px); row-gap: 40px; }
  .foot__top > div:nth-child(1) { grid-column: 1; grid-row: 1; }
  .foot__top > div:nth-child(2) { grid-column: 2; grid-row: 1; }
  .foot__top > div:nth-child(3) { grid-column: 3; grid-row: 1; }
  .foot .site-footer__biz { grid-column: 1 / -1; grid-row: 2; }
  .foot__bottom { margin-top: 0; }
}

/* ------------------------------------------------------------ 좁은 화면 — 윗줄은 [로그인 · EN | KO] 한 줄, 그 아래 알약(겹치지 않게 흐름 배치) */
@media (max-width: 767px) {
  :root { --gutter: 16px; --pill-top: 16px; }
  main { padding-top: 20px; }
  /* vpn-m: h2 21 · h3 20 이 1px 차이뿐이라 위계가 안 보였습니다 → h1 32 · h2 24 · h3 18, 카드 안 여백 40 · 20 · 48 */
  .doc { padding: 40px 20px 48px; }
  .doc h1 { font-size: 32px; line-height: 1.2; }
  .doc h2 { margin-top: 48px; font-size: 24px; }
  .doc h3 { margin-top: 28px; font-size: 18px; }
  .canary-seal { padding: 22px 20px; }
  .doc .canary-seal p { font-size: var(--t-body); }

  /* 표는 줄마다 카드처럼 — 이름: 값 */
  .table-scroll { overflow-x: visible; padding: 4px 16px; }
  table.data { min-width: 0; }
  table.data caption { padding: 12px 0 4px; }
  table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.data tbody tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--a-ink-10); }
  table.data tbody tr:last-child { border-bottom: 0; }
  table.data th, table.data td { display: block; padding: 0; border: 0; }
  table.data tbody th { margin-bottom: 8px; }
  /* 이름은 왼쪽에 띄우고 값은 오른쪽 정렬 — flex 로 두면 값 안의 <strong> 이 따로 한 칸이 돼 320 폭에서 옆으로 넘칩니다 */
  table.data td { display: flow-root; padding: 3px 0; text-align: right; }
  table.data td::before { content: attr(data-label); float: left; margin-right: 16px; color: var(--c-dim); font-size: var(--t-xs); font-weight: 500; line-height: 2; }

  .foot { display: block; margin: 64px 12px 12px; padding: 24px; }
  .foot__top { display: grid; grid-template-columns: 1fr 1fr; row-gap: 32px; column-gap: 16px; }
  .foot__top > div:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .foot__top > div:nth-child(2), .foot__top > div:nth-child(3) { grid-column: auto; grid-row: auto; }
  .foot .site-footer__biz { margin-top: 40px; }
  .foot .site-footer__biz dl { gap: 10px; }
  .foot .site-footer__biz dl > div, html[lang="en"] .foot .site-footer__biz dl > div { grid-template-columns: 1fr; gap: 2px; }
  .foot__bottom { flex-direction: column; gap: 10px; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; }
}

/* 2026-09-29 처리방침 5-3 — 분석 · 광고 도구 끄기 단추와 상태 한 줄 */
.track-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 18px 0 8px; }
.track-ctl [data-track-state] { color: var(--c-dim); font-size: var(--t-sm); line-height: 1.5; }
