.halo-nav__context {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.75;
}

.verified-trust-page .hidden {
  display: none;
}

/* --- Before / After transformation cards --- */

.vt-transform-card {
  text-align: center;
}

.vt-transform-card__stat {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-2);
}

.vt-transform-card__highlight--before {
  color: var(--color-danger);
}

.vt-transform-card__highlight--after {
  color: var(--color-green-500);
}

/* --- Comparison rows (Manual vs Halo) --- */

.vt-compare-row {
  margin-bottom: var(--space-6);
}

.vt-compare-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.vt-compare-card--manual .vt-compare-list li::before {
  content: "✕ ";
  color: var(--color-danger);
  font-weight: var(--font-bold);
}

.vt-compare-card--halo .vt-compare-list li::before {
  content: "✓ ";
  color: var(--color-green-500);
  font-weight: var(--font-bold);
}

.vt-example-label {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
}

/* --- Speed comparison --- */

.vt-speed-card {
  text-align: center;
}

.vt-speed-card__value {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}

.vt-speed-card__value--slow {
  color: var(--color-gray-500);
}

.vt-speed-card__value--fast {
  color: var(--accent-primary);
}

.vt-speed-bar {
  height: 8px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.vt-speed-bar--slow {
  background: var(--color-gray-300);
  width: 100%;
}

.vt-speed-bar--fast {
  background: var(--color-green-500);
  width: 6%;
}

/* --- Action card in modal --- */

.vt-action-card {
  border-left: 4px solid var(--color-green-500);
}

.vt-action-card__text {
  color: var(--text-primary);
  font-weight: var(--font-medium);
  line-height: var(--leading-relaxed);
}

/* --- ESG bar --- */

.vt-esg-bar-track {
  height: 8px;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
  overflow: hidden;
}

.vt-esg-bar-fill {
  height: 100%;
  background: var(--color-green-500);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* --- Sentiment chips --- */

.vt-sentiment-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.vt-sentiment-chip {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
}

.vt-sentiment-chip--positive {
  background: var(--color-green-100);
  color: #166534;
}

.vt-sentiment-chip--neutral {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

.vt-sentiment-chip--negative {
  background: #FEE2E2;
  color: #991B1B;
}

/* --- Risk factor ratings --- */

.vt-risk-factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.vt-risk-factor {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.vt-risk-factor__name {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.vt-risk-factor__grade {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

.vt-risk-factor__bar {
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--color-gray-200);
  overflow: hidden;
}

.vt-risk-factor__bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.verified-trust-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.verified-trust-panel {
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.verified-trust-input-grid {
  margin-bottom: var(--space-2);
}

.verified-trust-example-note {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.verified-trust-metrics {
  background: var(--bg-subtle);
}

.verified-trust-status {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.verified-trust-status--error {
  color: var(--color-danger);
}

.verified-trust-status--ok {
  color: var(--color-success);
}

.verified-trust-status-link {
  text-decoration: underline;
}

.verified-trust-disclaimer {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.halo-cta-section {
  background: var(--color-navy-900);
  color: var(--text-on-dark);
}

.halo-cta-section__inner {
  text-align: center;
}

.halo-cta-section__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-teal-400);
  margin-bottom: var(--space-4);
}

.halo-cta-section__title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
}

.halo-cta-section__body {
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}

.verified-trust-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(3, 30, 39, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.verified-trust-modal__panel {
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: auto;
  background: var(--bg-page);
  border-radius: var(--radius-xl);
  border: var(--border-width) solid var(--border-default);
  box-shadow: var(--shadow-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.verified-trust-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.verified-trust-modal__title {
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}

.verified-trust-modal__subtitle {
  color: var(--text-secondary);
  margin-top: var(--space-2);
  line-height: var(--leading-relaxed);
}

.verified-trust-modal__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.verified-trust-score {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--accent-primary);
}

.verified-trust-grade {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.verified-trust-findings {
  margin-left: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--text-secondary);
}

.halo-footer__privacy {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
}

@media (max-width: 840px) {
  .verified-trust-modal__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .verified-trust-modal__metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .verified-trust-actions {
    flex-direction: column;
  }

  .verified-trust-actions .btn,
  #roiBtn {
    width: 100%;
  }

  .halo-output__actions {
    flex-wrap: wrap;
  }
}
