/* 올게임즈허브 공개 화면.
   분위기 (사용자 요청 2026-11-19, 참고 links-stream.com 사본 Asset/links-stream.com-archive 분석):
     흰 바탕 · 짙은 남색 띠 · 주황 포인트(테두리·화살표) · 파란 강조 판 · 연한 회청/하늘 판, 크고 가는 제목,
     둥근 모서리 16~26px, 푸른빛 옅은 그림자, 알약 버튼 + 동그란 화살표, 스크롤하면 떠오르는 효과.
   홈은 발표형 슬라이드(.slide), 하위 페이지는 문서형 구역(.section). 최종 마감은 Codex (AGENTS.md '디자인 작업').
   기준: 375px 가로 넘침 없음, 한글 keep-all, 누르는 곳 40px 안팎, 글자 대비 4.5:1 이상 (주황은 글자색으로 쓰지 않음).
   색은 아래 :root 값만 바꿉니다. */
@font-face {
  font-family: 'Esamanru';
  src: url('/assets/fonts/esamanru-medium.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Esamanru';
  src: url('/assets/fonts/esamanru-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --panel: #f6f9ff;
  --panel-blue: #e8f0ff;
  --line: #d7e3f6;
  --ink: #0b1836;
  --ink-2: #122e66;
  --text: #142447;
  --muted: #4d6080;
  --on-dark: #f4f7ff;
  --on-dark-muted: #c2d2ef;
  --accent: #ff742f;
  --accent-text: #173c98;
  --accent-soft: #ff9d61;
  --blue: #245be8;
  --blue-deep: #173c98;
  --frost: #cbdcff;
  --sky: #91b5ff;
  --blue-side: #1d4dc4;
  --cyan: #8de5ee;
  --edge: #c1d3f2;
  --edge-screen: #9eb9e6;
  --edge-dark: #07132e;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, .94);
  --white-line: rgba(255, 255, 255, .75);
  --glass: rgba(255, 255, 255, .09);
  --glass-line: rgba(203, 220, 255, .22);
  --grid-line: rgba(145, 181, 255, .13);
  --blue-glow: rgba(36, 91, 232, .16);
  --blue-glow-soft: rgba(36, 91, 232, .08);
  --cyan-glow: rgba(141, 229, 238, .23);
  --ink-shadow: rgba(11, 24, 54, .28);
  --caption-bg: rgba(11, 24, 54, .92);
  --surface: linear-gradient(145deg, var(--white), var(--panel-blue));
  --surface-blue: linear-gradient(145deg, var(--blue), var(--blue-deep));
  --surface-dark: radial-gradient(ellipse at 85% 0%, var(--blue-deep), transparent 65%), linear-gradient(135deg, var(--ink), var(--ink-2));
  --accent-surface: linear-gradient(145deg, var(--accent-soft), var(--accent));
  --infra-art: url('/assets/design/datacenter.webp');
  --consult-art: url('/assets/design/consult-hubbot.webp');
  --consult-bg: #031735;
  --provider-base: #08090b;
  --provider-edge: #25262a;
  --evolution-gold: #ca9b51;
  --pragmatic-orange: #f19021;
  --evolution-mark: url('/assets/brand/evolution-logo.svg');
  --pragmatic-mark: url('/assets/brand/pragmatic-logo.svg');
  --telegram-face: #0865a5;
  --telegram-light: #1379b8;
  --telegram-side: #084c84;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 6px 0 var(--edge), 0 20px 40px var(--blue-glow-soft);
  --shadow-screen: 0 9px 0 var(--edge-screen), 0 30px 50px var(--blue-glow), inset 0 1px 0 var(--white);
  --shadow-dark: 0 6px 0 var(--edge-dark), 0 20px 38px var(--ink-shadow);
  --header: 68px;
  --font: 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Esamanru', 'Noto Sans KR', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[id] { scroll-margin-top: calc(var(--header) + 12px); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--white); border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- 머리말 ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--white-soft); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-mark { width: 56px; height: 56px; flex: none; object-fit: contain; }
.brand-words { display: flex; flex-direction: column; line-height: 1.2; }
.brand-words strong { font-size: 1.125rem; }
.brand-words small { font-size: .625rem; letter-spacing: .13em; color: var(--muted); margin-top: 5px; }
.site-header .brand, .site-header nav { font-family: var(--font-display); }
.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a { color: var(--text); text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: .9375rem; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--blue); }
.desktop-nav a.nav-consult { margin-left: 10px; padding: 8px 18px; border: 1.5px solid var(--accent); }
.desktop-nav a.nav-consult:hover { background: var(--accent); color: var(--white); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); padding: 6px 16px 14px; background: var(--bg); }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a.mobile-consult { justify-content: center; margin-top: 10px; border: 1.5px solid var(--accent); border-radius: 999px; }
@media (max-width: 900px) {
  .js .desktop-nav { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .desktop-nav { flex-wrap: wrap; width: 100%; }
  .header-inner { flex-wrap: wrap; }
}
@media (min-width: 901px) { .mobile-nav { display: none; } }

/* ---------- 버튼·링크 ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.button:hover { border-color: var(--accent); }
.button.is-large { min-height: 52px; padding: 12px 26px; }
.button.is-primary { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button.is-primary:hover { background: var(--ink-2); }
.button.is-ghost { background: transparent; border-color: var(--white-line); color: var(--white); }
/* 알약 링크 + 동그란 주황 화살표 */
.pill-link { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 6px 6px 6px 22px; border: 1.5px solid var(--accent); border-radius: 999px; background: var(--bg); color: var(--text); font-weight: 700; text-decoration: none; transition: background .25s, color .25s; }
.pill-link:not(:has(.pill-arrow)) { padding-right: 22px; }
.pill-arrow { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--white); transition: transform .25s; }
.pill-link:hover .pill-arrow { transform: translateX(3px); }
.pill-link.is-solid { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill-link.is-light { background: transparent; border-color: var(--white-line); color: var(--white); }
.more-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 20px; font-weight: 700; text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.center-link { text-align: center; }

/* ---------- 발표형 홈: 진행 막대 · 점 목차 · 슬라이드 ---------- */
html:has(body.is-deck) { scroll-snap-type: y proximity; }
@media (max-width: 900px), (max-height: 640px), (prefers-reduced-motion: reduce) { html:has(body.is-deck) { scroll-snap-type: none; } }
.deck-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 3px; pointer-events: none; }
.deck-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.deck-nav { position: fixed; right: 20px; top: 50%; z-index: 55; display: none; flex-direction: column; gap: 4px; transform: translateY(-50%); }
.deck-nav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 28px; color: var(--muted); text-decoration: none; font-size: .8125rem; }
.deck-dot { order: 2; width: 9px; height: 9px; border-radius: 50%; background: var(--edge-screen); transition: transform .25s, background .25s; }
.deck-nav-label { order: 1; padding: 2px 10px; border-radius: 999px; background: var(--white-soft); box-shadow: var(--shadow); color: var(--text); opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; white-space: nowrap; }
.deck-nav a:hover .deck-nav-label, .deck-nav a:focus-visible .deck-nav-label, .deck-nav a.active .deck-nav-label { opacity: 1; transform: none; }
.deck-nav a.active .deck-dot { background: var(--accent); transform: scale(1.5); }
@media (min-width: 1200px) { .deck-nav { display: flex; } }

.slide { position: relative; display: flex; align-items: center; min-height: calc(100svh - var(--header)); padding: 80px 0; scroll-snap-align: start; }
.slide.is-tint { background: var(--panel); }
.slide.is-dark { background: var(--ink); color: var(--on-dark); }
.slide.is-blue { background: var(--blue); color: var(--white); }
.slide-inner { width: 100%; }
.slide-head { max-width: 860px; margin-bottom: 36px; }
.slide-no { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; color: var(--muted); font-size: .875rem; letter-spacing: .08em; }
.slide-no span { color: var(--accent-text); font-size: 1rem; font-weight: 700; }
.slide.is-dark .slide-no, .slide.is-blue .slide-no { color: var(--on-dark-muted); }
.slide.is-dark .slide-no span { color: var(--accent-soft); }
.slide.is-blue .slide-no, .slide.is-blue .slide-no span { color: var(--white); }
.slide h2 { font-size: clamp(1.75rem, 4.2vw, 3rem); font-weight: 400; letter-spacing: -.01em; }
.slide.is-dark h2, .slide.is-blue h2 { color: var(--white); }
.slide-lead { margin-top: 16px; font-size: 1.125rem; color: var(--muted); }
.slide.is-dark .slide-lead { color: var(--on-dark-muted); }
.slide.is-blue .slide-lead { color: var(--on-dark); }
.slide-more { margin-top: 36px; }
.slide.is-dark .pill-link:not(.is-solid) { background: transparent; color: var(--white); }
@media (max-width: 640px) { .slide { min-height: 0; padding: 56px 0; } .slide-head { margin-bottom: 26px; } }

/* 첫 장 (표지) */
.slide.is-cover { padding-top: 56px; text-align: center; }
.slide-inner.is-cover { display: flex; flex-direction: column; align-items: center; }
.slide.is-cover .slide-no { justify-content: center; }
.slide.is-cover h1 { font-size: clamp(2.25rem, 6.2vw, 4.5rem); font-weight: 400; letter-spacing: -.02em; }
.slide.is-cover .slide-lead { max-width: 760px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--panel); font-size: .9375rem; }
.fact-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); color: var(--blue); }
.cover-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.screen-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 18px; width: 100%; margin-top: 40px; padding: 22px; border-radius: var(--radius-lg); background: var(--panel); }
.screen { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 12px; background: var(--bg); box-shadow: var(--shadow); }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screen-caption { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--caption-bg); color: var(--white); font-size: .8125rem; }
.screen.is-placeholder { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--edge-screen); background: transparent; box-shadow: none; color: var(--muted); font-size: .875rem; font-weight: 700; }
@media (max-width: 760px) { .screen-panel { grid-template-columns: minmax(0, 1fr); padding: 14px; } }

/* 마지막 장 */
.slide.is-closing { min-height: auto; padding: 72px 0 96px; }
.closing-card { padding: 56px 48px; border-radius: var(--radius-lg); background: var(--blue); color: var(--white); text-align: center; }
.closing-card .slide-no { justify-content: center; color: var(--on-dark); }
.closing-card .slide-no span { color: var(--white); }
.closing-card h2 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); font-weight: 400; color: var(--white); }
.closing-card .slide-lead { max-width: 680px; margin: 14px auto 0; color: var(--on-dark); }
.closing-card .pill-link.is-solid { background: var(--white); border-color: var(--white); color: var(--ink); }
@media (max-width: 480px) { .closing-card { padding: 36px 20px; } }

/* 슬라이드 안 묶음 */
.deck-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .deck-split { grid-template-columns: minmax(0, 1fr); } }
.check-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 32px; }
.check-grid li { padding-top: 18px; border-top: 1px solid var(--glass-line); }
.check-no { display: block; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 400; line-height: 1; color: var(--accent-soft); }
.check-grid h3 { margin-top: 14px; font-size: 1.125rem; color: var(--white); }
.check-grid p { margin-top: 8px; color: var(--on-dark-muted); }
@media (max-width: 900px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .check-grid { grid-template-columns: minmax(0, 1fr); } }
.faq-list { max-width: 900px; }

/* 나타나기 효과 (스크립트가 있을 때만 숨겼다가 보이면 떠오름) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .slide-body.reveal { transition-delay: .08s; }
.js .slide-more.reveal { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 하위 페이지 첫 화면 카드 ---------- */
.hero-shell { padding: 20px 0 8px; }
.hero-card { position: relative; overflow: hidden; padding: 48px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
.hero-card.is-light { background: var(--panel); color: var(--text); padding: 40px 44px; }
.hero-card h1 { font-size: clamp(1.875rem, 4.6vw, 3.25rem); font-weight: 400; letter-spacing: -.01em; }
.hero-card.is-light h1 { margin-top: 12px; }
.hero-lead { max-width: 780px; margin-top: 16px; font-size: 1.0625rem; color: var(--muted); }
@media (max-width: 480px) { .hero-shell { padding-top: 12px; } .hero-card, .hero-card.is-light { padding: 28px 20px; border-radius: 20px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* 구역 바로가기 탭 */
.quick-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.quick-tabs a { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--text); font-size: .9375rem; text-decoration: none; transition: border-color .2s; }
.quick-tabs a:hover { border-color: var(--accent); }

/* ---------- 구역 (하위 페이지) ---------- */
.section { padding: 72px 0; }
.section.is-tint { background: var(--panel); }
.section-head { max-width: 800px; margin-bottom: 30px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 3.6vw, 2.375rem); font-weight: 400; letter-spacing: -.01em; }
.section-head p { margin-top: 12px; color: var(--muted); }
.section-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--panel-blue); color: var(--blue); }

.explain-box { padding: 26px 30px; margin-bottom: 28px; border-radius: var(--radius); background: var(--panel-blue); }
.explain-box > p { font-size: 1.0625rem; }
.explain-box.is-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: start; margin-bottom: 0; padding: 36px; }
.explain-box.is-split .section-head { margin-bottom: 0; }
@media (max-width: 800px) { .explain-box.is-split { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; } }

/* 카드 묶음 (가운데 강조) */
.package-grid { display: grid; gap: 18px; }
.package-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.package-card { display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius); background: var(--panel); color: var(--text); transition: transform .3s, box-shadow .3s; }
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section.is-tint .package-card, .slide.is-tint .package-card, .slide.is-blue .package-card { background: var(--bg); }
.package-card h3 { font-size: 1.25rem; font-weight: 700; }
.package-card p { margin-top: 8px; color: var(--muted); }
.package-card .check-list { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.package-card .more-link { margin-top: auto; padding-top: 12px; }
.package-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--panel-blue); color: var(--blue); }
.package-card.is-featured, .slide.is-blue .package-card.is-featured { background: var(--ink); color: var(--on-dark); }
.package-card.is-featured h3 { color: var(--white); }
.package-card.is-featured p, .package-card.is-featured .check-list li { color: var(--on-dark-muted); }
.package-card.is-featured .check-list { border-color: var(--glass-line); }
.package-card.is-featured .check-list li::before { border-color: var(--accent-soft); }
.package-card.is-featured .package-icon { background: var(--glass); color: var(--accent-soft); }
.package-card.is-featured a { color: var(--white); }
@media (max-width: 1000px) { .package-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .package-grid.is-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .package-grid.is-4 { grid-template-columns: minmax(0, 1fr); } }

.check-list { list-style: none; display: grid; gap: 7px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.check-list.is-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 640px) { .check-list.is-columns { grid-template-columns: minmax(0, 1fr); } }

/* 좌우로 나눈 구역 (is-reverse: 머리가 오른쪽) */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.split.is-reverse > .split-head { order: 2; }
.split-head .section-head { margin-bottom: 0; }
.point-list { display: grid; gap: 14px; }
.point { padding: 22px 24px; border-radius: var(--radius); background: var(--panel); }
.section.is-tint .point, .slide.is-tint .point { background: var(--bg); }
.point h3 { font-size: 1.0625rem; }
.point p { margin-top: 6px; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 24px; } .split.is-reverse > .split-head { order: 0; } }

/* 흐름 그림 (세로) */
.flow-visual { list-style: none; display: grid; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); }
.flow-visual li { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 16px; border: 1px solid var(--glass-line); border-radius: 12px; background: var(--glass); }
.flow-visual li:not(:last-child)::after { content: ''; position: absolute; left: 33px; bottom: -15px; height: 14px; border-left: 2px dashed var(--accent-soft); }

/* 단계 카드 (짝수 칸은 하늘색) */
.step-no { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 700; font-size: .875rem; }
.step-cards { list-style: none; display: grid; gap: 14px; }
.step-cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-cards.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step-cards.is-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-card { padding: 24px 22px; border-radius: var(--radius); background: var(--panel); transition: transform .3s; }
.step-card:nth-child(even) { background: var(--panel-blue); }
.section.is-tint .step-card, .slide.is-tint .step-card { background: var(--bg); }
.section.is-tint .step-card:nth-child(even), .slide.is-tint .step-card:nth-child(even) { background: var(--panel-blue); }
.step-card:hover { transform: translateY(-3px); }
.step-card h3 { margin-top: 16px; font-size: 1.125rem; font-weight: 700; }
.step-card p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
@media (max-width: 1100px) { .step-cards.is-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .step-cards.is-4, .step-cards.is-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .step-cards.is-4, .step-cards.is-5, .step-cards.is-6 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 분양 샘플 (하위 페이지) ---------- */
.sample-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sample-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.sample-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-blue); }
.sample-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.sample-shot:hover img { transform: scale(1.02); }
.sample-body { padding: 18px 22px 22px; }
.sample-body h3 { font-size: 1.125rem; }
.sample-body p { margin-top: 8px; color: var(--muted); }
.sample-body .check-list { margin-top: 12px; }
.sample-card.is-placeholder { background: transparent; border: 2px dashed var(--edge-screen); }
.sample-card.is-placeholder .sample-shot { display: flex; align-items: center; justify-content: center; background: transparent; color: var(--muted); font-weight: 700; font-size: .9375rem; }
@media (max-width: 640px) { .sample-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 업데이트 기록 ---------- */
.update-list { list-style: none; display: grid; max-width: 880px; border-top: 1px solid var(--line); }
.update-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.update-list time { color: var(--blue); font-weight: 700; }
@media (max-width: 480px) { .update-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- 연동 게임사 ---------- */
.provider-group + .provider-group { margin-top: 22px; }
.provider-group h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.provider-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.provider-list li { padding: 8px 16px; border-radius: 999px; background: var(--panel); }

/* ---------- 다음 페이지·슬롯 분양 카드 ---------- */
.next-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 36px; border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow); }
.next-card > div { max-width: 760px; }
.next-card h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); font-weight: 400; }
.next-card p { margin-top: 8px; color: var(--muted); }
.next-card .more-link { margin-top: 0; }
.next-card.is-accent { background: var(--panel-blue); box-shadow: none; }
@media (max-width: 480px) { .next-card { padding: 24px 20px; } }

/* ---------- 자주 묻는 질문 (펼치는 목록) ---------- */
.faq { padding: 72px 0; max-width: 900px; margin: 0 auto; }
.faq h2 { font-size: clamp(1.5rem, 3.6vw, 2.375rem); font-weight: 400; margin-bottom: 22px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 4px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent-text); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item h3 { font-size: 1.0625rem; font-weight: 400; }
.faq-item p { padding: 0 4px 20px; color: var(--muted); }

/* ---------- 상담 띠 (하위 페이지) ---------- */
.cta-band-wrap { padding: 0 0 72px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 44px; border-radius: var(--radius-lg); background: var(--blue); color: var(--white); }
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.125rem); font-weight: 400; color: var(--white); }
.cta-band p { margin-top: 8px; color: var(--on-dark); }
.cta-band .button.is-primary { background: var(--white); border-color: var(--white); color: var(--ink); }
@media (max-width: 480px) { .cta-band { padding: 28px 20px; } }

/* ---------- 꼬리말 ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 32px 0; font-size: .9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-brand { display: grid; gap: 12px; }
.footer-brand .brand { margin-right: 0; color: var(--white); }
.footer-brand .brand-mark { width: 72px; height: 72px; }
.footer-brand .brand-words strong { font-size: 1.375rem; }
.footer-brand .brand-words small { color: var(--on-dark-muted); }
.footer-operator { margin-left: 82px; font-size: .8125rem; }
.footer-brand strong { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; color: var(--on-dark); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- 오류 화면 ---------- */
.message-page { padding: 80px 0; text-align: center; }
.message-page h1 { font-size: 1.75rem; font-weight: 400; }
.message-page p { margin: 12px 0 24px; color: var(--muted); }

/* ---------- 발표 슬라이드 부품 (사용자 발표자료 2026-11-19) ---------- */
.tagline { max-width: 900px; margin-top: 18px; font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.5; color: var(--text); }
.slide.is-cover .slide-lead { margin-top: 12px; font-size: 1rem; }
.pill-link.is-white { background: var(--white); border-color: var(--white); color: var(--ink); }

/* 운영자가 겪는 문제 (어두운 장): 문제 → 해결 장으로 가는 링크 */
.problem-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.problem-grid li { padding-top: 18px; border-top: 1px solid var(--glass-line); }
.problem-grid h3 { margin-top: 14px; font-size: 1.1875rem; font-weight: 400; color: var(--white); }
.problem-answer { display: inline-flex; align-items: center; min-height: 40px; margin-top: 12px; color: var(--accent-soft); text-decoration: none; font-weight: 700; }
.problem-answer::before { content: '→'; margin-right: 8px; }
.problem-answer:hover { text-decoration: underline; }
@media (max-width: 1000px) { .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .problem-grid { grid-template-columns: minmax(0, 1fr); } }

/* 구성 한 장 (세 줄 연결 그림) */
.arch { display: grid; justify-items: center; gap: 0; padding: 36px 24px; border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow); }
.arch-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.arch-row li { min-width: 150px; padding: 16px 22px; border-radius: var(--radius); background: var(--panel); text-align: center; font-weight: 700; }
.arch-row.is-vendors li { background: var(--panel-blue); color: var(--blue-deep); }
.arch-link { width: 2px; height: 34px; background: repeating-linear-gradient(to bottom, var(--accent) 0 6px, transparent 6px 11px); }
.arch-core { padding: 18px 34px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; }

/* 기능 목록 + 화면 두 자리 */
.feature-screens { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.feature-screens.is-reverse > .feature-text { order: 2; }
.check-list.is-large { gap: 14px; font-size: 1.125rem; }
.check-list.is-large li::before { top: .65em; }
.screen-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.screen-stack .screen.is-placeholder { aspect-ratio: 4 / 3; }
.screen.is-placeholder span { padding: 0 12px; text-align: center; }
.tier-chain { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.tier-chain li { padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; }
.tier-chain li + li::before { content: '›'; margin-right: 12px; margin-left: -4px; color: var(--accent); }
@media (max-width: 900px) { .feature-screens { grid-template-columns: minmax(0, 1fr); gap: 26px; } .feature-screens.is-reverse > .feature-text { order: 0; } }
@media (max-width: 480px) { .screen-stack { grid-template-columns: minmax(0, 1fr); } }

/* 안정성·보안 (어두운 장) */
.dark-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.dark-item { padding-top: 18px; border-top: 2px solid var(--accent); }
.dark-item h3 { font-size: 1.25rem; font-weight: 400; color: var(--white); }
.dark-item p { margin-top: 8px; color: var(--on-dark-muted); }
.dark-item .proof { margin-top: 12px; color: var(--white); font-weight: 700; }
.dark-item .proof time { font-weight: 400; color: var(--on-dark-muted); }
@media (max-width: 1000px) { .dark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dark-grid { grid-template-columns: minmax(0, 1fr); } }

/* 분양 방식·옵션 (큰 칸) */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.tile { padding: 28px 24px; border-radius: var(--radius); background: var(--panel); }
.slide.is-tint .tile { background: var(--bg); }
.tile:nth-child(even) { background: var(--panel-blue); }
.tile h3 { font-size: 1.25rem; font-weight: 700; }
.tile p { margin-top: 10px; color: var(--muted); }
@media (max-width: 1000px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tile-grid, .tile-grid.is-two { grid-template-columns: minmax(0, 1fr); } }

/* 라이브 데모 (파란 장): 돈이 한 바퀴 도는 순서 */
.demo-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.demo-steps li { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-line); }
.demo-no { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--blue-deep); font-weight: 700; }
.demo-who { font-size: .875rem; color: var(--on-dark); }
.demo-text { font-weight: 700; color: var(--white); }
.slide.is-blue .slide-more { margin-top: 32px; }
@media (max-width: 1000px) { .demo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .demo-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 홈 중반 이후: 효과 없는 일반 구역 (사용자 요청 2026-11-19) ---------- */
.section.is-dark { background: var(--ink); color: var(--on-dark); }
.section.is-dark .section-head h2, .section.is-blue .section-head h2 { color: var(--white); }
.section.is-dark .section-head p { color: var(--on-dark-muted); }
.section.is-blue { background: var(--blue); color: var(--white); }
.section.is-blue .section-head p { color: var(--on-dark); }
.section.is-tint .tile { background: var(--bg); }
.section.is-tint .tile:nth-child(even) { background: var(--panel-blue); }
.section-more { margin-top: 32px; }
.section.is-closing { padding-top: 24px; }
.closing-card h2 + .slide-lead { color: var(--on-dark); }
.feature-text.is-wide { max-width: 980px; }
/* 점 목차는 위쪽 발표 장을 보는 동안만 */
.deck-nav.is-off { opacity: 0; pointer-events: none; }
.deck-nav { transition: opacity .3s; }

/* 기본 구성 (카지노 · 슬롯 · 스포츠 · 미니게임) */
.tile.is-game { display: flex; align-items: center; gap: 14px; }
.tile.is-game .package-icon { margin-bottom: 0; background: var(--bg); }
.game-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; padding: 18px 22px; border-radius: var(--radius); background: var(--panel-blue); }
.game-line h3 { font-size: 1.0625rem; }

/* ---------- 블루 세라믹 · 데이터센터 (승인된 디자인, 2026-11-19) ----------
   색의 밝기 단계, 윗면 하이라이트, 옆면 두께, 바닥 그림자를 모든 공개 페이지에 공유합니다.
   실제 콘텐츠·제목·구역 순서는 서버 HTML 그대로. 입체 장식은 가독성과 클릭을 가리지 않습니다. */
body { background: var(--panel); }
.wrap { max-width: 1280px; }
.site-header { background: var(--white-soft); box-shadow: 0 4px 24px var(--blue-glow-soft); }
.brand-mark { border-radius: 0; box-shadow: none; }
.desktop-nav a[aria-current="page"] { background: var(--panel-blue); }
.desktop-nav a.nav-consult { background: var(--surface); box-shadow: 0 3px 0 var(--edge); }
.desktop-nav a.nav-consult:hover { background: var(--panel-blue); color: var(--ink); }
.menu-toggle { background: var(--surface); box-shadow: 0 3px 0 var(--edge); }
.mobile-nav a[aria-current="page"] { color: var(--blue-deep); font-weight: 700; }
.skip-link { z-index: 110; }
.pill-link, .button { box-shadow: 0 4px 0 var(--edge), 0 12px 24px var(--blue-glow-soft); }
.pill-link { gap: 14px; font-size: .9375rem; }
.pill-arrow { flex: none; background: var(--accent-surface); color: var(--ink); box-shadow: inset 0 1px 0 var(--white-line); }
.pill-link.is-solid, .button.is-primary { background: var(--surface-blue); border-color: var(--blue); box-shadow: 0 4px 0 var(--blue-deep), 0 14px 28px var(--blue-glow); }
.pill-link.is-light, .button.is-ghost { background: var(--glass); border-color: var(--glass-line); box-shadow: 0 4px 0 var(--edge-dark); }
.pill-link.is-white { box-shadow: 0 4px 0 var(--edge-screen), 0 14px 28px var(--ink-shadow); }
.more-link { color: var(--blue-deep); }
.more-link svg { flex: none; color: var(--blue); }
.deck-nav a { min-height: 40px; min-width: 40px; }
.deck-dot { background: var(--edge-screen); box-shadow: 0 2px 0 var(--line); }
.deck-nav-label { box-shadow: 0 4px 14px var(--blue-glow-soft); }
.slide { padding: 76px 0; overflow: clip; }
.slide-no { margin-bottom: 16px; font-size: .75rem; }
.slide-no::before { content: ''; width: 26px; height: 2px; align-self: center; background: var(--accent); }
.slide-no span { color: var(--blue-deep); }
.slide.is-dark .slide-no span { color: var(--on-dark); }
.slide h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); letter-spacing: -.035em; }
.slide.is-tint { background: radial-gradient(ellipse at 15% 0%, var(--white), transparent 65%), var(--panel-blue); }
.slide.is-dark, .section.is-dark { background: var(--surface-dark); }
.slide.is-blue, .section.is-blue { background: var(--surface-blue); }
.slide.is-cover { padding: 42px 0 54px; background: radial-gradient(ellipse at 50% 80%, var(--blue-glow), transparent 54%), radial-gradient(ellipse at 92% 50%, var(--cyan-glow), transparent 42%), linear-gradient(160deg, var(--white), var(--panel) 50%, var(--panel-blue)); }
.slide.is-cover h1 { font-size: clamp(2.6rem, 5.6vw, 4.75rem); letter-spacing: -.05em; }
.tagline { max-width: 820px; margin-top: 16px; font-size: clamp(1.125rem, 2vw, 1.5rem); }
.slide.is-cover .slide-lead { max-width: 800px; font-size: .9375rem; line-height: 1.85; }
.cover-actions { gap: 16px; margin-top: 14px; }

/* 회원 PC 화면 세 장: 중앙이 가장 앞, 양쪽은 뒤. 캡션은 원본 이미지를 덮지 않습니다. */
.screen-panel { display: block; position: relative; isolation: isolate; height: clamp(280px, 29vw, 390px); margin-top: 28px; padding: 0; background: transparent; perspective: 1400px; }
.screen-panel::before { content: ''; position: absolute; inset: 25% 8% 4%; border-radius: 50%; background: radial-gradient(ellipse, var(--blue-glow), transparent 68%); transform: rotateX(55deg); z-index: -1; }
.screen { aspect-ratio: 16 / 10; padding: 8px 8px 35px; border: 1px solid var(--white); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-screen); overflow: hidden; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px; }
.screen-panel .screen { position: absolute; width: 39%; top: 32px; }
.screen-panel .screen:first-child { left: 1%; transform: rotateY(10deg) rotateZ(-4deg); z-index: 1; }
.screen-panel .screen:nth-child(2) { width: 48%; left: 26%; top: 3px; transform: rotateX(4deg); z-index: 3; }
.screen-panel .screen:last-child { right: 1%; transform: rotateY(-10deg) rotateZ(4deg); z-index: 2; }
.screen-panel .screen:focus-visible { z-index: 4; }
.screen-caption { left: 15px; bottom: 7px; padding: 0; border-radius: 0; background: transparent; color: var(--text); font-size: .6875rem; line-height: 1.4; }
.screen.is-placeholder { background: var(--surface); box-shadow: var(--shadow); border: 1px dashed var(--edge-screen); }
.screen-stack { gap: 20px; perspective: 1200px; padding: 10px 0 28px; }
.screen-stack .screen { aspect-ratio: 4 / 3; }
.screen-stack .screen:last-child { margin-top: 36px; }
.screen-stack .screen img { object-fit: cover; }
.feature-screens { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 44px; }

/* 문제·보안 패널: 남색 안에서도 표면과 옆면을 구분합니다. */
.problem-grid { gap: 18px; padding-bottom: 12px; }
.problem-grid li, .dark-item { position: relative; padding: 28px 22px; border: 1px solid var(--glass-line); border-radius: 20px; background: linear-gradient(145deg, var(--glass), transparent); box-shadow: var(--shadow-dark); }
.problem-grid li::before, .dark-item::before { content: ''; position: absolute; top: 0; left: 24px; width: 36px; height: 2px; background: var(--accent-surface); }
.check-no { color: var(--sky); }
.problem-answer { color: var(--on-dark); font-size: .875rem; }
.problem-answer::before { color: var(--accent); }
.problem-grid h3 { min-height: 3.1em; line-height: 1.55; }
.dark-grid { gap: 18px; }
.dark-item h3 { font-size: 1.125rem; }
.dark-item p { font-size: .9375rem; }

/* 데이터센터 구성: 생성 일러스트와 원래의 서버 HTML 구성도를 한 판에 배치. */
.arch { position: relative; isolation: isolate; min-height: 410px; padding: 36px 32px 36px 49%; border: 1px solid var(--white); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.arch::before { content: ''; position: absolute; left: 1%; top: 8%; bottom: 8%; width: 46%; background: var(--infra-art) center / contain no-repeat; border-radius: 22px; z-index: -1; }
.arch-row { gap: 12px; width: 100%; }
.arch-row li { min-width: 0; flex: 1; padding: 17px 10px; font-size: .9375rem; border: 1px solid var(--white); border-radius: 12px; background: var(--surface); box-shadow: 0 5px 0 var(--edge), 0 12px 20px var(--blue-glow-soft); }
.arch-row.is-vendors li { background: linear-gradient(145deg, var(--frost), var(--panel-blue)); color: var(--blue-deep); }
.arch-core { position: relative; width: 94%; text-align: center; padding: 22px 15px; border-radius: 12px; background: var(--surface-blue); box-shadow: 0 7px 0 var(--blue-deep), 0 18px 30px var(--blue-glow); border-top: 1px solid var(--sky); }
.arch-core::before { content: ''; position: absolute; left: 14px; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 8px 0 var(--cyan); }
.arch-link { height: 32px; }

/* 구역과 하위 페이지 머리: 같은 조명 아래의 계단식 표면. */
.section { padding: 80px 0; background: var(--white); }
.section.is-tint { background: linear-gradient(145deg, var(--panel), var(--panel-blue)); border-block: 1px solid var(--line); }
.section-head h2, .split-head h2, .faq h2 { letter-spacing: -.035em; }
.section-icon, .package-icon { background: var(--surface); color: var(--blue-deep); border: 1px solid var(--white); box-shadow: 0 4px 0 var(--edge), 0 9px 16px var(--blue-glow-soft); border-radius: 13px; }
.hero-shell { padding-top: 30px; }
.hero-card.is-light { position: relative; isolation: isolate; padding: 44px 48px; border: 1px solid var(--white); background: radial-gradient(ellipse at 90% 10%, var(--cyan-glow), transparent 44%), var(--surface); box-shadow: var(--shadow); }
.hero-card.is-light::before { content: ''; position: absolute; right: 22px; top: 10px; width: 28%; height: 210px; background: var(--infra-art) center / contain no-repeat; mask-image: radial-gradient(ellipse, var(--ink) 52%, transparent 76%); z-index: -1; pointer-events: none; }
.hero-card.is-light h1, .hero-card.is-light .hero-lead { max-width: 67%; }
.hero-card h1 { letter-spacing: -.045em; }
.hero-lead { line-height: 1.85; }
.crumbs { position: relative; font-size: .8125rem; }
.crumbs a, .crumbs span { display: inline-flex; min-height: 40px; align-items: center; }
.quick-tabs { position: relative; gap: 10px; margin-top: 28px; }
.quick-tabs a { border-color: var(--white); background: var(--white-soft); box-shadow: 0 3px 0 var(--edge); }
.quick-tabs a:hover { color: var(--blue-deep); background: var(--white); }
.package-card, .tile, .point, .step-card { border: 1px solid var(--white); background: var(--surface); box-shadow: var(--shadow); }
.package-card { padding: 28px 24px; }
.package-card:hover { transform: none; box-shadow: var(--shadow); }
.package-card h3, .tile h3 { font-size: 1.125rem; }
.package-card p { font-size: .9375rem; }
.section.is-tint .package-card, .slide.is-tint .package-card, .slide.is-blue .package-card { background: var(--surface); }
.package-card.is-featured, .slide.is-blue .package-card.is-featured { border-color: var(--glass-line); background: var(--surface-blue); box-shadow: 0 6px 0 var(--blue-deep), 0 20px 35px var(--blue-glow); }
.package-card.is-featured .package-icon { background: var(--glass); color: var(--on-dark); border-color: var(--glass-line); box-shadow: 0 4px 0 var(--blue-deep); }
.package-card.is-featured p, .package-card.is-featured .check-list li { color: var(--on-dark); }
.package-card.is-featured .more-link svg { color: var(--on-dark); }
.check-list li::before { border-color: var(--blue); }
.tile-grid { gap: 20px; padding-bottom: 12px; }
.tile, .section.is-tint .tile { background: var(--surface); }
.tile:nth-child(2), .section.is-tint .tile:nth-child(2) { background: linear-gradient(145deg, var(--panel-blue), var(--frost)); }
.tile:nth-child(3), .section.is-tint .tile:nth-child(3) { background: linear-gradient(145deg, var(--frost), var(--sky)); }
.tile:nth-child(4), .section.is-tint .tile:nth-child(4) { background: var(--surface-blue); color: var(--white); border-color: var(--sky); box-shadow: 0 6px 0 var(--blue-deep), 0 20px 40px var(--blue-glow-soft); }
.tile:nth-child(4) p { color: var(--on-dark); }
.tile:nth-child(3) p { color: var(--ink-2); }
.tile.is-game .package-icon { background: var(--surface); }
.game-line { margin-top: 30px; background: var(--surface); border: 1px solid var(--white); box-shadow: 0 4px 0 var(--edge); }
.provider-list li { background: var(--white); color: var(--text); }
.point-list { gap: 20px; }
.point, .section.is-tint .point { position: relative; padding: 26px 28px; background: var(--surface); }
.point:nth-child(2) { background: linear-gradient(145deg, var(--white), var(--frost)); }
.point::before { content: ''; position: absolute; left: 0; top: 26px; height: 28px; width: 3px; background: var(--blue); border-radius: 3px; }
.point p { font-size: .9375rem; }
.split { gap: 64px; }
#structure .split-head::after, #credit .split-head::after { content: ''; display: block; width: 100%; max-width: 440px; height: 260px; margin-top: 28px; border-radius: 24px; background: var(--infra-art) center / contain no-repeat; }
.explain-box, .next-card.is-accent { border: 1px solid var(--white); background: linear-gradient(135deg, var(--panel-blue), var(--frost)); box-shadow: var(--shadow); }
.next-card { border: 1px solid var(--white); background: var(--surface); }
.next-card > div { max-width: 760px; }
.next-card p { max-width: 720px; }
.next-card .more-link { flex-shrink: 0; }

/* 단계 패널: 위치보다 색의 깊이가 순서를 보여 줍니다. 모바일에서는 수직으로 이어짐. */
.step-cards { gap: 18px; padding-bottom: 18px; }
.step-card, .section.is-tint .step-card { position: relative; background: var(--surface); padding: 25px 21px; }
.step-card:nth-child(2), .section.is-tint .step-card:nth-child(2) { background: linear-gradient(145deg, var(--panel-blue), var(--frost)); }
.step-card:nth-child(3), .section.is-tint .step-card:nth-child(3) { background: linear-gradient(145deg, var(--frost), var(--sky)); }
.step-card:nth-child(n+4), .section.is-tint .step-card:nth-child(n+4) { background: var(--surface-blue); border-color: var(--sky); color: var(--white); box-shadow: 0 6px 0 var(--blue-deep), 0 20px 40px var(--blue-glow-soft); }
.step-card:nth-child(5), .section.is-tint .step-card:nth-child(5) { background: var(--surface-dark); box-shadow: var(--shadow-dark); }
.step-card:nth-child(n+4) p { color: var(--on-dark); }
.step-card:nth-child(3) p { color: var(--ink-2); }
.step-card:hover { transform: none; }
.step-no { background: var(--white); color: var(--blue-deep); border: 1px solid var(--line); box-shadow: 0 3px 0 var(--edge); }
.step-card h3 { font-size: 1rem; line-height: 1.6; }
.step-card p { font-size: .875rem; line-height: 1.85; }
.tier-chain { gap: 14px; margin-bottom: 32px; padding-bottom: 12px; }
.tier-chain li { position: relative; min-width: 110px; padding: 13px 22px; border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 5px 0 var(--edge); border: 1px solid var(--white); }
.tier-chain li:nth-child(2) { margin-top: 10px; background: linear-gradient(145deg, var(--frost), var(--sky)); }
.tier-chain li:nth-child(3) { margin-top: 20px; background: var(--surface-blue); color: var(--white); border-color: var(--sky); box-shadow: 0 5px 0 var(--blue-deep); }
.tier-chain li:nth-child(4) { margin-top: 30px; background: var(--surface-dark); color: var(--white); border-color: var(--glass-line); box-shadow: 0 5px 0 var(--edge-dark); }
.tier-chain li + li::before { position: absolute; left: -11px; top: 10px; margin: 0; color: var(--accent); }
.feature-text.is-wide { max-width: none; }
.feature-text.is-wide .check-list { gap: 16px 24px; }
.feature-text.is-wide .check-list li { padding: 20px 22px 20px 49px; border: 1px solid var(--white); border-radius: 14px; background: var(--surface); box-shadow: 0 4px 0 var(--edge); font-size: 1rem; }
.feature-text.is-wide .check-list li::before { left: 23px; top: 1.9em; }

/* 샘플·FAQ·데모·상담도 같은 재질. 하단에는 등장/마우스 추적 애니메이션을 더하지 않습니다. */
.sample-list { gap: 32px; }
.sample-card { border: 1px solid var(--white); background: var(--surface); box-shadow: var(--shadow); border-radius: 22px; }
.sample-shot { margin: 10px 10px 0; border-radius: 14px; background: var(--panel-blue); }
.sample-shot:hover img { transform: none; }
.sample-body { padding: 24px; }
.sample-kind { display: inline-flex; margin-bottom: 9px; padding: 4px 10px; border-radius: 999px; background: var(--panel-blue); color: var(--blue-deep); font-size: .75rem; }
.sample-body p { font-size: .9375rem; }
.sample-body .check-list { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .875rem; }
.sample-body .check-list li { padding-left: 20px; }
.faq { max-width: 940px; }
.faq-item { margin-top: 14px; padding: 0 22px; border: 1px solid var(--white); border-radius: 14px; background: var(--surface); box-shadow: 0 4px 0 var(--edge); }
.faq-item:first-child { border-top: 1px solid var(--white); }
.faq-item summary { min-height: 68px; }
.faq-item summary::after { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-blue); color: var(--blue-deep); }
.faq-item[open] { background: var(--white); }
.faq-item p { padding-bottom: 24px; font-size: .9375rem; }
.demo-steps { gap: 20px; }
.demo-steps li { padding: 24px 20px; border-color: var(--glass-line); background: var(--glass); box-shadow: 0 5px 0 var(--blue-deep), 0 14px 24px var(--ink-shadow); }
.demo-no { box-shadow: 0 3px 0 var(--edge-screen); }
.demo-who { color: var(--white); }
.closing-card, .cta-band { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--sky); background: var(--surface-blue); box-shadow: 0 7px 0 var(--blue-deep), 0 22px 44px var(--blue-glow); }
.closing-card::before, .cta-band::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, var(--ink)); pointer-events: none; }
.closing-card { padding: 52px 44px; }
.closing-card .cover-actions { margin-top: 26px; }
.cta-band .button.is-primary { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 0 4px 0 var(--edge-screen); }
.site-footer { padding: 38px 0; border-top: 1px solid var(--glass-line); background: var(--surface-dark); }
.update-list { max-width: none; }
.update-list li { background: var(--panel); padding-inline: 18px; }
.message-page { min-height: 70svh; background: var(--surface); }

@media (min-width: 1101px) {
  .step-cards .step-card:nth-child(2) { margin-top: 8px; }
  .step-cards .step-card:nth-child(3) { margin-top: 16px; }
  .step-cards .step-card:nth-child(4) { margin-top: 24px; }
  .step-cards .step-card:nth-child(5) { margin-top: 32px; }
}
@media (max-width: 1100px) {
  .arch { padding-left: 42%; }
  .arch::before { width: 39%; }
  .arch-row li { font-size: .875rem; }
  .hero-card.is-light { padding: 36px; }
  .hero-card.is-light h1, .hero-card.is-light .hero-lead { max-width: 68%; }
  .hero-card.is-light::before { right: 0; width: 25%; opacity: .35; }
}
@media (max-width: 900px) {
  .slide { padding: 56px 0; }
  .section { padding: 64px 0; }
  .feature-screens, .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .arch { padding: 265px 26px 30px; min-height: 0; }
  .arch::before { top: 8px; left: 15%; bottom: auto; width: 70%; height: 235px; }
  .screen-stack { max-width: 740px; }
  #structure .split-head::after, #credit .split-head::after { height: 220px; margin: 18px auto 0; }
  .hero-card.is-light h1, .hero-card.is-light .hero-lead { max-width: 100%; }
  .hero-card.is-light::before { display: none; }
}
@media (max-width: 760px) {
  .screen-panel { height: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 8px 5px 30px; margin-top: 24px; }
  .screen-panel .screen, .screen-panel .screen:first-child, .screen-panel .screen:nth-child(2), .screen-panel .screen:last-child { position: relative; display: block; width: 100%; left: auto; right: auto; top: auto; transform: none; }
  .screen-panel .screen:nth-child(2) { order: -1; }
  .screen-panel::before { display: none; }
  .screen-panel .screen { padding: 7px 7px 32px; }
  .cover-actions { margin-top: 0; }
  .screen-stack .screen:last-child { margin-top: 0; }
}
@media (max-width: 640px) {
  .slide.is-cover { padding: 30px 0 44px; }
  .slide.is-cover h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .slide.is-cover .slide-lead { font-size: .875rem; }
  .slide-no { margin-bottom: 14px; }
  .slide, .section { min-height: 0; padding: 48px 0; }
  .tagline { font-size: 1.125rem; }
  .slide-head { margin-bottom: 26px; }
  .slide-lead { font-size: 1rem; }
  .hero-shell { padding-top: 18px; }
  .hero-card.is-light { padding: 28px 22px; border-radius: 22px; }
  .hero-card h1 { font-size: 1.875rem; }
  .hero-lead { font-size: .9375rem; }
  .quick-tabs { gap: 9px; margin-top: 22px; }
  .quick-tabs a { font-size: .8125rem; padding: 6px 13px; min-height: 44px; }
  .arch { padding: 220px 16px 28px; }
  .arch::before { left: 5%; width: 90%; height: 200px; }
  .arch-row { gap: 8px; }
  .arch-row li { padding: 13px 7px; font-size: .8125rem; }
  .arch-core { font-size: .9375rem; padding: 20px 12px; }
  .problem-grid li, .dark-item { padding: 24px 22px; }
  .problem-grid h3 { min-height: 0; }
  .package-grid, .tile-grid, .dark-grid, .problem-grid { gap: 20px; }
  .check-list.is-large { font-size: 1rem; }
  .feature-text.is-wide .check-list li { padding: 17px 18px 17px 44px; font-size: .9375rem; }
  .feature-text.is-wide .check-list li::before { left: 20px; top: 1.8em; }
  .tier-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
  .tier-chain li { min-width: 0; padding: 12px 5px; text-align: center; font-size: .8125rem; }
  .tier-chain li + li::before { left: -8px; }
  .sample-list { gap: 28px; }
  .sample-body { padding: 22px; }
  .point { padding: 24px; }
  .next-card { padding: 26px 22px; }
  .faq { padding: 52px 0; }
  .faq-item { padding: 0 17px; }
  .faq-item h3 { font-size: .9375rem; }
  .closing-card, .cta-band { padding: 34px 22px; }
  .pill-link { max-width: 100%; padding-left: 16px; gap: 10px; font-size: .875rem; }
  .pill-link:not(:has(.pill-arrow)) { padding-right: 16px; }
  .pill-arrow { width: 34px; height: 34px; }
  .button { max-width: 100%; font-size: .875rem; }
  .footer-links a { padding-inline: 6px; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .screen-panel .screen { transform: none !important; }
}

/* 게임룸 합성·캐릭터 배경 위에 공식 로고를 겹칩니다. 브랜드 원래 색상과 로고 비율을 유지합니다. */
.screen-stack .screen[data-provider] { align-self: start; aspect-ratio: 1 / 1.12; padding: 8px 8px 40px; background: var(--provider-base); border-color: var(--provider-edge); box-shadow: 0 7px 0 var(--provider-edge), 0 22px 38px var(--ink-shadow); }
.screen-stack .screen[data-provider] img { padding: 0; object-fit: cover; object-position: center; background: var(--provider-base); }
.screen-stack .screen[data-provider="evolution"] { border-top: 3px solid var(--evolution-gold); }
.provider-wordmark { position: absolute; z-index: 1; display: block; top: 6%; left: 10%; width: 80%; height: 16%; background: var(--evolution-mark) center / contain no-repeat; }
.screen-stack .screen[data-provider="pragmatic"] { border-top: 3px solid var(--pragmatic-orange); }
.screen[data-provider="pragmatic"] .provider-wordmark { top: 3%; height: 27%; background-image: var(--pragmatic-mark); }
.screen-stack .screen[data-provider] .screen-caption { color: var(--white); font-size: .75rem; bottom: 10px; }

/* 종이비행기 심볼과 옆면 두께가 있는 공통 상담 버튼. */
.telegram-button, .desktop-nav a.nav-consult, .mobile-nav a.mobile-consult,
.cta-band .button.telegram-button, .closing-card .telegram-button, .section .telegram-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 9px 16px; border: 1px solid var(--sky); border-radius: 15px;
  background: linear-gradient(145deg, var(--telegram-light), var(--telegram-face)); color: var(--white);
  box-shadow: 0 5px 0 var(--telegram-side), 0 12px 24px var(--blue-glow), inset 0 1px 0 var(--white-line);
  font-family: var(--font-display); font-size: .9375rem; line-height: 1.4; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.desktop-nav a.nav-consult { margin-left: 12px; }
.consult-symbol { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1px solid var(--white-line); border-radius: 9px; background: var(--glass); box-shadow: 0 2px 0 var(--telegram-side); }
.consult-arrow { flex: none; }
.telegram-button:hover, .desktop-nav a.nav-consult:hover, .mobile-nav a.mobile-consult:hover { color: var(--white); background: linear-gradient(145deg, var(--telegram-light), var(--telegram-face)); transform: translateY(-2px); }
.telegram-button:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--telegram-side); }
.footer-links a.telegram-button { padding: 9px 16px; }

/* 헤더 상담 버튼: 정면을 유지하고 윗면 빛·아랫면 두께로 표현하는 2.5D. */
.desktop-nav a.nav-consult, .mobile-nav a.mobile-consult {
  position: relative; isolation: isolate; border-radius: 14px; padding-inline: 17px;
  box-shadow: 0 5px 0 var(--telegram-side), 0 6px 0 var(--ink-2), 0 12px 20px var(--blue-glow),
    inset 0 2px 0 var(--white-line), inset 0 -1px 0 var(--telegram-side);
}
.desktop-nav a.nav-consult::before, .mobile-nav a.mobile-consult::before {
  content: ''; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none;
  background: var(--consult-art) right center / auto 100% no-repeat; opacity: .18;
  mask-image: linear-gradient(90deg, transparent 35%, var(--ink)); z-index: -1;
}
.desktop-nav .nav-consult .consult-symbol, .mobile-nav .mobile-consult .consult-symbol {
  background: var(--telegram-light);
  box-shadow: 0 2px 0 var(--telegram-side), inset 0 1px 0 var(--white-line);
}
.desktop-nav a.nav-consult:active, .mobile-nav a.mobile-consult:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--telegram-side), 0 6px 12px var(--blue-glow);
}
.mobile-nav a.mobile-consult { margin: 12px 0 16px; }

/* 새로 제작한 허브봇·데이터센터 배경. 문구는 서버 HTML로 유지합니다. */
.closing-card.consult-panel, .cta-band.consult-panel {
  display: flex; align-items: center; min-height: 460px; padding: 48px;
  text-align: left; border-color: var(--blue-side); background: var(--consult-bg);
  box-shadow: 0 9px 0 var(--edge-dark), 0 26px 44px var(--ink-shadow), inset 0 1px 0 var(--glass-line);
}
.consult-panel::before { background: var(--consult-art) right center / auto 100% no-repeat; mask-image: linear-gradient(90deg, transparent, var(--ink) 40%); }
.consult-copy { width: 48%; max-width: 560px; }
.consult-panel .slide-lead, .consult-panel p { margin: 18px 0 0; max-width: 38ch; color: var(--on-dark); }
.consult-panel .cover-actions { justify-content: flex-start; gap: 16px; }
.cta-band.consult-panel .telegram-button { margin-top: 28px; }
.consult-panel .cover-actions .pill-link:not(.telegram-button) { border-color: var(--glass-line); background: var(--glass); color: var(--white); }
@media (max-width: 900px) {
  .closing-card.consult-panel, .cta-band.consult-panel { min-height: 430px; padding: 36px; }
  .consult-copy { width: 50%; }
}
@media (max-width: 600px) {
  .closing-card.consult-panel, .cta-band.consult-panel { align-items: flex-start; min-height: 650px; padding: 32px 24px 350px; }
  .consult-panel::before { inset: auto 0 0; height: 340px; background-size: auto 340px; background-position: right bottom; mask-image: none; }
  .consult-copy { width: 100%; max-width: none; }
  .consult-panel .cover-actions { gap: 15px; }
  .consult-panel h2 { font-size: 1.75rem; }
  .telegram-button, .section .telegram-button, .closing-card .telegram-button { font-size: .875rem; }
}

/* 강조는 이사만루, 긴 설명은 본문 서체를 사용합니다. */
h1, h2, h3, .tagline, .pill-link, .button, .more-link,
.nav-consult, .mobile-consult, .brand-words strong,
.arch-core, .tier-chain li, .demo-who, .problem-answer {
  font-family: var(--font-display);
}
.slide.is-cover h1, .hero-card h1 { font-weight: 700; letter-spacing: -.03em; }
.tagline { font-weight: 400; }
.admin-feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.admin-feature-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.admin-feature-card h3 { margin: 20px 0 12px; font-size: 1.25rem; font-weight: 400; color: var(--ink); }
.admin-feature-card p { color: var(--muted); line-height: 1.9; font-size: .9375rem; }
.admin-feature-card:nth-child(3n + 2) { border-top-color: var(--blue-deep); }
.admin-feature-card:nth-child(3n) { border-top-color: var(--ink-2); }
.admin-feature-card:nth-child(n + 4) .package-icon { background: var(--surface-blue); color: var(--white); }
@media (max-width: 1000px) { .admin-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .admin-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .admin-feature-card { padding: 24px; }
  .admin-feature-card h3 { margin-top: 16px; font-size: 1.125rem; }
}

/* 파트너 무한 하부 트리: 목록을 중첩하여 단계 관계를 글과 선으로 함께 표현합니다. */
.partner-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.partner-tree-panel { padding: 30px 36px 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.partner-tree-caption { margin-bottom: 24px; font-family: var(--font-display); color: var(--blue-deep); font-size: .875rem; }
.partner-tree, .partner-tree ol { list-style: none; }
.partner-tree ol { position: relative; margin: 0 0 0 24px; padding: 14px 0 0 22px; }
.partner-tree ol::before { content: ''; position: absolute; top: 0; left: 0; height: 37px; width: 22px; border-left: 2px solid var(--edge-screen); border-bottom: 2px solid var(--edge-screen); border-bottom-left-radius: 9px; }
.partner-node-label { display: inline-flex; align-items: center; justify-content: center; min-width: 126px; min-height: 46px; padding: 9px 22px; border: 1px solid var(--white); border-radius: 12px; background: var(--panel-blue); color: var(--ink); box-shadow: 0 4px 0 var(--edge); font-family: var(--font-display); line-height: 1.4; white-space: nowrap; }
:where(.partner-node .partner-node) > .partner-node-label { background: var(--frost); }
:where(.partner-node .partner-node .partner-node) > .partner-node-label { background: var(--sky); }
:where(.partner-node .partner-node .partner-node .partner-node) > .partner-node-label { background: var(--surface-blue); color: var(--white); border-color: var(--sky); box-shadow: 0 4px 0 var(--blue-deep); }
.partner-tree .is-continuation > .partner-node-label { background: transparent; color: var(--blue); border: 0; box-shadow: none; min-height: 30px; font-size: 1.5rem; letter-spacing: .16em; }
.partner-tree .is-infinite > .partner-node-label { background: var(--surface-dark); color: var(--white); border-color: var(--glass-line); box-shadow: var(--shadow-dark); font-size: 1.125rem; }
.partner-layout .check-list { gap: 24px; }
@media (max-width: 1100px) {
  .partner-layout { gap: 36px; }
  .partner-tree-panel { padding: 28px; }
  .partner-tree ol { margin-left: 14px; padding-left: 16px; }
  .partner-tree ol::before { width: 16px; }
}
@media (max-width: 900px) {
  .partner-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .partner-tree-panel { max-width: 660px; width: 100%; }
}
@media (max-width: 640px) {
  .site-header .brand { gap: 6px; }
  .site-header .brand-mark { width: 48px; height: 48px; }
  .brand-words strong { font-size: 1.0625rem; }
  .brand-words small { font-size: .5625rem; }
  .footer-brand .brand-mark { width: 64px; height: 64px; }
  .footer-brand .brand-words strong { font-size: 1.25rem; }
  .footer-operator { margin-left: 74px; }
  .partner-tree-panel { padding: 24px 20px 30px; }
  .partner-tree ol { margin-left: 6px; padding-left: 12px; }
  .partner-tree ol::before { width: 12px; }
  .partner-node-label { min-width: 112px; padding: 9px 16px; font-size: .9375rem; }
}

