/* =========================================================
   FANDOMHUB — Brand site stylesheet
   Tokens · Layout · Landing components · Doc components
   ========================================================= */

:root {
  /* =========================================================
     Design System v2 — 3-color core + 1 sub
     Core    : Navy (남색) / Red (붉은색) / White (흰색)
     Sub     : Gold (강조·경고용 1종만 허용)
     원칙    : teal/blue/green/purple 등 부수 컬러는 모두 navy로 흡수.
              카드별 차별화는 채도/명도(red↔gold↔navy)로만 처리.
     ========================================================= */

  /* Navy scale (남색 — 텍스트·구조·사이드바·세컨더리 액션) */
  --navy-900: #0a0e1f;
  --navy-800: #111a35;
  --navy-700: #1a2547;
  --navy-600: #2a355c;
  --navy-500: #3d4a78;
  --navy-400: #5b6896;
  --navy-300: #6b7591;
  --navy-200: #d6dae8;
  --navy-100: #eef0f6;
  --navy-50:  #f7f8fb;

  /* Red scale (붉은색 — 프라이머리 액센트·CTA·Track A) */
  --red-900: #6b1424;
  --red-800: #8b1b30;
  --red-700: #c92740;
  --red-500: #e94560;    /* primary */
  --red-400: #ff5476;
  --red-300: #ff7a91;
  --red-200: #ffb1c1;
  --red-100: #ffe4e9;
  --red-50:  #ffe9ee;
  --red-25:  #fff5f6;

  /* White (흰색 — 배경·페이퍼) */
  --paper:    #ffffff;
  --paper-50: #fafbfd;

  /* Gold sub (강조·경고·하이라이트 — 1종만) */
  --gold-700: #a86810;
  --gold-600: #d68812;
  --gold-500: #f5a623;
  --gold-200: #ffd9a6;
  --gold-100: #fff5e7;
  --gold-50:  #fffbe6;

  /* ── Legacy aliases (기존 룰 호환용. 신규 코드는 위 토큰 직접 사용) ── */
  --ink-900: var(--navy-900);
  --ink-800: var(--navy-800);
  --ink-700: var(--navy-700);
  --ink-600: var(--navy-600);
  --ink-300: var(--navy-300);
  --ink-200: var(--navy-200);
  --ink-100: var(--navy-100);
  --ink-50:  var(--navy-50);

  --accent:    var(--red-500);    /* primary */
  --accent-2:  var(--gold-500);   /* sub */
  --accent-3:  var(--navy-600);   /* was teal → navy (Track B) */
  --accent-4:  var(--navy-500);   /* was soft blue → navy */

  --grad-hero: radial-gradient(circle at 20% 0%, #2a355c 0%, transparent 50%),
               radial-gradient(circle at 80% 60%, rgba(233,69,96,0.25) 0%, transparent 50%),
               linear-gradient(180deg, #0a0e1f 0%, #111a35 100%);

  /* Typography */
  --font-display: 'Pretendard Variable','Pretendard','Apple SD Gothic Neo','Malgun Gothic',-apple-system,BlinkMacSystemFont,sans-serif;
  --font-body:    var(--font-display);
  --font-mono:    'JetBrains Mono','Consolas','Menlo',monospace;

  /* Layout */
  --sidebar-w: 280px;
  --content-max: 1180px;
  --section-pad: 120px;
  --section-pad-sm: 64px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10,14,31,.04), 0 1px 1px rgba(10,14,31,.06);
  --shadow-md: 0 8px 24px rgba(10,14,31,.08);
  --shadow-lg: 0 24px 60px rgba(10,14,31,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fullpage A4-landscape — each .snap-page = exactly one viewport, no inner scroll */
.snap-page {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.snap-page > .section-inner { width: 100%; }

/* Mobile (≤720px): release fullpage constraint — natural scroll, breathe */
@media (max-width: 720px) {
  .snap-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  html { scroll-snap-type: none; }
}

/* Reduced motion — instant transitions, no animated easing */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto !important; }
  .persona, .asset, .rev, .decision, .cta-btn, .nav-item, .sidebar-link {
    transition: none !important;
  }
}

/* Page number — bottom-right of each page */
.page-num {
  position: absolute;
  right: 36px; bottom: 28px;
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  z-index: 8;
  pointer-events: none;
}
.page-num-cur {
  font-size: 22px; font-weight: 800; line-height: 1;
  color: var(--ink-900);
}
.page-num-total {
  font-size: 13px; font-weight: 600;
  color: var(--ink-300);
}
.page-num-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-300);
  margin-right: 8px;
  border-right: 1px solid var(--ink-200);
  padding-right: 12px;
}
.section--ink .page-num-cur,
.hero .page-num-cur { color: #fff; }
.section--ink .page-num-total, .section--ink .page-num-label,
.hero .page-num-total, .hero .page-num-label { color: rgba(255,255,255,0.5); }
.section--ink .page-num-label, .hero .page-num-label {
  border-right-color: rgba(255,255,255,0.18);
}

/* Right-side dot indicator */
.snap-progress {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  z-index: 60; display: flex; flex-direction: column; gap: 10px;
}
.snap-progress button {
  width: 8px; height: 8px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(10,14,31,0.2);
  cursor: pointer;
  transition: transform .25s, background .25s, height .25s;
}
.snap-progress button:hover { background: var(--accent); transform: scale(1.3); }
.snap-progress button.active {
  background: var(--accent);
  height: 24px; border-radius: 4px;
}
@media (max-width: 720px){ .snap-progress, .page-num { display: none; } }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* =========================================================
   Layout — sidebar + main
   ========================================================= */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky; top: 0;
  height: 100vh; overflow-y: auto;
  background: var(--ink-900);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 18px 20px;
  display: flex; flex-direction: column;
}

.sidebar-brand { margin-bottom: 18px; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: flex; align-items: baseline; gap: 4px;
}
.brand-mark .mark-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  margin-right: 2px;
}
.brand-mark .mark-accent { color: var(--accent); }
.brand-tag {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-300);
}

.sidebar-section {
  margin-bottom: 14px;
}
/* Visual separator between "this page flow" and "all documents" on landing */
.sidebar-section--docs {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.sidebar-section-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin: 0 0 6px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-section-hint {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255,255,255,0.35);
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.sidebar-section--story .sidebar-section-hint {
  color: var(--accent);
  background: rgba(233,69,96,0.10);
}

.sidebar-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 10px;
  border-radius: var(--r-md);
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  border-left: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.sidebar-link:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
/* .active = primary indicator (scroll-tracked section on landing, OR current doc on non-landing pages) */
.sidebar-link.active {
  background: rgba(233,69,96,0.12);
  color: #fff;
  border-left-color: var(--accent);
  font-weight: 600;
}
/* .current-doc = secondary "you are viewing this doc" marker, used only on landing
   so the doc list does not compete with the scroll-tracked .active section anchor */
.sidebar-link.current-doc {
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.03);
}
.sidebar-link.current-doc::after {
  content: "보는 중";
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}
.sidebar-link .num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-300);
  min-width: 20px;
}
.sidebar-link.active .num { color: var(--accent); }
.sidebar-link.current-doc .num { color: rgba(255,255,255,0.7); }

.sidebar-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: var(--ink-300);
  line-height: 1.6;
}

main { min-width: 0; }

/* =========================================================
   Hero — landing page
   ========================================================= */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: 6vh 6vw;
  overflow: hidden;
  isolation: isolate;
  justify-content: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 30% 30%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 60% 80%, rgba(245,166,35,0.4), transparent),
    radial-gradient(2px 2px at 80% 20%, rgba(233,69,96,0.3), transparent),
    radial-gradient(1px 1px at 15% 70%, rgba(42,53,92,0.4), transparent);
  background-size: 200px 200px, 300px 300px, 250px 250px, 180px 180px;
  pointer-events: none;
  opacity: 0.7;
  z-index: -1;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--accent);
}

.hero-title {
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 1000px;
}
.hero-title .accent { color: var(--accent); }
.hero-title .gold   { color: var(--accent-2); }
.hero-title .gradient {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .block { display: block; }

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  line-height: 1.55;
  margin: 0 0 40px;
}
.hero-sub strong {
  color: #fff; font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(245,166,35,0.3) 60%);
  padding: 0 4px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 24px 0;
  max-width: 980px;
}
.hero-stat { padding: 0 22px; border-right: 1px solid rgba(255,255,255,0.08); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-num small {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--accent-2);
  margin-left: 4px;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   Section base
   ========================================================= */
.section {
  padding: 5vh 5vw;
}
.section--alt { background: var(--ink-50); }
.section--ink { background: var(--ink-900); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,0.78); }

.section-inner { max-width: var(--content-max); margin: 0 auto; }

.section-header { margin-bottom: 24px; }
.section-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.section--ink .section-num { color: var(--accent-2); }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-right: 12px;
}
.section-header h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink-900);
}
.section-header .lede {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--ink-300);
  max-width: 760px;
  margin: 0;
  line-height: 1.6;
}

.subhead {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 32px 0 16px;
  color: var(--ink-900);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.subhead-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-300);
}
.section--ink .subhead { color: #fff; }
.section--ink .subhead-note { color: rgba(255,255,255,0.45); }

.section-footnote {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--ink-300);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.section-footnote sup { color: var(--accent); font-weight: 700; margin-right: 2px; }

/* =========================================================
   01 Overview / Thesis
   ========================================================= */
.thesis {
  display: flex; flex-direction: column; gap: 24px;
}
.thesis-quote {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0;
  color: var(--ink-900);
}
.thesis-quote mark {
  background: linear-gradient(transparent 55%, rgba(245,166,35,0.5) 55%);
  color: inherit;
  padding: 0 4px;
}

.thesis-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.thesis-item {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.thesis-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
}
.thesis-item:nth-child(1)::before { background: var(--accent); }
.thesis-item:nth-child(2)::before { background: var(--accent-3); }

.thesis-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
  background: var(--ink-700);
  margin-bottom: 16px;
}
.thesis-item:nth-child(1) .thesis-tag { background: var(--accent); }
.thesis-item:nth-child(2) .thesis-tag { background: var(--accent-3); }

.thesis-item h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.thesis-item p {
  font-size: 13.5px;
  color: var(--ink-300);
  margin: 0;
  line-height: 1.55;
}

.thesis-targets {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-300);
}
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--ink-100);
  color: var(--ink-900);
}
.badge--accent { background: var(--accent); color: #fff; }

/* =========================================================
   02 Market — trends + assets
   ========================================================= */
.trend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.trend {
  padding: 28px 24px;
  border-right: 1px solid var(--ink-100);
  position: relative;
}
.trend:last-child { border-right: none; }
.trend-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.trend h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.trend p {
  font-size: 13px;
  color: var(--ink-300);
  margin: 0;
  line-height: 1.55;
}
.trend p strong { color: var(--ink-900); font-weight: 700; }
.trend-source {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--ink-100);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-300);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.asset {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 18px 18px;
  transition: border-color .2s, transform .2s;
}
.asset:hover { border-color: var(--accent); transform: translateY(-2px); }
.asset-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.asset-num small {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--accent);
  margin-left: 4px;
}
.asset-label {
  font-size: 12px;
  color: var(--ink-300);
  line-height: 1.4;
}

/* =========================================================
   03 Tracks
   ========================================================= */
.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.track {
  position: relative;
  border-radius: var(--r-xl);
  padding: 28px 28px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.track--a {
  background: linear-gradient(135deg, #c92740 0%, #e94560 60%, #f5a623 100%);
}
.track--b {
  background: linear-gradient(135deg, #1a2547 0%, #2a355c 60%, #3d4a78 100%);
}
.track::before {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  z-index: -1;
}
.track::after {
  content: ""; position: absolute; right: -100px; bottom: -100px;
  width: 320px; height: 320px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  z-index: -1;
}
.track-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  margin-bottom: 14px;
}
.track-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 6px;
}
.track-sub {
  font-size: 13px;
  opacity: 0.85;
  margin: 0 0 18px;
}
.track-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.track-bullets li {
  font-size: 13px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
  color: rgba(255,255,255,0.95);
}
.track-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px; background: rgba(255,255,255,0.6);
}
.track-bullets strong {
  color: #fff;
  font-weight: 700;
}

.flywheel {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.flywheel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(245,166,35,0.15) 0%, transparent 40%);
  pointer-events: none;
}
.flywheel h3 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  position: relative;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
  padding-right: 24px;
}
.flywheel-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  counter-reset: fly;
}
.flywheel-steps li {
  counter-increment: fly;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  position: relative;
}
.flywheel-steps li::before {
  content: counter(fly, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-bottom: 6px;
}

/* =========================================================
   04 Personas
   ========================================================= */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.persona {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 22px 22px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.persona:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.persona-region {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.persona-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
  color: var(--ink-900);
}
.persona-tag {
  font-size: 11.5px;
  color: var(--ink-300);
  margin: 0 0 14px;
  line-height: 1.5;
}
.persona ul {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; flex-direction: column; gap: 5px;
  border-top: 1px solid var(--ink-100);
  padding-top: 12px;
}
.persona ul li {
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.45;
  padding-left: 12px;
  position: relative;
}
.persona ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}
.persona-arpu {
  font-size: 11.5px;
  color: var(--ink-300);
  padding: 10px 12px;
  background: var(--ink-50);
  border-radius: var(--r-sm);
}
.persona-arpu strong {
  color: var(--ink-900);
  font-weight: 700;
  display: block;
  font-size: 14px;
  margin-top: 2px;
}
.persona--later {
  background: var(--ink-50);
  border-style: dashed;
}
.persona-region--later { color: var(--ink-300); }
.persona-arpu--later {
  background: transparent;
  padding: 10px 0 0;
  border-top: 1px dashed var(--ink-200);
  border-radius: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.persona-later-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--ink-200);
  color: var(--ink-900);
}

/* =========================================================
   05 Revenue
   ========================================================= */
.revenue-table {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.rev {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 18px 18px;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.rev:hover { transform: translateY(-3px); border-color: var(--accent); }
.rev-id {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--ink-100);
  color: var(--ink-900);
  margin-bottom: 16px;
}
.rev--primary .rev-id { background: var(--accent); color: #fff; }
.rev--accent .rev-id { background: var(--accent-2); color: var(--ink-900); }
.rev h3 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 4px;
  color: var(--ink-900);
}
.rev-track {
  font-size: 10.5px;
  color: var(--ink-300);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.rev-margin, .rev-share {
  font-size: 11.5px;
  color: var(--ink-300);
  padding: 6px 0;
  border-top: 1px dashed var(--ink-100);
  display: flex; align-items: center; gap: 8px;
}
.rev-margin strong, .rev-share strong {
  color: var(--ink-900);
  font-weight: 700;
}
.rev-share-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--ink-100);
  color: var(--ink-700);
}
.rev-share--y3 .rev-share-tag { background: var(--accent); color: #fff; }
.rev--primary .rev-share--y1 { background: rgba(233,69,96,0.05); margin: 0 -18px; padding: 6px 18px; border-color: var(--accent); }
.rev--accent .rev-share--y3  { background: rgba(245,166,35,0.08); margin: 0 -18px; padding: 6px 18px; border-color: var(--accent-2); }

/* =========================================================
   06 Roadmap — horizontal timeline (compact for slide layout)
   ========================================================= */
.timeline-h {
  position: relative;
  padding-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.timeline-h::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 24px;
  height: 2px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
}
.timeline-h .phase {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.timeline-h .phase::before {
  content: ""; position: absolute;
  top: -38px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--accent);
  z-index: 2;
}
.timeline-h .phase--milestone::before {
  background: var(--accent); border-color: var(--accent-2);
  width: 18px; height: 18px; top: -40px;
  box-shadow: 0 0 0 4px rgba(245,166,35,0.18);
}
.timeline-h .phase--end::before { background: var(--accent-3); border-color: var(--accent-3); }
.timeline-h .phase--milestone { border-color: var(--accent-2); border-width: 2px; }

.phase-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  background: var(--ink-100);
  border-radius: 3px;
  color: var(--ink-900);
  margin-bottom: 8px;
  align-self: flex-start;
}
.timeline-h .phase--milestone .phase-tag { background: var(--accent); color: #fff; }
.timeline-h .phase--end .phase-tag { background: var(--accent-3); color: #fff; }

.timeline-h .phase h3 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.timeline-h .phase ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.timeline-h .phase ul li {
  font-size: 11.5px;
  color: var(--ink-700);
  line-height: 1.45;
  padding-left: 10px;
  position: relative;
}
.timeline-h .phase ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 1px; background: var(--ink-300);
}
.timeline-h .phase p {
  font-size: 11.5px;
  color: var(--ink-300);
  line-height: 1.45;
  margin: 0;
}

/* =========================================================
   07 Risks
   ========================================================= */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
/* 5th card (R16 잠재 치명) wraps onto a new row centered under the 4 critical cards */
.risk-grid > .risk--latent {
  grid-column: 2 / span 2;
}
@media (max-width: 1100px) {
  .risk-grid { grid-template-columns: repeat(2, 1fr); }
  .risk-grid > .risk--latent { grid-column: 1 / span 2; }
}
.risk {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 22px 20px;
  position: relative;
}
.risk--critical { border-left: 4px solid var(--accent); }
.risk--latent { border-left: 4px dashed var(--accent); opacity: 0.92; }
.risk--latent .risk-tag { background: rgba(233,69,96,0.10); color: rgba(233,69,96,0.85); }
.risk-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: rgba(233,69,96,0.18);
  color: var(--accent);
  border-radius: 4px;
  margin-bottom: 14px;
}
.risk h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: #fff;
}
.risk p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.5;
}
.risk-link {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.risk-link-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  color: #fff;
}
.risk-link-tags {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.75);
}
.risk-link-tags span:not(:last-child)::after { content: ""; }
.risk-link-tail {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-left: auto;
  font-style: italic;
}
.risk-link-tail a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
  font-style: normal;
  font-weight: 600;
}
.risk-link-tail a:hover { border-bottom-style: solid; }

/* =========================================================
   08 Decisions
   ========================================================= */
.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.decision {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: border-color .2s, transform .2s;
}
.decision:hover { border-color: var(--accent); transform: translateY(-2px); }
.decision--top {
  background: linear-gradient(180deg, var(--paper) 0%, rgba(233,69,96,0.04) 100%);
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(233,69,96,0.10);
}
.decision-priority {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 3px 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  margin-bottom: 6px;
}
.decision-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.decision h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--ink-900);
}
.decision p {
  font-size: 11.5px;
  color: var(--ink-300);
  margin: 0;
  line-height: 1.5;
}

.cta {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 100%);
  border-radius: var(--r-lg);
  padding: 22px 28px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(245,166,35,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.cta-text { position: relative; min-width: 0; }
.cta h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  color: #fff;
}
.cta p {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.cta-primary {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid var(--accent);
  box-shadow: 0 6px 20px rgba(233,69,96,0.35);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.cta-primary .arrow {
  display: inline-block;
  transition: transform .2s;
}
.cta-primary:hover {
  transform: translateY(-2px);
  background: #ff5476;
  box-shadow: 0 10px 28px rgba(233,69,96,0.45);
  color: #fff !important;
}
.cta-primary:hover .arrow { transform: translateX(4px); }

.cta-secondary {
  margin-top: 14px;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px 4px;
  font-size: 11.5px;
  color: var(--ink-300);
  letter-spacing: 0.02em;
}
.cta-secondary-label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-right: 8px;
}
.cta-secondary a {
  color: var(--ink-700);
  font-weight: 600;
  padding: 2px 4px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.cta-secondary a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.cta-secondary .dot { color: var(--ink-200); margin: 0 2px; }

/* =========================================================
   Slide-bottom signature row (replaces big footer)
   ========================================================= */
.slide-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--ink-300);
  letter-spacing: 0.04em;
}
.slide-foot-brand {
  font-weight: 700; color: var(--ink-900);
  letter-spacing: -0.01em;
}
.slide-foot-brand span { color: var(--accent); }
.section--ink .slide-foot { border-top-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }
.section--ink .slide-foot-brand { color: #fff; }

/* =========================================================
   Doc page (sub-pages, markdown rendered)
   ========================================================= */
.doc-hero {
  padding: 72px 64px 48px;
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--ink-100);
}
.doc-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.doc-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink-900);
}
.doc-hero p {
  font-size: 16px;
  color: var(--ink-300);
  max-width: 720px;
  margin: 0;
}

.doc-body {
  padding: 64px 64px 96px;
  max-width: 920px;
}
.doc-body h1 {
  font-size: 32px; font-weight: 800; letter-spacing: -0.02em;
  margin: 56px 0 20px; color: var(--ink-900);
  border-top: 2px solid var(--ink-900); padding-top: 32px;
}
.doc-body h1:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.doc-body h2 {
  font-size: 24px; font-weight: 700; letter-spacing: -0.015em;
  margin: 40px 0 14px; color: var(--ink-900);
  display: flex; align-items: baseline; gap: 12px;
}
.doc-body h2::before {
  content: ""; width: 4px; height: 18px; background: var(--accent);
  display: inline-block; border-radius: 2px;
}
.doc-body h3 {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  margin: 28px 0 10px; color: var(--ink-900);
}
.doc-body h4 {
  font-size: 15px; font-weight: 700;
  margin: 20px 0 8px; color: var(--ink-700);
}
.doc-body p { margin: 12px 0; line-height: 1.75; color: var(--ink-700); }
.doc-body strong { color: var(--accent); font-weight: 700; }
.doc-body em { color: var(--ink-300); font-style: italic; }
.doc-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc-body a:hover { color: var(--ink-900); }
.doc-body ul, .doc-body ol { padding-left: 24px; }
.doc-body li { margin: 4px 0; }
.doc-body blockquote {
  margin: 20px 0;
  padding: 16px 22px;
  background: var(--ink-50);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: normal;
}
.doc-body blockquote p { margin: 6px 0; color: var(--ink-700); }
.doc-body code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--ink-100); padding: 2px 6px;
  border-radius: 4px; color: var(--ink-900);
}
.doc-body pre {
  background: var(--ink-900); color: #e6edf3;
  padding: 18px 22px; border-radius: var(--r-md);
  overflow-x: auto; font-size: 13px; line-height: 1.55;
  margin: 16px 0;
}
.doc-body pre code { background: transparent; padding: 0; color: inherit; font-size: 13px; }
.doc-body hr { border: none; border-top: 1px solid var(--ink-100); margin: 32px 0; }

.doc-body .table-scroll { overflow-x: auto; margin: 16px 0; border-radius: var(--r-md); border: 1px solid var(--ink-100); }
.doc-body table { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--paper); }
.doc-body th { background: var(--ink-900); color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; font-size: 13px; letter-spacing: 0.02em; }
.doc-body td { padding: 10px 14px; border-top: 1px solid var(--ink-100); vertical-align: top; }
.doc-body tr:nth-child(even) td { background: var(--ink-50); }

.doc-body .anchor {
  opacity: 0; margin-left: -22px; margin-right: 6px;
  color: var(--accent); text-decoration: none;
}
.doc-body h1:hover .anchor,
.doc-body h2:hover .anchor,
.doc-body h3:hover .anchor,
.doc-body h4:hover .anchor { opacity: 0.5; }

.missing-ref {
  color: var(--ink-300);
  border-bottom: 1px dotted var(--ink-300);
  cursor: help;
}

/* =========================================================
   Product Preview — phone screenshots embedded in landing
   - .track-phone:    inline phone in track card (Section 03)
   - .section-phone:  phone next to section header (Personas, Revenue)
   - .preview-grid:   8-up gallery for the dedicated preview section
   - .doc-preview:    same gallery on the standalone preview page
   ========================================================= */
/* Track card: phone removed from 03 — full-width content for readability.
   .track-phone / .section-phone are still defined for personas/revenue sections. */
.section-phone {
  align-self: center;
  filter: drop-shadow(0 18px 28px rgba(10,14,31,.10));
}

/* Section header that floats a phone next to title (Personas/Revenue) */
.section-header--with-phone {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 28px;
  align-items: end;
}
.section-header--with-phone > div { min-width: 0; }
.section-phone {
  width: 110px;
  height: auto;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 16px 26px rgba(10,14,31,.22));
  align-self: center;
  justify-self: end;
}

/* 8-up gallery — used in landing Section 04 + product-preview.html */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
  margin-top: 18px;
}
.preview-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.preview-cell img {
  width: 100%;
  max-width: 170px;
  height: auto;
  display: block;
  border-radius: 22px;
  filter: drop-shadow(0 14px 26px rgba(10,14,31,.22));
}
.preview-cap {
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}
.preview-cap strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
}
.preview-cap span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section--ink .preview-cap strong { color: #fff; }
.section--ink .preview-cap span   { color: rgba(255,255,255,0.5); }

.preview-foot {
  margin-top: 22px;
  font-size: 12px;
  color: var(--ink-300);
  letter-spacing: 0.02em;
}

/* Standalone preview page — bigger phones, side-by-side caption */
.doc-preview {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 48px 96px;
}
.doc-preview .preview-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
  margin-top: 32px;
}
.doc-preview .preview-cell {
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
}
.doc-preview .preview-cell img {
  flex: 0 0 200px;
  max-width: 200px;
}
.doc-preview .preview-text {
  flex: 1; min-width: 0;
}
.doc-preview .preview-text .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}
.doc-preview .preview-text h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.doc-preview .preview-text p {
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.55;
  margin: 0 0 10px;
}
.doc-preview .preview-text .links {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-300);
}
.doc-preview .preview-text .links a {
  display: inline-flex; align-items: center;
  padding: 4px 9px;
  border-radius: 100px;
  background: var(--ink-50);
  color: var(--ink-700);
  border: 1px solid var(--ink-100);
}
.doc-preview .preview-text .links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.doc-preview .preview-disclaimer {
  margin-top: 36px;
  padding: 18px 22px;
  background: var(--ink-50);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-700);
}
.doc-preview .preview-disclaimer strong { color: var(--ink-900); font-weight: 700; }

/* =========================================================
   Lock-in gateway — 4 category cards (product-preview.html + landing snap 04)
   ========================================================= */
.lockin-gateway {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 48px 96px;
}
.lockin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.lockin-grid--compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.lockin-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 22px 22px 18px;
  text-decoration: none;
  color: var(--ink-900);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.lockin-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
}
.lockin-card--content::before { background: var(--accent-4); }
.lockin-card--payment::before { background: var(--accent); }
.lockin-card--social::before  { background: var(--accent-2); }
.lockin-card--wallet::before  { background: var(--accent-3); }
.lockin-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.1);
}
.lockin-card-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.lockin-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--ink-50);
  color: var(--ink-700);
}
.lockin-card--content .lockin-num { background: rgba(61,74,120,0.12); color: var(--accent-4); }
.lockin-card--payment .lockin-num { background: rgba(233,69,96,0.12); color: var(--accent); }
.lockin-card--social .lockin-num  { background: rgba(245,166,35,0.14); color: var(--accent-2); }
.lockin-card--wallet .lockin-num  { background: rgba(42,53,92,0.14); color: var(--accent-3); }
.lockin-card-head h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-900);
  line-height: 1.2;
}
.lockin-subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-300);
  margin-top: 2px;
}
.lockin-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-300);
  padding: 3px 7px;
  border: 1px solid var(--ink-100);
  border-radius: 999px;
}
.lockin-card-hero {
  width: 100%;
  background: var(--ink-50);
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}
.lockin-card-hero img {
  max-height: 100%;
  max-width: 60%;
  object-fit: contain;
}
.lockin-pitch {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0 0 14px;
  flex: 1;
}
.lockin-thumbs {
  display: flex; gap: 8px;
  margin-bottom: 12px;
}
.lockin-thumbs img {
  flex: 1;
  width: 100%;
  aspect-ratio: 1 / 2;
  object-fit: contain;
  background: var(--ink-50);
  border-radius: var(--r-sm);
  padding: 4px;
}
.lockin-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-top: auto;
}
.lockin-card--content .lockin-cta { color: var(--accent-4); }
.lockin-card--social  .lockin-cta { color: var(--accent-2); }
.lockin-card--wallet  .lockin-cta { color: var(--accent-3); }
.lockin-cta .arrow {
  transition: transform .2s;
}
.lockin-card:hover .lockin-cta .arrow { transform: translateX(3px); }

/* Compact card for landing snap-page 04 — fits 4 cards in one viewport */
.lockin-card--compact {
  padding: 14px 14px 12px;
}
.lockin-card--compact .lockin-card-head { margin-bottom: 8px; gap: 8px; }
.lockin-card--compact .lockin-card-head h3 { font-size: 14px; }
.lockin-card--compact .lockin-subtitle { font-size: 9.5px; }
.lockin-card--compact .lockin-num { font-size: 10px; padding: 2px 5px; }
.lockin-card--compact .lockin-count { font-size: 9.5px; padding: 2px 5px; }
.lockin-card--compact .lockin-card-hero { aspect-ratio: 3 / 4; margin-bottom: 8px; }
.lockin-card--compact .lockin-pitch { font-size: 11.5px; line-height: 1.5; margin-bottom: 8px; }
.lockin-card--compact .lockin-cta { font-size: 11px; }

/* Sibling tabs at top of each category page */
.lockin-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
}
.lockin-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--paper);
  transition: border-color .15s, color .15s, background .15s;
}
.lockin-tab:hover { border-color: var(--accent); color: var(--accent); }
.lockin-tab.active {
  border-color: transparent;
  font-weight: 700;
  color: #fff;
}
.lockin-tab.active.lockin-tab--content { background: var(--accent-4); }
.lockin-tab.active.lockin-tab--payment { background: var(--accent); }
.lockin-tab.active.lockin-tab--social  { background: var(--accent-2); color: var(--ink-900); }
.lockin-tab.active.lockin-tab--wallet  { background: var(--accent-3); }
.lockin-tab-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.doc-hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--ink-50);
  color: var(--ink-700);
  vertical-align: middle;
}
.doc-hero--content { border-bottom-color: var(--accent-4); }
.doc-hero--payment { border-bottom-color: var(--accent); }
.doc-hero--social  { border-bottom-color: var(--accent-2); }
.doc-hero--wallet  { border-bottom-color: var(--accent-3); }

@media (max-width: 1024px) {
  .lockin-grid { grid-template-columns: 1fr; gap: 18px; }
  .lockin-grid--compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .lockin-grid--compact { grid-template-columns: 1fr; }
  .lockin-gateway { padding: 22px 18px 60px; }
}

/* =========================================================
   PPT preview sub-slides — 5 slides × 2 mockups + descriptions
   ========================================================= */
.snap-page--preview .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-header--preview {
  margin-bottom: 18px;
}
.section-header--preview h2 {
  font-size: 30px;
  margin-bottom: 6px;
}
.section-header--preview .lede {
  font-size: 14px;
  max-width: 820px;
}
.preview-twoup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 12px;
}
.preview-twoup-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.preview-twoup-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
}
.snap-page--lock-content .preview-twoup-item::before { background: var(--accent-4); }
.snap-page--lock-payment .preview-twoup-item::before { background: var(--accent); }
.snap-page--lock-social  .preview-twoup-item::before { background: var(--accent-2); }
.snap-page--lock-wallet  .preview-twoup-item::before { background: var(--accent-3); }
.preview-twoup-phone {
  width: 100%;
  background: var(--ink-50);
  border-radius: var(--r-md);
  aspect-ratio: 3 / 5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.preview-twoup-phone img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.preview-twoup-text { min-width: 0; }
.preview-twoup-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 8px;
}
.snap-page--lock-content .preview-twoup-num { color: var(--accent-4); }
.snap-page--lock-payment .preview-twoup-num { color: var(--accent); }
.snap-page--lock-social  .preview-twoup-num { color: var(--accent-2); }
.snap-page--lock-wallet  .preview-twoup-num { color: var(--accent-3); }
.preview-twoup-text h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 10px;
  line-height: 1.25;
}
.preview-twoup-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.preview-twoup-bullets li {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-700);
  padding-left: 14px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 2px;
}
.preview-twoup-bullets li::before {
  content: "›";
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.3;
}
.snap-page--lock-content .preview-twoup-bullets li::before { color: var(--accent-4); }
.snap-page--lock-social  .preview-twoup-bullets li::before { color: var(--accent-2); }
.snap-page--lock-wallet  .preview-twoup-bullets li::before { color: var(--accent-3); }
.bullet-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.bullet-body {
  font-size: 11.5px;
  color: var(--ink-700);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .preview-twoup { grid-template-columns: 1fr; gap: 18px; }
  .snap-page--preview .section-inner { padding: 0 24px; }
}
@media (max-width: 720px) {
  .preview-twoup-item { grid-template-columns: 1fr; }
  .preview-twoup-phone { aspect-ratio: 4 / 3; max-height: 220px; }
}

/* =========================================================
   PPT slide 04e — Expansion roadmap (no mockups)
   ========================================================= */
.snap-page--expansion .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  padding-bottom: 28vh; /* explicit reservation for fixed bottom section-note */
}
.snap-page--expansion .expansion-card { padding: 16px; }
.snap-page--expansion .expansion-card h3 { font-size: 15px; margin-bottom: 6px; }
.snap-page--expansion .expansion-intro { font-size: 11.5px; margin-bottom: 10px; line-height: 1.45; }
.snap-page--expansion .expansion-phases { gap: 5px; margin-bottom: 10px; }
.snap-page--expansion .expansion-phase { padding: 7px 10px; }
.snap-page--expansion .phase-item { font-size: 11.5px; }
.snap-page--expansion .phase-meta { font-size: 10px; }
.snap-page--expansion .expansion-anchor { font-size: 10.5px; padding: 8px 10px; }
.expansion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 12px;
}
.expansion-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.expansion-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
}
.expansion-card--super-save::before { background: var(--accent); }
.expansion-card--offline-hubs::before { background: var(--accent-3); }
.expansion-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  background: var(--ink-50);
  color: var(--ink-700);
}
.expansion-card--super-save .expansion-tag { background: rgba(233,69,96,0.10); color: var(--accent); }
.expansion-card--offline-hubs .expansion-tag { background: rgba(42,53,92,0.12); color: var(--accent-3); }
.expansion-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 8px;
  line-height: 1.3;
}
.expansion-intro {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0 0 14px;
}
.expansion-phases {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.expansion-phase {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--ink-50);
  border-radius: var(--r-sm);
  border: 1px solid transparent;
}
.expansion-phase--now {
  background: var(--paper);
  border-color: var(--ink-200);
}
.expansion-card--super-save .expansion-phase--now { border-color: var(--accent); }
.expansion-card--offline-hubs .expansion-phase--now { border-color: var(--accent-3); }
.phase-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-300);
  text-align: center;
  padding: 4px 0;
  background: var(--paper);
  border-radius: 4px;
  align-self: flex-start;
}
.expansion-phase--now .phase-tag {
  color: var(--paper);
  background: var(--ink-900);
}
.expansion-card--super-save .expansion-phase--now .phase-tag { background: var(--accent); }
.expansion-card--offline-hubs .expansion-phase--now .phase-tag { background: var(--accent-3); }
.phase-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.phase-item {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}
.phase-range {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: 0.02em;
}
.expansion-card--super-save .phase-range { color: var(--accent); }
.expansion-card--offline-hubs .phase-range { color: var(--accent-3); }
.phase-meta {
  font-size: 10.5px;
  color: var(--ink-300);
  line-height: 1.4;
}
.expansion-anchor {
  margin: auto 0 0;
  padding: 10px 12px;
  background: var(--ink-900);
  color: rgba(255,255,255,0.92);
  border-radius: var(--r-sm);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .expansion-grid { grid-template-columns: 1fr; gap: 18px; }
  .snap-page--expansion .section-inner { padding: 0 24px; }
}

/* =========================================================
   PPT persona × journey slides — 2 personas × 2 slides
   ========================================================= */
.snap-page--persona .section-inner,
.snap-page--journey .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-header--persona,
.section-header--journey { margin-bottom: 24px; }
.section-header--persona h2,
.section-header--journey h2 { font-size: 30px; margin-bottom: 8px; }
.section-header--persona .lede,
.section-header--journey .lede { font-size: 14px; max-width: 880px; }
.persona-avatar { display: inline-block; font-size: 30px; vertical-align: middle; margin-right: 6px; }
.snap-page--p1 .section-header--persona .eyebrow,
.snap-page--p1 .section-header--journey .eyebrow { color: var(--accent); }
.snap-page--p2 .section-header--persona .eyebrow,
.snap-page--p2 .section-header--journey .eyebrow { color: var(--accent-3); }

.persona-body { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
.persona-profile, .persona-flows {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 16px 22px;
  position: relative;
  overflow: hidden;
}
.persona-profile { padding: 14px 22px 16px; }
.persona-flows { padding: 20px 22px 22px; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.persona-profile::before, .persona-flows::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
}
.snap-page--p1 .persona-profile::before, .snap-page--p1 .persona-flows::before { background: var(--accent); }
.snap-page--p2 .persona-profile::before, .snap-page--p2 .persona-flows::before { background: var(--accent-3); }
.persona-profile h4 {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-300); margin: 0 0 8px;
}
.persona-flows h4 {
  font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--ink-900); margin: 0 0 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.persona-profile dl { margin: 0; display: grid; grid-template-columns: 92px 1fr 92px 1fr; gap: 8px 16px; font-size: 12.5px; align-items: baseline; }
.persona-profile dt { color: var(--ink-300); font-weight: 700; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.persona-profile dd { margin: 0; color: var(--ink-900); font-weight: 600; line-height: 1.45; }
@media (max-width: 760px) {
  .persona-profile dl { grid-template-columns: 80px 1fr; }
}

/* Flowchart — drawio-style box → arrow → box */
.persona-flows {
  display: flex; flex-direction: column;
  gap: 10px;
}
.flow-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--ink-50);
  border-radius: var(--r-sm);
}
.flow-row + .flow-row { margin-top: 10px; }
.flow-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
}
.flow-icon { font-size: 22px; }
.flow-steps {
  display: flex; align-items: stretch;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.flow-step {
  flex: 1;
  min-width: 0;
  padding: 12px 12px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 5px;
  position: relative;
}
.flow-step-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.35;
}
.flow-step-rev {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.flow-step--revenue {
  border-color: var(--accent);
  background: rgba(233,69,96,0.04);
  box-shadow: 0 1px 3px rgba(233,69,96,0.08);
}
.snap-page--p2 .flow-step--revenue {
  border-color: var(--accent-3);
  background: rgba(42,53,92,0.04);
  box-shadow: 0 1px 3px rgba(42,53,92,0.08);
}
.snap-page--p2 .flow-step-rev { color: var(--accent-3); }
.flow-arrow {
  display: flex; align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-300);
  padding: 0 1px;
  flex-shrink: 0;
}

.journey-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.journey-stage {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 14px 12px;
  position: relative;
}
.journey-stage::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; border-radius: var(--r-md) var(--r-md) 0 0; }
.snap-page--p1 .journey-stage::before { background: var(--accent); }
.snap-page--p2 .journey-stage::before { background: var(--accent-3); }
.stage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.stage-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; padding: 3px 6px; border-radius: 4px; background: var(--ink-50); }
.snap-page--p1 .stage-tag { background: rgba(233,69,96,0.10); color: var(--accent); }
.snap-page--p2 .stage-tag { background: rgba(42,53,92,0.12); color: var(--accent-3); }
.stage-label { font-size: 10.5px; color: var(--ink-300); font-weight: 600; }
.stage-triggers { list-style: none; padding: 0; margin: 0 0 10px; flex: 1; }
.stage-triggers li { font-size: 11.5px; line-height: 1.45; color: var(--ink-700); padding-left: 12px; position: relative; margin-bottom: 5px; }
.stage-triggers li::before { content: "•"; position: absolute; left: 2px; font-weight: 700; }
.snap-page--p1 .stage-triggers li::before { color: var(--accent); }
.snap-page--p2 .stage-triggers li::before { color: var(--accent-3); }
.stage-outcome { font-size: 11px; font-weight: 600; line-height: 1.4; padding: 8px 10px; border-radius: 6px; background: var(--ink-50); color: var(--ink-900); }
.snap-page--p1 .stage-outcome { background: rgba(233,69,96,0.08); }
.snap-page--p2 .stage-outcome { background: rgba(42,53,92,0.08); }
.journey-keypath {
  margin-top: 16px; padding: 10px 14px;
  background: var(--ink-900); color: #fff;
  border-radius: var(--r-md);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.journey-keypath strong { color: rgba(255,255,255,0.6); margin-right: 8px; font-family: var(--font-display); letter-spacing: 0.06em; font-size: 10.5px; text-transform: uppercase; }

@media (max-width: 1024px) {
  .persona-body { grid-template-columns: 1fr; gap: 16px; }
  .persona-data { grid-template-columns: 1fr; }
  .journey-timeline { grid-template-columns: 1fr 1fr; }
  .snap-page--persona .section-inner,
  .snap-page--journey .section-inner { padding: 0 24px; }
}
@media (max-width: 720px) {
  .journey-timeline { grid-template-columns: 1fr; }
}

/* Print + responsive overrides */
@media (max-width: 1024px) {
  .track { grid-template-columns: 1fr; }
  .track-phone { display: none; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header--with-phone { grid-template-columns: 1fr; }
  .section-phone { display: none; }
  .doc-preview .preview-grid { grid-template-columns: 1fr; }
  .doc-preview .preview-cell { flex-direction: column; }
}

/* =========================================================
   Mobile
   ========================================================= */
.sidebar-toggle { display: none; }

@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .hero { padding: 100px 48px 80px; }
  .section { padding: var(--section-pad) 48px; }
  .footer { padding: 48px; }
  .doc-hero { padding: 48px; }
  .doc-body { padding: 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 24px; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .thesis-grid, .tracks, .decision-grid, .risk-grid, .footer-inner { grid-template-columns: 1fr; }
  .trend-grid { grid-template-columns: 1fr; }
  .trend { border-right: none; border-bottom: 1px solid var(--ink-100); }
  .trend:last-child { border-bottom: none; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .flywheel-steps { grid-template-columns: repeat(2, 1fr); }
  .revenue-table { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky; top: 0; z-index: 50;
    height: auto; max-height: 70vh;
    padding: 8px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .sidebar:not(.open) .sidebar-brand,
  .sidebar:not(.open) .sidebar-section,
  .sidebar:not(.open) .sidebar-foot { display: none; }
  .sidebar-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    background: transparent; border: none;
    color: #fff; font-family: var(--font-display);
    font-size: 13px; font-weight: 700; padding: 0;
    cursor: pointer;
    min-height: 36px;
  }
  .sidebar-toggle::after {
    content: "≡"; font-size: 20px; line-height: 1;
  }
  .sidebar.open .sidebar-toggle::after { content: "×"; }
  .sidebar.open { padding: 12px 16px 16px; }
  .sidebar.open .sidebar-brand { margin-top: 10px; margin-bottom: 14px; }
  /* persona-flows: stack label above steps, allow steps to wrap on mobile */
  .flow-row { grid-template-columns: 1fr; gap: 8px; padding: 10px 12px; }
  .flow-label { font-size: 12.5px; }
  .flow-steps { flex-wrap: wrap; gap: 6px; overflow-x: visible; }
  .flow-step { flex: 1 1 calc(50% - 12px); min-width: calc(50% - 12px); padding: 10px; }
  .flow-step-text { font-size: 12px; }
  .flow-arrow { display: none; }

  .hero { padding: 64px 24px 48px; }
  .hero-stats { grid-template-columns: 1fr; padding: 16px 0; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 14px 0; }
  .hero-stat:last-child { border-bottom: none; }
  .section { padding: 64px 24px; }
  .footer { padding: 32px 24px; }
  .doc-hero { padding: 32px 24px; }
  .doc-body { padding: 32px 24px; }
  .asset-grid, .persona-grid, .flywheel-steps, .revenue-table { grid-template-columns: 1fr; }
  .cta { padding: 40px 28px; }
  .section-header h2, .doc-hero h1 { font-size: 28px; }
}

@media print {
  .sidebar, .sidebar-toggle, .cta-actions { display: none; }
  .layout { grid-template-columns: 1fr; }
  .hero, .section, .doc-hero, .doc-body { padding: 24px 0; }
  .section--ink, .hero { background: #fff !important; color: #000 !important; }
  .section--ink h2, .section--ink h3, .section--ink p,
  .hero-title, .hero-sub, .hero-stat-num, .hero-stat-label { color: #000 !important; }
  .track { background: #f5f5f8 !important; color: #000 !important; }
  .track-title, .track-bullets li, .track-bullets strong { color: #000 !important; }
  .footer { background: #fff !important; color: #000 !important; border-top: 1px solid #ddd; }
  a { color: inherit !important; text-decoration: none !important; }
  .anchor { display: none; }
  pre, .table-scroll, blockquote, .phase, .persona, .asset, .rev, .decision, .risk { page-break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; }
}

/* =========================================================
   .journey — 통합 여정 5단계 다이어그램 (#tracks 섹션)
   ========================================================= */
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 24px;
  position: relative;
}
.journey-step {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-lg);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: transform 0.15s ease;
}
.journey-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: rgba(0,0,0,0.18);
  font-weight: 700;
  z-index: 1;
}
.journey-step--primary {
  background: linear-gradient(180deg, #fff 0%, rgba(61,74,120,0.06) 100%);
  border-color: rgba(61,74,120,0.25);
  box-shadow: 0 4px 12px rgba(61,74,120,0.08);
}
.journey-step--accent {
  background: linear-gradient(180deg, #fff 0%, rgba(245,166,35,0.08) 100%);
  border-color: rgba(245,166,35,0.3);
  box-shadow: 0 4px 12px rgba(245,166,35,0.1);
}
.journey-step-num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(0,0,0,0.4);
  font-weight: 600;
}
.journey-step-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0.02em;
}
.journey-step--primary .journey-step-tag { color: #3d4a78; }
.journey-step--accent .journey-step-tag { color: #d68812; }
.journey-step h3 {
  margin: 4px 0 6px;
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink-900);
}
.journey-step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(0,0,0,0.72);
  flex: 1;
}
.journey-step p strong { color: var(--ink-900); }
.journey-revenue {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0,0,0,0.04);
  font-size: 11px;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  line-height: 1.4;
  border-left: 3px solid rgba(0,0,0,0.15);
}
.journey-revenue--none {
  color: rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.02);
  font-style: italic;
}
.journey-revenue--minor {
  border-left-color: rgba(0,0,0,0.3);
}
.journey-revenue--primary {
  background: rgba(61,74,120,0.1);
  color: #1a2547;
  border-left-color: #3d4a78;
}
.journey-revenue--accent {
  background: rgba(245,166,35,0.12);
  color: #a86810;
  border-left-color: #f5a623;
}

/* =========================================================
   .section-note — 각 랜딩 섹션 하단 2/3 지점 발표자 노트
   "이 페이지에서 뭘 설명하는가" 명시
   ========================================================= */
.section-note {
  margin-top: 32px;
  padding: 18px 22px;
  background: #fffbe6;
  border: 1px solid rgba(245,166,35,0.35);
  border-left: 4px solid #f5a623;
  border-radius: 8px;
  position: relative;
}

/* Pin speaker notes to bottom of each snap-page slide */
.snap-page .section-note {
  position: absolute;
  left: 24px;
  right: 110px; /* leave space for page-num badge at bottom-right */
  bottom: 14px;
  margin-top: 0;
  max-height: 22vh;
  overflow-y: auto;
  padding: 12px 18px;
  z-index: 5;
  box-shadow: 0 -4px 16px rgba(10,14,31,0.06);
}
.snap-page .section-note p,
.snap-page .section-note ul {
  font-size: 11.5px;
  line-height: 1.5;
}
.snap-page .section-note::before {
  font-size: 9.5px;
  margin-bottom: 5px;
}
.snap-page .section-note ul { margin-top: 4px; padding-left: 16px; }
.snap-page .section-note ul li { margin-bottom: 3px; }

/* Reserve bottom space for sections that have speaker notes */
.snap-page:has(.section-note) > .section-inner {
  padding-bottom: 26vh;
}

/* Mobile: release fixed positioning, allow natural flow */
@media (max-width: 720px) {
  .snap-page .section-note {
    position: static;
    margin-top: 16px;
    max-height: none;
    overflow-y: visible;
    left: auto; right: auto; bottom: auto;
    padding: 14px 16px;
  }
  .snap-page:has(.section-note) > .section-inner { padding-bottom: 0; }
}
.section-note::before {
  content: "페이지 해설 · For Reviewer";
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a86810;
  margin-bottom: 8px;
  text-transform: none;
}
.section-note p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0,0,0,0.78);
}
.section-note p:last-child { margin-bottom: 0; }
.section-note strong { color: var(--ink-900); }
.section-note ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0,0,0,0.78);
}
.section-note ul li { margin-bottom: 4px; }
.section-note ul li::marker { color: #d68812; }

@media (max-width: 1100px) {
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey-step:not(:last-child)::after { display: none; }
}
@media (max-width: 720px) {
  .journey { grid-template-columns: 1fr; }
  .section-note { padding: 14px 16px; }
  .section-note p, .section-note ul { font-size: 12.5px; }
}

/* =========================================================
   .thesis-trio — 문제 정의 · 문제 해결 · 예측 결과 3분할
   ========================================================= */
.thesis-trio {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 14px;
  margin: 24px 0 28px;
}
.thesis-trio-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  position: relative;
}
.thesis-trio-item--solution {
  background: linear-gradient(180deg, #fff 0%, rgba(245,166,35,0.06) 100%);
  border-color: rgba(245,166,35,0.3);
  box-shadow: 0 4px 14px rgba(245,166,35,0.08);
}
.thesis-trio-item--outcome {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}
.thesis-trio-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.45);
  margin-bottom: 8px;
}
.thesis-trio-item--solution .thesis-trio-tag { color: #a86810; }
.thesis-trio-item--outcome .thesis-trio-tag { color: rgba(255,255,255,0.6); }
.thesis-trio-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(0,0,0,0.78);
}
.thesis-trio-item--outcome p { color: rgba(255,255,255,0.92); }
.thesis-trio-item p strong { color: var(--ink-900); }
.thesis-trio-item--outcome p strong { color: var(--accent-2); }
.thesis-trio-item mark {
  background: rgba(245,166,35,0.25);
  color: inherit;
  padding: 1px 4px;
  border-radius: 3px;
}

/* .thesis-bullets — thesis-item 카드 안 키워드 목록 */
.thesis-bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.thesis-bullets li {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  position: relative;
  padding-left: 22px;
}
.thesis-bullets li:first-child { border-top: none; padding-top: 4px; }
.thesis-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .thesis-trio { grid-template-columns: 1fr; }
}

/* =========================================================
   .market-2col — 02 시장 신호 좌(도넛) + 우(해결 매핑)
   ========================================================= */
.market-2col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  margin-top: 22px;
  align-items: stretch;
}
.market-2col > .demand-pie,
.market-2col > .solution-map {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.market-2col > .demand-pie .donut-wrap {
  flex: 1;
  align-items: center;
}
.market-col-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink-900);
}
.market-col-sub {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  margin: 0 0 18px;
  line-height: 1.5;
}

/* 도넛 차트 */
.demand-pie {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-lg);
  padding: 22px;
}
.donut-wrap {
  display: flex;
  justify-content: center;
  margin: 0;
}
.donut {
  width: 100%;
  max-width: 540px;
  height: auto;
  aspect-ratio: 540 / 360;
}
.donut circle { transition: stroke-width 0.2s ease; }

.demand-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.demand-legend li {
  display: grid;
  grid-template-columns: 16px 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  font-size: 13px;
}
.demand-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.demand-legend .lg-pct {
  font-weight: 800;
  color: var(--ink-900);
}
.demand-legend .lg-label { color: rgba(0,0,0,0.78); }
.demand-legend .lg-amt {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  font-weight: 600;
}

/* 우측 해결 매핑 */
.solution-map {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-lg);
  padding: 22px;
}
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.sol {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.sol--y {
  background: rgba(245,166,35,0.08);
  border-left: 3px solid #f5a623;
}
.sol--w {
  background: rgba(0,0,0,0.03);
  border-left: 3px solid #a8a8a8;
}
.sol--n {
  background: rgba(0,0,0,0.02);
  border-left: 3px solid #cdcdcd;
  color: rgba(0,0,0,0.55);
}
.sol-mark {
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
}
.sol--y .sol-mark { color: #d68812; }
.sol--w .sol-mark { color: #666; }
.sol--n .sol-mark { color: #aaa; }
.sol strong { color: var(--ink-900); font-weight: 700; }
.sol--n strong { color: rgba(0,0,0,0.6); }
.sol mark {
  background: rgba(245,166,35,0.3);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
}

.solution-sum {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.ss-item {
  text-align: center;
  padding: 10px 8px;
  border-radius: 8px;
}
.ss-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: 2px;
}
.ss-item span {
  display: block;
  font-size: 11px;
  color: rgba(0,0,0,0.6);
  line-height: 1.35;
}
.ss-item--y { background: rgba(245,166,35,0.12); }
.ss-item--y strong { color: #d68812; }
.ss-item--w { background: rgba(0,0,0,0.05); }
.ss-item--w strong { color: #666; }
.ss-item--n { background: rgba(0,0,0,0.03); }
.ss-item--n strong { color: #999; }

@media (max-width: 1000px) {
  .market-2col { grid-template-columns: 1fr; }
  .donut { width: 200px; height: 200px; }
}

/* =========================================================
   .thesis-stats — 거시 통계 4개 수치 그리드
   ========================================================= */
.thesis-stats {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.thesis-stats li {
  padding: 12px 14px;
  background: rgba(245,166,35,0.06);
  border-radius: 8px;
  border-left: 3px solid #f5a623;
}
.thesis-stats li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.1;
  margin-bottom: 4px;
}
.thesis-stats li strong small {
  font-size: 13px;
  font-weight: 700;
  margin-left: 2px;
  color: rgba(0,0,0,0.55);
}
.thesis-stats li span {
  display: block;
  font-size: 11.5px;
  color: rgba(0,0,0,0.65);
  line-height: 1.4;
}

/* .thesis-compete — 경쟁사 매핑 테이블 */
.thesis-compete {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 10px;
  font-size: 12px;
}
.thesis-compete th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.5);
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.thesis-compete td {
  padding: 7px 8px 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.75);
  vertical-align: top;
  line-height: 1.4;
}
.thesis-compete td:first-child { white-space: nowrap; }
.thesis-compete td strong { color: var(--ink-900); font-weight: 700; }
.thesis-compete tr:last-child td { border-bottom: none; }

.thesis-edge {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: var(--ink-900);
  color: #fff;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.5;
}
.thesis-edge strong { color: var(--accent-2); }

@media (max-width: 720px) {
  .thesis-stats { grid-template-columns: 1fr; }
  .thesis-compete { font-size: 11px; }
}

.thesis-edge-next {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}

.mark-tentative {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-left: 6px;
  letter-spacing: 0;
  vertical-align: middle;
}

/* =========================================================
   Tier preview (04a~04f) — Daily / Mid / Heavy
   3 단계 게이트웨이 + 핵심 2 페이지 + 전체 카탈로그 3컬럼 그리드
   디자인 시스템 토큰만 사용 — navy / red / gold
   ========================================================= */

/* Gateway 3-tier grid */
.lockin-grid--tier3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) {
  .lockin-grid--tier3 { grid-template-columns: 1fr; }
}

/* Tier card variants — color tokens */
.lockin-card--daily::before { background: var(--red-500); }
.lockin-card--mid::before   { background: var(--navy-600); }
.lockin-card--heavy::before { background: var(--gold-500); }

.lockin-card--daily .lockin-num { background: var(--red-100);  color: var(--red-700); }
.lockin-card--mid   .lockin-num { background: var(--navy-100); color: var(--navy-700); }
.lockin-card--heavy .lockin-num { background: var(--gold-100); color: var(--gold-700); }

/* Card link wrapper — makes upper area clickable while CTAs sit below */
.lockin-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.lockin-card-link:hover .lockin-card-hero img {
  transform: translateY(-2px);
  transition: transform .2s ease;
}

/* Dual CTA row at card footer */
.lockin-card-ctas {
  display: flex;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px dashed var(--navy-100);
}
.lockin-cta--primary,
.lockin-cta--ghost {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.lockin-cta--primary {
  background: var(--navy-900);
  color: #fff;
}
.lockin-cta--primary:hover { background: var(--red-700); }
.lockin-cta--ghost {
  background: transparent;
  color: var(--navy-700);
  border: 1px solid var(--navy-200);
}
.lockin-cta--ghost:hover { border-color: var(--red-500); color: var(--red-700); }

/* Tier-specific doc-hero accent (replaces the per-lockType variants) */
.doc-hero--daily { border-bottom: 3px solid var(--red-500); }
.doc-hero--mid   { border-bottom: 3px solid var(--navy-600); }
.doc-hero--heavy { border-bottom: 3px solid var(--gold-500); }

/* Tier sibling tabs */
.lockin-tab--daily.active { background: var(--red-500);  color: #fff; border-color: var(--red-500); }
.lockin-tab--mid.active   { background: var(--navy-600); color: #fff; border-color: var(--navy-600); }
.lockin-tab--heavy.active { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

/* =========================================================
   Tier List page — 3 컬럼 카드 그리드
   ========================================================= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 980px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .tier-grid { grid-template-columns: 1fr; }
}

.tier-card {
  background: var(--paper);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-200);
}

/* Top accent bar per tier */
.tier-card { position: relative; }
.tier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.tier-card--daily::before { background: var(--red-500); }
.tier-card--mid::before   { background: var(--navy-600); }
.tier-card--heavy::before { background: var(--gold-500); }

.tier-card--core {
  border-color: var(--red-200);
  box-shadow: 0 2px 8px rgba(233,69,96,0.10);
}
.tier-card--mid.tier-card--core   { border-color: var(--navy-200); box-shadow: 0 2px 8px rgba(42,53,92,0.10); }
.tier-card--heavy.tier-card--core { border-color: var(--gold-200); box-shadow: 0 2px 8px rgba(245,166,35,0.16); }

.tier-card-thumb {
  aspect-ratio: 9 / 12;
  background: var(--navy-50);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  max-height: 240px;
}
.tier-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tier-card-thumb--placeholder {
  background: linear-gradient(135deg, var(--navy-50) 0%, var(--navy-100) 100%);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-300);
  letter-spacing: 0.06em;
  aspect-ratio: 9 / 5;
}
.tier-card--daily .tier-card-thumb--placeholder { background: linear-gradient(135deg, var(--red-50)  0%, var(--red-100)  100%); color: var(--red-700); }
.tier-card--mid   .tier-card-thumb--placeholder { background: linear-gradient(135deg, var(--navy-50) 0%, var(--navy-100) 100%); color: var(--navy-700); }
.tier-card--heavy .tier-card-thumb--placeholder { background: linear-gradient(135deg, var(--gold-50) 0%, var(--gold-100) 100%); color: var(--gold-700); }

.tier-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tier-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--navy-300);
}
.tier-card-code { font-weight: 700; color: var(--navy-500); }

.tier-card-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tier-card-badge--core { background: var(--red-500); color: #fff; }
.tier-card--mid.tier-card--core .tier-card-badge--core   { background: var(--navy-600); }
.tier-card--heavy.tier-card--core .tier-card-badge--core { background: var(--gold-500); color: var(--navy-900); }

.tier-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--navy-900);
}
.tier-card-summary {
  font-size: 13px;
  line-height: 1.55;
  color: var(--navy-600);
  margin: 0;
  flex: 1;
}
.tier-card-kpi {
  font-size: 11px;
  color: var(--navy-500);
  border-top: 1px dashed var(--navy-100);
  padding-top: 8px;
  margin-top: 4px;
}
.tier-card-kpi span {
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: 0.04em;
  margin-right: 4px;
}

/* =========================================================
   .hero--cover — 00 커버 페이지
   ========================================================= */
.hero--cover {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-inner {
  max-width: 880px;
  text-align: center;
  padding: 40px 20px;
}
.cover-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}
.cover-brand-name {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.cover-brand-tentative {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0;
}
.cover-meaning {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 28px;
}
.cover-meaning strong {
  color: #fff;
  font-weight: 800;
}
.cover-doctype {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  margin-bottom: 28px;
}
.cover-title {
  margin: 0 0 18px;
  color: #fff;
}
.cover-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0 auto;
}
.cover-sub strong { color: #fff; font-weight: 700; }

@media (max-width: 720px) {
  .cover-brand-name { font-size: 44px; }
  .cover-meaning { font-size: 13px; }
}

/* =========================================================
   Tier TOC page — 코드 / 타이틀 / 설명 3 컬럼 표
   설득력 강화용 — 콘텐츠 풍부함을 빠르게 훑게 한다
   ========================================================= */
.toc-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
}
.toc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--paper);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.toc-table thead {
  background: var(--navy-50);
  border-bottom: 2px solid var(--navy-200);
}
.toc-table th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.toc-h-code    { width: 14%; }
.toc-h-title   { width: 28%; }
.toc-h-summary { width: 58%; }

.toc-table tbody tr {
  border-top: 1px solid var(--navy-100);
  transition: background .12s ease;
}
.toc-table tbody tr:hover { background: var(--navy-50); }
.toc-table td {
  padding: 14px 18px;
  vertical-align: top;
  line-height: 1.55;
}
.toc-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.toc-title {
  font-weight: 700;
  color: var(--navy-900);
}
.toc-summary {
  color: var(--navy-600);
  font-size: 13.5px;
}
.toc-row--core .toc-code,
.toc-row--core .toc-title {
  color: var(--red-700);
}
.toc-core-mark {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  color: var(--gold-500);
}

/* Tier tint variations */
.doc-hero--mid ~ section .toc-row--core .toc-code,
.doc-hero--mid ~ section .toc-row--core .toc-title { color: var(--navy-700); }
.doc-hero--heavy ~ section .toc-row--core .toc-code,
.doc-hero--heavy ~ section .toc-row--core .toc-title { color: var(--gold-700); }

/* Triple CTA gateway — 3 buttons fit narrower */
.lockin-card-ctas--triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.lockin-card-ctas--triple .lockin-cta {
  padding: 9px 6px;
  font-size: 12px;
  flex: unset;
}

/* Mobile fallback: TOC table → stacked cards */
@media (max-width: 720px) {
  .toc-table, .toc-table thead, .toc-table tbody, .toc-table tr, .toc-table td, .toc-table th { display: block; }
  .toc-table thead { display: none; }
  .toc-table tbody tr {
    padding: 12px 14px;
    border-top: 8px solid var(--navy-50);
  }
  .toc-table td { padding: 4px 0; }
  .toc-code::before    { content: "코드 "; color: var(--navy-300); font-family: var(--font-display); font-weight: 600; font-size: 11px; }
  .toc-title::before   { content: "타이틀 "; color: var(--navy-300); font-family: var(--font-display); font-weight: 600; font-size: 11px; }
  .toc-summary::before { content: "설명 "; color: var(--navy-300); font-family: var(--font-display); font-weight: 600; font-size: 11px; }
}

/* =========================================================
   Landing inline TOC (snap-page--list) — PPT slide 형식의 목록 슬라이드
   ========================================================= */
.snap-page--list .toc-wrap--inline {
  margin-top: 24px;
  padding: 0;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.snap-page--list .toc-table {
  font-size: 13px;
}
.snap-page--list .toc-table th {
  padding: 10px 14px;
  font-size: 10px;
}
.snap-page--list .toc-table td {
  padding: 10px 14px;
}
.snap-page--list .toc-summary { font-size: 12.5px; }

.snap-cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.snap-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 16px;
  border-radius: var(--r-md);
  background: var(--navy-50);
  color: var(--navy-700);
  border: 1px solid var(--navy-200);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.snap-cta:hover {
  background: var(--red-500);
  color: #fff;
  border-color: var(--red-500);
}

/* =========================================================
   06 사업 마일스톤 — 외주→내재화 큰 그림
   ========================================================= */
.ms-target {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0 28px;
  flex-wrap: wrap;
}
.ms-target-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ms-target-item--accent {
  background: linear-gradient(180deg, #fff, rgba(245,166,35,0.08));
  border-color: rgba(245,166,35,0.35);
}
.ms-target-item--primary {
  background: var(--ink-900);
  border-color: var(--ink-900);
}
.ms-target-num {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.05;
}
.ms-target-num small {
  font-size: 13px;
  font-weight: 700;
  margin-left: 2px;
  color: rgba(0,0,0,0.55);
}
.ms-target-item--accent .ms-target-num { color: #a86810; }
.ms-target-item--primary .ms-target-num { color: var(--accent-2); }
.ms-target-item--primary .ms-target-num small { color: rgba(255,255,255,0.55); }
.ms-target-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
}
.ms-target-item--primary .ms-target-label { color: rgba(255,255,255,0.7); }
.ms-target-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: rgba(0,0,0,0.3);
  padding: 0 2px;
}

.ms-howto-title, .ms-timeline-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.ms-timeline-title { margin-top: 24px; }
.ms-cost-title { margin-top: 24px; }

/* Macro target rationale (06a) */
.ms-target-rationale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.ms-rationale-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.ms-rationale-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent-4);
}
.ms-rationale-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-4);
  margin: 0 0 8px;
  text-transform: none;
}
.ms-rationale-card p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
}

/* Cost cards (06b) */
.ms-cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 18px;
}
.ms-cost-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.ms-cost-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent-2);
}
.ms-cost-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(245,166,35,0.12);
  color: var(--accent-2);
  margin-bottom: 8px;
}
.ms-cost-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.ms-cost-card p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
}

@media (max-width: 1024px) {
  .ms-target-rationale { grid-template-columns: 1fr; }
  .ms-cost-grid { grid-template-columns: 1fr; }
}

.ms-howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 6px;
}
.ms-howto {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 14px 16px;
}
.ms-howto-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 3px 8px;
  background: rgba(245,166,35,0.1);
  border-radius: 4px;
  margin-bottom: 6px;
}
.ms-howto h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 10px;
  line-height: 1.35;
}
.ms-howto-phase {
  margin: 0 0 6px;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(0,0,0,0.7);
}
.ms-howto-phase strong { color: var(--ink-900); font-weight: 700; }

.ms-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ms-phase {
  padding: 14px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid #cdcdcd;
}
.ms-phase--loss { border-top-color: #e74c3c; background: rgba(231,76,60,0.04); }
.ms-phase--mid  { border-top-color: #f5a623; background: rgba(245,166,35,0.05); }
.ms-phase--bep  { border-top-color: #2bb673; background: rgba(43,182,115,0.06); }
.ms-phase--profit { border-top-color: var(--ink-900); background: var(--ink-900); color: #fff; }
.ms-phase-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.5);
  margin-bottom: 6px;
}
.ms-phase--profit .ms-phase-tag { color: rgba(255,255,255,0.55); }
.ms-phase h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 6px;
  line-height: 1.4;
}
.ms-phase--profit h4 { color: #fff; }
.ms-phase h4 strong { color: var(--accent); }
.ms-phase--profit h4 strong { color: var(--accent-2); }
.ms-phase p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(0,0,0,0.65);
}
.ms-phase--profit p { color: rgba(255,255,255,0.78); }

@media (max-width: 980px) {
  .ms-howto-grid, .ms-timeline { grid-template-columns: 1fr 1fr; }
  .ms-target { flex-wrap: wrap; }
  .ms-target-arrow { display: none; }
}
@media (max-width: 600px) {
  .ms-howto-grid, .ms-timeline { grid-template-columns: 1fr; }
}

/* =========================================================
   05 수익 모델 — 5개 라인 카드 (흰 배경 + 좌측 보더, 톤앤매너 통일)
   ========================================================= */
.rev-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 32px 0 24px;
}
.rev-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 22px 20px 24px;
  min-height: 340px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

/* 5개 라인 보더 컬러만 다르게 — 톤앤매너 노란/액센트 계열 변주 */
.rev-card--accent1 { border-left-color: #f5a623; }
.rev-card--accent2 { border-left-color: #d68812; }
.rev-card--accent3 { border-left-color: #ffc759; }
.rev-card--accent4 { border-left-color: #b86d0a; }
.rev-card--accent5 { border-left-color: #e8a73d; }

.rev-card-tag {
  margin: 0;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  align-self: start;
}
.rev-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.rev-card-basis {
  align-self: start;
  display: grid;
  gap: 4px;
}
.rev-card-basis p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(0,0,0,0.65);
}
.rev-card-basis p strong {
  color: var(--ink-900);
  font-weight: 700;
}
.rev-card-figure {
  text-align: center;
  padding-top: 14px;
  border-top: 1px dashed rgba(0,0,0,0.15);
}
.rev-card-figure strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #d68812;
  line-height: 1.1;
  display: block;
}

@media (max-width: 1100px) {
  .rev-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .rev-cards { grid-template-columns: 1fr 1fr; }
  .rev-card { min-height: auto; padding: 20px 18px; }
}

/* =========================================================
   06b 3년 곡선 — GMV vs 매출 라인 차트
   ========================================================= */
.curve-wrap {
  margin: 16px auto 18px;
  max-width: 720px;
  display: flex;
  justify-content: center;
}
.curve-chart {
  width: 100%;
  height: auto;
  max-width: 720px;
  aspect-ratio: 720 / 360;
}
.curve-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.curve-summary-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 12px 16px;
  position: relative;
  overflow: hidden;
}
.curve-summary-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
}
.curve-summary-card--y3::before { background: var(--accent-3); }
.curve-summary-card--y5::before { background: var(--accent-2); }
.curve-summary-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.curve-summary-card--y3 .curve-summary-tag { color: var(--accent-3); }
.curve-summary-card--y5 .curve-summary-tag { color: var(--accent-2); }
.curve-summary-card p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
}

@media (max-width: 720px) {
  .curve-summary { grid-template-columns: 1fr; }
}

/* =========================================================
   06a 실행 — 가진 것/부족한 것 + BEP 단순 구조
   ========================================================= */
.exec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 22px;
}
.exec-card {
  border-radius: 14px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
}
.exec-card--have {
  background: linear-gradient(160deg, rgba(245,166,35,0.08) 0%, #fff 70%);
  border-color: rgba(245,166,35,0.35);
  border-left: 4px solid var(--accent);
}
.exec-card--need {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  border-left: 4px solid #6b7591;
}
.exec-card-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.exec-card--have .exec-card-tag { color: #b86d0a; }
.exec-card--need .exec-card-tag { color: #6b7591; }
.exec-card h3 {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.35;
}
.exec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.exec-list li {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(0,0,0,0.75);
  padding-left: 16px;
  position: relative;
}
.exec-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.exec-list li strong { color: var(--ink-900); font-weight: 700; }

.exec-bep {
  margin-top: 6px;
}
.exec-bep-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 12px;
}
.exec-bep-item {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid #cdcdcd;
  border-radius: 10px;
}
.exec-bep-item--goal {
  background: var(--ink-900);
  border-color: var(--ink-900);
  border-top-color: var(--accent);
  color: #fff;
}
.exec-bep-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.5);
  margin-bottom: 6px;
}
.exec-bep-item--goal .exec-bep-label { color: var(--accent-2); }
.exec-bep-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(0,0,0,0.75);
}
.exec-bep-item--goal p { color: rgba(255,255,255,0.92); }
.exec-bep-item p strong { color: var(--ink-900); font-weight: 700; }
.exec-bep-item--goal p strong { color: var(--accent-2); }

@media (max-width: 900px) {
  .exec-grid { grid-template-columns: 1fr; }
  .exec-bep-row { grid-template-columns: 1fr; }
}

/* =========================================================
   08 캐릭터 페이지 (characters.html)
   Dal-i + Horangdong-i 마스코트 톤앤매너 가이드
   ========================================================= */
.char-page { padding-bottom: 80px; }

.char-hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 64px 48px 80px;
  border-bottom: 3px solid var(--gold-500);
}
.char-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.char-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.char-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 720px;
  margin: 0;
}
.char-hero-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.char-hero-duo svg {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 12px 40px rgba(245,166,35,0.20));
}

.char-section {
  padding: 64px 48px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.char-section + .char-section { padding-top: 0; }
.char-section h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--navy-900);
}
.char-section .lede {
  font-size: 15px;
  color: var(--navy-600);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 720px;
}
.char-h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 32px 0 8px;
}
.char-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.char-tag--gold { background: var(--gold-100); color: var(--gold-700); }
.char-tag--red  { background: var(--red-100);  color: var(--red-700); }
.char-tag--navy { background: var(--navy-100); color: var(--navy-700); }

.char-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  background: var(--paper);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .char-profile { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}
.char-profile-portrait {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--r-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.char-profile--horangdong .char-profile-portrait {
  background: linear-gradient(135deg, var(--red-700) 0%, var(--red-500) 100%);
}
.char-profile-portrait svg {
  width: 70%;
  height: 70%;
}
.char-profile-text h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.char-profile-subtitle {
  font-size: 13px;
  color: var(--navy-500);
  margin-bottom: 20px;
  font-weight: 600;
}
.char-profile-attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 20px;
}
.char-profile-attrs dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-400);
  margin-bottom: 4px;
}
.char-profile-attrs dd {
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy-800);
  margin: 0;
}
.char-profile-text p {
  line-height: 1.7;
  color: var(--navy-700);
  font-size: 15px;
}

.char-states {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 720px) {
  .char-states { grid-template-columns: 1fr; }
}
.char-state-card {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}
.char-state-card svg {
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
}
.char-state-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--navy-900);
}
.char-state-card .sub {
  font-size: 12px;
  color: var(--navy-500);
  margin-bottom: 8px;
}
.char-state-card p {
  font-size: 13px;
  color: var(--navy-700);
  line-height: 1.5;
  margin: 0;
}

.char-usage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .char-usage { grid-template-columns: 1fr; }
}
.char-usage-card {
  background: var(--paper);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.char-usage-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--navy-900);
}
.char-usage-card .meta {
  font-size: 11px;
  color: var(--gold-700);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.char-usage-card p {
  color: var(--navy-700);
  line-height: 1.65;
  font-size: 14px;
  margin: 0 0 16px;
}
.char-usage-demo {
  background: var(--navy-50);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px dashed var(--navy-200);
}
.char-usage-demo svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.char-usage-demo-text strong {
  display: block;
  font-size: 13px;
  color: var(--navy-900);
  margin-bottom: 2px;
}
.char-usage-demo-text span {
  font-size: 11.5px;
  color: var(--navy-500);
}

.char-tone-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.char-tone-table th {
  background: var(--navy-900);
  color: #fff;
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.char-tone-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--navy-100);
  font-size: 14px;
  line-height: 1.55;
  vertical-align: top;
}
.char-tone-table tr:nth-child(even) td { background: var(--navy-50); }
.char-tone-table .do { color: var(--navy-800); }
.char-tone-table .dont { color: var(--red-700); }
.char-tone-table .label {
  font-weight: 700;
  color: var(--navy-700);
  white-space: nowrap;
}

.char-palette {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.char-swatch {
  background: var(--paper);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-md);
  padding: 12px;
  min-width: 140px;
}
.char-swatch-chip {
  height: 40px;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}
.char-swatch-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: 0.04em;
}
.char-swatch-hex {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy-500);
}

.char-roadmap-list {
  line-height: 1.9;
  color: var(--navy-700);
  font-size: 14.5px;
  padding-left: 20px;
}
.char-roadmap-list li { margin-bottom: 6px; }
.char-roadmap-list strong { color: var(--navy-900); }
