/* Movael — enterprise monochrome landing */

:root {
  --black: #0a0a0a;
  --near-black: #171717;
  --white: #ffffff;
  --grey-50: #fafafa;
  --grey-100: #f5f5f5;
  --grey-200: #e5e5e5;
  --grey-300: #d4d4d4;
  --grey-400: #a3a3a3;
  --grey-500: #737373;
  --grey-600: #525252;
  --grey-700: #404040;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --transition: 0.18s ease;
  --reveal-duration: 0.85s;
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-distance: 26px;
  --reveal-stagger: 75ms;
  --reveal-header-stagger: 55ms;
  --accent-ok: #16a34a;
  --accent-soon: #d97706;
  --accent-urgent: #dc2626;
  --pipeline-cycle: 10s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid background utility */
.bg-grid {
  background-image:
    linear-gradient(to right, var(--grey-200) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grey-200) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}

/* Typography */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-600);
  max-width: 640px;
}

.section-sub.wide { max-width: 720px; }

.section-header { margin-bottom: 48px; }

section { padding: 96px 0; }

section.compact { padding: 72px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-primary:hover {
  background: var(--grey-700);
  border-color: var(--grey-700);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border-color: var(--grey-300);
}

.btn-secondary:hover {
  border-color: var(--black);
  transform: translateY(-1px);
}

.btn-lg { padding: 13px 24px; font-size: 15px; }

.btn-on-dark {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-on-dark:hover { background: var(--grey-100); }

.btn-ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--grey-600);
}

.btn-ghost-dark:hover { border-color: var(--white); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow 0.32s var(--reveal-ease), border-color 0.32s var(--reveal-ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--grey-300);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  text-decoration: none;
}

.brand:hover { opacity: 0.8; }

.brand-mark {
  height: 28px;
  width: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
}

.brand-wordmark {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--black);
}

@media (max-width: 480px) {
  .brand-mark {
    height: 24px;
    width: 24px;
  }
  .brand-wordmark {
    font-size: 15px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  transition: color var(--transition);
}

.nav-links a:not(.btn):hover { color: var(--black); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--grey-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey-600);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: var(--grey-500);
}

/* Hero product panel — subtle depth on reveal */
.hero-parallax-wrap {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-parallax-wrap .product-panel {
  backface-visibility: hidden;
}

.product-panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.product-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.product-panel-dots {
  display: flex;
  gap: 5px;
}

.product-panel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grey-300);
}

.product-panel-body { padding: 20px; }

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.status-cell {
  padding: 12px 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--grey-50);
}

.status-cell.full { grid-column: 1 / -1; }

.status-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 4px;
}

.status-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.status-value.risk { color: var(--grey-700); }

.status-value.pending {
  display: inline-block;
  padding: 2px 8px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  border-radius: 4px;
}

.evidence-list {
  border-top: 1px solid var(--grey-200);
  padding-top: 16px;
}

.evidence-list-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 10px;
}

.evidence-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.evidence-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-700);
  background: var(--white);
}

.evidence-icon {
  width: 20px;
  height: 20px;
  border: 1px solid var(--grey-300);
  border-radius: 3px;
  flex-shrink: 0;
  background: var(--grey-100);
}

/* Hero pipeline canvas */
.pipeline-panel {
  --scroll-progress: 0;
  --loop-stage: 0;
  position: relative;
}

.pipeline-body {
  position: relative;
  padding: 20px 16px 16px;
  min-height: 320px;
}

.pipeline-edges {
  display: none;
}

.pipeline-edge {
  fill: none;
  stroke: var(--grey-300);
  stroke-width: 1.5;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  opacity: 0.35;
  transition: stroke-dashoffset 0.6s var(--reveal-ease), opacity 0.4s ease;
}

.pipeline-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 12px;
  align-items: start;
}

.pipeline-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  will-change: transform;
  transition: transform 0.35s var(--reveal-ease);
}

.pipeline-col-inputs {
  transform: translate3d(calc(var(--scroll-progress) * -12px), calc(var(--scroll-progress) * 4px), 0);
}

.pipeline-col-output {
  transform: translate3d(calc(var(--scroll-progress) * 14px), calc(var(--scroll-progress) * -6px), 0);
}

.pipeline-node {
  padding: 10px 12px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  opacity: 0.45;
  transform: translate3d(0, 6px, 0) scale(0.98);
  transition:
    opacity 0.45s var(--reveal-ease),
    transform 0.45s var(--reveal-ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.pipeline-node-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 4px;
}

.pipeline-node-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pipeline-node-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--grey-600);
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 4px;
}

.pipeline-node-text {
  min-width: 0;
}

.pipeline-node-ref {
  display: block;
  font-size: 11px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  color: var(--grey-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pipeline-node-verdict {
  border-left: 3px solid var(--black);
}

.pipeline-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.pipeline-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--grey-100);
  color: var(--grey-600);
  border: 1px solid var(--grey-200);
}

.pipeline-verdict-type {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 10px;
}

.pipeline-confidence-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  color: var(--grey-500);
  margin-bottom: 4px;
}

.pipeline-confidence-pct {
  font-weight: 700;
  color: var(--accent-soon);
}

.pipeline-bar-track {
  height: 4px;
  background: var(--grey-200);
  border-radius: 2px;
  overflow: hidden;
}

.pipeline-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-soon);
  border-radius: 2px;
  transition: width 0.8s var(--reveal-ease);
}

.pipeline-node-deadline {
  background: var(--grey-50);
}

.pipeline-deadline-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.pipeline-deadline-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent-soon);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pipeline-deadline-unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-600);
}

.pipeline-deadline-ref {
  font-size: 10px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  color: var(--grey-500);
}

.pipeline-evidence-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pipeline-evidence-list li {
  font-size: 11px;
  font-weight: 500;
  color: var(--grey-700);
  padding: 5px 0;
  border-bottom: 1px solid var(--grey-100);
}

.pipeline-evidence-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pipeline-node-pack {
  background: var(--grey-50);
  min-height: 100%;
}

.pipeline-pack-ref {
  font-size: 11px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  color: var(--grey-600);
  margin-bottom: 10px;
}

.pipeline-pack-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pipeline-status-chip {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--grey-300);
  background: var(--white);
  color: var(--grey-600);
  opacity: 0.5;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s var(--reveal-ease), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.pipeline-status-review {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.pipeline-status-arrow {
  font-size: 11px;
  color: var(--grey-400);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pipeline-pack-contents {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pipeline-pack-contents li {
  font-size: 11px;
  color: var(--grey-600);
  padding: 4px 0 4px 14px;
  position: relative;
}

.pipeline-pack-contents li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--grey-400);
  border-radius: 1px;
}

.pipeline-audit {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 10px 12px;
  border-top: 1px solid var(--grey-200);
  font-size: 11px;
  font-weight: 500;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  color: var(--grey-500);
  text-align: center;
  opacity: calc(0.25 + var(--scroll-progress) * 0.75);
  transform: translate3d(0, calc((1 - var(--scroll-progress)) * 8px), 0);
  transition: opacity 0.35s ease, transform 0.35s var(--reveal-ease);
}

.pipeline-audit-item {
  opacity: calc(0.3 + var(--scroll-progress) * 0.7);
  transition: opacity 0.35s ease, color 0.35s ease;
}

.pipeline-audit-sep {
  margin: 0 6px;
  opacity: calc(var(--scroll-progress) * 0.6);
}

/* Pipeline loop stages (JS sets data-loop-stage 0–8) */
[data-pipeline][data-loop-stage="0"] .pipeline-node-input[data-input="email"],
[data-pipeline].pipeline-static .pipeline-node-input {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  border-color: var(--grey-300);
  box-shadow: var(--shadow-md);
}

[data-pipeline][data-loop-stage="1"] .pipeline-node-input[data-input="email"],
[data-pipeline][data-loop-stage="2"] .pipeline-node-input[data-input="email"],
[data-pipeline][data-loop-stage="3"] .pipeline-node-input[data-input="email"],
[data-pipeline][data-loop-stage="4"] .pipeline-node-input[data-input="email"],
[data-pipeline][data-loop-stage="5"] .pipeline-node-input[data-input="email"],
[data-pipeline][data-loop-stage="6"] .pipeline-node-input[data-input="email"],
[data-pipeline][data-loop-stage="7"] .pipeline-node-input[data-input="email"],
[data-pipeline][data-loop-stage="8"] .pipeline-node-input[data-input="email"],
[data-pipeline].pipeline-static .pipeline-node-input[data-input="email"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-pipeline][data-loop-stage="1"] .pipeline-node-input[data-input="pdf"],
[data-pipeline][data-loop-stage="2"] .pipeline-node-input[data-input="pdf"],
[data-pipeline][data-loop-stage="3"] .pipeline-node-input[data-input="pdf"],
[data-pipeline][data-loop-stage="4"] .pipeline-node-input[data-input="pdf"],
[data-pipeline][data-loop-stage="5"] .pipeline-node-input[data-input="pdf"],
[data-pipeline][data-loop-stage="6"] .pipeline-node-input[data-input="pdf"],
[data-pipeline][data-loop-stage="7"] .pipeline-node-input[data-input="pdf"],
[data-pipeline][data-loop-stage="8"] .pipeline-node-input[data-input="pdf"],
[data-pipeline].pipeline-static .pipeline-node-input[data-input="pdf"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-pipeline][data-loop-stage="2"] .pipeline-node-input[data-input="log"],
[data-pipeline][data-loop-stage="3"] .pipeline-node-input[data-input="log"],
[data-pipeline][data-loop-stage="4"] .pipeline-node-input[data-input="log"],
[data-pipeline][data-loop-stage="5"] .pipeline-node-input[data-input="log"],
[data-pipeline][data-loop-stage="6"] .pipeline-node-input[data-input="log"],
[data-pipeline][data-loop-stage="7"] .pipeline-node-input[data-input="log"],
[data-pipeline][data-loop-stage="8"] .pipeline-node-input[data-input="log"],
[data-pipeline].pipeline-static .pipeline-node-input[data-input="log"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-pipeline][data-loop-stage="3"] .pipeline-edge,
[data-pipeline][data-loop-stage="4"] .pipeline-edge,
[data-pipeline][data-loop-stage="5"] .pipeline-edge,
[data-pipeline][data-loop-stage="6"] .pipeline-edge,
[data-pipeline][data-loop-stage="7"] .pipeline-edge,
[data-pipeline][data-loop-stage="8"] .pipeline-edge,
[data-pipeline].pipeline-static .pipeline-edge {
  stroke-dashoffset: 0;
  opacity: 0.85;
}

[data-pipeline][data-loop-stage="4"] .pipeline-node-verdict,
[data-pipeline][data-loop-stage="5"] .pipeline-node-verdict,
[data-pipeline][data-loop-stage="6"] .pipeline-node-verdict,
[data-pipeline][data-loop-stage="7"] .pipeline-node-verdict,
[data-pipeline][data-loop-stage="8"] .pipeline-node-verdict,
[data-pipeline].pipeline-static .pipeline-node-verdict {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  box-shadow: var(--shadow-md);
}

[data-pipeline][data-loop-stage="5"] .pipeline-node-deadline,
[data-pipeline][data-loop-stage="6"] .pipeline-node-deadline,
[data-pipeline][data-loop-stage="7"] .pipeline-node-deadline,
[data-pipeline][data-loop-stage="8"] .pipeline-node-deadline,
[data-pipeline].pipeline-static .pipeline-node-deadline {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-pipeline][data-loop-stage="5"] .pipeline-deadline-num,
[data-pipeline].pipeline-static .pipeline-deadline-num {
  color: var(--accent-soon);
}

[data-pipeline][data-loop-stage="6"] .pipeline-deadline-num,
[data-pipeline][data-loop-stage="7"] .pipeline-deadline-num,
[data-pipeline][data-loop-stage="8"] .pipeline-deadline-num,
[data-pipeline].pipeline-static .pipeline-deadline-num.is-ticked {
  color: var(--accent-ok);
}

[data-pipeline][data-loop-stage="6"] .pipeline-node-evidence,
[data-pipeline][data-loop-stage="7"] .pipeline-node-evidence,
[data-pipeline][data-loop-stage="8"] .pipeline-node-evidence,
[data-pipeline].pipeline-static .pipeline-node-evidence {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-pipeline][data-loop-stage="7"] .pipeline-node-pack,
[data-pipeline][data-loop-stage="8"] .pipeline-node-pack,
[data-pipeline].pipeline-static .pipeline-node-pack {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  box-shadow: var(--shadow-md);
}

[data-pipeline][data-loop-stage="7"] .pipeline-status-draft,
[data-pipeline].pipeline-static .pipeline-status-draft {
  opacity: 1;
  transform: scale(1);
}

[data-pipeline][data-loop-stage="8"] .pipeline-status-draft,
[data-pipeline].pipeline-static .pipeline-status-draft {
  opacity: 0.35;
}

[data-pipeline][data-loop-stage="8"] .pipeline-status-arrow,
[data-pipeline].pipeline-static .pipeline-status-arrow {
  opacity: 1;
}

[data-pipeline][data-loop-stage="8"] .pipeline-status-review,
[data-pipeline].pipeline-static .pipeline-status-review {
  opacity: 1;
  transform: scale(1);
}

[data-pipeline].pipeline-paused .pipeline-node {
  transition-duration: 0.2s;
}

[data-pipeline].pipeline-static {
  --scroll-progress: 1;
}

[data-pipeline].pipeline-static .pipeline-audit-item {
  opacity: 1;
  color: var(--grey-700);
}

[data-pipeline].pipeline-static .pipeline-deadline-num {
  color: var(--accent-ok);
}

@keyframes pipeline-input-pulse {
  0%, 100% { box-shadow: var(--shadow-sm); }
  50% { box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.08), var(--shadow-md); }
}

[data-pipeline][data-loop-stage="0"] .pipeline-node-input[data-input="email"],
[data-pipeline][data-loop-stage="1"] .pipeline-node-input[data-input="pdf"],
[data-pipeline][data-loop-stage="2"] .pipeline-node-input[data-input="log"] {
  animation: pipeline-input-pulse 0.9s var(--reveal-ease);
}

[data-pipeline].pipeline-paused [data-loop-stage] .pipeline-node-input {
  animation: none;
}


/* Dark section */
.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-dark .section-title { color: var(--white); }

.section-dark .section-sub { color: var(--grey-400); }

.section-dark .eyebrow { color: var(--grey-500); }

/* Cards */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-700);
  border: 1px solid var(--grey-700);
  border-radius: 8px;
  overflow: hidden;
}

.section-dark .card-grid-3 {
  background: var(--grey-700);
  border-color: var(--grey-700);
}

.card {
  background: var(--white);
  padding: 28px 24px;
  transition: background var(--transition);
}

.section-dark .card {
  background: var(--near-black);
}

.card:hover { background: var(--grey-50); }

.section-dark .card:hover { background: #1a1a1a; }

.card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--black);
}

.section-dark .card h3 { color: var(--white); }

.card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-600);
}

.section-dark .card p { color: var(--grey-400); }

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card-bordered {
  padding: 24px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card-bordered:hover {
  border-color: var(--grey-300);
  box-shadow: var(--shadow-md);
}

.card-bordered h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card-bordered p {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.55;
}

/* Workflow timeline */
.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  overflow: hidden;
}

.workflow-step {
  padding: 24px 20px;
  border-right: 1px solid var(--grey-200);
  background: var(--white);
  position: relative;
}

.workflow-step:last-child { border-right: none; }

.workflow-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-400);
  margin-bottom: 12px;
}

.workflow-step h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--black);
}

.workflow-step p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--grey-600);
}

/* Trust list */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  overflow: hidden;
}

.trust-item {
  padding: 20px 24px;
  background: var(--grey-50);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-700);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-item::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--black);
  border-radius: 1px;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Before / after */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-col {
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  overflow: hidden;
}

.compare-header {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--grey-200);
}

.compare-header.manual {
  background: var(--grey-100);
  color: var(--grey-600);
}

.compare-header.product {
  background: var(--black);
  color: var(--white);
}

.compare-list {
  list-style: none;
  padding: 8px 0;
}

.compare-list li {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--grey-700);
  border-bottom: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-list li:last-child { border-bottom: none; }

.compare-list li::before {
  content: "—";
  color: var(--grey-400);
  font-weight: 400;
}

.compare-col.product .compare-list li::before {
  content: "→";
  color: var(--black);
  font-weight: 600;
}

/* Users grid */
.users-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.user-card {
  padding: 20px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-700);
  text-align: center;
  transition: border-color var(--transition), color var(--transition);
}

.user-card:hover {
  border-color: var(--black);
  color: var(--black);
}

/* CTA band */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}

.cta-band .section-title {
  color: var(--white);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .section-sub {
  color: var(--grey-400);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--grey-200);
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 13px;
  color: var(--grey-500);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-600);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--black); }

.footer-disclaimer {
  padding-top: 24px;
  border-top: 1px solid var(--grey-200);
  font-size: 12px;
  line-height: 1.6;
  color: var(--grey-500);
  max-width: 720px;
}

.divider {
  height: 1px;
  background: var(--grey-200);
  margin: 48px 0;
}

/* Scroll reveal — Intersection Observer driven */
.js .reveal,
.js .reveal-item {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.js .reveal.is-visible,
.js .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.js .reveal-delay-1 { transition-delay: calc(var(--reveal-stagger) * 1); }
.js .reveal-delay-2 { transition-delay: calc(var(--reveal-stagger) * 2); }
.js .reveal-delay-3 { transition-delay: calc(var(--reveal-stagger) * 3); }

/* Staggered grid / list items */
.js .reveal-group .reveal-item:nth-child(1) { transition-delay: calc(var(--reveal-stagger) * 0); }
.js .reveal-group .reveal-item:nth-child(2) { transition-delay: calc(var(--reveal-stagger) * 1); }
.js .reveal-group .reveal-item:nth-child(3) { transition-delay: calc(var(--reveal-stagger) * 2); }
.js .reveal-group .reveal-item:nth-child(4) { transition-delay: calc(var(--reveal-stagger) * 3); }
.js .reveal-group .reveal-item:nth-child(5) { transition-delay: calc(var(--reveal-stagger) * 4); }
.js .reveal-group .reveal-item:nth-child(6) { transition-delay: calc(var(--reveal-stagger) * 5); }
.js .reveal-group .reveal-item:nth-child(7) { transition-delay: calc(var(--reveal-stagger) * 6); }

/* Tighter stagger for section headers, hero copy, and CTA */
.js .section-header.reveal-group .reveal-item:nth-child(1),
.js .hero-copy.reveal-group .reveal-item:nth-child(1),
.js .cta-content.reveal-group .reveal-item:nth-child(1) { transition-delay: 0ms; }

.js .section-header.reveal-group .reveal-item:nth-child(2),
.js .hero-copy.reveal-group .reveal-item:nth-child(2),
.js .cta-content.reveal-group .reveal-item:nth-child(2) { transition-delay: var(--reveal-header-stagger); }

.js .section-header.reveal-group .reveal-item:nth-child(3),
.js .hero-copy.reveal-group .reveal-item:nth-child(3),
.js .cta-content.reveal-group .reveal-item:nth-child(3) { transition-delay: calc(var(--reveal-header-stagger) * 2); }

.js .hero-copy.reveal-group .reveal-item:nth-child(4) { transition-delay: calc(var(--reveal-header-stagger) * 3); }
.js .hero-copy.reveal-group .reveal-item:nth-child(5) { transition-delay: calc(var(--reveal-header-stagger) * 4); }

.js .footer-inner.reveal-group .reveal-item:nth-child(1) { transition-delay: 0ms; }
.js .footer-inner.reveal-group .reveal-item:nth-child(2) { transition-delay: var(--reveal-header-stagger); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .reveal,
  .js .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .hero-parallax-wrap { transform: none !important; will-change: auto; }

  .nav { transition: none; }

  .pipeline-col-inputs,
  .pipeline-col-output {
    transform: none;
  }

  .pipeline-audit {
    opacity: 1;
    transform: none;
  }

  .pipeline-audit-item {
    opacity: 1;
    color: var(--grey-700);
  }

  .pipeline-node {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pipeline-edge {
    stroke-dashoffset: 0;
    opacity: 0.85;
    transition: none;
  }

  .pipeline-status-chip {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pipeline-status-arrow {
    opacity: 1;
  }

  [data-pipeline] .pipeline-node-input {
    animation: none;
  }
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    padding: 16px 24px 24px;
  }

  .nav-links.open { display: flex; }

  .nav-links a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-100);
  }

  .nav-links .btn { margin-top: 12px; width: 100%; }

  .nav-toggle { display: block; }

  .nav { position: sticky; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero { padding: 56px 0 72px; }

  section { padding: 72px 0; }

  .card-grid-3,
  .card-grid-2,
  .trust-grid,
  .users-grid,
  .compare { grid-template-columns: 1fr; }

  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    border-right: none;
    border-bottom: 1px solid var(--grey-200);
  }

  .workflow-step:last-child { border-bottom: none; }

  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pipeline-body {
    min-height: auto;
  }

  .pipeline-edges {
    display: none;
  }

  .pipeline-col-inputs,
  .pipeline-col-output {
    transform: none !important;
  }

  .pipeline-audit {
    text-align: left;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
}
