/* alt1 STUDIO: 공통 스타일 (홈·개인정보처리방침·이용약관이 함께 씀) */

@font-face { font-family: 'Paperlogy'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Paperlogy-4Regular.woff2') format('woff2'); }
@font-face { font-family: 'Paperlogy'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/Paperlogy-7Bold.woff2') format('woff2'); }
@font-face { font-family: 'Paperlogy'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/Paperlogy-9Black.woff2') format('woff2'); }

:root {
  --ink: #141519;
  --ink-2: #1b1c21;
  --ink-3: #26272d;
  --paper: #f3f1ea;
  --paper-2: rgba(243, 241, 234, .74);
  --paper-3: rgba(243, 241, 234, .5);
  --line: rgba(243, 241, 234, .1);
  --line-2: rgba(243, 241, 234, .2);
  --coral: #ff5641;
  --coral-hi: #ff6a57;
  --on-coral: #141519;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Paperlogy', -apple-system, 'Apple SD Gothic Neo', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* 아주 옅은 종이 질감 */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 900; }
p { margin: 0; }
::selection { background: var(--coral); color: var(--on-coral); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 12px; }

/* 한/영 전환: 고른 언어가 아닌 쪽은 숨긴다 */
html[data-lang="ko"] [data-l="en"],
html[data-lang="en"] [data-l="ko"] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 70; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-3);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.18; letter-spacing: -.02em; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 8px 0 26px; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .5s var(--pop), background-color .25s, box-shadow .25s, color .25s;
}
.btn__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  transition: transform .45s var(--ease);
}
.btn__icon svg { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translateX(3px) rotate(-8deg); }
.btn:active { transform: scale(.97); }
.btn--coral { background: var(--coral); color: var(--on-coral); }
.btn--coral .btn__icon { background: rgba(20, 21, 25, .12); }
.btn--coral:hover { background: var(--coral-hi); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); padding-right: 26px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper-2); transform: translateY(-2px); }

/* ---------- 상단 메뉴 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40; padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; transition: height .4s var(--ease); }
.nav.is-scrolled { background: rgba(20, 21, 25, .74); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav.is-scrolled .nav__inner { height: 64px; }
.nav__logo { display: block; flex: none; padding: 7px 0; }
.nav__logo img { height: 36px; width: auto; }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-right: 8px; }
.nav__link { padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--paper-2); text-decoration: none; transition: color .2s, background-color .2s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--paper); background: rgba(243, 241, 234, .07); }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 15px; }

.lang { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(243, 241, 234, .06); box-shadow: inset 0 0 0 1px var(--line); }
.lang button {
  appearance: none; border: 0; background: none; cursor: pointer;
  min-width: 44px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--paper-3);
  transition: background-color .25s, color .25s;
}
.lang button:hover { color: var(--paper); }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

/* ---------- 첫 화면 ---------- */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: 128px 0 88px max(var(--gutter), env(safe-area-inset-left), calc((100vw - var(--max)) / 2));
}
.hero__copy { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 28px; }
.slogan { font-size: clamp(68px, 10.4vw, 156px); line-height: 1; letter-spacing: -.025em; }
html[data-lang="en"] .slogan { letter-spacing: -.045em; }
.slogan__line { display: block; padding: .02em 0 .24em; margin-bottom: -.18em; }
/* 글자가 아래에서 올라오는 동안에만 줄 밖을 자른다. 등장이 끝나면(is-settled) 풀어서
   마우스를 올려 글자가 움직여도 i 점·g 꼬리 등이 잘리지 않게 한다 */
.js .slogan__line { overflow: hidden; }
.js.is-settled .slogan__line { overflow: visible; }
.slogan__word { display: inline-block; transition: transform .6s var(--pop), color .3s; }
.hero__lead { max-width: 30em; margin-top: 32px; font-size: clamp(17px, 1.5vw, 20px); color: var(--paper-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero__stage { position: relative; height: min(64vh, 600px); min-height: 300px; }
.pill {
  position: absolute; top: 0; bottom: 0; left: 0; right: -24vw;
  display: flex; align-items: center; justify-content: center; padding-right: 24vw;
  border-radius: 999px; background: var(--coral);
}
.pill__logo { width: min(460px, 70%); height: auto; }

@media (hover: hover) {
  .slogan__line:nth-child(1):hover .slogan__word { transform: translateX(14px) skewX(-8deg); }
  .slogan__line:nth-child(2):hover .slogan__word { transform: translateY(-8px); }
  .slogan__line:nth-child(3):hover .slogan__word { animation: wiggle .7s var(--ease); color: var(--coral); }
  .pill:hover .pill__logo { transform: scale(1.04) rotate(-2deg); }
}
.pill__logo { transition: transform .7s var(--pop); }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-2deg); } }

/* 첫 화면 등장 움직임 (자바스크립트가 켜졌을 때만) */
.js .slogan__word { transform: translateY(110%); }
.js .hero .eyebrow, .js .hero__lead, .js .hero__cta { opacity: 0; transform: translateY(18px); }
.js .pill { transform: translateX(18%); opacity: 0; }
.js .pill__logo { transform: scale(.86); opacity: 0; }
.is-ready .slogan__word { transform: none; transition: transform 1s var(--ease) calc(var(--i, 0) * 90ms + 120ms), color .3s; }
.is-ready .hero .eyebrow, .is-ready .hero__lead, .is-ready .hero__cta { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-ready .hero .eyebrow { transition-delay: 0s; }
.is-ready .hero__lead { transition-delay: .5s; }
.is-ready .hero__cta { transition-delay: .62s; }
.is-ready .pill { transform: none; opacity: 1; transition: transform 1.2s var(--ease) .15s, opacity .8s var(--ease) .15s; }
.is-ready .pill__logo { transform: none; opacity: 1; transition: transform .9s var(--pop) .7s, opacity .6s var(--ease) .7s; }

/* ---------- 흐르는 띠 ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; letter-spacing: -.01em; color: var(--paper-3); white-space: nowrap; }
.ticker__item::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 소개 ---------- */
.section { padding-block: clamp(96px, 13vw, 176px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__side { position: sticky; top: 120px; }
.keys { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.key {
  display: inline-grid; place-items: center; min-width: 104px; height: 104px; padding: 0 24px; border-radius: 26px;
  background: var(--ink-3); color: var(--paper); font-size: 30px; font-weight: 700;
  box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 30px -18px rgba(0, 0, 0, .8);
  animation: press 3.2s var(--ease) infinite;
}
.key--one { background: var(--coral); color: var(--on-coral); font-weight: 900; font-size: 44px; min-width: 104px; padding: 0; box-shadow: inset 0 -7px 0 rgba(84, 32, 27, .45), inset 0 1px 0 rgba(255, 255, 255, .25), 0 18px 30px -18px rgba(0, 0, 0, .8); animation-delay: .16s; }
.keys__plus { font-size: 28px; font-weight: 700; color: var(--paper-3); }
@keyframes press { 0%, 72%, 100% { transform: translateY(0); } 78% { transform: translateY(6px); } 88% { transform: translateY(0); } }
.about__body .h2 { margin-bottom: 36px; }
.about__body p { font-size: clamp(18px, 1.6vw, 21px); color: var(--paper-2); line-height: 1.75; }
.about__body p + p { margin-top: 22px; }
.about__body strong { color: var(--paper); font-weight: 700; }

/* ---------- 세 단어 ---------- */
.values { padding-top: 0; padding-bottom: clamp(72px, 9vw, 120px); }
.games { padding-top: clamp(48px, 6vw, 88px); }
.values__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.values__head .eyebrow { margin-bottom: 18px; }
.values__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.value {
  position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px;
  padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); isolation: isolate;
}
.value::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--coral);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.value__no { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--paper-3); transition: color .3s; }
.value__word { font-size: clamp(52px, 7.2vw, 104px); line-height: 1; letter-spacing: -.03em; transition: transform .6s var(--pop), color .3s; }
.value__desc { font-size: clamp(16px, 1.4vw, 19px); color: var(--paper-2); max-width: 30em; transition: color .3s; }
@media (hover: hover) {
  .value:hover::before { transform: scaleY(1); }
  .value:hover .value__word { color: var(--on-coral); transform: translateX(10px); }
  .value:hover .value__no, .value:hover .value__desc { color: var(--on-coral); }
}

/* ---------- 게임 ---------- */
.games__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.games__head .eyebrow { margin-bottom: 18px; }
.games__head p { color: var(--paper-2); font-size: 18px; justify-self: end; max-width: 26em; }
.games__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.game {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 30px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .6s var(--pop), box-shadow .3s;
}
.game:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2); }
.game__art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--game, var(--ink-3)); overflow: hidden; }
.game__art img.game__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game__icon {
  position: relative; width: 112px; height: 112px; border-radius: 26px; object-fit: cover;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .06);
  transition: transform .6s var(--pop);
}
.game:hover .game__icon { transform: scale(1.07) rotate(-3deg); }
.game__icon--letter { display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 52px; font-weight: 900; }
.game__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; }
.game__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip--soon { color: var(--on-coral); background: var(--coral); box-shadow: none; }
.game__name { font-size: 26px; letter-spacing: -.01em; }
.game__tag { color: var(--paper-2); font-size: 16px; }
.game__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.game__link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-decoration: none; background: rgba(243, 241, 234, .07); color: var(--paper);
  transition: background-color .2s, color .2s;
}
.game__link:hover { background: var(--paper); color: var(--ink); }
.game__link svg { width: 16px; height: 16px; }
.game--next { align-items: center; justify-content: center; text-align: center; gap: 18px; min-height: 360px; padding: 40px 28px; background: transparent; box-shadow: none; border: 1.5px dashed var(--line-2); }
.game--next:hover { transform: none; box-shadow: none; }
.game--next h3 { font-size: 22px; }
.game--next p { color: var(--paper-3); font-size: 15px; }
.dots { display: flex; gap: 8px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); animation: hop 1.2s var(--ease) infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
.game--next.is-only { grid-column: 1 / -1; min-height: 280px; }
.demo-note { margin-top: 16px; font-size: 14px; color: var(--paper-3); }

/* ---------- 문의 ---------- */
.contact { background: var(--coral); color: var(--on-coral); }
.contact :focus-visible { outline-color: var(--on-coral); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact .eyebrow { color: rgba(20, 21, 25, .62); }
.contact .eyebrow::before { background: var(--on-coral); }
.contact__title { margin-top: 22px; font-size: clamp(48px, 7vw, 100px); line-height: 1.02; letter-spacing: -.03em; }
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid rgba(20, 21, 25, .2); }
.contact__item a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px;
  padding: 22px 4px; border-bottom: 1.5px solid rgba(20, 21, 25, .2); text-decoration: none;
}
.contact__item-title { font-size: 21px; font-weight: 900; }
.contact__item-desc { grid-column: 1; font-size: 15px; color: rgba(20, 21, 25, .72); }
.contact__arrow {
  grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--on-coral); color: var(--coral); transition: transform .5s var(--pop);
}
.contact__arrow svg { width: 20px; height: 20px; }
.contact__item a:hover .contact__arrow { transform: rotate(-45deg) scale(1.08); }

/* ---------- 바닥 ---------- */
.footer { padding: 72px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.footer__logo img { height: 52px; width: auto; }
.footer__slogan { margin-top: 18px; font-size: 18px; font-weight: 700; color: var(--paper-2); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--paper-2); font-weight: 700; transition: color .2s; }
.footer__links a:hover { color: var(--paper); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--paper-3); }

/* ---------- 스크롤 등장 ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 문서(개인정보처리방침·이용약관) ---------- */
.doc { padding: 148px 0 96px; }
.doc__head .eyebrow { margin-bottom: 20px; }
.doc__title { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.025em; }
.doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; color: var(--paper-3); font-size: 15px; }
.badge-draft { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--coral); color: var(--on-coral); font-size: 13px; font-weight: 700; }
.doc__tabs { display: inline-flex; gap: 4px; margin-top: 32px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.doc__tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--paper-2); }
.doc__tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.doc__grid { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(32px, 6vw, 96px); margin-top: 64px; align-items: start; }
.toc { position: sticky; top: 104px; max-height: calc(100dvh - 128px); overflow: auto; }
.toc__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-3); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--paper-3); text-decoration: none; line-height: 1.45; transition: color .2s, background-color .2s; }
.toc a:hover, .toc a.is-active { color: var(--paper); background: rgba(243, 241, 234, .06); }
.prose { font-size: 17px; line-height: 1.85; color: var(--paper-2); }
.prose > p:first-child { font-size: 19px; color: var(--paper); }
.prose h2 { margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 24px; font-weight: 900; color: var(--paper); letter-spacing: -.01em; }
.prose h2 .n { color: var(--coral); margin-right: 10px; }
.prose h3 { margin: 32px 0 10px; font-size: 18px; font-weight: 700; color: var(--paper); line-height: 1.4; }
.prose h3 + p, .prose h3 + ul, .prose h3 + .table { margin-top: 0; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + .table, .prose .table + p, .prose ol + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 1.2em; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--coral); }
.prose strong { color: var(--paper); font-weight: 700; }
.prose a { color: var(--paper); text-decoration-color: var(--coral); text-underline-offset: 3px; }
.prose .note { font-size: 15px; color: var(--paper-3); }
.table { margin-top: 16px; overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { font-weight: 700; color: var(--paper); background: rgba(243, 241, 234, .04); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.doc__end { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--paper-3); font-size: 15px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 104px 0 64px max(var(--gutter), env(safe-area-inset-left)); gap: 40px; min-height: auto; }
  .hero__copy { padding-right: max(var(--gutter), env(safe-area-inset-right)); }
  .hero__stage { order: -1; height: clamp(220px, 52vw, 380px); min-height: 0; }
  .about__grid, .contact__grid, .games__head { grid-template-columns: 1fr; }
  .about__side { position: static; }
  .games__head p { justify-self: start; }
  .value { grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; }
  .value__desc { grid-column: 2; }
  .doc__grid { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .toc { position: static; max-height: none; padding: 20px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { padding: 0 16px; }
  .nav__logo img { height: 30px; }
  .key { min-width: 84px; height: 84px; font-size: 24px; border-radius: 22px; }
  .key--one { min-width: 84px; font-size: 36px; }
  .footer__links { gap: 0 24px; }
  .doc { padding-top: 120px; }
  .prose { font-size: 16px; }
  .table table { min-width: 0; font-size: 13.5px; }
  .table th, .table td { padding: 12px 10px; }
  .table th { white-space: normal; }
}
@media (max-width: 420px) {
  .nav__inner { gap: 10px; }
  .nav__right { gap: 6px; }
  .nav__cta { padding: 0 14px; font-size: 14px; }
  .lang button { min-width: 40px; padding: 0 10px; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .hero__cta .btn--ghost { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .slogan__line { overflow: visible; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .slogan__word, .js .hero .eyebrow, .js .hero__lead, .js .hero__cta, .js .pill, .js .pill__logo, .js .reveal { opacity: 1 !important; transform: none !important; }
}
