@charset "UTF-8";
/* ==========================================================================
   Blockstack — site.css
   다크 + 네온 테마. 전 페이지 공용 스타일시트.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 디자인 토큰
   -------------------------------------------------------------------------- */
:root {
  /* 배경 계열 */
  --bg:         #06070c;
  --bg-2:       #0a0c14;
  --surface:    #11141f;
  --surface-2:  #171b28;
  --surface-3:  #1e2333;

  /* 선 */
  --line:       rgba(255, 255, 255, .08);
  --line-2:     rgba(255, 255, 255, .16);

  /* 글자 */
  --fg:         #eef1f8;
  --fg-2:       #a7afc4;
  --fg-3:       #6f7891;

  /* 네온 포인트 */
  --cy:         #3fe0ff;
  --cy-2:       #0ea5c9;
  --vi:         #8b7cff;
  --am:         #ffb648;
  --pink:       #ff4d8d;
  --ok:         #4ade80;

  /* 조합 */
  --grad:       linear-gradient(135deg, var(--cy) 0%, var(--vi) 100%);
  --grad-warm:  linear-gradient(135deg, var(--am) 0%, var(--pink) 100%);
  --glow-cy:    0 0 0 1px rgba(63, 224, 255, .35), 0 8px 32px -8px rgba(63, 224, 255, .45);

  /* 형태 */
  --r-sm:       8px;
  --r:          14px;
  --r-lg:       20px;
  --r-xl:       28px;

  /* 레이아웃 */
  --gutter:     clamp(20px, 5vw, 40px);
  --maxw:       1180px;

  /* 타이포 */
  --font-display: "Chakra Petch", "Noto Sans KR", system-ui, sans-serif;
  --font-body:    "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Chakra Petch", ui-monospace, "SFMono-Regular", monospace;
}

/* --------------------------------------------------------------------------
   2. 리셋 & 기본
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--cy); text-decoration: none; transition: color .18s ease; }
a:hover { color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--cy);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(63, 224, 255, .3); color: #fff; }

/* 스크롤바 */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border: 3px solid var(--bg-2);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: #2c3346; }

/* 본문 바로가기 (접근성) */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--cy);
  color: #04121a;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. 레이아웃 유틸
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 10vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.section--alt { background: var(--bg-2); }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cy);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 10px var(--cy);
}

.h-xl { font-size: clamp(32px, 5.2vw, 56px); }
.h-lg { font-size: clamp(26px, 3.6vw, 40px); }
.h-md { font-size: clamp(20px, 2.4vw, 26px); }

.lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--fg-2);
  margin-top: 18px;
}

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 네온 구분선 */
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. 버튼
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad);
  color: #04121a;
  box-shadow: 0 6px 24px -8px rgba(63, 224, 255, .7);
}
.btn--primary:hover {
  color: #04121a;
  box-shadow: 0 12px 34px -8px rgba(63, 224, 255, .85);
}

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-2);
  color: var(--fg);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(63, 224, 255, .5);
  color: #fff;
}

.btn--store {
  background: var(--surface-2);
  border-color: var(--line-2);
  color: var(--fg);
  padding: 12px 22px;
}
.btn--store:hover {
  border-color: rgba(63, 224, 255, .55);
  background: var(--surface-3);
  color: #fff;
}

.btn--sm { padding: 9px 18px; font-size: 13.5px; }

.btn.is-copied {
  background: rgba(74, 222, 128, .14);
  border-color: rgba(74, 222, 128, .5);
  color: #b6f5cd;
}
.btn[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
  filter: grayscale(.5);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   5. 헤더 / 내비게이션
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 7, 12, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.hdr.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(6, 7, 12, .9);
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
}
.brand:hover { color: #fff; }
.brand img { width: 30px; height: 34px; object-fit: contain; }
.brand span { line-height: 1; }

.hdr__right { display: flex; align-items: center; gap: 10px; }

/* 언어 전환 */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--fg-2);
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.lang:hover {
  color: #fff;
  border-color: rgba(63, 224, 255, .5);
  background: rgba(255, 255, 255, .09);
}
.lang svg { width: 14px; height: 14px; opacity: .7; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--fg-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .18s ease, background .18s ease;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--fg);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .ico-x { display: none; }
.nav-toggle[aria-expanded="true"] .ico-x { display: block; }
.nav-toggle[aria-expanded="true"] .ico-menu { display: none; }

/* --------------------------------------------------------------------------
   6. 히어로
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 13vw, 150px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .34;
  filter: saturate(115%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 85% at 50% 0%, transparent 0%, rgba(6, 7, 12, .55) 55%, var(--bg) 100%),
    linear-gradient(180deg, rgba(6, 7, 12, .5) 0%, transparent 30%, rgba(6, 7, 12, .9) 88%, var(--bg) 100%);
}

/* 네온 글로우 오브 */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero::before {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  left: -12vw; top: -14vw;
  background: radial-gradient(circle, rgba(63, 224, 255, .3), transparent 68%);
}
.hero::after {
  width: 40vw; height: 40vw;
  max-width: 540px; max-height: 540px;
  right: -10vw; bottom: -16vw;
  background: radial-gradient(circle, rgba(139, 124, 255, .26), transparent 68%);
}

.hero__inner { position: relative; max-width: 780px; }
.hero--center .hero__inner { margin-inline: auto; text-align: center; }
.hero--center .btn-row { justify-content: center; }

.hero__title {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.hero__logo {
  max-width: min(460px, 78vw);
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 40px rgba(63, 224, 255, .35));
}
.hero--center .hero__logo { margin-inline: auto; }

/* 배경이 있는 JPG 로고를 어두운 배경에 자연스럽게 얹기.
   투명 PNG 로고로 교체하면 이 클래스는 제거해도 된다. */
.hero__logo--blend { mix-blend-mode: screen; }

.hero__sub {
  font-size: clamp(15px, 1.9vw, 19px);
  color: var(--fg-2);
  margin-top: 22px;
  max-width: 560px;
}
.hero--center .hero__sub { margin-inline: auto; }

/* 상태 배지 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fg-3);
}
.badge--live { color: #b6f5cd; border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .1); }
.badge--live .dot { background: var(--ok); box-shadow: 0 0 9px var(--ok); animation: pulse 2.4s ease-in-out infinite; }
.badge--dev  { color: #bfe9ff; border-color: rgba(63, 224, 255, .35); background: rgba(63, 224, 255, .1); }
.badge--dev .dot { background: var(--cy); box-shadow: 0 0 9px var(--cy); }
.badge--end  { color: var(--fg-3); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* --------------------------------------------------------------------------
   7. 실적 지표
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg-2);
  padding: 30px 26px;
  transition: background .25s ease;
}
.stat:hover { background: var(--surface); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__num small { font-size: .5em; font-weight: 600; margin-left: 3px; }
.stat__label {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--fg-3);
  letter-spacing: .01em;
}

/* --------------------------------------------------------------------------
   8. 게임 카드
   -------------------------------------------------------------------------- */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), border-color .3s ease, box-shadow .3s ease;
}
.gcard:hover {
  transform: translateY(-6px);
  border-color: rgba(63, 224, 255, .4);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(63, 224, 255, .18);
}

.gcard__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  overflow: hidden;
}
.gcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .3, 1);
}
.gcard:hover .gcard__media img { transform: scale(1.06); }
.gcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 20, 31, .95) 100%);
}

/* 이미지 없는 카드용 플레이스홀더 */
.gcard__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(139, 124, 255, .18), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .022) 0 12px, transparent 12px 24px);
}
.gcard__ph strong {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .04em;
  color: var(--fg-2);
}
.gcard__ph span { font-size: 12.5px; color: var(--fg-3); }

.gcard__body {
  position: relative;
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.gcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.gcard__title { font-size: 21px; }
.gcard__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.gcard__desc { font-size: 14.5px; color: var(--fg-2); flex: 1; }
.gcard__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* --------------------------------------------------------------------------
   9. 특징 그리드
   -------------------------------------------------------------------------- */
.feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feat {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: rgba(63, 224, 255, .3);
  background: var(--surface-2);
}
.feat__ico {
  width: 46px; height: 46px;
  display: grid;
  place-content: center;
  border-radius: 12px;
  background: rgba(63, 224, 255, .1);
  border: 1px solid rgba(63, 224, 255, .25);
  color: var(--cy);
  margin-bottom: 18px;
}
.feat__ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 17.5px; margin-bottom: 9px; }
.feat p { font-size: 14.5px; color: var(--fg-2); }

/* --------------------------------------------------------------------------
   10. 스크린샷 갤러리
   -------------------------------------------------------------------------- */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.shot {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), border-color .3s ease, box-shadow .3s ease;
}
.shot:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 224, 255, .45);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .9);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 13px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85));
}
.shot--wide { grid-column: span 2; }

/* 라이트박스 */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-content: center;
  padding: 4vmin;
  background: rgba(4, 5, 9, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lb[open] { display: grid; }
.lb img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px #000;
}
.lb__cap {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-2);
}
.lb__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  cursor: pointer;
}
.lb__close:hover { background: rgba(255, 255, 255, .16); }

/* --------------------------------------------------------------------------
   11. 스펙 목록 / 로드맵
   -------------------------------------------------------------------------- */
.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.spec > div { background: var(--bg-2); padding: 22px 24px; }
.spec dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.spec dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--fg); }

.tl { list-style: none; position: relative; padding-left: 28px; }
.tl::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cy), var(--vi), transparent);
  opacity: .45;
}
.tl li { position: relative; padding-bottom: 28px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: "";
  position: absolute;
  left: -28px; top: 9px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cy);
}
.tl li.is-done::before { background: var(--cy); box-shadow: 0 0 12px rgba(63, 224, 255, .8); }
.tl__when {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--cy);
  text-transform: uppercase;
}
.tl__what { margin-top: 4px; font-size: 15px; color: var(--fg-2); }

/* --------------------------------------------------------------------------
   12. 팀 / 연락
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.panel {
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.panel--glow {
  position: relative;
  background:
    radial-gradient(110% 100% at 0% 0%, rgba(63, 224, 255, .1), transparent 60%),
    var(--surface);
  border-color: rgba(63, 224, 255, .22);
}

.people { display: grid; gap: 16px; margin-top: 22px; }
.person {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.person:last-child { border-bottom: 0; padding-bottom: 0; }
.person__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  min-width: 82px;
}
.person__role { font-size: 14.5px; color: var(--fg-2); }

.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.contact-list svg { width: 18px; height: 18px; color: var(--cy); flex: none; }

/* --------------------------------------------------------------------------
   13. 푸터
   -------------------------------------------------------------------------- */
.ftr {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 52px 36px;
}
.ftr__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.ftr__about { font-size: 14px; color: var(--fg-3); margin-top: 16px; max-width: 340px; }
.ftr h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 16px;
}
.ftr ul { list-style: none; display: grid; gap: 11px; }
.ftr ul a { color: var(--fg-2); font-size: 14.5px; }
.ftr ul a:hover { color: var(--cy); }
.ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-3);
}

/* --------------------------------------------------------------------------
   14. 문서 페이지 (개인정보처리방침 · 이용약관)
   -------------------------------------------------------------------------- */
.doc-hero {
  padding-block: clamp(52px, 8vw, 84px) clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(63, 224, 255, .09), transparent 62%),
    var(--bg-2);
}
.doc-hero__meta {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.doc { display: grid; grid-template-columns: 232px 1fr; gap: clamp(28px, 5vw, 60px); }

.toc { position: sticky; top: 92px; align-self: start; }
.toc h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.toc ol { list-style: none; display: grid; gap: 3px; counter-reset: toc; }
.toc a {
  display: block;
  padding: 7px 12px;
  border-left: 2px solid var(--line);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--fg-3);
  font-size: 13.5px;
  line-height: 1.5;
  transition: all .18s ease;
}
.toc a:hover, .toc a.is-active {
  color: var(--fg);
  border-left-color: var(--cy);
  background: rgba(63, 224, 255, .07);
}

.prose { max-width: 760px; font-size: 15.5px; line-height: 1.85; color: var(--fg-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--fg);
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 16.5px; color: var(--fg); margin-top: 30px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 9px; }
.prose li::marker { color: var(--cy); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose code {
  font-family: var(--font-mono);
  font-size: .92em;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--cy);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin-top: 20px;
}
.prose th, .prose td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface-2);
  color: var(--fg);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: .02em;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.callout {
  padding: 20px 24px;
  border-radius: var(--r);
  border: 1px solid rgba(63, 224, 255, .28);
  background: rgba(63, 224, 255, .07);
  font-size: 14.5px;
  color: var(--fg-2);
}
.callout strong { color: var(--cy); }
.callout--warn {
  border-color: rgba(255, 182, 72, .32);
  background: rgba(255, 182, 72, .08);
}
.callout--warn strong { color: var(--am); }

/* --------------------------------------------------------------------------
   15. 등장 애니메이션
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .8, .3, 1), transform .7s cubic-bezier(.2, .8, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* --------------------------------------------------------------------------
   16. 반응형
   -------------------------------------------------------------------------- */
@media (max-width: 880px) {
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .toc a { border-left: 0; border-bottom: 2px solid var(--line); border-radius: var(--r-sm) var(--r-sm) 0 0; white-space: nowrap; }
  .toc a:hover, .toc a.is-active { border-left-color: transparent; border-bottom-color: var(--cy); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: rgba(11, 13, 21, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    box-shadow: 0 26px 60px -20px rgba(0, 0, 0, .95);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 16px; font-size: 15.5px; }
  .shot--wide { grid-column: span 1; }
}

@media (max-width: 520px) {
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .gcard__foot .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   17. 모션 최소화 · 인쇄
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .hdr, .ftr, .toc, .lb, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
  .prose, .prose h2, .prose h3, .prose strong { color: #000; }
  .doc { grid-template-columns: 1fr; }
}
