:root {
  --ink: oklch(9% 0.012 278);
  --canvas: oklch(98% 0.005 278);
  --navy: oklch(17% 0.055 278);
  --rule: oklch(88% 0.006 278);
  --surface: oklch(96% 0.006 278);
  --muted: oklch(45% 0.01 278);
  --blue: oklch(58% 0.19 261);
  --magenta: oklch(62% 0.28 358);
  --lime: oklch(93% 0.06 128);
  --cream: oklch(93% 0.04 82);
  --mint: oklch(87% 0.10 152);
  --lilac: oklch(77% 0.13 295);
  --f-display: 'Clash Display', system-ui, sans-serif;
  --f-body: 'Satoshi', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', monospace;
  --px: max(28px, calc((100vw - 1220px) / 2));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

body {
  font-family: var(--f-body);
  background: var(--canvas);
  color: var(--ink);
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.hero {
  padding: clamp(58px, 7vw, 92px) var(--px) clamp(52px, 6vw, 76px);
  background:
    linear-gradient(oklch(9% 0.012 278 / .035) 1px, transparent 1px),
    linear-gradient(90deg, oklch(9% 0.012 278 / .035) 1px, transparent 1px),
    var(--canvas);
  background-size: 72px 72px;
  color: var(--ink);
}
/* ── HERO 2-COLUMN (solutions index only) ── */
.hero-split {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero-content { flex: 1; min-width: 0; }
.hero-visual { flex: 0 0 clamp(240px, 30vw, 420px); }

/* ── SOLUTIONS BOARD ── */
.solutions-board {
  width: 100%;
  min-height: 420px;
  background: var(--ink);
  color: var(--canvas);
  border-radius: 28px;
  border: 1px solid oklch(9% 0.012 278 / .08);
  box-shadow: 0 32px 80px oklch(9% 0.012 278 / .25), inset 0 1px 0 oklch(98% 0.005 278 / .12);
  padding: clamp(20px, 2.6vw, 30px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: clamp(18px, 2vw, 24px);
  overflow: hidden;
  position: relative;
}
.solutions-board::before {
  content: '';
  position: absolute;
  inset: -22% -18% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(93% 0.06 128 / .12), transparent 64%);
  pointer-events: none;
}
.solutions-board::after {
  content: '';
  position: absolute;
  inset: auto 24px 82px 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(98% 0.005 278 / .24), transparent);
  pointer-events: none;
}
.board-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: oklch(98% 0.005 278 / .78);
}
.board-state { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: none;
  flex-shrink: 0;
}
.board-statement {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.4vw, 28px);
  align-items: end;
  padding-bottom: clamp(18px, 2vw, 24px);
  border-bottom: 1px solid oklch(98% 0.005 278 / .12);
}
.board-count {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(76px, 8vw, 112px);
  line-height: .78;
  letter-spacing: -0.08em;
  color: var(--canvas);
}
.board-statement p {
  max-width: 260px;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.45;
  color: oklch(88% 0.008 278);
}
.board-stack {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  border-top: 1px solid oklch(98% 0.005 278 / .12);
}
.board-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid oklch(98% 0.005 278 / .12);
}
.board-line span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.board-line span::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.board-line b {
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  color: oklch(84% 0.007 278 / .74);
  text-align: right;
  overflow-wrap: break-word;
}
.board-line.scenepick span::before { background: var(--cream); }
.board-line.gate span::before { background: var(--blue); }
.board-line.rulemate span::before { background: var(--mint); }
.board-line.ragbridge span::before { background: var(--lilac); }
.board-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.board-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  background: oklch(98% 0.005 278 / .07);
  border: 1px solid oklch(98% 0.005 278 / .10);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: oklch(98% 0.005 278 / .82);
}

/* ── SOLUTIONS TICKER ── */
.solutions-ticker {
  background: var(--ink);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.solutions-ticker .ticker-track {
  display: inline-flex;
  align-items: center;
  animation: sol-ticker 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
@keyframes sol-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.t-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: oklch(98% 0.005 278 / .82);
}
.t-dot {
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── PANEL SVG ICONS ── */
.panel-icon {
  position: absolute;
  top: clamp(22px, 2.5vw, 36px);
  right: clamp(22px, 2.5vw, 36px);
  width: 42px;
  height: 42px;
  color: var(--ink);
  opacity: 0.18;
  pointer-events: none;
}
.solution-panel.cool .panel-icon { color: var(--canvas); opacity: 0.22; }

.hero-kicker, .section-kicker, .detail-kicker {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue);
}
.hero h1 {
  margin-top: 18px; max-width: 760px;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(36px, 4.8vw, 66px); line-height: 1; letter-spacing: -0.046em;
}
.hero-lead {
  margin-top: 20px; max-width: 540px;
  color: oklch(34% 0.012 278);
  font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55;
}
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 20px; border-radius: 999px;
  font-weight: 700; border: 1px solid transparent;
  transition: background .15s ease-out, color .15s ease-out, border-color .15s ease-out, opacity .15s ease-out;
}
.button.primary { background: var(--ink); color: var(--canvas); }
.button.primary:hover { opacity: .82; }
.button.dark { background: var(--ink); color: var(--canvas); }
.button.dark:hover { opacity: .82; }
.button.line { color: var(--ink); border-color: oklch(9% 0.012 278 / .18); }
.button.line:hover { background: oklch(9% 0.012 278 / .06); border-color: oklch(9% 0.012 278 / .32); }
.button.light-line { border-color: oklch(9% 0.012 278 / .18); }

.solution-index {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: oklch(9% 0.012 278 / .14);
  border-top: 1px solid oklch(9% 0.012 278 / .14);
  border-bottom: 1px solid oklch(9% 0.012 278 / .14);
}
.solution-panel {
  min-height: 330px; padding: clamp(24px, 3vw, 40px);
  background: var(--canvas); display: flex; flex-direction: column; justify-content: space-between;
  position: relative; cursor: default;
}
.solution-panel:nth-child(odd)  { padding-left:  var(--px); }
.solution-panel:nth-child(even) { padding-right: var(--px); }
.solution-number { font-family: var(--f-mono); color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.solution-name {
  margin-top: 18px; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(29px, 3vw, 44px); letter-spacing: -0.036em; line-height: 1.03;
}
.solution-summary { margin-top: 14px; max-width: 400px; font-size: 16px; line-height: 1.48; color: oklch(26% 0.013 278); }
.solution-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 31px; padding: 7px 11px;
  border: 1px solid oklch(9% 0.012 278 / .16); border-radius: 6px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .5px;
}
.solution-foot { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.solution-foot span { color: oklch(34% 0.012 278); line-height: 1.5; font-size: 15px; max-width: 340px; }
.arrow-link {
  font-family: var(--f-display); font-weight: 700; font-size: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background .15s ease-out, transform .15s ease-out;
}
.arrow-link:hover { background: oklch(9% 0.012 278 / .08); transform: translate(2px, -2px); }
.solution-panel.warm { background: var(--cream); }
.solution-panel.cool {
  background: var(--ink); color: var(--canvas);
}
.solution-panel.cool .solution-number { color: oklch(74% 0.23 261 / .85); }
.solution-panel.cool .solution-summary { color: oklch(86% 0.007 278); }
.solution-panel.cool .solution-foot span { color: oklch(72% 0.007 278); }
.solution-panel.cool .chip { border-color: oklch(98% 0.005 278 / .18); color: oklch(82% 0.007 278); }
.solution-panel.cool .arrow-link { color: var(--canvas); }
.solution-panel.fresh { background: var(--surface); }
.solution-panel.soft { background: var(--canvas); border-top: 1px solid var(--rule); }
.solution-panel.cool .arrow-link:hover { background: oklch(98% 0.005 278 / .10); }

.section { padding: clamp(58px, 7vw, 88px) var(--px); }
.section.alt { background: var(--surface); }
.section.dark { background: var(--ink); color: var(--canvas); }
.section.lime { background: var(--lime); }
.section.cream { background: var(--cream); }
.section.mint { background: var(--mint); }
.section.lilac { background: var(--lilac); }
.section-head { display: grid; grid-template-columns: 140px 1fr; gap: 26px; align-items: start; margin-bottom: 56px; }
.section h2 {
  font-family: var(--f-display); font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02; letter-spacing: -0.04em;
}
.section-lead { font-size: 17px; line-height: 1.58; color: oklch(28% 0.012 278); max-width: 62ch; }
.dark .section-lead { color: oklch(98% 0.005 278 / .74); }
.dark .section-kicker { color: oklch(78% 0.15 261); }

.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: oklch(9% 0.012 278 / .14); }
.list-item { background: var(--canvas); padding: 26px; min-height: 178px; }
.list-item b { display: block; font-family: var(--f-mono); color: var(--blue); font-size: 12px; margin-bottom: 20px; }
.list-item h3 { font-size: 21px; line-height: 1.22; margin-bottom: 10px; }
.list-item p { color: oklch(32% 0.012 278); line-height: 1.52; font-size: 15px; }

.section.dark .list-grid { background: transparent; gap: 16px; }
.section.dark .list-item {
  background: oklch(98% 0.005 278 / .06);
  border: 1px solid oklch(98% 0.005 278 / .10);
  border-radius: 8px;
}
.section.dark .list-item b { color: oklch(84% 0.16 261); }
.section.dark .list-item h3 { color: var(--canvas); }
.section.dark .list-item p { color: oklch(82% 0.007 278); }

.detail-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 96px); align-items: end;
}
.detail-panel {
  background: var(--surface); border: 1px solid oklch(9% 0.012 278 / .10);
  padding: 28px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between;
}
.detail-panel h2 { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -0.04em; }
.detail-panel p { color: oklch(34% 0.012 278); line-height: 1.58; margin-top: 16px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: oklch(9% 0.012 278 / .10); margin-top: 30px; }
.metric { background: var(--canvas); padding: 18px; }
.metric strong { display: block; font-family: var(--f-display); font-size: 30px; }
.metric span { display: block; margin-top: 8px; color: oklch(35% 0.012 278); line-height: 1.4; }
.section.dark .metric-row { background: oklch(98% 0.005 278 / .12); }
.section.dark .metric { background: oklch(98% 0.005 278 / .07); }
.section.dark .metric strong { color: oklch(72% 0.16 261); }
.section.dark .metric span { color: oklch(86% 0.007 278 / .82); }

.flow { display: grid; gap: 12px; }
.flow-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 26px;
  padding: 24px 0; border-top: 1px solid oklch(9% 0.012 278 / .12);
}
.flow-row:last-child { border-bottom: 1px solid oklch(9% 0.012 278 / .12); }
.flow-row b { font-family: var(--f-mono); color: var(--blue); font-size: 12px; letter-spacing: 1px; }
.flow-row h3 { font-size: 27px; margin-bottom: 8px; }
.flow-row p { color: oklch(34% 0.012 278); line-height: 1.6; max-width: 68ch; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.feature-list { display: grid; gap: 16px; }
.feature-line { display: flex; gap: 30px; padding: 18px 0; border-top: 1px solid oklch(9% 0.012 278 / .12); }
.feature-line strong { font-size: 21px; flex-shrink: 0; width: 160px; }
.feature-line span { max-width: 420px; color: oklch(35% 0.012 278); line-height: 1.55; }

.gateway-summary { padding: clamp(36px, 4.5vw, 56px) var(--px); }
.gateway-intro { display: flex; align-items: baseline; gap: clamp(20px, 3vw, 48px); margin-bottom: 36px; flex-wrap: wrap; }
.gateway-intro .section-kicker { flex-shrink: 0; }
.gateway-intro p { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; color: oklch(80% 0.007 278); max-width: 68ch; }

.lime-header { margin-bottom: 42px; }
.lime-header h2 {
  font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05; letter-spacing: -0.04em; margin-top: 14px;
}
.lime-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); }
.lime-point { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 2px solid oklch(68% 0.15 128 / .5); }
.lime-point b { font-family: var(--f-mono); font-size: 12px; letter-spacing: 1.5px; color: oklch(30% 0.12 140); }
.lime-point h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; color: oklch(10% 0.016 278); }
.lime-point p { color: oklch(24% 0.014 278); line-height: 1.6; }

.cta-band {
  padding: clamp(54px, 7vw, 82px) var(--px);
  background: var(--ink); color: var(--canvas);
  display: flex; justify-content: space-between; align-items: end; gap: 32px;
}
.cta-band h2 { font-family: var(--f-display); font-size: clamp(32px, 3.7vw, 52px); line-height: 1; letter-spacing: -0.043em; }
.cta-band p { margin-top: 14px; max-width: 520px; font-size: 16px; line-height: 1.55; color: oklch(98% 0.005 278 / .78); }

footer { padding: 42px var(--px); display: flex; justify-content: space-between; gap: 24px; color: var(--muted); }
footer a { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .solution-index, .detail-hero, .section-head, .split { grid-template-columns: 1fr; }
  .solution-panel { min-height: 0; }
  .list-grid { grid-template-columns: 1fr; }
  .flow-row { grid-template-columns: 1fr; gap: 8px; }
  .metric-row { grid-template-columns: 1fr; }
  .feature-line { display: grid; gap: 8px; }
  .cta-band { display: grid; }
  footer { display: grid; }

  .hero-split { flex-direction: column; align-items: flex-start; }
  .hero-visual { width: 100%; max-width: 340px; }
  .solutions-board { min-height: 0; padding: 20px; gap: 14px; border-radius: 22px; }
  .solutions-board::after { display: none; }
  .board-statement { gap: 14px; padding-bottom: 14px; }
  .board-count { font-size: 64px; }
  .board-statement p { max-width: none; font-size: 14px; line-height: 1.38; }
  .board-line { grid-template-columns: minmax(0, 1fr) minmax(0, 118px); padding: 9px 0; gap: 10px; }
  .board-line span { font-size: 18px; }
  .board-line b { font-size: 12px; }
  .board-flow { gap: 5px; }
  .board-flow span { min-height: 28px; font-size: 7px; letter-spacing: .5px; }
}

/* ── PRODUCT IDENTITY THEMES ── */
/* ScenePick: warm amber-dark — 공연, 감성, B2C */
.section.dark.scenepick-theme {
  background: oklch(14% 0.038 68);
}
.scenepick-theme .section-kicker { color: var(--cream); }
.scenepick-theme .gateway-intro p { color: oklch(83% 0.014 68); }
.scenepick-theme .dark-heading { color: oklch(97% 0.012 68); }

/* AI Gate: deep blue-dark — 거버넌스, 보안, 엔터프라이즈 */
.section.dark.aigate-theme {
  background: oklch(11% 0.06 261);
}
.aigate-theme .section-kicker { color: oklch(74% 0.20 261); }
.aigate-theme .gateway-intro p { color: oklch(82% 0.008 261); }

/* RuleMate: dark green — 준수, 체계, 정밀 */
.section.dark.rulemate-theme {
  background: oklch(12% 0.04 152);
}
.rulemate-theme .section-kicker { color: var(--mint); }
.rulemate-theme .gateway-intro p { color: oklch(82% 0.012 152); }

/* RagBridge: dark lilac — 지식, 연결, 구조 */
.section.dark.ragbridge-theme {
  background: oklch(13% 0.04 295);
}
.ragbridge-theme .section-kicker { color: var(--lilac); }
.ragbridge-theme .gateway-intro p { color: oklch(82% 0.012 295); }

@media (prefers-reduced-motion: reduce) {
  .solutions-ticker .ticker-track { animation-play-state: paused; }
  .skip-link { transition: none; }
  .mobile-links { transition: none; }
  .button, .nav-links .nav-cta, .arrow-link { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .brand-link img { width: 118px; }
  .hero { padding-top: 76px; }
  .solution-foot { display: grid; }
  .list-item { padding: 24px; }
}

/* ── HERO PRODUCT MOCKS ── */
.hero-mock {
  width: 100%;
  background: var(--ink);
  color: var(--canvas);
  border-radius: 20px;
  border: 1px solid oklch(9% 0.012 278 / .08);
  box-shadow: 0 24px 64px oklch(9% 0.012 278 / .22), inset 0 1px 0 oklch(98% 0.005 278 / .08);
  padding: clamp(18px, 2.4vw, 24px);
  overflow: hidden;
}
.hero-mock-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid oklch(9% 0.012 278 / .08);
  box-shadow: 0 24px 64px oklch(9% 0.012 278 / .22);
  object-fit: cover;
}
.mock-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid oklch(98% 0.005 278 / .10);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase;
  color: oklch(50% 0.007 278);
}
.mock-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: oklch(72% 0.16 261); font-family: var(--f-mono); font-size: 10px; letter-spacing: .8px;
}
.mock-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: oklch(72% 0.16 261); flex-shrink: 0; }

/* AI Gate: request log */
.mock-log { display: grid; gap: 8px; }
.mock-log-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px;
  background: oklch(98% 0.005 278 / .05); border: 1px solid oklch(98% 0.005 278 / .08);
  font-size: 12px;
}
.mock-user { font-family: var(--f-mono); font-size: 11px; color: oklch(76% 0.007 278); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-model { font-family: var(--f-mono); font-size: 10px; color: oklch(54% 0.007 278); flex-shrink: 0; }
.mock-status { font-family: var(--f-mono); font-size: 10px; letter-spacing: .5px; padding: 3px 8px; border-radius: 4px; flex-shrink: 0; }
.mock-status.allow { background: oklch(68% 0.15 152 / .18); color: oklch(74% 0.14 152); }
.mock-status.block { background: oklch(55% 0.18 25 / .18); color: oklch(70% 0.14 25); }
.mock-status.wait  { background: oklch(70% 0.14 82 / .18);  color: oklch(74% 0.14 82); }
.mock-cost { font-family: var(--f-mono); font-size: 10px; color: oklch(52% 0.007 278); flex-shrink: 0; }

/* ScenePick: curated show list */
.mock-shows { display: grid; gap: 10px; }
.mock-show {
  padding: 12px 0; border-bottom: 1px solid oklch(98% 0.005 278 / .09);
  display: flex; flex-direction: column; gap: 5px;
}
.mock-show:last-child { border-bottom: none; padding-bottom: 0; }
.mock-show-title { font-family: var(--f-display); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--canvas); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-show-meta { font-family: var(--f-mono); font-size: 10px; color: oklch(54% 0.007 278); letter-spacing: .5px; }
.mock-show-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.mock-tag { font-family: var(--f-mono); font-size: 9px; letter-spacing: .5px; padding: 3px 7px; border-radius: 4px; background: oklch(98% 0.005 278 / .08); color: oklch(72% 0.007 278); }
.mock-tag.ai { background: oklch(58% 0.19 261 / .2); color: oklch(74% 0.16 261); }

/* RuleMate: checklist items */
.mock-checks { display: grid; gap: 9px; }
.mock-check {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px; font-size: 12px; line-height: 1.3;
  background: oklch(98% 0.005 278 / .05); border: 1px solid oklch(98% 0.005 278 / .08);
}
.mock-check::before { content: ''; width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.mock-check.done { color: oklch(80% 0.007 278); }
.mock-check.done::before { background: oklch(68% 0.15 152 / .9); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%23fff' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.mock-check.mid::before  { background: oklch(72% 0.16 261 / .3); border: 2px solid oklch(72% 0.16 261 / .7); }
.mock-check.pend::before { background: oklch(98% 0.005 278 / .08); border: 2px solid oklch(98% 0.005 278 / .18); }
.mock-progress { margin-top: 14px; padding-top: 14px; border-top: 1px solid oklch(98% 0.005 278 / .10); }
.mock-progress-label { font-family: var(--f-mono); font-size: 10px; color: oklch(52% 0.007 278); letter-spacing: .8px; margin-bottom: 8px; }
.mock-progress-bar { height: 5px; background: oklch(98% 0.005 278 / .10); border-radius: 3px; }
.mock-progress-fill { height: 100%; width: 62%; background: oklch(68% 0.15 152); border-radius: 3px; }

/* RagBridge: Q&A card */
.mock-qa { display: grid; gap: 12px; }
.mock-q {
  padding: 12px 14px; border-radius: 8px;
  background: oklch(98% 0.005 278 / .08); border: 1px solid oklch(98% 0.005 278 / .12);
  font-size: 13px; color: oklch(84% 0.007 278); line-height: 1.45;
}
.mock-q::before { content: 'Q'; font-family: var(--f-mono); font-size: 10px; color: oklch(58% 0.007 278); display: block; margin-bottom: 6px; letter-spacing: 1px; }
.mock-a {
  padding: 12px 14px; border-radius: 8px;
  background: oklch(58% 0.19 261 / .12); border: 1px solid oklch(58% 0.19 261 / .22);
  font-size: 13px; color: oklch(84% 0.007 278); line-height: 1.5;
}
.mock-a::before { content: 'A'; font-family: var(--f-mono); font-size: 10px; color: oklch(72% 0.16 261); display: block; margin-bottom: 6px; letter-spacing: 1px; }
.mock-source {
  font-family: var(--f-mono); font-size: 10px; color: oklch(50% 0.007 278); letter-spacing: .5px;
  padding: 8px 14px; border-radius: 6px; background: oklch(98% 0.005 278 / .04);
  border: 1px solid oklch(98% 0.005 278 / .08);
}

/* ── AI GATE: request flow chain ── */
.gate-flow {
  display: flex; align-items: center; gap: 0; margin-top: 36px;
  overflow-x: auto; padding-bottom: 4px;
}
.gate-node {
  flex-shrink: 0; padding: 18px 22px; border: 1px solid oklch(98% 0.005 278 / .13);
  border-radius: 8px; text-align: center; background: oklch(98% 0.005 278 / .05);
  min-width: 120px;
}
.gate-node b { display: block; font-size: 15px; color: var(--canvas); margin-bottom: 5px; font-family: var(--f-display); letter-spacing: -0.02em; }
.gate-node span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1px; color: oklch(80% 0.007 278); text-transform: uppercase; }
.gate-node.center { background: oklch(58% 0.19 261 / .14); border-color: oklch(58% 0.19 261 / .34); padding: 22px 28px; }
.gate-node.center b { color: oklch(80% 0.16 261); font-size: 18px; }
.gate-arrow { color: oklch(78% 0.007 278); padding: 0 14px; font-size: 20px; flex-shrink: 0; }
.gate-outcomes { display: grid; gap: 10px; flex-shrink: 0; }
.gate-node.allow { border-color: oklch(60% 0.15 152 / .38); }
.gate-node.allow b { color: oklch(74% 0.14 152); }
.gate-node.block { border-color: oklch(55% 0.18 25 / .38); }
.gate-node.block b { color: oklch(70% 0.14 25); }

/* ── RULEMATE: compliance tracker ── */
.check-tracker { margin-top: 36px; display: grid; gap: 10px; }
.check-track-item {
  display: flex; align-items: center; gap: 18px;
  padding: 15px 20px; border-radius: 6px;
  background: oklch(98% 0.005 278 / .05); border: 1px solid oklch(98% 0.005 278 / .10);
}
.check-track-item b { font-family: var(--f-mono); font-size: 11px; letter-spacing: .5px; flex-shrink: 0; width: 110px; color: oklch(86% 0.007 278); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-bar { flex: 1; height: 5px; background: oklch(98% 0.005 278 / .10); border-radius: 3px; overflow: hidden; }
.check-bar-fill { height: 100%; border-radius: 3px; }
.check-bar-fill.done { background: oklch(68% 0.15 152); width: 87%; }
.check-bar-fill.mid  { background: oklch(72% 0.16 261); width: 54%; }
.check-bar-fill.low  { background: oklch(70% 0.14 82);  width: 31%; }
.check-track-item em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: oklch(82% 0.007 278); flex-shrink: 0; width: 44px; text-align: right; }

/* ── RAGBRIDGE: pipeline steps ── */
.rag-pipeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 36px; background: oklch(98% 0.005 278 / .10);
}
.rag-step {
  padding: 24px 18px; background: oklch(98% 0.005 278 / .04);
  display: flex; flex-direction: column; gap: 10px;
}
.rag-step-num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; color: oklch(86% 0.007 278); }
.rag-step b { font-family: var(--f-display); font-size: 18px; color: var(--canvas); letter-spacing: -0.02em; }
.rag-step p { font-size: 13px; color: oklch(88% 0.007 278); line-height: 1.5; }

/* ── SCENEPICK: before / after ── */
.scene-compare {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; margin-top: 36px;
}
.scene-compare-col { padding: 24px 28px; }
.scene-compare-divider { background: oklch(98% 0.005 278 / .12); }
.scene-compare-col h4,
.scene-compare-label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.scene-col-before h4 { color: oklch(80% 0.007 278); }
.scene-col-after  h4 { color: oklch(74% 0.16 261); }
.scene-item {
  padding: 11px 0; border-bottom: 1px solid oklch(98% 0.005 278 / .08);
  font-size: 14px; color: oklch(86% 0.007 278); display: flex; align-items: center; gap: 12px; line-height: 1.4;
}
.scene-item::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.scene-col-before .scene-item::before { background: oklch(44% 0.007 278); }
.scene-col-after  .scene-item::before { background: oklch(72% 0.16 261); }

@media (max-width: 900px) {
  .gate-flow { flex-direction: column; align-items: stretch; }
  .gate-arrow { transform: rotate(90deg); align-self: center; }
  .gate-outcomes { grid-template-columns: 1fr 1fr; }
  .rag-pipeline { grid-template-columns: 1fr 1fr; }
  .scene-compare { grid-template-columns: 1fr; }
  .scene-compare-divider { display: none; }
}
