:root {
  --navy: #0f2236;
  --ink: #0b1220;
  --text: #1f2937;
  --muted: #4b5563;
  --muted-2: #94a3b8;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --surface-2: #eef2f7;

  /* Three-family section palette (option 3: editorial structure, modern accents).
       Body defaults to paper; sections opt into slate, lavender, or pure white. */
  --paper: #faf8f4; /* warm offwhite — editorial / engagement / reading */
  --slate: #eef2f7; /* cool slate — data-heavy sections */
  --lavender: #f4f0fa; /* tinted lavender — brand / team */

  /* Slightly deeper warm tone for tiles/cards nested inside paper sections,
       so they don't read cool-on-warm. Sourced from the original Privlex brand
       spec's `sand`. */
  --paper-muted: #f1ece2;
  --hairline: #e5eaf0;
  --hairline-2: #d6dde5;

  /* Prism spectrum (brand) */
  --prism-1: #bf2bec; /* magenta */
  --prism-2: #7132d9; /* vivid violet */
  --prism-3: #752cda; /* vivid purple */
  --prism-4: #1443a0; /* deep blue */
  --prism-5: #2ea2d6; /* light cyan-blue */
  --prism-6: #1f86cc; /* mid blue */
  --prism-7: #3f357c; /* dark indigo */
  --prism-mid: #715998; /* muted purple, transition stop */

  /* Legal-domain accents — color encodes field of law */
  --cat-employment: #6366f1; /* Title VII, ADEA, GINA, NLRA, FLSA */
  --cat-credit: #10b981; /* ECOA, FCRA, SCRA, UDAAP */
  --cat-housing: #0ea5e9; /* Fair Housing Act */
  --cat-health: #db2777; /* ACA §1557, HIPAA */
  --cat-insurance: #14b8a6; /* CO SB21-169 / NAIC */
  --cat-privacy: #7c3aed; /* CCPA·ADMT, BIPA, COPPA */
  --cat-consumer: #ea580c; /* FTC §5 deception, FTC §5 unfair, Reviews Rule */
  --cat-speech: #dc2626; /* Defamation, Right of publicity */
  --cat-comms: #0891b2; /* TCPA, FDCPA, CAN-SPAM */
  --cat-access: #d97706; /* ADA Title III */
  --cat-public: #64748b; /* Title VI (federally funded) */
  --cat-ai: #e11d48; /* State AI laws */

  --gradient-prism: linear-gradient(
    90deg,
    var(--prism-5) 0%,
    var(--prism-6) 16%,
    var(--prism-4) 32%,
    var(--prism-7) 48%,
    var(--prism-mid) 60%,
    var(--prism-3) 72%,
    var(--prism-2) 86%,
    var(--prism-1) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.45em;
  font-weight: 600;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
em {
  font-style: italic;
  font-weight: inherit;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ===== Logo lockup ===== */
.logo-img {
  display: block;
  height: 32px;
  width: auto;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1320px;
  margin: 0 auto;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo .logo-img {
  height: 64px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:not(.btn):hover {
  color: var(--ink);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
    display: none;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links a:not(.btn):last-of-type {
    border-bottom: 0;
  }
  .nav-links a.btn {
    margin-top: 14px;
    text-align: center;
    justify-content: center;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  letter-spacing: -0.005em;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background-image: var(--gradient-prism);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: #fff;
  text-shadow: 0 1px 2px rgba(11, 18, 32, 0.22);
  border: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 1px 2px rgba(11, 18, 32, 0.18),
    0 4px 16px -6px rgba(117, 50, 217, 0.35);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 6px 14px -4px rgba(11, 18, 32, 0.22),
    0 10px 26px -6px rgba(191, 43, 236, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-2);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: black;
}
.btn-outline:hover {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient-prism) border-box;
  color: var(--ink);
}
.btn-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.18s;
}
.btn:hover .btn-arrow {
  transform: translateX(2px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
}
/* Prism photo as hero backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("prism-hero.png") center / cover no-repeat;
  z-index: -2;
  pointer-events: none;
}
/* Darker overlay so the white type reads. Heavier on the left
     where the headline lives, lighter on the right so the rainbow
     can carry. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 18, 32, 0.85) 0%,
    rgba(11, 18, 32, 0.72) 50%,
    rgba(11, 18, 32, 0.55) 100%
  );
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
}
.hero-copy {
  max-width: 720px;
}
.hero h1 {
  color: #fff;
}
.hero h1 em {
  color: #fff;
  font-style: italic;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.86) !important;
  max-width: 60ch !important;
}
/* Outline button needs to flip white on the dark hero */
.hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--prism-5);
  box-shadow: 0 0 0 3px rgba(46, 162, 214, 0.22);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(46, 162, 214, 0.22);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(46, 162, 214, 0.12);
  }
}
.hero h1 {
  margin: 0 0 22px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 0 32px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Hero preview (right column) ===== */
.hero-preview {
  position: relative;
  aspect-ratio: 1 / 0.95;
  max-width: 520px;
  margin-left: auto;
  width: 100%;
}
.preview-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow:
    0 24px 48px -16px rgba(11, 18, 32, 0.16),
    0 4px 12px -4px rgba(11, 18, 32, 0.06);
  font-size: 0.85rem;
}
.preview-card.stream {
  top: 0;
  left: 0;
  width: 78%;
  padding: 16px 18px;
  z-index: 2;
}
.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.preview-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--prism-5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.live-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--prism-5);
  box-shadow: 0 0 0 2px rgba(46, 162, 214, 0.28);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.stream-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.5;
  height: 132px; /* fixed: rows roll in/out without resizing */
  overflow: hidden;
  position: relative;
}
.stream-list li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--hairline);
  max-height: 38px;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.35s ease,
    padding 0.4s ease,
    border-color 0.4s ease;
  animation: row-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.stream-list li:last-child {
  border-bottom: 0;
}
.stream-list li.is-leaving {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes flag-pulse {
  0% {
    background: rgba(191, 43, 236, 0.05);
  }
  35% {
    background: rgba(191, 43, 236, 0.28);
  }
  100% {
    background: rgba(191, 43, 236, 0.05);
  }
}
.stream-list li.flagged.is-pulsing {
  animation:
    row-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    flag-pulse 0.9s ease-out 0.4s 1 both;
}
.stream-list li:last-child {
  border-bottom: 0;
}
.stream-list .ts {
  color: var(--muted-2);
  flex-shrink: 0;
}
.stream-list .agent {
  color: var(--prism-6);
}
.stream-list .call {
  color: var(--text);
}
.stream-list li.flagged {
  background: rgba(191, 43, 236, 0.05);
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 6px;
  border-bottom-color: transparent;
}
.stream-list .flag-pill {
  margin-left: auto;
  font-size: 0.62rem;
  background: rgba(191, 43, 236, 0.12);
  color: var(--prism-1);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.preview-card.finding {
  bottom: 0;
  right: 0;
  width: 80%;
  padding: 18px 20px;
  z-index: 1;
  min-height: 200px; /* hold size during content swaps */
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.preview-card.finding.is-hidden {
  opacity: 0;
  transform: translateY(8px);
}
.preview-card.finding > .finding-cat,
.preview-card.finding > .finding-title,
.preview-card.finding > .finding-body {
  transition: opacity 0.35s ease;
}
.preview-seal {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface-2);
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  border: 1px solid var(--hairline);
}
.finding-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--fc, var(--cat-hr));
  background: var(--fcbg, rgba(124, 58, 237, 0.08));
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.finding-cat::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fc, var(--cat-hr));
}
.finding-cat.fc-hr {
  --fc: #7c3aed;
  --fcbg: rgba(124, 58, 237, 0.1);
}
.finding-cat.fc-customer {
  --fc: var(--prism-5);
  --fcbg: rgba(46, 162, 214, 0.12);
}
.finding-cat.fc-health {
  --fc: var(--prism-3);
  --fcbg: rgba(117, 44, 218, 0.12);
}
.finding-cat.fc-finance {
  --fc: var(--prism-6);
  --fcbg: rgba(31, 134, 204, 0.12);
}
.finding-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.finding-body {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px;
}
.finding-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.finding-action {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.finding-action.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

@media (max-width: 980px) {
  .hero {
    padding: 80px 0 100px;
  }
  .hero-sub {
    max-width: 60ch !important;
  }
}

/* ===== Section primitives ===== */
section {
  padding: 96px 0;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-tag::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--gradient-prism);
  border-radius: 2px;
}
.section-eyebrow {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow p {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 16px auto 0;
}
/* Three-family palette */
.bg-paper {
  background: var(--paper);
}
.bg-slate {
  background: var(--slate);
}
.bg-lavender {
  background: var(--lavender);
}
.bg-white {
  background: #ffffff;
}

/* (Cases CSS removed: replaced by the .industry-carousel block at the
     bottom of this stylesheet.) */

/* ===== Bento platform ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 14px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.bento-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.bento-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11, 18, 32, 0.06);
}
.bento-card:hover::after {
  opacity: 1;
}
.bento-card .b-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.bento-card .b-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-card .b-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bento-card .b-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
}
.bento-card h3 {
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.bento-card p.b-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 36ch;
}
.bento-card .b-mock {
  margin-top: auto;
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}
.b-observe {
  --accent: var(--prism-6);
  --accent-soft: rgba(31, 134, 204, 0.12);
}
.b-counsel {
  --accent: var(--prism-3);
  --accent-soft: rgba(117, 44, 218, 0.12);
}
.b-remediate {
  --accent: var(--prism-1);
  --accent-soft: rgba(191, 43, 236, 0.12);
}
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
}
/* When 3 cards drop to 2 columns (e.g., iPad mini), center the orphan
     under the pair above to form an inverted pyramid instead of leaving
     it left-justified. */
@media (min-width: 641px) and (max-width: 1024px) {
  .bento-grid > .bento-card:nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: calc((100% - 14px) / 2);
    justify-self: center;
  }
}
@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Live preview row, above the bento ===== */
.platform-preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.platform-preview-row + .bento-grid {
  margin-top: 22px;
}
/* Reset hero preview-card positioning when reused in the row */
.platform-preview-row .preview-card {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  max-width: none;
  z-index: auto;
}
.platform-preview-row .preview-card.stream {
  padding: 18px 22px;
}
.platform-preview-row .preview-card.finding {
  min-height: 0;
  padding: 20px 24px;
}

@media (max-width: 820px) {
  .platform-preview-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ===== Observe: surface coverage mock ===== */
.mock-surfaces {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.3;
}
.mock-surface-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--hairline);
}
.mock-surface-row:last-child {
  border-bottom: 0;
}
.mock-surface-row .s-name {
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.mock-surface-row .s-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--prism-6);
  box-shadow: 0 0 0 3px rgba(31, 134, 204, 0.18);
  flex-shrink: 0;
}
.mock-surface-row .s-num {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mock-surface-row .s-bar {
  grid-column: 1 / -1;
  height: 3px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}
.mock-surface-row .s-fill {
  display: block;
  height: 100%;
  background: var(--prism-6);
  border-radius: 999px;
}

.mock-stream-row {
  display: flex;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--hairline);
}
.mock-stream-row:last-child {
  border-bottom: 0;
}
.mock-stream-row .t {
  color: var(--muted-2);
}
.mock-stream-row .a {
  color: var(--prism-6);
}
.mock-stream-row.flag .a {
  color: var(--prism-1);
}
.mock-stream-row.flag::before {
  content: "⚑";
  color: var(--prism-1);
  margin-right: 2px;
}

.mock-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
}
.mock-thread .turn {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 8px 10px;
}
.mock-thread .turn .who {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.mock-thread .turn.atty {
  border-color: rgba(117, 44, 218, 0.4);
  background: rgba(117, 44, 218, 0.05);
}
.mock-thread .turn.atty .who {
  color: var(--prism-3);
}

.mock-playbook {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
}
.mock-playbook li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
}
.mock-playbook .step {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  background: rgba(191, 43, 236, 0.12);
  color: var(--prism-1);
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}

.mock-report {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
}
.mock-report-cell {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 10px 12px;
}
.mock-report-cell .num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.mock-report-cell .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 3px;
}
.mock-report-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 4px;
}
.mock-report-tags .rt {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  color: var(--prism-6);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Fingerprint flow ===== */
/* How-we-start band wrapper: contains the fingerprint flow + FAQ so the
     fingerprint background can span both. */
.hws-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hws-band > section {
  position: relative;
  z-index: 1;
}
/* Fingerprint artwork — anchored at the top, extends to the bottom of the
     band. The image is wide (3000×1250, ~2.4:1). We pick a pseudo-element
     width that's larger than 2.4 × (pseudo height), which makes
     background-size:contain height-constrained, so the image grows tall
     enough to fill the band vertically instead of being capped by its own
     natural width. */
.hws-band::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 50%;
  width: 2400px;
  transform: translateX(-50%);
  background-image: url("fingerprint-hero.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 1600px) {
  .hws-band::before {
    width: 2800px;
    top: 40px;
  }
}
@media (max-width: 1099px) {
  .hws-band::before {
    width: 1400px;
    top: 24px;
  }
}
@media (max-width: 820px) {
  .hws-band::before {
    width: 1000px;
    top: 24px;
    opacity: 0.17;
  }
}
@media (max-width: 480px) {
  .hws-band::before {
    width: 760px;
    top: 20px;
  }
}

/* Pass-through inside the band. */
.fingerprint-section {
  position: relative;
}
.fingerprint-section > .container {
  position: relative;
  z-index: 1;
}
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 40px;
  position: relative;
}
.flow-step {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
  z-index: 2;
}
/* Arrow chevron between adjacent steps, centered in the gap.
     SVG drawn in prism-3 (--prism-color of the *next* step's accent
     would also work, but a single brand color reads as one flow). */
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23752CDA' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>")
    no-repeat center;
  z-index: 3;
  pointer-events: none;
}
.flow-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--prism-color, var(--prism-7));
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.flow-step:nth-child(1) {
  --prism-color: var(--prism-5);
}
.flow-step:nth-child(2) {
  --prism-color: var(--prism-3);
}
.flow-step:nth-child(3) {
  --prism-color: var(--prism-1);
}
.flow-step .flow-tag {
  color: var(--prism-color);
}
.flow-step h4 {
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.flow-step p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  /* Rotate the chevron 90° clockwise so it points down between stacked steps */
  .flow-step + .flow-step::before {
    left: 50%;
    top: -22px;
    transform: translateX(-50%) rotate(90deg);
  }
}

/* ===== FAQ (collapsing, boxed) — sits inside The Shift section. ===== */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.faq-item[open] {
  border-color: rgba(117, 44, 218, 0.3);
  box-shadow: 0 8px 24px rgba(117, 44, 218, 0.06);
}
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color 0.15s;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-item > summary::marker {
  content: "";
}
.faq-item > summary:hover {
  color: var(--prism-3);
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23752CDA' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>")
    no-repeat center;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 24px 22px;
}
.faq-a p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 70ch;
}
.faq-a p:last-child {
  margin-bottom: 0;
}
.faq-a strong {
  color: var(--ink);
  font-weight: 600;
}
.faq-a .faq-aside {
  font-style: italic;
  color: var(--muted-2);
  font-size: 0.92rem;
  margin-top: 14px;
}

/* ===== Triangle (Kovel-style structure) ===== */
.triangle-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f4f1fb 0%, #eef3fb 40%, #f1ecfb 100%);
}
.triangle-prism {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("prism-hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.3;
  /* Soften top/bottom edges so the cards float over the image cleanly */
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 14%,
    #000 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 14%,
    #000 82%,
    transparent 100%
  );
}
/* Soft overlay: stronger on the right where the rainbow is most intense,
     keeps the prism reading without competing with body copy and cards. */
.triangle-prism::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  pointer-events: none;
}
.triangle-section > .container {
  position: relative;
  z-index: 1;
}

.triangle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
  align-items: stretch;
}
.tri-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 26px 24px 24px;
  position: relative;
  overflow: hidden;
}
.tri-card.tri-privlex {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 14px 40px rgba(117, 50, 217, 0.1),
    0 2px 6px rgba(11, 18, 32, 0.04);
  transform: translateY(-8px);
}
.tri-card.tri-privlex::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-prism);
}
.tri-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prism-7);
  margin-bottom: 10px;
}
.tri-card.tri-privlex .tri-tag {
  color: var(--prism-3);
}
.tri-card.tri-firm .tri-tag {
  color: var(--prism-6);
}
.tri-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.tri-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 820px) {
  .triangle-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tri-card.tri-privlex {
    transform: none;
  }
}

/* ===== In the wild marquee ===== */
.wild-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
}
.marquee {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}
.marquee + .marquee {
  margin-top: 16px;
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.marquee.reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 105s;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.wild-card {
  flex: 0 0 280px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}
.wild-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent, var(--prism-6));
}
.wild-card.w-employment {
  --accent: var(--cat-hr);
}
.wild-card.w-finance {
  --accent: var(--cat-finance);
}
.wild-card.w-legal {
  --accent: var(--cat-legal);
}
.wild-card.w-customer {
  --accent: var(--cat-customer);
}
.wild-card.w-it {
  --accent: var(--cat-it);
}
.wild-card.w-health {
  --accent: var(--ind-healthcare);
}
.wild-card.w-housing {
  --accent: var(--ind-real-estate);
}
.wild-card.w-state {
  --accent: var(--prism-3);
}
.wild-cat {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent, var(--prism-6));
  text-transform: uppercase;
}
.wild-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.wild-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ===== Benefits grid ===== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 22px 22px 20px;
  border-top: 2px solid;
  border-image: var(--gradient-prism) 1;
  border-image-slice: 1;
}
.benefit-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.012em;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
@media (max-width: 980px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* When 3 cards drop to 2 columns (e.g., iPad mini), center the orphan
     under the pair above to form an inverted pyramid. */
@media (min-width: 541px) and (max-width: 980px) {
  .benefit-grid > .benefit-card:nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: calc((100% - 18px) / 2);
    justify-self: center;
  }
}
@media (max-width: 540px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Benefits on photo + prism overlay ===== */
#benefits {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
#benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("people-band.jpg") center / cover no-repeat;
  z-index: -2;
}
#benefits::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-prism);
  opacity: 0.85;
  z-index: -1;
}
#benefits .section-tag {
  color: rgba(255, 255, 255, 0.92);
}
#benefits .section-tag::before {
  background: rgba(255, 255, 255, 0.7);
}
#benefits .section-eyebrow h2 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(11, 18, 32, 0.22);
}
#benefits .section-eyebrow h2 em {
  color: #fff;
  font-style: italic;
}
#benefits .section-eyebrow p {
  color: rgba(255, 255, 255, 0.92);
}
/* Cards stay white but get a stronger shadow so they read against the photo */
#benefits .benefit-card {
  box-shadow:
    0 16px 40px rgba(11, 18, 32, 0.22),
    0 2px 6px rgba(11, 18, 32, 0.08);
}

/* ===== Why us ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.diff-card {
  background: var(--surface);
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
}
.diff-tag {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.diff-card:nth-child(1) .diff-tag {
  color: var(--prism-6);
}
.diff-card:nth-child(2) .diff-tag {
  color: var(--prism-7);
}
.diff-card h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.diff-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Problem vs solution contrast */
.diff-card.diff-problem {
  background: var(--paper-muted);
  border-style: dashed;
  border-color: var(--hairline-2);
}
.diff-card.diff-problem h3 {
  color: var(--muted);
  font-style: italic;
}
.diff-card.diff-solution {
  background: var(--surface);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.diff-card.diff-solution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-prism);
}
.diff-card.diff-solution h3 {
  color: var(--ink);
}
.diff-card.diff-solution p {
  color: var(--text);
}

@media (max-width: 720px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Latest insight ===== */
.insight-section {
  background: var(--surface);
}
.insight-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.insight-card:hover {
  border-color: rgba(117, 50, 217, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.07);
}
.insight-cover {
  background: #ffffff;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--hairline);
  min-height: 360px;
}
.insight-cover::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: url("insights/the-framework-industrial-complex/assets/privlex-icon.png")
    no-repeat center / contain;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(
    115deg,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 30%,
    #000 62%
  );
  mask-image: linear-gradient(
    115deg,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 30%,
    #000 62%
  );
  filter: drop-shadow(0 12px 32px rgba(21, 15, 114, 0.18));
  pointer-events: none;
}
.insight-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.insight-issue {
  background: #100b5c;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.insight-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--prism-5);
  text-transform: uppercase;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.insight-meta .sep {
  color: var(--hairline-2);
}
.insight-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #150f72;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 14px;
  max-width: 12ch;
  position: relative;
  z-index: 2;
}
.insight-title .accent,
.insight-subtitle .accent {
  color: var(--prism-3);
}
.insight-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.3;
  margin: 0;
  max-width: 26ch;
  position: relative;
  z-index: 2;
}
.insight-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.insight-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--prism-1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.insight-dek {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 24px;
  font-style: normal;
}
.insight-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.insight-byline img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline);
}
.insight-byline strong {
  color: var(--ink);
  font-weight: 600;
}
.insight-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-quiet {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.insight-card:hover .btn-quiet {
  color: var(--prism-3);
}
@media (max-width: 860px) {
  .insight-card {
    grid-template-columns: 1fr;
  }
  .insight-cover {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    min-height: 280px;
  }
  .insight-cover::after {
    width: 260px;
    height: 260px;
    right: -100px;
    top: -20px;
  }
}
@media (max-width: 540px) {
  .insight-cover {
    padding: 28px 22px;
    min-height: 240px;
  }
  .insight-body {
    padding: 28px 22px;
  }
}

/* ===== Previously (back-catalog under the featured card) ===== */
.insight-archive {
  margin-top: 28px;
  padding: 18px 24px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.insight-archive:hover {
  border-color: rgba(117, 50, 217, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(11, 18, 32, 0.05);
}
.insight-archive .archive-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
  white-space: nowrap;
}
.insight-archive .archive-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 14px;
  color: inherit;
  min-width: 0;
}
.insight-archive .archive-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--paper-muted);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 5px 10px;
  white-space: nowrap;
}
.insight-archive .archive-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.insight-archive .archive-title {
  font-weight: 600;
  color: var(--ink);
  margin-right: 8px;
}
.insight-archive .archive-subtitle {
  font-family: "Inter", sans-serif;
  font-style: italic;
  color: var(--muted);
}
.insight-archive .archive-cta {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s;
}
.insight-archive:hover .archive-cta {
  color: var(--prism-3);
}
@media (max-width: 720px) {
  .insight-archive {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px;
  }
  .insight-archive .archive-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .insight-archive .archive-text {
    white-space: normal;
  }
  .insight-archive .archive-cta {
    display: none;
  }
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
.person {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.person-photo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--surface-alt);
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--hairline);
}
.person-meta {
  flex: 1;
  min-width: 0;
}
.person-name {
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 2px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.person-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.person-summary {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
details.bio {
  margin-top: 12px;
}
details.bio summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}
details.bio summary::-webkit-details-marker {
  display: none;
}
details.bio summary::after {
  content: "↓";
  font-size: 0.85rem;
  transition: transform 0.2s;
  color: var(--muted);
}
details.bio[open] summary::after {
  transform: rotate(180deg);
}
details.bio .bio-full {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
  line-height: 1.6;
}
details.bio .bio-full p {
  margin: 0 0 0.8em;
}
details.bio .bio-full p:last-child {
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .person {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      ellipse 50% 60% at 20% 50%,
      rgba(117, 50, 217, 0.28) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 70% at 80% 60%,
      rgba(191, 43, 236, 0.22) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 60% 30%,
      rgba(31, 134, 204, 0.18) 0%,
      transparent 70%
    );
  pointer-events: none;
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-band h2 {
  color: #fff;
  margin: 0 0 14px;
  max-width: 18ch;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 28px;
  font-size: 1.05rem;
  max-width: 50ch;
}
.cta-band .section-tag {
  color: rgba(255, 255, 255, 0.65);
}
.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.cta-band .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.cta-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.cta-form .mono {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
  display: block;
}
.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.92rem;
  transition: border-color 0.15s;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--prism-3);
  box-shadow: 0 0 0 3px rgba(117, 44, 218, 0.22);
}
.cta-form textarea {
  resize: vertical;
  min-height: 88px;
  margin-bottom: 12px;
}
.cta-form button {
  width: 100%;
  justify-content: center;
}
/* Honeypot: visually hidden but reachable to bots that ignore aria/hidden */
.cta-form .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}
.form-success {
  background: rgba(46, 162, 214, 0.16);
  border: 1px solid rgba(46, 162, 214, 0.42);
  color: #bfe2f2;
}
.form-error {
  background: rgba(191, 43, 236, 0.16);
  border: 1px solid rgba(191, 43, 236, 0.42);
  color: #ecbdf8;
}
@media (max-width: 860px) {
  .cta-band-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== Footer ===== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 28px;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-prism);
  opacity: 0.7;
}
footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}
footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}
.footer-brand .logo-img {
  height: 36px;
}
/* Temporary: the new logo is dark-on-light. Filter to silhouette
     white-ish for the navy footer until a light variant exists. */
.footer-brand .footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 32ch;
}
.footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  font-weight: 500;
  text-transform: uppercase;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 0.9rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 22px;
  gap: 32px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom .legal {
  max-width: 70ch;
  line-height: 1.55;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand-wrap {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* ===== Responsive overrides ===== */

/* Tablet landscape */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }
  .hero-grid {
    gap: 40px;
  }
}

/* Tablet portrait */
@media (max-width: 820px) {
  section {
    padding: 72px 0;
  }
  .section-eyebrow {
    margin-bottom: 44px;
  }
  .nav-inner {
    padding: 12px 22px;
  }
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 22px;
  }

  .hero {
    padding: 56px 0 80px;
  }
  .hero-eyebrow {
    margin-bottom: 22px;
  }
  .hero h1 {
    margin-bottom: 18px;
  }
  .hero-sub {
    font-size: 1.02rem;
    margin-bottom: 28px;
  }

  .bento-card {
    padding: 24px;
  }
  .bento-card h3 {
    font-size: 1.4rem;
  }
  .person {
    padding: 24px;
  }
  .cta-band {
    padding: 72px 0;
  }
}

/* Large mobile */
@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }
  .section-eyebrow {
    margin-bottom: 36px;
  }
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 18px;
  }
  .nav-inner {
    padding: 12px 18px;
  }

  h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    letter-spacing: -0.03em;
  }
  h2 {
    font-size: clamp(1.55rem, 6.4vw, 2rem);
  }

  /* Hero preview: stack cards vertically instead of overlapping */
  .hero-preview {
    aspect-ratio: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .preview-card.stream,
  .preview-card.finding {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .stream-list {
    font-size: 0.7rem;
  }
  .stream-list .ts {
    font-size: 0.65rem;
  }
  .finding-title {
    font-size: 0.92rem;
  }
  .finding-body {
    font-size: 0.8rem;
  }

  /* Hero buttons stretch to fill row */
  .hero-cta {
    width: 100%;
  }
  .hero-cta .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }

  .bento-card {
    padding: 22px;
  }
  .bento-card h3 {
    font-size: 1.3rem;
  }
  .bento-card p.b-desc {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .flow-step {
    padding: 20px;
  }
  .person {
    padding: 22px;
  }

  /* CTA band: stack form fields */
  .cta-band {
    padding: 60px 0;
  }
  .cta-band-inner {
    gap: 28px;
  }
  .cta-form {
    padding: 20px;
  }
  .cta-form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .footer-brand-wrap {
    grid-column: 1;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 14px;
  }
  .nav-inner {
    padding: 12px 14px;
  }
  h1 {
    font-size: 2rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .case-num {
    font-size: 2.4rem;
  }
}

/* ===== Stalled-AI carousel (ported from index-value.html) ===== */
.industry-carousel {
  position: relative;
}
.industry-viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 0 18px;
  /* Soft fade at the left/right edges instead of a hard clip. The arrows
       sit outside this element so they stay fully opaque. */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 90px,
    #000 calc(100% - 90px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 90px,
    #000 calc(100% - 90px),
    transparent 100%
  );
}
@media (max-width: 640px) {
  .industry-viewport {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 28px,
      #000 calc(100% - 28px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 28px,
      #000 calc(100% - 28px),
      transparent 100%
    );
  }
}
.industry-track {
  display: flex;
  gap: 16px;
  width: max-content;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.industry-track.is-snapping {
  transition: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s,
    background 0.2s;
  box-shadow: 0 4px 14px rgba(11, 18, 32, 0.08);
  padding: 0;
  font: inherit;
}
.carousel-arrow:hover {
  box-shadow: 0 10px 26px rgba(11, 18, 32, 0.16);
  transform: translateY(-50%) scale(1.06);
  border-color: var(--prism-3);
}
.carousel-arrow:active {
  transform: translateY(-50%) scale(1.02);
}
.carousel-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-prev {
  left: 4px;
}
.carousel-next {
  right: 4px;
}
@media (max-width: 640px) {
  .carousel-arrow {
    display: none;
  }
}

.industry-tile {
  flex: 0 0 320px;
  height: 410px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.industry-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 32px -8px rgba(11, 18, 32, 0.08);
}
.industry-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.industry-tile .ind-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.industry-tile h3 {
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}
.industry-tile .ind-stuck {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.industry-tile .ind-capability {
  font-size: 0.86rem;
  color: var(--muted-2);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--hairline);
}
.industry-tile.i-health {
  --accent: var(--prism-1);
}
.industry-tile.i-bank {
  --accent: var(--prism-6);
}
.industry-tile.i-insure {
  --accent: var(--prism-4);
}
.industry-tile.i-realestate {
  --accent: var(--prism-3);
}
.industry-tile.i-retail {
  --accent: var(--prism-5);
}
.industry-tile.i-hr {
  --accent: var(--prism-7);
}
.industry-tile.i-marketing {
  --accent: var(--prism-2);
}
.industry-tile.i-contact {
  --accent: var(--prism-mid);
}
.industry-tile.i-cx {
  --accent: var(--prism-1);
}
.industry-tile.i-finance {
  --accent: var(--prism-7);
}
@media (max-width: 980px) {
  .industry-tile {
    flex: 0 0 290px;
    height: 440px;
  }
}
@media (max-width: 640px) {
  .industry-tile {
    flex: 0 0 86vw;
    height: 440px;
    padding: 24px 22px 20px;
  }
}

/* ===== Reduce motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* === DIAGRAM === */
.privlex-flow,
.privlex-flow * {
  box-sizing: border-box;
}
/* Drop-in band, transparent. Height is the one knob — the squat prism fills it flush, top to bottom. */
.pf-stage {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: transparent;
}
@media (max-width: 560px) {
  .pf-stage {
    height: 115px;
  }
}
.pf-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.pl-marquees {
  --card-w: 19rem; /* card width        */
  --row-gap: 0.85rem; /* gap between rows   */
  --gap: 0.85rem; /* gap between cards  */

  /* legal-domain accents: color encodes field of law */
  --cat-employment: #6366f1;
  --cat-credit: #10b981;
  --cat-housing: #0ea5e9;
  --cat-health: #db2777;
  --cat-insurance: #14b8a6;
  --cat-privacy: #7c3aed;
  --cat-consumer: #ea580c;
  --cat-speech: #dc2626;
  --cat-comms: #0891b2;
  --cat-access: #d97706;
  --cat-public: #64748b;
  --cat-ai: #e11d48;

  display: flex;
  flex-direction: column;
  gap: var(--row-gap);
  background: transparent;
}

/* w-* classes are pure indirection: each points --accent at a domain var */
.pl-marquees .wild-card.w-employment {
  --accent: var(--cat-employment);
}
.pl-marquees .wild-card.w-credit {
  --accent: var(--cat-credit);
}
.pl-marquees .wild-card.w-housing {
  --accent: var(--cat-housing);
}
.pl-marquees .wild-card.w-health {
  --accent: var(--cat-health);
}
.pl-marquees .wild-card.w-insurance {
  --accent: var(--cat-insurance);
}
.pl-marquees .wild-card.w-privacy {
  --accent: var(--cat-privacy);
}
.pl-marquees .wild-card.w-consumer {
  --accent: var(--cat-consumer);
}
.pl-marquees .wild-card.w-speech {
  --accent: var(--cat-speech);
}
.pl-marquees .wild-card.w-comms {
  --accent: var(--cat-comms);
}
.pl-marquees .wild-card.w-access {
  --accent: var(--cat-access);
}
.pl-marquees .wild-card.w-public {
  --accent: var(--cat-public);
}
.pl-marquees .wild-card.w-ai {
  --accent: var(--cat-ai);
}

.pl-marquees .marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.pl-marquees .marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
}

/* animation only runs once JS has cloned + sized each track */
.pl-marquees.is-live .marquee-track {
  animation: pl-scroll linear infinite;
}
.pl-marquees .marquee.reverse .marquee-track {
  animation-direction: reverse;
}
.pl-marquees .marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes pl-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* reduced motion: JS never goes live; single static set, hand-scrollable */
@media (prefers-reduced-motion: reduce) {
  .pl-marquees .marquee {
    overflow-x: auto;
  }
}

.pl-marquees .wild-card {
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  box-sizing: border-box;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 3px solid var(--accent, #94a3b8);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.pl-marquees .wild-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--accent);
}
.pl-marquees .wild-cat::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.pl-marquees .wild-card h4 {
  margin: 0.5rem 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}
.pl-marquees .wild-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
}

/* ==================================================================
   Restored utility + component blocks (sub-page heroes, FAQ groups,
   Insights index cards, subscribe). Standardized: Inter (no narrow
   serif), solid brand accents (no rainbow/gradient-filled text).
   ================================================================== */

/* ----- Sub-page hero (Platform / Partners / FAQ / Insights headers) ----- */
.hero--page {
  padding: 104px 0 88px;
}
.hero--page .hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero--page h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin: 0 0 18px;
}
.hero--page .hero-sub {
  margin: 0 auto;
}
.hero--page .section-tag {
  color: rgba(255, 255, 255, 0.75);
  justify-content: center;
}
.hero--page .section-tag::before {
  background: rgba(255, 255, 255, 0.6);
}
.hero--page .hero-cta {
  justify-content: center;
  margin-top: 32px;
}
@media (max-width: 820px) {
  .hero--page {
    padding: 64px 0 64px;
  }
}

/* ----- Quiet centered link row under a section ----- */
.section-more {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 44px;
}

/* ----- FAQ page group label ----- */
.faq-group {
  max-width: 820px;
  margin: 0 auto 14px;
}
.faq-group:not(:first-of-type) {
  margin-top: 48px;
}
.faq-group .section-tag {
  margin-bottom: 0;
}

/* ----- Insights index — featured article cards ----- */
.feat-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.feat-card + .feat-card {
  margin-top: 24px;
}
.feat-card:hover {
  border-color: rgba(117, 50, 217, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.07);
}
.feat-cover {
  background: #ffffff;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--hairline);
  min-height: 360px;
}
.feat-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.feat-issue {
  background: #100b5c;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.feat-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--prism-5);
  text-transform: uppercase;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.feat-meta .sep {
  color: var(--hairline-2);
}
.feat-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #150f72;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 14px;
  max-width: 12ch;
}
.feat-title .accent,
.feat-subtitle .accent {
  color: var(--prism-3);
}
.feat-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
  max-width: 30ch;
}
.feat-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feat-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--prism-1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.feat-dek {
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 24px;
}
.feat-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.feat-byline img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline);
}
.feat-byline strong {
  color: var(--ink);
  font-weight: 600;
}
.feat-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 860px) {
  .feat-card {
    grid-template-columns: 1fr;
  }
  .feat-cover {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    min-height: 280px;
  }
}

/* ----- Insights index — subscribe ----- */
.subscribe-section {
  background: var(--surface-alt);
  padding: 72px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.subscribe-inner h2 {
  margin: 0 0 14px;
}
.subscribe-inner > div:first-child p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 40ch;
  margin: 0;
}
.subscribe-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px;
}
.subscribe-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.subscribe-card label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: -4px;
}
.subscribe-card input {
  width: 100%;
  font-family: inherit;
  font-size: 0.96rem;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: 8px;
  color: var(--ink);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.subscribe-card input::placeholder {
  color: var(--muted-2);
}
.subscribe-card input:focus {
  outline: none;
  border-color: var(--prism-3);
  box-shadow: 0 0 0 3px rgba(117, 44, 218, 0.18);
}
.subscribe-card button {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}
.subscribe-card .legal {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin: 6px 0 0;
}
.subscribe-card .form-status {
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 4px;
  font-size: 0.88rem;
}
.subscribe-card .form-status.ok {
  background: rgba(46, 162, 214, 0.1);
  border: 1px solid rgba(46, 162, 214, 0.4);
  color: #1f86cc;
}
.subscribe-card .form-status.err {
  background: rgba(191, 43, 236, 0.1);
  border: 1px solid rgba(191, 43, 236, 0.4);
  color: #bf2bec;
}
.subscribe-card .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .subscribe-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
