/* ═══════════════════════════════════════════ */
/*  VSI PAGE — Animation & Demo Styles        */
/*  DARK THEME for builders-website brandbook  */
/* ═══════════════════════════════════════════ */

/* ── Scroll-triggered animations ── */
.scroll-animate:not(.in-view) {
  opacity: 0;
}

/* ── Utility ── */
.hl { font-weight: 700; color: rgba(255,255,255,0.9); }

/* ── Section fade-in ── */
.vsi-section {
  opacity: 0;
  transform: translateY(16px);
  animation: sectionFade 0.6s ease forwards;
}
.vsi-section:nth-child(1) { animation-delay: 0s; }
.vsi-section:nth-child(2) { animation-delay: 0.05s; }
.vsi-section:nth-child(3) { animation-delay: 0.1s; }

@keyframes sectionFade {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════ */
/*  EVIDENCE SCALE GRAPH                      */
/* ═══════════════════════════════════════════ */

.e-bar {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 140px;
  padding-bottom: 28px;
  position: relative;
}

.e-bar::before {
  content: '';
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* E3+ threshold line */
.e-bar::after {
  content: 'E3+ → signals';
  position: absolute;
  left: 48%;
  bottom: 56px;
  right: 0;
  border-top: 1.5px dashed rgba(255,255,255,0.3);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-top: 4px;
  text-align: right;
  padding-right: 4px;
  animation: thresholdPulse 3s ease-in-out infinite;
}

@keyframes thresholdPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.e-tier {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.e-level {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(-4px);
  animation: eFadeIn 0.4s ease forwards;
  animation-delay: var(--delay);
}

.e-fill {
  width: 100%;
  max-width: 56px;
  background: rgba(255,255,255,0.7);
  border-radius: 6px 6px 0 0;
  position: relative;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: eGrow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: var(--delay);
  transition: opacity 0.3s, filter 0.3s;
  cursor: default;
}

.e-tier:nth-child(1) .e-fill { opacity: 0.12; }
.e-tier:nth-child(2) .e-fill { opacity: 0.22; }
.e-tier:nth-child(3) .e-fill { opacity: 0.38; }
.e-tier:nth-child(4) .e-fill { opacity: 0.55; }
.e-tier:nth-child(5) .e-fill { opacity: 0.75; }
.e-tier:nth-child(6) .e-fill { opacity: 1; }

.e-tier:hover .e-fill { filter: brightness(1.3); }
.e-tier:hover .e-level { color: rgba(255,255,255,0.95); transform: translateY(-2px) scale(1.1); }
.e-tier:hover .e-label { color: rgba(255,255,255,0.6); }

.e-fill-max {
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}

.e-label {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s;
}

.e-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

@keyframes eGrow {
  to { transform: scaleY(1); }
}

@keyframes eFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Pulsing dots on evidence bar tops */
.e-fill::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  opacity: 0;
  animation: dotPulse 2.4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.e-tier:nth-child(1) .e-fill::after { opacity: 0; animation: none; }
.e-tier:nth-child(2) .e-fill::after { opacity: 0; animation: none; }
.e-tier:nth-child(3) .e-fill::after { background: rgba(255,255,255,0.5); }
.e-tier:nth-child(4) .e-fill::after { background: rgba(255,255,255,0.6); }
.e-tier:nth-child(5) .e-fill::after { background: rgba(255,255,255,0.7); }
.e-tier:nth-child(6) .e-fill::after { background: rgba(255,255,255,0.8); width: 10px; height: 10px; top: -5px; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.5); }
}

/* ═══════════════════════════════════════════ */
/*  CONVERSATION FLOW                         */
/* ═══════════════════════════════════════════ */

.conv-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 24px 0;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 22px 20px;
}

.cf-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.25s, transform 0.25s;
  cursor: default;
  opacity: 0;
  animation: cfSlideIn 0.5s ease forwards;
}

.cf-step:nth-child(1) { animation-delay: 0.15s; }
.cf-step:nth-child(3) { animation-delay: 0.3s; }
.cf-step:nth-child(5) { animation-delay: 0.45s; }
.cf-step:nth-child(7) { animation-delay: 0.6s; }

.cf-step:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.cf-icon { font-size: 22px; flex-shrink: 0; }

.cf-text {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.cf-text span {
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  font-size: 11.5px;
}

.cf-arrow {
  flex-shrink: 0;
  width: 32px;
  opacity: 0;
  animation: cfSlideIn 0.4s ease forwards;
  position: relative;
  overflow: visible;
}

.cf-arrow:nth-child(2) { animation-delay: 0.22s; }
.cf-arrow:nth-child(4) { animation-delay: 0.37s; }
.cf-arrow:nth-child(6) { animation-delay: 0.52s; }

.cf-arrow svg { width: 32px; height: 16px; }

/* Flowing dot on arrows */
.cf-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transform: translateY(-50%);
  animation: flowDot 2s ease-in-out infinite;
}

.cf-arrow:nth-child(2)::after { animation-delay: 0s; }
.cf-arrow:nth-child(4)::after { animation-delay: 0.5s; }
.cf-arrow:nth-child(6)::after { animation-delay: 1s; }

@keyframes cfSlideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes flowDot {
  0% { left: 2px; opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { left: 28px; opacity: 0; }
}

/* ═══════════════════════════════════════════ */
/*  LIVE DEMO — Conversations & Learnings     */
/* ═══════════════════════════════════════════ */

.demo {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  margin: 28px 0;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 24px 48px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Chrome bar — minimal glass strip */
.demo-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  height: 44px;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

/* Subtle top highlight line */
.demo-chrome::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.04) 70%, transparent);
}

.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.demo-dots span:nth-child(1) { background: rgba(255,255,255,0.25); }
.demo-dots span:nth-child(2) { background: rgba(255,255,255,0.25); }
.demo-dots span:nth-child(3) { background: rgba(255,255,255,0.25); }

.demo-title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  flex: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.demo-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,107,0,0.4);
}

.demo-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #FF6B00;
  box-shadow: 0 0 6px rgba(255,107,0,0.3);
  animation: liveBlink 2.5s ease-in-out infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 0.3; transform: scale(1); box-shadow: 0 0 4px rgba(255,107,0,0.15); }
  50% { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 10px rgba(255,107,0,0.35); }
}

/* Body: two-column */
.demo-body {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  min-height: 400px;
}

.demo-panel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  padding: 20px 24px 12px;
}

/* Transcript (left) */
.demo-transcript {
  border-right: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 20px;
  overflow: hidden;
}

.t-line {
  padding: 12px 24px;
  opacity: 0;
  transform: translateY(8px);
  position: relative;
}

.t-line-1 { animation: tLineIn 0.5s ease forwards 0.6s; }
.t-line-2 { animation: tLineIn 0.5s ease forwards 1.6s; }
.t-line-3 { animation: tLineIn 0.5s ease forwards 2.4s; }
.t-line-4 { animation: tLineIn 0.5s ease forwards 4.2s; }
.t-line-5 { animation: tLineIn 0.5s ease forwards 5.0s; }

@keyframes tLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.t-speaker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-right: 8px;
}

.t-them { color: rgba(255,255,255,0.85); }
.t-us { color: rgba(255,107,0,0.6); }

.t-time {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  font-weight: 500;
}

.t-line p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-top: 6px;
}

.t-line p strong { color: rgba(255,255,255,0.95); font-weight: 700; }

/* Transcript highlights — glass card with left accent */
.t-highlight {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid rgba(255,107,0,0.4);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 8px;
}

.t-hl-1 {
  opacity: 0;
  animation: hlSweep 0.6s ease forwards 3.0s;
}

.t-hl-2 {
  opacity: 0;
  animation: hlSweep 0.6s ease forwards 5.6s;
}

@keyframes hlSweep {
  0% { opacity: 0; border-left-color: rgba(255,107,0,0); }
  50% { opacity: 1; border-left-color: rgba(255,107,0,0.2); }
  100% { opacity: 1; border-left-color: rgba(255,107,0,0.4); }
}

/* Typing cursor */
.t-cursor {
  width: 2px;
  height: 14px;
  background: rgba(255,255,255,0.6);
  margin: 12px 20px;
  border-radius: 1px;
  animation: cursorBlink 0.8s step-end infinite, cursorMove 7s ease forwards;
  opacity: 0;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes cursorMove {
  0% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Connection lines */
.demo-connections {
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-connections svg {
  width: 36px;
  height: 100%;
}

.conn {
  fill: none;
  stroke: rgba(255,255,255,0.3);
  stroke-width: 1;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  opacity: 0.2;
}

.conn-1 { animation: connDraw 0.6s ease forwards 3.2s; }
.conn-2 { animation: connDraw 0.6s ease forwards 3.6s; }
.conn-3 { animation: connDraw 0.6s ease forwards 5.8s; }

@keyframes connDraw {
  to { stroke-dashoffset: 0; }
}

/* Learnings (right) */
.demo-learnings {
  padding-bottom: 16px;
  overflow: hidden;
}

.l-card {
  margin: 8px 14px;
  padding: 16px 18px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  opacity: 0;
  transform: translateX(20px);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s, background 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Colored left accent — set via tag-specific class */
.l-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 3px 0 0 3px;
}

.l-card:has(.l-pain)::before { background: linear-gradient(to bottom, #ef4444, transparent 80%); }
.l-card:has(.l-obj)::before { background: linear-gradient(to bottom, #f59e0b, transparent 80%); }
.l-card:has(.l-wtp)::before { background: linear-gradient(to bottom, #34d399, transparent 80%); }
.l-card:has(.l-comp)::before { background: linear-gradient(to bottom, #60a5fa, transparent 80%); }

.l-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform: translateX(0) translateY(-2px) !important;
}

.l-card-1 { animation: lCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards 3.2s; }
.l-card-2 { animation: lCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards 3.6s; }
.l-card-3 { animation: lCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards 6.0s; }
.l-card-4 { animation: lCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards 6.4s; }

@keyframes lCardIn {
  to { opacity: 1; transform: translateX(0); }
}

.l-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.l-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid;
}

.l-pain { background: rgba(239,68,68,0.1); color: #f87171; border-color: rgba(239,68,68,0.2); }
.l-obj { background: rgba(245,158,11,0.1); color: #fbbf24; border-color: rgba(245,158,11,0.2); }
.l-wtp { background: rgba(34,211,153,0.1); color: #34d399; border-color: rgba(34,211,153,0.2); }
.l-comp { background: rgba(96,165,250,0.1); color: #93c5fd; border-color: rgba(96,165,250,0.2); }

.l-grade {
  font-size: 12px;
  font-weight: 700;
  min-width: 32px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.l-e3 { background: rgba(104,165,250,0.15); color: #93c5fd; border: 1px solid rgba(104,165,250,0.25); }
.l-e4 { background: rgba(167,139,250,0.15); color: #c4b5fd; border: 1px solid rgba(167,139,250,0.25); }
.l-e5 { background: rgba(52,211,153,0.15); color: #6ee7b7; border: 1px solid rgba(52,211,153,0.25); position: relative; }

.l-e5::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 8px;
  border: 1.5px solid #34d399;
  opacity: 0;
  animation: gradeRing 2.5s ease-in-out infinite;
}

@keyframes gradeRing {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

.l-text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 10px;
}

.l-text strong {
  color: rgba(255,255,255,0.95);
  font-weight: 700;
  background: rgba(255,107,0,0.1);
  padding: 1px 4px;
  border-radius: 3px;
}

.l-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.l-link-icon { font-size: 12px; opacity: 0.5; }

/* Avatar */
.t-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -2px;
}

.rt-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 4px;
}

/* ═══════════════════════════════════════════ */
/*  SIGNAL DASHBOARD                          */
/* ═══════════════════════════════════════════ */

.sig-dash {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  margin: 28px 0;
  background: rgba(10,12,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 8px 32px rgba(0,0,0,0.4),
    0 2px 8px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.sig-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  height: 48px;
  background: rgba(8,10,18,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.sig-chrome::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent);
}

.sig-chrome-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  flex: 1;
  letter-spacing: 0.3px;
}

.sig-chrome-right {
  font-size: 11px;
  color: rgba(255,107,0,0.5);
  font-weight: 600;
  letter-spacing: 1px;
}

.sig-count-anim {
  opacity: 0;
  animation: sigCountIn 0.4s ease forwards 0.5s;
}

@keyframes sigCountIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* State summary bar */
.sig-state-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.sig-sb-item {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 8px;
  position: relative;
  transition: background 0.3s;
  cursor: default;
}

.sig-sb-item:hover { background: rgba(255,255,255,0.04); }

.sig-sb-num {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  line-height: 1;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(6px);
}

.sig-sb-cand .sig-sb-num { animation: sbNumIn 0.4s ease forwards 0.3s; color: rgba(255,255,255,0.25); }
.sig-sb-emrg .sig-sb-num { animation: sbNumIn 0.4s ease forwards 0.5s; color: rgba(255,255,255,0.25); }
.sig-sb-val .sig-sb-num  { animation: sbNumIn 0.4s ease forwards 0.7s; color: #68a5fa; }
.sig-sb-dec .sig-sb-num  { animation: sbNumIn 0.4s ease forwards 0.9s; color: #34d399; }

@keyframes sbNumIn {
  to { opacity: 1; transform: translateY(0); }
}

.sig-sb-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.sig-sb-chevron {
  font-size: 18px;
  color: rgba(255,255,255,0.15);
  flex-shrink: 0;
  padding: 0 2px;
  animation: chevPulse 2.5s ease-in-out infinite;
}

.sig-sb-chevron:nth-of-type(2) { animation-delay: 0.3s; }
.sig-sb-chevron:nth-of-type(4) { animation-delay: 0.6s; }
.sig-sb-chevron:nth-of-type(6) { animation-delay: 0.9s; }

@keyframes chevPulse {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 0.8; transform: translateX(2px); }
}

.sig-sb-pulse {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: sbPulse 1.8s ease-in-out infinite;
}

@keyframes sbPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* Signal list */
.sig-list {
  padding: 4px 0;
}

.sig-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: background 0.2s;
  cursor: default;
}

.sig-row:last-child { border-bottom: none; }
.sig-row:hover { background: rgba(255,255,255,0.03); }

.sig-row-1 { animation: sigRowIn 0.4s ease forwards 1.2s; }
.sig-row-2 { animation: sigRowIn 0.4s ease forwards 1.5s; }
.sig-row-3 { animation: sigRowIn 0.4s ease forwards 1.8s; }
.sig-row-4 { animation: sigRowIn 0.4s ease forwards 2.1s; }
.sig-row-5 { animation: sigRowIn 0.4s ease forwards 2.4s; }

@keyframes sigRowIn {
  to { opacity: 1; transform: translateY(0); }
}

.sig-row-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.sig-row-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding-left: 16px;
}

/* Badges */
.sig-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.sig-badge-decision { background: #34d399; color: #fff; }
.sig-badge-validated { background: #68a5fa; color: #fff; }
.sig-badge-emerging { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.25); }
.sig-badge-dim { opacity: 0.4; }

/* Badge upgrade animation */
.sig-badge-upgrade {
  position: relative;
  overflow: hidden;
  animation: badgeFlash 0.6s ease forwards 3.5s;
}

.sig-badge-old {
  display: block;
  animation: badgeOldOut 0.3s ease forwards 3.5s;
}

.sig-badge-new {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  opacity: 0;
  transform: scale(0.5);
  animation: badgeNewIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards 3.7s;
}

@keyframes badgeFlash {
  0% { background: #68a5fa; }
  50% { background: rgba(255,255,255,0.1); box-shadow: 0 0 0 3px #34d399; }
  100% { background: #34d399; }
}

@keyframes badgeOldOut {
  to { opacity: 0; transform: scale(0.3); }
}

@keyframes badgeNewIn {
  to { opacity: 1; transform: scale(1); }
}

/* Row info */
.sig-row-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  margin-bottom: 4px;
}

.sig-name-dim { color: rgba(255,255,255,0.3); }

.sig-row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
}

.sig-sep { color: rgba(255,255,255,0.08); }

/* Conversation dots */
.sig-convs {
  display: flex;
  align-items: center;
  gap: 3px;
}

.sig-conv-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  opacity: 0.2;
  flex-shrink: 0;
}

.sig-conv-dot-dim { opacity: 0.07; }

.sig-conv-new {
  opacity: 0;
  background: #34d399;
  animation: convDotNew 1s ease-in-out infinite 3.0s;
}

@keyframes convDotNew {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}

.sig-ev { font-weight: 600; color: rgba(255,255,255,0.3); }

/* Promote tag */
.sig-promote-tag {
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: promoteTagIn 0.4s ease forwards 3.2s;
}

@keyframes promoteTagIn {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Promote flash on row */
.sig-promote-flash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(52,211,153,0.06), transparent);
  transform: translateX(-100%);
  animation: promoteFlash 1s ease forwards 3.4s;
}

@keyframes promoteFlash {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Strength bars */
.sig-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 110px;
}

.sig-str-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.sig-str-fill {
  height: 100%;
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
}

.sig-str-full {
  width: 94%;
  background: #34d399;
  animation: strFill 0.8s ease forwards 1.6s;
}

.sig-str-growing {
  width: 87%;
  background: linear-gradient(90deg, #68a5fa, #34d399);
  animation: strFill 0.8s ease forwards 1.9s;
  position: relative;
}

.sig-str-growing::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  opacity: 0;
  animation: strGrowPulse 1.5s ease-in-out infinite 3.0s;
}

@keyframes strGrowPulse {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.6; transform: scale(1.5); }
}

.sig-str-mid {
  width: 68%;
  background: #68a5fa;
  animation: strFill 0.8s ease forwards 2.2s;
}

.sig-str-low {
  width: 41%;
  background: rgba(255,255,255,0.15);
  animation: strFill 0.8s ease forwards 2.5s;
}

.sig-str-decaying {
  width: 22%;
  background: rgba(255,255,255,0.15);
  animation: strFill 0.5s ease forwards 2.8s, strDecay 3s ease-in-out infinite 4s;
  opacity: 0.5;
}

@keyframes strFill {
  to { transform: scaleX(1); }
}

@keyframes strDecay {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.2; }
}

.sig-str-pct {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  min-width: 30px;
  text-align: right;
}

.sig-str-pct-up { color: #34d399; }
.sig-str-pct-down { color: rgba(255,255,255,0.15); }

/* Freshness */
.sig-fresh {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.sig-fresh-ok { color: rgba(255,255,255,0.25); }
.sig-fresh-stale { color: rgba(255,255,255,0.15); }

.sig-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}

.sig-dot-green { background: #34d399; }
.sig-dot-yellow { background: #fbbf24; }
.sig-dot-red { background: #ef4444; opacity: 0.6; }

/* Decay tag */
.sig-decay-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.15);
  animation: decayPulse 3s ease-in-out infinite;
}

@keyframes decayPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Decay row dimming */
.sig-row-decay {
  opacity: 0;
}

.sig-row-decay .sig-row-left,
.sig-row-decay .sig-row-right {
  animation: rowDim 4s ease-in-out infinite 3s;
}

@keyframes rowDim {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.4; }
}

/* ═══════════════════════════════════════════ */
/*  ARTIFACT DASHBOARD                        */
/* ═══════════════════════════════════════════ */

.art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.art-card {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-right: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(8px);
  transition: background 0.2s;
  cursor: default;
}

.art-card:hover { background: rgba(255,255,255,0.03); }
.art-card:nth-child(2n) { border-right: none; }
.art-card:nth-last-child(-n+2) { border-bottom: none; }

.art-card-1 { animation: sigRowIn 0.4s ease forwards 0.5s; }
.art-card-2 { animation: sigRowIn 0.4s ease forwards 0.7s; }
.art-card-3 { animation: sigRowIn 0.4s ease forwards 0.9s; }
.art-card-4 { animation: sigRowIn 0.4s ease forwards 1.1s; }

.art-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.art-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.art-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.art-version {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}

.art-confidence {
  font-size: 14px;
  font-weight: 700;
  color: #34d399;
  margin-left: auto;
  flex-shrink: 0;
}

.art-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.art-line {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.45;
  padding-left: 10px;
  border-left: 2px solid rgba(255,255,255,0.06);
}

.art-line-strong {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  border-left-color: rgba(255,255,255,0.4);
}

.art-line-new {
  color: #34d399;
  font-weight: 600;
  border-left-color: #34d399;
  opacity: 0;
}

.art-card-1 .art-line-new { animation: eFadeIn 0.4s ease forwards 2.0s; }
.art-card-2 .art-line-new { animation: eFadeIn 0.4s ease forwards 2.4s; }
.art-card-3 .art-line-new { animation: eFadeIn 0.4s ease forwards 2.8s; }
.art-card-4 .art-line-new { animation: eFadeIn 0.4s ease forwards 3.2s; }

.art-signals {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* Diff bar */
.art-diff-bar {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.art-diff-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.art-diff-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  flex-shrink: 0;
}

.art-diff-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  animation: tLineIn 0.5s ease forwards 2.8s;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.art-diff-add {
  font-size: 12.5px;
  color: #34d399;
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(52,211,153,0.08);
  border-radius: 4px;
  line-height: 1.55;
}

.art-diff-add::before {
  content: '+';
  font-weight: 700;
  margin-right: 6px;
  opacity: 0.5;
}

.art-diff-remove {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  padding: 4px 8px;
  text-decoration: line-through;
  line-height: 1.55;
}

.art-diff-remove::before {
  content: '\2212';
  font-weight: 700;
  margin-right: 6px;
  text-decoration: none;
  display: inline-block;
  opacity: 0.5;
}

.art-diff-source {
  font-size: 10.5px;
  color: rgba(255,255,255,0.3);
  padding: 6px 8px 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════ */
/*  REFLECTIONS LIVE DEMO                     */
/* ═══════════════════════════════════════════ */

.refl-demo-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

/* Transcript replay (left) */
.refl-transcript {
  border-right: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 16px;
  overflow: hidden;
}

.rt-line {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 7px 16px 7px 0;
  margin-left: 16px;
  opacity: 0;
  transform: translateY(6px);
  position: relative;
}

.rt-line-1 { animation: tLineIn 0.4s ease forwards 0.5s; }
.rt-line-2 { animation: tLineIn 0.4s ease forwards 1.0s; }
.rt-line-3 { animation: tLineIn 0.4s ease forwards 1.8s, rtBorderGreen 0.3s ease forwards 2.2s; }
.rt-line-4 { animation: tLineIn 0.4s ease forwards 2.4s; }
.rt-line-5 { animation: tLineIn 0.4s ease forwards 3.4s, rtBorderAmber 0.3s ease forwards 3.8s; }
.rt-line-6 { animation: tLineIn 0.4s ease forwards 4.0s; }
.rt-line-7 { animation: tLineIn 0.4s ease forwards 5.0s, rtBorderPurple 0.3s ease forwards 5.4s; }

.rt-time {
  font-size: 9px;
  color: rgba(255,255,255,0.15);
  font-weight: 600;
  min-width: 34px;
  padding-top: 2px;
  flex-shrink: 0;
}

.rt-content {
  flex: 1;
  min-width: 0;
}

.rt-content p {
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
  margin-top: 2px;
}

/* Markers */
.rt-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 8px;
  margin-top: 0;
  opacity: 0;
  transform: scale(0);
}

.rt-good { background: #34d399; color: #fff; }
.rt-warn { background: #f59e0b; color: #fff; }
.rt-miss { background: #a78bfa; color: #fff; }

.rt-m-1 { animation: markerPop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards 0.9s; }
.rt-m-2 { animation: markerPop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards 2.2s; }
.rt-m-3 { animation: markerPop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards 3.8s; }
.rt-m-4 { animation: markerPop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards 5.4s; }

@keyframes markerPop {
  0% { opacity: 0; transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes rtBorderGreen {
  to { border-left: 3px solid #34d399; padding-left: 10px; }
}

@keyframes rtBorderAmber {
  to { border-left: 3px solid #f59e0b; padding-left: 10px; }
}

@keyframes rtBorderPurple {
  to { border-left: 3px solid #a78bfa; padding-left: 10px; }
}

/* Reflection findings (right) */
.refl-findings {
  padding-bottom: 16px;
  overflow: hidden;
}

.rf-card {
  margin: 6px 14px;
  padding: 12px 14px 10px;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  opacity: 0;
  transform: translateX(16px);
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: default;
}

.rf-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transform: translateX(0) translateY(-1px) !important;
}

.rf-card-1 { animation: lCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards 1.1s; }
.rf-card-2 { animation: lCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards 2.5s; }
.rf-card-3 { animation: lCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards 4.0s; }
.rf-card-4 { animation: lCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards 5.6s; }

.rf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.rf-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
}

.rf-helped { background: #34d399; color: #fff; }
.rf-hurt { background: #f59e0b; color: #fff; }
.rf-missed { background: #a78bfa; color: #fff; }

.rf-impact {
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
  min-width: 32px;
  text-align: center;
}

.rf-high { color: #34d399; }
.rf-med { color: #f59e0b; }
.rf-neg { color: #a78bfa; }

.rf-text {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin-bottom: 6px;
}

.rf-text strong { color: rgba(255,255,255,0.9); font-weight: 700; }
.rf-text em { color: #34d399; font-style: italic; }

.rf-source {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ═══════════════════════════════════════════ */
/*  COMPANY MEMORY — THE LIVING LIBRARY       */
/* ═══════════════════════════════════════════ */

.mem-lib {
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  margin: 28px 0;
  background: #0a0c14;
}

.mem-lib-body {
  display: grid;
  grid-template-columns: 220px 1fr;
}

/* Left: branch tree */
.ml-tree {
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  background: rgba(255,255,255,0.02);
}

.ml-branch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  cursor: default;
  position: relative;
  opacity: 0;
  transform: translateX(-8px);
}

.ml-branch:nth-child(1) { animation: mgIn 0.25s ease forwards 0.2s; }
.ml-branch:nth-child(2) { animation: mgIn 0.25s ease forwards 0.3s; }
.ml-branch:nth-child(3) { animation: mgIn 0.25s ease forwards 0.4s; }
.ml-branch:nth-child(4) { animation: mgIn 0.25s ease forwards 0.5s; }
.ml-branch:nth-child(5) { animation: mgIn 0.25s ease forwards 0.6s; }
.ml-branch:nth-child(6) { animation: mgIn 0.25s ease forwards 0.7s; }
.ml-branch:nth-child(7) { animation: mgIn 0.25s ease forwards 0.8s; }
.ml-branch:nth-child(8) { animation: mgIn 0.25s ease forwards 0.9s; }
.ml-branch:nth-child(9) { animation: mgIn 0.25s ease forwards 1.0s; }
.ml-branch:nth-child(10) { animation: mgIn 0.25s ease forwards 1.1s; }

@keyframes mgIn {
  to { opacity: 1; transform: translateX(0); }
}

.ml-branch-icon { font-size: 13px; flex-shrink: 0; width: 18px; text-align: center; }
.ml-branch-name { flex: 1; font-weight: 500; }
.ml-branch-count {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  padding: 1px 6px;
  border-radius: 3px;
}

.ml-branch-active {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  border-right: 2px solid rgba(255,255,255,0.6);
}

.ml-branch-active .ml-branch-count {
  background: rgba(255,255,255,0.6);
  color: #0a0c14;
}

.ml-branch-challenged .ml-branch-name::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a78bfa;
  margin-left: 6px;
  vertical-align: middle;
}

/* Right: expanded page view */
.ml-content {
  padding: 24px 28px;
  opacity: 0;
  animation: mlContentIn 0.6s ease forwards 1.2s;
}

@keyframes mlContentIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.ml-breadcrumb {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ml-breadcrumb span {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.ml-page-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.ml-page-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
}

.ml-page-meta-conf {
  color: #34d399;
  font-weight: 600;
}

.ml-page-body {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  opacity: 0;
  animation: mdpIn 0.5s ease forwards 1.3s;
}

@keyframes mdpIn {
  to { opacity: 1; transform: translateY(0); }
}

.ml-page-body p {
  margin-bottom: 10px;
}

.ml-page-body .ml-cite {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 2px;
}

.ml-page-body .ml-updated {
  background: rgba(167,139,250,0.08);
  border-left: 2px solid #a78bfa;
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin: 12px 0;
  animation: mlUpdatePulse 3s ease-in-out infinite 2s;
}

@keyframes mlUpdatePulse {
  0%, 100% { background: rgba(167,139,250,0.08); }
  50% { background: rgba(167,139,250,0.14); }
}

.ml-page-body .ml-updated-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #a78bfa;
  display: block;
  margin-bottom: 4px;
}

.ml-subpages {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ml-subpages-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}

.ml-subpage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ml-subpage {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: mdpIn 0.3s ease forwards;
}

.ml-subpage:nth-child(1) { animation-delay: 2.0s; }
.ml-subpage:nth-child(2) { animation-delay: 2.1s; }
.ml-subpage:nth-child(3) { animation-delay: 2.2s; }
.ml-subpage:nth-child(4) { animation-delay: 2.3s; }
.ml-subpage:nth-child(5) { animation-delay: 2.4s; }
.ml-subpage:nth-child(6) { animation-delay: 2.5s; }

.ml-subpage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.ml-sp-green { background: #059669; }
.ml-sp-yellow { background: #f59e0b; }
.ml-sp-gray { background: rgba(255,255,255,0.25); }

.mem-lib-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  opacity: 0;
  animation: mdpIn 0.4s ease forwards 2.6s;
}

.mlf-stat {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.mlf-stat strong {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

.mlf-pipe {
  color: rgba(255,255,255,0.15);
}

.mlf-connected {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.mlf-conn-dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

/* ═══════════════════════════════════════════ */
/*  PRICING                                   */
/* ═══════════════════════════════════════════ */

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pricing-card {
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px 26px 24px;
}

.pricing-card-featured {
  border-color: rgba(255,255,255,0.3);
  border-width: 2px;
  position: relative;
}

.pricing-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 12px;
}

.pricing-card-featured .pricing-badge {
  color: rgba(255,255,255,0.9);
}

.pricing-amount {
  font-size: 38px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-per {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0;
}

.pricing-lock {
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 12px;
  padding: 5px 10px;
  background: rgba(52,211,153,0.08);
  border-radius: 5px;
  display: inline-block;
}

.pricing-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 18px;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.pricing-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}

.pricing-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  font-weight: 700;
}

.pricing-card-featured .pricing-list li::before {
  color: rgba(255,255,255,0.7);
}

.pricing-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-top: 18px;
  margin-bottom: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pricing-section-label:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 16px;
}

.pricing-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  font-style: italic;
}

/* ═══════════════════════════════════════════ */
/*  E-BADGES INLINE                           */
/* ═══════════════════════════════════════════ */

.e-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

.e-badge-0 { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.25); }
.e-badge-5 { background: rgba(255,255,255,0.6); color: #0a0c14; }

/* ═══════════════════════════════════════════ */
/*  CHALLENGES v2                             */
/* ═══════════════════════════════════════════ */

.ch-stack {
  margin-top: 24px;
}

.ch-entry {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: flex-start;
}

.ch-entry:last-child { border-bottom: none; }

.ch-big-num {
  font-size: 36px;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
  letter-spacing: -0.03em;
}

.ch-entry-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.ch-entry-body p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* Secondary challenges */
.ch-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.ch-secondary {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}

.ch-secondary h4 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.ch-secondary p {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════ */
/*  QUESTIONS                                 */
/* ═══════════════════════════════════════════ */

.q-group {
  margin-bottom: 20px;
}

.q-group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}

.q-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.q-list li {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
}

.q-list li::before {
  content: '?';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}

/* ═══════════════════════════════════════════ */
/*  NEXT STEPS TABLE                          */
/* ═══════════════════════════════════════════ */

.steps-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.steps-table th {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1.5px solid rgba(255,255,255,0.08);
}

.steps-table td {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
  line-height: 1.5;
}

.steps-table td:first-child {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  width: 32px;
}

.steps-table tr:last-child td { border-bottom: none; }

/* Done steps */
.step-done td {
  color: rgba(255,255,255,0.15) !important;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.1);
}
.step-done td:first-child {
  text-decoration: none;
  color: var(--color-gold, #b8941f) !important;
  position: relative;
}
.step-done td:first-child::after {
  content: '\2713';
  font-size: 10px;
  color: var(--color-gold, #b8941f);
  margin-left: 2px;
}

/* ═══════════════════════════════════════════ */
/*  SOLUTION HERO                             */
/* ═══════════════════════════════════════════ */

.solution-hero {
  margin: 0 -64px;
  padding: 40px 64px 16px;
  border-top: 3px solid rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════════ */
/*  IMPLICATION                               */
/* ═══════════════════════════════════════════ */

.implication {
  border-left: 3px solid rgba(255,255,255,0.3);
  padding: 14px 24px;
  margin: 20px 0;
  background: rgba(255,255,255,0.02);
  border-radius: 0 8px 8px 0;
}

.implication .imp-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.implication p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════ */
/*  CHALLENGE BOX                             */
/* ═══════════════════════════════════════════ */

.challenge-box {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 20px 0;
}

.challenge-box .cb-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.challenge-box p {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════ */
/*  SIGNOFF                                   */
/* ═══════════════════════════════════════════ */

.signoff {
  padding: 8px 0 24px;
}

.signoff p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 28px;
}

.signoff-kind {
  font-size: 14px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 6px !important;
}

.signoff-name {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2px;
}

.signoff-role {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}

.signoff-conf {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ═══ LIVE PULSE on @keyframes for sync ═══ */
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ═══════════════════════════════════════════ */
/*  MOBILE RESPONSIVE                         */
/* ═══════════════════════════════════════════ */

@media (max-width: 639px) {

  /* ── Solution hero: reduce negative margins ── */
  .solution-hero {
    margin: 0 -20px;
    padding: 24px 20px 12px;
  }

  /* ── Demo chrome: tighter padding, hide title overflow ── */
  .demo-chrome,
  .sig-chrome {
    padding: 10px 12px;
    gap: 8px;
  }

  .demo-title,
  .sig-chrome-title {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .demo-live {
    font-size: 8px;
    gap: 4px;
  }

  /* ── Conversation demo: stack columns ── */
  .demo-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .demo-transcript {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .demo-connections {
    display: none;
  }

  .demo-learnings {
    padding-top: 8px;
  }

  .demo-panel-label {
    padding: 12px 14px 6px;
  }

  .t-line {
    padding: 6px 14px;
  }

  .l-card {
    margin: 6px 10px;
    padding: 10px 12px 8px;
  }

  .l-text {
    font-size: 11px;
  }

  /* ── Signal dashboard ── */
  .sig-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }

  .sig-row-right {
    padding-left: 0;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .sig-strength {
    width: 80px;
  }

  .sig-row-name {
    font-size: 12px;
  }

  .sig-row-meta {
    font-size: 10px;
  }

  .sig-promote-tag {
    font-size: 9px;
  }

  .sig-decay-tag {
    font-size: 9px;
  }

  /* ── Artifact grid: stack ── */
  .art-grid {
    grid-template-columns: 1fr;
  }

  .art-card {
    border-right: none;
  }

  .art-card:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .art-card:last-child {
    border-bottom: none;
  }

  .art-card {
    padding: 14px 14px;
  }

  .art-diff-content {
    padding: 10px 10px;
  }

  .art-diff-add,
  .art-diff-remove {
    font-size: 11px;
  }

  /* ── Reflections demo: stack ── */
  .refl-demo-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .refl-transcript {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .rt-line {
    padding: 6px 10px 6px 0;
    margin-left: 10px;
  }

  .rf-card {
    margin: 6px 10px;
    padding: 10px 12px 8px;
  }

  .rf-text {
    font-size: 11px;
  }

  /* ── Company Memory: stack sidebar ── */
  .mem-lib-body {
    grid-template-columns: 1fr;
  }

  .ml-tree {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 12px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .ml-branch {
    padding: 5px 12px;
    font-size: 11px;
  }

  .ml-branch-icon {
    font-size: 11px;
    width: 14px;
  }

  .ml-branch-active {
    border-right: none;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    margin: 0 4px;
  }

  .ml-content {
    padding: 16px 14px;
  }

  .ml-page-body {
    font-size: 12.5px;
  }

  .ml-breadcrumb {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .ml-page-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mem-lib-footer {
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .mlf-stat {
    font-size: 10px;
  }

  /* ── Pricing: stack ── */
  .pricing-row {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 20px 18px 18px;
  }

  .pricing-amount {
    font-size: 30px;
  }

  /* ── Challenges: tighter spacing ── */
  .ch-entry {
    gap: 14px;
    padding: 16px 0;
  }

  .ch-big-num {
    font-size: 28px;
    min-width: 28px;
  }

  .ch-entry-body h4 {
    font-size: 14px;
  }

  .ch-entry-body p {
    font-size: 14px;
  }

  /* ── Secondary challenges: stack ── */
  .ch-secondary-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ch-secondary {
    padding: 14px 16px;
  }

  /* ── Challenge box ── */
  .challenge-box {
    padding: 16px 16px;
    margin: 14px 0;
  }

  .challenge-box p {
    font-size: 13.5px;
  }

  /* ── Implication ── */
  .implication {
    padding: 12px 16px;
    margin: 14px 0;
  }

  .implication p {
    font-size: 12.5px;
  }

  /* ── Questions ── */
  .q-group h4 {
    font-size: 14px;
  }

  .q-list li {
    font-size: 14px;
  }

  /* ── Steps table: make scrollable ── */
  .steps-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .steps-table th {
    padding: 8px 8px;
    font-size: 8px;
    white-space: nowrap;
  }

  .steps-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  /* ── Conversation flow: stack on mobile ── */
  .conv-flow {
    flex-direction: column;
    padding: 16px 14px;
    gap: 8px;
  }

  .cf-step {
    width: 100%;
  }

  .cf-arrow {
    transform: rotate(90deg);
    width: 24px;
    align-self: center;
  }

  .cf-arrow svg {
    width: 24px;
  }

  /* ── Evidence bar ── */
  .e-bar {
    gap: 4px;
    height: 110px;
  }

  .e-label {
    font-size: 8px;
  }

  .e-level {
    font-size: 9px;
  }

  .e-fill {
    max-width: 40px;
  }

}

/* ═══════════════════════════════════════════
   PIPELINE TRACK — from system-visual.html
   ═══════════════════════════════════════════ */

/* System-visual color tokens (scoped to pipeline) */
.pipeline-track {
  --sv-bg-card: #12131a;
  --sv-bg-card-hover: #181a24;
  --sv-border: #1e2030;
  --sv-text-muted: #6b6e80;
  --sv-text-bright: #eceef4;
  --sv-internal: #d4943a;
  --sv-internal-dim: #d4943a33;
  --sv-external: #3a9ed4;
  --sv-external-dim: #3a9ed433;
  --sv-strategic: #3ad49e;
  --sv-strategic-dim: #3ad49e33;
  --sv-reconcile: #d43a7a;
  --sv-reconcile-dim: #d43a7a33;
  --sv-attention: #b89aff;
  --sv-attention-dim: #b89aff33;
}

.pipeline-track {
  display: flex;
  gap: 0;
  position: relative;
}

.pipeline-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sv-border);
  z-index: 0;
}

.stage {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 0 4px;
  text-align: center;
}

.stage-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sv-bg-card);
  border: 2px solid var(--sv-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  font-weight: 500;
  color: var(--sv-text-muted);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.stage:hover .stage-dot {
  border-color: var(--sv-text-muted);
  color: var(--sv-text-bright);
  background: var(--sv-bg-card-hover);
}

.stage-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--sv-text-bright);
  margin-bottom: 4px;
}

.stage-time {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  color: var(--sv-text-muted);
}

/* Color-coded stage types */
.stage.s-internal .stage-dot { border-color: var(--sv-internal-dim); color: var(--sv-internal); }
.stage.s-external .stage-dot { border-color: var(--sv-external-dim); color: var(--sv-external); }
.stage.s-reconcile .stage-dot { border-color: var(--sv-reconcile-dim); color: var(--sv-reconcile); }
.stage.s-strategic .stage-dot { border-color: var(--sv-strategic-dim); color: var(--sv-strategic); }
.stage.s-attention .stage-dot { border-color: var(--sv-attention-dim); color: var(--sv-attention); }

/* Pipeline legend */
.pipeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--sv-border);
}

.pipeline-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pipeline-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pipeline-legend-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  color: var(--sv-text-muted);
}

/* Responsive: wrap on small screens */
@media (max-width: 768px) {
  .pipeline-track { flex-wrap: wrap; gap: 8px; }
  .pipeline-track::before { display: none; }
  .stage { flex: 0 0 calc(33.33% - 6px); padding: 8px 4px; }
  .stage-dot { width: 44px; height: 44px; font-size: 10px; }
}

/* ═══════════════════════════════════════════
   THREE FLOWS — from system-visual.html
   ═══════════════════════════════════════════ */

.flows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.flow-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}

.flow-card:hover { background: rgba(255,255,255,0.04); }

.flow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.flow-card.internal::before { background: linear-gradient(90deg, #d4943a, transparent); }
.flow-card.internal:hover { border-color: rgba(212,148,58,0.2); }
.flow-card.external::before { background: linear-gradient(90deg, #3a9ed4, transparent); }
.flow-card.external:hover { border-color: rgba(58,158,212,0.2); }
.flow-card.strategic::before { background: linear-gradient(90deg, #3ad49e, transparent); }
.flow-card.strategic:hover { border-color: rgba(58,212,158,0.2); }

.flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.flow-card.internal .flow-icon { background: #d4943a33; color: #d4943a; }
.flow-card.external .flow-icon { background: #3a9ed433; color: #3a9ed4; }
.flow-card.strategic .flow-icon { background: #3ad49e33; color: #3ad49e; }

.flow-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.flow-card.internal .flow-label { color: #d4943a; }
.flow-card.external .flow-label { color: #3a9ed4; }
.flow-card.strategic .flow-label { color: #3ad49e; }

.flow-name {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.flow-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 24px;
}

.flow-sources {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.flow-sources li {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  padding-left: 16px;
  position: relative;
}

.flow-sources li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 1px;
}

.flow-card.internal .flow-sources li::before { background: #d4943a; }
.flow-card.external .flow-sources li::before { background: #3a9ed4; }
.flow-card.strategic .flow-sources li::before { background: #3ad49e; }

.flow-output {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.flow-output-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 6px;
}

.flow-output-name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .flows-grid { grid-template-columns: 1fr; gap: 8px; }
  .flow-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════
   GLASS DEMO WRAPPER — for demos without .demo chrome
   ═══════════════════════════════════════════ */

.demo-glass {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10,12,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 8px 32px rgba(0,0,0,0.4),
    0 2px 8px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.04);
  padding: 24px;
}

@media (min-width: 768px) {
  .demo-glass { padding: 32px; }
}
