/* TOBI quality patch: verified-materials and shell consistency */
.tobi-evidence-panel {
  position: relative;
  display: flex;
  min-height: 184px;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .38);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 91, 46, .13), transparent 34%),
    linear-gradient(145deg, #09192f 0%, #102d50 58%, #0a1f39 100%);
  color: #f8fafc;
  box-shadow: 0 18px 50px rgba(2, 12, 27, .18);
  text-align: left;
}
.tobi-evidence-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}
.tobi-evidence-panel > * { position: relative; z-index: 1; }
.tobi-evidence-panel__eyebrow {
  color: #ffad94;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tobi-evidence-panel strong { max-width: 24ch; font-size: clamp(20px, 3vw, 30px); line-height: 1.22; }
.tobi-evidence-panel p { max-width: 58ch; margin: 0; color: rgba(241, 245, 249, .88); font-size: 14px; line-height: 1.75; }
.tobi-evidence-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 10px 16px;
  background: #ff5b2e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.tobi-evidence-panel a:hover, .tobi-evidence-panel a:focus-visible { background: #d94e28; outline: 3px solid rgba(255, 173, 148, .6); outline-offset: 3px; }
.hero-product .tobi-evidence-panel, .product-image-glow .tobi-evidence-panel { min-height: min(55vh, 460px); }
@media (max-width: 720px) {
  .tobi-evidence-panel { min-height: 196px; border-radius: 14px; padding: 24px; }
  .hero-product .tobi-evidence-panel, .product-image-glow .tobi-evidence-panel { min-height: 260px; }
}

.tobi-product-fact-note {
  margin: 16px 0 0;
  border-left: 3px solid #ff5b2e;
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  background: #fff1ec;
  color: #7c2d12;
  font-size: 14px;
  line-height: 1.65;
}

/* ---- Dark / light surface adaptation for fact notes ----
   .tobi-fact-guard is injected by the shell and defaults to a peach
   light card. Inside .dark-section / hero that becomes unreadable /
   visually broken. Force a navy glass card + light type. */
body[data-tobi-shell] .dark-section .tobi-fact-guard,
body[data-tobi-shell] .tobi-gradient-hero .tobi-fact-guard,
body[data-tobi-shell] .dark .tobi-fact-guard,
.dark-section .tobi-fact-guard,
.tobi-gradient-hero .tobi-fact-guard,
.dark .tobi-fact-guard,
.dark-section .tobi-product-fact-note,
.tobi-gradient-hero .tobi-product-fact-note,
.dark .tobi-product-fact-note {
  margin: 0 !important;
  max-width: none !important;
  width: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  padding: clamp(18px, 3vw, 28px) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  border-left: 4px solid #ff5b2e !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 91, 46, 0.16), transparent 40%),
    linear-gradient(145deg, #09192f 0%, #123256 55%, #0a1f39 100%) !important;
  color: #e8eef8 !important;
  box-shadow: 0 16px 40px rgba(2, 12, 27, 0.28);
  font-weight: 500 !important;
  line-height: 1.7 !important;
}

body[data-tobi-shell] .bg-white .tobi-fact-guard,
body[data-tobi-shell] .bg-tobi-muted .tobi-fact-guard,
.bg-white .tobi-fact-guard,
section.bg-white .tobi-fact-guard {
  background: #fff7f3 !important;
  color: #27364b !important;
  border-color: #f0b9a6 #f0b9a6 #f0b9a6 #c94a26 !important;
  box-shadow: none;
  min-height: 0;
}

/* Dark-section feature cards: clearer lift against navy */
.dark-section [style*="--tobi-white-05"],
.dark-section .rounded-2xl[style*="background: var(--tobi-white-05)"] {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}
.dark-section .text-white\/60,
.dark-section .text-white\/70 {
  color: rgba(233, 238, 246, 0.82) !important;
}

.product-card__visual-empty {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,91,46,.22), transparent 35%),
    linear-gradient(145deg, #071a31, #102e50);
  color: #fff;
}
.product-card__visual-empty b { font-size: clamp(28px, 4vw, 46px); letter-spacing: -.04em; }
.product-card__visual-empty span { max-width: 22ch; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.45; }

/* ---- E8 mocap: numbered steps + node diagram ---- */
#mocap .tobi-mocap-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
#mocap .tobi-mocap-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, #ff5b2e 0%, rgba(255, 91, 46, 0.12) 100%);
  border-radius: 2px;
}
#mocap .tobi-mocap-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px 18px;
  align-items: start;
  padding: 14px 0 18px;
  position: relative;
}
#mocap .tobi-mocap-step__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, #ff6a3d 0%, #e8461c 100%);
  box-shadow: 0 10px 24px rgba(232, 70, 28, 0.28);
  position: relative;
  z-index: 1;
}
#mocap .tobi-mocap-step__body {
  min-width: 0;
  padding: 10px 16px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border: 1px solid rgba(15, 36, 64, 0.08);
}
#mocap .tobi-mocap-step__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0f2440;
}
#mocap .tobi-mocap-step__desc {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #5b6b80;
}
@media (max-width: 640px) {
  #mocap .tobi-mocap-steps::before { left: 19px; }
  #mocap .tobi-mocap-step { grid-template-columns: 40px 1fr; gap: 12px; }
  #mocap .tobi-mocap-step__num { width: 40px; height: 40px; border-radius: 12px; font-size: 12px; }
  #mocap .tobi-mocap-step__body { padding: 10px 12px; }
}

#mocap .tobi-mocap-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 91, 46, 0.28), transparent 36%),
    radial-gradient(circle at 18% 82%, rgba(56, 132, 255, 0.18), transparent 42%),
    linear-gradient(155deg, #071627 0%, #123256 52%, #0a1f39 100%);
  color: #f8fafc;
  box-shadow: 0 22px 48px rgba(7, 22, 39, 0.22);
}
#mocap .tobi-mocap-diagram__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#mocap .tobi-mocap-diagram__body {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(58%, 220px);
  height: min(68%, 260px);
  transform: translate(-50%, -50%);
  border-radius: 999px 999px 42% 42%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
}
#mocap .tobi-mocap-diagram__node {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 91, 46, 0.92);
  box-shadow: 0 0 0 6px rgba(255, 91, 46, 0.18), 0 8px 20px rgba(0,0,0,0.25);
}
#mocap .tobi-mocap-diagram__node--shoulder { left: 50%; top: 8%; transform: translateX(-50%); }
#mocap .tobi-mocap-diagram__node--elbow { left: -8%; top: 38%; }
#mocap .tobi-mocap-diagram__node--wrist { right: -8%; top: 38%; }
#mocap .tobi-mocap-diagram__node--waist { left: 50%; bottom: 6%; transform: translateX(-50%); background: #2f7cf6; box-shadow: 0 0 0 6px rgba(47,124,246,0.2), 0 8px 20px rgba(0,0,0,0.25); }
#mocap .tobi-mocap-diagram__copy {
  position: relative;
  z-index: 1;
  max-width: 28ch;
}
#mocap .tobi-mocap-diagram__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #ffad94;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
#mocap .tobi-mocap-diagram__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
#mocap .tobi-mocap-diagram__text {
  margin: 10px 0 0;
  color: rgba(241, 245, 249, 0.84);
  font-size: 14px;
  line-height: 1.65;
}
#mocap .tobi-mocap-diagram__cta {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  width: fit-content;
  border-radius: 999px;
  padding: 10px 16px;
  background: #ff5b2e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
#mocap .tobi-mocap-diagram__cta:hover { background: #d94e28; }

#mocap .tobi-mocap-pipeline-note {
  border-radius: 18px;
  padding: clamp(22px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(255,91,46,0.08), transparent 40%),
    #f4f7fb;
  border: 1px solid rgba(15, 36, 64, 0.08);
}
#mocap .tobi-mocap-pipeline-note__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #c94a26;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#mocap .tobi-mocap-pipeline-note strong {
  display: block;
  font-size: 1.25rem;
  color: #0f2440;
  line-height: 1.35;
}
#mocap .tobi-mocap-pipeline-note p {
  margin: 10px 0 0;
  color: #5b6b80;
  font-size: 14px;
  line-height: 1.7;
}

/* Compact evidence panels if still injected inside mocap */
#mocap .image-frame .tobi-evidence-panel,
#mocap .tobi-evidence-panel--from-image {
  min-height: 280px;
  height: 100%;
  border-radius: 20px;
}
