/* ============================================================
   MLC CASES — Medical Liability Committee case management page
   /corporate-legal-case-management-software/medical-liability-committee-cases/

   v3 — light 90vh hero depicting the live six-stage workflow.
   Design language: "the case record" — mono field labels,
   dotted leaders, stage numbers, audit-log lines, stamp chips.
   Inter + JetBrains Mono only (beveron-common.css tokens).
   --accent-warm (yellow) carries ONE meaning: deadlines/clocks.
   ============================================================ */

html { scroll-behavior: smooth; }

/* ---------- shared scaffolding ---------- */
.mlc-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mlc-h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.mlc-h2--onDark { color: var(--text-on-dark); }

.mlc-lead {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0;
}
.mlc-lead--onDark { color: var(--text-on-dark-muted); }
.mlc-lead strong { color: var(--text-primary); }
.mlc-lead--onDark strong { color: var(--text-on-dark); }
.mlc-lead a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px; }

.mlc-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.mlc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}
.mlc-eyebrow--onDark { color: #7dd3fc; }

.mlc-sec-head { max-width: 860px; margin-bottom: 44px; }
.mlc-sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.mlc-sec-head--center .mlc-lead { margin-left: auto; margin-right: auto; }

.mlc-cta-row { margin-top: 48px; text-align: center; }

/* ---------- buttons (with sheen sweep) ---------- */
.mlc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.mlc-btn--primary {
  background: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 132, 200, 0.32);
}
.mlc-btn--primary:hover {
  background: var(--accent-cyan-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 132, 200, 0.42);
}
.mlc-btn-sheen {
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.mlc-btn--primary:hover .mlc-btn-sheen { animation: mlcSheen 0.7s ease; }
@keyframes mlcSheen { to { left: 130%; } }

.mlc-btn--outline {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border-focus);
}
.mlc-btn--outline:hover {
  color: var(--accent-cyan-dark);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.mlc-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* typing caret */
.mlc-caret {
  display: inline-block;
  width: 7px; height: 0.95em;
  margin-left: 6px;
  vertical-align: text-bottom;
  background: var(--accent-cyan);
  animation: mlcBlink 1s steps(1) infinite;
}
@keyframes mlcBlink { 50% { opacity: 0; } }

/* ============================================================
   HERO — LIGHT, 90vh, depicting the live six-stage workflow
   ============================================================ */
.mlc-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 90vh;
  background: linear-gradient(180deg, var(--bg-hero) 0%, #eef4f9 58%, var(--bg-main) 100%);
  padding: 92px 0 0;
  overflow: hidden;
}

/* atmosphere layers */
.mlc-hero-atmo { position: absolute; inset: 0; pointer-events: none; }
.mlc-atmo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.mlc-atmo-glow--1 {
  width: 640px; height: 640px;
  right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(0, 132, 200, 0.14), transparent 65%);
  animation: mlcDrift 14s ease-in-out infinite alternate;
}
.mlc-atmo-glow--2 {
  width: 460px; height: 460px;
  left: -180px; bottom: -140px;
  background: radial-gradient(circle, rgba(250, 226, 81, 0.18), transparent 65%);
  animation: mlcDrift 18s ease-in-out infinite alternate-reverse;
}
@keyframes mlcDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(36px, 26px); }
}
.mlc-atmo-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(720px 480px at 72% 40%, rgba(0,0,0,.9), transparent 75%);
          mask-image: radial-gradient(720px 480px at 72% 40%, rgba(0,0,0,.9), transparent 75%);
}
.mlc-atmo-ring {
  position: absolute;
  border: 1.5px dashed rgba(0, 132, 200, 0.22);
  border-radius: 50%;
}
.mlc-atmo-ring--1 { width: 300px; height: 300px; right: 6%; top: 10%; animation: mlcSpin 60s linear infinite; }
.mlc-atmo-ring--2 { width: 170px; height: 170px; right: 26%; bottom: 16%; animation: mlcSpin 45s linear infinite reverse; }
@keyframes mlcSpin { to { transform: rotate(360deg); } }
.mlc-atmo-plus {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: rgba(0, 132, 200, 0.3);
  animation: mlcBob 6s ease-in-out infinite;
}
.mlc-atmo-plus--1 { left: 8%; top: 24%; }
.mlc-atmo-plus--2 { left: 46%; top: 12%; animation-delay: 1.6s; }
.mlc-atmo-plus--3 { left: 40%; bottom: 22%; animation-delay: 3.2s; }
@keyframes mlcBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mlc-hero-grid {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 36px;
}

.mlc-hbc a, .mlc-hbc .cur { color: var(--text-tertiary); }
.mlc-hbc a:hover { color: var(--accent-cyan-dark); }
.mlc-hbc .cur { color: var(--text-primary); }

.mlc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan-dark);
  background: var(--bg-surface);
  border: 1px solid rgba(0, 132, 200, 0.25);
  border-radius: 999px;
  padding: 7px 15px;
  margin: 14px 0 18px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.05);
}
.mlc-kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-warm);
  box-shadow: 0 0 0 0 rgba(250, 226, 81, 0.6);
  animation: mlcPulse 2.2s ease-out infinite;
}
@keyframes mlcPulse {
  0% { box-shadow: 0 0 0 0 rgba(250, 226, 81, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(250, 226, 81, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 226, 81, 0); }
}

/* headline: word-by-word rise */
.mlc-h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.06;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.mlc-h1-w {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  animation: mlcWord 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--w) * 0.09s + 0.15s);
}
@keyframes mlcWord {
  to { opacity: 1; transform: translateY(0); }
}
.mlc-h1-sub {
  display: block;
  max-width: 30ch;
  margin-top: 10px;
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent-cyan-dark);
}

.mlc-hero-lead {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 0 24px;
}
.mlc-hero-lead strong { color: var(--text-primary); }

.mlc-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }

.mlc-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
.mlc-hero-proof strong { color: var(--accent-cyan-dark); font-weight: 600; margin-right: 4px; }

/* --- hero stage: floating chips + the live workflow file --- */
.mlc-hero-stage {
  position: relative;
  padding: 26px 8px 10px;
}

.mlc-float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.14);
  animation: mlcBob 5.5s ease-in-out infinite;
}
.mlc-float-chip--a {
  top: -4px; right: -6px;
  color: #7a6a00;
  background: #fff;
  border: 1.5px solid var(--accent-warm);
  animation-delay: 0.4s;
}
.mlc-float-chip--a i { color: #caa900; }
.mlc-float-chip--b {
  bottom: 7%; left: -18px;
  color: var(--accent-cyan-dark);
  background: #fff;
  border: 1.5px solid rgba(0, 132, 200, 0.4);
  animation-delay: 1.8s;
}

/* the case file panel: paper + manila tab + stacked sheet */
.mlc-record {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow:
    0 34px 70px rgba(17, 24, 39, 0.14),
    0 6px 18px rgba(17, 24, 39, 0.06);
  transform: rotate(0.8deg);
  transition: transform 0.35s ease;
}
.mlc-hero-stage:hover .mlc-record { transform: rotate(0deg) translateY(-4px); }
.mlc-record-tab {
  position: absolute;
  top: -26px; left: 26px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #8a6d1a;
  background: linear-gradient(180deg, #f6e3ae, #efd68f);
  border: 1px solid #e3c877;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 7px 18px 12px;
  z-index: -1;
}

.mlc-record-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-hero);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.mlc-record-ref {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.mlc-record-stage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-cyan-dark);
  background: var(--accent-cyan-light);
  border: 1px solid rgba(0, 132, 200, 0.3);
  border-radius: 4px;
  padding: 5px 10px;
}
.mlc-stage-pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: mlcPulse 2.2s ease-out infinite;
}

/* --- workflow rail inside the case file --- */
.mlc-wf-rail {
  list-style: none;
  margin: 0;
  padding: 16px 18px 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
/* connecting line behind the nodes */
.mlc-wf-rail::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: repeating-linear-gradient(to bottom,
    rgba(0, 132, 200, 0.35) 0 6px,
    transparent 6px 12px);
  transform-origin: top;
  animation: mlcRailDraw 1.8s ease-out forwards;
}
@keyframes mlcRailDraw {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.mlc-wf-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px);
  animation: mlcStepIn 0.5s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes mlcStepIn {
  to { opacity: 1; transform: translateY(0); }
}
.mlc-wf-step.is-active {
  background: var(--accent-cyan-light);
  border: 1px dashed rgba(0, 132, 200, 0.45);
}

.mlc-wf-node {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 1;
}
.is-done .mlc-wf-node {
  background: var(--accent-cyan);
  color: #fff;
  font-size: 0.66rem;
  box-shadow: 0 4px 12px rgba(0, 132, 200, 0.35);
}
.is-active .mlc-wf-node {
  background: #fff;
  color: var(--accent-cyan-dark);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(0, 132, 200, 0.4);
  animation: mlcNodePulse 2s ease-out infinite;
}
@keyframes mlcNodePulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 132, 200, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 132, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 132, 200, 0); }
}
.is-pending .mlc-wf-node {
  background: #fff;
  color: var(--text-tertiary);
  border: 1.5px dashed var(--border-focus);
}

.mlc-wf-body { min-width: 0; }
.mlc-wf-body strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.is-pending .mlc-wf-body strong { color: var(--text-secondary); }
.mlc-wf-body em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  color: var(--text-tertiary);
  margin-top: 2px;
  line-height: 1.5;
}

.mlc-wf-status {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.mlc-wf-status--done {
  color: #166534;
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
}
.mlc-wf-status--live {
  color: var(--accent-cyan-dark);
  border-color: rgba(0, 132, 200, 0.4);
  background: #fff;
  animation: mlcStatusBlink 2s ease-in-out infinite;
}
@keyframes mlcStatusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.mlc-wf-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 18px 18px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 6px;
}
.mlc-agent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 13px;
  border: 1px dashed rgba(0, 132, 200, 0.5);
  border-radius: var(--radius-sm);
  background: var(--accent-cyan-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--accent-cyan-dark);
  opacity: 0;
  transform: translateY(6px);
  animation: mlcStepIn 0.5s ease forwards;
  animation-delay: var(--d, 0s);
}
.mlc-agent-line i { color: var(--accent-cyan); flex-shrink: 0; margin-top: 2px; }
.mlc-agent-line > span { flex: 1; min-width: 0; overflow-wrap: break-word; }
.mlc-wf-note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-align: center;
}

/* --- regulator ticker marquee --- */
.mlc-ticker {
  position: relative;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  overflow: hidden;
  padding: 14px 0;
}
.mlc-ticker::before,
.mlc-ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 1;
  pointer-events: none;
}
.mlc-ticker::before { left: 0; background: linear-gradient(to right, var(--bg-surface), transparent); }
.mlc-ticker::after { right: 0; background: linear-gradient(to left, var(--bg-surface), transparent); }
.mlc-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: mlcTicker 36s linear infinite;
}
.mlc-ticker:hover .mlc-ticker-track { animation-play-state: paused; }
@keyframes mlcTicker { to { transform: translateX(-50%); } }
.mlc-ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
}
.mlc-ticker-track i {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--accent-cyan);
}

/* ============================================================
   DEFINE — clean editorial two-column
   ============================================================ */
.mlc-define {
  background: var(--bg-main);
  padding: 96px 0 80px;
}
.mlc-define-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.mlc-define-quote {
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-cyan);
  padding: 6px 0 6px 22px;
  margin: 8px 0 0;
}
.mlc-define-right .mlc-body:first-child { margin-top: 4px; }

/* ============================================================
   TWO CLOCKS
   ============================================================ */
.mlc-clocks {
  background: var(--bg-hero);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 92px 0;
}
.mlc-clock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.mlc-clock-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.mlc-clock-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.1);
}
.mlc-clock-card h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.mlc-clock-card p { font-size: 0.94rem; line-height: 1.68; color: var(--text-secondary); margin: 0; }
.mlc-clock-mono {
  font-family: var(--font-mono);
  font-size: 0.68rem !important;
  letter-spacing: 0.12em;
  color: var(--text-tertiary) !important;
  margin: 0 0 12px !important;
}

/* animated dial: ring + tick marks + sweeping hand */
.mlc-dial {
  position: relative;
  width: 74px; height: 74px;
  margin-bottom: 20px;
}
.mlc-dial-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
}
.mlc-dial-ring--warm {
  background:
    radial-gradient(circle at center, var(--bg-surface) 62%, transparent 63%),
    conic-gradient(var(--accent-warm) 0 68%, var(--bg-alt) 68% 100%);
}
.mlc-dial-ring--cyan {
  background:
    radial-gradient(circle at center, var(--bg-surface) 62%, transparent 63%),
    conic-gradient(var(--accent-cyan) 0 34%, var(--bg-alt) 34% 100%);
}
.mlc-dial-ticks {
  position: absolute; inset: 8px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(var(--border-focus) 0deg 1.6deg, transparent 1.6deg 30deg);
  -webkit-mask-image: radial-gradient(circle, transparent 68%, #000 69%);
          mask-image: radial-gradient(circle, transparent 68%, #000 69%);
  opacity: 0.9;
}
.mlc-dial-hand {
  position: absolute;
  left: 50%; top: 50%;
  width: 2px; height: 24px;
  background: var(--text-primary);
  border-radius: 2px;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(0deg);
  animation: mlcTick 18s linear infinite;
}
.mlc-dial-hand--slow { animation-duration: 28s; }
@keyframes mlcTick { to { transform: translate(-50%, -100%) rotate(360deg); } }
.mlc-dial-pin {
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-primary);
  transform: translate(-50%, -50%);
}

.mlc-clock-card--alerts { background: var(--bg-dark); border-color: var(--bg-dark); }
.mlc-clock-card--alerts h3 { color: var(--text-on-dark); }
.mlc-clock-card--alerts p { color: var(--text-on-dark-muted); font-size: 0.88rem; }
.mlc-alert-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.mlc-alert-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-on-dark);
  padding: 8px 0;
  border-bottom: 1px dotted rgba(148, 163, 184, 0.25);
}
.mlc-alert-list li:last-child { border-bottom: 0; }
.mlc-alert-pip { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mlc-alert-pip--red { background: #f87171; box-shadow: 0 0 10px rgba(248, 113, 113, 0.6); }
.mlc-alert-pip--amber { background: var(--accent-warm); box-shadow: 0 0 10px rgba(250, 226, 81, 0.55); }

/* ============================================================
   IMAGE SLOTS — 3 marketing images with VISIBLE designed
   placeholder frames until the files are uploaded
   ============================================================ */
.mlc-img-slot {
  position: relative;
  max-width: 820px;
  margin: 56px auto 0;
}
.mlc-img-slot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.09);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
/* the case-study aside image keeps its own (full-column) sizing */
.mlc-case-side .mlc-img-slot { max-width: none; }

/* whole image is a link to the demo form */
.mlc-img-link {
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease;
}
.mlc-img-link:hover { transform: translateY(-4px); }
.mlc-img-link:hover img {
  border-color: rgba(0, 132, 200, 0.45);
  box-shadow: 0 26px 58px rgba(17, 24, 39, 0.16);
}
.mlc-img-slot--dark .mlc-img-link:hover img {
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.5);
}
.mlc-img-slot--dark img { border-color: rgba(241, 245, 249, 0.14); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4); }
.mlc-img-cap {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  margin-top: 13px;
  text-align: center;
}

/* designed placeholder (shown only while the file is missing) */
.mlc-ph { display: none; }
figure.is-pending img { display: none; }
figure.is-pending .mlc-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 320px;
  border: 2px dashed rgba(0, 132, 200, 0.35);
  border-radius: var(--radius-md);
  background:
    linear-gradient(120deg, rgba(0, 132, 200, 0.04) 30%, rgba(0, 132, 200, 0.1) 50%, rgba(0, 132, 200, 0.04) 70%) 0 0 / 200% 100%,
    var(--bg-surface);
  animation: mlcShimmer 2.6s linear infinite;
  text-align: center;
  padding: 40px 24px;
}
@keyframes mlcShimmer { to { background-position: -200% 0, 0 0; } }
.mlc-img-slot--dark.is-pending .mlc-ph {
  background:
    linear-gradient(120deg, rgba(125, 211, 252, 0.05) 30%, rgba(125, 211, 252, 0.12) 50%, rgba(125, 211, 252, 0.05) 70%) 0 0 / 200% 100%,
    rgba(15, 23, 32, 0.5);
  border-color: rgba(125, 211, 252, 0.35);
}
.mlc-ph-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-cyan-dark);
  background: var(--accent-cyan-light);
  border-radius: 999px;
  padding: 5px 13px;
}
.mlc-img-slot--dark .mlc-ph-badge { color: #7dd3fc; background: rgba(0, 132, 200, 0.2); }
.mlc-ph-ic { font-size: clamp(1.4rem, 4vw, 2rem); color: rgba(0, 132, 200, 0.4); }
.mlc-img-slot--dark .mlc-ph-ic { color: rgba(125, 211, 252, 0.5); }
.mlc-ph-t {
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
}
.mlc-img-slot--dark .mlc-ph-t { color: var(--text-on-dark); }
.mlc-ph-f {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}
.mlc-img-slot--dark .mlc-ph-f { color: var(--text-on-dark-muted); }

/* ============================================================
   SIX-STAGE WORKFLOW — central spine, interleaved cards
   (each card overlaps the previous by half a step, so the
   two sides read almost side-by-side with no dead space)
   ============================================================ */
.mlc-flow {
  background: var(--bg-main);
  padding: 96px 0;
}
.mlc-spine {
  position: relative;
  list-style: none;
  padding: 12px 0 8px;
  margin: 0;
}
.mlc-spine-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(to bottom,
      rgba(0, 132, 200, 0.45) 0 8px,
      transparent 8px 16px);
}

.mlc-sp-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 26px 22px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.6s ease;
  position: relative;
}
.mlc-sp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 132, 200, 0.4);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.1);
}
.mlc-sp-node {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan-dark);
  background: var(--bg-surface);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--bg-main), 0 8px 22px rgba(0, 132, 200, 0.2);
  z-index: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, opacity 0.45s ease;
}
.mlc-sp-node:hover {
  transform: scale(1.12);
  background: var(--accent-cyan);
  color: #fff;
}

.mlc-sp-k {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.mlc-sp-card h3 {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.mlc-sp-card p {
  font-size: 0.92rem;
  line-height: 1.66;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.mlc-sp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 7px 11px;
}
.mlc-sp-chip em { font-style: normal; font-weight: 700; }
.mlc-sp-chip--branch { color: var(--accent-cyan-dark); background: var(--accent-cyan-light); }
.mlc-sp-chip--auto { color: #7a6a00; background: rgba(250, 226, 81, 0.28); }
.mlc-sp-chip--clock { color: #7a6a00; background: rgba(250, 226, 81, 0.28); }
.mlc-sp-chip--done { color: #166534; background: rgba(34, 197, 94, 0.14); }

/* desktop: interleaved two-column placement around the spine.
   card N spans grid rows N..N+1, so consecutive cards overlap
   by half a card and the columns stay tightly packed. */
@media (min-width: 921px) {
  .mlc-spine {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    column-gap: 44px;
    row-gap: 22px;
  }
  .mlc-sp-item { display: contents; }
  .mlc-sp-card { grid-column: 1; text-align: right; }
  .mlc-spine li:nth-of-type(even) .mlc-sp-card { grid-column: 3; text-align: left; }
  .mlc-sp-node { grid-column: 2; align-self: center; justify-self: center; }

  .mlc-spine li:nth-of-type(1) .mlc-sp-card,
  .mlc-spine li:nth-of-type(1) .mlc-sp-node { grid-row: 1 / span 2; }
  .mlc-spine li:nth-of-type(2) .mlc-sp-card,
  .mlc-spine li:nth-of-type(2) .mlc-sp-node { grid-row: 2 / span 2; }
  .mlc-spine li:nth-of-type(3) .mlc-sp-card,
  .mlc-spine li:nth-of-type(3) .mlc-sp-node { grid-row: 3 / span 2; }
  .mlc-spine li:nth-of-type(4) .mlc-sp-card,
  .mlc-spine li:nth-of-type(4) .mlc-sp-node { grid-row: 4 / span 2; }
  .mlc-spine li:nth-of-type(5) .mlc-sp-card,
  .mlc-spine li:nth-of-type(5) .mlc-sp-node { grid-row: 5 / span 2; }
  .mlc-spine li:nth-of-type(6) .mlc-sp-card,
  .mlc-spine li:nth-of-type(6) .mlc-sp-node { grid-row: 6 / span 2; }

  /* reveal: odd slides from left, even from right; nodes pop */
  .mlc-sp-card.reveal { opacity: 0; transform: translateX(-34px); }
  .mlc-spine li:nth-of-type(even) .mlc-sp-card.reveal { transform: translateX(34px); }
  .mlc-sp-card.reveal.visible { opacity: 1; transform: translateX(0); }
  .mlc-sp-node.reveal { opacity: 0; transform: scale(0.5); transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
  .mlc-sp-node.reveal.visible { opacity: 1; transform: scale(1); }
}

/* customisation callout (centre-aligned) */
.mlc-custom {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--bg-hero), var(--accent-cyan-light));
  border: 1px solid rgba(0, 132, 200, 0.3);
  border-radius: var(--radius-md);
  padding: 36px 38px 34px;
  text-align: center;
}
.mlc-custom-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.mlc-custom-head i {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0, 132, 200, 0.3);
}
.mlc-custom-head h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0;
}
.mlc-custom > p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 22px;
}
.mlc-custom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.mlc-custom-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mlc-custom-chip:hover { border-color: var(--accent-cyan); transform: translateY(-2px); }
.mlc-custom-chip i { color: var(--accent-cyan); font-size: 0.82rem; }

/* ============================================================
   AI CASE AGENT — dark, noise + glow
   ============================================================ */
.mlc-agent {
  position: relative;
  background: linear-gradient(160deg, #16202b 0%, var(--bg-dark) 55%, #1b2d3e 100%);
  padding: 100px 0;
  overflow: hidden;
}
.mlc-agent-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(0, 132, 200, 0.16), transparent 62%),
    radial-gradient(460px 340px at 4% 96%, rgba(0, 132, 200, 0.09), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.mlc-agent .mlc-wrap { position: relative; }
/* the dark panel's agent line keeps the light styling readable on navy */
.mlc-agent .mlc-agent-line {
  background: rgba(0, 132, 200, 0.12);
  border-color: rgba(0, 132, 200, 0.45);
  color: #7dd3fc;
}

/* email → case-file conveyor */
.mlc-conveyor {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto 60px;
  padding: 22px 30px;
  border: 1px solid rgba(241, 245, 249, 0.12);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 32, 0.55);
}
.mlc-cv-src, .mlc-cv-dst {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark);
  font-size: 1.35rem;
}
.mlc-cv-src em, .mlc-cv-dst em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-on-dark-muted);
}
.mlc-cv-dst { color: #7dd3fc; }
.mlc-cv-path {
  position: relative;
  height: 34px;
  border-bottom: 2px dashed rgba(0, 132, 200, 0.5);
}
.mlc-cv-mail {
  position: absolute;
  bottom: 6px;
  left: 0;
  color: var(--accent-warm);
  font-size: 0.95rem;
  opacity: 0;
  animation: mlcConvey 5.4s linear infinite;
}
.mlc-cv-mail--2 { animation-delay: 1.8s; color: #7dd3fc; }
.mlc-cv-mail--3 { animation-delay: 3.6s; color: #f0abfc; }
@keyframes mlcConvey {
  0% { left: 0; opacity: 0; transform: translateY(0); }
  8% { opacity: 1; }
  76% { opacity: 1; transform: translateY(0); }
  92% { left: calc(100% - 18px); opacity: 0; transform: translateY(-8px); }
  100% { left: calc(100% - 18px); opacity: 0; }
}

.mlc-agent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.mlc-agent-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mlc-agent-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.mlc-agent-points div {
  font-size: 0.97rem;
  line-height: 1.68;
  color: var(--text-on-dark-muted);
}
.mlc-agent-points strong { color: var(--text-on-dark); display: inline; }
.mlc-ap-ic {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 132, 200, 0.4);
  background: rgba(0, 132, 200, 0.12);
  color: #7dd3fc;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.mlc-agent-points li:hover .mlc-ap-ic {
  transform: translateY(-3px) scale(1.06);
  background: rgba(0, 132, 200, 0.24);
}

/* audit log panel */
.mlc-audit {
  background: rgba(11, 18, 26, 0.85);
  border: 1px solid rgba(241, 245, 249, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 66px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 132, 200, 0.06);
  overflow: hidden;
}
.mlc-audit-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(241, 245, 249, 0.1);
  background: rgba(241, 245, 249, 0.04);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-on-dark-muted);
}
.mlc-audit-dots { display: inline-flex; gap: 6px; }
.mlc-audit-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(241, 245, 249, 0.18);
}
.mlc-audit-dots i:first-child { background: rgba(248, 113, 113, 0.7); }
.mlc-audit-dots i:nth-child(2) { background: rgba(250, 226, 81, 0.7); }
.mlc-audit-dots i:last-child { background: rgba(134, 239, 172, 0.7); }

.mlc-audit-body { padding: 16px 18px 20px; }
.mlc-audit-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-on-dark);
  padding: 8px 0;
  margin: 0;
  border-bottom: 1px dotted rgba(148, 163, 184, 0.18);
  opacity: 0;
  transform: translateX(-10px);
}
.mlc-audit-line:last-child { border-bottom: 0; }
.visible .mlc-audit-line {
  animation: mlcLogIn 0.45s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes mlcLogIn {
  to { opacity: 1; transform: translateX(0); }
}
.mlc-au-t { color: var(--text-on-dark-muted); font-size: 0.68rem; }
.mlc-au-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 3px;
  padding: 3px 7px;
}
.mlc-au-tag--read  { color: #7dd3fc; background: rgba(0, 132, 200, 0.18); }
.mlc-au-tag--fill  { color: #86efac; background: rgba(34, 197, 94, 0.15); }
.mlc-au-tag--sum   { color: #c4b5fd; background: rgba(139, 92, 246, 0.18); }
.mlc-au-tag--flag  { color: var(--accent-warm); background: rgba(250, 226, 81, 0.15); }
.mlc-au-tag--stage { color: #f0abfc; background: rgba(217, 70, 239, 0.15); }
.mlc-caret--log { background: #7dd3fc; }

/* before / after table */
.mlc-ba { margin-bottom: 60px; overflow-x: auto; }
.mlc-ba-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(15, 23, 32, 0.55);
  border: 1px solid rgba(241, 245, 249, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mlc-ba-table th,
.mlc-ba-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.93rem;
  line-height: 1.55;
  border-bottom: 1px solid rgba(241, 245, 249, 0.08);
  vertical-align: top;
}
.mlc-ba-table thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  background: rgba(241, 245, 249, 0.04);
}
.mlc-ba-table tbody th {
  font-weight: 600;
  color: var(--text-on-dark);
  width: 24%;
}
.mlc-ba-table tbody td { color: var(--text-on-dark-muted); }
.mlc-ba-table .mlc-ba-with {
  color: var(--text-on-dark);
  background: rgba(0, 132, 200, 0.11);
  border-left: 1px solid rgba(0, 132, 200, 0.32);
}
.mlc-ba-table thead .mlc-ba-with { color: #7dd3fc; }
.mlc-ba-table tr:last-child th,
.mlc-ba-table tr:last-child td { border-bottom: 0; }

/* trust guarantees */
.mlc-trust {
  border: 1px solid rgba(250, 226, 81, 0.35);
  border-radius: var(--radius-md);
  padding: 36px 36px 32px;
  background:
    linear-gradient(rgba(250, 226, 81, 0.04), rgba(250, 226, 81, 0.04)),
    rgba(15, 23, 32, 0.4);
}
.mlc-trust-h {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin: 0 0 26px;
}
.mlc-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 30px;
}
.mlc-trust-item {
  font-size: 0.92rem;
  line-height: 1.66;
  color: var(--text-on-dark-muted);
  padding-left: 14px;
  border-left: 2px solid rgba(250, 226, 81, 0.4);
  transition: border-color 0.2s ease;
}
.mlc-trust-item:hover { border-color: var(--accent-warm); }
.mlc-trust-item strong { color: var(--text-on-dark); display: block; margin-bottom: 4px; }

/* ============================================================
   EXHIBITS — browser-framed screenshots (4 slots)
   ============================================================ */
.mlc-exhibits {
  background: var(--bg-main);
  padding: 96px 0;
}
.mlc-exhibit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 30px;
}
.mlc-exhibit {
  margin: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 18px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mlc-exhibit:hover {
  border-color: rgba(0, 132, 200, 0.4);
  box-shadow: 0 24px 52px rgba(17, 24, 39, 0.12);
}
.mlc-exhibit:hover { transform: translateY(-6px); }

.mlc-exhibit-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-cyan-dark);
  background: var(--accent-cyan-light);
  border-radius: 4px;
  padding: 5px 10px;
  margin-bottom: 14px;
}

/* browser chrome */
.mlc-browser {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 10px 14px;
}
.mlc-browser i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border-focus);
}
.mlc-browser i:first-child { background: #fca5a5; }
.mlc-browser i:nth-child(2) { background: #fde68a; }
.mlc-browser i:nth-child(3) { background: #86efac; }
.mlc-browser em {
  font-style: normal;
  flex: 1;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  background: var(--bg-surface);
  border-radius: 5px;
  padding: 4px 12px;
}
/* media frame: shows the FULL screenshot at its natural aspect, no crop */
.mlc-shot {
  display: block;
  position: relative;
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
}
.mlc-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.mlc-exhibit.is-pending .mlc-shot img { display: none; }
.mlc-exhibit.is-pending .mlc-shot .mlc-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 300px;
  border: 2px dashed rgba(0, 132, 200, 0.35);
  background:
    linear-gradient(120deg, rgba(0, 132, 200, 0.04) 30%, rgba(0, 132, 200, 0.1) 50%, rgba(0, 132, 200, 0.04) 70%) 0 0 / 200% 100%,
    var(--bg-surface);
  animation: mlcShimmer 2.6s linear infinite;
  text-align: center;
  padding: 16px;
}
.mlc-exhibit figcaption {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 14px;
}

/* zoom / enlarge button on each screenshot */
.mlc-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 9px;
  background: rgba(17, 24, 39, 0.6);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.mlc-exhibit:hover .mlc-zoom { opacity: 1; }
.mlc-zoom:hover,
.mlc-zoom:focus-visible {
  background: var(--accent-cyan);
  transform: scale(1.08);
  outline: none;
}
.mlc-exhibit.is-pending .mlc-zoom { display: none; }

/* full-screen lightbox */
.mlc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  background: rgba(11, 18, 26, 0.92);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.mlc-lightbox.is-open { display: flex; animation: mlcLbFade 0.2s ease; }
@keyframes mlcLbFade { from { opacity: 0; } to { opacity: 1; } }
.mlc-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  animation: mlcLbZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mlcLbZoom { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mlc-lightbox-cap {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.5;
  padding: 0 8vw;
}
.mlc-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mlc-lightbox-close:hover {
  background: var(--accent-cyan);
  transform: rotate(90deg);
}

/* ============================================================
   ONE FILE — feature inventory (icons)
   ============================================================ */
.mlc-file {
  background: var(--bg-hero);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 96px 0;
}
.mlc-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.mlc-file-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 26px 24px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.mlc-file-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent-cyan), #7dd3fc);
  transition: width 0.3s ease;
}
.mlc-file-card:hover::before { width: 100%; }
.mlc-file-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 132, 200, 0.4);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.09);
}
.mlc-fc-ic {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan-light);
  color: var(--accent-cyan-dark);
  font-size: 1.05rem;
  margin-bottom: 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mlc-file-card:hover .mlc-fc-ic {
  background: var(--accent-cyan);
  color: #fff;
  transform: scale(1.08);
}
.mlc-file-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.mlc-file-card p {
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--text-secondary);
  margin: 0;
}

.mlc-tabs-line {
  margin: 44px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}
.mlc-tabs-k { color: var(--accent-cyan); font-weight: 600; }

/* ============================================================
   REGULATORS
   ============================================================ */
.mlc-reg {
  background: var(--bg-main);
  padding: 96px 0;
}
.mlc-reg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mlc-reg-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.mlc-reg-card:hover {
  border-color: rgba(0, 132, 200, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}
.mlc-reg-code {
  grid-row: 1 / 3;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-cyan-dark);
  background: var(--accent-cyan-light);
  border-radius: 6px;
  padding: 12px 0;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.mlc-reg-card:hover .mlc-reg-code { background: var(--accent-cyan); color: #fff; }
.mlc-reg-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}
.mlc-reg-geo {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-top: 3px;
}
.mlc-reg-note {
  margin: 28px auto 0;
  max-width: 780px;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-tertiary);
}

/* ============================================================
   CASE STUDY — dark, worked example timeline + snapshot
   ============================================================ */
.mlc-case {
  position: relative;
  background: linear-gradient(150deg, var(--bg-dark) 0%, #182634 60%, #16202b 100%);
  padding: 100px 0;
  overflow: hidden;
}
.mlc-case-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 10% 10%, rgba(0, 132, 200, 0.13), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.mlc-case .mlc-wrap { position: relative; }

.mlc-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 48px;
  align-items: stretch;
}

.mlc-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.mlc-timeline::before {
  content: "";
  position: absolute;
  left: 47px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0, 132, 200, 0.55), rgba(250, 226, 81, 0.4));
}
.mlc-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 34px;
}
.mlc-tl-item:last-child { padding-bottom: 0; }
.mlc-tl-day {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-warm);
  background: rgba(250, 226, 81, 0.09);
  border: 1px solid rgba(250, 226, 81, 0.35);
  border-radius: 999px;
  padding: 7px 0;
  text-align: center;
  height: fit-content;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mlc-tl-item:hover .mlc-tl-day {
  background: rgba(250, 226, 81, 0.2);
  transform: scale(1.05);
}
.mlc-tl-item h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin: 4px 0 8px;
}
.mlc-tl-item p {
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-on-dark-muted);
  margin: 0;
}

.mlc-case-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mlc-case-side .mlc-img-slot { margin: 0; }
.mlc-case-side figure.is-pending .mlc-ph { min-height: 210px; }

/* case snapshot — mini record card, dotted leaders */
.mlc-case-snap {
  background: rgba(15, 23, 32, 0.6);
  border: 1px solid rgba(241, 245, 249, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.mlc-case-snap-h {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #7dd3fc;
  margin-bottom: 12px;
}
.mlc-snap-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(148, 163, 184, 0.2);
}
.mlc-snap-row:last-child { border-bottom: 0; }
.mlc-snap-row span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
}
.mlc-snap-row i {
  flex: 1;
  border-bottom: 1px dotted rgba(148, 163, 184, 0.35);
  transform: translateY(-3px);
}
.mlc-snap-row strong {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-on-dark);
  text-align: right;
}

.mlc-case-wins {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mlc-case-wins li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-on-dark);
}
.mlc-case-wins i {
  color: var(--accent-warm);
  font-size: 0.8rem;
  margin-top: 5px;
  flex-shrink: 0;
}
.mlc-case-note {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  border-top: 1px dotted rgba(148, 163, 184, 0.3);
  padding-top: 14px;
  margin: 0;
}

/* ============================================================
   PLATFORM BEHIND IT
   ============================================================ */
.mlc-platform {
  background: var(--bg-main);
  padding: 96px 0;
}
.mlc-plat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mlc-plat-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.mlc-plat-card:hover {
  border-color: rgba(0, 132, 200, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
  text-decoration: none;
}
.mlc-plat-card i {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-cyan-light);
  color: var(--accent-cyan-dark);
  font-size: 0.94rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mlc-plat-card:hover i {
  background: var(--accent-cyan);
  color: #fff;
  transform: scale(1.08);
}
.mlc-plat-card span {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.mlc-plat-card strong {
  display: block;
  font-size: 0.96rem;
  color: var(--text-primary);
  margin-bottom: 3px;
}

/* ============================================================
   E-E-A-T — publisher card
   ============================================================ */
.mlc-eeat {
  background: var(--bg-main);
  padding: 0 0 80px;
}
.mlc-eeat-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  background: var(--bg-hero);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 38px 40px;
}
.mlc-eeat-brand img {
  max-width: 160px;
  height: auto;
}
.mlc-eeat-h {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.mlc-eeat-body p {
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.mlc-eeat-body a { color: var(--accent-cyan-dark); text-decoration: underline; text-underline-offset: 3px; }
.mlc-eeat-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: 0 0 4px;
}
.mlc-eeat-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.mlc-eeat-meta i { color: var(--accent-cyan); font-size: 0.8rem; }
.mlc-eeat-meta a { color: var(--text-secondary); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.mlc-eeat-meta a:hover { color: var(--accent-cyan-dark); }

/* ============================================================
   FAQ
   ============================================================ */
.mlc-faq {
  background: var(--bg-hero);
  border-top: 1px solid var(--border-subtle);
  padding: 96px 0;
}
.mlc-faq-list {
  max-width: 860px;
}
.mlc-faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mlc-faq-item[open] {
  border-color: rgba(0, 132, 200, 0.4);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}
.mlc-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.15s ease;
}
.mlc-faq-item summary::-webkit-details-marker { display: none; }
.mlc-faq-item summary:hover { color: var(--accent-cyan-dark); }
.mlc-faq-pm {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
}
.mlc-faq-item[open] .mlc-faq-pm { transform: rotate(45deg); }
.mlc-faq-a {
  padding: 0 22px 20px;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--text-secondary);
}
.mlc-faq-a a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   REVEAL — base + per-child stagger
   ============================================================ */
.bv-page .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.bv-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.bv-page .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.bv-page .reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.bv-page .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.bv-page .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.13s; }
.bv-page .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.21s; }
.bv-page .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.29s; }
.bv-page .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.37s; }
.bv-page .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.45s; }
.bv-page .reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.53s; }
.bv-page .reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.61s; }
.bv-page .reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.69s; }

/* respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mlc-h1-w, .mlc-wf-step, .mlc-agent-line, .mlc-audit-line, .mlc-cv-mail {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .mlc-wf-rail::before { animation: none !important; transform: none !important; }
  .mlc-dial-hand, .mlc-kicker-dot, .mlc-stage-pip, .mlc-caret,
  .mlc-atmo-glow--1, .mlc-atmo-glow--2, .mlc-atmo-ring--1, .mlc-atmo-ring--2,
  .mlc-atmo-plus, .mlc-float-chip, .mlc-ticker-track,
  .is-active .mlc-wf-node, .mlc-wf-status--live { animation: none !important; }
  .bv-page .reveal, .bv-page .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .mlc-sp-card.reveal, .mlc-sp-node.reveal { opacity: 1 !important; transform: none !important; }
  figure.is-pending .mlc-ph { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .mlc-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mlc-file-grid,
  .mlc-plat-grid,
  .mlc-reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .mlc-hero { min-height: 0; padding: 96px 0 0; }
  .mlc-hero-grid { grid-template-columns: 1fr; gap: 46px; padding-bottom: 52px; }
  .mlc-hero-stage { max-width: 560px; margin: 0 auto; }
  .mlc-float-chip--a { right: 0; }
  .mlc-float-chip--b { left: -4px; }
  .mlc-agent-grid { grid-template-columns: 1fr; gap: 36px; }
  .mlc-case-grid { grid-template-columns: 1fr; gap: 40px; }
  .mlc-clock-grid { grid-template-columns: 1fr; }
  .mlc-exhibit-grid { grid-template-columns: 1fr; }
  .mlc-define-grid { grid-template-columns: 1fr; gap: 20px; }
  .mlc-eeat-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 26px; }
  .mlc-custom { padding: 28px 24px; }

  /* workflow spine collapses to a left rail */
  .mlc-spine-line { left: 27px; transform: none; }
  .mlc-sp-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 26px;
  }
  .mlc-sp-item:last-child { margin-bottom: 0; }
  .mlc-sp-node { grid-column: 1; grid-row: 1; align-self: start; justify-self: center; box-shadow: 0 0 0 6px var(--bg-main); }
  .mlc-sp-card { grid-column: 2; grid-row: 1; text-align: left; }
}

@media (max-width: 640px) {
  /* hide the hero case-file visual on phones; keep just the copy + ticker */
  .mlc-hero-stage { display: none; }
  .mlc-hero-grid { gap: 0; padding-bottom: 40px; }

  .mlc-trust-grid { grid-template-columns: 1fr; }
  .mlc-file-grid,
  .mlc-plat-grid,
  .mlc-reg-grid { grid-template-columns: 1fr; }
  .mlc-trust { padding: 26px 22px; }
  .mlc-tl-item { grid-template-columns: 1fr; gap: 10px; }
  .mlc-timeline::before { display: none; }
  .mlc-tl-day { width: 96px; }
  .mlc-ba-table th, .mlc-ba-table td { padding: 12px 14px; font-size: 0.86rem; }
  .mlc-hero-proof { flex-direction: column; gap: 8px; }
  .mlc-float-chip { display: none; }
  .mlc-conveyor { grid-template-columns: auto 1fr auto; padding: 16px 18px; gap: 14px; }
  .mlc-custom-grid { grid-template-columns: 1fr; }
}
