/* ============================================================
   Pearl Homepage , Brand Handover v1.0
   Geist typography · Pearl Blue + Electric · Powder ground
   ============================================================ */

:root {
  /* Core palette */
  --pearl-blue: #00497D;
  --electric:   #00FFFF;
  --ink:        #0C121E;
  --powder:     #FFFDFA;
  --mid-grey:   #B5B5B5;

  /* Extended palette */
  --navy:       #051C38;
  --slate:      #3C4E64;
  --light-bg:   #F8FAFC;
  --grey-line:  #DCE1E8;
  --white:      #FFFFFF;
  --success:    #27A54B;
  --warning:    #F0AA1E;
  --danger:     #DC3C3C;

  /* Legacy aliases kept for component references , all map to the new system */
  --bg: var(--powder);
  --surface: var(--white);
  --surface-alt: var(--light-bg);
  --border: var(--grey-line);
  --border-strong: #C0C9D5;
  --text: var(--ink);
  --text-muted: var(--slate);
  --text-faint: var(--mid-grey);
  --accent: var(--pearl-blue);
  --accent-hover: var(--navy);
  --error: var(--danger);

  /* Typography stacks: Geist (display + body), Geist Mono (labels) */
  --font-display: "Geist", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "Geist", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:    "Geist", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Easing */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Layout */
  --maxw: 1280px;
  --gutter: 24px;
}

@media (min-width: 768px) {
  :root { --gutter: 48px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 96px; }
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; background: var(--powder); }
body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--powder);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--pearl-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--pearl-blue);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 2px;
  font-weight: 500;
  font-size: 14px;
  transition: top 150ms var(--ease);
}
.skip-link:focus { top: 16px; }

/* Containers */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 80px;
  background: var(--powder);
}
@media (min-width: 768px) {
  .section { padding-block: 112px; }
}

/* ============================================================
   Typography , Geist scale
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--pearl-blue);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(44px, 6.5vw, 72px); font-weight: 700; line-height: 1.0; }
h2 { font-size: clamp(28px, 3.6vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.005em; }

.lede { font-size: 18px; line-height: 1.6; color: var(--slate); }
.muted { color: var(--slate); }
.faint { color: var(--mid-grey); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums lining-nums; font-weight: 500; }

/* Eyebrow / label , Geist Mono Medium 12px UPPERCASE, letter-spacing 0.06em.
   Format: "// 0X  LABEL" with `//` in Electric (on dark) or Pearl Blue (on light)
   and label text in Pearl Blue (on light) or Electric (on dark). */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pearl-blue);
  display: inline-block;
}
.eyebrow .slash {
  color: var(--pearl-blue);
  margin-right: 8px;
}
.eyebrow-muted { color: var(--slate); }
.eyebrow-faint { color: var(--mid-grey); }
/* Eyebrows on dark surfaces (navy, aurora) */
.eyebrow-on-dark { color: var(--electric); }
.eyebrow-on-dark .slash { color: var(--electric); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border-radius: 4px;
  transition: background 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease), box-shadow 200ms var(--ease), transform 150ms var(--ease);
  min-height: 44px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--pearl-blue);
  color: var(--white);
  border-color: var(--pearl-blue);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--pearl-blue);
  border-color: var(--pearl-blue);
}
.btn-secondary:hover {
  background: var(--pearl-blue);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--pearl-blue);
  padding: 10px 0;
}
.btn-ghost:hover { color: var(--navy); }

/* CTA on dark / navy / aurora */
.btn-on-dark-primary {
  background: var(--white);
  color: var(--pearl-blue);
  border-color: var(--white);
}
.btn-on-dark-primary:hover {
  background: var(--powder);
  color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.35);
}
.btn-on-dark-ghost {
  background: transparent;
  color: var(--electric);
  border: 1px solid var(--electric);
}
.btn-on-dark-ghost:hover {
  background: rgba(0, 255, 255, 0.08);
  color: var(--electric);
  border-color: var(--electric);
}

/* Links */
.link-accent {
  color: var(--pearl-blue);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 150ms var(--ease), color 150ms var(--ease);
}
.link-accent:hover { gap: 10px; color: var(--navy); }
.link-accent svg { transition: transform 150ms var(--ease); }
.link-accent:hover svg { transform: translateX(2px); }

.link-ghost {
  color: var(--pearl-blue);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 150ms var(--ease);
}
.link-ghost:hover { border-color: var(--pearl-blue); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Logo (Pearl. wordmark + Electric dot)
   ============================================================ */
.pearl-logo { display: inline-flex; align-items: center; gap: 0; }
.pearl-logo svg { display: block; height: 32px; width: auto; }
.footer-brand .pearl-logo svg { height: 34px; }
.mobile-nav-head .pearl-logo svg { height: 30px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom-color: var(--grey-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--pearl-blue); }
.nav-links { display: none; gap: 4px; }
@media (min-width: 1024px) { .nav-links { display: flex; align-items: center; } }
.nav-item {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  cursor: pointer;
}
.nav-item:hover { color: var(--pearl-blue); }
.nav-item:hover .nav-chev { transform: rotate(180deg); }
.nav-chev { transition: transform 150ms var(--ease); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  padding: 8px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 150ms var(--ease), transform 150ms var(--ease);
  box-shadow: 0 12px 32px -8px rgba(5, 28, 56, 0.12);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 4px;
}
.nav-dropdown a:hover { background: var(--light-bg); color: var(--pearl-blue); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: none;
  font-size: 14px;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1024px) { .nav-phone { display: inline; } }
.nav-cta { padding: 12px 18px; font-size: 14px; min-height: 40px; }

.hamburger {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--pearl-blue);
  border-radius: 4px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--powder);
  z-index: 60;
  padding: 24px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-line);
}
.mobile-nav-list {
  list-style: none;
  padding: 24px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-list a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--pearl-blue);
  border-bottom: 1px solid var(--grey-line);
  letter-spacing: -0.015em;
}
.mobile-nav-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
}

/* ============================================================
   Hero , Aurora panel + two-column layout
   ============================================================ */
.hero {
  padding-top: 144px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
  background: var(--powder);
}
@media (min-width: 768px) {
  .hero { padding-top: 168px; padding-bottom: 128px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
/* Two-column hero only kicks in once the left column has room for the H1.
   Below 1180px we stay single-column to prevent the headline overlapping the mock. */
@media (min-width: 1180px) {
  .hero-grid {
    grid-template-columns: 44fr 56fr;
    gap: 72px;
  }
}
@media (min-width: 1280px) {
  .hero-grid {
    grid-template-columns: 42fr 58fr;
    gap: 88px;
  }
}

.hero-copy h1 {
  margin-block: 24px 24px;
  color: var(--pearl-blue);
  letter-spacing: -0.02em;
}
.hero-copy h1.hero-h1 {
  /* Clamp tuned so all three phrases fit the 44fr column at 1180px+ without overflow */
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.04;
  max-width: 100%;
  overflow-wrap: break-word;
}
.hero-copy h1.hero-h1 > span {
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
}
.hero-copy h1.hero-h1 > span:nth-child(1),
.hero-copy h1.hero-h1 > span:nth-child(2) {
  white-space: nowrap;
}
/* Line 3 keeps full display weight; allowed to wrap to a second visual line if the column is narrow */
.hero-copy h1.hero-h1 > span:nth-child(3) {
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
.hero-copy .lede {
  max-width: 540px;
  color: var(--slate);
  font-size: 18px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-trust {
  margin-top: 24px;
  font-size: 14px;
  color: var(--slate);
  max-width: 520px;
}
.hero-rule { display: none; }

.hero-reg-promise {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #3C4E64;
  line-height: 1.5;
  max-width: 580px;
  letter-spacing: -0.005em;
}

.sub-mark {
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Aurora panel , sits behind the SAM dashboard mock on the right column */
.hero-mock-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-aurora {
  position: relative;
  width: 100%;
  border-radius: 20px;
  padding: 24px;
  background-color: var(--navy);
  background-image:
    radial-gradient(840px circle at 20% 35%, rgba(0,255,255,0.090), transparent 70%),
    radial-gradient(840px circle at 80% 35%, rgba(0,255,255,0.070), transparent 70%),
    radial-gradient(920px circle at 30% 60%, rgba(0,73,125,0.150), transparent 70%),
    radial-gradient(920px circle at 70% 60%, rgba(0,73,125,0.150), transparent 70%),
    radial-gradient(680px circle at 50% 55%, rgba(40,80,130,0.140), transparent 70%),
    radial-gradient(400px circle at 50% 65%, rgba(5,28,56,0.140), transparent 70%);
  box-shadow: 0 30px 80px -30px rgba(5, 28, 56, 0.4);
  overflow: hidden;
}

/* ============================================================
   SAM marking UI mock (hero, compact)
   ============================================================ */
.sam-mock {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 8px;
  box-shadow: 0 24px 56px -24px rgba(5, 28, 56, 0.4),
              0 4px 12px -4px rgba(5, 28, 56, 0.18);
  overflow: hidden;
  font-family: var(--font-body);
  position: relative;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--grey-line);
  font-size: 12px;
  color: var(--slate);
  font-family: var(--font-mono);
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--mid-grey); }
.mock-tag {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pearl-blue);
  background: var(--light-bg);
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid var(--grey-line);
}
.mock-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
}

.mock-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--grey-line);
}
.mock-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mock-assess-title { font-size: 15px; font-weight: 600; color: var(--pearl-blue); margin-bottom: 4px; }
.mock-assess-meta { font-size: 12px; color: var(--slate); font-family: var(--font-mono); }
.mock-savings {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.mock-savings .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--pearl-blue);
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 4px;
}
.mock-savings .num::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--electric);
}
.mock-savings .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 6px;
  display: block;
}

.mock-body { padding: 18px 20px; }
.mock-rubric { display: flex; flex-direction: column; gap: 10px; }
.mock-rubric-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--powder);
  border: 1px solid var(--grey-line);
  border-radius: 4px;
}
.mock-rubric-row .crit { font-size: 13px; color: var(--pearl-blue); font-weight: 500; }
.mock-rubric-row .ai {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--pearl-blue);
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 500;
}
.mock-rubric-row .ai.amber { background: #FDF2D9; border-color: #F5DC9C; color: #7A5400; }
.mock-toggle {
  width: 32px;
  height: 18px;
  background: var(--pearl-blue);
  border-radius: 10px;
  position: relative;
  cursor: default;
}
.mock-toggle::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 14px; height: 14px;
  background: var(--white);
  border-radius: 50%;
}
.mock-toggle.off { background: var(--mid-grey); }
.mock-toggle.off::after { right: auto; left: 2px; }

.mock-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--grey-line);
  background: var(--light-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--slate);
  font-family: var(--font-mono);
}
.mock-foot .confidence { display: inline-flex; align-items: center; gap: 8px; }
.mock-conf-bar {
  width: 80px; height: 5px;
  background: var(--grey-line);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.mock-conf-bar > span {
  display: block;
  height: 100%;
  background: var(--pearl-blue);
  width: 87%;
  position: relative;
}
.mock-conf-bar > span::after {
  content: '';
  position: absolute;
  right: -3px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
}

/* ============================================================
   Logo wall
   ============================================================ */
.logo-wall {
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
  padding-block: 48px;
  background: var(--powder);
  overflow: hidden;
}
.logo-wall .eyebrow { display: block; text-align: center; margin-bottom: 32px; }

/* Auto-scrolling marquee */
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
}
.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: lw-scroll 80s linear infinite;
}
.logo-marquee:hover .logo-marquee-track,
.logo-marquee:focus-within .logo-marquee-track {
  animation-play-state: paused;
}
.logo-marquee-set {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 12px;
  margin: 0;
  list-style: none;
  flex-shrink: 0;
}
.lw-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid var(--grey-line);
  border-radius: 12px;
  flex-shrink: 0;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.lw-item:hover {
  border-color: var(--pearl-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 73, 125, 0.08);
}
.lw-item img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes lw-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .logo-marquee-set {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo-marquee-set[aria-hidden="true"] { display: none; }
  .logo-marquee {
    -webkit-mask-image: none;
            mask-image: none;
  }
}
.lw-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--mid-grey);
  font-family: var(--font-body);
  letter-spacing: 0;
}

/* ============================================================
   Problem (pain list)
   ============================================================ */
.problem-head { margin-bottom: 56px; max-width: 720px; }
.problem-head h2 { margin-top: 16px; max-width: 22ch; }

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 880px;
  margin-top: 56px;
  list-style: none;
  padding: 0;
}
.pain-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0 20px 20px;
  border-left: 2px solid var(--pearl-blue);
}
.pain-item .pain-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--pearl-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 4px;
}
.pain-item .pain-stmt {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--pearl-blue);
  letter-spacing: -0.005em;
}
.pain-item .pain-resp {
  margin-top: 10px;
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 64ch;
}

/* ============================================================
   Product grid
   ============================================================ */
.product-head { margin-bottom: 56px; max-width: 720px; }
.product-head h2 { margin-top: 16px; }
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.product-card {
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--pearl-blue);
  box-shadow: 0 12px 32px -12px rgba(5, 28, 56, 0.18);
}
.product-card .pc-mark { color: var(--pearl-blue); margin-bottom: 4px; }
.product-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--pearl-blue);
  letter-spacing: -0.02em;
}
.product-card .prop {
  font-size: 16px;
  color: var(--pearl-blue);
  font-weight: 600;
}
.product-card .desc { font-size: 15px; color: var(--slate); line-height: 1.55; }
.product-card .stat-wrap {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--grey-line);
}
.product-card .stat {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--pearl-blue);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.1;
}
.product-card .stat sup { color: var(--pearl-blue); font-size: 0.4em; font-family: var(--font-mono); }
.product-card .stat-foot { font-size: 12px; color: var(--slate); margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.02em; }
.product-card .stat-foot a { color: var(--pearl-blue); text-decoration: underline; }

/* ============================================================
   SAM spotlight (light-bg)
   ============================================================ */
.sam-spot {
  background: var(--light-bg);
  padding-block: 96px;
}
@media (min-width: 768px) { .sam-spot { padding-block: 128px; } }
.sam-spot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}
@media (min-width: 1024px) {
  .sam-spot-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: start;
  }
}
.sam-spot-copy h2 { margin: 20px 0 28px; max-width: 18ch; }
.sam-spot-copy p {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 56ch;
}
.sam-spot-copy p:first-of-type { color: var(--ink); }
.sam-bullets {
  list-style: none;
  padding: 0;
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sam-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.sam-bullets li svg { flex: none; margin-top: 3px; color: var(--pearl-blue); }
.sam-spot-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; align-items: center; }
.sam-spot-foot {
  margin-top: 32px;
  font-size: 12px;
  color: var(--slate);
  font-family: var(--font-mono);
  max-width: 60ch;
}

/* Big SAM mock */
.sam-mock-big {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  box-shadow: 0 32px 64px -24px rgba(5, 28, 56, 0.18),
              0 4px 12px -4px rgba(5, 28, 56, 0.08);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
.smb-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-family: var(--font-mono);
}
.smb-titlebar .smb-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--electric);
}
.smb-titlebar .smb-crumbs {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
@media (min-width: 640px) { .smb-titlebar .smb-crumbs { display: flex; } }
.smb-titlebar .smb-user {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}

.smb-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--grey-line);
}
@media (min-width: 640px) {
  .smb-header { grid-template-columns: minmax(0, 1fr) auto; align-items: flex-start; }
}
.smb-learner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.smb-learner-tag .pill {
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--pearl-blue);
}
.smb-assess-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--pearl-blue); letter-spacing: -0.01em; }
.smb-assess-sub { font-size: 13px; color: var(--slate); margin-top: 4px; font-family: var(--font-mono); }

.smb-counter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: var(--powder);
  border: 1px solid var(--grey-line);
  padding: 12px 16px;
  border-radius: 6px;
}
.smb-counter .num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  font-weight: 700;
  color: var(--pearl-blue);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 3px;
}
.smb-counter .num::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--electric);
}
.smb-counter .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.2;
  max-width: 96px;
}

.smb-tabs {
  display: flex;
  gap: 0;
  padding: 0 22px;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  overflow-x: auto;
}
.smb-tab {
  padding: 14px 18px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.smb-tab.active {
  color: var(--pearl-blue);
  border-bottom-color: var(--pearl-blue);
  font-weight: 600;
}
.smb-tab .badge {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  color: var(--pearl-blue);
  padding: 1px 6px;
  border-radius: 3px;
}

.smb-body { padding: 22px; min-width: 0; }
.smb-grade-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .smb-grade-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.smb-card {
  background: var(--powder);
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  padding: 16px 18px;
}
.smb-card .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}
.smb-card .grade {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--pearl-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}
.smb-card .grade-meta {
  font-size: 12px;
  color: var(--slate);
  margin-top: 8px;
  font-family: var(--font-mono);
}
.smb-conf {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.smb-conf-bar {
  flex: 1;
  height: 5px;
  background: var(--grey-line);
  border-radius: 3px;
  overflow: hidden;
}
.smb-conf-bar > span {
  display: block; height: 100%;
  background: var(--pearl-blue);
  width: 87%;
}
.smb-conf-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pearl-blue);
  font-weight: 600;
}

.smb-override {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.smb-override button {
  flex: 1;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  color: var(--slate);
  background: var(--white);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.smb-override button.active { background: var(--pearl-blue); color: var(--white); border-color: var(--pearl-blue); }

.smb-rubric-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.smb-rubric-head h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--pearl-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.smb-rubric-head .meta { font-size: 12px; color: var(--slate); font-family: var(--font-mono); }

.smb-rubric { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.smb-rubric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  font-size: 13px;
  min-width: 0;
}
.smb-rubric-row .crit { color: var(--pearl-blue); font-weight: 500; }
.smb-rubric-row .crit-sub { display: block; font-size: 11px; color: var(--slate); margin-top: 2px; font-weight: 400; font-family: var(--font-mono); }
.smb-rubric-row .ai-sug {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  color: var(--pearl-blue);
  padding: 4px 10px;
  border-radius: 3px;
}
.smb-rubric-row .ai-sug.amber { background: #FDF2D9; color: #7A5400; border-color: #F5DC9C; }
.smb-rubric-row .ai-sug.red { background: #FBE3E3; color: #8B2C39; border-color: #F2C2C2; }
.smb-toggle {
  width: 36px; height: 20px;
  background: var(--pearl-blue);
  border-radius: 11px;
  position: relative;
  flex: none;
}
.smb-toggle::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 50%;
}
.smb-toggle.off { background: var(--mid-grey); }
.smb-toggle.off::after { right: auto; left: 2px; }

.smb-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.smb-foot .pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--slate);
  font-family: var(--font-mono);
}
.smb-foot .pill-row span { background: var(--powder); border: 1px solid var(--grey-line); padding: 4px 10px; border-radius: 3px; }
.smb-sign {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--pearl-blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 150ms var(--ease), box-shadow 200ms var(--ease);
}
.smb-sign:hover { background: var(--navy); box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.25); }

/* ============================================================
   Proof bar (Navy)
   ============================================================ */
.proof-bar {
  background: var(--navy);
  color: var(--white);
  padding-block: 80px;
}
.proof-bar .eyebrow { color: var(--electric); }
.proof-bar .eyebrow .slash { color: var(--electric); }
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
@media (min-width: 768px) { .proof-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.proof-stat {
  position: relative;
  padding-left: 0;
}
@media (min-width: 768px) {
  .proof-stat + .proof-stat {
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}
.proof-stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 48px);
  font-weight: 700;
  color: var(--electric);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.proof-stat .num sup { font-size: 0.4em; vertical-align: super; color: var(--electric); font-family: var(--font-mono); font-weight: 500; }
.proof-stat .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  line-height: 1.4;
  max-width: 24ch;
}
.proof-note {
  margin-top: 48px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
}

/* ============================================================
   Case studies
   ============================================================ */
.case-head { margin-bottom: 56px; max-width: 720px; }
.case-head h2 { margin-top: 16px; }
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .case-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

.case-card {
  border: 1px solid var(--grey-line);
  background: var(--light-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 150ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.case-card:hover {
  transform: translateY(-2px);
  border-color: var(--pearl-blue);
  box-shadow: 0 18px 40px -16px rgba(5, 28, 56, 0.18);
}
.case-visual {
  height: 220px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: var(--white);
}
.case-visual.retrofit {
  background-color: var(--navy);
  background-image:
    radial-gradient(600px circle at 20% 30%, rgba(0,255,255,0.18), transparent 70%),
    radial-gradient(600px circle at 80% 70%, rgba(0,73,125,0.5), transparent 70%);
}
.case-visual.leap {
  background-color: var(--navy);
  background-image:
    radial-gradient(600px circle at 80% 30%, rgba(0,255,255,0.20), transparent 70%),
    radial-gradient(600px circle at 20% 70%, rgba(0,73,125,0.4), transparent 70%);
}
.case-visual .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 5px 10px;
  border-radius: 3px;
  backdrop-filter: blur(6px);
  color: var(--white);
}
.case-body { padding: 28px; background: var(--light-bg); }
.case-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--pearl-blue);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.case-body .result {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
  color: var(--pearl-blue);
  margin-bottom: 16px;
  font-weight: 600;
}
.case-body .ctx {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 20px;
  line-height: 1.55;
}

.case-foot {
  margin-top: 48px;
  text-align: center;
}

/* ============================================================
   Solutions / audience cards
   ============================================================ */
.sol-head { margin-bottom: 56px; max-width: 720px; }
.sol-head h2 { margin-top: 16px; }

.aud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (min-width: 900px) { .aud-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.aud-card {
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.aud-card:hover {
  transform: translateY(-4px);
  border-color: var(--pearl-blue);
  box-shadow: 0 22px 48px -22px rgba(5, 28, 56, 0.22);
}
.aud-card:hover .aud-tag { color: var(--pearl-blue); }
.aud-card .aud-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pearl-blue);
  transition: color 200ms var(--ease);
}
.aud-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--pearl-blue);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.aud-card .aud-hook {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.55;
  max-width: 38ch;
}
.aud-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aud-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}
.aud-card ul li::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--pearl-blue);
  margin-top: 12px;
  flex: none;
}
.aud-card .aud-cta {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pearl-blue);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: gap 150ms var(--ease), color 150ms var(--ease);
}
.aud-card .aud-cta:hover { gap: 10px; color: var(--navy); }

/* ============================================================
   ROI calculator
   ============================================================ */
.roi-head { margin-bottom: 56px; max-width: 720px; }
.roi-head h2 { margin-top: 16px; }
.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  border-radius: 12px;
  padding: 32px;
}
@media (min-width: 1024px) {
  .roi-grid { grid-template-columns: 5fr 7fr; gap: 56px; padding: 48px; }
}

.roi-inputs { display: flex; flex-direction: column; gap: 28px; }
.roi-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--pearl-blue);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.roi-field label .val {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--pearl-blue);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.roi-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--grey-line);
  border-radius: 3px;
  outline: none;
  margin: 0;
  background-image: linear-gradient(var(--pearl-blue), var(--pearl-blue));
  background-size: 50% 100%;
  background-repeat: no-repeat;
}
.roi-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--electric);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--pearl-blue);
}
.roi-field input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 1px var(--pearl-blue), 0 0 0 6px rgba(0, 255, 255, 0.25); }
.roi-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--electric);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--pearl-blue);
}
.roi-field input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-mono);
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  color: var(--pearl-blue);
}
.roi-field input[type="number"]:focus { border-color: var(--pearl-blue); box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.25); }
.roi-field-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mid-grey);
  margin-top: 6px;
  font-family: var(--font-mono);
}

.roi-results {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.roi-results .eyebrow { color: var(--electric); }
.roi-results .eyebrow .slash { color: var(--electric); }
.roi-result-row {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
.roi-result-row:first-of-type { border-top: 0; padding-top: 0; }
.roi-result-row .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.roi-result-row .nums {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.92);
}
.roi-result-row .nums .sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}
.roi-savings-row { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
.roi-savings-row .lbl { color: var(--electric); font-weight: 600; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.roi-savings-row .big {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  position: relative;
}
.roi-savings-row .big-sub {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 500;
  color: var(--electric);
  letter-spacing: 0.02em;
}

.roi-cta-row { margin-top: 12px; display: flex; justify-content: flex-start; }
.roi-cta-row .btn {
  background: var(--white);
  color: var(--pearl-blue);
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
  border: 1px solid var(--white);
  border-radius: 4px;
}
.roi-cta-row .btn:hover { background: var(--powder); box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.35); }
.roi-cta-row .btn.sent { background: transparent; color: var(--electric); border-color: var(--electric); }

.roi-footnote {
  margin-top: 18px;
  font-size: 12px;
  color: var(--slate);
  font-family: var(--font-mono);
  text-align: right;
}

/* Inline email capture */
.roi-email-form {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.roi-email-form.open { display: flex; }
.roi-email-form input {
  padding: 12px 14px;
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 4px;
  font-family: var(--font-body);
}
.roi-email-form input::placeholder { color: rgba(255,255,255,0.5); }
.roi-email-form input:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2); }
.roi-email-form .err {
  font-size: 12px;
  color: #FCB6B6;
  font-family: var(--font-body);
}
.roi-email-form .err.success { color: #9FE0A2; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip { padding-block: 80px; background: var(--powder); }
.trust-head { text-align: center; margin-bottom: 48px; }
.trust-head h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--pearl-blue);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(6, 1fr); } }
.trust-badge {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.trust-badge svg { color: var(--pearl-blue); opacity: 0.9; }
.trust-badge .lbl { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--slate); line-height: 1.3; letter-spacing: 0.04em; text-transform: uppercase; }
.trust-foot { text-align: center; margin-top: 40px; }

/* ============================================================
   Resources
   ============================================================ */
.res-head { margin-bottom: 56px; max-width: 720px; }
.res-head h2 { margin-top: 16px; }
.res-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .res-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.res-card {
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.res-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(5, 28, 56, 0.18);
  border-color: var(--pearl-blue);
}
.res-card .type {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pearl-blue);
  margin-bottom: 18px;
}
.res-card .type.gated { color: var(--warning); }
.res-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--pearl-blue);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.res-card .meta {
  font-size: 12px;
  color: var(--slate);
  font-family: var(--font-mono);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.res-card .cta { margin-top: auto; }

/* ============================================================
   Final CTA (Navy)
   ============================================================ */
.final-cta {
  background: var(--navy);
  color: var(--white);
  padding-block: 120px;
  text-align: center;
}
.final-cta .eyebrow { color: var(--electric); }
.final-cta .eyebrow .slash { color: var(--electric); }
.final-cta h2 {
  color: var(--white);
  max-width: 18ch;
  margin: 16px auto 24px;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.final-cta .lede {
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto;
  font-size: 18px;
}
.final-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
.final-cta-foot {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.final-cta-foot a { color: var(--electric); border-bottom: 1px solid rgba(0, 255, 255, 0.4); }
.final-cta-foot a:hover { color: var(--electric); border-color: var(--electric); }

/* ============================================================
   Footer (Navy)
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding-block: 72px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); gap: 48px; } }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 150ms var(--ease); }
.footer-col a:hover { color: var(--white); }

.footer-brand .brand-row { display: flex; align-items: center; gap: 12px; color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 320px; }
.footer-brand .addr {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-style: normal;
}
.footer-brand .addr strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.footer-brand .addr a { color: rgba(255,255,255,0.7); }
.footer-brand .addr a:hover { color: var(--white); }

.newsletter {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) { .newsletter { grid-template-columns: 1fr auto; } }
.newsletter-copy h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
  text-transform: none;
}
.newsletter-copy p { font-size: 14px; color: rgba(255,255,255,0.65); }
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 12px 14px;
  font-size: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 4px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2); }
.newsletter-form button {
  background: var(--white);
  color: var(--pearl-blue);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: 0;
  min-height: 44px;
  transition: box-shadow 200ms var(--ease);
}
.newsletter-form button:hover { box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.3); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.footer-social { display: inline-flex; gap: 12px; }
.footer-social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
}
.footer-social a:hover { border-color: var(--electric); color: var(--electric); }

/* ============================================================
   Modals
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 28, 56, 0.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal {
  background: var(--white);
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  margin-top: 5vh;
  margin-bottom: 5vh;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(5, 28, 56, 0.35);
  transform: translateY(20px);
  transition: transform 250ms var(--ease);
  border: 1px solid var(--grey-line);
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-head {
  padding: 28px 32px 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.modal-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 8px 0 0;
  letter-spacing: -0.015em;
  color: var(--pearl-blue);
}
.modal-head p { font-size: 14px; color: var(--slate); margin-top: 8px; }
.modal-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  border-radius: 4px;
  flex: none;
}
.modal-close:hover { color: var(--pearl-blue); background: var(--light-bg); }

.modal-body { padding: 16px 32px 8px; }
.modal-form { display: flex; flex-direction: column; gap: 18px; }
.modal-form .field { display: flex; flex-direction: column; gap: 6px; }
.modal-form label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.modal-form label .req { color: var(--danger); }
.modal-form input,
.modal-form select,
.modal-form textarea {
  padding: 12px 14px;
  font-size: 15px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--pearl-blue);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.25);
  background: var(--white);
}
.modal-form textarea { min-height: 80px; resize: vertical; }
.modal-form .err {
  font-size: 12px;
  color: var(--danger);
}
.modal-form .field.has-error input,
.modal-form .field.has-error select { border-color: var(--danger); background: #FCEFF1; }

.modal-foot {
  padding: 16px 32px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.modal-foot .note { font-size: 12px; color: var(--slate); font-family: var(--font-mono); }

.modal-success {
  padding: 56px 40px;
  text-align: center;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.modal-success.show { display: flex; }
.modal-success.show + .modal-form-wrap { display: none; }
.modal-success .check {
  width: 56px; height: 56px;
  border: 1.5px solid var(--success);
  color: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-success h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--pearl-blue); letter-spacing: -0.015em; }
.modal-success p { font-size: 15px; color: var(--slate); max-width: 380px; line-height: 1.55; }
.modal-success a { color: var(--pearl-blue); border-bottom: 1px solid var(--pearl-blue); }

.modal-form-wrap { display: block; }
.modal-form-wrap.hide { display: none; }

/* ============================================================
   Floating side-card lead magnet
   ============================================================ */
.float-magnet {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 300px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  box-shadow: 0 22px 48px -16px rgba(5, 28, 56, 0.22);
  padding: 18px 18px 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
.float-magnet.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 767px) {
  .float-magnet { display: none !important; }
}
.float-magnet-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.float-magnet-thumb {
  flex: none;
  width: 44px;
  height: 56px;
  background: var(--light-bg);
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  display: flex;
  align-items: stretch;
  padding: 6px 5px;
}
.float-magnet-thumb svg { width: 100%; height: 100%; color: var(--pearl-blue); }
.float-magnet-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pearl-blue);
}
.float-magnet-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--pearl-blue);
  line-height: 1.35;
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.float-magnet-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pearl-blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 4px;
  border: 0;
  align-self: flex-start;
  cursor: pointer;
  transition: background 150ms var(--ease), box-shadow 200ms var(--ease);
}
.float-magnet-cta:hover { background: var(--navy); box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.25); }
.float-magnet-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  border-radius: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.float-magnet-close:hover { color: var(--pearl-blue); background: var(--light-bg); }

/* Soft-opt-in tickbox (download modal) */
.modal-form .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.modal-form .check-row input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--pearl-blue);
}

/* Helpers */
.heading-rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--pearl-blue);
  vertical-align: middle;
  margin-right: 16px;
  opacity: 0.4;
}

@media print {
  .nav, .modal-backdrop { display: none !important; }
}

/* ============================================================
   PEARL v1.1, six-product platform updates
   ============================================================ */

/* SAM spot grid reverse, mock left + copy right */
.sam-spot-grid.sam-spot-grid-reverse > .sam-spot-mock,
.sam-spot-grid.sam-spot-grid-reverse > div:first-child {
  order: 1;
}
.sam-spot-grid.sam-spot-grid-reverse > .sam-spot-copy,
.sam-spot-grid.sam-spot-grid-reverse > div:last-child {
  order: 2;
}
@media (max-width: 900px) {
  .sam-spot-grid.sam-spot-grid-reverse > div:first-child,
  .sam-spot-grid.sam-spot-grid-reverse > div:last-child {
    order: initial;
  }
}

/* ============ PRODUCT CAROUSEL ============ */
.carousel {
  position: relative;
  margin-top: 32px;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  outline: none;
}
.carousel-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(31, 75, 134, 0.18);
  border-radius: 8px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.carousel-card {
  flex: 0 0 calc(100% - 8px);
  min-width: 0;
}
@media (min-width: 1024px) {
  .carousel-card {
    flex: 0 0 calc(38% - 12px);
  }
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--grey-line);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.carousel-arrow:hover {
  background: var(--pearl-blue);
  color: var(--white);
  border-color: var(--pearl-blue);
}
.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.carousel-dots {
  display: inline-flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--grey-line);
  cursor: pointer;
  padding: 0;
  transition: background 160ms ease, transform 160ms ease;
}
.carousel-dot:hover { background: var(--slate); }
.carousel-dot.active {
  background: var(--pearl-blue);
  transform: scale(1.3);
}
.carousel-foot {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

/* ============ PRODUCT MOCKUPS (shared) ============ */
.product-mock {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px -10px rgba(20, 33, 55, 0.12);
}
.pm-titlebar {
  background: #F3F4F6;
  border-bottom: 1px solid var(--grey-line);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pm-dots {
  display: inline-flex;
  gap: 6px;
}
.pm-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D1D5DB;
}
.pm-dots span:nth-child(1) { background: #FF5F57; }
.pm-dots span:nth-child(2) { background: #FEBC2E; }
.pm-dots span:nth-child(3) { background: #28C840; }
.pm-host {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  flex: 1;
  text-align: center;
}
.pm-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--pearl-blue);
  background: rgba(31, 75, 134, 0.08);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.pm-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
}
@media (max-width: 700px) {
  .pm-shell { grid-template-columns: 1fr; }
}
.pm-side {
  background: #FAFBFC;
  border-right: 1px solid var(--grey-line);
  padding: 14px 12px;
}
.pm-side-section {
  margin-bottom: 16px;
}
.pm-side-section h5 {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px 4px;
}
.pm-nav {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 2px;
  cursor: pointer;
}
.pm-nav.active {
  background: rgba(31, 75, 134, 0.1);
  color: var(--pearl-blue);
  font-weight: 600;
}
.pm-main {
  padding: 16px 18px;
}
.pm-main-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.pm-h {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pm-sub {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 2px;
}
.pm-tile {
  background: var(--off-white);
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  padding: 8px 12px;
  text-align: right;
  min-width: 90px;
}
.pm-tile .num {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--pearl-blue);
}
.pm-tile .lbl {
  display: block;
  font-size: 10px;
  color: var(--text-faint);
}
.pm-table {
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  overflow: hidden;
}
.pm-table-head, .pm-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 10px;
  padding: 8px 12px;
  font-size: 11px;
  align-items: center;
}
.pm-table-head {
  background: #F9FAFB;
  border-bottom: 1px solid var(--grey-line);
  color: var(--text-faint);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pm-row + .pm-row { border-top: 1px solid #EEF0F2; }
.pm-row .pm-cell-name {
  font-weight: 500;
  color: var(--ink);
  font-size: 12px;
}
.pm-bar {
  height: 6px;
  background: var(--off-white);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.pm-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--pearl-blue);
  border-radius: 3px;
}
.pm-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}
.pm-pill-blue { background: rgba(31, 75, 134, 0.1); color: var(--pearl-blue); }
.pm-pill-green { background: rgba(16, 137, 88, 0.1); color: #108958; }
.pm-pill-amber { background: rgba(196, 134, 19, 0.12); color: #B47712; }
.pm-pill-grey { background: var(--off-white); color: var(--slate); }
.pm-body {
  padding: 16px 18px;
}
.pm-body-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 12px;
}
.pm-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--pearl-blue);
  background: var(--pearl-blue);
  color: var(--white);
  cursor: pointer;
}
.pm-btn.secondary {
  background: var(--white);
  color: var(--pearl-blue);
}
.pm-unit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 640px) {
  .pm-unit-grid { grid-template-columns: 1fr; }
}
.pm-unit {
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #FAFBFC;
}
.pm-unit-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.pm-unit-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.pm-unit-meta {
  font-size: 10px;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.pm-foot-strip {
  border-top: 1px solid var(--grey-line);
  background: #F9FAFB;
  padding: 10px 18px;
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ============ AI & PLAGIARISM MOCK ============ */
.plag-mock-body { padding: 16px 18px; }
.plag-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.plag-score {
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  padding: 12px 14px;
  background: var(--white);
}
.plag-score-h {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.plag-score-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.plag-ai .plag-score-num { color: #B47712; }
.plag-pl .plag-score-num { color: var(--pearl-blue); }
.plag-score-meta {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 6px;
}
.plag-doc {
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  background: #FAFBFC;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate);
}
.plag-hl-ai {
  background: rgba(196, 134, 19, 0.18);
  border-bottom: 1.5px solid #B47712;
  padding: 0 2px;
}
.plag-hl-pl {
  background: rgba(31, 75, 134, 0.14);
  border-bottom: 1.5px solid var(--pearl-blue);
  padding: 0 2px;
}
.plag-legend {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-faint);
}
.plag-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sw-ai, .sw-pl {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.sw-ai { background: rgba(196, 134, 19, 0.5); }
.sw-pl { background: rgba(31, 75, 134, 0.4); }
.plag-conf {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-faint);
  font-style: italic;
}

/* ============ CONTENT LIBRARY MOCK ============ */
.lib-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
}
@media (max-width: 700px) { .lib-shell { grid-template-columns: 1fr; } }
.lib-side {
  background: #FAFBFC;
  border-right: 1px solid var(--grey-line);
  padding: 14px 12px;
}
.lib-side-h {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.lib-side-sub {
  font-size: 10px;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.lib-filter {
  display: block;
  width: 100%;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 3px;
  color: var(--slate);
  background: transparent;
  border: none;
  text-align: left;
  margin-bottom: 2px;
  cursor: pointer;
}
.lib-filter.active {
  background: rgba(31, 75, 134, 0.1);
  color: var(--pearl-blue);
  font-weight: 600;
}
.lib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}
@media (max-width: 640px) { .lib-grid { grid-template-columns: 1fr 1fr; } }
.lib-tile {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  overflow: hidden;
}
.lib-thumb {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.lib-th-1 { background: linear-gradient(135deg, #1F4B86, #2C6BB8); }
.lib-th-2 { background: linear-gradient(135deg, #108958, #1AB276); }
.lib-th-3 { background: linear-gradient(135deg, #B47712, #D69828); }
.lib-th-4 { background: linear-gradient(135deg, #6F4A8C, #9268B5); }
.lib-th-5 { background: linear-gradient(135deg, #B53A3F, #D9646A); }
.lib-th-6 { background: linear-gradient(135deg, #2F525F, #4A7282); }
.lib-tile-body { padding: 8px 10px; }
.lib-tile-h {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
}
.lib-tile-meta {
  font-size: 10px;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.lib-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 8px;
  background: var(--off-white);
  color: var(--slate);
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.lib-badge-lv {
  background: rgba(31, 75, 134, 0.1);
  color: var(--pearl-blue);
}

/* ============ LEARNER FIND MOCK ============ */
.lf-body { padding: 16px 18px; }
.lf-body-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.lf-counter {
  font-size: 11px;
  color: var(--text-faint);
}
.lf-counter strong { color: var(--ink); }
.lf-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 700px) { .lf-kanban { grid-template-columns: 1fr; } }
.lf-col {
  background: #FAFBFC;
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  padding: 10px;
  min-height: 240px;
}
.lf-col-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--grey-line);
}
.lf-col-h span {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lf-count {
  font-size: 10px;
  color: var(--text-faint);
  background: var(--white);
  padding: 1px 6px;
  border-radius: 8px;
  border: 1px solid var(--grey-line);
}
.lf-card {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.lf-card-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.lf-card-meta {
  font-size: 10px;
  color: var(--text-faint);
  margin-bottom: 5px;
}
.lf-elig {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}
.lf-elig-amber {
  background: rgba(196, 134, 19, 0.12);
  color: #B47712;
}
.lf-elig-green {
  background: rgba(16, 137, 88, 0.12);
  color: #108958;
}

/* ============ POINTER-EVENTS DISABLED ON STATIC MOCK CONTROLS ============ */
.product-mock button,
.product-mock .smb-tab,
.product-mock .smb-toggle,
.product-mock .smb-override button,
.product-mock .pm-nav,
.product-mock .lib-filter,
.sam-mock-big.product-mock button,
.sam-mock-big.product-mock .smb-tab,
.sam-mock-big.product-mock .smb-toggle,
.sam-mock-big.product-mock .smb-override button {
  pointer-events: none;
}

/* ============================================================
   v1.2 ADDITIONS - chip group, case study carousel,
   case study modal, ROI calculator
   ============================================================ */

/* ---------- Chip group (demo modal multi-select) ---------- */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--grey-line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  font-family: var(--font-sans);
}
.chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip:hover { border-color: var(--pearl-blue); color: var(--pearl-blue); }
.chip:has(input:checked) {
  background: var(--pearl-blue);
  border-color: var(--pearl-blue);
  color: var(--white);
}
.chip:has(input:focus-visible) {
  outline: 2px solid var(--pearl-blue);
  outline-offset: 2px;
}
.field-extra {
  margin-top: 10px;
}
.field-extra[hidden] { display: none; }

/* ---------- Case study carousel ---------- */
.cs-carousel {
  position: relative;
  margin-top: 32px;
}
.cs-viewport {
  overflow: hidden;
  width: 100%;
  outline: none;
}
.cs-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(31, 75, 134, 0.18);
  border-radius: 12px;
}
.cs-track {
  display: flex;
  gap: 20px;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.cs-card {
  flex: 0 0 calc(100% - 8px);
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
@media (min-width: 768px) {
  .cs-card {
    flex: 0 0 calc(60% - 10px);
  }
}
@media (min-width: 1024px) {
  .cs-card {
    flex: 0 0 calc(38% - 12px);
  }
}
.cs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -16px rgba(20, 33, 55, 0.22);
  border-color: var(--pearl-blue);
}
.cs-card:focus-visible {
  outline: 2px solid var(--pearl-blue);
  outline-offset: 3px;
}
.cs-card .eyebrow {
  font-size: 11px;
}
.cs-card .cs-org {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--pearl-blue);
  line-height: 1.2;
  margin: 0;
}
.cs-card .cs-hero {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.cs-card .cs-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pearl-blue);
  margin-top: auto;
}
.cs-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* ---------- Case study modal ---------- */
.modal.modal-case {
  max-width: 760px;
  width: 100%;
}
.modal-case .modal-head {
  align-items: flex-start;
}
.modal-case .modal-head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pearl-blue);
  line-height: 1.15;
  margin-top: 6px;
}
.case-modal-hero {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.55;
  margin-top: 10px;
  max-width: 560px;
}
.case-modal-body {
  padding: 8px 32px 24px;
  max-height: 60vh;
  overflow-y: auto;
}
.case-modal-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
}
.case-modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 20px;
}
@media (max-width: 560px) {
  .case-modal-stats { grid-template-columns: 1fr; }
}
.case-modal-stat {
  background: var(--light-bg, #F6F8FB);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  padding: 14px 14px;
}
.case-modal-stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--pearl-blue);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.case-modal-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
}

/* ---------- ROI calculator ---------- */
section.roi-calculator {
  /* ensure section behaves as standard block, not affected by grid rule below */
  display: block;
}
.roi-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}
.roi-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pearl-blue);
  line-height: 1.15;
  margin-top: 12px;
}
.roi-head .roi-sub {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.55;
  margin-top: 14px;
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .roi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
.roi-inputs {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.roi-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.roi-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}
.roi-field input[type="number"] {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 11px 14px;
  border: 1px solid var(--grey-line);
  border-radius: 8px;
  background: var(--powder);
  color: var(--ink);
  -moz-appearance: textfield;
  width: 100%;
}
.roi-field input[type="number"]:focus {
  outline: none;
  border-color: var(--pearl-blue);
  box-shadow: 0 0 0 3px rgba(0, 73, 125, 0.12);
}
.roi-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.roi-results .eyebrow {
  margin-bottom: 4px;
}
.roi-output-card {
  background: var(--pearl-blue);
  color: var(--white);
  border-radius: 14px;
  padding: 24px 24px;
  position: relative;
  overflow: hidden;
}
.roi-output-card + .roi-output-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--grey-line);
}
.roi-output-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.85;
}
.roi-output-card + .roi-output-card .roi-output-lbl {
  color: var(--slate);
  opacity: 1;
}
.roi-output-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 6px;
}
@media (min-width: 768px) {
  .roi-output-num { font-size: 52px; }
}
.roi-output-note {
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.85;
}
.roi-output-card + .roi-output-card .roi-output-note {
  color: var(--slate);
  opacity: 1;
}
.roi-disclaimer {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  margin-top: 6px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.roi-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
