/* ─────────────────────────────────────────────────────────
   HOME V2 — New components layered on top of base styles.css
   Phase 1: Product mock, trust bar, CTAs
   Phase 2: CSS art for case studies (replacing photos)
   Phase 3: Stats grid, micro-icons, scannability
   Phase 4: Social proof dark block with attribution
   ───────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────
   DOSSIER MOCK — classified-document style deliverable preview
   Feels like an executive briefing, not a SaaS dashboard
   ───────────────────────────────────────────────────────── */
.product-mock {
  background: oklch(0.14 0.02 260);
  border: 1px solid oklch(0.28 0.02 260);
  border-radius: 2px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -50px oklch(0 0 0 / 0.6),
    0 0 0 1px oklch(1 0 0 / 0.04),
    inset 0 1px 0 oklch(1 0 0 / 0.06);
  margin-top: clamp(40px, 6vw, 72px);
  position: relative;
  transition: box-shadow 300ms var(--ease-out-strong);
  /* Page-load reveal — runs on page load regardless of scroll position.
     Matches the .reveal animation (opacity + translateY + blur) used on
     hero elements, but triggered by the animation itself instead of
     IntersectionObserver — so it doesn't pop in when scrolling on mobile. */
  animation: product-mock-load 1000ms var(--ease-out-strong) 200ms both;
}
@keyframes product-mock-load {
  from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .product-mock { animation: none; }
}
.product-mock:hover {
  box-shadow:
    0 32px 64px -30px oklch(0 0 0 / 0.5),
    0 0 0 1px oklch(0.870 0.180 130 / 0.12),
    inset 0 1px 0 oklch(1 0 0 / 0.06);
}

/* ── Scan line — sweeps top to bottom continuously ── */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, oklch(0.870 0.180 130 / 0.35), transparent);
  animation: scan 6s linear 2s infinite;
}
.product-mock:hover .scan-line {
  animation-duration: 3s;
  animation-delay: 0s;
  background: linear-gradient(90deg, transparent, oklch(0.870 0.180 130 / 0.55), transparent);
}
@keyframes scan {
  0%   { top: 0; }
  100% { top: 100%; }
}

/* ── Edge glow on hover ── */
.edge-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  box-shadow: inset 0 0 40px oklch(0.870 0.180 130 / 0.04);
  border: 1px solid oklch(0.870 0.180 130 / 0.08);
  transition: opacity 300ms;
}
.product-mock:hover .edge-glow { opacity: 1; }

/* ── Pulsing dot on Confidential badge ── */
.pulse-dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: oklch(0.16 0.04 130);
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  animation: pulse-blink 2s infinite;
}
@keyframes pulse-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.dossier-header {
  padding: 20px 20px 16px;
  background: oklch(0.12 0.018 260);
  border-bottom: 1px solid oklch(0.22 0.018 260);
  position: relative;
}
.dossier-stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: oklch(0.870 0.180 130);
  border: 1.5px solid oklch(0.870 0.180 130 / 0.45);
  border-radius: 2px;
  padding: 3px 10px;
  background: oklch(0.870 0.180 130 / 0.06);
}
.dossier-org {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: oklch(0.48 0.01 250);
  margin-bottom: 4px;
}
.dossier-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: oklch(0.92 0 0);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.dossier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: oklch(0.42 0.01 250);
  letter-spacing: 0.02em;
}
.dossier-meta span + span::before {
  content: " · ";
  color: oklch(0.30 0.01 250);
}

.mock-body {
  padding: 0;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr auto;
  border-bottom: 1px solid oklch(0.22 0.018 260);
  font-size: 12px;
  position: relative;
  cursor: default;
}
.mock-row:last-of-type { border-bottom: none; }

/* Left accent bar */
.mock-row:not(.mock-head)::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 200ms var(--ease-out-strong), background-color 200ms;
}
.mock-row:not(.mock-head):hover::before {
  transform: scaleY(1);
  background: oklch(0.870 0.180 130);
}
/* Row with HOLDS verdict gets white accent */
.mock-row:has(.mock-holds):hover::before {
  background: oklch(1 0 0 / 0.3);
}

/* Gradient glow background on hover */
.mock-row:not(.mock-head)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, oklch(0.870 0.180 130 / 0.07) 0%, oklch(0.870 0.180 130 / 0.02) 60%, transparent 100%);
  transition: opacity 200ms;
}
.mock-row:not(.mock-head):hover::after { opacity: 1; }
.mock-row:has(.mock-holds)::after {
  background: linear-gradient(90deg, oklch(1 0 0 / 0.06) 0%, oklch(1 0 0 / 0.02) 60%, transparent 100%);
}

.mock-row > div, .mock-row > th, .mock-row > td {
  padding: 11px 14px;
  position: relative;
  z-index: 1;
  text-align: left;
  font-weight: normal;
}
.mock-table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mock-head {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.48 0.01 250);
  background: oklch(0.13 0.018 260);
}
.mock-claim {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: oklch(0.72 0.01 250);
  line-height: 1.4;
  transition: color 200ms, transform 200ms var(--ease-out-strong);
}
.mock-row:hover .mock-claim {
  color: oklch(0.95 0 0);
  transform: translateX(6px);
}
.mock-ev {
  font-size: 12px;
  color: oklch(0.82 0.01 250);
  line-height: 1.45;
  transition: color 200ms;
}
.mock-row:hover .mock-ev {
  color: oklch(0.75 0.01 250);
}
.mock-verdict {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: center;
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mock-row:hover .mock-verdict {
  transform: scale(1.2);
}
.mock-gap {
  color: oklch(0.870 0.180 130);
}
.mock-holds {
  color: oklch(0.55 0.01 250);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid oklch(0.22 0.018 260);
  background: oklch(0.12 0.018 260);
}
.mock-stat {
  padding: 14px 16px;
  text-align: center;
  border-right: 1px solid oklch(0.22 0.018 260);
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: default;
  transition: background-color 200ms, transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mock-stat:hover {
  background: oklch(1 0 0 / 0.05);
  transform: scale(1.05);
}
.mock-stat:last-child { border-right: none; }
.mock-stat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: oklch(0.95 0 0);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  transition: transform 150ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mock-stat:hover .mock-stat-num {
  transform: scale(1.1);
}
.mock-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(0.48 0.01 250);
}

/* ─────────────────────────────────────────────────────────
   TRUST BAR — Phase 1: grayscale logo farm
   ───────────────────────────────────────────────────────── */
.trust-bar {
  border-bottom: 1px solid var(--rule);
  padding-block: 28px;
  margin-top: clamp(40px, 6vw, 64px);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: space-between;
}
.trust-logo {
  color: var(--ink-mute);
  opacity: 0.5;
  transition: opacity 400ms var(--ease-out-strong);
  height: 28px;
}
.trust-logo:hover {
  opacity: 0.85;
}
.trust-logo svg {
  height: 28px;
  width: auto;
}

@media (max-width: 900px) {
  .trust-inner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .trust-logos {
    gap: 20px;
    justify-content: flex-start;
  }
}

/* ─────────────────────────────────────────────────────────
   KEY STATS — 2×2 bento, diagonal asymmetry
   ───────────────────────────────────────────────────────── */
/* ── Evidence Panel — dark intelligence briefing block ── */
.evidence-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: oklch(0.14 0.02 260);
  border: 1px solid oklch(0.28 0.02 260);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 40px 100px -50px oklch(0 0 0 / 0.5),
    inset 0 1px 0 oklch(1 0 0 / 0.05);
}

/* Dot-grid texture */
.evidence-panel__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, oklch(1 0 0 / 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Scan line — slow sweep, ties to product mock language */
.evidence-panel__scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, oklch(0.870 0.180 130 / 0.25), transparent);
  animation: evidence-scan 8s linear 2s infinite;
}
@keyframes evidence-scan {
  0%   { top: 0; }
  100% { top: 100%; }
}

/* ── Hero stat — left column, larger treatment ── */
.evidence-panel__hero {
  padding: clamp(40px, 5vw, 64px);
  border-right: 1px solid oklch(1 0 0 / 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition: background 260ms ease-out;
}
.evidence-panel__hero:hover {
  background: oklch(0.16 0.025 260);
}

/* Subtle radial glow on hero — warm accent bleed */
.evidence-panel__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 85%, oklch(0.870 0.180 130 / 0.04) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}

/* ── Stacked pair — right column ── */
.evidence-panel__stack {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.evidence-cell {
  padding: clamp(32px, 4vw, 48px);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: background 260ms ease-out;
}
.evidence-cell:first-child {
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}
.evidence-cell:hover {
  background: oklch(0.16 0.025 260);
}

/* ── Eyebrow label ── */
.evidence-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: oklch(0.870 0.180 130);
  margin-bottom: 24px;
  display: block;
}

/* ── Numbers ── */
.evidence-number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: oklch(0.94 0 0);
  font-feature-settings: "tnum";
  transition: color 220ms ease-out;
}
.evidence-number--hero {
  font-size: clamp(4.5rem, 8vw, 7.5rem);
}

/* Accent sweep — thin line under number, expands on hover */
.evidence-number::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  margin-top: 10px;
  background: oklch(0.870 0.180 130);
  transition: width 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.evidence-panel__hero:hover .evidence-number::after,
.evidence-cell:hover .evidence-number::after {
  width: 100%;
}

/* Hover: number turns accent */
.evidence-panel__hero:hover .evidence-number,
.evidence-cell:hover .evidence-number {
  color: oklch(0.870 0.180 130);
}

/* ── Labels ── */
.evidence-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: oklch(0.870 0.180 130 / 0.7);
  margin-top: 12px;
  font-weight: 500;
}

/* ── Descriptions ── */
.evidence-desc {
  font-size: 14.5px;
  color: oklch(1 0 0 / 0.50);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 38ch;
}
.evidence-desc strong {
  color: oklch(0.94 0 0);
  font-weight: 600;
}

/* ── Source citations — anchored to bottom ── */
.evidence-source {
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.06em;
  color: oklch(1 0 0 / 0.25);
  margin-top: auto;
  padding-top: 24px;
  display: block;
  line-height: 1.4;
}

/* ── Dark mode — panel is already dark, minor tweaks ── */
html.dark .evidence-panel {
  background: oklch(0.10 0.025 260);
  border-color: oklch(0.22 0.02 260);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .evidence-number { transition: none; }
  .evidence-panel__scan { animation: none; }
  .evidence-number::after { transition: none; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .evidence-panel {
    grid-template-columns: 1fr;
  }
  .evidence-panel__hero {
    border-right: none;
    border-bottom: 1px solid oklch(1 0 0 / 0.08);
  }
  .evidence-number--hero {
    font-size: clamp(3.5rem, 7vw, 5rem);
  }
}
@media (max-width: 540px) {
  .evidence-panel__hero {
    padding: clamp(28px, 5vw, 40px);
  }
  .evidence-cell {
    padding: clamp(24px, 4vw, 36px);
  }
  .evidence-number--hero {
    font-size: clamp(3rem, 10vw, 4rem);
  }
}

/* ─────────────────────────────────────────────────────────
   DELIVERABLE ICONS — Phase 3: line icons above headers
   ───────────────────────────────────────────────────────── */
.del-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 4px;
}
.del-icon svg {
  width: 100%;
  height: 100%;
}

/* ─────────────────────────────────────────────────────────
   DELIVERABLES v2 — High-end showcase + editorial pair
   ───────────────────────────────────────────────────────── */

/* --- Matrix showcase: dark panel with depth --- */
.del-showcase {
  position: relative;
  margin-top: 56px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, oklch(0.22 0.04 258 / 0.6), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 100%, oklch(0.20 0.03 260 / 0.4), transparent 60%),
    oklch(0.155 0.025 260);
  padding: clamp(40px, 5vw, 64px);
  border-radius: 3px;
  overflow: hidden;
  box-shadow:
    0 1px 0 0 oklch(1 0 0 / 0.04) inset,
    0 -1px 0 0 oklch(0 0 0 / 0.06);
}

/* Top accent gradient bar */
.del-showcase__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), oklch(0.55 0.20 280) 40%, transparent 75%);
}

/* Subtle dot-grid texture overlay */
.del-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(oklch(1 0 0 / 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.del-showcase__header {
  position: relative;
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: flex-start;
  margin-bottom: clamp(36px, 4.5vw, 52px);
}
.del-showcase__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  padding-top: 10px;
  position: relative;
}
.del-showcase__num::after {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  margin-top: 8px;
  opacity: 0.5;
}
.del-showcase__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2vw + 0.8rem, 2.6rem);
  color: oklch(0.96 0 0);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.014em;
}
.del-showcase__desc {
  margin-top: 14px;
  color: oklch(0.48 0 0);
  font-size: 15px;
  line-height: 1.65;
  max-width: 56ch;
}
.del-showcase__desc strong {
  color: oklch(0.64 0 0);
  font-weight: 600;
}

/* Matrix wrapper with label */
.del-showcase__matrix-wrap {
  position: relative;
}
.del-showcase__matrix-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: oklch(0.38 0 0);
  margin-bottom: 10px;
}

/* Matrix overrides inside dark showcase */
.del-showcase .matrix {
  border: 1px solid oklch(1 0 0 / 0.08);
  background: oklch(0.125 0.018 260);
  border-radius: 2px;
  overflow: hidden;
}
.del-showcase .matrix-row {
  border-color: oklch(1 0 0 / 0.06);
  transition: background 250ms ease;
}
.del-showcase .matrix-row:not(.head):hover {
  background: oklch(1 0 0 / 0.025);
}
.del-showcase .matrix-row.head {
  background: oklch(0.10 0.016 260);
  color: oklch(0.42 0 0);
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}
.del-showcase .matrix-row .claim {
  color: oklch(0.48 0 0);
}
.del-showcase .matrix-row .ev {
  color: oklch(0.72 0 0);
  font-weight: 400;
}
/* Verdict pills */
.del-showcase .matrix-row .verdict {
  position: relative;
}
.del-showcase .verdict.gap {
  color: oklch(0.65 0.18 20);
  background: oklch(0.65 0.18 20 / 0.08);
  border-radius: 2px;
  padding: 4px 10px;
  line-height: 1;
  align-self: center;
}
.del-showcase .verdict.true {
  color: oklch(0.62 0.16 145);
  background: oklch(0.62 0.16 145 / 0.08);
  border-radius: 2px;
  padding: 4px 10px;
  line-height: 1;
  align-self: center;
}

/* --- Two-column editorial pair --- */
.del-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 0;
}
.del-item {
  position: relative;
  padding: clamp(36px, 4.5vw, 52px) clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
  transition: background 350ms ease;
}
.del-item:hover {
  background: oklch(0.975 0.004 250);
}
.del-item + .del-item {
  border-left: 1px solid var(--rule);
}

/* Short accent gradient line at top of each item */
.del-item__accent {
  position: absolute;
  top: -1px;
  left: clamp(28px, 3vw, 40px);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), oklch(0.55 0.20 280));
}

.del-item__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.del-item__num::after {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.del-item__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.4vw + 0.7rem, 2.1rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.014em;
  max-width: 18ch;
}
.del-item__desc {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 44ch;
}
.del-item__desc strong {
  color: var(--ink);
  font-weight: 600;
}

/* Dark-mode overrides */
html.dark .del-item {
  border-color: oklch(1 0 0 / 0.08);
}
html.dark .del-item:hover {
  background: oklch(1 0 0 / 0.02);
}
html.dark .del-showcase {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, oklch(0.18 0.04 258 / 0.5), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 100%, oklch(0.16 0.03 260 / 0.4), transparent 60%),
    oklch(0.11 0.020 260);
  box-shadow:
    0 1px 0 0 oklch(1 0 0 / 0.03) inset;
}
html.dark .del-showcase .matrix {
  background: oklch(0.08 0.014 260);
  border-color: oklch(1 0 0 / 0.06);
}
html.dark .del-showcase .matrix-row.head {
  background: oklch(0.065 0.012 260);
}

/* Responsive */
@media (max-width: 900px) {
  .del-showcase__header {
    flex-direction: column;
    gap: 6px;
  }
  .del-showcase__num::after { display: none; }
  .del-pair {
    grid-template-columns: 1fr;
  }
  .del-item + .del-item {
    border-left: none;
    border-top: 1px solid var(--rule);
  }
  html.dark .del-item + .del-item {
    border-color: oklch(1 0 0 / 0.08);
  }
}
@media (max-width: 600px) {
  .del-showcase {
    padding: clamp(24px, 5vw, 36px);
  }
  .del-showcase .matrix-row {
    grid-template-columns: 1.2fr 1.6fr auto;
  }
  .del-showcase .matrix-row > div,
  .del-showcase .matrix-row > th,
  .del-showcase .matrix-row > td {
    padding: 10px;
  }
  .del-showcase .matrix-row.head { font-size: 9px; }
  .del-showcase .matrix-row .claim { font-size: 11.5px; }
  .del-showcase .matrix-row .ev { font-size: 12px; }
  .del-showcase .matrix-row .verdict { font-size: 9px; }
  .del-showcase .verdict.gap,
  .del-showcase .verdict.true { padding: 3px 6px; }
}

/* ─────────────────────────────────────────────────────────
   PILLAR ICONS — Phase 3: subtle line icons
   ───────────────────────────────────────────────────────── */
.pillar-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 4px;
  opacity: 0.7;
}
.pillar-icon svg {
  width: 100%;
  height: 100%;
}

/* ─────────────────────────────────────────────────────────
   SOCIAL PROOF — Phase 4: dark testimonial block
   ───────────────────────────────────────────────────────── */
.social-proof-section {
  padding-block: clamp(56px, 7vw, 96px);
}
.social-proof {
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  padding: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.social-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 20% 80%,
      oklch(0.460 0.180 258 / 0.15),
      transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.social-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.sp-content {
  position: relative;
  z-index: 1;
}
.sp-quote-mark {
  width: 56px;
  height: 44px;
  color: var(--paper);
  margin-bottom: 24px;
  display: block;
}
.sp-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw + 0.6rem, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--paper);
  max-width: 38ch;
  border: none;
  padding: 0;
  margin: 0;
}
.sp-quote strong {
  color: oklch(0.870 0.180 130);
  font-weight: 400;
}

.sp-attribution {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.sp-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: oklch(0.24 0.03 260);
  border: 1px solid oklch(1 0 0 / 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sp-avatar span {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: oklch(0.78 0.01 250);
  letter-spacing: -0.01em;
}
.sp-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sp-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--paper);
}
.sp-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: oklch(0.58 0.01 250);
  letter-spacing: 0.02em;
}
.sp-logo-mark {
  margin-left: auto;
  color: oklch(0.42 0.01 250);
  height: 24px;
}
.sp-logo-mark svg {
  height: 100%;
  width: auto;
}

.sp-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  padding-top: 32px;
}
.sp-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sp-metric-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.sp-metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: oklch(0.48 0.01 250);
}

@media (max-width: 900px) {
  .sp-metrics {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sp-logo-mark { display: none; }
}

/* ─────────────────────────────────────────────────────────
   CASE STUDY ART — HTML-based structured visuals
   Art 1: Document audit (rows with verdict tags)
   Art 2: Three battlecards (side-by-side panels)
   Art 3: Comparison matrix (table with verdicts)
   ───────────────────────────────────────────────────────── */

/* Override grayscale + darkening overlay on art containers */
.case .img:has(.case-art) {
  filter: none;
  border-color: oklch(0.25 0.02 260);
}
.case:hover .img:has(.case-art) {
  filter: none;
}
.case .img:has(.case-art)::after {
  display: none;
}

/* Shared art base */
.case-art {
  position: absolute;
  inset: 0;
  background: oklch(0.11 0.02 260);
  transition: filter 600ms var(--ease-out-strong);
  overflow: hidden;
}
.case:hover .case-art {
  filter: brightness(1.12) saturate(1.15);
}

/* ---- Width utility classes ---- */
.w45 { width: 45%; }
.w50 { width: 50%; }
.w55 { width: 55%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }

/* ═══════════════════════════════════════════════════
   ART 1 — Document Audit (.art-doc)
   Stacked rows: left accent | text line | verdict tag
   ═══════════════════════════════════════════════════ */
.art-doc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8% 8%;
  gap: 0;
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid oklch(0.20 0.015 260);
}
.doc-row.marked {
  border-left: 3px solid oklch(0.72 0.19 145);
  background: oklch(0.72 0.19 145 / 0.06);
}
.doc-line {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: oklch(0.32 0.015 260);
  flex-shrink: 0;
}
.doc-row.marked .doc-line {
  background: oklch(0.40 0.02 260);
}
.doc-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 2px;
}
.tag-gap {
  color: oklch(0.82 0.18 145);
  background: oklch(0.82 0.18 145 / 0.14);
  border: 1px solid oklch(0.82 0.18 145 / 0.25);
}
.tag-hold {
  color: oklch(0.55 0.02 260);
  background: oklch(0.55 0.02 260 / 0.10);
  border: 1px solid oklch(0.55 0.02 260 / 0.18);
}

/* ═══════════════════════════════════════════════════
   ART 2 — Battlecards (.art-cards)
   Three side-by-side card panels via CSS grid
   ═══════════════════════════════════════════════════ */
.art-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 10% 6%;
  height: 100%;
  box-sizing: border-box;
}
.bc-card {
  display: flex;
  flex-direction: column;
  background: oklch(0.16 0.02 258);
  border: 1px solid oklch(0.26 0.02 258);
  border-radius: 3px;
  padding: 0 12px 12px;
  overflow: hidden;
  gap: 8px;
}
.bc-bar {
  height: 4px;
  margin: 0 -12px;
  flex-shrink: 0;
}
.bar-blue { background: oklch(0.55 0.22 258); }
.bar-green { background: oklch(0.72 0.19 145); }
.bc-title {
  display: block;
  height: 5px;
  width: 60%;
  border-radius: 2px;
  background: oklch(0.60 0.03 258);
  margin-top: 14px;
}
.bc-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: oklch(0.30 0.015 260);
}
.bc-sep {
  width: 100%;
  height: 1px;
  background: oklch(0.24 0.015 260);
  margin: 2px 0;
}
.bc-badge {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 2px;
}
.badge-blue {
  color: oklch(0.65 0.18 258);
  background: oklch(0.55 0.22 258 / 0.18);
  border: 1px solid oklch(0.55 0.22 258 / 0.30);
}
.badge-green {
  color: oklch(0.82 0.18 145);
  background: oklch(0.72 0.19 145 / 0.16);
  border: 1px solid oklch(0.72 0.19 145 / 0.28);
}

/* ═══════════════════════════════════════════════════
   ART 3 — Comparison Matrix (.art-matrix)
   Table header + data rows with verdict pills
   ═══════════════════════════════════════════════════ */
.art-matrix {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 6% 6% 4%;
}
.mx-head {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  padding: 8px 12px;
  background: oklch(0.16 0.025 258);
  border-bottom: 1px solid oklch(0.28 0.02 258);
  border-radius: 3px 3px 0 0;
}
.mx-head span {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(0.55 0.03 258);
}
.mx-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid oklch(0.18 0.015 260);
}
.mx-cell {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: oklch(0.32 0.015 260);
}
.mx-verdict {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 3px 0;
  border-radius: 2px;
}
.v-gap {
  color: oklch(0.82 0.18 145);
  background: oklch(0.82 0.18 145 / 0.14);
  border: 1px solid oklch(0.82 0.18 145 / 0.25);
}
.v-hold {
  color: oklch(0.55 0.02 260);
  background: oklch(0.55 0.02 260 / 0.10);
  border: 1px solid oklch(0.55 0.02 260 / 0.18);
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE additions for v2 components
   ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-mock { margin-top: 32px; }
  .mock-row {
    grid-template-columns: 1fr 1fr auto;
  }
  .sp-attribution { flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .mock-row {
    grid-template-columns: 1fr auto;
  }
  .mock-row .mock-ev { display: none; }
  .mock-head > div:nth-child(2), .mock-head > th:nth-child(2) { display: none; }
  .mock-stats { grid-template-columns: 1fr 1fr 1fr; }
  .dossier-stamp { position: static; margin-bottom: 10px; display: inline-block; }
}

/* ─────────────────────────────────────────────────────────
   DARK MODE — v2 component overrides (keyed off html.dark)
   The product mock, case arts, and battlecards already use
   hardcoded dark oklch values — they look correct as-is.
   Only the social proof block needs patching (it uses
   var(--ink) as its background, which flips to near-white).
   ───────────────────────────────────────────────────────── */

/* ── Social proof — always-dark block ──────────────────── */
html.dark .social-proof {
  background: oklch(0.070 0.022 260);
}
html.dark .sp-quote,
html.dark .sp-name,
html.dark .sp-metric-num {
  color: oklch(0.920 0.008 250);
}
html.dark .sp-quote-mark {
  color: oklch(0.920 0.008 250);
}
html.dark .sp-title        { color: oklch(0.500 0.010 250); }
html.dark .sp-metric-label { color: oklch(0.440 0.010 252); }
