/* =========================================================
   조이케이드(JoyKade) — 소개 웹 /joykade
   의존성 0 · 외부 요청 0 · 기기 글꼴 · 라이트/다크 · reduced-motion 존중
   색 토큰 원천: android/app/src/main/java/com/joykade/app/ui/Palette.kt (앱 아이콘 = 네온 핑크 볼 + 민트 받침 + 앰버)
   게임 화면(히어로 램프·데모 판)은 앱처럼 테마와 무관하게 항상 어둡다 — 네온이 살고 눈이 편하다(앱 학습 로그 2026-08-08).
   ========================================================= */

/* ---------- 토큰 ---------- */
:root {
  --bg: #F5F5F8;
  --bg-2: #ECECF3;
  --surface: #FFFFFF;
  --surface-2: #F0F0F6;
  --ink: #12121A;        /* bg 위 17.1 */
  --ink-2: #5A5A6E;      /* bg 위 6.18 · surface 위 6.73 */
  --line: #DEDEE8;
  --line-2: #CACAD8;
  --primary: #D6005A;    /* 글자: surface 위 5.24 · bg 위 4.82 */
  --on-primary: #FFFFFF; /* primary 위 5.24 */
  --mint: #00756A;       /* 글자용 — surface 위 5.6 */
  --amber: #8A5A00;      /* 글자용 — surface 위 5.93 */
  --neon-pink: #FF3D7F;  /* 장식 전용(라이트에서 글자 금지) */
  --neon-mint: #22E5C8;  /* 장식 전용 */
  --neon-amber: #FFC53D; /* 장식 전용 */
  --field: #0B0B12;      /* 게임 화면 — 항상 어둡다 */
  --field-2: #15151F;
  --shadow-1: 0 1px 2px rgba(18,18,26,.06), 0 6px 18px rgba(18,18,26,.06);
  --shadow-2: 0 2px 6px rgba(18,18,26,.08), 0 24px 56px rgba(18,18,26,.14);
  --glow-op: .42;
  --scan-op: .05;
  --r-card: 24px; --r-md: 16px; --r-pill: 999px;
  --wrap: 1200px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.65,0,.35,1);
  --dur: 800ms;
  --stagger: 80ms;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0B0B12; --bg-2: #10101A; --surface: #15151F; --surface-2: #1C1C29;
    --ink: #F2F2F7;      /* bg 위 17.6 */
    --ink-2: #A6A6BC;    /* surface 위 7.59 */
    --line: #26263A; --line-2: #37374F;
    --primary: #FF3D7F;  /* bg 위 5.81 · surface 위 5.37 */
    --on-primary: #3D0018; /* primary 위 5.14 */
    --mint: #22E5C8; --amber: #FFC53D;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 22px rgba(0,0,0,.35);
    --shadow-2: 0 2px 8px rgba(0,0,0,.5), 0 28px 64px rgba(0,0,0,.55);
    --glow-op: .5; --scan-op: .07;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0B12; --bg-2: #10101A; --surface: #15151F; --surface-2: #1C1C29;
  --ink: #F2F2F7; --ink-2: #A6A6BC; --line: #26263A; --line-2: #37374F;
  --primary: #FF3D7F; --on-primary: #3D0018; --mint: #22E5C8; --amber: #FFC53D;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 22px rgba(0,0,0,.35);
  --shadow-2: 0 2px 8px rgba(0,0,0,.5), 0 28px 64px rgba(0,0,0,.55);
  --glow-op: .5; --scan-op: .07;
  color-scheme: dark;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Segoe UI",
               "Malgun Gothic", "Noto Sans KR", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 17px; line-height: 1.65; letter-spacing: -0.005em;
  overflow-x: clip;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* 일본어·중국어는 띄어쓰기가 없어 keep-all 이면 줄을 못 나눈다(방침 페이지 390px 가로 넘침 실측) */
:lang(ja), :lang(zh), :lang(zh-Hans) { word-break: normal; line-break: strict; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.025em; font-weight: 750; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 5vw, 40px); }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 300; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 12px; font-weight: 650; }
.skip-link:focus { top: 12px; }

.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 150; pointer-events: none; }
.scroll-progress > span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-amber), var(--neon-mint)); }

/* ---------- 내비 ---------- */
.nav { position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(14px); backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { flex: none; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__text strong { font-size: 1.02rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand__text small { font-size: .7rem; color: var(--ink-2); white-space: nowrap; }
.nav__links { display: none; gap: 28px; margin-inline: auto; }
.nav__links a { font-size: .93rem; color: var(--ink-2); position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { font-size: .82rem; font-weight: 650; color: var(--ink-2); padding: 8px 10px; border-radius: 10px; min-height: 40px; display: inline-flex; align-items: center; }
.lang:hover { color: var(--ink); background: var(--surface-2); }
@media (min-width: 940px) { .nav__links { display: flex; } .nav__actions { margin-left: 0; } }
@media (max-width: 420px) { .nav__actions .btn--sm { display: none; } .brand__text small { display: none; } }

.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
  display: grid; place-items: center; transition: transform .4s var(--ease-out), border-color .3s; }
.theme-toggle:hover { transform: rotate(25deg); border-color: var(--primary); }
.theme-toggle > span { width: 16px; height: 16px; border-radius: 50%; background: var(--neon-amber);
  box-shadow: inset -5px -5px 0 0 var(--surface); transition: box-shadow .4s var(--ease-out); }
.theme-toggle[aria-pressed="true"] > span { box-shadow: inset 0 0 0 0 var(--surface); }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  padding: 14px 24px; border-radius: var(--r-pill); font-weight: 680; font-size: .98rem; letter-spacing: -0.01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s, border-color .3s, color .3s; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-1); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { transform: translateY(-1px); border-color: var(--primary); color: var(--primary); }
.btn--light { background: #F2F2F7; color: #12121A; }
.btn--light:hover { transform: translateY(-1px); background: #FFFFFF; }
.btn:active { transform: scale(1.01, .97); }

/* ---------- 공통 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 680;
  letter-spacing: .01em; color: var(--primary); margin-bottom: 14px; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--neon-mint);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--neon-mint) 22%, transparent); }
.sec { padding-block: clamp(88px, 11vw, 160px); position: relative; }
.sec--tint { background: var(--bg-2); }
.shead { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead__no { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .78rem; color: var(--ink-2);
  font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.shead__no span { color: var(--ink); font-weight: 650; }
.shead__no::after { content: ""; height: 1px; flex: 0 0 64px; background: var(--line-2); transform-origin: left; }
.shead--center .shead__no { justify-content: center; }
.shead--center .shead__no::before { content: ""; height: 1px; flex: 0 0 64px; background: var(--line-2); order: -1; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.9rem); }
.sub { color: var(--ink-2); margin-top: 16px; font-size: 1.04rem; max-width: 60ch; }
.shead--center .sub { margin-inline: auto; }
.textlink { display: inline-block; margin-top: 22px; color: var(--primary); font-weight: 650; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* 등장 — JS 가 있을 때만 숨긴다(내용이 JS 뒤에 갇히지 않게) */
.js [data-reveal] { opacity: 0; transform: translateY(12px); }
.js [data-reveal].in { opacity: 1; transform: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)); }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(40px, 7vw, 104px) clamp(64px, 9vw, 128px); }
.hero__bg, .dl__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: var(--glow-op); }
.glow--a { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8vw; top: -10vw; background: var(--neon-pink); }
.glow--b { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; left: -12vw; bottom: -16vw; background: var(--neon-mint); opacity: calc(var(--glow-op) * .7); }
.scan { position: absolute; inset: 0; opacity: var(--scan-op);
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 4px); color: var(--ink); }
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero__title { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; margin-block: 6px 26px; }
.ln { display: block; overflow: hidden; padding-block: .12em .22em; margin-block: -.12em -.22em; }
.ln > span { display: block; }
.js .ln > span { transform: translateY(110%); }
.js .is-ready .ln > span { transform: none; transition: transform 1.05s var(--ease-out); }
.js .is-ready .ln:nth-child(2) > span { transition-delay: .1s; }
.js .is-ready .ln:nth-child(3) > span { transition-delay: .2s; }
.hero__accent > span { color: var(--primary); }
.hero__lead { font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.hero__badges li { font-size: .84rem; color: var(--ink-2); padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); }

/* 시그니처 — 램프 화면 */
.screen { margin: 0; justify-self: center; width: min(100%, 560px); }
.screen__bezel { position: relative; border-radius: 28px; padding: clamp(14px, 2.4vw, 22px);
  background: linear-gradient(160deg, #1C1C29, #0B0B12 60%); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255,255,255,.06); }
.screen__bezel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 38%); }
.screen__lamps { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--field);
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.5px); background-size: 6.25% 8.333%; }
.screen__cap { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-inline: 6px;
  font-family: var(--mono); font-size: .86rem; color: var(--ink-2); min-height: 1.6em; }
.screen__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon-pink); box-shadow: 0 0 10px var(--neon-pink); flex: none; }
#lampName { transition: opacity .35s var(--ease-soft); }
#lampName.is-out { opacity: 0; }
.screen__pips { display: flex; gap: 6px; margin-left: auto; }
.screen__pips i { width: 14px; height: 4px; border-radius: 2px; background: var(--line-2); transition: background .4s, width .4s var(--ease-out); }
.screen__pips i.on { width: 22px; background: var(--primary); }

/* ---------- 숫자 띠 ---------- */
.stats { border-block: 1px solid var(--line); background: var(--surface); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: clamp(24px, 4vw, 40px) clamp(8px, 2vw, 24px); display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 859px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.stat__num { font-size: clamp(2.4rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat:nth-child(1) .stat__num { color: var(--primary); }
.stat__label { color: var(--ink-2); font-size: .94rem; }

/* ---------- 카드·단계 ---------- */
.cards3, .steps { display: grid; gap: 16px; }
@media (min-width: 820px) { .cards3, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pcard, .step, .feat, .pitem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s; }
.pcard:hover, .step:hover, .feat:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.pcard__no { font-family: var(--mono); font-size: .8rem; color: var(--primary); font-weight: 650; }
.pcard h3, .step h3, .feat h3, .pitem h3 { font-size: 1.28rem; letter-spacing: -0.02em; margin-block: 12px 8px; }
.pcard p, .step p, .feat p, .pitem p { color: var(--ink-2); font-size: .98rem; }
.steps { list-style: none; padding: 0; }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-family: var(--mono); font-weight: 700;
  background: var(--field); color: var(--neon-mint); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 18px color-mix(in srgb, var(--neon-mint) 25%, transparent); }

/* ---------- 데모(라이트 플립) ---------- */
.demo { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.demo__rules { margin-top: 22px; padding-left: 1.1em; color: var(--ink-2); font-size: .95rem; display: grid; gap: 8px; }
.demo__rules li::marker { color: var(--primary); }
.lf { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow-2); display: grid; gap: 16px; justify-items: center; width: min(100%, 520px); justify-self: center; }
.lf__hud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.lf__chip { font-family: var(--mono); font-size: .8rem; padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface-2);
  color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lf__chip--score { color: var(--amber); font-weight: 650; }
.lf__field { width: 100%; aspect-ratio: 1; background: var(--field); border-radius: 20px; padding: 6%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.lf__board { display: grid; gap: 4%; width: 100%; height: 100%; }
.lamp { position: relative; border: 0; border-radius: 50%; background: #1E1E2C; box-shadow: inset 0 -3px 0 rgba(0,0,0,.35);
  transition: background-color .22s var(--ease-soft), box-shadow .22s var(--ease-soft), transform .18s var(--ease-out);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.lamp::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: rgba(255,255,255,.05); }
.lamp[aria-pressed="true"] { background: #FFC53D; box-shadow: 0 0 0 3px rgba(255,197,61,.18), 0 0 26px rgba(255,197,61,.55), inset 0 -3px 0 rgba(0,0,0,.18); }
.lamp[aria-pressed="true"]::after { background: rgba(255,255,255,.55); inset: 22% 46% 46% 22%; }
.lamp:hover { transform: scale(1.04); }
.lamp:active { transform: scale(.94); }
.lamp:focus-visible { outline: 2px solid var(--neon-mint); outline-offset: 3px; }
.lamp.flip { animation: flip .28s var(--ease-out); }
@keyframes flip { 0% { transform: scale(.82); } 100% { transform: none; } }
.lf__board.cleared .lamp { background: #00544A; box-shadow: 0 0 18px rgba(34,229,200,.35); }
.lf__msg { min-height: 1.6em; text-align: center; color: var(--ink-2); font-size: .95rem; }

/* ---------- 게임 목록 ---------- */
.gfilter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.gchip { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); padding: 8px 14px; min-height: 40px;
  border-radius: var(--r-pill); font-size: .9rem; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.gchip span { font-family: var(--mono); font-size: .78rem; opacity: .75; margin-left: 2px; }
.gchip:hover { border-color: var(--primary); color: var(--ink); }
.gchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ggrid { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.gcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 20px;
  display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 6px 8px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s; }
.gcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); border-color: var(--line-2); }
.gcard[hidden] { display: none; }
.gcard h3 { grid-column: 1 / -1; font-size: 1.15rem; letter-spacing: -0.015em; margin-top: 6px; }
.gcard p { grid-column: 1 / -1; color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.gcard__tag { justify-self: start; font-size: .74rem; font-weight: 650; padding: 3px 9px; border-radius: 6px; }
.gcard__pl { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); align-self: center; }
.gcard__tag--puzzle, .gcard__tag--brain { color: var(--mint); background: color-mix(in srgb, var(--neon-mint) 14%, transparent); }
.gcard__tag--arcade, .gcard__tag--action { color: var(--primary); background: color-mix(in srgb, var(--neon-pink) 13%, transparent); }
.gcard__tag--versus, .gcard__tag--party { color: var(--amber); background: color-mix(in srgb, var(--neon-amber) 18%, transparent); }

/* ---------- 기능·화면 ---------- */
.feats { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.feat__ic { display: block; width: 36px; height: 36px; border-radius: 10px; background: var(--field); position: relative; }
.feat__ic::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; }
.feat__ic--pink::after { background: var(--neon-pink); box-shadow: 0 0 12px var(--neon-pink); }
.feat__ic--mint::after { background: var(--neon-mint); box-shadow: 0 0 12px var(--neon-mint); }
.feat__ic--amber::after { background: var(--neon-amber); box-shadow: 0 0 12px var(--neon-amber); }
.shots { margin-top: clamp(48px, 7vw, 88px); }
.shots__cap { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); margin-bottom: 14px; }
.shots__row { list-style: none; padding: 4px 2px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 21vw, 232px);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.shots__row li { scroll-snap-align: start; }
.shots__row img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-1); background: var(--field); }

/* ---------- 개인정보 ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .split > div:first-child { position: sticky; top: 108px; } }
.plist { list-style: none; padding: 0; display: grid; gap: 14px; }
.pitem h3 { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
@media (min-width: 980px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.faq__list { display: grid; gap: 10px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s; }
.acc[open] { border-color: var(--line-2); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 650; position: relative; min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.acc[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.acc__body { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- 다운로드 띠(항상 어둡다) ---------- */
.dl { position: relative; overflow: clip; background: #0B0B12; color: #F2F2F7; padding-block: clamp(96px, 12vw, 168px);
  --glow-op: .5; --scan-op: .06; --ink: #F2F2F7; --primary: #FF3D7F; --on-primary: #3D0018; }
.dl__inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
.dl h2 { font-size: clamp(2rem, 5.4vw, 3.6rem); }
.dl__sub { color: #A6A6BC; margin-top: 14px; font-size: 1.08rem; }
.dl__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.eyebrow--on { color: #FF3D7F; }

/* ---------- 꼬리말 ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 40px 48px; background: var(--bg); }
.foot__inner { display: grid; gap: 18px; }
@media (min-width: 860px) { .foot__inner { grid-template-columns: 1fr auto; align-items: center; } .foot__meta { grid-column: 1 / -1; } }
.foot__brand { display: flex; flex-direction: column; gap: 2px; }
.foot__brand span, .foot__meta { color: var(--ink-2); font-size: .88rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .92rem; }
.foot__links a, .foot__meta a { color: var(--ink-2); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.foot__links a:hover, .foot__meta a:hover { color: var(--ink); border-bottom-color: currentColor; }

/* ---------- 문서(방침·약관) ---------- */
.docmain { max-width: 820px; padding-block: clamp(40px, 7vw, 88px) clamp(64px, 9vw, 120px); }
.docmain h1 { font-size: clamp(1.8rem, 4.6vw, 2.6rem); margin-bottom: 14px; }
.doc__head { color: var(--ink-2); font-size: .95rem; }
.doc__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 28px 8px; }
.lchip { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); font-size: .86rem; color: var(--ink-2); min-height: 36px; display: inline-flex; align-items: center; }
.lchip:hover { color: var(--ink); border-color: var(--primary); }
.lsec { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.lsec h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 18px; }
.lsec h3 { font-size: 1.08rem; margin-block: 26px 8px; }
.lsec p, .lsec li { color: var(--ink); font-size: 1rem; }
.lsec p + p, .lsec p + ul, .lsec ul + p, .lsec p + ol, .lsec ol + p { margin-top: 12px; }
.lsec ul, .lsec ol { padding-inline-start: 1.3em; display: grid; gap: 10px; margin-top: 12px; }
.lsec a { color: var(--primary); border-bottom: 1px solid currentColor; }
.lsec code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.lsec[dir="rtl"] { text-align: right; }

/* ---------- 모션 끔 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .ln > span { opacity: 1 !important; transform: none !important; }
}
