/* ============================================================
   system-index.css — CHAART OS Design System
   index.html 전용 — Hero/Ticker/OKR/Brand Philosophy/Visual Language/Price Rail
   분리: 2026-03-26 (Élio Brandt)
   ============================================================ */

/* ══════════════════════════════════
   Hero — GTE Style Full-Width
══════════════════════════════════ */
.inspire-hero {
  position: relative;
  padding: 180px var(--content-px) 120px;
  text-align: center;
  overflow: hidden;
}
.inspire-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 30% 0%, var(--red-brand-subtle), transparent 60%),
    radial-gradient(ellipse 600px 500px at 70% 80%, rgba(245,242,238,0.5), transparent 50%); /* NOTE: rgba(245,242,238,0.5) — warm-paper 계열, 토큰 없음 */
  pointer-events: none;
  z-index: 0;
}
.inspire-hero-label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.inspire-hero-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
  color: var(--charcoal);
  max-width: 800px;
  margin: 0 auto 24px;
}
.inspire-hero-title .accent {
  color: var(--red-brand);
}
.inspire-hero-sub {
  position: relative;
  z-index: 1;
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.inspire-hero-scroll {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
}
.inspire-hero-scroll .arrow {
  width: 1px;
  height: 32px;
  background: var(--text-muted);
  position: relative;
  animation: scrollPulse 2s var(--ease) infinite;
}
.inspire-hero-scroll .arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  transform: rotate(45deg);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}
/* 다크 테마 히어로 */
body[data-theme="charcoal"] .inspire-hero::before {
  background:
    radial-gradient(ellipse 900px 600px at 30% 0%, var(--red-brand-muted), transparent 60%),
    radial-gradient(ellipse 600px 500px at 70% 80%, var(--alpha-60), transparent 50%); /* NOTE: rgba(22,22,22,0.6) — charcoal 계열, 토큰 없음 */
}

/* ══════════════════════════════════
   Ticker — Financial Terminal
══════════════════════════════════ */
.ticker {
  border-top: none;
  border-bottom: none;
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  opacity: 1;
  background: var(--bg);
}
.ticker::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none;
  z-index: 2;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 28px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-caption);
  border-right: 1px solid var(--border-strong);
}
.ticker-item .val {
  font-weight: 600;
  color: var(--text);
  margin-left: 2px;
}
.ticker-item .up {
  color: var(--red-brand);
  font-weight: 700;
}
.ticker-item .down {
  color: #2E7D32;
  font-weight: 700;
}
.ticker-item .badge {
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  padding: 2px 6px;
  background: var(--red-brand);
  color: var(--white);
  line-height: 1;
}
.ticker-item .badge-muted {
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  padding: 2px 6px;
  background: var(--charcoal);
  color: var(--bg);
  line-height: 1;
}
.ticker-item .live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red-brand);
  border-radius: var(--radius-round);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* ══════════════════════════════════
   Overview Intro Section
══════════════════════════════════ */
.overview-intro {
  margin: 0 0 160px;
  padding: 120px var(--content-px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--warm-bg), var(--bg));
  position: relative;
  z-index: 1;
}
.overview-intro-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.overview-intro-lead {
  margin-bottom: 72px;
}
.overview-intro-label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.overview-intro-title {
  font-size: clamp(34px, 5.2vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 24px;
}
.overview-intro-sub {
  max-width: 640px;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-secondary);
}
.overview-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.overview-intro-card {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-card);
  padding: 24px;
  min-height: 220px;
}
.overview-intro-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--red-brand), var(--charcoal));
}
.overview-intro-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.overview-intro-card-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}
.overview-intro-meta {
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-card);
  padding: 24px;
}
.overview-intro-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.overview-intro-meta-right {
  text-align: right;
}
.overview-intro-meta-label {
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.overview-intro-meta-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}
.overview-intro-meta-help {
  margin-top: 4px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
@media (max-width: 1024px) {
  .overview-intro {
    padding: 96px 32px;
    margin-bottom: 128px;
  }
  .overview-intro-grid {
    grid-template-columns: 1fr;
  }
  .overview-intro-card {
    min-height: 0;
  }
}
@media (max-width: 720px) {
  .overview-intro {
    padding: 84px var(--content-px-mobile);
    margin-bottom: 96px;
  }
  .overview-intro-lead {
    margin-bottom: 48px;
  }
  .overview-intro-meta {
    margin-top: 40px;
    padding: 20px;
  }
  .overview-intro-meta-right {
    text-align: left;
  }
}

/* ══════════════════════════════════
   3축 OKR 섹션
══════════════════════════════════ */
.pillars {
  padding: 48px 0 80px;
  position: relative;
  z-index: 1;
}
.pillars-header {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px) 64px;
}
.pillars-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pillars-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
}
.pillars-title .accent {
  color: var(--red-brand);
}
.pillars-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
}
/* ── 카드 ── */
.pillar-card {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-card);
  padding: var(--card-py) var(--card-px) var(--card-px);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  opacity: 0;
  transform: translateY(24px);
}
.pillar-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
              box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--alpha-6); /* NOTE: box-shadow 내부, shadow 토큰 복합값과 불일치 */
  border-color: var(--alpha-16); /* NOTE: 0.16 — border-strong(0.13/0.14) 범위 밖, 토큰 없음 */
}
.pillar-card.visible:hover {
  transform: translateY(-2px);
}
.pillar-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-ultra);
  color: var(--red-brand);
  margin-bottom: 24px;
}
.pillar-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: var(--ls-normal);
}
.pillar-line {
  width: 20px;
  height: 1.5px;
  background: var(--red-brand);
  margin: 16px 0;
}
.pillar-desc {
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  min-height: 48px;
}
.pillar-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-val {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  font-weight: 700;
  color: var(--red-brand);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}
.metric-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.pillar-owner {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-caption);
  margin-bottom: 24px;
}
/* ── 펼치기 토글 ── */
.pillar-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 0;
  transition: opacity var(--dur-hover) var(--ease);
}
.pillar-toggle:hover {
  color: var(--text-secondary);
}
.pillar-toggle .arrow {
  display: inline-block;
  transition: transform 0.5s var(--ease);
  font-size: var(--text-13);
}
.pillar-card.open .pillar-toggle .arrow {
  transform: rotate(180deg);
}
/* ── 펼침 콘텐츠 ── */
.pillar-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.pillar-card.open .pillar-detail {
  grid-template-rows: 1fr;
}
.pillar-detail-inner {
  overflow: hidden;
}
.pillar-detail-content {
  padding-top: 24px;
}
.timeline-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.pillar-card.open .timeline-row {
  opacity: 1;
  transform: translateY(0);
}
.pillar-card.open .timeline-row:nth-child(1) { transition-delay: 0.1s; }
.pillar-card.open .timeline-row:nth-child(2) { transition-delay: 0.2s; }
.pillar-card.open .timeline-row:nth-child(3) { transition-delay: 0.3s; }
.timeline-row:last-child {
  border-bottom: none;
}
.timeline-month {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--red-brand);
  letter-spacing: var(--ls-wider);
  min-width: 36px;
  flex-shrink: 0;
}
.timeline-text {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   SECTION DARK — 다크/라이트 교차
   ══════════════════════════════════════ */
.section-dark {
  /* ⚠ 의도적 재선언 — CSS Custom Property 범위(scope) 제한:
     body[data-theme="charcoal"]은 :root 레벨 오버라이드라
     섹션 단위 다크 전환에 쓸 수 없음. 값은 tokens.css:285-315 와 동기화 필수.
     마지막 동기화: 2026-02-21 */
  background: var(--charcoal);
  color: var(--white);
  --text: #F0F0F0;              /* tokens.css:290 */
  --text-secondary: #A5A5A5;   /* tokens.css:291 */
  --text-muted: #6B6B6B;       /* tokens.css:292 */
  --text-caption: #888888;     /* tokens.css:293 */
  --text-inverse: #111111;     /* tokens.css:294 */
  --charcoal: #F0F0F0;         /* tokens.css:295 */
  --border: rgba(255,255,255,0.07);    /* tokens.css:296 */
  --border-strong: rgba(255,255,255,0.13); /* tokens.css:297 */
  --alpha-4: rgba(255,255,255,0.04);   /* tokens.css:298 */
  --alpha-6: rgba(255,255,255,0.06);   /* tokens.css:299 */
  --alpha-8: rgba(255,255,255,0.08);   /* tokens.css:300 */
  --alpha-12: rgba(255,255,255,0.12);  /* tokens.css:301 */
  --alpha-16: rgba(255,255,255,0.18);  /* tokens.css:302 */
  --bg-card: #141414;          /* tokens.css:287 */
  --glass-bg: rgba(10,10,10,0.82); /* tokens.css:309 */
  padding: 1px 0; /* margin collapse 방지 */
  margin: var(--section-gap) 0 0;
  border-radius: 0;
  position: relative;
}
/* 다크 테마에서는 원래 배경 유지 */
body[data-theme="charcoal"] .section-dark {
  background: var(--black);
}
/* ══════════════════════════════════════
   BRAND PHILOSOPHY
   ══════════════════════════════════════ */
.brand-philosophy {
  padding: 120px 0 0;
}
/* ── 코어 인용 ── */
.bp-quote-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px) 64px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.bp-quote-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}
.bp-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.bp-quote {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 32px;
}
.bp-quote .red { color: var(--red-brand); }
.bp-quote-sub {
  font-family: var(--sans);
  font-size: var(--text-16);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}
/* ── 세 가지 믿음 ── */
.bp-beliefs {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-bottom: 120px;
  align-items: start;
}
.bp-belief {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-card);
  padding: 40px 32px 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
              box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.bp-belief.visible {
  opacity: 1;
  transform: translateY(0);
}
.bp-belief:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--alpha-6); /* NOTE: box-shadow 내부, shadow 토큰 복합값과 불일치 */
  border-color: var(--alpha-16); /* NOTE: 0.16 — border-strong(0.13/0.14) 범위 밖, 토큰 없음 */
}
.bp-belief.visible:hover {
  transform: translateY(-2px);
}
.bp-belief-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-ultra);
  color: var(--red-brand);
  margin-bottom: 24px;
}
.bp-belief-line {
  width: 32px;
  height: 1px;
  background: var(--red-brand);
  margin-bottom: 20px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}
.bp-belief.visible .bp-belief-line {
  transform: scaleX(1);
}
.bp-belief-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.3;
}
.bp-belief-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
/* 믿음 카드: 펼침 토글 */
.bp-belief-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 0;
  transition: opacity var(--dur-hover) var(--ease);
}
.bp-belief-toggle:hover { color: var(--text-secondary); }
.bp-belief-toggle .arrow {
  display: inline-block;
  transition: transform 0.5s var(--ease);
  font-size: var(--text-13);
}
.bp-belief.open .bp-belief-toggle .arrow {
  transform: rotate(180deg);
}
/* 믿음 카드: 펼침 콘텐츠 */
.bp-belief-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.bp-belief.open .bp-belief-detail {
  grid-template-rows: 1fr;
}
.bp-belief-detail-inner {
  overflow: hidden;
}
.bp-belief-detail-content {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.bp-belief-example-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.bp-belief-example {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text-secondary);
}
.bp-belief-example strong {
  color: var(--charcoal);
  font-weight: 500;
}
/* ── 플로어 구조 ── */
.bp-floors {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.bp-floors-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 56px;
}
.bp-floors-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 4px;
}
.bp-floor-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bp-floor {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 20px 8px;
  margin: 0 -8px;
  border-bottom: 1px solid var(--border);
  border-left: 2px solid transparent;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
              padding-left 0.4s var(--ease), border-color 0.4s var(--ease),
              background 0.4s var(--ease);
}
.bp-floor.visible {
  opacity: 1;
  transform: translateX(0);
}
.bp-floor:hover {
  padding-left: 16px;
  border-left-color: var(--red-brand);
  background: rgba(150, 30, 35, 0.02); /* NOTE: 0.02 — ghost(0.04)보다 작음, 토큰 없음 */
}
.bp-floor:hover .bp-floor-id {
  color: var(--red-brand);
}
.bp-floor:hover .bp-floor-name span {
  color: var(--charcoal);
}
.bp-floor:last-child { border-bottom: none; }
.bp-floor-id {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: var(--ls-wide);
  transition: color 0.4s var(--ease);
}
.bp-floor-id.top { color: var(--red-brand); }
.bp-floor-name {
  font-family: var(--sans);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--charcoal);
}
.bp-floor-name span {
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-left: 16px;
  transition: color 0.4s var(--ease);
}
/* ── 톤 대비: 크로스페이드 ── */
.bp-tone {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 96px var(--content-px) 160px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.bp-tone.visible {
  opacity: 1;
  transform: translateY(0);
}
.bp-tone-section-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
}
/* 태그 레이어: 그리드 오버랩 */
.bp-tone-tags {
  display: grid;
  margin-bottom: 24px;
}
.bp-tone-tag {
  grid-area: 1 / 1;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  transition: opacity 1s var(--ease);
}
.bp-tone-tag.tag-they {
  color: var(--text-muted);
}
.bp-tone-tag.tag-we {
  color: var(--red-brand);
  opacity: 0.7;
}
.bp-tone-tag.is-hidden { opacity: 0; }
/* 인용 레이어: 그리드 오버랩 */
.bp-tone-stage {
  display: grid;
  align-items: start;
}
.bp-tone-voice {
  grid-area: 1 / 1;
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  max-width: 600px;
}
.bp-tone-voice.is-hidden {
  opacity: 0;
  transform: translateY(6px);
}
.bp-tone-voice-they {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.85;
  color: var(--text-muted);
}
.bp-tone-voice-we {
  font-family: var(--sans);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.85;
  color: var(--charcoal);
}
/* 좌측 액센트 라인 */
.bp-tone-accent {
  position: relative;
  padding-left: 24px;
}
.bp-tone-accent::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 100%;
  background: var(--border);
  transition: background 1s var(--ease);
}
.bp-tone.is-ours .bp-tone-accent::before {
  background: var(--red-brand);
}
/* ══════════════════════════════════════
   BRAND VISUAL LANGUAGE
   ══════════════════════════════════════ */
.brand-visual {
  padding: 160px 0 0;
  border-top: 1px solid var(--border);
}
.brand-visual-header {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px) 64px;
}
.bv-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.bv-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
}
/* ── 히어로 컬러: 레드 풀 블리드 ── */
.color-hero {
  background: var(--red-brand);
  background-image: linear-gradient(135deg, var(--alpha-6) 0%, transparent 50%, rgba(255,255,255,0.04) 100%); /* NOTE: gradient 내부 — rgba(0,0,0,0.06) 토큰 없음, rgba(255,255,255,0.04)=alpha-4이나 dark context */
  padding: 80px var(--content-px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.color-hero.visible {
  opacity: 1;
  transform: translateY(0);
}
.color-hero-inner {
  max-width: var(--content-max);
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.color-hero-text {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 60px);
  color: var(--white);
  line-height: 1.2;
  max-width: 600px;
}
.color-hero-meta {
  text-align: right;
  flex-shrink: 0;
}
.color-hero-name {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.7); /* NOTE: 0.7 — text-on-dark-muted(0.5/0.45/0.6) 범위 밖, 토큰 없음 */
  margin-bottom: 4px;
}
.color-hero-hex {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-13);
  font-weight: 300;
  color: var(--text-on-dark-muted);
  letter-spacing: var(--ls-wide);
}
/* ── 서브 컬러 스트립 ── */
.color-sub {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.color-sub-block {
  padding: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 120px;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.color-sub-block.visible { opacity: 1; }
.color-sub-block {
  transition: opacity 0.8s var(--ease), transform 0.3s var(--ease);
}
.color-sub-block:hover {
  transform: translateY(-2px);
}
.color-sub-charcoal {
  background: var(--charcoal);
}
.color-sub-ivory {
  background: var(--bg);
  border: 1px solid var(--border-strong);
}
.color-sub-block .csb-name {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
}
.color-sub-block .csb-hex {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: var(--ls-wide);
  opacity: 0.5;
}
.color-sub-charcoal .csb-name,
.color-sub-charcoal .csb-hex { color: var(--white); }
.color-sub-ivory .csb-name,
.color-sub-ivory .csb-hex { color: var(--charcoal); }
/* ── 타이포그래피 디피니션 ── */
.type-defs {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 96px var(--content-px) 120px;
}
.type-def {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding: 56px 16px;
  margin: 0 -16px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
              background 0.5s var(--ease);
}
.type-def.visible {
  opacity: 1;
  transform: translateY(0);
}
.type-def:hover {
  background: rgba(17,17,17,0.012); /* NOTE: 0.012 — 토큰 없음 */
}
.type-def:first-child {
  border-top: 1px solid var(--border);
}
/* 왼쪽: 메타 */
.type-meta {}
.type-role {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.type-family-name {
  font-family: var(--sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.type-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}
.type-weights {
  margin-top: 16px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: var(--ls-wide);
}
/* 오른쪽: 스페시먼 */
.type-specimen {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.type-specimen-main {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 16px;
}
.type-specimen-main.is-serif { font-family: var(--serif); }
.type-specimen-main.is-sans { font-family: var(--sans); font-weight: 400; }
.type-specimen-main.is-mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: var(--ls-normal);
}
.type-specimen-sub {
  font-family: var(--sans);
  font-size: var(--text-base);
  color: var(--text-caption);
  line-height: 1.6;
}
/* ══════════════════════════════════════
   PRICE RAIL — 가격 시뮬레이션 슬라이더
   ══════════════════════════════════════ */
.price-rail-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px) var(--section-gap);
  position: relative;
  z-index: 1;
}
.price-scout-box {
  border: 1px solid var(--charcoal);
  padding: 40px var(--card-px);
  background: var(--bg-card);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
              border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.price-scout-box.visible {
  opacity: 1;
  transform: translateY(0);
}
.ps-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.ps-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--text-muted);
}
.ps-value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}
.ps-rail-container {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.ps-track {
  width: 100%;
  height: 3px;
  background: var(--border-strong);
  position: absolute;
}
.ps-fill {
  position: absolute;
  left: 0;
  height: 3px;
  background: var(--red-brand);
  width: 0%;
  transition: none;
}
.ps-handle {
  position: absolute;
  left: 0%;
  width: 22px;
  height: 22px;
  background: var(--bg-card);
  border: 2px solid var(--charcoal);
  border-radius: var(--radius-round);
  transform: translateX(-50%);
  box-shadow: 0 2px 8px var(--alpha-12); /* NOTE: box-shadow 내부, shadow 토큰 복합값과 불일치 */
  transition: transform 0.12s var(--ease), background 0.2s, box-shadow 0.2s;
  z-index: 2;
}
.ps-handle:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.18); /* NOTE: box-shadow 내부, 토큰 없음 */
}
.ps-handle:active,
.ps-handle.is-dragging {
  transform: translateX(-50%) scale(1.15);
  background: var(--charcoal);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); /* NOTE: box-shadow 내부, 토큰 없음 */
}
body[data-theme="charcoal"] .ps-handle:active,
body[data-theme="charcoal"] .ps-handle.is-dragging {
  background: #F2F2F2;
  border-color: var(--text);
}
.ps-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
}
.ps-tick-active {
  color: var(--red-brand);
  font-weight: 600;
}
/* ══════════════════════════════════════
   LIVE CHART — 라이브 데이터 캔버스
   ══════════════════════════════════════ */
.live-chart-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px) var(--section-gap);
  position: relative;
  z-index: 1;
}
.chart-box {
  border: 1px solid var(--charcoal);
  background: var(--bg-card);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
              border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.chart-box.visible {
  opacity: 1;
  transform: translateY(0);
}
.chart-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--card-px);
  border-bottom: 1px solid var(--border);
}
.chart-meta .mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  color: var(--text-muted);
}
.chart-meta .red {
  color: var(--red-brand);
}
.chart-meta .red::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red-brand);
  border-radius: var(--radius-round);
  margin-left: 6px;
  animation: livePulse 2s ease-in-out infinite;
  vertical-align: middle;
}
.chart-canvas-wrap {
  padding: 24px var(--card-px) var(--card-px);
}
#liveChart {
  display: block;
  width: 100%;
  height: 200px;
}
/* ══════════════════════════════════════
   PROTOCOL MODULES — I/O 다이어그램
   ══════════════════════════════════════ */
.protocol-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px) var(--section-gap);
  position: relative;
  z-index: 1;
}
.protocol-header {
  margin-bottom: 48px;
}
.protocol-label {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.protocol-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--charcoal);
  line-height: 1.25;
  letter-spacing: var(--ls-normal);
}
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
/* ── 개별 모듈 카드 ── */
.proto-card {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
              box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.proto-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.proto-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--alpha-6); /* NOTE: box-shadow 내부, shadow 토큰 복합값과 불일치 */
  border-color: var(--alpha-16); /* NOTE: 0.16 — border-strong(0.13/0.14) 범위 밖, 토큰 없음 */
}
.proto-card.visible:hover {
  transform: translateY(-2px);
}
/* 카드 상단: 모듈 ID + 상태 */
.proto-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.proto-id {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--ls-medium);
  text-transform: uppercase;
  color: var(--text-muted);
}
.proto-status {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 3px 8px;
  line-height: 1;
}
.proto-status--active {
  background: var(--red-brand);
  color: var(--white);
}
.proto-status--ready {
  background: var(--alpha-12);
  color: rgba(255,255,255,0.7); /* NOTE: 0.7 토큰 없음 */
  border: 1px solid rgba(255,255,255,0.14); /* NOTE: 0.14 토큰 없음 */
}
.proto-status--pending {
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}
/* 카드 본문 */
.proto-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.proto-card-name {
  font-family: var(--sans);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: var(--ls-normal);
}
.proto-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}
/* I/O 다이어그램 플로우 */
.proto-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: auto;
}
.proto-flow-node {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wide);
  color: var(--text-caption);
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.proto-flow-node--input {
  border-color: var(--text-muted);
}
.proto-flow-node--process {
  background: rgba(255,255,255,0.10); /* NOTE: 0.10 토큰 없음 */
  color: #F2F2F2;
  border-color: rgba(255,255,255,0.14); /* NOTE: 0.14 토큰 없음 */
  font-weight: 600;
}
.proto-flow-node--output {
  border-color: var(--red-brand);
  color: var(--red-brand);
  font-weight: 600;
}
.proto-flow-arrow {
  flex-shrink: 0;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--text-xs);
}
/* 카드 하단: 메트릭 바 */
.proto-card-footer {
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.proto-metric {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
}
.proto-metric-val {
  font-weight: 700;
  color: var(--charcoal);
  margin-left: 4px;
}
.proto-metric-val--red {
  color: var(--red-brand);
}
