/**
 * Zettai TrustOps — Unified Light Component Primitives (Slice S0)
 * Replaces fragmented, dark-bleeding rules with strict, high-contrast light components.
 */

/* ==========================================================================
   1. BUTTON PRIMITIVES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--to-radius-md, 8px);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  box-sizing: border-box;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25), 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary Brand Button (Visible, vibrant trust blue) */
.btn-p,
.btn-primary {
  background: var(--to-brand-primary, #0284c7);
  color: #ffffff !important;
  border-color: var(--to-brand-primary, #0284c7);
  box-shadow: 0 1px 2px rgba(2, 132, 199, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-p:hover,
.btn-primary:hover {
  background: var(--to-brand-primary-hover, #0369a1);
  border-color: var(--to-brand-primary-hover, #0369a1);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px -1px rgba(2, 132, 199, 0.3);
}

.btn-p:active,
.btn-primary:active {
  transform: translateY(0);
}

/* Secondary / Outline Button (Defensible high-contrast: text ≥ 12:1, solid visible border) */
.btn-o,
.btn-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn-o:hover,
.btn-secondary:hover {
  background: #f8fafc !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px -1px rgba(15, 23, 42, 0.08);
}

.btn-o:active,
.btn-secondary:active {
  transform: translateY(0);
}

/* Button Sizes */
.btn-sm {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: 10px;
}

/* ==========================================================================
   2. GLOBAL MARKETING NAVIGATION (#hdr.mkt-hdr)
   ========================================================================== */

#hdr.mkt-hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

#hdr.mkt-hdr.is-scrolled,
#hdr.mkt-hdr.stuck {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

#hdr.mkt-hdr .wrap.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Logo */
#hdr.mkt-hdr .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
}

#hdr.mkt-hdr .logo img {
  width: 28px;
  height: 28px;
  display: block;
}

#hdr.mkt-hdr .logo b {
  color: #0284c7;
  font-weight: 800;
}

/* Navigation Links — Mathematically forced to single baseline */
#hdr.mkt-hdr nav.main {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

#hdr.mkt-hdr nav.main > a,
#hdr.mkt-hdr .mkt-mega-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 12px;
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 38px;
  color: #334155 !important;
  text-decoration: none;
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  box-sizing: border-box;
  vertical-align: middle;
  transition: color 150ms ease, background-color 150ms ease;
}

#hdr.mkt-hdr nav.main > a:hover,
#hdr.mkt-hdr .mkt-mega-btn:hover {
  color: #0284c7 !important;
  background: #f1f5f9;
}

#hdr.mkt-hdr .mkt-mega {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#hdr.mkt-hdr .mkt-mega-btn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 150ms ease;
  vertical-align: 1px;
}

#hdr.mkt-hdr .mkt-mega-btn[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  vertical-align: -2px;
}

/* Solutions Mega Menu Dropdown Panel */
.mkt-mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 4px;
  z-index: 101;
}

.mkt-mega-panel[hidden] {
  display: none !important;
}

.mkt-mega-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #0f172a;
  transition: background-color 120ms ease;
}

.mkt-mega-panel a:hover {
  background: #f8fafc;
}

.mkt-mega-panel a strong {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}

.mkt-mega-panel a span {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* Nav Actions (Sign In & Start Free Trial) */
#hdr.mkt-hdr .acts {
  display: flex;
  align-items: center;
  gap: 12px;
}

#hdr.mkt-hdr .acts .signin {
  font-size: 14px;
  font-weight: 600;
  color: #334155 !important;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 150ms ease, background-color 150ms ease;
}

#hdr.mkt-hdr .acts .signin:hover {
  color: #0284c7 !important;
  background: #f1f5f9;
}

/* Mobile Hamburger Button */
#hdr.mkt-hdr .burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  color: #0f172a;
}

#hdr.mkt-hdr .burger svg {
  width: 20px;
  height: 20px;
  stroke: #0f172a;
  stroke-width: 1.75;
}

@media (max-width: 900px) {
  #hdr.mkt-hdr nav.main,
  #hdr.mkt-hdr .acts .signin {
    display: none;
  }
  #hdr.mkt-hdr .burger {
    display: flex;
  }
}

/* ==========================================================================
   3. GLOBAL MARKETING FOOTER (.ft.mkt-ft)
   ========================================================================== */

.ft.mkt-ft {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 72px 0 36px;
  color: #475569;
  font-size: 14px;
}

.ft.mkt-ft .mkt-ft-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(5, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.ft.mkt-ft .mkt-ft-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

/* Tagline in Brand Column */
.ft.mkt-ft .mkt-ft-tag {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  max-width: 260px;
}

/* Top-Aligned Column Headers */
.ft.mkt-ft .mkt-ft-grid h2 {
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  line-height: 1;
  height: 14px;
}

/* Footer Navigation Links */
.ft.mkt-ft .mkt-ft-grid nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ft.mkt-ft .mkt-ft-grid nav a {
  color: #475569;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.3;
  transition: color 150ms ease;
}

.ft.mkt-ft .mkt-ft-grid nav a:hover {
  color: #0284c7;
}

/* Footer Bottom Bar */
.ft.mkt-ft .mkt-ft-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #64748b;
  box-sizing: border-box;
}

.ft.mkt-ft .mkt-ft-bottom p {
  margin: 0;
}

@media (max-width: 1024px) {
  .ft.mkt-ft .mkt-ft-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 24px;
  }
}

@media (max-width: 640px) {
  .ft.mkt-ft .mkt-ft-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ft.mkt-ft .mkt-ft-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   4. ACCESSIBLE LIGHT FAQ ACCORDION (100% Light)
   ========================================================================== */

.mkt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

details.cmp,
details.mkt-faq {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

details.cmp[open],
details.mkt-faq[open] {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

details.cmp summary,
details.mkt-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a !important;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #ffffff !important;
}

details.cmp summary::-webkit-details-marker,
details.mkt-faq summary::-webkit-details-marker {
  display: none;
}

details.cmp summary::after,
details.mkt-faq summary::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 16px;
  flex-shrink: 0;
}

details.cmp[open] summary::after,
details.mkt-faq[open] summary::after {
  transform: rotate(-135deg);
  border-color: #0284c7;
}

details.cmp p,
details.mkt-faq p {
  margin: 0;
  padding: 0 22px 20px 22px;
  font-size: 14px;
  line-height: 1.65;
  color: #475569 !important;
  background: #ffffff !important;
}

/* ==========================================================================
   5. CARDS & HERO CTA ROW
   ========================================================================== */

.mkt-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.mkt-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.mkt-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   6. HERO LIVE COCKPIT PREVIEW (Slice S1 — Rule A2, A3, A4)
   ========================================================================== */

.hero-cockpit-window {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-cockpit-window:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -15px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.cockpit-win-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.win-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.win-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.cockpit-tenant-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--to-font-mono, monospace);
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.cockpit-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cockpit-win-body {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  background: #ffffff;
}

.cockpit-gauge-col {
  display: flex;
  flex-direction: column;
}

.gauge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 12px;
  height: 100%;
  box-sizing: border-box;
}

.readiness-ring {
  transform: rotate(-90deg);
  display: block;
}

.readiness-ring text {
  transform: rotate(90deg);
  transform-origin: 50px 50px;
}

.ring-bg {
  stroke: #e2e8f0;
}

.ring-fg {
  stroke: #0284c7;
  transition: stroke-dashoffset 0.8s ease;
}

.ring-value {
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  fill: #0f172a;
}

.ring-sub {
  font-family: inherit;
  font-size: 7.5px;
  font-weight: 700;
  fill: #64748b;
  letter-spacing: 0.08em;
}

.gauge-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.g-stat {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.g-stat b {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.g-stat span {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cockpit-stream-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cockpit-row-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.cockpit-row-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.c-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge-control {
  font-family: var(--to-font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-ev {
  font-family: var(--to-font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-dsr {
  font-family: var(--to-font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: #7c3aed;
  background: #f5f3ff;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.c-row-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  flex: 1;
}

.c-row-title.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c-row-status.verified {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.sla-timer {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.c-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.clause-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1px 7px;
  border-radius: 4px;
}

.hash-text {
  font-family: var(--to-font-mono, monospace);
  font-size: 10px;
  color: #64748b;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sla-progress-wrap {
  width: 100%;
  height: 5px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.sla-bar {
  height: 100%;
  background: #0284c7;
  border-radius: inherit;
}

.sla-bar.warning { background: #d97706; }
.sla-bar.success { background: #10b981; }

@media (max-width: 680px) {
  .cockpit-win-body {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. ONE PANE OF GLASS LIVING TABBED CONSOLE (Slice S1)
   ========================================================================== */

.mkt-console.glass {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  padding: 0;
}

.mkt-console-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mkt-console-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.mkt-console-chrome span:nth-child(1) { background: #f87171; }
.mkt-console-chrome span:nth-child(2) { background: #fbbf24; }
.mkt-console-chrome span:nth-child(3) { background: #34d399; }

.mkt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mkt-tabs [role="tab"] {
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 140ms ease;
}

.mkt-tabs [role="tab"]:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.mkt-tabs [role="tab"][aria-selected="true"] {
  background: #ffffff;
  color: #0284c7;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.mkt-console-body {
  padding: 24px;
  min-height: 280px;
  background: #ffffff;
}

.console-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInPanel 180ms ease-out;
}

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

/* Tab 1: Readiness Dashboard */
.readiness-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.readiness-summary-card,
.framework-breakdown-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}

.r-ring-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.r-summary-copy h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.r-summary-copy p {
  margin: 0 0 12px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.r-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
}

.framework-breakdown-card h5 {
  margin: 0 0 14px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.framework-prog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-prog-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.f-prog-hdr {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #334155;
  font-weight: 600;
}

.f-prog-hdr b {
  color: #0f172a;
}

.f-prog-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.f-prog-fill {
  height: 100%;
  background: #0284c7;
  border-radius: inherit;
}

.audit-checks-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #334155;
}

.check-item b {
  color: #0f172a;
}

/* Tables (Controls, Vault, DSR) */
.panel-inner-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.mkt-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  background: #ffffff;
}

.mkt-data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.mkt-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.mkt-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.mkt-data-table tbody tr:hover td {
  background: #f8fafc;
}

.clause-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ev-link {
  font-weight: 600;
  color: #0284c7;
  font-size: 12px;
}

.status-pill-success {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.status-pill-warning {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.status-pill-info {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}

.file-name {
  font-weight: 600;
  color: #0f172a;
}

.hash-code {
  font-family: var(--to-font-mono, monospace);
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}

.sla-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.sla-txt {
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
}

/* Tab 4: Consent & CMP */
.cmp-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.cmp-telemetry-card,
.cmp-receipt-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.cmp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cmp-card-header h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.cmp-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-align: center;
}

.cmp-metrics-row b {
  display: block;
  font-size: 15px;
  color: #0f172a;
}

.cmp-metrics-row span {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 500;
}

.cmp-purposes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-purp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #334155;
}

.c-purp-item b {
  color: #047857;
  font-size: 11.5px;
}

.badge-sample {
  font-family: var(--to-font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
}

.cmp-receipt-snippet {
  margin: 0 0 10px 0;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: var(--to-font-mono, monospace);
  font-size: 11.5px;
  color: #0f172a;
  line-height: 1.45;
  overflow-x: auto;
}

.receipt-note {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

/* Tab 6: Copilot */
.copilot-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.copilot-q-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
}

.copilot-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.badge-copilot {
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 6px;
}

.badge-ai {
  font-size: 11.5px;
  font-weight: 700;
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 2px 8px;
  border-radius: 6px;
}

.copilot-meta {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.copilot-question {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
}

.copilot-answer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.copilot-answer-text {
  margin: 0 0 16px 0;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
}

.citation-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--to-font-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 1px 7px;
  border-radius: 4px;
  vertical-align: 1px;
}

.copilot-flow-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.flow-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.f-step.is-done {
  color: #047857;
}

.f-step.is-active {
  color: #0284c7;
}

.flow-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .readiness-dashboard-grid,
  .cmp-demo-grid {
    grid-template-columns: 1fr;
  }
  .audit-checks-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   8. STRICT LIGHT-ONLY REINFORCEMENT (Rule A2)
   ========================================================================== */

#faq,
.landing-premium #faq,
.landing-premium .sec,
.landing-premium .audience-sec,
.landing-premium .pricing {
  background: #ffffff !important;
  color: #0f172a !important;
}

.landing-premium #faq h2,
.landing-premium #faq .head h2 {
  color: #0f172a !important;
}

.landing-premium #faq .faq details {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  margin-bottom: 12px !important;
}

.landing-premium #faq .faq details[open] {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05) !important;
}

.landing-premium #faq .faq summary {
  color: #0f172a !important;
  background: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 18px 20px !important;
  border-radius: 12px !important;
}

.landing-premium #faq .faq details[open] summary {
  color: #0284c7 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.landing-premium #faq .faq details p {
  color: #475569 !important;
  background: #ffffff !important;
  padding: 0 20px 18px 20px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* ==========================================================================
   9. PLATFORM DEEP-DIVE ARCHITECTURE & PILLARS (Slice S2 — Rule A2, A3, A4)
   ========================================================================== */

/* Pipeline Architecture Visual */
.plat-pipeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

.plat-layer-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.plat-layer-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.plat-layer-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.layer-num {
  font-family: var(--to-font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.layer-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.plat-layer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.plat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
}

.plat-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 8px;
  color: #0284c7;
}

.plat-connector svg {
  width: 16px;
  height: 16px;
  stroke: #0284c7;
  stroke-width: 2;
  fill: none;
}

/* Pillar Stories */
.plat-pillar {
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid #e2e8f0;
}

.plat-pillar:last-of-type {
  border-bottom: 0;
}

.plat-pillar.alt {
  background: #f8fafc;
}

.plat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.plat-grid.reverse .plat-copy {
  order: 2;
}

.plat-grid.reverse .plat-viz {
  order: 1;
}

.plat-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  line-height: 1.15;
  margin: 0 0 14px 0;
}

.plat-copy p {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 18px 0;
}

.plat-viz {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

/* Evidence Lifecycle Stepper */
.ev-lifecycle-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.ev-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}

.ev-step-num {
  font-family: var(--to-font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
}

.ev-step-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.ev-step-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Cadence Engine Cards */
.cadence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cadence-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

.cadence-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cadence-freq {
  font-family: var(--to-font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 4px;
}

.cadence-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.cadence-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
}

/* Privacy Desk Grid */
.privacy-desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.privacy-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  transition: transform 150ms ease, border-color 150ms ease;
}

.privacy-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.privacy-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.privacy-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px 0;
}

/* Standards Matrix Table */
.matrix-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.standards-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.standards-matrix-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.standards-matrix-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.standards-matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.standards-matrix-table tbody tr:hover td {
  background: #f8fafc;
}

@media (max-width: 960px) {
  .plat-grid,
  .plat-grid.reverse {
    grid-template-columns: 1fr;
  }
  .plat-grid.reverse .plat-copy,
  .plat-grid.reverse .plat-viz {
    order: unset;
  }
  .plat-layer-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ev-lifecycle-stepper {
    grid-template-columns: 1fr;
  }
  .cadence-grid {
    grid-template-columns: 1fr;
  }
  .privacy-desk-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10. TRANSPARENT PRICING & COMPARISON MATRIX (Slice S3 — Rule A2, A3, A4)
   ========================================================================== */

/* Billing Toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 36px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px;
}

.toggle-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  padding: 6px 16px;
  border-radius: 999px;
  transition: all 150ms ease;
}

.toggle-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.toggle-savings-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Pricing Cards Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.pricing-tier-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.pricing-tier-card.featured {
  border-color: #0284c7;
  box-shadow: 0 0 0 1px #0284c7, 0 10px 25px -5px rgba(2, 132, 199, 0.12);
}

.tier-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.tier-blurb {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 20px 0;
  min-height: 40px;
}

.tier-price-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.tier-amt {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.tier-unit {
  font-size: 1.05rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: normal;
}

.tier-cadence {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-top: 6px;
}

.tier-annual-note {
  font-size: 11.5px;
  color: #047857;
  font-weight: 600;
  margin-top: 4px;
}

.tier-feat-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tier-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}

.tier-feat-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: #10b981;
  stroke-width: 2.25;
  fill: none;
  margin-top: 1px;
}

/* Comparison Matrix */
.pricing-matrix-section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.pricing-matrix-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.pricing-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.pricing-matrix-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.pricing-matrix-table th.col-feature {
  width: 40%;
}

.pricing-matrix-table th.col-plan {
  width: 20%;
  text-align: center;
}

.pricing-matrix-table th.col-plan.featured {
  background: #f0f9ff;
  color: #0284c7;
}

.pricing-matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.pricing-matrix-table td.col-val {
  text-align: center;
}

.pricing-matrix-table td.col-val.featured {
  background: #fbfdff;
  font-weight: 600;
}

.matrix-sec-header td {
  background: #f8fafc;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 18px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.check-ic {
  display: inline-block;
  color: #059669;
  font-weight: 800;
  font-size: 16px;
}

.dash-ic {
  display: inline-block;
  color: #94a3b8;
  font-weight: 600;
  font-size: 16px;
}

@media (max-width: 1080px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
}



