
:root {
  /* Deep purple / teal palette */
  --purple-900: #1a0b3d;
  --purple-800: #24124f;
  --purple-700: #2e1760;
  --purple-600: #4b2bae;
  --purple-500: #6a3fd6;
  --violet: #8a5cf6;
  --teal: #3ae0c8;
  --teal-mint: #7df0a8;
  --teal-soft: rgba(58, 224, 200, 0.15);
  --ink: #141424;
  --ink-soft: #3a3a55;
  --ink-mute: #6b6b82;
  --bg: #ffffff;
  --bg-alt: #f7f6fb;
  --bg-alt2: #efecf6;
  --rule: rgba(20, 20, 36, 0.08);
  --rule-strong: rgba(20, 20, 36, 0.16);
  --on-dark: #ffffff;
  --on-dark-mute: rgba(255,255,255,0.72);
  --on-dark-soft: rgba(255,255,255,0.5);
  --rule-dark: rgba(255,255,255,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

/* ------- UTILITY NAV (top strip) ------- */
.util-nav {
  background: var(--bg);
  font-size: 13px;
  color: var(--ink-soft);
  padding: 12px 0;
}
.util-nav-inner { display: flex; justify-content: flex-end; gap: 28px; }
.util-nav a {
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.util-nav a:hover { color: var(--purple-600); }
.util-nav a .ext { font-size: 10px; opacity: 0.7; }
@media (max-width: 720px) { .util-nav-inner { justify-content: center; flex-wrap: wrap; gap: 18px; } }

/* ------- MAIN NAV in purple hero ------- */
.hero-wrap {
  padding: 0 20px 20px;
  background: var(--bg);
}
.hero-dark {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--purple-900);
  color: var(--on-dark);
  min-height: 620px;
}
.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 85% 55%, rgba(58,224,200,0.18), transparent 60%),
    conic-gradient(from 210deg at 70% 50%,
      rgba(138,92,246,0.35) 0deg,
      rgba(58,224,200,0.18) 70deg,
      rgba(26,11,61,0) 140deg,
      rgba(26,11,61,0) 260deg,
      rgba(138,92,246,0.28) 340deg);
  pointer-events: none;
}
.hero-dark::after {
  /* angular light rays */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(138,92,246,0.18) 50%, transparent 60%),
    linear-gradient(120deg, transparent 55%, rgba(58,224,200,0.14) 62%, transparent 70%),
    linear-gradient(-65deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
  pointer-events: none;
}
.hero-dark > * { position: relative; z-index: 2; }

/* vertical grid lines */
.hero-dark .vlines {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(7, 1fr);
  pointer-events: none;
  z-index: 1;
}
.hero-dark .vlines span {
  border-left: 1px solid rgba(255,255,255,0.05);
}

/* top teal rule of hero card */
.hero-dark::before, .hero-dark::after { z-index: 0; }

/* main nav inside purple */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 44px;
  gap: 28px;
  position: relative;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: inline-flex; align-items: center;
  position: relative;
  height: 44px;
  width: 130px;
  min-width: 130px;
  flex: 0 0 130px;
}
.brand img {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  margin: 0 auto 0 44px;
}
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--on-dark);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.75; }
.nav-links a .chev {
  display: inline-block;
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px,-2px);
  opacity: 0.7;
}
.nav-links .ai-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
}
.nav-links .ai-tag::before {
  content: "";
  width: 10px; height: 10px;
  background: radial-gradient(circle, var(--teal) 30%, transparent 35%),
              radial-gradient(circle at 20% 80%, var(--teal) 20%, transparent 25%);
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-search {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--on-dark);
  transition: background 0.2s;
}
.nav-search:hover { background: rgba(255,255,255,0.08); }
.pill-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 22px;
  background: var(--teal-mint);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
}
.pill-cta:hover { background: var(--teal); transform: translateY(-1px); }

/* Compact variant for the nav bar */
.nav-right .pill-cta {
  padding: 4px 4px 4px 16px;
  font-size: 13px;
  gap: 8px;
  line-height: 1;
  white-space: nowrap;
}
.nav-right .pill-cta .avatars > span {
  width: 18px !important;
  height: 18px !important;
  border-width: 1.5px;
}
.nav-right .pill-cta .avatars > span:nth-child(2) { margin-left: -6px; }
.pill-cta .avatars {
  display: inline-flex;
}
.pill-cta .avatars > span {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--teal-mint);
  display: inline-block;
  background-size: cover;
  background-position: center;
}
.pill-cta .avatars > span:nth-child(2) { margin-left: -10px; }
.pill-cta .avatars > span.a1 { background-image: url("avatar-1.png?v=3"); background-size: cover; background-position: center; }
.pill-cta .avatars > span.a2 { background-image: url("avatar-2.png?v=3"); background-size: cover; background-position: center; }

/* ===== Burger button (hidden on desktop by default) ===== */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.nav-burger:hover { background: rgba(255,255,255,0.08); }
.nav-burger:focus-visible { outline: 2px solid var(--teal-mint); outline-offset: 2px; }
.nav-burger .bars {
  position: relative;
  width: 18px;
  height: 12px;
  display: block;
}
.nav-burger .bars::before,
.nav-burger .bars::after,
.nav-burger .bars span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.75px;
  background: var(--on-dark, #fff);
  border-radius: 2px;
  transition: transform 0.28s ease, top 0.28s ease, opacity 0.2s ease;
}
.nav-burger .bars::before { top: 0; }
.nav-burger .bars span   { top: 5px; }
.nav-burger .bars::after { top: 10px; }
.nav-burger[aria-expanded="true"] .bars::before {
  top: 5px;
  transform: rotate(45deg);
}
.nav-burger[aria-expanded="true"] .bars::after {
  top: 5px;
  transform: rotate(-45deg);
}
.nav-burger[aria-expanded="true"] .bars span {
  opacity: 0;
  transform: scaleX(0);
}

/* ===== Mobile menu panel (hidden on desktop) ===== */
/* ===== Mobile menu: full-screen fixed overlay ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0a1f;
  z-index: 9999;
  padding: 88px 20px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu li + li { border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 18px 4px;
  transition: opacity 0.18s;
}
.mobile-menu a:hover,
.mobile-menu a:active { opacity: 0.7; }
.mobile-menu .mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 22px;
  background: var(--teal-mint);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}
.mobile-menu .mobile-cta:hover { background: var(--teal); opacity: 1; }

/* In-menu close button (injected by JS, lives in top-right of the overlay) */
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:active { background: rgba(255,255,255,0.08); }

/* ===== Breakpoint: switch nav to burger ===== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-menu { display: block; }
}

/* Prevent body scroll when menu is open on very small screens */
body.nav-open { overflow: hidden; }

/* ------- HERO CONTENT ------- */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  padding: 40px 44px 64px;
  align-items: start;
}
.hero-eyebrow {
  display: inline-flex; align-items: center;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 14px;
  color: var(--on-dark);
  margin-bottom: 36px;
}
.hero-title {
  font-weight: 700;
  font-size: clamp(44px, 5.8vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  margin-bottom: 28px;
}
.hero-title .soft { color: var(--on-dark); }
.hero-title .accent { color: var(--teal-mint); }
.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--on-dark-mute);
  max-width: 42ch;
  margin-bottom: 36px;
}
.badges-row {
  display: flex;
  gap: 14px;
  margin: 18px 0 32px;
  flex-wrap: wrap;
}
.trusted-row {
  margin: 22px 0 36px;
  max-width: 560px;
}
.trusted-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: 14px;
}
.trusted-logos {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  /* The source image has dark grey logos on white; invert so they read on the purple hero while preserving shapes */
  filter: invert(1) brightness(1.1) contrast(0.9);
  opacity: 0.85;
  mix-blend-mode: screen;
}
.badge {
  position: relative;
  width: 72px; aspect-ratio: 3/4;
  background: linear-gradient(180deg, #fff, #f0edf8);
  border-radius: 4px 4px 16px 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 8px 4px 14px;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.badge .bt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.badge .bm {
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  line-height: 1.1;
  color: var(--purple-700);
}
.badge .bb {
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 8px;
  border-radius: 0 0 4px 4px;
  background: var(--teal);
}
.badge .ribbon {
  position: absolute;
  top: -2px; right: -2px;
  background: #e94b3c;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 2px;
}
.badge.b2 .bb { background: #8a5cf6; }
.badge.b3 .bb { background: #f4a261; }
.badge.b4 .bb { background: #2a9d8f; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-dark {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  color: var(--on-dark);
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* ------- HERO PRODUCT MOCK ------- */
.hero-mock {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  margin-top: 10px;
}
.mock-window {
  position: absolute;
  top: 0; left: 0; right: -60px;
  background: #fff;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  color: var(--ink);
  padding-bottom: 0;
}
.mock-top {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
}
.mock-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bg-alt2); }
.mock-dot.red { background: #ff6058; }
.mock-dot.yel { background: #ffbe2e; }
.mock-dot.grn { background: #2ace3e; }
.mock-bars { flex: 1; display: flex; gap: 6px; margin-left: 8px; }
.mock-bars span { height: 6px; background: var(--bg-alt2); border-radius: 3px; flex: 1; }
.mock-bars span:nth-child(1) { max-width: 60px; }
.mock-bars span:nth-child(2) { max-width: 100px; }
.mock-body { display: grid; grid-template-columns: 170px 1fr; min-height: 360px; }
.mock-side {
  background: #fafafb;
  border-right: 1px solid var(--rule);
  padding: 18px 14px;
  font-size: 13px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.mock-side .item {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 10px;
}
.mock-side .item.on {
  background: var(--ink);
  color: #fff;
  position: relative;
}
.mock-side .item.on::before {
  content: "";
  position: absolute;
  left: -14px; top: 0; bottom: 0;
  width: 3px; background: var(--purple-600);
}
.mock-side .item .ic { width: 14px; height: 14px; background: currentColor; opacity: 0.6; mask: linear-gradient(#000,#000); -webkit-mask: linear-gradient(#000,#000); border-radius: 2px; flex-shrink: 0; }
.mock-main { padding: 18px 22px; position: relative; }
.mock-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.mock-check {
  width: 16px; height: 16px; border: 1.5px solid var(--rule-strong); border-radius: 3px; flex-shrink: 0;
}
.mock-row .ln { height: 8px; background: var(--bg-alt2); border-radius: 3px; flex: 1; }
.mock-row .ln.sm { max-width: 120px; }
.mock-row .ln.lg { max-width: 220px; }
.mock-dialog {
  position: absolute;
  right: 18px; top: 60px;
  width: 260px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(20,20,40,0.18);
  border: 1px solid var(--rule);
  padding: 18px;
}
.mock-dialog h5 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.mock-dialog .fl { font-size: 10px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.mock-dialog .fi {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 7px 10px;
  margin-bottom: 12px;
  font-size: 13px;
}
.mock-dialog .fi .av {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, #f7c59f, #e07a5f);
}
.mock-dialog .fi .x {
  margin-left: auto; color: var(--ink-mute); font-size: 14px;
}
.mock-dialog .actions {
  display: flex; gap: 8px; justify-content: flex-end;
  margin-top: 4px;
}
.mock-dialog .mini {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.mock-dialog .mini.cancel { color: var(--ink-soft); }
.mock-dialog .mini.sign { background: var(--purple-600); color: #fff; }

/* Time-savings card variant (replaces sign-off dialog) */
.mock-dialog.ts-card {
  width: 340px;
  padding: 18px 20px 20px;
}
.ts-card .ts-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.ts-card .ts-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.ts-card .ts-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--purple-600);
  line-height: 1;
}
.ts-card .ts-unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}
.ts-card .ts-rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 14px;
}
.ts-card .ts-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.ts-card .ts-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}
.ts-card .ts-legend {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.ts-card .ts-legend li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ts-card .sw {
  width: 14px; height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 1px;
}
.ts-card .sw-green { background: #7df0a8; }
.ts-card .sw-purple { background: #5b2db8; }
.ts-card .sw-blue { background: #8ac6ea; }
.ts-card .ts-chart {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.ts-card .ts-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(20,20,40,0.06);
  white-space: nowrap;
}
.ts-card .ts-tag-top { top: 2px; right: -24px; }
.ts-card .ts-tag-bot { bottom: -4px; right: -10px; }
.mock-badge {
  position: absolute;
  right: -16px; bottom: -18px;
  background: #fff;
  border: 1px solid var(--purple-600);
  color: var(--purple-600);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(74,43,174,0.25);
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .mock-window { right: 0; }
  .hero-mock { min-height: 340px; }
}

/* ------- TRUST SECTION (logos on light) ------- */
.trust {
  padding: 100px 0 180px;
  text-align: center;
  position: relative;
}
.trust-frame {
  position: relative;
  max-width: 720px;
  margin: 40px auto;
  padding: 50px 60px 50px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20,20,40,0.06);
  border-radius: 6px;
  z-index: 2;
}
.trust-pill {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.trust h2 {
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}
.trust p {
  color: var(--ink-mute);
  font-size: 16px;
  max-width: 48ch;
  margin: 0 auto 30px;
}
.trust-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.trust-logos {
  display: block;
  text-align: center;
}
.trust-logos img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: grayscale(1) brightness(0.25) contrast(1.6);
  opacity: 0.85;
}
.trust-logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trust-logo.l1 { color: #0b2e86; font-style: italic; }
.trust-logo.l2 { color: #d83636; }
.trust-logo.l3 { color: #0f3a72; }
.trust-logo.l4 { color: #5a1a6b; font-family: serif; font-weight: 700; }
.trust-logo span { font-size: 12px; display: block; letter-spacing: 0.2em; text-align: center; margin-top: 2px; font-weight: 500; color: inherit; }

/* decorative image cards behind trust frame */
.trust .container { position: relative; }
.trust-scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.trust-photo {
  position: absolute;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(20,20,40,0.12);
}
/* Photos scattered around the centered frame; mostly visible with slight overlap behind */
.trust-photo.p1 { top: -30px;    left: -40px;   width: 340px; height: 230px; transform: rotate(-2deg); }
.trust-photo.p2 { top: -10px;    right: -40px;  width: 320px; height: 220px; transform: rotate(2.5deg); }
.trust-photo.p3 { bottom: -90px; left: 0;       width: 340px; height: 220px; transform: rotate(-1deg); }
.trust-photo.p4 { bottom: -80px; right: 0;      width: 330px; height: 220px; transform: rotate(2deg); }


@media (max-width: 900px) {
  .trust-frame { padding: 32px 24px; }
  .trust-logos img { max-width: 100%; }
  .trust-scatter { display: none; }
}

/* ------- PLATFORM (why qualitum) ------- */
.section { padding: 110px 0; position: relative; }
.section-pill {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.section-head-center { text-align: center; margin-bottom: 60px; }
.section-head-center h2 {
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-head-center p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 58ch;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
  align-items: stretch;
}
.split-card {
  border-radius: 14px;
  padding: 40px 36px;
  background: #fff;
  border: 1px solid var(--rule);
  min-height: 440px;
  display: flex; flex-direction: column;
}
.split-card .glyph {
  width: 34px; height: 34px; margin-bottom: 26px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
}
.split-card .glyph span { background: var(--purple-600); border-radius: 1px; }
.split-card h3 {
  font-weight: 600;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.split-card > p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 34ch;
}
.split-card .placeholder {
  margin-top: auto;
  aspect-ratio: 16/10;
  border-radius: 10px;
  background:
    radial-gradient(circle at 75% 30%, rgba(125, 240, 168, 0.25), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(138, 92, 246, 0.18), transparent 60%),
    linear-gradient(180deg, #eef2f8, #d6dde8);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.split-card .placeholder img {
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
}
.split-card .placeholder:not(:has(img))::after {
  content: "lab photo";
  position: absolute;
  bottom: 10px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(20,20,40,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.split-card.dark {
  background: var(--purple-900);
  color: var(--on-dark);
  border: none;
  overflow: hidden;
  position: relative;
}
.split-card.dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 400px at 90% 90%, rgba(58,224,200,0.25), transparent 60%),
    linear-gradient(115deg, transparent 50%, rgba(138,92,246,0.22) 60%, transparent 72%);
  pointer-events: none;
}
.split-card.dark > * { position: relative; z-index: 2; }
.split-card.dark h3 {
  color: var(--on-dark);
  font-size: 44px;
  line-height: 1.05;
  max-width: 14ch;
}
.split-card.dark > p {
  color: var(--on-dark-mute);
  max-width: 48ch;
  font-size: 17px;
}
.split-card.dark .product-mock {
  margin-top: auto;
  position: relative;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 0;
  min-height: 280px;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.15);
}
/* Underlying app UI */
.split-card.dark .pm-app {
  display: grid;
  grid-template-columns: 132px 1fr;
  height: 100%;
  min-height: 280px;
  font-family: 'DM Sans', sans-serif;
}
.split-card.dark .pm-sidebar {
  background: #fafbfc;
  border-right: 1px solid var(--rule);
  padding: 14px 10px;
}
.split-card.dark .pm-logo {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding: 0 4px;
}
.split-card.dark .pm-logo-dot {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--purple-600);
  position: relative;
}
.split-card.dark .pm-logo-dot::after {
  content: ""; position: absolute;
  inset: 3px;
  border: 1.5px solid var(--teal-mint);
  border-radius: 2px;
}
.split-card.dark .pm-nav {
  display: flex; flex-direction: column; gap: 2px;
}
.split-card.dark .pm-nav-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--ink-soft);
  padding: 6px 8px;
  border-radius: 5px;
  cursor: default;
}
.split-card.dark .pm-nav-item svg { width: 12px; height: 12px; flex-shrink: 0; }
.split-card.dark .pm-nav-item.active {
  background: var(--purple-600);
  color: #fff;
  font-weight: 500;
}
.split-card.dark .pm-main {
  padding: 14px 16px;
  min-width: 0;
}
.split-card.dark .pm-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}
.split-card.dark .pm-title {
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.split-card.dark .pm-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px;
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
}
.split-card.dark .pm-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: pm-pulse 1.6s ease-in-out infinite;
}
@keyframes pm-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.08); }
}
.split-card.dark .pm-table {
  display: flex; flex-direction: column; gap: 6px;
}
.split-card.dark .pm-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: #fafbfc;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 10.5px;
}
.split-card.dark .pm-row.muted { opacity: 0.55; }
.split-card.dark .pm-row-label {
  display: flex; align-items: center; gap: 7px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.split-card.dark .pm-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(106, 63, 214, 0.1);
  color: var(--purple-600);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.split-card.dark .pm-progress {
  height: 5px;
  background: rgba(106,63,214,0.1);
  border-radius: 3px;
  overflow: hidden;
  min-width: 40px;
}
.split-card.dark .pm-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-600), var(--teal-mint));
  border-radius: 3px;
  transition: width 0.6s ease;
}
.split-card.dark .pm-bar.pending {
  background: var(--rule-strong);
}
.split-card.dark .pm-row-meta {
  font-size: 9.5px;
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

/* Overlay floating cards */
.split-card.dark .pm-overlay {
  position: absolute;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 32px -8px rgba(10,10,40,0.28), 0 2px 6px rgba(10,10,40,0.08);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  z-index: 3;
}
.split-card.dark .pm-overlay-1 {
  top: 30px; right: 14px;
  padding: 12px 14px;
  min-width: 168px;
  transform: rotate(2deg);
  border: 1px solid var(--rule);
}
.split-card.dark .pm-ov-label {
  font-size: 10px;
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.split-card.dark .pm-ov-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.split-card.dark .pm-ov-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--purple-600);
  letter-spacing: -0.02em;
  line-height: 1;
}
.split-card.dark .pm-ov-trend {
  font-size: 10.5px;
  color: #22c55e;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.split-card.dark .pm-ov-spark {
  display: block;
  width: 100%;
  height: 22px;
}
.split-card.dark .pm-overlay-2 {
  bottom: 18px; left: 16px;
  padding: 10px 12px;
  min-width: 220px;
  transform: rotate(-1.5deg);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 10px;
}
.split-card.dark .pm-ov-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.split-card.dark .pm-ov-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-mint);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.split-card.dark .pm-ov-avatar svg { width: 16px; height: 16px; }
.split-card.dark .pm-ov-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.split-card.dark .pm-ov-title strong { font-weight: 700; color: var(--purple-600); }
.split-card.dark .pm-ov-sub {
  font-size: 9.5px;
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}
.split-card.dark .pm-ov-chip {
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(125, 240, 168, 0.25);
  color: #0a7a3a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .split-card.dark .pm-overlay-1 { right: 8px; top: 16px; min-width: 140px; }
  .split-card.dark .pm-overlay-2 { left: 8px; bottom: 10px; min-width: 180px; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split-card { min-height: auto; }
}

/* ------- 3 CARDS (systems) ------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card-3 {
  padding: 32px 28px 28px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  min-height: 340px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card-3:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(20,20,40,0.06); }
.card-3 .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--purple-600);
  margin-bottom: 20px;
}
.card-3 h4 {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--ink);
}
.card-3 p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.card-3 .go {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  color: var(--purple-600);
}
.card-3 .go .arr { transition: transform 0.2s; }
.card-3:hover .go .arr { transform: translateX(4px); }
@media (max-width: 880px) { .cards-3 { grid-template-columns: 1fr; } }

/* ------- USE CASES (tabs + media) ------- */
.section.alt { background: var(--bg-alt); }
.uc-tabs {
  display: flex; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.uc-tab {
  padding: 10px 20px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  transition: all 0.2s;
}
.uc-tab:hover { border-color: var(--purple-600); color: var(--purple-600); }
.uc-tab.active {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-600);
}
.uc-panel { display: none; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.uc-panel.active { display: grid; }
.uc-copy .kick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--purple-600);
  letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 14px;
}
.uc-copy h3 {
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em; line-height: 1.12;
  margin-bottom: 14px;
  color: var(--ink);
}
.uc-copy > p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 22px;
}
.uc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.uc-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 24px;
}
.uc-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink);
}
.uc-list li .icn {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 2px;
  color: var(--purple-600);
}
.uc-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--purple-600);
  color: #fff;
  font-weight: 600; font-size: 14px;
  border-radius: 999px;
  transition: background 0.2s;
}
.uc-cta:hover { background: var(--purple-700); }
.uc-media {
  aspect-ratio: 5/4;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(20,20,40,0.04), rgba(20,20,40,0.1));
}
.uc-media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(106,63,214,0.18) 0 12px, rgba(106,63,214,0.06) 12px 24px);
}
.uc-media::after {
  content: attr(data-label);
  position: absolute;
  bottom: 16px; left: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(20,20,40,0.6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  padding: 4px 10px;
  border-radius: 4px;
}
.uc-media .corner {
  position: absolute;
  width: 80px; height: 80px;
  background: var(--teal);
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.9;
}
.uc-media .corner.tl { top: -20px; left: -20px; background: var(--teal); }
.uc-media .corner.br {
  bottom: 0; right: 0;
  width: 140px; height: 140px;
  background: var(--purple-900);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  border-radius: 0;
}

@media (max-width: 900px) {
  .uc-panel.active { grid-template-columns: 1fr; gap: 28px; }
  .uc-media { aspect-ratio: 4/3; }
}

/* ------- USE-CASE CARDS (horizontal carousel) ------- */
.uc-cards-head {
  margin-top: 100px;
  padding-top: 64px;
  border-top: 1px solid var(--rule);
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.uc-cards-head h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.uc-carousel-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.uc-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.uc-nav svg { width: 18px; height: 18px; }
.uc-nav:hover:not(:disabled) {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-600);
}
.uc-nav:disabled { opacity: 0.35; cursor: default; }
.uc-cards-viewport {
  overflow: hidden;
}
.uc-cards {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.uc-cards::-webkit-scrollbar { display: none; }
.uc-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--rule);
  overflow: hidden;
  min-height: 360px;
  flex: 0 0 min(880px, 88%);
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.uc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(20,20,40,0.12);
}
.uc-card-copy {
  padding: 48px 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.uc-card-copy > p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
  max-width: 44ch;
}
.uc-card-kick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-600);
  font-weight: 600;
  margin-bottom: -4px;
}
.uc-card h3 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 14ch;
  margin: 0;
}
.uc-card-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--purple-600);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.uc-card-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--purple-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.uc-card-arrow svg { width: 16px; height: 16px; }
.uc-card-cta:hover .uc-card-arrow {
  background: var(--purple-700);
  transform: translateX(2px);
}
.uc-card-img {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.uc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .uc-card { grid-template-columns: 1fr; min-height: 0; }
  .uc-card-copy { padding: 36px 32px 32px; }
  .uc-card-img { aspect-ratio: 16/10; }
}

/* ------- RATINGS DARK ------- */
.ratings {
  padding: 0 20px 20px;
}
.ratings-dark {
  position: relative;
  border-radius: 10px;
  background: var(--purple-900);
  color: var(--on-dark);
  padding: 100px 44px;
  overflow: hidden;
}
.ratings-dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, transparent 40%, rgba(138,92,246,0.2) 52%, transparent 65%),
    linear-gradient(-70deg, transparent 45%, rgba(58,224,200,0.12) 55%, transparent 65%);
  pointer-events: none;
}
.ratings-dark::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.ratings-inner { position: relative; z-index: 2; }
.ratings-pill {
  display: block;
  width: fit-content;
  margin: 0 auto 50px;
  padding: 7px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 13px;
}
.ratings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.rating-icon {
  width: 42px; height: 42px;
  margin-bottom: 18px;
}
.rating-num {
  font-weight: 400;
  font-size: clamp(60px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--teal-mint);
  margin-bottom: 10px;
}
.rating-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--teal-mint);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.rating-desc {
  color: var(--on-dark-mute);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 28ch;
}
@media (max-width: 800px) { .ratings-grid { grid-template-columns: 1fr; gap: 40px; } .ratings-dark { padding: 70px 28px; } }

/* ------- CASE STUDIES ------- */
.case {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.case-copy .kick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.25em;
  color: var(--purple-600); text-transform: uppercase;
  margin-bottom: 18px;
}
.case-copy h3 {
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 16ch;
}
.case-copy > p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 26px;
}
.uc-kind-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 12px; }
.case-uses {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
}
.case-uses li {
  display: flex; gap: 12px; align-items: center;
  font-size: 15px;
}
.case-uses li .mk {
  width: 18px; height: 18px;
  color: var(--purple-600);
}
.case-media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(106,63,214,0.15) 0 12px, rgba(106,63,214,0.05) 12px 24px),
    linear-gradient(135deg, #d8c7f0, #6a3fd6);
}
.case-media::after {
  content: "manufacturing photo";
  position: absolute;
  bottom: 14px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.case-media .blob {
  position: absolute;
  bottom: -30px; left: -40px;
  width: 220px; height: 220px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.85;
}
.case-media .triangle {
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-bottom: 80px solid var(--purple-900);
}
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 34px; } }

/* ------- vs / DIFFERENTIATION table ------- */
#vs { padding: 80px 0; }
#vs .section-head-center { margin-bottom: 36px; }
#vs .vs-intro { margin-bottom: 24px; }
.vs-intro {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 68ch;
  margin: 0 auto 44px;
  text-align: center;
  line-height: 1.55;
}
.vs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rule);
  font-size: 14.5px;
}
.vs-table th, .vs-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.vs-table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  background: var(--bg-alt);
}
.vs-table th.us { color: var(--purple-600); background: var(--bg-alt); }
.vs-table td.us {
  background: rgba(106,63,214,0.05);
  color: var(--ink);  border-left: 2px solid var(--purple-600);
  border-right: 2px solid var(--purple-600);
}
.vs-table td.us strong { font-weight: 600; }
.vs-table td.us {
  position: relative;
  padding-left: 54px !important;
}
.vs-table td.us::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--purple-600);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3 3 7-7.5' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.vs-table td.dim { color: var(--ink-mute); }
.vs-table tbody tr:last-child td { border-bottom: none; }
.vs-table tbody tr:last-child td.us { border-bottom: 2px solid var(--purple-600); }
.vs-table .feat { font-weight: 600; color: var(--ink); }

/* ------- PRIVATE AI ------- */
.pai {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.pai-media {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--purple-900);
  color: var(--on-dark);
  padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.pai-media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 400px at 10% 100%, rgba(58,224,200,0.28), transparent 55%),
    linear-gradient(135deg, transparent 45%, rgba(138,92,246,0.3) 55%, transparent 70%);
}
.pai-media > * { position: relative; z-index: 2; }
.pai-media .shield {
  width: 96px; height: 96px;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pai-media .shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pai-media h4 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.pai-media .stamps {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.pai-media .stamp {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.pai-copy .kick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.25em;
  color: var(--purple-600); text-transform: uppercase;
  margin-bottom: 16px;
}
.pai-copy h3 {
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--ink);
}
.pai-copy > p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 30px;
}
.pai-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.pai-check {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.pai-check .lab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--purple-600);
  margin-bottom: 6px;
}
.pai-check h5 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink);
}
.pai-check p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) {
  .pai { grid-template-columns: 1fr; }
  .pai-checks { grid-template-columns: 1fr; }
}

/* ------- INTEGRATIONS scroller ------- */
.integ-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-snap-type: x proximity;
}
.integ-scroll::-webkit-scrollbar { height: 6px; }
.integ-scroll::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }
.integ-card {
  flex: 0 0 280px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.integ-card:hover { border-color: var(--purple-600); transform: translateY(-2px); }
.integ-card .cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--purple-600); text-transform: uppercase;
}
.integ-card h5 {
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.01em; color: var(--ink);
  margin: 4px 0;
}
.integ-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ------- QUOTE ------- */
.quote-band {
  padding: 110px 0;
  background: var(--bg-alt);
}
.quote {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  align-items: start;
}
.quote-portrait {
  width: 140px; height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, #e8ddce, #c8a888 55%, #8c6b4c 100%);
  position: relative;
  overflow: hidden;
}
.quote-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.quote-portrait:has(img)::after { display: none; }
.quote-portrait::after {
  content: "portrait";
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
blockquote {
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 24px;
}
blockquote .hl { color: var(--purple-600); }
.quote-attr {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-soft);
}
.quote-attr strong { color: var(--ink); font-weight: 600; }
@media (max-width: 700px) { .quote { grid-template-columns: 1fr; } .quote-portrait { width: 96px; height: 96px; } }

/* ------- REGULATORY ------- */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.reg-cell {
  padding: 30px 24px;
  border-right: 1px solid var(--rule);
}
.reg-cell:last-child { border-right: none; }
.reg-cell .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--purple-600);
  margin-bottom: 14px;
}
.reg-cell h5 {
  font-weight: 600; font-size: 17px;
  color: var(--ink); margin-bottom: 10px;
}
.reg-cell p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 900px) {
  .reg-grid { grid-template-columns: repeat(2, 1fr); }
  .reg-cell { border-bottom: 1px solid var(--rule); }
  .reg-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 520px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-cell { border-right: none; }
}

/* ------- CTA BAND ------- */
.cta-band {
  padding: 0 20px 20px;
}
.cta-inner {
  background: var(--purple-900);
  color: var(--on-dark);
  border-radius: 10px;
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 50% 100%, rgba(58,224,200,0.2), transparent 60%),
    linear-gradient(110deg, transparent 40%, rgba(138,92,246,0.2) 55%, transparent 70%);
}
.cta-inner > * { position: relative; z-index: 2; }
.cta-inner h2 {
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
}
.cta-inner h2 .hl { color: var(--teal-mint); }
.cta-inner p {
  color: var(--on-dark-mute);
  font-size: 17px;
  max-width: 52ch;
  margin: 0 auto 32px;
}
.cta-inner .pill-cta { background: var(--teal-mint); color: var(--ink); }

/* ------- METRICS BAND ------- */
.metrics-band {
  background: #0a0a1a;
  color: var(--on-dark);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.metrics-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.metrics-band > .container { position: relative; z-index: 2; }
.metrics-head {
  margin-bottom: 80px;
}
.metrics-head h2 {
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--on-dark);
  max-width: 28ch;
}
.metrics-head h2 .hl { color: var(--teal); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin-bottom: 72px;
}
.metric-num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(72px, 8vw, 120px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--on-dark);
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
}
.metric-num sup {
  color: var(--teal);
  font-size: 0.28em;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: top;
  top: 0.4em;
  position: relative;
  margin-left: 2px;
}
.metric-rule {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin-bottom: 20px;
}
.metric p {
  color: var(--on-dark-mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 32ch;
}
.metrics-cta {
  display: flex;
  justify-content: flex-start;
}
.metrics-band .pill-cta { background: var(--teal-mint); color: var(--ink); }

@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: 1fr; gap: 48px; }
  .metrics-head { margin-bottom: 56px; }
}

/* ------- FOOTER ------- */
footer {
  background: var(--purple-900);
  color: var(--on-dark-mute);
  padding: 70px 0 32px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, transparent 65%, rgba(138,92,246,0.12) 75%, transparent 85%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  height: 56px;
  width: 170px;
  min-width: 170px;
  flex: 0 0 170px;
  margin-bottom: 14px;
}
.footer-brand img {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.footer-tag {
  max-width: 34ch;
  color: var(--on-dark-mute);
  line-height: 1.5;
}
.footer-col h6 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { transition: color 0.2s; color: var(--on-dark-mute); }
.footer-col a:hover { color: var(--teal-mint); }
.footer-rule {
  border-top: 1px solid var(--rule-dark);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--on-dark-soft);
  position: relative; z-index: 2;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: span 2; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* CTA-band secondary email link */
.cta-band .cta-or {
  margin-top: 14px;
  font-size: 13px;
  color: var(--on-dark-mute);
  font-family: 'JetBrains Mono', monospace;
}
.cta-band .cta-or a {
  color: var(--teal-mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-band .cta-or a:hover { color: #fff; }


/* =========================================================================
   Subpage (platform / use-case) patterns
   ========================================================================= */

/* Compact subpage hero — same purple card, shorter, 2-column flex */
.hero-dark.subpage {
  min-height: 0;
  padding: 0 0 64px;
}
.hero-dark.subpage .hero-inner {
  display: block;
  padding: 20px 44px 0;
}
.hero-dark.subpage .sub-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 20px;
}
@media (max-width: 900px) {
  .hero-dark.subpage .sub-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-dark.subpage .hero-inner { padding: 20px 24px 0; }
}
.hero-dark.subpage .hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--teal-mint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.hero-dark.subpage .hero-kicker .kdot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-mint);
  box-shadow: 0 0 0 4px rgba(125,240,168,0.2);
}
.hero-dark.subpage .hero-title {
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 20px;
}
.hero-dark.subpage .hero-lede {
  font-size: 18px;
  color: var(--on-dark-mute);
  max-width: 560px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.hero-dark.subpage .hero-artifact {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--on-dark-mute);
  margin-bottom: 28px;
}
.hero-dark.subpage .hero-artifact .hl {
  color: var(--teal-mint);
  font-weight: 600;
}

/* Right-side hero artifact card (document-style mock) */
.sub-hero-artifact {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.4);
  overflow: hidden;
  color: var(--ink);
  transform: rotate(0.5deg);
  position: relative;
  font-family: 'DM Sans', sans-serif;
}
.sub-hero-artifact::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(125,240,168,0.3), transparent 30%, transparent 70%, rgba(138,92,246,0.25));
  mix-blend-mode: screen;
  z-index: 2;
}
.sub-hero-artifact-inner {
  position: relative;
  z-index: 1;
  padding: 20px 22px;
}
.sub-hero-artifact .doc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
.sub-hero-artifact .doc-title {
  font-size: 14px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.sub-hero-artifact .doc-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
  padding: 3px 8px;
  background: var(--bg-alt);
  border-radius: 4px;
}
.sub-hero-artifact .doc-rows { display: flex; flex-direction: column; gap: 10px; }
.sub-hero-artifact .doc-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: var(--bg-alt);
  border-radius: 6px;
  font-size: 11.5px;
}
.sub-hero-artifact .doc-row .doc-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(106,63,214,0.12);
  color: var(--purple-600);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
}
.sub-hero-artifact .doc-row .doc-label { color: var(--ink); }
.sub-hero-artifact .doc-row .doc-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--ink-soft);
}
.sub-hero-artifact .doc-row.ok { background: rgba(125,240,168,0.18); }
.sub-hero-artifact .doc-row.ok .doc-meta { color: #0a7a3a; font-weight: 600; }
.sub-hero-artifact .doc-caption {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
  line-height: 1.45;
}
.sub-hero-artifact .doc-caption strong { color: var(--purple-600); font-weight: 700; }

/* How it works — numbered monospace steps */
.how-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 1000px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .how-steps { grid-template-columns: 1fr; }
}
.how-step {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px 18px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.how-step:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.how-step .num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--purple-600);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  font-weight: 600;
}
.how-step h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--ink);
}
.how-step p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Inputs / Outputs panel */
.io-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px 30px;
}
@media (max-width: 860px) {
  .io-panel { grid-template-columns: 1fr; gap: 20px; }
  .io-arrow { display: none; }
}
.io-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 500;
}
.io-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.io-col li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--ink);
}
.io-col li svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--purple-600); }
.io-col.out li svg { color: var(--teal-mint-dark, #0a7a3a); }
.io-arrow {
  align-self: center;
  display: flex; flex-direction: column; align-items: center;
  color: var(--purple-600);
}
.io-arrow svg { width: 36px; height: 36px; }
.io-arrow .arrow-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Compliance band */
.comply-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 860px) { .comply-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .comply-band { grid-template-columns: 1fr; } }
.comply-cell {
  padding: 18px 18px 20px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  border-left: 3px solid var(--purple-600);
}
.comply-cell .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--purple-600);
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 8px;
}
.comply-cell h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.comply-cell p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Proof — big quote-style panel */
.proof-panel {
  margin-top: 40px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 14px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .proof-panel { grid-template-columns: 1fr; padding: 30px 28px; }
}
.proof-panel .proof-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--teal-mint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.proof-panel h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 18px;
}
.proof-panel p {
  font-size: 14.5px;
  color: var(--on-dark-mute);
  line-height: 1.55;
  margin-bottom: 16px;
}
.proof-panel .proof-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  padding-top: 20px; border-top: 1px solid var(--rule-dark);
}
.proof-panel .proof-stat .n {
  font-size: 30px; font-weight: 700; color: var(--teal-mint);
  letter-spacing: -0.02em; line-height: 1;
}
.proof-panel .proof-stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--on-dark-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}
.proof-panel .proof-media {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule-dark);
  border-radius: 10px;
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--on-dark-mute);
  line-height: 1.55;
}
.proof-panel .proof-media .ln { display: block; padding: 4px 0; }
.proof-panel .proof-media .ln.c1 { color: var(--teal-mint); }
.proof-panel .proof-media .ln.c2 { color: rgba(255,255,255,0.88); }
.proof-panel .proof-media .ln.c3 { color: var(--violet); }

/* Artifact showcase: side-by-side agent chat + doc */
.artifact-show {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  margin-top: 40px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 18px 46px -20px rgba(10,10,40,0.15);
}
@media (max-width: 900px) { .artifact-show { grid-template-columns: 1fr; } }
.artifact-chat {
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13px;
}
.artifact-chat .c-turn {
  padding: 10px 12px;
  border-radius: 8px;
  max-width: 88%;
  line-height: 1.45;
}
.artifact-chat .c-turn.user {
  align-self: flex-end;
  background: var(--purple-600);
  color: #fff;
  font-weight: 500;
}
.artifact-chat .c-turn.agent {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--ink);
}
.artifact-chat .c-turn.agent .c-src {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
  margin-top: 6px;
}
.artifact-doc {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 320px;
  position: relative;
}
.artifact-doc .doc-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.artifact-doc .doc-hdr h4 {
  font-size: 15px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.artifact-doc .doc-hdr .doc-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--teal-mint-dark, #0a7a3a);
  background: rgba(125,240,168,0.25);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.artifact-doc .doc-section { margin-top: 6px; }
.artifact-doc .doc-section-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.artifact-doc .doc-section p {
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.5;
}
.artifact-doc .doc-table {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 4px;
}
.artifact-doc .doc-table > div {
  padding: 6px 10px;
  font-size: 11.5px;
  border-bottom: 1px solid var(--rule);
}
.artifact-doc .doc-table > div:nth-last-child(-n+3) { border-bottom: 0; }
.artifact-doc .doc-table .th {
  background: var(--bg-alt);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.artifact-doc .doc-table .chk { color: var(--purple-600); font-weight: 600; }

/* Use-case routing tiles */
.route-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 860px) { .route-tiles { grid-template-columns: 1fr; } }
.route-tile {
  display: block;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px 26px 26px;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.route-tile:hover {
  border-color: var(--purple-600);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(106,63,214,0.25);
}
.route-tile .rt-kick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--purple-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.route-tile h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.route-tile p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}
.route-tile .rt-artifact {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-mute);
  padding: 5px 9px;
  background: var(--bg-alt);
  border-radius: 5px;
}
.route-tile .rt-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  color: var(--purple-600);
  font-weight: 600;
  font-size: 13.5px;
}
.route-tile .rt-cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.route-tile:hover .rt-cta svg { transform: translateX(3px); }

/* FAQ accordion pattern */
.faq-list {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "";
  width: 14px; height: 14px;
  border-right: 2px solid var(--ink-mute);
  border-bottom: 2px solid var(--ink-mute);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-right: 6px;
  margin-top: -4px;
}
details[open] > .faq-q::after,
.faq-item.open > .faq-q::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.faq-a {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 820px;
}

/* Three-panel honest comparison (old way / Kneat way / Qualitum way) */
.three-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 900px) { .three-panel { grid-template-columns: 1fr; } }
.three-panel .tp-cell {
  padding: 24px 24px 28px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--bg);
}
.three-panel .tp-cell.us {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}
.three-panel .tp-cell .tp-kick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.three-panel .tp-cell.us .tp-kick { color: var(--teal-mint); }
.three-panel .tp-cell h4 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}
.three-panel .tp-cell.us h4 { color: var(--on-dark); }
.three-panel .tp-cell p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.three-panel .tp-cell.us p { color: var(--on-dark-mute); }

/* Scope chip-list */
.scope-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
}
.scope-chips .chip {
  padding: 7px 12px;
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
}
.scope-chips .chip.on {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}

/* Subpage section header — left aligned with kicker */
.sec-head-left {
  margin-bottom: 18px;
  max-width: 760px;
}
.sec-head-left .kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--purple-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.sec-head-left h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.sec-head-left p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 680px;
}

/* =========================================================================
   MOBILE OVERHAUL — single source of truth for phones/tablets.
   Desktop above is untouched; everything here is breakpoint-gated.
   ========================================================================= */

/* ---------- TABLET & BELOW (<= 960px) ---------- */
@media (max-width: 960px) {
  .container { width: min(1200px, 92vw); }

  /* Section rhythm: cut the 110px spacing roughly in half. */
  .section { padding: 72px 0; }
  .trust { padding: 64px 0 72px; }
  .quote-band { padding: 72px 0; }
  #vs { padding: 56px 0; }

  /* Hero card side padding */
  .hero-wrap { padding: 0 14px 14px; }
  .hero-dark { min-height: 0; }
  .main-nav { padding: 18px 22px; gap: 16px; }
  .hero-inner { padding: 24px 22px 48px; gap: 28px; }

  /* Section heads */
  .section-head-center { margin-bottom: 40px; }
  .section-head-center h2 { font-size: clamp(28px, 5.2vw, 40px); }
  .section-head-center p  { font-size: 16px; }

  /* CTA band */
  .cta-band { padding: 0 14px 14px; }
  .cta-inner { padding: 64px 26px; }
  .cta-inner h2 { font-size: clamp(30px, 6vw, 48px); }
  .cta-inner p { font-size: 16px; }

  /* Metrics */
  .metrics-band { padding: 72px 0 80px; }
  .metrics-head { margin-bottom: 48px; }
  .metrics-head h2 { font-size: clamp(26px, 5vw, 40px); }
  .metric-num { font-size: clamp(56px, 13vw, 96px); margin-bottom: 20px; }

  /* Ratings card */
  .ratings { padding: 0 14px 14px; }
  .ratings-dark { padding: 64px 28px; }
  .ratings-grid { gap: 40px; }
  .rating-num { font-size: clamp(56px, 14vw, 96px); }

  /* Footer */
  footer { padding: 56px 0 28px; }
  .footer-grid { gap: 32px; margin-bottom: 36px; }
}

/* ---------- PHONE (<= 720px) — the real fixes ---------- */
@media (max-width: 720px) {

  /* ===== NAV ===== */
  .util-nav { font-size: 12px; padding: 10px 0; }
  .util-nav-inner { gap: 14px; flex-wrap: wrap; justify-content: center; }

  .main-nav {
    padding: 16px 18px;
    gap: 10px;
  }
  .nav-end { gap: 10px; }
  .brand { height: 34px; width: 104px; min-width: 104px; flex: 0 0 104px; }
  .nav-right .pill-cta {
    padding: 6px 14px;
    font-size: 12.5px;
    gap: 6px;
  }
  /* Hide the avatars on the nav-pill on phones — keeps it compact */
  .nav-right .pill-cta .avatars { display: none; }

  /* ===== HERO ===== */
  .hero-wrap { padding: 0 10px 10px; }
  .hero-dark { border-radius: 14px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 24px 20px 40px;
    gap: 32px;
  }
  .hero-dark .vlines { display: none; }
  .hero-eyebrow { margin-bottom: 20px; font-size: 12.5px; padding: 5px 12px; }
  .hero-title {
    font-size: clamp(36px, 10vw, 52px);
    letter-spacing: -0.03em;
    line-height: 1.04;
    margin-bottom: 18px;
  }
  .hero-lede {
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 26px;
    max-width: 100%;
  }
  .hero-ctas { gap: 10px; }
  .hero-ctas .pill-cta, .hero-ctas .btn-ghost-dark {
    padding: 12px 22px;
    font-size: 14px;
  }
  .hero-ctas .pill-cta { padding: 8px 8px 8px 18px; }

  /* Hero mock: the big culprit. Transform it into a clean
     phone-sized card, strip the overhanging dialog, rebalance columns. */
  .hero-mock { min-height: 0; margin-top: 0; }
  .mock-window {
    position: relative;
    inset: auto;
    right: auto;
    left: auto;
    top: auto;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    border-radius: 12px;
    overflow: hidden;
  }
  .mock-body {
    grid-template-columns: 110px 1fr;
    min-height: 280px;
  }
  .mock-side {
    padding: 12px 8px;
    font-size: 11px;
    gap: 4px;
  }
  .mock-side .item { padding: 7px 8px; gap: 6px; }
  .mock-side .item.on::before { left: -8px; }
  .mock-main { padding: 14px 14px; }
  .mock-row { padding: 8px 0; }
  .mock-row .ln.sm { max-width: 60px; }
  .mock-row .ln.lg { max-width: 120px; }

  /* Time-savings card overlay — make it inline/smaller on phones so it
     doesn't overflow. Float it at the bottom-right, scaled to content. */
  .mock-dialog.ts-card {
    width: calc(100% - 24px);
    right: 12px;
    left: 12px;
    top: auto;
    bottom: 12px;
    padding: 14px 16px 16px;
  }
  .mock-dialog.ts-card .ts-title { font-size: 18px; }
  .mock-dialog.ts-card .ts-num { font-size: 22px; }
  .mock-dialog.ts-card .ts-body { grid-template-columns: 1.2fr 1fr; gap: 8px; }
  .mock-dialog.ts-card .ts-tag { display: none; } /* overflowing tags */
  .mock-dialog.ts-card .ts-legend { font-size: 10.5px; gap: 8px; }

  .mock-badge { display: none; }

  /* Badges row smaller */
  .badges-row { gap: 8px; margin: 14px 0 22px; }
  .badge { width: 58px; }
  .trusted-label { font-size: 10px; }

  /* ===== TRUST ===== */
  .trust { padding: 48px 0 56px; }
  .trust-frame {
    padding: 28px 22px 32px;
    margin: 16px auto;
    box-shadow: 0 14px 30px rgba(20,20,40,0.06);
  }
  .trust-pill { font-size: 11.5px; padding: 6px 14px; margin-bottom: 18px; }
  .trust h2 { font-size: clamp(22px, 6vw, 32px); line-height: 1.15; margin-bottom: 12px; }
  .trust p { font-size: 15px; margin-bottom: 22px; }
  .trust-label { font-size: 10px; margin-bottom: 14px; letter-spacing: 0.2em; }
  .trust-logos img { filter: grayscale(1) brightness(0.35) contrast(1.5); opacity: 0.9; }

  /* ===== SPLIT / WHY (two big cards) ===== */
  .section { padding: 56px 0; }
  .split { gap: 14px; }
  .split-card { padding: 28px 22px; min-height: 0; border-radius: 12px; }
  .split-card h3 { font-size: 26px; margin-bottom: 10px; }
  .split-card > p { font-size: 15px; max-width: 100%; }
  .split-card.dark h3 { font-size: 28px; line-height: 1.1; max-width: 100%; }
  .split-card.dark > p { font-size: 15px; margin-bottom: 22px; }
  .split-card.dark .product-mock {
    min-height: 0;
    margin-top: 8px;
    border-radius: 12px;
  }
  .split-card.dark .pm-app { min-height: 0; height: auto; grid-template-columns: 98px 1fr; }
  .split-card.dark .pm-sidebar { padding: 10px 6px; }
  .split-card.dark .pm-logo { font-size: 10.5px; gap: 5px; margin-bottom: 10px; }
  .split-card.dark .pm-nav-item { font-size: 10px; padding: 5px 6px; gap: 6px; }
  .split-card.dark .pm-main { padding: 12px 12px; }
  .split-card.dark .pm-title { font-size: 12px; }
  .split-card.dark .pm-status { font-size: 9px; }
  .split-card.dark .pm-row { font-size: 10px; padding: 6px 8px; gap: 6px; }
  .split-card.dark .pm-pill { font-size: 8.5px; padding: 2px 5px; }
  .split-card.dark .pm-overlay-1 {
    position: static;
    transform: none;
    margin: 14px 12px 0;
    box-shadow: 0 8px 22px -10px rgba(10,10,40,0.18);
  }
  .split-card.dark .pm-overlay-2 {
    position: static;
    transform: none;
    margin: 8px 12px 12px;
    box-shadow: 0 8px 22px -10px rgba(10,10,40,0.18);
  }

  /* ===== 3-up cards ===== */
  .cards-3 { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .card-3 { min-height: 0; padding: 24px 22px 22px; }
  .card-3 h4 { font-size: 21px; }

  /* ===== USE CASES ===== */
  .uc-tabs { gap: 6px; margin-bottom: 26px; }
  .uc-tab { padding: 8px 14px; font-size: 13px; }
  .uc-panel.active { gap: 24px; }
  .uc-copy h3 { font-size: clamp(22px, 5.2vw, 30px); }
  .uc-copy > p { font-size: 15px; }
  .uc-list li { font-size: 14px; }
  .uc-cta { padding: 11px 20px; font-size: 13.5px; }

  .uc-cards-head { margin-top: 60px; padding-top: 40px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .uc-cards-head h3 { font-size: clamp(22px, 5.2vw, 32px); }
  .uc-carousel-nav { align-self: flex-end; }
  .uc-nav { width: 38px; height: 38px; }
  .uc-card { flex: 0 0 min(320px, 86%); grid-template-columns: 1fr; min-height: 0; border-radius: 12px; }
  .uc-card-copy { padding: 26px 22px 24px; gap: 12px; }
  .uc-card h3 { font-size: 24px; max-width: 100%; }
  .uc-card-copy > p { font-size: 14.5px; }
  .uc-card-img { aspect-ratio: 16/10; }

  /* ===== RATINGS ===== */
  .ratings { padding: 0 10px 10px; }
  .ratings-dark { padding: 48px 22px; border-radius: 14px; }
  .ratings-pill { margin: 0 auto 30px; font-size: 12px; }
  .ratings-grid { gap: 34px; }
  .rating-icon { width: 34px; height: 34px; margin-bottom: 12px; }
  .rating-num { font-size: clamp(48px, 14vw, 88px); }
  .rating-label { font-size: 13px; }
  .rating-desc { font-size: 14px; max-width: 100%; }

  /* ===== CASE / PAI ===== */
  .case { gap: 28px; }
  .case-copy h3 { font-size: clamp(22px, 5.2vw, 30px); max-width: 100%; }
  .pai { gap: 32px; }
  .pai-media { padding: 30px 26px; aspect-ratio: auto; }
  .pai-media .shield { width: 72px; height: 72px; }
  .pai-media h4 { font-size: 22px; max-width: 100%; }
  .pai-copy h3 { font-size: clamp(24px, 5.4vw, 36px); }

  /* ===== INTEGRATIONS ===== */
  .integ-card { flex: 0 0 230px; padding: 20px 18px; }

  /* ===== QUOTE ===== */
  .quote-band { padding: 56px 0; }
  blockquote { font-size: 20px; line-height: 1.35; }

  /* ===== VS TABLE ===== */
  .vs-table { font-size: 13px; display: block; overflow-x: auto; }
  .vs-table thead th, .vs-table th, .vs-table td { padding: 14px 14px; }
  .vs-table td.us { padding-left: 42px !important; }
  .vs-table td.us::before { left: 14px; top: 14px; width: 18px; height: 18px; background-size: 12px 12px; }

  /* ===== CTA BAND ===== */
  .cta-band { padding: 0 10px 10px; }
  .cta-inner { padding: 48px 22px; border-radius: 14px; }
  .cta-inner h2 { font-size: clamp(26px, 7vw, 40px); }
  .cta-inner p { font-size: 15px; }

  /* ===== METRICS ===== */
  .metrics-band { padding: 56px 0 64px; }
  .metrics-head { margin-bottom: 40px; }
  .metrics-head h2 { font-size: clamp(22px, 5.4vw, 32px); }
  .metrics-grid { gap: 36px; margin-bottom: 48px; }
  .metric-num { font-size: clamp(52px, 15vw, 88px); margin-bottom: 16px; }
  .metric p { font-size: 14.5px; max-width: 100%; }

  /* ===== FOOTER ===== */
  footer { padding: 44px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
  .footer-brand-col { grid-column: span 2; }
  .footer-brand { height: 44px; width: 140px; min-width: 140px; flex: 0 0 140px; }
  .footer-rule { font-size: 11px; gap: 10px; }

  /* ===== SUBPAGE HERO (platform/security/etc.) ===== */
  .hero-dark.subpage { padding: 0 0 40px; }
  .hero-dark.subpage .hero-inner { padding: 20px 20px 0; }
  .hero-dark.subpage .sub-hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; }
  .hero-dark.subpage .hero-title { font-size: clamp(30px, 8vw, 46px); margin-bottom: 14px; }
  .hero-dark.subpage .hero-lede { font-size: 16px; margin-bottom: 20px; }
  .sub-hero-artifact { transform: none; }
  .sub-hero-artifact-inner { padding: 16px 16px; }

  /* ===== HOW STEPS / COMPLY / ROUTE / THREE-PANEL ===== */
  .how-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .how-step { padding: 18px 16px; }
  .io-panel { padding: 22px 20px; margin-top: 28px; }
  .comply-band { margin-top: 28px; }
  .comply-cell { padding: 16px 16px 18px; }
  .route-tiles { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .route-tile { padding: 22px 22px 22px; }
  .route-tile h4 { font-size: 18px; }
  .three-panel { gap: 12px; margin-top: 24px; }
  .three-panel .tp-cell { padding: 20px 20px 22px; }

  /* ===== ARTIFACT SHOW / PROOF ===== */
  .artifact-show { padding: 14px; gap: 14px; margin-top: 28px; }
  .artifact-chat { padding: 12px; }
  .artifact-doc { padding: 16px 18px; min-height: 0; }
  .proof-panel { padding: 28px 22px; margin-top: 28px; gap: 24px; }
  .proof-panel h3 { font-size: clamp(20px, 5vw, 26px); }
  .proof-panel .proof-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .proof-panel .proof-stat .n { font-size: 26px; }

  /* ===== FAQ ===== */
  .faq-q { font-size: 16px; padding: 18px 4px; }
  .faq-a { font-size: 14.5px; }

  /* Scope chips */
  .scope-chips .chip { font-size: 12.5px; padding: 6px 10px; }

  /* Sec head left */
  .sec-head-left h2 { font-size: clamp(22px, 5.4vw, 32px); }
  .sec-head-left p { font-size: 15.5px; }
}

/* ---------- NARROW PHONE (<= 420px) ---------- */
@media (max-width: 420px) {
  .util-nav-inner { gap: 10px 14px; }
  .main-nav { padding: 14px 14px; }
  .brand { height: 30px; width: 92px; min-width: 92px; flex: 0 0 92px; }
  .nav-right .pill-cta { padding: 5px 12px; font-size: 12px; }

  .hero-title { font-size: clamp(32px, 10vw, 44px); }
  .hero-lede { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .pill-cta, .hero-ctas .btn-ghost-dark {
    justify-content: center;
    text-align: center;
  }

  .mock-body { grid-template-columns: 92px 1fr; }
  .mock-side { font-size: 10px; padding: 10px 6px; }
  .mock-side .item { padding: 6px 6px; font-size: 10px; }
  .mock-main { padding: 12px 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand-col { grid-column: auto; }
}
