/* ==========================================================================
   NexovaVoice — Product / Solution page styles
   Loaded after styles.css; reuses its tokens, buttons, header, footer, form.
   ========================================================================== */

/* ==========================================================================
   Hero — title block + showcase video
   ========================================================================== */
.prod-hero { position: relative; padding: 148px 0 76px; overflow: clip; }

.prod-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.prod-mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(42% 50% at 22% 18%, rgba(47, 212, 198, 0.13), transparent 66%),
    radial-gradient(46% 54% at 80% 12%, rgba(14, 138, 143, 0.09), transparent 66%),
    radial-gradient(50% 56% at 50% 100%, rgba(12, 15, 18, 0.05), transparent 72%);
  animation: meshShift 22s ease-in-out infinite;
}
.prod-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.26; animation: orbFloat 16s ease-in-out infinite; }
.prod-orb-1 { width: 420px; height: 420px; top: -160px; right: -70px; background: radial-gradient(circle, rgba(47, 212, 198, 0.30), transparent 65%); }
.prod-orb-2 { width: 340px; height: 340px; bottom: -110px; left: -80px; background: radial-gradient(circle, rgba(14, 138, 143, 0.20), transparent 65%); animation-delay: -7s; }

.prod-hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.prod-title {
  font-size: clamp(40px, 6.4vw, 84px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.02; margin: 4px 0 18px; color: var(--ink);
}
.prod-caption { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 620px; }

.prod-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.prod-chips span {
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
  animation: chipFloat 6s ease-in-out infinite;
}
.prod-chips span:nth-child(2) { animation-delay: -1.4s; }
.prod-chips span:nth-child(3) { animation-delay: -2.8s; }

.prod-hero-media { position: relative; z-index: 1; margin-top: 56px; }
.prod-video-frame {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 7; /* matches the 1920x840 showcase exactly */
}
.prod-video-frame.is-16x9 { aspect-ratio: 16 / 9; }
.prod-video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ==========================================================================
   Pillars — four capability cards
   ========================================================================== */
.pillar-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pillar-4.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p4 {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.p4:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.p4-media {
  height: 168px; padding: 20px;
  display: grid; place-items: center; align-content: center;
  background: linear-gradient(160deg, #f8fbfb 0%, #eef7f8 100%);
  border-bottom: 1px solid var(--line);
}
.p4 h3 { font-size: 17px; padding: 22px 22px 0; }
.p4 > p { padding: 10px 22px 24px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.p4 .check-list { padding: 12px 22px 24px; }
.p4 .check-list li { font-size: 13.5px; }

/* 01 — keyword chips */
.p4-stack { display: grid; gap: 8px; justify-items: center; width: 100%; }
.p4-chip {
  font-size: 11.5px; font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px; box-shadow: var(--shadow-sm); white-space: nowrap;
}

/* 02 — resolution stat */
.p4-stat { display: grid; gap: 4px; justify-items: center; text-align: center; }
.p4-stat-label { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.p4-stat b { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.p4-stat-row { display: flex; gap: 6px; }
.p4-stat-row span { font-size: 10.5px; font-weight: 600; color: var(--ink-2); background: var(--soft-2); border-radius: 5px; padding: 2px 7px; }
.p4-stat em { font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* 03 — mini deploy steps */
.p4-steps { display: grid; gap: 9px; width: 100%; }
.p4-step {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; box-shadow: var(--shadow-sm);
}
.p4-step i {
  font-style: normal; font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  color: #fff; background: var(--ink); border-radius: 5px; padding: 2px 6px; flex-shrink: 0;
}

/* 04 — AI-ops loop */
.p4-loop { position: relative; width: 116px; height: 116px; display: grid; place-items: center; }
.p4-loop-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(12, 15, 18, 0.20);
  animation: aiopsSpin 14s linear infinite;
}
@keyframes aiopsSpin { to { transform: rotate(360deg); } }
.p4-loop-core {
  width: 74px; height: 74px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; align-content: center; justify-items: center;
  font-family: var(--display); font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center;
}
.p4-loop-tag {
  position: absolute; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.05em;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px;
  color: var(--ink); box-shadow: var(--shadow-sm); white-space: nowrap;
  animation: chipFloat 5.5s ease-in-out infinite;
}
.p4-loop-tag.t1 { top: -6px; left: -14px; animation-delay: -1s; }
.p4-loop-tag.t2 { bottom: -6px; right: -18px; animation-delay: -3s; }

/* 03 — elasticity gauge */
.elast { display: grid; gap: 9px; width: 100%; max-width: 208px; }
.elast-label { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.elast-track { height: 10px; border-radius: 999px; background: rgba(12, 15, 18, 0.08); overflow: hidden; }
.elast-fill { display: block; height: 100%; border-radius: 999px; background: var(--ink); transform-origin: left; animation: elastPulse 4s ease-in-out infinite; }
@keyframes elastPulse {
  0%, 100% { transform: scaleX(0.32); }
  45%      { transform: scaleX(1); }
  72%      { transform: scaleX(0.58); }
}
.elast-meta { font-size: 11.5px; font-weight: 600; color: var(--ink); }
.elast-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.elast-chips span { font-size: 10.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }

/* ==========================================================================
   Proof grid — six conversation guarantees
   ========================================================================== */
.prod-proof { background: var(--soft); }
.proof-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.proof-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 26px; background: #fff;
  transition: background 0.25s ease;
}
.proof-card:hover { background: var(--soft); }
.proof-label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
}
.proof-value {
  font-family: var(--display); font-size: 24px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.02em; color: var(--ink);
}
.proof-card p { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ==========================================================================
   Reliable results — three detail cards
   ========================================================================== */
.reliable-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.reliable-card {
  display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--radius-lg); border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.reliable-grid .reliable-card:nth-child(1) { background: #f5f8fb; }
.reliable-grid .reliable-card:nth-child(2) { background: #f4f8f6; }
.reliable-grid .reliable-card:nth-child(3) { background: #faf7f3; }
.reliable-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.reliable-kicker {
  align-self: flex-start;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--soft-2); color: var(--ink-2);
}
.reliable-card:nth-child(1) .reliable-kicker { background: #e6eef6; color: #3a6382; }
.reliable-card:nth-child(2) .reliable-kicker { background: #e4f1ec; color: #2f6b57; }
.reliable-card:nth-child(3) .reliable-kicker { background: #f6ecdf; color: #8a6234; }
.reliable-card h3 { font-size: 21px; margin: 14px 0 18px; line-height: 1.28; }
.reliable-card h3 b { font-weight: 700; }
.reliable-card .check-list li { font-size: 14px; }

/* ==========================================================================
   Fast to deploy — two steps
   ========================================================================== */
.prod-flow { background: var(--soft); }
.flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.flow-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.flow-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.flow-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flow-card:hover::before { transform: scaleX(1); }
.flow-when {
  display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
  background: var(--soft-2); border-radius: 999px; padding: 5px 13px; margin-bottom: 18px;
}
.flow-card h3 { font-size: 25px; margin-bottom: 12px; }
.flow-card p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   AI-Ops readiness — orbit visual + copy
   ========================================================================== */
.readiness-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.readiness-viz { display: grid; place-items: center; }

/* --- Photo panel carrying the four-step operating loop --- */
.aiops-panel {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; max-width: 468px; aspect-ratio: 1 / 1.06;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.aiops-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 86% 50%;
  filter: blur(2px) saturate(0.85) contrast(1.03);
  transform: scale(1.07);
}
.aiops-veil {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.42) 40%,
    rgba(255, 255, 255, 0.54) 72%,
    rgba(255, 255, 255, 0.84) 100%
  );
}

.aiops-stage {
  position: absolute; left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 26px), 372px); aspect-ratio: 1;
}
.aiops-cycle { position: absolute; inset: 0; width: 100%; height: 100%; }
.aiops-runner { filter: drop-shadow(0 3px 8px rgba(12, 15, 18, 0.30)); }

.aiops-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; display: grid; justify-items: center;
  font-family: var(--display); font-size: 16px; font-weight: 600; line-height: 1.15;
  color: var(--ink-2); text-align: center;
}
/* soft halo keeps the centre label legible over the photo */
.aiops-hub::before {
  content: ""; position: absolute; inset: -30px -38px; z-index: -1; border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.72) 48%,
    rgba(255, 255, 255, 0) 76%);
}
.aiops-hub small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); }

.aiops-node {
  position: absolute; transform: translate(-50%, -50%);
  display: grid; justify-items: center; align-content: center; gap: 3px;
  width: 70px; height: 70px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 8px 22px rgba(12, 15, 18, 0.14), 0 0 0 1px rgba(12, 15, 18, 0.05);
  font-size: 10.5px; font-weight: 600; color: var(--ink);
  animation: nodePulse 8s ease-in-out infinite;
}
.aiops-node i { display: grid; place-items: center; color: var(--ink-2); }
.aiops-node svg { width: 19px; height: 19px; }
.nd-monitor { left: 50%;   top: 18.5%; animation-delay: 0s; }
.nd-detect  { left: 81.5%; top: 50%;   animation-delay: 2s; }
.nd-improve { left: 50%;   top: 81.5%; animation-delay: 4s; }
.nd-verify  { left: 18.5%; top: 50%;   animation-delay: 6s; }
@keyframes nodePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 8px 22px rgba(12, 15, 18, 0.14), 0 0 0 1px rgba(12, 15, 18, 0.05); }
  6%       { transform: translate(-50%, -50%) scale(1.10); box-shadow: 0 14px 30px rgba(12, 15, 18, 0.24), 0 0 0 7px rgba(12, 15, 18, 0.06); }
  16%      { transform: translate(-50%, -50%) scale(1); box-shadow: 0 8px 22px rgba(12, 15, 18, 0.14), 0 0 0 1px rgba(12, 15, 18, 0.05); }
}

.aiops-bar, .media-stat-bar {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(12, 15, 18, 0.15);
}
.aiops-bar-item, .stat-bar-item { display: grid; gap: 2px; padding: 12px 15px; border-right: 1px solid var(--line); }
.aiops-bar-item:last-child, .stat-bar-item:last-child { border-right: none; }
.aiops-bar-item span, .stat-bar-item span { font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted-2); }
.aiops-bar-item b, .stat-bar-item b { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* --- Copy column --- */
.readiness-copy h2 { font-size: clamp(27px, 3.2vw, 40px); margin-bottom: 16px; }
.readiness-copy > .reveal > p { color: var(--muted); font-size: 16.5px; max-width: 560px; }
.readiness-items { display: grid; gap: 12px; margin-top: 34px; }
.readiness-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: 16px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.readiness-item:nth-child(1) { background: #f7fafc; }
.readiness-item:nth-child(2) { background: #f6faf8; }
.readiness-item:nth-child(3) { background: #fbf8f4; }
.readiness-item:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); border-color: var(--line); }
.ri-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.ri-icon svg { width: 20px; height: 20px; }
.ri-icon.tint-cool { background: #e6eef6; color: #3a6382; }
.ri-icon.tint-sage { background: #e4f1ec; color: #2f6b57; }
.ri-icon.tint-sand { background: #f6ead9; color: #8a6234; }
.readiness-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.readiness-item p { color: var(--muted); font-size: 14.5px; max-width: 520px; }

/* ==========================================================================
   Loop proof — two keyword cards
   ========================================================================== */
.prod-ideas { background: var(--soft); }
.ideas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.idea-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.idea-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.idea-kicker {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2);
  background: var(--soft-2); border-radius: 999px; padding: 5px 12px;
}
.idea-card h3 { font-size: 23px; margin: 16px 0 12px; line-height: 1.3; }
.idea-card p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   In action — light cards (video intentionally omitted)
   ========================================================================== */
.prod-action { background: #fff; }
.act-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.act-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 34px; border-radius: var(--radius-lg); border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.act-debt { background: #f2f6fb; }
.act-cool { background: #f2f6fb; }
.act-sand { background: #faf7f2; }
.act-activation { background: #fdf6ef; }
.act-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.act-kicker {
  align-self: flex-start;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.act-debt .act-kicker { background: #dfeaf7; color: #37628a; }
.act-cool .act-kicker { background: #e2ecf7; color: #37628a; }
.act-sand .act-kicker { background: #f2e9dc; color: #8a6234; }
.act-activation .act-kicker { background: #f7e6d5; color: #9a5b2c; }
.act-card h3 { font-size: 22px; line-height: 1.3; }
.act-card p { color: var(--muted); font-size: 15px; }
.act-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.act-flow span {
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: #fff; border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow-sm);
}
.act-flow i { font-style: normal; font-size: 13px; color: var(--muted-2); }


/* ==========================================================================
   Quality Management page
   ========================================================================== */

/* --- Hero stage: soft gradient backdrop + line-by-line QA review card --- */
.qm-stage, .le-stage {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  min-height: 620px; padding: 56px 24px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    radial-gradient(58% 80% at 3% 0%, rgba(64, 156, 178, 0.50), transparent 60%),
    radial-gradient(54% 76% at 100% 100%, rgba(230, 162, 116, 0.52), transparent 60%),
    linear-gradient(135deg, #eaf1f6 0%, #faf6f1 100%);
}
.qm-card, .le-card {
  width: min(430px, 100%);
  display: grid; gap: 14px;
  background: #fff; border-radius: 20px; padding: 26px;
  box-shadow: 0 26px 60px rgba(20, 40, 60, 0.16);
}
.qm-step {
  display: grid; gap: 6px;
  padding: 14px 16px; border-radius: 13px;
  border: 1px solid var(--line); background: #fff;
}
.qm-s2, .qm-s3, .qm-s4 { background: #f8fbfd; }
.qm-meta { font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.qm-line { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.qm-tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2); }
.qm-tag i { font-style: normal; color: var(--muted-2); }
.qm-tag.is-cool { color: var(--brand-deep); }
.qm-tag.is-cool i { color: var(--brand); }
.qm-score-row { display: flex; align-items: center; gap: 16px; }
.qm-score { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.qm-score small { font-size: 12px; font-weight: 500; color: var(--muted); }
.qm-bar { flex: 1; height: 7px; border-radius: 999px; background: #e6edf2; overflow: hidden; }
.qm-bar i { display: block; width: 72%; height: 100%; border-radius: 999px; background: #d98a3c; transform: scaleX(0); transform-origin: left; }
[data-loop].play .qm-bar i { animation: qmBarFill 1.1s var(--ease) 0.5s both; }
@keyframes qmBarFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.qm-checks { font-size: 11.5px; color: var(--ink-2); }
.qm-fail { font-size: 11.5px; font-weight: 600; color: #b4691f; }
.qm-sub { font-size: 11.5px; color: var(--muted); }
.qm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.qm-pill { font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 8px; }
.qm-pill.is-green { background: #e8f5ee; color: #1a7d54; }
.qm-pill.is-blue { background: #eaf0f7; color: #3a6382; }
.qm-pill.is-teal { background: #e8f2f1; color: #2c6b70; }

/* --- Pillar mini visuals --- */
.qm-mini-label { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.qm-mini-value { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; color: var(--ink); }
.qm-mini-chip { font-size: 10.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.qm-mini-chip b { font-family: var(--mono); color: var(--ink); }

.qm-scorecard { display: grid; gap: 7px; justify-items: center; text-align: center; }
.qm-pass-row { display: flex; gap: 6px; }
.qm-pass-row span { font-size: 10.5px; font-weight: 600; color: #1a7d54; background: #e8f5ee; border-radius: 5px; padding: 2px 8px; }

.qm-tagviz { display: grid; gap: 8px; justify-items: center; }
.qm-tagchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 186px; }
.qm-tagchips span { font-size: 10px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

.qm-compliance { display: grid; gap: 6px; width: 100%; max-width: 202px; }
.qm-c-row {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
}
.qm-c-row i { font-style: normal; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; flex-shrink: 0; }
.qm-c-row.is-ok i { background: #e8f5ee; color: #1a7d54; }
.qm-c-row.is-warn i { background: #fdf0e2; color: #b4691f; }
.qm-c-row em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600; }
.qm-c-row.is-ok em { color: #1a7d54; }
.qm-c-row.is-warn em { color: #b4691f; }

/* --- Import to same-day QA action --- */
.prod-import { background: var(--soft); }
.import-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.import-panel {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.import-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 42%; }
.import-copy h2 { font-size: clamp(27px, 3.2vw, 40px); margin-bottom: 16px; }
.import-copy > .reveal > p { color: var(--muted); font-size: 16.5px; max-width: 560px; }


/* ==========================================================================
   Language Engine page
   ========================================================================== */

/* --- Hero card: STT → LLM → TTS loop, revealed line by line --- */
.le-card { gap: 12px; }
.le-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.le-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.le-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: #1a7d54;
  background: #e8f5ee; border-radius: 999px; padding: 4px 11px;
}
.le-live i { width: 7px; height: 7px; border-radius: 50%; background: #1a9a6b; animation: liveBlink 1.8s ease infinite; }
@keyframes liveBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.le-step {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px;
  padding: 14px 15px; border-radius: 13px;
  border: 1px solid var(--line); background: #fff;
}
.le-step.is-stt, .le-step.is-llm { background: #f8fbfd; }
.le-step.is-tts { background: #fdf9f5; }
.le-badge {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
}
.is-stt .le-badge { background: #e3eef6; color: #37628a; }
.is-llm .le-badge { background: #eceff2; color: #2b3036; }
.is-tts .le-badge { background: #fbe8d7; color: #b4691f; }

.le-body { display: grid; gap: 5px; justify-items: start; min-width: 0; }
.le-kicker {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted-2);
}
.le-quote { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.le-chip { font-family: var(--mono); font-size: 10px; border-radius: 5px; padding: 3px 8px; }
.le-chip.is-cool { background: #eaf1f7; color: #37628a; }
.le-chip.is-warm { background: #fbe9d8; color: #b4691f; }

.le-wave { display: inline-flex; align-items: center; gap: 2px; height: 9px; margin-left: 6px; }
.le-wave i { width: 1.5px; border-radius: 1px; background: var(--muted-2); animation: leWave 1s ease-in-out infinite; }
.le-wave i:nth-child(1) { height: 45%; animation-delay: -0.10s; }
.le-wave i:nth-child(2) { height: 80%; animation-delay: -0.25s; }
.le-wave i:nth-child(3) { height: 100%; animation-delay: -0.40s; }
.le-wave i:nth-child(4) { height: 70%; animation-delay: -0.55s; }
.le-wave i:nth-child(5) { height: 40%; animation-delay: -0.70s; }
.le-wave.is-warm i { background: #d98a3c; }
@keyframes leWave { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }

.le-think {
  display: inline-flex; align-items: center; gap: 3px; margin-left: 6px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--muted-2);
}
.le-think em { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); animation: typeBounce 1.4s ease infinite; }
.le-think em:nth-child(2) { animation-delay: 0.15s; }
.le-think em:nth-child(3) { animation-delay: 0.30s; }

.le-pills { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.le-pill { font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 8px; }
.le-pill.is-green { background: #e8f5ee; color: #1a7d54; }
.le-pill.is-cool { background: #eaf0f7; color: #3a6382; }
.le-pill.is-warm { background: #fbe9d8; color: #b4691f; }

/* --- Pillar mini visuals --- */
.le-langs { display: grid; gap: 7px; width: 100%; max-width: 212px; }
.le-lang {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 11.5px; font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 6px 11px;
}
.le-lang em {
  font-style: normal; font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-2);
}
.le-lang.is-active { border-color: rgba(12, 15, 18, 0.24); }
.le-lang.is-active em { color: #1a7d54; }
.le-quality { display: grid; gap: 9px; width: 100%; max-width: 212px; justify-items: center; }

/* --- WER benchmark table --- */
.prod-benchmark { background: var(--soft); }
.wer-wrap {
  overflow-x: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.wer-table { width: 100%; min-width: 880px; border-collapse: collapse; }
.wer-table th, .wer-table td { text-align: left; vertical-align: middle; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.wer-table thead th {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  background: var(--soft); white-space: nowrap;
}
.wer-table thead th small {
  display: block; margin-top: 6px; max-width: 230px; white-space: normal;
  font-family: var(--sans); font-size: 10.5px; font-weight: 400;
  letter-spacing: 0; text-transform: none; line-height: 1.45; color: var(--muted-2);
}
.wer-table tbody tr:hover { background: #fbfcfd; }
.wer-table tbody tr:last-child th, .wer-table tbody tr:last-child td { border-bottom: none; }
.wer-table tbody th { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.wer-table tbody th img {
  display: inline-block; vertical-align: -3px; width: 24px; height: 17px;
  border-radius: 3px; object-fit: cover; margin-right: 10px;
  box-shadow: 0 0 0 1px rgba(12, 15, 18, 0.08);
}
.wer-table td.wer-ours, .wer-table td.wer-theirs { width: 158px; }
.wer-ours b { display: block; margin-bottom: 7px; font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); }
.wer-theirs span { display: block; margin-bottom: 7px; font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--muted-2); }
.wer-bar { position: relative; display: block; height: 5px; border-radius: 999px; background: rgba(12, 15, 18, 0.08); overflow: hidden; }
.wer-bar::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 50%);
  border-radius: 999px; background: var(--ink); transform-origin: left;
}
.wer-wrap.is-visible .wer-bar::after { animation: werBar 1.1s var(--ease) both; }
.wer-theirs .wer-bar::after { background: #b6bec6; }
@keyframes werBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wer-src { font-size: 13px; line-height: 1.5; color: var(--muted); }
.wer-notes { display: grid; gap: 6px; margin-top: 18px; }
.wer-notes p { font-size: 12px; line-height: 1.55; color: var(--muted-2); }

/* --- PROOF: two grouped spec sheets --- */
.proof-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.proof-group h3 { font-size: 18px; margin-bottom: 16px; }
.proof-sheet {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.proof-cell { display: grid; gap: 6px; padding: 22px 24px; background: #fff; transition: background 0.25s ease; }
.proof-cell:hover { background: var(--soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .pillar-4, .pillar-4.is-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .import-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .import-viz { order: 2; }
  .import-copy { order: 1; }
  .proof-grid, .proof-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-grid { grid-template-columns: minmax(0, 1fr); }
  .readiness-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .readiness-viz { order: 2; }
  .readiness-copy { order: 1; }
}

@media (max-width: 860px) {
  .prod-hero { padding: 126px 0 60px; }
  .proof-split { grid-template-columns: minmax(0, 1fr); }
  .prod-hero-media { margin-top: 42px; }
  .reliable-grid { grid-template-columns: minmax(0, 1fr); }
  .ideas-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .pillar-4, .pillar-4.is-three { grid-template-columns: minmax(0, 1fr); }
  .qm-stage, .le-stage { min-height: 0; padding: 30px 16px; }
  .qm-card, .le-card { padding: 20px; gap: 12px; }
  .qm-score-row { flex-wrap: wrap; gap: 10px; }
  .qm-bar { flex-basis: 100%; }
  .proof-grid, .proof-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .flow-grid { grid-template-columns: minmax(0, 1fr); }
  .p4-media { height: 150px; }
  .proof-card, .reliable-card, .flow-card, .idea-card { padding: 24px; }
  .aiops-panel { max-width: 100%; }
  .aiops-node { width: 60px; height: 60px; font-size: 9.5px; }
  .aiops-node svg { width: 17px; height: 17px; }
  .aiops-bar-item { padding: 10px 11px; }
  .aiops-bar-item b { font-size: 12.5px; }
}
