/* 슉쇽(ShookShok) 랜딩 — 바깥 글꼴·스크립트를 불러오지 않는다(이 페이지도 아무것도 모으지 않게).
 * 글꼴: 앱과 같은 Paperlogy(제목)·Freesentation(본문)·IBM Plex Mono(숫자·키) 서브셋, SIL OFL 1.1(assets/fonts/*.txt). */

@font-face {
  font-family: 'Paperlogy';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Paperlogy-7Bold.woff2') format('woff2');
  size-adjust: 97.2%;
  ascent-override: 100.89%;
  descent-override: 22.57%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Freesentation-4Regular.woff2') format('woff2');
  size-adjust: 105.15%;
  ascent-override: 92.43%;
  descent-override: 21.69%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Freesentation-6SemiBold.woff2') format('woff2');
  size-adjust: 105.15%;
  ascent-override: 92.43%;
  descent-override: 21.69%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/IBMPlexMono-500.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg: #050506;
  --bg-1: #0a0a0c;
  --bg-2: #101013;
  --bg-3: #17171b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.24);
  --text: #f5f5f7;
  --text-2: rgba(245, 245, 247, 0.72);
  --text-3: rgba(245, 245, 247, 0.54);
  --accent: #ff6a1a;
  --amber: #ff9f0a;
  --island: #000;
  --island-muted: #1c1d21;
  --island-key: #2c2e35;
  --island-text-2: #c9ccd3;
  --island-sub: #969ba6;
  --pen-r: #e5484d;
  --pen-y: #f2b705;
  --pen-g: #2ba36b;
  --pen-o: #f97316;
  --pen-b: #2f6fed;
  --pen-l: #84cc16;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --f-display: 'Paperlogy', 'Freesentation', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --f-body: 'Freesentation', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* 아주 옅은 필름 그레인 — 검정 면이 디지털하게 납작해 보이지 않게 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(255, 106, 26, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: -0.01em; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: #fff; color: #000; font-weight: 600; }
.skip:focus { top: 16px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.18), 0 0 18px rgba(255, 106, 26, 0.7); flex: none; }

/* ── 버튼 ───────────────────────────── */
.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 0.4s var(--ease), background-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.btn .i { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.is-primary { background: #f5f5f7; color: #050506; box-shadow: 0 10px 40px -12px rgba(255, 255, 255, 0.45); }
.btn.is-primary:hover { background: #fff; box-shadow: 0 14px 48px -10px rgba(255, 255, 255, 0.55); }
.btn--sm { --h: 38px; padding: 0 14px; font-size: 14px; gap: 8px; }
.btn--sm .i { width: 14px; height: 14px; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 16px; }
.btn--lg .i { width: 18px; height: 18px; }
.btn--lg span { display: grid; gap: 4px; text-align: left; }
.btn--lg small { font-size: 12px; font-weight: 400; opacity: 0.66; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.28); text-underline-offset: 4px; transition: text-decoration-color 0.3s, color 0.3s; }
.link:hover { text-decoration-color: var(--accent); }

/* ── 키캡·섬(앱의 검정 알약) ───────────── */
.kc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 26px;
  height: 24px;
  padding: 0 7px;
  border-radius: 7px;
  font: 500 12px/1 var(--f-mono);
  color: var(--text);
  background: linear-gradient(180deg, #2a2b31, #1d1e22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 0 #000;
  vertical-align: 0.12em;
}
.kc--text { font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: 0; }
.kc--inline { height: 22px; vertical-align: 0.05em; }

.island {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: var(--island);
  color: #f7f8fa;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 36px rgba(0, 0, 0, 0.45);
}
.island .i { width: 16px; height: 16px; flex: none; color: #f7f8fa; }
.island .i.ok { color: #4ade80; }
.island .i.ac { color: var(--amber); }
.island b { font-weight: 600; }
.island .crumb, .island .sub { color: var(--island-sub); font-size: 13px; }
.island .num { color: var(--amber); font-size: 13px; }
.island .kc { height: 22px; min-width: 22px; padding: 0 6px; background: var(--island-key); box-shadow: none; color: var(--island-text-2); }
.island .chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 6px 0 12px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; }
.island .chip .kc { background: #e9e9ec; color: #333; }
.island__state { display: inline-flex; align-items: center; gap: 10px; }
.island--sm { min-height: 36px; font-size: 13px; gap: 9px; padding: 0 8px 0 14px; }
.island--static { gap: 9px; padding-right: 14px; }
.island--warn .i { color: var(--amber); }
.island .pill-w { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 600; }
/* 상태가 둘인 섬: data-state로 하나만 보인다 */
.island[data-mode] .island__state { display: none; }
.island[data-mode='select'] .island__state[data-state='select'],
.island[data-mode='done'] .island__state[data-state='done'] { display: inline-flex; animation: islandIn 0.42s var(--spring); }
@keyframes islandIn { from { opacity: 0; transform: scale(0.92); filter: blur(4px); } }

/* ── 상단 진행 막대 · 내비 ─────────────── */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), var(--amber)); box-shadow: 0 0 12px rgba(255, 106, 26, 0.8); }

.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding-inline: var(--gutter); pointer-events: none; }
.nav__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1160px;
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 11px 0 18px;
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.58);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled .nav__inner { background: rgba(14, 14, 16, 0.78); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0, 0, 0, 0.9); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--f-display); letter-spacing: -0.02em; flex: none; }
.brand img { width: 28px; height: 28px; transition: transform 0.8s var(--ease); }
.brand:hover img { transform: rotate(-60deg); }
.nav__links { display: flex; gap: 2px; margin-inline: auto; }
.nav__links a { position: relative; padding: 9px 14px; border-radius: 999px; font-size: 15px; color: var(--text-2); transition: color 0.3s, background-color 0.3s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.nav__cta { display: flex; gap: 8px; flex: none; }

/* ── 공통 글자 ───────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 600 15px/1 var(--f-body); letter-spacing: 0.02em; color: var(--text-3); }
.eyebrow .idx { font: 500 13px/1 var(--f-mono); color: var(--accent); letter-spacing: 0.06em; }
.eyebrow .kc { text-transform: none; letter-spacing: 0; }
.eyebrow--pill { padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); letter-spacing: 0.02em; text-transform: none; font-family: var(--f-body); font-size: 14px; color: var(--text-2); }
.h2 {
  margin: 0;
  font: 700 clamp(38px, 5.6vw, 76px)/1.1 var(--f-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 25%, rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.h2--sm { font-size: clamp(34px, 4.2vw, 56px); }
.lead { margin: 26px 0 0; max-width: 34em; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.lead--center { margin-inline: auto; text-align: center; }

/* ── 등장 모션 ───────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ═════════ HERO ═════════ */
.hero { position: relative; height: 380vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg .glow { position: absolute; left: 50%; top: 38%; width: 120vmax; height: 120vmax; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 106, 26, 0.13), rgba(255, 106, 26, 0.04) 38%, transparent 70%); opacity: var(--glow, 1); }
.hero__bg .grid { position: absolute; inset: -2px; opacity: calc(var(--glow, 1) * 0.55); background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 20%, transparent 75%); }

.hero__screen { position: absolute; inset: 0; z-index: 1; clip-path: circle(var(--hole, 0px) at calc(50% + var(--hole-x, 0px)) calc(50% + var(--hole-y, 0px))); background: #000; }
.hero__shot { position: absolute; left: 50%; top: 50%; width: var(--shot-w, 100vw); aspect-ratio: 1672 / 941; transform: translate(-50%, -50%) translateY(var(--shot-y, 0px)) scale(var(--shot-s, 1)); border-radius: var(--shot-r, 0px); box-shadow: 0 0 0 1px rgba(255, 255, 255, calc(var(--shot-line, 0) * 0.12)), 0 60px 140px -30px rgba(0, 0, 0, 0.9); }
.hero__shot img { border-radius: inherit; }
.hero__shot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--shot-dim, 0.5); pointer-events: none; }
.hero__shot img { width: 100%; height: 100%; }
.hero__flash { position: absolute; inset: 0; background: #fff; opacity: var(--flash, 0); pointer-events: none; }
.hero__island { position: absolute; top: calc(var(--nav-h) + 34px); left: 50%; transform: translate(-50%, calc((1 - var(--isl, 0)) * -16px)) scale(calc(0.94 + var(--isl, 0) * 0.06)); opacity: var(--isl, 0); }
.hero__caption { position: absolute; left: 50%; bottom: 3.2vh; transform: translate(-50%, calc((1 - var(--cap, 0)) * 14px)); opacity: var(--cap, 0); display: flex; align-items: center; gap: 12px; margin: 0; padding: 11px 18px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--text-2); white-space: nowrap; }
.hero__caption b { color: var(--amber); font-size: 13px; }

/* 캡처 틀(앱 SelectionFrame과 같은 주황 꺾쇠 + 바깥 50% 어둠막) */
.cap-frame { position: absolute; left: var(--x, 0%); top: var(--y, 0%); width: var(--w, 100%); height: var(--h, 100%); box-shadow: 0 0 0 200vmax rgba(0, 0, 0, calc(0.5 * var(--scrim, 1))); outline: 1px solid rgba(255, 159, 10, calc(0.55 * var(--scrim, 1))); pointer-events: none; opacity: var(--frame, 1); }
.cap-frame .br { position: absolute; width: 22px; height: 22px; border: 0 solid var(--amber); filter: drop-shadow(0 0 6px rgba(255, 159, 10, 0.55)); }
.cap-frame .tl { left: -3px; top: -3px; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 4px; }
.cap-frame .tr { right: -3px; top: -3px; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 4px; }
.cap-frame .bl { left: -3px; bottom: -3px; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 4px; }
.cap-frame .br- { right: -3px; bottom: -3px; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 4px; }
.cap-size { position: absolute; left: 0; top: calc(100% + 10px); padding: 5px 9px; border-radius: 7px; background: #000; color: var(--amber); font-size: 12px; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.cap-frame--live { transition: left 0.42s var(--spring), top 0.42s var(--spring), width 0.42s var(--spring), height 0.42s var(--spring); }

/* 조리개 */
.iris-wrap { position: absolute; left: 50%; top: 50%; z-index: 2; width: var(--iris-size, 380px); aspect-ratio: 1; transform: translate(-50%, -50%) translate(0, var(--iris-y, 0px)) scale(var(--iris-s, 1)); opacity: var(--iris-o, 1); pointer-events: none; }
.iris { width: 100%; height: 100%; overflow: visible; }
.iris .blade { transform-box: view-box; transform-origin: 0 0; }
.js .iris-wrap .blade { opacity: 0; transform: rotate(-150deg) scale(1.6); }
.js .iris-wrap .nib, .js .iris-wrap .core { opacity: 0; transform: scale(0.4); transform-box: view-box; transform-origin: 0 0; }
.is-loaded .iris-wrap .blade { opacity: 1; transform: none; transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i) * 0.07s + 0.1s), opacity 0.8s ease calc(var(--i) * 0.07s + 0.1s); }
.is-loaded .iris-wrap .core { opacity: var(--core-o, 1); transform: none; transition: transform 1s var(--spring) 0.75s, opacity 0.5s ease 0.75s; }
.is-loaded .iris-wrap .nib { opacity: var(--nib-o, 1); transform: scale(var(--nib-s, 1)); transition: transform 0.9s var(--spring) 0.95s, opacity 0.5s ease 0.95s; }
.is-ready .iris-wrap .nib, .is-ready .iris-wrap .core { transition: none; }
.iris .pulse-ring { transform-box: view-box; transform-origin: 0 4px; opacity: 0; }
.iris-wrap .nib { transform-origin: 0 4px !important; }
.is-loaded .iris-wrap .pulse-ring { animation: ring 2.6s var(--ease) 1.6s 2; }
@keyframes ring { 0% { opacity: 0.9; transform: scale(0.2); } 100% { opacity: 0; transform: scale(3.2); } }

.hero__copy { position: absolute; left: 50%; bottom: max(5vh, 28px); z-index: 3; width: min(100% - var(--gutter) * 2, 560px); transform: translate(-50%, var(--copy-y, 0px)); opacity: var(--copy-o, 1); filter: blur(var(--copy-b, 0px)); text-align: center; display: grid; justify-items: center; }
@media (min-width: 900px) {
  .hero__copy { left: max(var(--gutter), calc(50vw - 600px)); top: 50%; bottom: auto; width: min(50vw, 620px); transform: translate(var(--copy-x, 0px), calc(-50% + var(--copy-y, 0px))); text-align: left; justify-items: start; }
  .hero__cta { justify-content: flex-start; }
}
.hero__copy .eyebrow--pill { margin-bottom: 22px; }
.hero__title { margin: 0; font: 700 clamp(52px, 7vw, 108px)/1.02 var(--f-display); letter-spacing: -0.045em; }
.hero__title .line { display: block; overflow: hidden; padding: 0.04em 0.02em 0.08em; }
.hero__title .line > span { display: block; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title em { font-style: normal; background: linear-gradient(180deg, #ffb27a, var(--accent) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .hero__title .line > span { transform: translateY(110%); }
.is-loaded .hero__title .line > span { transform: none; transition: transform 1.2s var(--ease); }
.is-loaded .hero__title .line:nth-child(1) > span { transition-delay: 0.55s; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.68s; }
.hero__lead { margin: 22px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero__meta { margin: 18px 0 0; font-size: 14px; color: var(--text-3); }
.hero__meta .ver:not(:empty)::before { content: '· '; }
.js .hero__copy .eyebrow, .js .hero__lead, .js .hero__cta, .js .hero__meta { opacity: 0; transform: translateY(16px); }
.is-loaded .hero__copy .eyebrow, .is-loaded .hero__lead, .is-loaded .hero__cta, .is-loaded .hero__meta { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero__copy .eyebrow { transition-delay: 0.4s; }
.is-loaded .hero__lead { transition-delay: 0.85s; }
.is-loaded .hero__cta { transition-delay: 0.95s; }
.is-loaded .hero__meta { transition-delay: 1.05s; }
.br-md { display: none; }

.hero__hud { position: absolute; left: 50%; bottom: 30px; z-index: 3; display: flex; gap: clamp(16px, 3vw, 40px); transform: translateX(-50%); font-size: 11px; letter-spacing: 0.14em; color: var(--text-3); white-space: nowrap; opacity: var(--hud, 0); pointer-events: none; }
.hero__hud b { margin-left: 8px; font-weight: 500; color: var(--text); letter-spacing: 0.04em; }
.hero__hud span:first-child b { color: var(--amber); }
@media (max-width: 640px) { .hero__hud span:nth-child(2) { display: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 12px; transform: translateX(-50%); font-size: 13px; color: var(--text-3); white-space: nowrap; opacity: var(--copy-o, 1); }
.js .scroll-cue { opacity: 0; }
.is-loaded .scroll-cue { opacity: var(--copy-o, 1); transition: opacity 1s ease 1.4s; }
.is-ready .scroll-cue { transition: none; }
.scroll-cue .mouse { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-3); position: relative; }
.scroll-cue .mouse i { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ═════════ MANIFESTO ═════════ */
.manifesto { position: relative; z-index: 2; padding: 0 0 clamp(80px, 10vw, 140px); background: var(--bg); }
.trio { position: relative; height: 340vh; }
.trio__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.trio__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: calc(var(--nav-h) + 10px); }
.manifesto__text { margin: 0; font: 700 clamp(46px, 6.4vw, 104px)/1.02 var(--f-display); letter-spacing: -0.055em; }
.manifesto__text .w { color: rgba(245, 245, 247, 0.12); transition: color 0.5s var(--ease); }
.manifesto__text .w.on { color: var(--text); }
.manifesto__text .w.hot.on { color: var(--accent); }
.trio__steps { display: grid; gap: 6px; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
.trio__steps li { display: grid; grid-template-columns: 112px auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 12px 16px; border-radius: 16px; opacity: 0.32; transition: opacity 0.5s var(--ease), background-color 0.5s; }
.trio__steps .combo { grid-row: span 2; display: flex; gap: 6px; }
.trio__steps .kc { height: 38px; min-width: 38px; padding: 0 11px; border-radius: 10px; font-size: 15px; transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, box-shadow 0.35s; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 4px 0 #000; }
.trio__steps b { font: 700 clamp(22px, 2vw, 28px)/1.2 var(--f-display); letter-spacing: -0.02em; }
.trio__steps li > span:last-child { color: var(--text-3); font-size: 15px; }
.trio__steps li.is-on { opacity: 1; background: rgba(255, 255, 255, 0.045); }
.trio__steps li.is-on .kc { transform: translateY(3px); color: #fff; background: linear-gradient(180deg, #ff8a3d, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 0 #000, 0 0 26px rgba(255, 106, 26, 0.6); }
.trio__stage .stage__screen { background: #0b0b0d; }
.trio__layer { position: absolute; inset: 0; transform-origin: 0 0; }
.trio__layer img { width: 100%; height: 100%; }
.trio__layer .cap-frame { z-index: 2; }
.trio__layer .cap-frame .br { width: 16px; height: 16px; }
.trio__ink { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trio__ink path { fill: none; stroke: var(--pen-o); stroke-width: var(--sw, 4); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.4)); }
.trio__ink path.red { stroke: var(--pen-r); }
.trio .fake-cursor { transition: opacity 0.3s; z-index: 4; }
.island[data-mode] .island__state[data-state] { display: none; }
.island[data-mode='0'] .island__state[data-state='0'],
.island[data-mode='1'] .island__state[data-state='1'],
.island[data-mode='2'] .island__state[data-state='2'] { display: inline-flex; animation: islandIn 0.42s var(--spring); }
.island[data-mode='-1'] { opacity: 0; }
.stage__island { transition: opacity 0.4s; }
.pen-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pen-o); box-shadow: 0 0 0 2px #fff; }
.manifesto .stats { margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) {
  .trio { height: 300vh; }
  .trio__grid { grid-template-columns: 1fr; gap: 22px; }
  .trio__steps { grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px; margin-top: 20px; }
  .trio__steps li { grid-template-columns: auto; grid-template-rows: auto auto; justify-items: start; row-gap: 8px; padding: 10px; }
  .trio__steps .combo { grid-row: auto; }
  .trio__steps li > span:last-child { display: none; }
  .trio__steps .kc { height: 32px; min-width: 32px; padding: 0 8px; font-size: 13px; }
  .trio__steps b { font-size: 19px; }
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 11vw, 150px); border-top: 1px solid var(--line); }
.stat { padding: 34px 26px 6px 0; display: grid; gap: 12px; align-content: start; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat b { font: 700 clamp(48px, 5.6vw, 80px)/1 var(--f-display); letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.42em; color: var(--accent); letter-spacing: 0; }
.stat > span { color: var(--text-3); font-size: 15px; line-height: 1.5; }

/* ═════════ CHAPTERS ═════════ */
.chapter { position: relative; padding: clamp(96px, 12vw, 180px) 0; }
.chapter__head { margin-bottom: clamp(44px, 6vw, 72px); }
.chapter__head--center { text-align: center; display: grid; justify-items: center; }
.chapter__head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }

/* 데모 무대(모니터처럼) */
.stage-wrap { margin: 0; position: relative; }
.stage-wrap::before { content: ''; position: absolute; left: 10%; right: 10%; top: 20%; bottom: -8%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 106, 26, 0.16), transparent); filter: blur(40px); }
.stage { position: relative; padding: clamp(6px, 0.8vw, 10px); border-radius: clamp(16px, 2vw, 26px); background: linear-gradient(180deg, #1a1a1e, #0c0c0e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 50px 120px -30px rgba(0, 0, 0, 0.95), 0 30px 60px -40px rgba(255, 106, 26, 0.25); outline: none; }
.stage:focus-visible { box-shadow: inset 0 0 0 2px var(--amber), 0 50px 120px -30px rgba(0, 0, 0, 0.95); }
.stage__screen { position: relative; aspect-ratio: 1672 / 941; border-radius: clamp(10px, 1.3vw, 17px); overflow: hidden; background: #0b0b0d; isolation: isolate; }
.stage__screen > img { width: 100%; height: 100%; object-fit: cover; }
.stage__screen--light { background: #fbf9f4; }
.stage__island { position: absolute; top: 4%; left: 50%; width: max-content; transform: translateX(-50%); z-index: 4; }
.stage__island--bottom { top: auto; bottom: 4%; }
.stage__flash { position: absolute; inset: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; }
.stage__flash.go { animation: flash 0.5s ease-out; }
@keyframes flash { 0% { opacity: 0.85; } 100% { opacity: 0; } }
.stage__hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--text-3); text-align: center; }
.stage__hint--row { justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.stage__hint .hint-wrap { display: inline-flex; align-items: center; gap: 10px; }
.stage__hint .hint-touch { display: none; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }

/* 캡처 체험판 */
.stage--capture .stage__screen { cursor: var(--cross, crosshair); }
.stage--capture .stage__screen { --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25'%3E%3Cpath d='M12.5 2V9M12.5 16V23M2 12.5H9M16 12.5H23' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='square'/%3E%3Cpath d='M12.5 2V9M12.5 16V23M2 12.5H9M16 12.5H23' fill='none' stroke='%23111111' stroke-width='1.5' stroke-linecap='square'/%3E%3Ccircle cx='12.5' cy='12.5' r='1.25' fill='%23111111' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E") 12 12, crosshair; }
.stage--capture .cap-frame { z-index: 2; }
.fake-cursor { position: absolute; z-index: 3; left: var(--cx, 50%); top: var(--cy, 50%); width: 25px; height: 25px; margin: -12.5px 0 0 -12.5px; pointer-events: none; transition: left 0.9s var(--ease-io), top 0.9s var(--ease-io), opacity 0.3s; }
.stage--capture.is-live .fake-cursor { opacity: 0; }
.result-card { position: absolute; right: 2.4%; bottom: 4%; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(18, 18, 21, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(14px) scale(0.96); transition: opacity 0.4s var(--ease), transform 0.5s var(--spring); pointer-events: none; }
.result-card.show { opacity: 1; transform: none; }
.result-card i { width: 84px; aspect-ratio: 16 / 10; border-radius: 8px; background-image: url('img/screen-desktop-960.webp'); background-repeat: no-repeat; box-shadow: inset 0 0 0 1px var(--line-2); }
.result-card span { display: grid; gap: 4px; font-size: 13px; }
.result-card small { color: var(--text-3); font-size: 11px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 40px 0 0; padding: 0; list-style: none; }
.tags li { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--text-2); background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 90px); }
.card { position: relative; display: flex; flex-direction: column; padding: 28px 28px 24px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.card__key { margin: 0 0 18px; }
.card h3, .tile h3 { margin: 0; font: 700 22px/1.3 var(--f-display); letter-spacing: -0.02em; }
.card p, .tile p { margin: 10px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.card .card__key, .tile .tile__key { margin: 0 0 16px; }
.mini { margin-top: auto; padding-top: 26px; min-height: 120px; position: relative; }
.mini--f2 i { position: absolute; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.9s var(--ease), box-shadow 0.6s; }
.mini--f2 .w1 { left: 0; bottom: 0; width: 58%; height: 78px; background: linear-gradient(180deg, #24252b, #1a1b1f); }
.mini--f2 .w3 { right: 0; bottom: 18px; width: 52%; height: 70px; background: linear-gradient(180deg, #2a2b31, #1f2024); z-index: 2; }
.mini--f2 .w2 { left: 26%; bottom: 30px; width: 48%; height: 72px; z-index: 1; background: linear-gradient(135deg, #3a2a20, #1f1a17), #222; background-image: linear-gradient(180deg, rgba(255, 106, 26, 0.35), rgba(255, 106, 26, 0.05)); }
.card:hover .mini--f2 .w2, .mini--f2.play .w2 { transform: translateY(-34px) scale(1.06); z-index: 3; box-shadow: 0 0 0 2px var(--amber), 0 20px 40px rgba(0, 0, 0, 0.6); }
.mini--rec { display: flex; align-items: flex-end; }
.mini--rec .island { gap: 10px; }
.mini--rec .rec { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.mini--rec .stop { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 600; }
.mini--rec .stop i { width: 8px; height: 8px; border-radius: 2px; background: #000; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: auto 0 0; padding: 22px 0 0; list-style: none; }
.chips li { padding: 6px 11px; border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.chips li.is-on { color: #000; background: var(--text); box-shadow: none; }
.chips--center { justify-content: center; padding-top: 18px; }

/* 확대 체험판 */
.stage--zoom .stage__screen { cursor: zoom-in; }
.zoom-layer { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.zoom-layer img { width: 100%; height: 100%; }
.minimap { position: absolute; right: 2.4%; bottom: 4.5%; z-index: 4; width: clamp(90px, 13%, 150px); aspect-ratio: 1672 / 941; border-radius: 8px; background: url('img/zoom-detail-960.webp') center / cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 10px 26px rgba(0, 0, 0, 0.35); opacity: var(--mm, 0); transition: opacity 0.4s; overflow: hidden; }
.minimap::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9); border-radius: 8px; }
.minimap i { position: absolute; border: 2px solid var(--accent); border-radius: 3px; box-shadow: 0 0 0 200px rgba(0, 0, 0, 0.35); }
.range { display: inline-flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; }
.range input { -webkit-appearance: none; appearance: none; width: clamp(140px, 22vw, 240px); height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill, 0%), rgba(255, 255, 255, 0.14) var(--fill, 0%)); outline: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); cursor: grab; }
.range input::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; cursor: grab; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: clamp(56px, 7vw, 90px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.points li { display: grid; gap: 8px; padding: 30px 28px 0 0; align-content: start; }
.points li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.points .pt-k { font: 600 13px/1 var(--f-body); color: var(--accent); letter-spacing: 0.04em; }
.points b { font: 700 21px/1.35 var(--f-display); letter-spacing: -0.02em; margin-top: 6px; }
.points li > span:last-child { color: var(--text-3); font-size: 15px; line-height: 1.6; }

/* 교실 사진 */
.classroom { position: relative; height: clamp(560px, 92vh, 980px); overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.classroom__media { position: absolute; inset: 0; z-index: -1; }
.classroom__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--ps, 1.15)) translateY(var(--py, 0px)); transform-origin: 50% 40%; will-change: transform; }
.classroom__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 5, 6, 0.1) 26%, rgba(5, 5, 6, 0.1) 52%, rgba(5, 5, 6, 0.92) 88%, var(--bg)); }
.classroom__copy { padding-bottom: clamp(56px, 9vh, 110px); }
.classroom__title { margin: 0; font: 700 clamp(36px, 5.4vw, 76px)/1.12 var(--f-display); letter-spacing: -0.035em; text-wrap: balance; }
.classroom__title .dim { color: rgba(245, 245, 247, 0.55); }

/* 판서 체험판 */
.stage--draw .stage__screen { touch-action: none; }
.draw-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%23F97316' stroke='white' stroke-width='2'/%3E%3C/svg%3E") 12 12, crosshair; }
.frozen-badge { position: absolute; left: 2.4%; top: 4.5%; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.78); color: #f7f8fa; font-size: 13px; pointer-events: none; }
.frozen-badge i { width: 7px; height: 7px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25); }
.draw-bar { gap: 6px; padding: 6px; }
.swatches { display: flex; gap: 4px; padding-left: 2px; }
.sw { position: relative; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font: 600 10px/1 var(--f-mono); color: rgba(255, 255, 255, 0.9); }
.sw::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--c); transition: inset 0.25s var(--spring); }
.sw { color: transparent; }
.sw.is-on::before { inset: 4px; }
.sw.is-on::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px #fff inset; }
.sw:hover::before { inset: 3px; }
.sep { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.14); margin-inline: 4px; }
.tools { display: flex; gap: 2px; }
.tool { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--island-text-2); font-size: 13px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.tool svg { width: 15px; height: 15px; }
.tool:hover { background: var(--island-muted); color: #fff; }
.tool.is-on { background: #fff; color: #000; }

/* 벤토 */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 30px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 26, 0.12), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile--board { grid-column: span 4; grid-row: span 2; }
.tile--timer { grid-column: span 2; }
.tile--pin { grid-column: span 2; }
.tile--top, .tile--keys, .tile--lang { grid-column: span 2; min-height: 250px; }
.tile__text { max-width: 30em; }
.tile .island { margin-top: auto; align-self: flex-start; }

.board { margin-top: 28px; flex: 1; display: flex; flex-direction: column; gap: 14px; min-height: 340px; }
.board__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.board__tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 13px; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.board__tabs button:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.board__tabs button[aria-selected='true'] { background: var(--text); color: #000; box-shadow: none; }
.board__surface { --ink: #1a1a1a; position: relative; flex: 1; border-radius: 16px; overflow: hidden; transition: background-color 0.6s var(--ease), box-shadow 0.6s; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); display: grid; place-items: center; padding: 18px; }
.board__ink { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.board__ink .s { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.6s; }
.board__ink .hl { stroke: var(--pen-o); stroke-width: 6; }
.board__ink .pt { fill: var(--pen-o); stroke: none; }
.board[data-tpl='white'] .board__surface { background-color: #f7f7f4; background-image: radial-gradient(rgba(0, 0, 0, 0.13) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.board[data-tpl='ruled'] .board__surface { background-color: #fbf8ef; background-image: linear-gradient(90deg, transparent 52px, rgba(229, 72, 77, 0.45) 52px, rgba(229, 72, 77, 0.45) 54px, transparent 54px), repeating-linear-gradient(180deg, transparent 0 29px, rgba(47, 111, 237, 0.22) 29px 30px); }
.board[data-tpl='grid'] .board__surface { background-color: #fbfbf8; background-image: linear-gradient(rgba(47, 111, 237, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 111, 237, 0.16) 1px, transparent 1px); background-size: 24px 24px; }
.board[data-tpl='chalk'] .board__surface { --ink: #f4f1e6; background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.06), transparent 60%), #24453a; box-shadow: inset 0 0 0 10px #7a5534, inset 0 0 0 11px #4e3420, inset 0 0 40px rgba(0, 0, 0, 0.45); }
.board[data-tpl='slate'] .board__surface { --ink: #f5f5f5; background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%), #17181b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.board[data-tpl='navy'] .board__surface { --ink: #f2f5ff; background-color: #0f1b33; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.board__ink.draw .s { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: drawStroke 1.1s var(--ease) forwards; animation-delay: calc(var(--k) * 0.16s); }
.board__ink.draw .pt { animation: popIn 0.4s var(--spring) both; animation-delay: 1.1s; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes popIn { from { transform: scale(0); opacity: 0; } }
.board__ink .pt { transform-box: fill-box; transform-origin: center; }

.flip { display: flex; justify-content: center; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 26px; font: 500 clamp(40px, 4.4vw, 58px)/1 var(--f-mono); }
.flip__d { position: relative; display: grid; place-items: center; width: 1.04em; height: 1.36em; border-radius: 12px; background: linear-gradient(180deg, #232429 50%, #1b1c20 50%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 10px 24px rgba(0, 0, 0, 0.5); overflow: hidden; }
.flip__d::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.7); }
.flip__d.tick { animation: flipTick 0.5s var(--ease); }
@keyframes flipTick { 0% { transform: rotateX(0); } 40% { transform: rotateX(-80deg); filter: brightness(0.6); } 100% { transform: rotateX(0); } }
.flip__c { color: var(--accent); animation: blink 1s steps(2, jump-none) infinite; }

.pin-area { position: relative; margin-top: auto; height: 150px; }
.pin { position: absolute; left: 12%; top: 18px; width: 62%; height: 112px; border-radius: 6px; box-shadow: 0 0 0 1.5px var(--amber), 0 20px 40px rgba(0, 0, 0, 0.55); animation: pinBreathe 5s var(--ease-io) infinite; cursor: grab; touch-action: none; }
.pin.dragging { cursor: grabbing; animation-play-state: paused; }
.pin__img { position: absolute; inset: 0; border-radius: 6px; background: url('img/screen-desktop-960.webp') 96% 18% / 300% auto no-repeat; }
.pin .h { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1.5px var(--amber); }
.pin .n { left: 50%; top: 0; } .pin .s { left: 50%; top: 100%; } .pin .e { left: 100%; top: 50%; } .pin .w { left: 0; top: 50%; }
.pin .ne { left: 100%; top: 0; } .pin .nw { left: 0; top: 0; } .pin .se { left: 100%; top: 100%; } .pin .sw { left: 0; top: 100%; }
@keyframes pinBreathe { 0%, 100% { width: 62%; height: 112px; } 50% { width: 78%; height: 128px; } }

.lang-swap { margin: auto 0 0; padding-top: 24px; font: 700 clamp(28px, 3vw, 38px)/1.1 var(--f-display); letter-spacing: -0.03em; }
.lang-swap span { display: inline-block; transition: opacity 0.4s, transform 0.5s var(--ease), filter 0.4s; }
.lang-swap span.out { opacity: 0; transform: translateY(-10px); filter: blur(6px); }

/* 단축키 */
.keys-side { display: grid; gap: 26px; justify-items: start; }
.keys-side .lead { margin: 0; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { position: relative; z-index: 1; height: 38px; padding: 0 20px; border: 0; background: none; color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: color 0.3s; }
.seg button[aria-checked='true'] { color: #000; }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff; transition: transform 0.5s var(--spring); }
[data-os='mac'] .seg__thumb { transform: translateX(100%); }
.keys { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.keys__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.keys__list button { width: 100%; display: grid; grid-template-columns: 118px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 14px 18px; border: 0; border-radius: 16px; background: transparent; text-align: left; cursor: pointer; transition: background-color 0.3s; }
.keys__list .combo { grid-row: span 2; display: flex; gap: 5px; }
.keys__list .combo .kc { height: 30px; min-width: 32px; font-size: 13px; }
.keys__list b { font-size: 17px; font-weight: 600; }
.keys__list button > span:last-child { color: var(--text-3); font-size: 14px; }
.keys__list button:hover, .keys__list button.is-on { background: rgba(255, 255, 255, 0.05); }
.keys__list button.is-on .kc { background: linear-gradient(180deg, #ff8a3d, var(--accent)); color: #fff; box-shadow: 0 0 18px rgba(255, 106, 26, 0.55); }
[data-os='mac'] .win-only { display: none; }
.kb-wrap { perspective: 1400px; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
.kb { display: grid; gap: 8px; padding: 18px; border-radius: 22px; background: linear-gradient(180deg, #141417, #0b0b0d); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, 0.9); transform: rotateX(28deg) rotateZ(-4deg); transform-origin: 50% 100%; }
.kb__row { display: flex; gap: 8px; }
.k { flex: none; display: grid; place-items: center; width: 54px; height: 50px; border-radius: 10px; font: 500 13px/1 var(--f-mono); font-style: normal; color: rgba(255, 255, 255, 0.55); background: linear-gradient(180deg, #24252a, #1b1c20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 3px 0 #08080a, 0 6px 10px rgba(0, 0, 0, 0.4); transition: transform 0.25s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s; }
.kb__row:first-child .k { height: 36px; font-size: 12px; }
.k--esc { width: 68px; } .k--gap { margin-left: 14px; }
.k--tab { width: 80px; } .k--caps { width: 94px; } .k--shift { width: 122px; } .k--mod { width: 70px; } .k--space { width: 300px; }
.k.is-on { transform: translateY(3px); color: #fff; background: linear-gradient(180deg, #ff8a3d, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 #000, 0 0 28px rgba(255, 106, 26, 0.75), 0 0 60px rgba(255, 106, 26, 0.35); }

/* 개인정보 */
.chapter--privacy { overflow: hidden; }
.privacy { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.privacy__hero { position: relative; display: grid; justify-items: center; }
.privacy__zero { margin: 0; padding: 0 0.08em; font: 700 clamp(220px, 32vw, 460px)/0.8 var(--f-display); letter-spacing: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.05) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.privacy__zero::after { content: ''; position: absolute; left: 50%; top: 52%; width: 0.07em; height: 0.07em; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0.12em var(--accent), 0 0 0.4em rgba(255, 106, 26, 0.6); }
.privacy__cap { margin: 18px 0 0; font: 600 15px/1 var(--f-body); letter-spacing: 0.04em; color: var(--text-3); }
.privacy__list { display: grid; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.privacy__list li { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.privacy__list b { font-size: 17px; font-weight: 600; }
.privacy__list span { color: var(--text-3); font-size: 15px; line-height: 1.6; }
.privacy__links { display: flex; flex-wrap: wrap; gap: 24px; margin: 28px 0 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .chapter__head { position: sticky; top: 120px; margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; list-style: none; cursor: pointer; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--text); color: #000; }
.faq summary:hover { color: #fff; }
.faq__a { padding: 0 60px 26px 4px; color: var(--text-2); }
.faq__a p { margin: 0 0 10px; }
.faq details[open] .faq__a { animation: faqIn 0.5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
code { font: 500 0.88em var(--f-mono); padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }

/* 내려받기 */
.download { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; text-align: center; }
.download__glow { position: absolute; left: 50%; top: 40%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 106, 26, 0.2), rgba(255, 106, 26, 0.05) 50%, transparent 72%); pointer-events: none; }
.download__inner { position: relative; display: grid; justify-items: center; }
.iris-mini { width: clamp(130px, 14vw, 180px); aspect-ratio: 1; margin-bottom: 40px; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8)); }
.iris-mini .blades { transform-box: view-box; transform-origin: 0 0; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.download__title { margin: 0; font: 700 clamp(48px, 7.6vw, 116px)/1.04 var(--f-display); letter-spacing: -0.045em; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.58)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.download__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.download__cta .btn--lg { --h: 64px; padding: 0 28px; }
.download__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 28px 0 0; font-size: 15px; color: var(--text-2); }
.download__meta { margin: 22px 0 0; font-size: 14px; color: var(--text-3); }

.footer { border-top: 1px solid var(--line); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); color: var(--text-3); font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand div { display: grid; gap: 4px; }
.footer__brand b { color: var(--text); font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.footer__links a { color: var(--text-2); transition: color 0.3s; }
.footer__links a:hover { color: var(--text); }
.footer__legal { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; }

/* ── 반응형 ───────────────────────────── */
@media (max-width: 1100px) {
  .nav__links a { padding: 9px 10px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--board { grid-column: span 2; grid-row: auto; }
  .tile--timer, .tile--pin, .tile--top, .tile--keys, .tile--lang { grid-column: span 1; }
  .k { width: 46px; height: 44px; }
  .k--space { width: 220px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 54px; }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .chapter__head--split, .keys, .privacy, .faq { grid-template-columns: 1fr; }
  .faq .chapter__head { position: static; }
  .kb-wrap { display: none; }
  .cards3 { grid-template-columns: 1fr; }
  .card .mini { min-height: 100px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .points { grid-template-columns: 1fr; }
  .points li, .points li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .privacy__list li { grid-template-columns: 1fr; gap: 6px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: 10px; }
  .nav__inner { padding: 0 7px 0 14px; gap: 8px; }
  .brand { font-size: 17px; }
  .nav__cta .btn--sm { --h: 36px; padding: 0 11px; font-size: 13px; }
  .hero__copy { bottom: max(5vh, 28px); }
  .hero__lead { font-size: 16px; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 340px; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hero__caption { font-size: 11px; padding: 9px 14px; white-space: normal; width: max-content; max-width: calc(100vw - 32px); text-align: left; }
  .hero__island { top: calc(var(--nav-h) + 26px); }
  .island { font-size: 12px; min-height: 34px; padding: 0 12px 0 11px; }
  .island__state { gap: 7px; }
  .island .crumb, .island .sub, .island .num { font-size: 11px; }
  .island .chip, .stage__island .kc + .sub { display: none; }
  .stage__island { top: 3%; transform: translateX(-50%) scale(0.86); transform-origin: 50% 0; }
  .stage__island--bottom { top: auto; bottom: 3%; transform-origin: 50% 100%; }
  .draw-bar { gap: 2px; padding: 4px; }
  .sw { width: 26px; height: 26px; }
  .tool span { display: none; }
  .tool { padding: 0 8px; }
  .result-card { display: none; }
  .minimap { display: none; }
  .stage__hint { font-size: 13px; justify-content: flex-start; text-align: left; }
  .stage__hint .pulse { align-self: flex-start; margin-top: 6px; }
  .tags li { font-size: 13px; padding: 8px 13px; }
  .bento { grid-template-columns: 1fr; }
  .tile--board, .tile--timer, .tile--pin, .tile--top, .tile--keys, .tile--lang { grid-column: auto; }
  .tile { padding: 24px; border-radius: 24px; min-height: 0; }
  .board { min-height: 300px; }
  .island--static { white-space: normal; }
  .keys__list button { grid-template-columns: 112px 1fr; padding: 12px 10px; }
  .download__cta { flex-direction: column; width: 100%; max-width: 340px; }
  .download__cta .btn { width: 100%; justify-content: flex-start; }
  .classroom { height: 78vh; }
  .stat { padding: 26px 16px 4px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
}
@media (min-width: 641px) { .br-md { display: inline; } }
@media (hover: none) {
  .stage__hint .hint-desk { display: none; }
  .stage__hint .hint-touch { display: inline; }
}

/* 모션은 운영체제 '움직임 줄이기' 설정과 관계없이 항상 켠다. JS가 없을 때만 히어로를 한 화면으로 둔다. */
.hero { height: 100vh; height: 100svh; }
.js .hero { height: 380vh; }
