/* =========================================================================
   Deepinfo Marketing Site
   Design language: confident minimalism, dark hero/footer + light body,
   Manrope across the system, Deepinfo Blue 700 primary accent.
   ========================================================================= */
/* ---------- Deepinfo Brand Palette ----------
   Imported verbatim from the Deepinfo color system PDF.
   Blue is primary. Other families reserved for data viz and status. */
:root {
  /* Blue (primary brand color) */
  --blue-50:  #ebf5ff;
  --blue-100: #dbecff;
  --blue-200: #bedbff;
  --blue-300: #97c1ff;
  --blue-400: #6e9aff;
  --blue-500: #4c75ff;
  --blue-600: #3352ff;
  --blue-700: #2039e2;
  --blue-800: #1d34b6;
  --blue-900: #20338f;
  --blue-950: #131c53;

  /* Orange (reserved for data viz — not an accent color) */
  --orange-50:  #fff7ec;
  --orange-100: #ffedd4;
  --orange-200: #ffd7a8;
  --orange-300: #ffba70;
  --orange-400: #ff9137;
  --orange-500: #ff7210;
  --orange-600: #f85906;
  --orange-700: #c73f07;
  --orange-800: #9e320e;
  --orange-900: #7f2c0f;
  --orange-950: #451305;

  /* Yellow (data viz + warning) */
  --yellow-50:  #fff9eb;
  --yellow-100: #feefc7;
  --yellow-200: #fddd8a;
  --yellow-300: #fccb4d;
  --yellow-400: #fbbf24;
  --yellow-500: #f5b40b;
  --yellow-600: #d99e06;
  --yellow-700: #b48409;
  --yellow-800: #926d0e;
  --yellow-900: #785b0f;
  --yellow-950: #453303;

  /* Green (success + data viz) */
  --green-50:  #ecfdf7;
  --green-100: #d1faeb;
  --green-200: #a7f3d7;
  --green-300: #6ee7bb;
  --green-400: #34d399;
  --green-500: #10b97b;
  --green-600: #059661;
  --green-700: #04784e;
  --green-800: #065f3f;
  --green-900: #064e34;
  --green-950: #022c1d;

  /* Cyan (data viz) */
  --cyan-50:  #ebfffe;
  --cyan-100: #ccffff;
  --cyan-200: #9ffdff;
  --cyan-300: #5cf8ff;
  --cyan-400: #02e8fd;
  --cyan-500: #00cce3;
  --cyan-600: #00a2bf;
  --cyan-700: #04809a;
  --cyan-800: #0e677c;
  --cyan-900: #0a3f4e;
  --cyan-950: #001b23;

  /* Purple (data viz) */
  --purple-50:  #eee6f8;
  --purple-100: #d6c4ed;
  --purple-200: #b695df;
  --purple-300: #9564d0;
  --purple-400: #7435c2;
  --purple-500: #5609b4;
  --purple-600: #490899;
  --purple-700: #3d0680;
  --purple-800: #310567;
  --purple-900: #270451;
  --purple-950: #170032;

  /* Red (danger + data viz) */
  --red-50:  #ffefef;
  --red-100: #ffdcdc;
  --red-200: #ffbfbf;
  --red-300: #ff9292;
  --red-400: #ff5454;
  --red-500: #ff1f1f;
  --red-600: #ff0000;
  --red-700: #db0000;
  --red-800: #b80000;
  --red-900: #940808;
  --red-950: #520000;

  /* Gray (neutrals, text, borders) */
  --gray-50:  #f7f7f8;
  --gray-100: #eeeef0;
  --gray-200: #d8d9df;
  --gray-300: #b6b8c3;
  --gray-400: #8f93a1;
  --gray-500: #717486;
  --gray-600: #5b5e6e;
  --gray-700: #4a4c59;
  --gray-800: #40424c;
  --gray-900: #383942;
  --gray-950: #25252c;

  /* ---------- Semantic tokens (light mode) ---------- */

  --bg:            #ffffff;
  --bg-subtle:     var(--gray-50);
  --bg-muted:      var(--gray-100);
  --text:          var(--gray-950);
  --text-muted:    var(--gray-600);
  --text-subtle:   #6b7280;  /* WCAG AA: 4.7:1 on white at body-text size */
  --border:        var(--gray-100);
  --border-strong: var(--gray-200);

  /* Dark surface tokens — use Deepinfo Gray palette for warmth instead
     of near-black. 950 is the page bg; 900/800 step up for elevated
     surfaces like cards and inputs. */
  --dark-bg:           var(--gray-950);
  --dark-bg-2:         var(--gray-900);
  --dark-bg-3:         var(--gray-800);
  --dark-text:         var(--gray-50);
  --dark-text-muted:   var(--gray-300);
  --dark-text-subtle:  var(--gray-500);
  --dark-border:       var(--gray-800);

  /* Accent tokens — Blue 700 is THE Deepinfo blue (logo-lockup color). */
  --accent:        var(--blue-700);
  --accent-hover:  var(--blue-800);
  --accent-strong: var(--blue-800);
  --accent-soft:   rgba(32, 57, 226, 0.10);
  --accent-soft-strong: rgba(32, 57, 226, 0.18);
  --accent-on-dark: var(--blue-400);
  /* RGB component form of --accent for use in rgba() with custom alpha
     (e.g., the .module-card / .value-card / .cert-card subtle tint).
     Per-body-class cascades override this with their own color. */
  --accent-rgb: 32, 57, 226;

  /* Status tokens (from the brand palette, not invented) */
  --success:       var(--green-600);
  --success-soft:  rgba(5, 150, 97, 0.12);
  --warning:       var(--yellow-600);
  --warning-soft:  rgba(217, 158, 6, 0.12);
  --danger:        var(--red-600);
  --danger-soft:   rgba(255, 0, 0, 0.10);

  /* Typography — single-font system. The `--font-mono` token is kept as an
     alias for `--font-sans` so existing `font-family: var(--font-mono)` rules
     across HTML and CSS continue to work but render in Manrope. */
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: var(--font-sans);

  /* Layout */
  --max-w: 1280px;
  --gutter: 32px;
  --header-h: 72px;
}
/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 700;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--dark { color: var(--dark-text-subtle); }
.display-1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.display-2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.display-3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 400;
}
.lead--dark { color: var(--dark-text-muted); }
/* Data & API Services — vertical (portrait) magic rings hero viz */
@media (max-width: 968px) {
  .dapi-rings {
    aspect-ratio: 1 / 1;
    max-width: 380px;
  }
}
/* Inner pages: all h1s fixed at 72px. Home page gets body.pg-home which
   is excluded here, keeping its full clamp(48px,7vw,96px) responsive size.
   !important overrides any legacy inline style="font-size:..." on h1 elements. */
body:not(.pg-home) .display-1 { font-size: 72px !important; }

/* Card headings — h3 (and h2) with display-3 class inside card containers
   (article, a) must render at the standard 22px card heading size, not the
   full clamp(24px,2.4vw,32px) that the class produces at desktop widths.
   h2.display-3 used as section headings (after eyebrow labels) is intentionally
   excluded so those larger section titles keep their visual weight. */
article h3.display-3,
article h2.display-3,
a h3.display-3 { font-size: 22px !important; line-height: 1.3; }

/* Mobile display sizes — keep numbers in proportion to small viewport widths.
   !important is required to override inline font-size set on some pages
   (e.g. about.html, customers.html h1 has style="font-size:72px").
   These come AFTER the body:not(.pg-home) rule so mobile wins on narrow screens. */
@media (max-width: 640px) {
  .display-1 { font-size: clamp(36px, 9vw, 44px) !important; }
  .display-2 { font-size: clamp(28px, 7vw, 34px) !important; }
  .display-3 { font-size: clamp(22px, 5.5vw, 26px) !important; }
  .lead      { font-size: 16px; }
}
@media (max-width: 968px) and (min-width: 641px) {
  .display-1 { font-size: clamp(44px, 6vw, 60px) !important; }
}
.display-1 em, .display-2 em, .display-3 em {
  font-style: normal;
  font-weight: 700;
  display: inline-block;
  /* Extend rendering area below baseline so descenders (g, y, p, q, j) aren't clipped
     by the inline-block content edge under tight line-heights. */
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  background-image: linear-gradient(135deg, var(--blue-500), var(--blue-700), var(--blue-400), var(--blue-600), var(--blue-500));
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: aurora 8s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 100%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}
/* ---------- Layout primitives ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.container--narrow { max-width: 960px; }
.section { padding: 96px 0; }
.section--lg { padding: 128px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--lg { padding: 80px 0; }
}
/* ── Responsive grid utilities (mobile-first collapse) ─────────────────────
   Use as: <div class="rgrid rgrid--2"> ... rgrid--3, rgrid--4
   .rgrid--split is the heading-row pattern: title left, lead right.
   ─────────────────────────────────────────────────────────────────────── */
.rgrid { display: grid; gap: 16px; }
.rgrid--2     { grid-template-columns: repeat(2, 1fr); }
.rgrid--3     { grid-template-columns: repeat(3, 1fr); }
.rgrid--4     { grid-template-columns: repeat(4, 1fr); }
.rgrid--5     { grid-template-columns: repeat(5, 1fr); }
.rgrid--split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.rgrid--split-start { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.rgrid--12    { grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
@media (max-width: 968px) {
  .rgrid--split,
  .rgrid--split-start,
  .rgrid--12,
  .rgrid--12wide { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .rgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .rgrid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .rgrid--2,
  .rgrid--3,
  .rgrid--4 { grid-template-columns: 1fr; }
  .rgrid--5 { grid-template-columns: repeat(2, 1fr); }
}
/* Internet stats grid: vertical bars at desktop, removed at mobile */
@media (max-width: 968px) {
  .internet-stats { gap: 24px !important; }
  .internet-stats > div {
    padding: 16px 0 !important;
    border-left: none !important;
    border-top: 1px solid var(--border);
  }
  .internet-stats > div:first-child { border-top: none; }
}
/* Customer logo grid cells — tighter padding on mobile so logos fit */
@media (max-width: 640px) {
  .rgrid--5 > a,
  .rgrid--5 > div { padding: 20px 12px !important; }
  .rgrid--5 img { max-width: 90% !important; height: auto !important; }
}
/* DSI animated list — base (desktop) styles for the platform/dsi.html hero viz */
.dsi-list {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 460px;
  overflow: hidden;
  margin-left: auto;
}
.dsi-list__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
  z-index: 2;
}
.dsi-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  animation: dsi-slide-in 400ms ease-out;
}
@keyframes dsi-slide-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dsi-list__badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
/* Specificity must beat .module-hero__viz svg { width: 100% } defined later in this file */
.dsi-list .dsi-list__badge svg {
  width: 20px;
  height: 20px;
}
.dsi-list__body {
  flex: 1;
  min-width: 0;
}
.dsi-list__name {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.dsi-list__detail {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dsi-list__time {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-subtle);
  font-weight: 500;
}
/* DSI animated list — fit inside the mobile viewport */
@media (max-width: 640px) {
  .dsi-list {
    max-width: 100% !important;
    width: 100% !important;
    height: 320px !important;
  }
  .dsi-list__item {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    gap: 10px !important;
  }
  .dsi-list__badge { width: 36px !important; height: 36px !important; }
  .dsi-list__name { font-size: 13px !important; }
  .dsi-list__detail { font-size: 11px !important; }
  .dsi-list__time { font-size: 10px !important; }
}
/* Customer logo grid: outer rounded border on the container, cells split
   by 1px hairlines via border-right/bottom on each tile. Empty cells in
   the last row don't get borders — only filled cells participate in the
   partition. The right-most column drops border-right, the bottom row
   drops border-bottom (clipped by container's overflow:hidden anyway). */
.customer-logo-grid > a,
.customer-logo-grid > div {
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.customer-logo-grid > a:nth-child(4n),
.customer-logo-grid > div:nth-child(4n) { border-right: none; }
.section--dark { background: var(--dark-bg); color: var(--dark-text); }
.section--subtle { background: var(--bg-subtle); }
/* Final CTA section: stretch the pixel-blast background behind the content */
.cta-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;            /* keep the blast behind the CTA content  */
}
.cta-section > .container {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.cta-section .eyebrow,
.cta-section .eyebrow--dark { color: #fff; }
.cta-section .display-1,
.cta-section .display-2,
.cta-section .display-3 { color: #fff; }
.cta-section .lead,
.cta-section .lead--dark { color: #fff; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
/* ---------- Header (shared across all pages) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;   /* must be above .mm (z-index: 200) */
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: auto;
}
.nav a, .nav button {
  transition: color 120ms ease;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav a:hover, .nav button:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 2px;
  background: var(--accent);
}
.nav__group-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  /* Button reset (was <a>, now <button>) */
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  letter-spacing: inherit;
}
.nav__group-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.nav__group-trigger svg {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  transition: transform 0.18s ease;
}
.nav__group.is-open .nav__group-trigger svg {
  transform: rotate(180deg);
  opacity: 0.8;
}
.nav__group.is-open .nav__group-trigger {
  color: var(--text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* Mobile-only nav groups (e.g. the Company dropdown in the drawer).
   Hidden on desktop, behaves like any other accordion group on mobile. */
@media (max-width: 900px) {
  .nav .nav__group--mobile-only { display: block; }
}
/* ---------- Mobile hamburger button (hidden on desktop) ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 250;
  position: relative;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-toggle__bars::before { content: ""; position: absolute; top: -7px; left: 0; right: 0; }
.nav-toggle__bars::after  { content: ""; position: absolute; top: 7px;  left: 0; right: 0; }
.nav-toggle.is-open .nav-toggle__bars { background: transparent; }
.nav-toggle.is-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }
/* Mobile breakpoint: nav becomes a slide-in drawer ───────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none !important; }

  .nav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 24px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(.4,0,.2,1);
    box-shadow: -16px 0 48px rgba(15,23,42,0.12);
    z-index: 200;
    margin-left: 0;
  }
  /* Thin wrapper — no special flex behavior */
  .nav__items {
    flex-shrink: 0;
  }

  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }

  /* Backdrop */
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.4);
    z-index: 150;
    animation: nav-bd-fade 220ms ease forwards;
  }
  @keyframes nav-bd-fade { from { opacity: 0; } to { opacity: 1; } }

  /* Group rows (Platform, Solutions, etc.) */
  .nav .nav__group {
    position: static !important;
    border-bottom: 1px solid var(--border);
  }
  .nav .nav__group-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
  }
  .nav .nav__group-trigger svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* Standalone links (no dropdown) — nav > a OR nav__items > a after wrapper */
  .nav > a,
  .nav__items > a {
    display: block;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid var(--border);
  }

  /* Mega menu becomes a collapsible accordion panel.
     height:auto !important and visibility:visible !important override any
     GSAP inline styles set during desktop initialization so the CSS
     max-height transition takes over on mobile. */
  .nav .mm {
    position: static !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    /* Reset GSAP desktop inline styles so mobile CSS transition works */
    height: auto !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 320ms ease;
    animation: none !important;
  }
  .nav .nav__group.is-open .mm {
    max-height: 1200px;
  }
  .nav .mm__inner {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: 1fr !important;
    padding: 0 0 16px !important;
    max-width: none !important;
  }
  /* In the mobile drawer, simplify the .mm__feature panel into a single
     overview link row at the BOTTOM of the modules list, no background. */
  .nav .mm__feature {
    display: block;
    padding: 0;
    border: none !important;
    background: transparent !important;
    order: 2;
  }
  .nav .mm__feature-eyebrow,
  .nav .mm__feature-title,
  .nav .mm__feature-desc { display: none; }
  .nav .mm__feature-body {
    display: flex !important;
    align-items: center;
    padding: 14px 0 0 !important;
    border: none !important;
    text-decoration: none;
    background: transparent !important;
  }
  .nav .mm__feature-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  /* Hide the "Read the blog" overview link inside the Resources mega menu —
     the items below already cover the same destinations. */
  .nav .mm--resources .mm__feature { display: none !important; }
  .nav .mm__panel { padding: 0; order: 1; }
  .nav .mm__list {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    gap: 2px !important;
  }
  .nav .mm__item { padding: 12px 12px !important; border-radius: 10px; }
  .nav .mm__feed-col { padding: 0 12px; }
  .nav .mm__item-name { font-size: 14px !important; }
  .nav .mm__item-desc,
  .nav .mm__item-detail { display: none; }
  /* Data & API: hide sub-feed lists, just show the two main items */
  .nav .mm__list--data-api {
    display: flex !important;
    flex-direction: column;
  }
  .nav .mm__feed-col {
    display: block;
    border: none !important;
  }
  .nav .mm__divider,
  .nav .mm__feed-list-wrap { display: none !important; }
  .nav .mm__section-label { display: none; }
  .nav .mm__footer { display: none; }

  /* Mobile CTA — centered in remaining space below menu items */
  .nav__mobile-cta {
    margin-top: auto;
    margin-bottom: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  /* Undo the global .nav a reset so btn styles show correctly */
  .nav__mobile-cta a.btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: -0.005em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .nav__mobile-cta a.btn--ghost {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
  }
  .nav__mobile-cta a.btn--primary {
    color: #fff;
    background-image: linear-gradient(135deg, var(--blue-500), var(--blue-700), var(--blue-400), var(--blue-600), var(--blue-500));
    background-size: 200% auto;
    animation: aurora 10s linear infinite;
    border: none;
  }
}
@media (min-width: 901px) {
  .nav__mobile-cta { display: none; }
  /* Make wrapper invisible to flex layout — children act as direct nav children */
  .nav__items { display: contents; }
}
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 80ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  font-family: inherit;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  color: white;
  background-image: linear-gradient(135deg, var(--blue-500), var(--blue-700), var(--blue-400), var(--blue-600), var(--blue-500));
  background-size: 200% auto;
  animation: aurora 10s linear infinite;
}
.btn--primary:hover {
  animation-duration: 4s;
}
/* Red variant of the primary button — same gradient + aurora animation,
   swapped onto the vuln-red palette. Used for vulnerability CTAs where
   we want a red counterpart to the blue primary. */
.btn--primary-red {
  color: white;
  background-image: linear-gradient(135deg, var(--vuln-red-500), var(--vuln-red-700), var(--vuln-red-400), var(--vuln-red-600), var(--vuln-red-500));
  background-size: 200% auto;
  animation: aurora 10s linear infinite;
  border: none;
}
.btn--primary-red:hover { animation-duration: 4s; }
/* On dark/grey backgrounds: white fill, no border */
.btn--ghost-dark { background: #fff; color: var(--text); border: none; }
.btn--ghost-dark:hover { background: rgba(255,255,255,0.88); }
/* On white backgrounds: white fill, subtle grey border */
.btn--ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--bg-subtle); }
.btn--small { padding: 8px 14px; font-size: 13px; }
.btn__arrow { width: 14px; height: 14px; transition: transform 150ms ease; }
.btn:hover .btn__arrow { transform: translateX(2px); }
/* ---------- Sub-page hero ---------- */
.subhero {
  background: var(--bg-subtle);
  color: var(--text);
  /* Standardised hero spacing — reduced from 96px to 64px top so the
     gap between the sticky header and the page caption feels tighter
     and is consistent across every inner page. */
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.subhero::before {
  display: none;
}
.subhero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 968px) {
  .subhero__inner { grid-template-columns: 1fr; gap: 48px; align-items: start; }
}
.subhero__title {
  color: var(--text);
  margin-bottom: 24px;
  max-width: 14ch;
}
/* ── BlurText hero h1 ────────────────────────────────────────────────────── */
.blur-word {
  display: inline-block;
  will-change: transform, filter, opacity;
}
/* ── DecryptedText h2 ────────────────────────────────────────────────────── */
/* Wrapper state during animation */
.dt-animating {
  position: relative;   /* overlay anchors to this */
  overflow: hidden;     /* clip scrambled chars that overflow past the natural height */
}
/* Hidden placeholder — keeps the h2 at its natural height so nothing shifts */
/* Absolute overlay — sits on top of placeholder, shows the scrambled chars */
.dt-overlay {
  position: absolute;
  inset: 0;
  display: block;
  /* No overflow:hidden — text must be free to wrap onto the next line */
}
/* Screen-reader text */
/* Character states */
/* ── LogoLoop trusted-by section ─────────────────────────────────────────── */
.logo-loop-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
/* spacing between the two logo rows */
/* LogoLoop core — ported from React Bits */
.logoloop {
  position: relative;
  --logoloop-gap: 32px;
  --logoloop-logoHeight: 28px;
  --logoloop-fadeColorAuto: #ffffff;
}
.logoloop__track {
  display: flex;
  width: max-content;
  will-change: transform;
  user-select: none;
  position: relative;
  z-index: 0;
}
.logoloop__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.logoloop__item {
  flex: 0 0 auto;
  margin-right: var(--logoloop-gap);
  line-height: 1;
}
.logoloop__item:last-child {
  margin-right: var(--logoloop-gap);
}
.logoloop__item img {
  height: var(--logoloop-logoHeight);
  width: auto;
  display: block;
  object-fit: contain;
  -webkit-user-drag: none;
  pointer-events: none;
  filter: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.logoloop__item img:hover {
  opacity: 0.8;
  filter: none;
}
.logoloop--fade::before,
.logoloop--fade::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 10%, 160px);
  pointer-events: none;
  z-index: 10;
}
.logoloop--fade::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
    rgba(255,255,255,0) 100%
  );
}
.logoloop--fade::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
    rgba(255,255,255,0) 100%
  );
}
/* Phase 3C — broad prefers-reduced-motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .logoloop__track,
  .dapi-marquee-col--up,
  .dapi-marquee-col--down,
  .mm,
  .blur-text,
  .dsi-list__item {
    animation: none !important;
    transform: none !important;
  }
}

.subhero__sub {
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--text-muted);
  margin-bottom: 32px;
}
.subhero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* ---------- Footer (shared) ---------- */
.footer {
  background: var(--bg);
  color: var(--text-muted);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__brand-mark {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.footer__brand-tagline {
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 32ch;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
.footer__col-title {
  /* 13.5px matches the .footer__col a override, so plain-text headings
     (e.g. Resources, which has no hub page) match the link-wrapped headings
     (Platform / Data & API / Company) visually. */
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 120ms ease;
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-subtle);
}
.footer__legal { display: flex; gap: 24px; }
.footer__status { display: flex; align-items: center; gap: 8px; }
.footer__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
}
/* =========================================================================
   PRICING PAGE
   ========================================================================= */
@media (max-width: 968px) {
  .pricing-tiers { grid-template-columns: 1fr; }
}
/* Comparison matrix */
@media (max-width: 968px) {
  .matrix { font-size: 12px; }
  .matrix__row { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .matrix__cell { padding: 10px 8px; font-size: 12px; }
}
/* 2-column variant: Deepinfo vs. a single competitor. */
/* Pricing FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__q {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-subtle);
  transition: transform 150ms ease;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
/* =========================================================================
   SOLUTION PAGE (per-module)
   ========================================================================= */
.module-hero {
  background: var(--bg-subtle);
  color: var(--text);
  padding: 96px 0 96px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) {
  .module-hero { padding: 48px 0 32px; }
}
.module-hero::before { display: none; }
.module-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 968px) {
  .module-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.module-hero__content { min-width: 0; }
.module-hero__viz {
  position: relative;
  width: 100%;
}
.module-hero__viz svg {
  width: 100%;
  height: auto;
  display: block;
}
.module-hero__title {
  color: var(--text);
  margin-bottom: 24px;
  max-width: 16ch;
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.module-hero__sub {
  max-width: 56ch;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-muted);
  margin-bottom: 32px;
}
/* Sources / data provenance */
@media (max-width: 768px) { .sources { grid-template-columns: repeat(2, 1fr); } }
/* Sample data block */
/* JSON syntax highlighting */
/* JSON syntax highlighting — colors chosen for dark-bg readability from brand palette */
/* Capability rows */
@media (max-width: 768px) {
  .cap-row { grid-template-columns: 1fr; gap: 12px; }
}
/* Feature/spec table */
/* =========================================================================
   PLATFORM PAGE
   ========================================================================= */
@media (max-width: 968px) {
  .module-row { grid-template-columns: 1fr; gap: 16px; padding: 32px; }
}
/* =========================================================================
   TRUST PAGE
   ========================================================================= */
@media (max-width: 768px) { .compliance-grid { grid-template-columns: repeat(2, 1fr); } }
.cert-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 150ms ease;
}
.cert-card:hover { border-color: var(--border-strong); }
.cert-card__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cert-card__sub {
  font-size: 13px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.cert-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
@media (max-width: 768px) { .principles { grid-template-columns: 1fr; } }
.principle {
  background: #ffffff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.principle__num {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.principle__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--text);
}
.principle__desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
/* Subprocessor table */
.sub-table {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.sub-row {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr 1fr;
  gap: 0;
  align-items: center;
}
.sub-row + .sub-row { border-top: 1px solid var(--border); }
.sub-cell { padding: 14px 20px; font-size: 14px; color: var(--text-muted); }
.sub-cell--head {
  font-weight: 700;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-subtle);
}
.sub-cell--name { font-weight: 600; color: var(--text); }
@media (max-width: 768px) {
  .sub-row { grid-template-columns: 1fr 1fr; }
  .sub-cell:nth-child(3), .sub-cell:nth-child(4) { display: none; }
}
/* =========================================================================
   RESEARCH / RADAR PAGE
   ========================================================================= */
.radar-page .section { background: transparent; }
@media (max-width: 968px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 968px) { .reports-grid { grid-template-columns: 1fr; } }
/* =========================================================================
   CUSTOMERS PAGE
   ========================================================================= */
@media (max-width: 768px) { .customer-stat-bar { grid-template-columns: repeat(2, 1fr); padding: 32px; } }
@media (max-width: 968px) {
  .case-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}
/* Sector grid (logo bar style) */
@media (max-width: 768px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
/* =========================================================================
   ABOUT PAGE
   ========================================================================= */
@media (max-width: 768px) {
  .timeline__row {
    grid-template-columns: 24px 1fr;
    gap: 16px;
  }
  .timeline__year {
    grid-column: 2;
    padding-top: 0;
    margin-bottom: -8px;
  }
  .timeline__content {
    grid-column: 2;
  }
}
/* Leader grid */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 968px) {
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .leader-grid { grid-template-columns: 1fr; }
}
.leader-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 150ms ease;
}
.leader-card:hover { border-color: var(--border-strong); }
.leader-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-muted);
  margin-bottom: 8px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader-card__avatar svg {
  width: 40px;
  height: 40px;
  opacity: 0.6;
}
.leader-card__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.leader-card__role {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.leader-card__bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
/* =========================================================================
   Final CTA section (used across many pages)
   ========================================================================= */
/* =========================================================================
   CAREERS PAGE
   ========================================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
@media (max-width: 968px) { .values-grid { grid-template-columns: 1fr; } }
/* ── Spotlight Card effect removed (was cursor-follow blue glow) ── */
.value-card,
.stat-card,
.post-card {
  position: relative;
  overflow: hidden;
}
/* ── PixelCard canvas (module-card hover effect) ── */
.module-card > .pixel-canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 2 !important;
  display: block !important;
  mix-blend-mode: multiply;
}
.module-card > *,
.value-card > *,
.stat-card > *,
.post-card > * {
  position: relative;
  z-index: 1;
}
.value-card {
  background: var(--bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-card__num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.value-card__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--text);
  margin-bottom: 4px;
}
.value-card__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.jobs-list {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
.jobs-group {
  border-bottom: 1px solid var(--border);
}
.jobs-group:last-child { border-bottom: none; }
.jobs-group__head {
  padding: 20px 32px;
  background: var(--bg-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.job-row {
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 120ms ease;
  color: var(--text);
}
.job-row:last-child { border-bottom: none; }
.job-row:hover { background: var(--bg-subtle); }
@media (max-width: 768px) {
  .job-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.job-row__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.job-row__meta {
  font-size: 13px;
  color: var(--text-muted);
}
.job-row__meta--mono {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-subtle);
}
.job-row__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .perks-grid { grid-template-columns: 1fr; } }
.perk {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.perk__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.012em;
}
.perk__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
/* =========================================================================
   BLOG / NEWS PAGES
   ========================================================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 968px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms ease, transform 150ms ease;
  color: var(--text);
}
.post-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--bg-subtle);
}
.post-card {
  transition: border-color 150ms ease, transform 150ms ease, background 180ms ease;
}
.post-card__cover {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.post-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card__meta {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--text-subtle);
  display: flex;
  gap: 8px;
  align-items: center;
}
.post-card__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
}
.post-card__excerpt {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.post-card__cta {
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
/* Individual blog post */
.post-article {
  max-width: 720px;
  margin: 0 auto;
}
.post-article__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-subtle);
  margin-bottom: 24px;
}
.post-article__meta-sep {
  color: var(--border-strong);
}
.post-article__title {
  /* Long-form blog post hero — sized between .display-1 (90px) and body
     copy. 64px clears .display-2 (58px) so cross-nav H2s on blog posts
     stay below H1 in size. Locked per H1 standardization policy. */
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}
@media (max-width: 880px) {
  .post-article__title { font-size: clamp(36px, 7vw, 48px); }
}
.post-article__lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.post-article__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.post-article__body h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  color: var(--text);
}
.post-article__body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 32px 0 12px;
  color: var(--text);
}
.post-article__body p {
  margin-bottom: 20px;
  color: var(--text-muted);
}
.post-article__body ul, .post-article__body ol {
  margin: 16px 0 20px 24px;
  color: var(--text-muted);
}
.post-article__body ul li, .post-article__body ol li {
  margin-bottom: 8px;
  list-style: disc;
  padding-left: 4px;
}
.post-article__body ol li { list-style: decimal; }
.post-article__body code {
  font-family: var(--font-sans);
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.post-article__body pre {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 24px 0;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.6;
}
.post-article__body pre code { background: transparent; padding: 0; }
/* =========================================================================
   CASE STUDY PAGE
   ========================================================================= */
@media (max-width: 768px) { .case-metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .case-metric:nth-child(2) { border-right: none; }
  .case-metric:nth-child(1), .case-metric:nth-child(2) { border-bottom: 1px solid var(--border); }
}
/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
@media (max-width: 968px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
.contact-channel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 150ms ease;
}
.contact-channel:hover { border-color: var(--border-strong); }
.contact-channel__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-channel__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.contact-channel__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.contact-channel__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.contact-channel__action {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Contact / report / demo form — borderless, filled-input style that matches
   the rest of the site's card system (24px+ radii, subtle gray fills, no
   1px hairlines). Used on free-threat-exposure-report, contact,
   and request-demo pages.

   The shine-border treatment (animated gradient ring) is a vanilla port of
   Magic UI's <ShineBorder /> — a radial gradient fills a pseudo-element, then
   mask-composite carves out the inner area so only the border shines. The
   gradient is sized at 300% so its movement is visible as background-position
   animates around. */
.contact-form {
  position: relative;
  background: var(--bg);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-form::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(transparent, transparent, #93C5FD, #3B82F6, #1D4ED8, transparent, transparent);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  animation: shine-border 14s linear infinite;
  pointer-events: none;
}
@keyframes shine-border {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-form::before { animation: none; }
}
/* The <form> itself is also a flex column so form-fields inside it inherit
   consistent vertical rhythm — without this, fields stack with zero gap
   because <form> is a single block child of .contact-form. */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form-field__input, .form-field__select, .form-field__textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--text);
  transition: background-color 120ms ease, box-shadow 120ms ease;
}
/* Selects: replace the native chevron with a positioned SVG so it sits
   inside the rounded background with consistent right padding instead
   of getting cropped by the native UA glyph. */
.form-field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%2325252C' d='M6 7.918L9.215 4.602C9.416 4.395 9.294 4 9.03 4H2.97c-.264 0-.386.395-.185.602L6 7.918z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 12px;
}
.form-field__input:focus, .form-field__select:focus, .form-field__textarea:focus {
  outline: none;
  background: var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.form-field__textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
/* Helper / hint text under any form field */
.form-field__hint {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
/* When .form-field is a <fieldset>, reset native chrome so it composes
   cleanly with the rest of the form-field family. */
fieldset.form-field {
  border: none;
  padding: 0;
  margin: 0;
}
fieldset.form-field > legend {
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
/* Vertical stack of checkboxes inside a fieldset.form-field */
.form-field__checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}
.form-field__checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  user-select: none;
}
.form-field__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.contact-offices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
@media (max-width: 1100px) { .contact-offices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .contact-offices { grid-template-columns: 1fr; } }
.office {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.office__city {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.office__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 10px;
}
.office__address {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
/* =========================================================================
   404 PAGE
   ========================================================================= */
@media (max-width: 768px) { .not-found__suggestions { grid-template-columns: 1fr; } }
/* =========================================================================
   LEGAL PAGES
   ========================================================================= */
.legal-article {
  max-width: 780px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
}
.legal-article h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 40px 0 14px;
  color: var(--text);
}
.legal-article h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}
.legal-article p { margin-bottom: 16px; color: var(--text-muted); }
.legal-article ul {
  margin: 12px 0 16px 24px;
  color: var(--text-muted);
}
.legal-article ul li {
  margin-bottom: 6px;
  list-style: disc;
  padding-left: 4px;
}
.legal-toc {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 48px;
}
.legal-toc__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 12px;
}
.legal-toc__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
  font-size: 13.5px;
}
@media (max-width: 768px) { .legal-toc__list { grid-template-columns: 1fr; } }
.legal-toc__list a {
  color: var(--text-muted);
  transition: color 120ms ease;
}
.legal-toc__list a:hover { color: var(--accent); }
.legal-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-subtle);
  /* Top margin separates the meta line from the subhero block above
     so the date doesn't collide with the lead paragraph's baseline. */
  margin-top: 48px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
/* =========================================================================
   BREADCRUMB
   Matches the inline-styled pattern previously used on feed/API detail
   pages so existing pages can adopt the class with no visual change.
   ========================================================================= */
/* Breadcrumb-as-pill: per-page accent tint background, breadcrumb path as
   uppercase typography inside a rounded pill. Module color cascade via
   --badge-bg + --badge-color (body class overrides further down). */
.breadcrumb {
  display: inline-flex;
  margin-bottom: 40px;
  padding: 8px 16px;
  background: var(--badge-bg, var(--blue-50));
  border-radius: 22px;
  max-width: 100%;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--badge-color, var(--accent));
  text-transform: uppercase;
  letter-spacing: 0.06em;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.12s ease;
}
.breadcrumb a:hover { opacity: 1; }
.breadcrumb li[aria-current="page"] {
  color: inherit;
  opacity: 1;
}
.breadcrumb li[aria-hidden="true"] {
  color: inherit;
  opacity: 0.55;
  user-select: none;
}
@media (max-width: 640px) {
  .breadcrumb { margin-bottom: 28px; padding: 6px 14px; }
  .breadcrumb ol { font-size: 13px; gap: 6px; letter-spacing: 0.05em; }
  /* Hide compound module-name suffix on mobile — pill collapses to "EASM" etc. */
  .breadcrumb__compound-full { display: none; }
}
/* Per-body-class pill colors: tinted bg + saturated text in the page's accent. */
body.cti-gray      { --badge-bg: rgba(220, 38, 38, 0.10);  --badge-color: #dc2626; }
body.brp-orange    { --badge-bg: rgba(234, 88, 12, 0.10);  --badge-color: #ea580c; }
body.tprm-purple   { --badge-bg: rgba(147, 51, 234, 0.10); --badge-color: #9333ea; }
body.dsi-cyan      { --badge-bg: rgba(0, 162, 191, 0.10);  --badge-color: #00a2bf; }
body.dataapi-green { --badge-bg: rgba(5, 150, 97, 0.10);   --badge-color: #059661; }
body.vuln-red      { --badge-bg: rgba(219, 0, 0, 0.10);    --badge-color: #db0000; }
/* =========================================================================
   SKIP LINK (a11y)
   ========================================================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  transition: top 120ms ease;
}
.skip-link:focus {
  top: 12px;
}
/* =========================================================================
   DROPDOWN MENU (header nav)
   ========================================================================= */
.nav__group.is-open .dropdown {
  display: flex;
}
/* =========================================================================
   SOLUTIONS (USE-CASES) PAGE
   ========================================================================= */
.solutions-toc {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}
.solutions-toc li + li { border-top: 1px solid var(--border); }
.solutions-toc a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text);
  transition: background 120ms ease, color 120ms ease;
}
.solutions-toc a:hover { background: var(--blue-50); color: var(--accent); }
.toc__num {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.toc__text {
  font-weight: 600;
  letter-spacing: -0.01em;
}
@media (max-width: 900px) {
  .use-case__inner { grid-template-columns: 1fr; gap: 32px; }
}
.module-pill {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
/* Per-module pill colors — pill carries the brand identity of the module
   it labels regardless of the page context's accent. Used on audience
   cards and anywhere a multi-module badge cluster lists capabilities. */
.module-pill--easm { background: rgba(51, 82, 255, 0.10);  color: #3352ff; }
.module-pill--cti  { background: rgba(220, 38, 38, 0.10);  color: #dc2626; }
.module-pill--brp  { background: rgba(234, 88, 12, 0.10);  color: #ea580c; }
.module-pill--tprm { background: rgba(147, 51, 234, 0.10); color: #9333ea; }
.module-pill--dsi  { background: rgba(0, 162, 191, 0.10);  color: #00a2bf; }
@media (max-width: 700px) {
  .use-case__outcomes { grid-template-columns: 1fr; }
  .use-case__outcome + .use-case__outcome { border-top: 1px solid var(--border); border-left: 0; }
}
/* =========================================================================
   MODULE CARD GRID (homepage capabilities)
   ========================================================================= */
.module-card-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
/* ── Horizontal scroll strip ──────────────────────────────────────────────── */
/* Section stays its NATURAL size — just header + cards. No pin, no sticky.
   Scrub ties horizontal animation progress to vertical scroll progress
   through the section. No blank space anywhere. */
.module-horiz-section {
  overflow-x: clip;
  overflow-y: visible;
}
.module-horiz-section .container {
  overflow-x: clip;
  overflow-y: visible;
}
.module-horiz-header {
  padding-bottom: 32px;
}
.module-horiz-wrapper {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 0 var(--gutter, 32px);
}
/* Two-column split: cards on left, CardSwap on right */
.module-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
/* Default: vertical stack (used on platform.html and other pages) */
.module-card-strip {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 0 48px;
  width: 100%;
}
/* Feature list inside a module card (platform.html) */
.module-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 24px;
  margin: 4px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.module-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  color: var(--text-muted);
  padding: 4px 0;
  border-radius: 4px;
  transition: color 120ms ease, transform 120ms ease;
}
.module-card__feature::before {
  content: '→';
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.6;
  transition: transform 120ms ease, opacity 120ms ease;
}
.module-card__feature:hover {
  color: var(--accent);
}
.module-card__feature:hover::before {
  transform: translateX(2px);
  opacity: 1;
}
/* Home page (inside .module-split): same column stack, edge-to-edge */
.module-split .module-card-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 48px;
  width: 100%;
}
.module-swap-col {
  position: relative;
  min-height: 100%;
  overflow: visible;
}
.module-swap-sticky {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: block;
  overflow: visible;
}
.cs-stage {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  perspective: 900px;
  transform: translate(8%, 0);
  transform-origin: top right;
  overflow: visible;
  pointer-events: none;
}
.cs-stage .cs-card { pointer-events: auto; }
@media (max-width: 900px) {
  .module-split { grid-template-columns: 1fr; gap: 32px; }
  .module-swap-col { display: none; }
}
/* ── Module card ──────────────────────────────────────────────────────────── */
.module-card {
  grid-column: span 3;        /* default: inside .module-card-grid (2-per-row) */
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 33%;
  gap: 0;
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
}
/* In strip context: single column (no screenshot), stacked vertically */
.module-split .module-card-strip .module-card {
  grid-column: unset;
  grid-template-columns: 1fr;
  width: 100%;
  border-radius: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-top: none;
}
.module-split .module-card-strip .module-card:first-child {
  border-top: 1px solid var(--border);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.module-split .module-card-strip .module-card:last-child {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
/* ── Border glow on module cards (inherits --edge-proximity / --cursor-angle from border-glow.js) ── */
.module-card-strip .module-card {
  /* Flex layout (overriding the base .module-card grid) so the accent can
     stretch vertically to the body's natural height, and then aspect-ratio:1
     on the accent makes its width track that height — the square is exactly
     as big as the right-hand block is tall, fully responsive. */
  display: flex;
  align-items: stretch;
  grid-template-columns: unset;
  position: relative;
  isolation: isolate;
  background: #ffffff;
  cursor: pointer;
}
/* Whole-card click target — the bottom CTA's hit area is extended to
   cover the entire card via an absolute ::before. Because the CTA itself
   is `position: static`, its ::before's `position: absolute` resolves
   against the next positioned ancestor — `.module-card` (`position:
   relative`). Inner feature links sit at a higher z-index so they remain
   clickable. Pattern is keyboard-accessible: the CTA stays a real <a>
   with a focus ring, and screen readers announce one primary card link. */
.module-card-strip .module-card .module-card__cta::before {
  content: '';
  position: absolute;
  inset: 0;             /* spans the entire card */
  z-index: 0;
}
.module-card-strip .module-card .module-card__cta {
  /* Stay above the overlay so the visible "Explore X →" text/icon stays
     clickable as the actual link target. */
  z-index: 1;
}
.module-card-strip .module-card .module-card__feature,
.module-card-strip .module-card .module-card__features {
  position: relative;
  z-index: 1;
}

/* ── Module card accent panel — SQUARE colored block on the left.
   aspect-ratio:1 locks the width to the (stretched) height, so the
   square always matches the right-hand body's height. flex-shrink:0
   protects it from getting squeezed when the body grows wide. ── */
.module-card-strip .module-card__accent {
  aspect-ratio: 1;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 23px 0 0 23px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.module-card-strip .module-card__accent .module-card__icon {
  /* White-on-color: invert the brand-coloured SVG so it reads on the
     coloured accent background. The icon fills ~70% of the square,
     centred — full-bleed feel without touching the edges. */
  filter: brightness(0) invert(1);
  opacity: 0.95;
  width: 70%;
  height: 70%;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.module-card-strip .module-card__accent .module-card__icon svg {
  width: 100%;
  height: 100%;
}
/* Body takes whatever horizontal space the square left behind. min-width:0
   prevents it from refusing to shrink and overflowing the card. */
.module-card-strip .module-card__body {
  flex: 1;
  min-width: 0;
}
/* Per-module accent background — same multi-stop linear gradient each
   module uses for its focus-text `<em>` highlight on its platform page,
   so the home card and the deep page share visual identity. */
.module-card-strip .module-card--easm .module-card__accent {
  background-image: linear-gradient(135deg, var(--blue-500), var(--blue-700), var(--blue-400), var(--blue-600), var(--blue-500));
}
.module-card-strip .module-card--cti  .module-card__accent {
  background-image: linear-gradient(135deg, #ef4444, #dc2626, #f87171, #b91c1c, #ef4444);
}
.module-card-strip .module-card--brp  .module-card__accent {
  background-image: linear-gradient(135deg, #f97316, #ea580c, #fb923c, #c2410c, #f97316);
}
.module-card-strip .module-card--tprm .module-card__accent {
  background-image: linear-gradient(135deg, #a855f7, #9333ea, #c084fc, #7e22ce, #a855f7);
}
.module-card-strip .module-card--dsi  .module-card__accent {
  background-image: linear-gradient(135deg, #02e8fd, #00a2bf, #5cf8ff, #04809a, #02e8fd);
}
/* Mobile: stack accent on top of body so the layout still works at narrow widths */
@media (max-width: 768px) {
  .module-card-strip .module-card {
    grid-template-columns: 1fr;
  }
  .module-card-strip .module-card__accent {
    padding: 18px 20px;
    border-radius: 23px 23px 0 0;
  }
}
.module-card-strip .module-card::before,
.module-card-grid .module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Border thickness tuned to 1.5px — thick enough for the conic gradient
     to register, thin enough to feel like a refined hairline rather than
     a chunky frame. */
  border: 1.5px solid transparent;
  background:
    conic-gradient(
      from calc(var(--cursor-angle, 0deg) - 50deg),
      transparent                          0%,
      var(--glow-primary, #3352ff)        20%,
      var(--glow-secondary, #97c1ff)      50%,
      var(--glow-primary, #3352ff)        80%,
      transparent                        100%
    ) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
          mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: calc(var(--edge-proximity, 0) / 100);
  transition: opacity 0.12s ease;
  pointer-events: none;
  z-index: 2;
}
/* Generic border-glow recipient — same conic-gradient cursor-tracking
   border used on module cards, exposed for cards outside the module
   strip/grid contexts (e.g. the home "Beyond the platform" info-cards).
   JS adds --cursor-angle and --edge-proximity; defaults below pick green
   so the home Data-API cards inherit the data-api theme tone. */
.border-glow-card {
  position: relative;
  isolation: isolate;
}
/* Reset any glow-primary inheritance — these cards always render green
   regardless of which page-theme context they sit in. */
.border-glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid transparent;
  background:
    conic-gradient(
      from calc(var(--cursor-angle, 0deg) - 50deg),
      transparent  0%,
      #10b97b     20%,
      #6ee7bb     50%,
      #10b97b     80%,
      transparent 100%
    ) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
          mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: calc(var(--edge-proximity, 0) / 100);
  transition: opacity 0.12s ease;
  pointer-events: none;
  z-index: 2;
}
/* Force padding on info-card variants that get the glow — the pseudo
   element above is masked to the border ring only, but we want to make
   sure the inner padding visibly survives in every render context. */
.info-card.border-glow-card { padding: 28px; }

/* Per-module glow colors — apply in both contexts (home strip + platform grid). */
.module-card--easm { --glow-primary: #3352ff; --glow-secondary: #97c1ff; }
.module-card--dsi  { --glow-primary: #00a2bf; --glow-secondary: #5cf8ff; }
.module-card--cti  { --glow-primary: #dc2626; --glow-secondary: #fca5a5; }
.module-card--brp  { --glow-primary: #ea580c; --glow-secondary: #fed7aa; }
.module-card--tprm { --glow-primary: #9333ea; --glow-secondary: #c084fc; }
/* In strip context (index.html platform section): smaller title */
.module-card-strip .module-card__title { font-size: 22px; }
/* Per-module eyebrow captions match module tone */
.module-card-strip .module-card--easm .module-card__eyebrow { color: #3352ff; }
.module-card-strip .module-card--dsi  .module-card__eyebrow { color: #00a2bf; }
.module-card-strip .module-card--cti  .module-card__eyebrow { color: #dc2626; }
.module-card-strip .module-card--brp  .module-card__eyebrow { color: #ea580c; }
.module-card-strip .module-card--tprm .module-card__eyebrow { color: #9333ea; }
/* Home strip cards (index.html): icon + eyebrow inline in heading row, eyebrow at 14px.
   Scope is tight — only fires when an eyebrow lives inside .module-card__heading,
   which is only the case on index.html. */
.module-card-strip .module-card__heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.module-card-strip .module-card__heading .module-card__eyebrow {
  font-size: 14px;
  align-self: center;
}
.module-card--wide {
  grid-column: span 6;
}
/* Module-card-grid context: single column (no screenshot). Same
   white-plate + border-glow treatment as the home-page module strip
   cards — radius + border re-asserted, white background, isolation
   for the ::before conic-glow ring. */
.module-card-grid .module-card {
  grid-template-columns: 1fr;
  align-content: start;
  padding: 32px;
  row-gap: 12px;
  background: #ffffff;
  /* Inside the joined .module-card-grid container, individual cards have
     no border or radius — the grid's outer rounded border + 1px partition
     gap handles all visual structure. Only the four outer corners stay
     rounded (via container's border-radius + overflow:hidden). */
  border-radius: 0;
  border: none;
  position: relative;
  isolation: isolate;
  transition: background 180ms ease;
}
.module-card-grid .module-card:hover { background: var(--bg-subtle); }
/* 5-card layout: row 1 = 2 cards (span 3 each), row 2 = 3 cards (span 2 each) */
.module-card-grid .module-card:nth-child(n+3):nth-last-child(-n+3) {
  grid-column: span 2;
}
/* 3-per-row variant (for grids with many items, e.g. CTI's 12 features) */
.module-card-grid--3col .module-card { grid-column: span 2; }
/* 2-per-row variant — forces all cards to span 3, overrides nth-child rule */
.module-card-grid--2col .module-card,
.module-card-grid--2col .module-card:nth-child(n+3):nth-last-child(-n+3) { grid-column: span 3; }
/* Opt-out for grids that should NOT show the conic-gradient cursor-following
   glow ring (e.g. the CVE+CVSS / CVE+CVSS+EPSS comparison cards on the EASM
   page where the cards are informational, not interactive). Hides only the
   animated ::before layer; the card's own static border stays intact. */
.module-card-grid--no-glow .module-card::before { display: none; }
/* Text content area */
.module-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Screenshot image area */
.module-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.module-card__icon svg {
  width: 100%;
  height: 100%;
}
/* In strip context: icon is inline with title — shrink it */
.module-split .module-card-strip .module-card__heading {
  display: flex;
  align-items: center;
  gap: 14px;
}
.module-split .module-card-strip .module-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
}
.module-split .module-card-strip .module-card__icon svg {
  width: 44px;
  height: 44px;
}
.module-split .module-card-strip .module-card__body {
  padding: 24px;
  gap: 10px;
}
/* ── Dashboard "score" stage (homepage Monitor Every Discipline section) ─
   3-column desktop layout: left cards (EASM/BRP) ← circle → right cards (CTI/TPRM).
   On mobile we stack everything vertically: left cards on top, circle in
   the middle, right cards at the bottom. Cards become full-width and
   their flex-basis is removed so they use the available width. */
@media (max-width: 968px) {
  .dashboard-stage {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .dashboard-stage__col {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 420px;
  }
  .dashboard-stage__col--left  { order: 1; }
  .dashboard-stage__center {
    order: 2;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 420px;
    height: 420px !important;
    align-self: center;
    overflow: visible !important;
  }
  .dashboard-stage__col--right { order: 3; }
}
/* ── Generic info-card (Data Feeds, API Services, Why Deepinfo, etc.) ────
   Reusable card pattern with consistent typography that scales for mobile. */
.info-card {
  display: block;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text);
  transition: border-color 150ms ease;
  text-decoration: none;
}
.info-card__eyebrow { margin-bottom: 12px; }
.info-card__title {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.info-card__desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}
.info-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13.5px;
}
.info-card__badge {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.info-card__title--sm {
  font-size: 20px;
  margin-bottom: 12px;
}
@media (max-width: 640px) {
  .info-card { padding: 24px; border-radius: 24px; }
  .info-card__title { font-size: 18px; }
  .info-card__title--sm { font-size: 17px; }
  .info-card__desc  { font-size: 14px; }
  .info-card__cta   { font-size: 13px; }
  .info-card__badge { width: 36px; height: 36px; margin-bottom: 16px; }
}
/* Mobile: icon ABOVE the title (not inline), tighter typography for ALL
   module-card variants (strip, grid, etc.). The desktop-only inline
   `align-items: center` heading layout looks awkward when the title wraps to
   3 lines on a narrow screen. Applied universally across the site. */
@media (max-width: 640px) {
  /* Heading: stack icon above title */
  .module-card__heading {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  /* Icon: shrink */
  .module-card__icon {
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 0 !important;
  }
  .module-card__icon svg {
    width: 36px !important;
    height: 36px !important;
  }
  /* Card body padding */
  .module-card__body {
    padding: 24px !important;
    gap: 8px !important;
  }
  .module-card-grid .module-card { padding: 24px !important; }
  /* Typography */
  .module-card__title { font-size: 20px !important; line-height: 1.3 !important; }
  .module-card__desc  { font-size: 15px !important; line-height: 1.5 !important; }
  .module-card__cta   { font-size: 14px !important; }
  .module-card__feature { font-size: 14px !important; }
  .module-card--wide .module-card__title { font-size: 20px !important; }
  /* Feature list grid: collapse 3 cols to 1 on mobile so long names don't push the card wider */
  .module-card__features { grid-template-columns: 1fr !important; gap: 6px 0 !important; }
}
.module-card__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}
.module-card__dot {
  display: none;
}
.module-card__title {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}
.module-card--wide .module-card__title {
  font-size: 22px;
  max-width: 28ch;
}
.module-card__desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  flex: 1;
}
.module-card__body .module-card__desc {
  flex: 1;
}
.module-card__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13.5px;
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}
.module-card:hover .module-card__cta {
  border-bottom-color: transparent;
}

/* ============================================================================
   Cross-nav grid (".Other modules" sections at end of module pages)
   Each card adopts its TARGET module's color identity via .module-card--target-{slug}.
   Subtle 5% accent tint at rest, 10% on hover. Eyebrow + dot + CTA arrow pick up
   the target color. Used on /platform/{easm,cti,brp,tprm,dsi}.html.
   ========================================================================== */
.cross-nav-grid .module-card--target-easm { --target-rgb: 32, 57, 226;  --target-color: #2039e2; }
.cross-nav-grid .module-card--target-cti  { --target-rgb: 220, 38, 38; --target-color: #dc2626; }
.cross-nav-grid .module-card--target-brp  { --target-rgb: 234, 88, 12;  --target-color: #ea580c; }
.cross-nav-grid .module-card--target-tprm { --target-rgb: 147, 51, 234; --target-color: #9333ea; }
.cross-nav-grid .module-card--target-dsi  { --target-rgb: 0, 162, 191;  --target-color: #00a2bf; }

.cross-nav-grid .module-card[class*="module-card--target-"] {
  background:
    linear-gradient(0deg, rgba(var(--target-rgb), 0.05), rgba(var(--target-rgb), 0.05)),
    var(--bg);
  /* Square inner corners — parent grid's border-radius + overflow:hidden
     keeps only the four outer corners rounded. */
  border-radius: 0;
  transition: background 220ms ease, transform 220ms ease;
}
.cross-nav-grid .module-card[class*="module-card--target-"]:hover {
  background:
    linear-gradient(0deg, rgba(var(--target-rgb), 0.10), rgba(var(--target-rgb), 0.10)),
    var(--bg);
}
/* Disable the conic border-glow animation on cross-nav cards — these
   already use a coloured background to signal target identity, so the
   rotating gradient ring competes with that. The base hover-tint is the
   only animation we keep. */
.cross-nav-grid .module-card::before {
  display: none !important;
}

/* Separated card grids (customer stories, audience cross-links) — module
   cards placed directly in a 2- or 3-column rgrid with their own subtle
   gray background and individual border-radius. Hover tints to white for
   feedback. The partition/glow rituals from cross-nav-grid don't apply
   here because each card stands alone with a real gap between siblings. */
.rgrid--2 > .module-card,
.rgrid--3 > .module-card,
.rgrid--4 > .module-card,
.rgrid--5 > .module-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: background 180ms ease;
}
.rgrid--2 > .module-card::before,
.rgrid--3 > .module-card::before,
.rgrid--4 > .module-card::before,
.rgrid--5 > .module-card::before { display: none !important; }
.rgrid--2 > .module-card:hover,
.rgrid--3 > .module-card:hover,
.rgrid--4 > .module-card:hover,
.rgrid--5 > .module-card:hover {
  background: var(--bg);
}
/* Inside a subtle (gray) section the zebra inverts: cards go white,
   hover tints back to gray so the contrast direction stays consistent. */
.section--subtle .rgrid--2 > .module-card,
.section--subtle .rgrid--3 > .module-card,
.section--subtle .rgrid--4 > .module-card,
.section--subtle .rgrid--5 > .module-card { background: var(--bg); }
.section--subtle .rgrid--2 > .module-card:hover,
.section--subtle .rgrid--3 > .module-card:hover,
.section--subtle .rgrid--4 > .module-card:hover,
.section--subtle .rgrid--5 > .module-card:hover { background: var(--bg-subtle); }

/* Programs page (Startup / Researcher / Non-Profit) cards: white at
   rest, subtle lift + accent border on hover so the cards visibly read
   as clickable. Padding + flex layout inlined into the class so the
   HTML stays terse. */
.rgrid--3 > .program-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.rgrid--3 > .program-card:hover {
  background: var(--bg);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* API card hover — data-api/apis/index.html uses joined-card grids built
   from inline-styled anchors. On hover, tint the card surface with the
   page accent (green on the data-api theme). The !important overrides
   the inline background set on each anchor. */
.api-card { transition: background 200ms ease; }
.api-card:hover { background: var(--green-50) !important; }


/* Audience cards (audience/index.html) — same duotone-blue background
   treatment used on industry hero photos. The image sits behind the
   card content via a pseudo-element pair: ::before holds the photo
   (desaturated + slight darken), ::after layers a radial vignette and
   brand-blue tint. Text stays above via z-index. */
.audience-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  border: 1px solid var(--border);
  min-height: 380px;
}
.rgrid > .audience-card::before,
.rgrid > .audience-card::after,
.audience-card::before,
.audience-card::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.audience-card > * { position: relative; z-index: 1; }
.audience-card::before {
  background-image: var(--audience-bg, none);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.85) brightness(0.95) contrast(1.05);
  opacity: 0.20;
}
.audience-card::after {
  /* Mid-balance: image visible but heavier white wash over the upper
     text band keeps body copy comfortably legible. */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 55%, rgba(255,255,255,0.55) 100%),
    linear-gradient(135deg, rgba(51,82,255,0.12), rgba(51,82,255,0.03) 60%, rgba(51,82,255,0.12));
}
.audience-card:hover::before { opacity: 0.28; }
.audience-card--mssps { --audience-bg: url('../img/audiences/mssps.jpg'); }
.audience-card--certs { --audience-bg: url('../img/audiences/national-certs.jpg'); }
.audience-card--soc   { --audience-bg: url('../img/audiences/soc-teams.jpg'); }

/* Customer index card grid — the partitioned 3-column panel on
   customers.html. Each `<a>` uses inline `background: var(--bg)`; on
   hover we tint to subtle gray so the cursor location is unambiguous. */
.rgrid--3 > a[href^="customers/"] {
  transition: background-color 200ms ease;
}
.rgrid--3 > a[href^="customers/"]:hover {
  background: var(--bg-subtle) !important;
}

/* Eyebrow text in target color — at-a-glance identity */
.cross-nav-grid .module-card[class*="module-card--target-"] .module-card__eyebrow {
  color: var(--target-color);
}

/* Show the previously-hidden dot, paint it in the target color */
.cross-nav-grid .module-card[class*="module-card--target-"] .module-card__dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--target-color);
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* CTA arrow picks up target color (no underline on hover) */
.cross-nav-grid .module-card[class*="module-card--target-"] .module-card__cta {
  color: var(--target-color);
}

@media (max-width: 900px) {
  .module-card-grid:not(.module-card-grid--rows) {
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    grid-auto-columns: 1fr !important;
  }
  .module-card-grid:not(.module-card-grid--rows) .module-card,
  .module-card--wide { grid-column: 1 / -1 !important; grid-template-columns: 1fr !important; }
  .module-card__screenshot { display: none; }
  /* Mobile: normal stacked flow — JS bails out, no sticky, no horizontal strip */
  .module-horiz-section { padding: 64px 0; }
  .module-horiz-section .container { padding-top: 0; }
  .module-card-strip {
    flex-direction: column;
    width: auto;
    padding: 0;
  }
  .module-card-strip .module-card { width: 100%; }
  /* On platform.html the strip is in .module-horiz-wrapper which has no
     container — give it the standard gutter so cards aren't edge-to-edge. */
  .module-horiz-wrapper { padding: 0 var(--gutter); }
}
/* =====================================================================
   Net-new components (not in original 27-page CSS)
   ===================================================================== */
/* --- Insights stat-card grid --- */
.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.stat-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.stat-card__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}
.stat-card__description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 16px;
}
/* --- Cookie consent banner --- */
.cookie-banner .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
}
.cookie-banner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}
/* =========================================================================
   MEGA MENU (header dropdowns) — additive, supersedes .dropdown visually
   ========================================================================= */
/* nav__group must NOT be the positioning parent — site-header (sticky) is */
.nav__group {
  position: relative;
  position: static;
}
/* ── Mega menu — full-width, anchored to header bottom ──────────────────── */
@keyframes mm-show {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mm {
  position: absolute;
  top: 100%;          /* flush to bottom of .site-header                    */
  left: 0;
  width: 100%;        /* full viewport width                                 */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  z-index: 200;
  /* NB: no `display:none` here — GSAP animates height:0 → auto via
     mega.css, and `display:none` would prevent it from measuring the
     natural height of the panel. The CSS `.is-open .mm { display:block;
     animation: mm-show … }` rule that used to live here has also been
     removed; the GSAP timeline in initMegaMenu() owns the open/close
     transition entirely. */
}
/* Hover bridge — keeps menu open while cursor travels from trigger to menu */
.mm::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
/* Trigger hover — only darken the text, no menu open */
.nav__group-trigger:hover {
  color: var(--text);
}
/* ── Inner container — centers content at max-width ─────────────────────── */
.mm__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 280px 1fr;
}
/* ── Left feature panel ───────────────────────────────────────────────────── */
.mm__feature {
  background: #f5f5f5;
  border-right: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mm__feature-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mm__feature-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.mm__feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.mm__feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  align-self: flex-start;
}
.mm__feature-body:hover .mm__feature-cta { text-decoration: underline; }
/* Stats: horizontal row */
.mm__feature-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--blue-100);
}
/* Feed list under Data Feeds item in Data & API menu */
/* ── Right content panel ─────────────────────────────────────────────────── */
.mm__panel {
  display: flex;
  flex-direction: column;
}
/* Reset uppercase inheritance from .nav a inside megamenu */
.mm__inner a,
.mm__inner button,
.mm__inner span { text-transform: none; letter-spacing: normal; }
/* Module list (Platform menu) — 2 columns */
.mm__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 16px;
  gap: 4px;
  align-content: start;
}
/* Data API menu: feed-col left + API Services right */
.mm__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.1s ease;
}
.mm__item:hover { background: var(--gray-100); }
/* ikon + isim yan yana */
.mm__item-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mm__item-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.mm__item-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
/* açıklama tam genişlikte altta */
.mm__item-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
/* Footer strip (Platform menu) */
/* Card list (Data & API menu) — 2 cards side-by-side */
/* Resource 2×2 grid (Resources menu) */
@media (max-width: 1000px) {
  .mm__inner {
    grid-template-columns: 1fr;
  }
  .mm__feature { border-right: none; border-bottom: 1px solid var(--border); }
  .mm__feature-stats { display: none; }
  .mm__resource-grid { grid-template-columns: 1fr; }
}
/* ── Dashboard Ripple animation ─────────────────────────────────────────── */
/* Rings start at the center-circle size, expand outward, and fade — like
   a stone dropped in water. All 4 rings share the same keyframe but are
   offset by duration/4 so one ring is always mid-expansion. */
@keyframes dashboard-ripple {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0;   }
}
.ripple-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 168, 0, 0.7);
  background: rgba(255, 168, 0, 0.25);
  animation: dashboard-ripple 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}
/* ── BorderGlow card legacy rules removed ──────────────────────────────
   An older `.border-glow-card` implementation lived here using the
   padding-as-border + inner-cover trick. It was overriding the modern
   mask-based rule defined earlier in this file (around line 2456),
   forcing blue colors and an unmasked full-card gradient. Both the
   padding-trick variant and the legacy `.border-glow-inner` child were
   unused in any HTML, so they're removed entirely. */
/* ── EASM Dashboard Visualization ──────────────────────────────────────────── */
.easm-viz {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 320px;
}
.easm-viz__shield {
  flex: 1;
  min-width: 0;
  overflow: visible;
  position: relative;
}
.easm-viz__shield svg { width: 100%; height: auto; display: block; overflow: visible; }
@keyframes easm-shield-ripple {
  0%   { transform: scale(0.551); opacity: 0; }
  6%   { opacity: 0.65; }
  100% { transform: scale(1.45);  opacity: 0; }
}
.easm-ripple-path {
  fill: none;
  stroke: #30D350;
  stroke-width: 1.5px;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: easm-shield-ripple 2.7s ease-out infinite;
  animation-fill-mode: both;
}
/* ── OrbitingCircles (Magic UI vanilla port) ──────────────────────────────── */
.orbit-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
/* Mobile: shrink the orbits so the outer ring stays inside the viewport
   and icons don't clip at the edges. Inline --radius is overridden via
   the more specific selector here. */
@media (max-width: 640px) {
  .orbit-stage {
    max-width: 380px;
    padding: 32px 0;
  }
  .orbit-stage .orbit { --radius: 145px !important; }
  .orbit-stage .orbit--reverse { --radius: 85px !important; }
  .orbit-stage .orbit-item { --size: 42px !important; }
  .orbit-stage .orbit--reverse .orbit-item { --size: 34px !important; }
  .orbit-stage .orbit-core__mark { width: 72px; height: 72px; }
}
.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #7e22ce;
  z-index: 2;
}
.orbit-core__mark {
  width: 96px !important;
  height: 96px !important;
  display: block;
  flex: none;
}
.orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orbit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--radius) * 2);
  height: calc(var(--radius) * 2);
  margin-top: calc(var(--radius) * -1);
  margin-left: calc(var(--radius) * -1);
  border: 1px dashed rgba(147, 51, 234, 0.20);
  border-radius: 50%;
}
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size, 40px);
  height: var(--size, 40px);
  margin-top: calc(var(--size, 40px) * -0.5);
  margin-left: calc(var(--size, 40px) * -0.5);
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbit var(--duration, 20s) linear infinite;
  animation-delay: calc(var(--duration, 20s) / var(--count, 1) * var(--index, 0) * -1);
}
.orbit-item svg {
  width: 100%;
  height: 100%;
  display: block;
}
.orbit--reverse .orbit-item {
  animation-direction: reverse;
}
@keyframes orbit {
  0%   { transform: rotate(0deg) translateX(var(--radius)) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg); }
}
/* Icon-outline ripple (CTI lock silhouette) */
.cti-ripple {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: cti-icon-ripple 2.7s ease-out infinite;
  animation-fill-mode: both;
}
.cti-ripple use {
  fill: none;
  stroke: #ef4444;
  stroke-width: 0.15;
  vector-effect: non-scaling-stroke;
}
@keyframes cti-icon-ripple {
  0%   { opacity: 0.7; transform: scale(1);    }
  100% { opacity: 0;   transform: scale(1.35); }
}
.easm-viz__cards {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 10;
}
/* Mobile: stack the EASM hero viz vertically — shield on top, 2×2 stat
   cards below. */
@media (max-width: 900px) {
  .easm-viz {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .easm-viz__shield {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .easm-viz__cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
  }
  .easm-viz__cards .easm-stat {
    width: auto;
  }
}
.easm-stat {
  background: #fff;
  border: 1px solid #eaecf5;
  border-radius: 20px;
  padding: 14px 20px;
  width: 180px;
  position: relative;
  z-index: 3;
  will-change: transform;
  transform-style: preserve-3d;
  cursor: default;
}
.easm-stat__label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.easm-stat--blue .easm-stat__label  { color: #4c75ff; }
.easm-stat--red .easm-stat__label   { color: #ef4444; }
.easm-stat--orange .easm-stat__label { color: #f59e0b; }
.easm-stat__value {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.easm-stat__trend {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.easm-stat__badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}
.easm-stat__badge--blue { background: #4c75ff; }
.easm-stat__badge--red  { background: #ef4444; }
/* Platform hero stage (right column inside .subhero__inner — CardSwap animation) */
.platform-hero-stage {
  position: relative;
  height: min(600px, 62vh);
  min-height: 400px;
  overflow: visible;
}
@media (max-width: 640px) {
  .platform-hero-stage { display: none; }
}
/* Platform hero stage uses default cs-stage layout (matches homepage) */
/* ── CardSwap ────────────────────────────────────────────────────────────── */
.cs-card {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 82%;
  aspect-ratio: 1440 / 900;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
  display: flex;
  flex-direction: column;
}
.cs-card__bar {
  flex-shrink: 0;
  height: 44px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 10px;
}
.cs-card__bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.cs-card__bar-icon svg { width: 100%; height: 100%; display: block; }
.cs-card__bar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.cs-card__img {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Phase 3E — visually-hidden utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero badge — small pill used on detail-page heroes to surface a category
   or sub-feature label. Replaces path-restating text eyebrows on detail pages
   so the breadcrumb above is the only path indicator. */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--blue-50);
  color: var(--accent);
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}
.hero-badge--data-api {
  background: rgba(5, 150, 97, 0.08);
  color: var(--data-api-color);
}

/* ============================================================================
   Group B — Contact / About / Careers section additions
   ============================================================================ */

/* Contact world map — dotted SVG (svg-dotted-map at runtime) ------------ */
.contact-dotted-map {
  margin: 32px auto 48px;
  max-width: 1100px;
  width: 100%;
  /* aspect-ratio matches the 200×100 viewBox so the container reserves
     the right vertical space before the SVG finishes rendering */
  aspect-ratio: 2 / 1;
  position: relative;
  overflow: hidden;
}
.contact-dotted-map__svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Contact offices grid (4-up) ------------------------------------------- */
.contact-offices {
  margin-top: 0;
  gap: 20px;
}
.contact-offices .office-card {
  padding: 24px;
  background: var(--bg-muted);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.contact-offices .office-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 4px;
}
.contact-offices .office-card__sublabel {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contact-offices .office-card__address {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 8px;
}
.contact-offices .office-card__phone {
  font-size: 14px;
  color: var(--text-muted);
  margin: auto 0 0;
}
.contact-offices .office-card__phone a {
  color: inherit;
  text-decoration: none;
}
.contact-offices .office-card__phone a:hover {
  color: var(--accent);
}

/* About — Founder quote -------------------------------------------------- */
.founder-quote {
  max-width: 720px;
  margin: 32px auto;
  padding: 0;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.founder-quote__text {
  font-size: 24px;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.founder-quote__attribution {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.founder-quote__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-100);
  flex-shrink: 0;
  background: var(--gray-100);
}
.founder-quote__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.founder-quote__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.founder-quote__title {
  font-size: 14px;
  color: var(--text-muted);
}
.founder-quote__linkedin {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  transition: opacity 0.15s ease;
}
.founder-quote__linkedin:hover {
  opacity: 0.7;
}
@media (max-width: 600px) {
  .founder-quote__attribution {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* About — Brand Assets grid -------------------------------------------- */
.brand-assets-grid {
  margin-top: 32px;
  gap: 20px;
}
.brand-asset-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.brand-asset-card__preview {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.brand-asset-card__preview--light {
  background: #ffffff;
}
.brand-asset-card__preview--dark {
  background: #0a0e27;
}
.brand-asset-card__preview img {
  max-width: 200px;
  max-height: 64px;
  width: auto;
  height: auto;
}
.brand-asset-card__meta {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.brand-asset-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.brand-asset-card__formats {
  display: flex;
  gap: 8px;
}
.brand-asset-card__download {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 5px 12px;
  background: var(--accent-soft);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.brand-asset-card__download:hover {
  background: var(--accent-soft-strong);
}

/* About — Product Images grid ------------------------------------------ */
.product-images-grid {
  margin-top: 32px;
  gap: 20px;
}
.product-image-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image-card img {
  width: 100%;
  height: auto;
  display: block;
}
.product-image-card__caption {
  padding: 16px 20px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.product-image-card__download {
  display: inline-block;
  margin: 0 20px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
}
.product-image-card__download:hover {
  text-decoration: underline;
}

/* Careers — Perks & Benefits grid -------------------------------------- */
.perks-grid {
  margin-top: 32px;
  gap: 20px;
}
.perk-card {
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.perk-card__icon {
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
}
.perk-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.perk-card__desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* About — Media section (journalist outreach) ------------------------- */
.media-grid {
  margin-top: 32px;
  gap: 20px;
}
.media-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.media-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.media-card__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 16px;
  flex: 1;
}
.media-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  align-self: flex-start;
}
.media-card__link:hover {
  text-decoration: underline;
}
.media-section__note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================================
   Group C Phase 1 — Module-color CTA gradients
   Module colors harvested from .module-card-strip selectors. The dark CTA
   section now carries the parent module's accent on module + sub-feature
   pages; non-module pages keep the default brand-blue treatment.
   ============================================================================ */
:root {
  --easm-color: #3352ff;
  --cti-color:  #dc2626;
  --brp-color:  #ea580c;
  --tprm-color: #9333ea;
  --dsi-color:  #00a2bf;
  --brand-dark: #0a0e27;
}
.cta-section--easm { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--easm-color) 100%); }
.cta-section--cti  { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--cti-color)  100%); }
.cta-section--brp  { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brp-color) 100%); }
.cta-section--tprm { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--tprm-color) 100%); }
.cta-section--dsi  { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--dsi-color) 100%); }
/* Final-CTA em fragment color: lighter version of the page's accent so it
   reads against the dark gradient bg. Default brand-blue light; per-body
   overrides for each module's color identity. */
.cta-section .display-1 em,
.cta-section .display-2 em,
.cta-section .display-3 em {
  background-image: linear-gradient(135deg, var(--cta-em-light, var(--blue-300)), var(--cta-em-light, var(--blue-300)));
}
body.cti-gray      .cta-section { --cta-em-light: color-mix(in oklab, var(--cti-color)     50%, white); }
body.brp-orange    .cta-section { --cta-em-light: color-mix(in oklab, var(--brp-color)     50%, white); }
body.tprm-purple   .cta-section { --cta-em-light: color-mix(in oklab, var(--tprm-color)    50%, white); }
body.dsi-cyan      .cta-section { --cta-em-light: color-mix(in oklab, var(--dsi-color)     50%, white); }
body.dataapi-green .cta-section { --cta-em-light: color-mix(in oklab, var(--data-api-color) 50%, white); }
body.vuln-red      .cta-section { --cta-em-light: color-mix(in oklab, var(--vuln-red-color) 50%, white); }

/* ============================================================================
   Group C Phase 2 — Compare-page entity color swap
   Deepinfo  → brand-blue accent (was previously the default text color)
   Competitor → neutral gray     (was previously highlighted via <em>)
   ============================================================================ */
.compare-deepinfo  { color: var(--accent);     }
.compare-competitor { color: var(--text-muted); }

/* ============================================================================
   Group C Phase 3 — Testimonials
   Static, single-quote testimonial section placed between the last body
   section and the Final CTA on module / sub-feature / use-case / industry /
   audience pages. Pattern Y attribution (anonymous Title + sector descriptor).
   ============================================================================ */
.testimonial-section {
  padding: 64px 0;
  background: var(--bg-muted);
}
.testimonial {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter, 32px);
  text-align: left;
  position: relative;
}
/* Eyebrow injected via pseudo so existing markup site-wide keeps working without HTML changes. */
.testimonial::before {
  content: 'Customer note';
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}
.testimonial__quote {
  font-size: 28px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
/* Optional inline highlight utility — pages can wrap key phrases with this
   class when content is curated. Yellow-marker brand-blue underline. */
.testimonial__hl {
  background-image: linear-gradient(transparent 60%, rgba(32, 57, 226, 0.18) 60%, rgba(32, 57, 226, 0.18) 95%, transparent 95%);
  padding: 0 2px;
  transition: background-image 120ms;
}
.testimonial__hl:hover {
  background-image: linear-gradient(transparent 0%, rgba(32, 57, 226, 0.22) 100%);
}
.testimonial__attribution {
  display: block;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 768px) {
  .testimonial-section { padding: 48px 0; }
  .testimonial__quote { font-size: 20px; margin: 0 0 32px; }
  .testimonial::before { margin-bottom: 20px; }
}

/* ============================================================================
   Data & API color scale + CTA gradient
   Full green scale (50-950) plus primary --data-api-color (#059661).
   Mirrors the pattern used for the 5 platform module colors in Group C Phase 1.
   ============================================================================ */
:root {
  --data-api-50:  #ecfdf7;
  --data-api-100: #d1faeb;
  --data-api-200: #a7f3d7;
  --data-api-300: #6ee7bb;
  --data-api-400: #34d399;
  --data-api-500: #10b97b;
  --data-api-600: #059661;
  --data-api-700: #04784e;
  --data-api-800: #065f3f;
  --data-api-900: #064e34;
  --data-api-950: #022c1d;

  --data-api-color: #059661;

  /* Vulnerability Insights — brand red scale (matches deepinfo-colors.png 50–950)
     Used on /insights/vulnerability.html (vuln-red body class) where green
     would read as "safe" but the section is about risk + exposure. */
  --vuln-red-50:  #ffefef;
  --vuln-red-100: #ffdcdc;
  --vuln-red-200: #ffb1b1;
  --vuln-red-300: #ff9292;
  --vuln-red-400: #ff5454;
  --vuln-red-500: #ff1f1f;
  --vuln-red-600: #ff0000;
  --vuln-red-700: #db0000;
  --vuln-red-800: #b80000;
  --vuln-red-900: #940808;
  --vuln-red-950: #520000;

  --vuln-red-color: #db0000;

  /* Severity-band tokens — used wherever CVSS severity is shown
     (badges, table cells, stacked-bar segments, severity-bands list). */
  --sev-critical:  #db0000;  /* brand red 700 */
  --sev-high:      #f85906;  /* brand orange 600 */
  --sev-high-700:  #c73f07;  /* brand orange 700 (deeper) */
  --sev-medium:    #f5b40b;  /* brand yellow 500 */
  --sev-medium-600:#d99e06;  /* brand yellow 600 */
  --sev-low:       #717486;  /* brand gray 500 */
  --sev-low-600:   #5b5e6e;  /* brand gray 600 */
  --sev-unscored:  #b6b8c3;  /* brand gray 300 */
  --sev-unscored-400: #8f93a1; /* brand gray 400 */
}
.cta-section--data-api {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--data-api-color) 100%);
}
.cta-section--vuln-red {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--vuln-red-700) 100%);
}

/* ============================================================================
   Group D Fix 3 — Solutions hub category overview cards
   ============================================================================ */
.categories-overview {
  margin-top: 48px;
  gap: 32px;
}
.category-card {
  padding: 32px;
  background: var(--bg-muted);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.category-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}
.category-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.category-card__lede {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 20px;
  flex-grow: 0;
}
.category-card__samples {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.category-card__samples li {
  font-size: 14px;
}
.category-card__samples a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.category-card__samples a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.category-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
}
.category-card__cta:hover {
  text-decoration: underline;
}

/* ============================================================================
   Group D corrections Fix 2 — Grid filler cards
   Intentional CTAs that complete incomplete final rows in 3-col grids.
   Dashed border + muted background distinguishes them from primary cards;
   visitors read them as secondary content / call to action, not real items.
   ============================================================================ */
.grid-filler-card {
  padding: 32px;
  background: var(--bg-muted);
  /* Inside the joined .module-card-grid, filler cards share the partition
     pattern — no border or radius of their own; the container's outer
     rounded border + 1px gap provides all structure. */
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  transition: background 180ms ease;
}
.grid-filler-card:hover {
  background: var(--bg-subtle);
}
.grid-filler-card__icon {
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
}
.grid-filler-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.grid-filler-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.grid-filler-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}
.grid-filler-card:hover .grid-filler-card__cta {
  text-decoration: underline;
}
/* Filler card sizing on .module-card-grid systems (which use a 6-col layout
   with cards spanning 2 columns each). Without this, fillers default to
   span 1 = half-width and pack two-per-cell instead of one-per-cell. */
.module-card-grid--3col .grid-filler-card { grid-column: span 2; }
.module-card-grid--2col .grid-filler-card { grid-column: span 3; }

/* ============================================================================
   Glossary single-column layout (replaces the previous 2-col card grid).
   Each term is one full-width row separated by a divider line.
   ============================================================================ */
.glossary-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}
.glossary-term {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
  margin: 0;
}
.glossary-term:last-child {
  border-bottom: none;
}
.glossary-term__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  display: block;
}
.glossary-term__definition {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================================
   Group E item 2 — API Sample Response split-pane
   Two-column layout: JSON code on the left, card-grouped structured view on
   the right. Collapses to single column at <900px (JSON above viz).
   ============================================================================ */
.api-response-section {
  padding: 80px 0;
}
.api-split-pane {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
.api-split-pane > * {
  min-width: 0;
}
.api-split-pane__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.api-json {
  background: var(--brand-dark, #0a0e27);
  color: #e2e8f0;
  padding: 24px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  overflow-x: auto;
  max-height: 600px;
  overflow-y: auto;
}
.api-json code {
  color: inherit;
  background: none;
  padding: 0;
  font-family: inherit;
}
.api-viz-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
}
.api-viz-card:last-child {
  margin-bottom: 0;
}
.api-viz-card__heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--data-api-color);
  margin-bottom: 16px;
}
.api-viz-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}
.api-viz-row:last-child {
  border-bottom: none;
}
.api-viz-row__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.api-viz-row__value {
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-mono);
  word-break: break-all;
  line-height: 1.5;
}
.api-response-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.api-response-note a {
  color: var(--accent);
}
@media (max-width: 900px) {
  .api-split-pane {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .api-viz-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ============================================================================
   Group E item 3 — Integrations hub cards
   8 categories of integration cards laid out in a responsive grid.
   ============================================================================ */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.integration-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.integration-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.integration-card__logo {
  /* Horizontal wordmark logos — container sized for ~3:1 aspect lockup
     (e.g. "splunk>", "Microsoft Sentinel"). Height 36px keeps the logos
     readable; width 160px gives wide wordmarks room without squashing.
     Logos align left so wordmarks of different widths share a baseline
     anchor on the card. */
  width: 160px;
  height: 36px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.integration-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.integration-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.integration-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================================
   Group F — Insights pages (hub + detail).
   Components: stat-strip, chart-card, bar-list (TLDs/keywords), severity-bands,
   cve-card, callout-card, tld-toggle-tabs, full-history-details.
   ============================================================================ */

/* ── Stat strip (Domain page: 5-up; Vuln page: grid with row labels) ─────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.stat-strip__item {
  padding: 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.stat-strip__item--emphasis {
  background: linear-gradient(135deg, rgba(5, 150, 97, 0.06), rgba(5, 150, 97, 0.02));
  border-color: rgba(5, 150, 97, 0.30);
}
.stat-strip__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-subtle);
  margin-bottom: 8px;
}
.stat-strip__item--emphasis .stat-strip__label { color: var(--data-api-700); }
.stat-strip__value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-strip__item--emphasis .stat-strip__value {
  font-size: 30px;
  background: linear-gradient(135deg, var(--data-api-500), var(--data-api-600), var(--data-api-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-strip__caption {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.stat-strip-grid { display: grid; gap: 28px; }
.stat-strip-grid__row { display: grid; gap: 12px; }
.stat-strip-grid__row-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-subtle);
}
.stat-strip-grid__cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-strip-grid__row:first-child .stat-strip-grid__cells {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Chart card (wraps inline SVGs) ─────────────────────────────────────── */
.chart-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.chart-card__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.chart-card__legend strong { color: var(--text); font-weight: 700; }

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}
.chart-legend__item { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend__swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

/* ── Bar list (Top TLDs / Top Keywords) ──────────────────────────────────── */
.bar-list {
  display: grid;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
/* Restore the UA semantic of [hidden]. `.bar-list { display: grid }` above
   beats the implicit `[hidden] { display: none }` rule from the user agent
   stylesheet, which made tab toggles change the attribute correctly but left
   every panel visible. Specificity (0,0,2,0) here wins over (0,0,1,0). */
.bar-list[hidden] { display: none; }
.bar-row {
  display: grid;
  grid-template-columns: 28px minmax(80px, 120px) 1fr 110px;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border-radius: 8px;
}
.bar-row:hover { background: var(--bg-subtle); }
.bar-row__rank {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
}
.bar-row__label {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.bar-row__bar {
  height: 26px;
  background: var(--bg-subtle);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bar-row__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--data-api-400), var(--data-api-color));
  border-radius: 4px;
  /* Reveal animation — bars start collapsed at the left edge and grow to
     their inline-styled final width when the panel scrolls into view.
     `transform-origin: left` keeps the leading edge pinned so growth
     reads as "filling up" rather than expanding from center. Stagger
     comes from `--bar-i` set per row in chart-bars.js. */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--bar-i, 0) * 60ms);
  will-change: transform;
}
.bar-list.is-in .bar-row__bar-fill {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .bar-row__bar-fill { transform: none; transition: none; }
}
.bar-row__count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.bar-list__note {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(5, 150, 97, 0.04);
  border-left: 3px solid var(--data-api-color);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.bar-list__note strong { color: var(--text); font-weight: 700; }

/* ── Toggle tabs (All-time / Last 30 days etc.) ─────────────────────────── */
.tld-toggle-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 16px;
}
.tld-toggle-tabs__btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tld-toggle-tabs__btn:hover { color: var(--text); }
.tld-toggle-tabs__btn.is-active {
  background: var(--data-api-color);
  color: #fff;
  box-shadow: 0 1px 3px rgba(5, 150, 97, 0.30);
}

/* ── Callout card (Signal callout on Domain page) ────────────────────────── */
.callout-card {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(5, 150, 97, 0.06), rgba(5, 150, 97, 0.02));
  border: 1px solid rgba(5, 150, 97, 0.25);
  border-radius: 20px;
  display: grid;
  gap: 8px;
}
.callout-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--data-api-700);
}
.callout-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

/* ── Full-history details (collapsible table for severity history) ──────── */
.full-history-details {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.full-history-details summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.full-history-details summary::-webkit-details-marker { display: none; }
.full-history-details summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--data-api-color);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}
.full-history-details[open] summary::before { content: "−"; }
.full-history-details summary:hover { color: var(--text); }
.full-history-table-wrap {
  margin-top: 16px;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.full-history-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}
.full-history-table th,
.full-history-table td {
  padding: 8px 14px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}
.full-history-table th:first-child,
.full-history-table td:first-child {
  text-align: left;
  font-weight: 700;
}
.full-history-table thead th {
  position: sticky;
  top: 0;
  background: var(--bg-subtle);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ── Severity bands (CVSS distribution grouped) ─────────────────────────── */
.severity-bands {
  display: grid;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.severity-band {
  display: grid;
  grid-template-columns: 220px 1fr 180px;
  align-items: center;
  gap: 20px;
  padding: 12px 4px;
}
.severity-band__label { display: flex; align-items: center; gap: 10px; }
.severity-band__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.severity-band__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.severity-band__range {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  margin-left: 6px;
}
.severity-band__bar {
  height: 26px;
  background: var(--bg-subtle);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.severity-band__bar-fill {
  height: 100%;
  border-radius: 4px;
  /* Same Jitter-style reveal as the TLD bar list — left-anchored scaleX
     grows from collapsed to the inline-styled final width when the
     parent `.severity-bands` enters the viewport. */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--bar-i, 0) * 60ms);
  will-change: transform;
}
.severity-bands.is-in .severity-band__bar-fill {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .severity-band__bar-fill { transform: none; transition: none; }
}
.severity-band__count {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.severity-band__share {
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

/* ── CVE card grid (Latest disclosures) ─────────────────────────────────── */
.cve-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cve-card {
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  gap: 12px;
}
.cve-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cve-card__id {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.cve-card__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.cve-card__badge--critical { background: #fee2e2; color: #991b1b; }
.cve-card__badge--high     { background: #fed7aa; color: #9a3412; }
.cve-card__badge--medium   { background: #fef3c7; color: #854d0e; }
.cve-card__badge--low      { background: #dcfce7; color: #166534; }
.cve-card__badge--unscored { background: #e2e8f0; color: #475569; }
.cve-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.cve-card__foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.cve-card__date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

/* ── Mobile responsive overrides for insights pages ─────────────────────── */
@media (max-width: 880px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip__item { padding: 18px 16px; }
  .stat-strip__value { font-size: 22px; }
  .stat-strip__item--emphasis .stat-strip__value { font-size: 26px; }
  .stat-strip__item--emphasis { grid-column: span 2; }

  .stat-strip-grid__cells { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-grid__row:first-child .stat-strip-grid__cells { grid-template-columns: repeat(2, 1fr); }

  .chart-card { padding: 20px 16px; }
  .chart-card__legend { gap: 16px; font-size: 11px; }

  .bar-list { padding: 12px; }
  .bar-row {
    grid-template-columns: 24px minmax(60px, 90px) 1fr 80px;
    gap: 10px;
    padding: 6px 8px;
  }
  .bar-row__label { font-size: 13px; }
  .bar-row__count { font-size: 12px; }

  .severity-bands { padding: 16px; }
  .severity-band {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .severity-band__count { text-align: left; }

  .cve-card-grid { grid-template-columns: 1fr; }
  .cve-card { padding: 16px 18px; }
}

/* ============================================================================
   Group F revision — vuln-red body cascade + severity color overrides + 
   CWE heatmap + interval icon styles + 5-interval toggles + giant total.
   ============================================================================ */

/* ── vuln-red body cascade (mirrors dataapi-green pattern) ─────────────── */
body.vuln-red main#main > section:not(.cta-section) {
  --accent: var(--vuln-red-color);
  --accent-hover: var(--vuln-red-800);
  --accent-strong: var(--vuln-red-800);
  --accent-soft: rgba(219, 0, 0, 0.08);
  --accent-rgb: 219, 0, 0;
}
body.vuln-red main#main > section:not(.cta-section) .display-1 em,
body.vuln-red main#main > section:not(.cta-section) .display-2 em,
body.vuln-red main#main > section:not(.cta-section) .display-3 em {
  background-image: linear-gradient(135deg, var(--vuln-red-500), var(--vuln-red-700), var(--vuln-red-400), var(--vuln-red-800), var(--vuln-red-600));
}
body.vuln-red main#main > section:not(.cta-section) .btn--primary {
  background-image: linear-gradient(135deg, var(--vuln-red-500), var(--vuln-red-700), var(--vuln-red-400), var(--vuln-red-800), var(--vuln-red-600));
}
body.vuln-red main#main > section:not(.cta-section) .module-card__title-label {
  color: var(--vuln-red-color);
}

/* Stat-strip emphasis cell takes red on vuln pages */
body.vuln-red .stat-strip__item--emphasis {
  background: linear-gradient(135deg, rgba(219, 0, 0, 0.06), rgba(219, 0, 0, 0.02));
  border-color: rgba(219, 0, 0, 0.30);
}
body.vuln-red .stat-strip__item--emphasis .stat-strip__label { color: var(--vuln-red-700); }
body.vuln-red .stat-strip__item--emphasis .stat-strip__value {
  background: linear-gradient(135deg, var(--vuln-red-500), var(--vuln-red-700), var(--vuln-red-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Tab toggle tabs follow body cascade */
body.vuln-red .tld-toggle-tabs__btn.is-active {
  background: var(--vuln-red-color);
  box-shadow: 0 1px 3px rgba(219, 0, 0, 0.30);
}
/* Bar fills follow cascade */
body.vuln-red .bar-row__bar-fill {
  background: linear-gradient(90deg, var(--vuln-red-400), var(--vuln-red-color));
}
body.vuln-red .bar-list__note {
  background: rgba(219, 0, 0, 0.04);
  border-left-color: var(--vuln-red-color);
}
body.vuln-red .callout-card {
  background: linear-gradient(135deg, rgba(219, 0, 0, 0.06), rgba(219, 0, 0, 0.02));
  border-color: rgba(219, 0, 0, 0.25);
}
body.vuln-red .callout-card__eyebrow { color: var(--vuln-red-700); }
body.vuln-red .full-history-details summary::before {
  background: var(--vuln-red-color);
}

/* ── Giant total — vulnerability page hero credibility hero ──────────── */
.giant-total {
  margin: 32px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.giant-total__number {
  font-size: clamp(72px, 14vw, 180px);
  font-weight: 800;
  letter-spacing: -0.04em;
  /* line-height bumped from 0.92 to 1.05 so comma descenders and the
     gradient-clipped glyphs aren't sliced off at the bottom. Tight ratio
     looked sharp in mock but clipped real glyphs in browsers. */
  line-height: 1.05;
  padding-bottom: 0.08em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--vuln-red-500), var(--vuln-red-700) 40%, var(--vuln-red-800) 70%, var(--vuln-red-900));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-sans);
  display: block;
}
/* Unit label sits BELOW the number on its own line, with breathing room.
   Sized at ~0.20em of the number's font-size at desktop, with a mobile floor
   so it stays legible (16px min). text-muted color, no gradient. */
.giant-total__unit {
  display: block;
  margin-top: clamp(8px, 1.4vw, 18px);
  font-size: clamp(16px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-muted);
  font-variant-numeric: normal;
  text-transform: none;
}
.giant-total__caption {
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}
.giant-total__freshness {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(219, 0, 0, 0.08);
  border: 1px solid rgba(219, 0, 0, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--vuln-red-700);
}
.giant-total__freshness::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vuln-red-color);
  display: inline-block;
}
@media (max-width: 880px) {
  .giant-total__number { font-size: clamp(56px, 18vw, 100px); letter-spacing: -0.03em; }
}

/* ── Green-scoped overrides — Domain Insights uses Data & API green
   instead of vuln-red, so swap the hardcoded gradient + freshness pip. ── */
body.dataapi-green .giant-total__number {
  background: linear-gradient(135deg, var(--data-api-500), var(--data-api-600) 40%, var(--data-api-700) 70%, var(--data-api-950));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.dataapi-green .giant-total__freshness {
  background: rgba(5, 150, 97, 0.08);
  border-color: rgba(5, 150, 97, 0.25);
  color: var(--data-api-700);
}
body.dataapi-green .giant-total__freshness::before {
  background: var(--data-api-color);
}

/* CWE/trend heatmap — green-scoped CWE-id label color (Domain trend heatmap
   reuses the same .cwe-heatmap-table structure, themed green via body class). */
body.dataapi-green .cwe-heatmap-table thead th .cwe-id {
  color: var(--data-api-700);
}
body.dataapi-green .cwe-heatmap-table tbody tr.cwe-row--partial td:first-child::after,
body.dataapi-green .cwe-heatmap-table tbody tr.cwe-row--total td {
  /* Total row uses neutral text on green pages too — no override needed */
}

/* Trend heatmap source-toggle (TLDs vs Keywords) — uses .tld-toggle-tabs
   styling but sized larger / placed above the matrix, so add a modifier. */
.tld-toggle-tabs--source {
  margin-bottom: 20px;
}

/* ── Severity color overrides for stat-strip / cve-card on red pages ──── */
body.vuln-red .cve-card__badge--critical { background: rgba(219, 0, 0, 0.12); color: var(--vuln-red-800); }
body.vuln-red .cve-card__badge--high     { background: rgba(248, 89, 6, 0.12); color: var(--sev-high-700); }
body.vuln-red .cve-card__badge--medium   { background: rgba(245, 180, 11, 0.16); color: #8a5d00; }
body.vuln-red .cve-card__badge--low      { background: rgba(113, 116, 134, 0.14); color: var(--sev-low-600); }
body.vuln-red .cve-card__badge--unscored { background: rgba(182, 184, 195, 0.20); color: #595c6b; }

/* ── Severity-by-year full table (39 rows, severity-colored cells) ───── */
.sev-year-table-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.sev-year-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.sev-year-table thead th {
  background: var(--bg-subtle);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-subtle);
  padding: 12px 14px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1;
}
.sev-year-table thead th:first-child { text-align: left; }
.sev-year-table tbody td {
  padding: 10px 14px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.sev-year-table tbody tr:last-child td { border-bottom: none; }
.sev-year-table tbody td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  font-size: 14px;
}
.sev-year-table tbody td.sev-year-table__zero { color: var(--text-subtle); opacity: 0.5; }

/* Severity-colored cell tints. Specificity raised to match the table-wide
   `tbody td { background: transparent }` so per-column tints actually win. */
/* Flat colour fills keyed off `--cell-intensity` (set inline per cell, 0–1).
   Replaces the previous left-to-right white→colour gradient; cells now read
   as solid colour blocks whose alpha encodes magnitude. */
.sev-year-table tbody td.sev-cell--critical {
  background: rgba(219, 0, 0, var(--cell-intensity, 0.08));
  color: var(--vuln-red-800);
  font-weight: 600;
}
.sev-year-table tbody td.sev-cell--high {
  background: rgba(248, 89, 6, var(--cell-intensity, 0.08));
  color: var(--sev-high-700);
  font-weight: 600;
}
.sev-year-table tbody td.sev-cell--medium {
  background: rgba(245, 180, 11, var(--cell-intensity, 0.10));
  color: #8a5d00;
  font-weight: 600;
}
.sev-year-table tbody td.sev-cell--low {
  background: rgba(113, 116, 134, var(--cell-intensity, 0.10));
  color: var(--sev-low-600);
}
.sev-year-table tbody td.sev-cell--other {
  background: rgba(182, 184, 195, var(--cell-intensity, 0.14));
  color: #595c6b;
}
.sev-year-table tbody td.sev-cell--total { font-weight: 700; color: var(--text); }

/* 2026 partial-year row stripe */
.sev-row--partial td:first-child::after {
  content: " (partial)";
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--vuln-red-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sev-row--partial {
  background-image: repeating-linear-gradient(135deg,
    transparent 0, transparent 8px,
    rgba(219, 0, 0, 0.04) 8px, rgba(219, 0, 0, 0.04) 12px);
}
/* 2026 projected row — striped to indicate it's an estimate, not measured */
.sev-row--projection {
  background-image: repeating-linear-gradient(45deg,
    transparent 0, transparent 6px,
    rgba(219, 0, 0, 0.06) 6px, rgba(219, 0, 0, 0.06) 9px);
  border-bottom: 2px solid rgba(219, 0, 0, 0.20) !important;
}
.sev-row--projection td:first-child {
  font-weight: 700;
}

/* Stacked bar pattern fill for partial-year segment */
.sev-bar-pattern { fill: url(#sev-bar-stripe); }

/* ── CWE timeline heatmap matrix ─────────────────────────────────────── */
.cwe-heatmap {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.cwe-heatmap-table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  table-layout: fixed;
}
.cwe-heatmap-table th,
.cwe-heatmap-table td {
  padding: 0;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.cwe-heatmap-table thead th {
  vertical-align: bottom;
  padding: 14px 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-subtle);
  position: sticky;
  top: 0;
  z-index: 1;
  width: 10%;
  min-width: 64px;
  line-height: 1.3;
}
.cwe-heatmap-table thead th:first-child {
  text-align: left;
  padding-left: 14px;
  width: 70px;
  font-weight: 700;
  font-size: 11px;
}
/* Trend heatmap (domain.html) — `table-layout: auto` so the rank and item
   columns size to their own content (short identifiers like "01" and
   ".com"), and the 5 data columns absorb the remaining width. The base
   table uses fixed layout for CWE-id alignment; we explicitly opt out here.
   `!important` overrides the inherited base rule. */
.trend-heatmap-panel .cwe-heatmap-table {
  table-layout: auto !important;
}
.trend-heatmap-panel .cwe-heatmap-table thead th:first-child,
.trend-heatmap-panel .cwe-heatmap-table thead th:nth-child(2) {
  width: 1% !important;       /* shrink to content under auto layout */
  min-width: 0 !important;
  white-space: nowrap;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
}
.trend-heatmap-panel .cwe-heatmap-table tbody td:first-child,
.trend-heatmap-panel .cwe-heatmap-table tbody td:nth-child(2) {
  white-space: nowrap;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
}
.cwe-heatmap-table thead th .cwe-id {
  display: block;
  font-weight: 700;
  color: var(--vuln-red-700);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 4px;
}
.cwe-heatmap-table tbody td {
  padding: 10px 6px;
  font-weight: 600;
  color: var(--text);
}
.cwe-heatmap-table tbody td:first-child {
  text-align: left;
  padding-left: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-subtle);
  border-right: 1px solid var(--border);
  font-size: 13px;
}
.cwe-heatmap-table tbody tr.cwe-row--partial td:first-child::after {
  content: " (partial)";
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--vuln-red-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}
.cwe-heatmap-table tbody tr.cwe-row--total td {
  background: var(--bg-subtle);
  border-top: 2px solid var(--border);
  font-weight: 800;
  color: var(--text);
}
.cwe-heatmap-table tbody tr.cwe-row--total td:first-child { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.cwe-heatmap-table .cwe-col--total {
  background: var(--bg-subtle) !important;
  border-left: 2px solid var(--border);
  font-weight: 800;
  color: var(--text);
}
.cwe-heatmap-table thead th.cwe-col--total {
  color: var(--text);
  font-weight: 700;
}

/* CWE year selector + ranked list */
.cwe-year-tabs {
  display: flex;
  gap: 4px;
  margin: 24px 0 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.cwe-year-tabs__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-subtle);
  padding: 0 12px 0 8px;
}
.cwe-year-tabs__btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cwe-year-tabs__btn:hover { color: var(--text); }
.cwe-year-tabs__btn.is-active {
  background: var(--vuln-red-700);
  color: #fff;
  box-shadow: 0 1px 3px rgba(219, 0, 0, 0.30);
}

.cwe-ranked-list {
  display: grid;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.cwe-ranked-row {
  display: grid;
  grid-template-columns: 32px 1fr 110px 110px;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 8px;
}
.cwe-ranked-row:hover { background: var(--bg-subtle); }
.cwe-ranked-row__rank {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}
.cwe-ranked-row__name {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}
.cwe-ranked-row__name strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--vuln-red-700);
  margin-right: 8px;
}
.cwe-ranked-row__bar {
  height: 8px;
  background: var(--bg-subtle);
  border-radius: 999px;
  overflow: hidden;
}
.cwe-ranked-row__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vuln-red-300), var(--vuln-red-600));
  border-radius: 999px;
}
.cwe-ranked-row__count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

/* CWE year panels: hidden by default; JS shows the active one */
.cwe-year-panel { display: none; }
.cwe-year-panel.is-active { display: block; }

/* ── Interval icon helper (clock SVG inline-baseline) ────────────────── */
.interval-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  vertical-align: -1px;
  color: var(--accent, var(--text-subtle));
  flex-shrink: 0;
}
.tld-toggle-tabs__btn .interval-icon { color: currentColor; }
.tld-toggle-tabs__btn.is-active .interval-icon { color: #fff; }

/* ── 5-interval toggle tabs at narrow widths ─────────────────────────── */
@media (max-width: 880px) {
  .tld-toggle-tabs { flex-wrap: wrap; gap: 2px; }
  .tld-toggle-tabs__btn { padding: 7px 10px; font-size: 10px; letter-spacing: 0.04em; }
  .cwe-heatmap-table thead th { font-size: 9px; padding: 10px 4px; }
  .cwe-heatmap-table thead th .cwe-id { font-size: 10px; }
  .cwe-heatmap-table tbody td { padding: 8px 4px; font-size: 11px; }
  .cwe-ranked-row {
    grid-template-columns: 24px 1fr 70px 70px;
    gap: 10px;
    padding: 8px;
  }
  .cwe-ranked-row__name { font-size: 12px; }
  .cwe-ranked-row__count { font-size: 12px; }
}

/* ============================================================================
   Methodology page — 7-layer scanning grid (Fix 3 visual variety pass).
   Used in /methodology.html scanning-methodology section to break the
   repetitive 2-column textual layout. 7 cards in an auto-fit grid.
   ============================================================================ */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.layer-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  gap: 8px;
}
.layer-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent, var(--text-subtle));
}
.layer-card__name {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.layer-card__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}
@media (max-width: 880px) {
  .layer-grid { grid-template-columns: repeat(2, 1fr); }
  .layer-card { padding: 14px 12px; }
}

/* ============================================================================
   .card-title — canonical H3 class for card components site-wide
   (Phase 3 H3 consolidation). Absorbs .value-card__title, .principle__title,
   .integration-card__name, .perk-card__name, .grid-filler-card__title, and
   the class-less blog-body H3s. Markup migration lands in Phase 3c-iii.
   ============================================================================ */
.card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--text);
  margin: 0 0 8px;
}
.card-title--md {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.card-title--lg {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
@media (max-width: 880px) {
  .card-title--md { font-size: 22px; line-height: 1.3; }
  .card-title--lg { font-size: 24px; line-height: 1.25; }
}

/* ============================================================================
   Card surface tint — Reading 1 of the empty-card-area treatment.
   Subtle 4% accent overlay on the base card background so cards don't read
   as hollow. Tint inherits the page's --accent-rgb cascade automatically,
   so cards on EASM tint blue, on data-api tint green, on CTI tint gray, etc.
   Excluded: .callout-card, .cve-card (already have heavier visual treatment).
   ============================================================================ */
.module-card,
/* Removed accent-tint overlay on cards. Previously these classes received
   a 4% wash of `--accent-rgb` (defaulting to brand blue, 32 57 226) which
   gave every card a faint blue/themed tint. Reverted to plain white so
   cards render as pure surfaces; per-section themes apply via dedicated
   modifiers where they're actually wanted (e.g. cross-nav-grid target
   tints, EASM module accent block). */
.value-card,
.cert-card,
.info-card,
.principle,
.integration-card,
.perk-card,
.layer-card {
  background: #ffffff;
}

/* ============================================================================
   Compare hub Cymulate-card structural fix — and incidental fix for the
   broader rgrid > .module-card lone-survivor stretch behavior.
   The base .module-card rule sets `grid-column: span 3` (intended for the
   6-column .module-card-grid layout). When .module-card lives inside an
   .rgrid--3 (3 1fr columns), the span 3 makes a lone card stretch full width.
   Reset grid-column placement when the parent is an .rgrid* grid.
   ============================================================================ */
.rgrid > .module-card { grid-column: auto; }

/* ============================================================================
   Module-card-grid --rows variant — single-column horizontal feature rows.
   Used by "WHAT [MODULE] DOES" sections on the 5 module pages.
   Each card transforms from a stacked vertical card to a horizontal row:
     icon-left | content-stack | CTA-right
   Icon size grows to anchor the row; content + CTA align center vertically.
   ============================================================================ */
.module-card-grid.module-card-grid--rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.module-card-grid.module-card-grid--rows .module-card,
.module-card-grid.module-card-grid--rows .module-card:nth-child(n+3):nth-last-child(-n+3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  grid-template-areas:
    "icon eyebrow eyebrow"
    "icon title   cta"
    "icon desc    cta";
  column-gap: 32px;
  row-gap: 4px;
  align-items: center;
  padding: 32px 40px;
  border-radius: 16px;
}
.module-card-grid--rows .module-card__icon {
  grid-area: icon;
  align-self: center;
  justify-self: start;
}
.module-card-grid--rows .module-card__icon svg {
  width: 56px;
  height: 56px;
}
.module-card-grid--rows .module-card__eyebrow {
  grid-area: eyebrow;
  margin: 0 0 4px;
  align-self: end;
}
.module-card-grid--rows .module-card__title,
.module-card-grid--rows .module-card .card-title,
.module-card-grid--rows .module-card .card-title--lg {
  grid-area: title;
  margin: 0;
  align-self: start;
}
.module-card-grid--rows .module-card__desc {
  grid-area: desc;
  margin: 4px 0 0;
  align-self: start;
  max-width: 80ch;
}
.module-card-grid--rows .module-card__cta {
  grid-area: cta;
  align-self: center;
  justify-self: end;
  white-space: nowrap;
  margin: 0;
}
@media (max-width: 880px) {
  .module-card-grid.module-card-grid--rows .module-card,
  .module-card-grid.module-card-grid--rows .module-card:nth-child(n+3):nth-last-child(-n+3) {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "icon eyebrow"
      "icon title"
      "desc desc"
      "cta  cta";
    column-gap: 20px;
    padding: 24px 24px;
  }
  .module-card-grid.module-card-grid--rows .module-card__icon svg {
    width: 40px;
    height: 40px;
  }
  .module-card-grid.module-card-grid--rows .module-card__cta {
    justify-self: start;
    margin-top: 8px;
  }
}

/* ── Hero radar animation widget ───────────────────────────────────────────── */
.hero-radar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  /* isolation creates a stacking context so the ::before glow ring sits
     behind the canvas but stays self-contained */
  isolation: isolate;
}
/* Conic border-glow ring around the canvas — same effect family as the
   platform module cards, adapted to a circular shape. JS (border-glow.js)
   writes --cursor-angle and --edge-proximity on `.hero-radar`; this
   pseudo-element reads both to rotate the gradient toward the pointer and
   fade in as it approaches the rim. */
.hero-radar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 480px;
  height: 480px;
  max-width: 100%;
  border-radius: 50%;
  /* The conic gradient is painted into the BORDER-BOX, then we mask away
     the interior with the padding-box overlay so only the ring remains. */
  padding: 2px;
  background: conic-gradient(
    from calc(var(--cursor-angle, 0deg) - 50deg),
    transparent                              0%,
    var(--glow-color,     #3352ff)          20%,
    var(--glow-color-mid, #97c1ff)          50%,
    var(--glow-color,     #3352ff)          80%,
    transparent                            100%
  ) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
          mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: calc(var(--edge-proximity, 0) / 100);
  transition: opacity 0.18s ease;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-radar__canvas {
  width: 480px;
  height: 480px;
  max-width: 100%;
  border-radius: 50%;
  display: block;
  /* Plate removed — radar rings are drawn by JS on a transparent canvas
     so the DotField sitting behind the hero shows through. No background,
     no backdrop-filter, no border. */
  background: transparent;
  border: none;
}
.hero-radar__label {
  font-family: Manrope, system-ui, sans-serif;
  /* Bumped from 12px → 14px and tracking relaxed to normal `0.04em` so
     the module caption reads cleanly without the previous wide-spaced
     "tag" feel. */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* Default color — JS overrides per active theme */
  color: rgba(15, 23, 42, 0.7);
  text-align: center;
  transition: color 0.35s ease;
}
@media (max-width: 968px) {
  .hero-radar {
    display: none;
  }
}


/* ── Highlighter (Magic UI port) ────────────────────────────────────────────
   Two reveal modes triggered when the wrapper scrolls into view:
     [data-highlight="underline"] → animated colored underline draws L→R
     [data-highlight="highlight"] → soft pastel block wipes L→R behind text
   `--hl-color` sets the colour. CSS-only animation; JS just adds .is-revealed
   when the element first intersects the viewport. */
/* Highlight markup is kept in HTML but renders as plain text now —
   the underline / wipe animations were noisy across testimonials and
   long body copy, and removing them lets the content read straight.
   Leaving the data attributes in place means we can re-enable a
   different reveal later without re-tagging 77 spans. */
[data-highlight] {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: none !important;
}

/* ── Pinned-feature scrollytelling section ────────────────────────────────
   Two-column layout that gets pinned by ScrollTrigger while the user scrolls.
   Left  → vertical list of features. Active item recolours; the .fill bar
           grows down the gutter to indicate progress.
   Right → stacked slides (absolutely-positioned), one fades in per step.
   The actual progression is driven by JS (pin-features.js); CSS just sets
   up the layout, default colours, and the dummy-image placeholders. */
.pin-section { background: var(--bg-subtle); }
.pin-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  /* Inner area is what gets pinned by ScrollTrigger — make it exactly
     viewport-tall (minus the sticky header) so that when it locks to
     the top of the viewport, the list + slide sit cleanly in frame. */
  min-height: calc(100vh - 100px);
  padding: 24px 0;
}
.pin-section__left {
  position: relative;
  padding-left: 28px;
}
.pin-section__left .fill {
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: #2039e2;
  transform-origin: top;
  transform: scaleY(0);
  border-radius: 2px;
}
.pin-section .list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.pin-section .list a {
  display: block;
  text-decoration: none;
  color: #94a3b8;            /* default (inactive) */
  transition: color 0.3s ease;
}
.pin-section .list a:hover { color: #2039e2; }
.list__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  margin-bottom: 10px;
}
.list__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.list__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: inherit;
}
.list__desc {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: inherit;
  max-width: 48ch;
}

/* Right column — slides stacked with absolute positioning */
.pin-section__right {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.pin-section .slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
}
/* Dummy placeholder — swap with real <img> tags later */
.slide__placeholder {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.96);
  text-align: center;
  padding: 24px;
  box-shadow: 0 30px 60px -30px rgba(15,23,42,0.25);
}
.slide__index {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.7;
}
.slide__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
/* Per-slide background tints — using the EASM brand blue palette */
.slide__placeholder--01 { background: linear-gradient(135deg, #4c75ff, #2039e2); }
.slide__placeholder--02 { background: linear-gradient(135deg, #6e9aff, #3352ff); }
.slide__placeholder--03 { background: linear-gradient(135deg, #97c1ff, #4c75ff); }
.slide__placeholder--04 { background: linear-gradient(135deg, #2039e2, #1d34b6); }
.slide__placeholder--05 { background: linear-gradient(135deg, #3352ff, #20338f); }

/* Mobile — drop the pin, stack columns, no animation */
@media (max-width: 900px) {
  .pin-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
  }
  .pin-section__right { aspect-ratio: 16 / 10; max-height: 360px; }
  .pin-section .slide:first-child { visibility: visible; opacity: 1; }
  .pin-section .slide:not(:first-child) { display: none; }
  .pin-section__left .fill { display: none; }
  .pin-section .list a { color: var(--text); }
}

/* ── CTI page: 20 / 60 / 20 feature cards ────────────────────────────────
   Twelve capabilities stacked vertically. Each row is a single 3-column
   grid: icon | body | image. The icon column is left-aligned so the
   page reads as an indexed list; the image column shows a small preview
   of the actual product UI. Whole row is a link to the per-feature page. */
.cti-feature-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cti-feature-card {
  display: grid;
  grid-template-columns: 10fr 70fr 30fr;  /* 10 icon | 70 body | 30 image */
  gap: 32px;
  align-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms, transform 160ms, box-shadow 160ms;
}
.cti-feature-card:hover {
  border-color: rgba(32, 57, 226, 0.30);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.18);
}
.cti-feature-card__icon {
  display: block;
  color: var(--accent);
  justify-self: start;
  line-height: 0;     /* avoid the inline-baseline gap below the svg */
}
.cti-feature-card__icon svg { display: block; }  /* keep native 48×48 markup size */
.cti-feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;            /* allow text to wrap inside the 60% column */
}
.cti-feature-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.cti-feature-card__title {
  margin: 0;
}
.cti-feature-card__desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.cti-feature-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}
.cti-feature-card:hover .cti-feature-card__cta { text-decoration: underline; }
.cti-feature-card__image {
  /* Aspect 4:3 (560×420) keeps the dashboard preview crisp at any column
     width. object-fit: cover hides any pixel-rounding gap at the edges. */
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-subtle);
}
.cti-feature-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 900px) {
  /* On narrow viewports the 20/60/20 split feels cramped — stack to a single
     column: icon row, body, then image at the bottom. */
  .cti-feature-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cti-feature-card__image { max-width: 100%; }
}

/* ---------------------------------------------------------------------------
   Section-scoped accent overrides
   Apply on any <section> (or wrapper) that's contextually about Data & API.
   Remaps `--accent` and the gradient stops used by display-N `<em>` text so
   eyebrows, CTAs, and headline emphasis all switch to the data-api green
   palette without touching the rest of the page.
   --------------------------------------------------------------------------- */
.section--dataapi-green {
  --accent: var(--data-api-color);
  --accent-hover: var(--data-api-700);
  --accent-strong: var(--data-api-700);
  --accent-soft: rgba(5, 150, 97, 0.10);
  --accent-rgb: 5, 150, 97;
}
.section--dataapi-green .display-1 em,
.section--dataapi-green .display-2 em,
.section--dataapi-green .display-3 em {
  background-image: linear-gradient(135deg, var(--data-api-500), var(--data-api-600), var(--data-api-400), var(--data-api-700), var(--data-api-500));
}
/* Primary buttons inside the green section take the data-api green
   gradient (same recipe as the body.dataapi-green page-level override,
   reapplied here so section-scoped contexts on home + platform pages
   pick it up too). */
.section--dataapi-green .btn--primary {
  background-image: linear-gradient(135deg, var(--data-api-500), var(--data-api-600), var(--data-api-400), var(--data-api-700), var(--data-api-500));
}
/* Ghost-style buttons in case any remain — same accent treatment. */
.section--dataapi-green .btn--ghost {
  border-color: var(--data-api-color);
  color: var(--data-api-color);
}
.section--dataapi-green .btn--ghost:hover {
  background: rgba(5, 150, 97, 0.08);
  color: var(--data-api-700);
}

/* ---------------------------------------------------------------------------
   Bar chart entrance animation — paired with chart-bars.js. Bars start
   collapsed at their baseline (scaleY: 0 anchored to the bottom of the
   element's own fill-box) and grow up when the chart scrolls into view.
   Stagger comes from `--bar-i` set per bar in JS. Easing is a soft
   ease-out so bars decelerate as they hit their final height.
   --------------------------------------------------------------------------- */
.chart-card svg rect {
  /* `fill-box` makes transform-origin relative to the rect's own bounding
     box rather than the SVG root — without this, all bars would scale
     from the SVG (0,0) corner and slide instead of growing. */
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--bar-i, 0) * 28ms);
}
.chart-card.is-in svg rect {
  transform: scaleY(1);
}
/* Pattern fill rects sit inside <defs><pattern> and have no <title>; the
   JS skips them, but we also disable the transform there so they're never
   accidentally animated if a future bar inherits no <title>. */
.chart-card svg defs rect,
.chart-card svg pattern rect {
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .chart-card svg rect { transform: none; transition: none; }
}

/* ---------------------------------------------------------------------------
   Industry hero background images
   Each solutions/industries/* page sets `.subhero--industry` plus a modifier
   like `.subhero--industry-financial`. The base rule provides the consistent
   duotone treatment (desaturated, blue-tinted, low-opacity, soft vignette)
   so every industry hero reads with the same visual language regardless of
   which photo sits underneath. The modifier just swaps the image URL.
   --------------------------------------------------------------------------- */
.subhero--industry {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Override the base `.subhero` gray fill so our pseudo-element image can
     show through. White underneath keeps the duotone treatment readable. */
  background: #ffffff;
}
.subhero--industry::before,
.subhero--industry::after {
  content: '';
  display: block; /* override .subhero::before { display: none } */
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.subhero--industry > * { position: relative; z-index: 1; }
.subhero--industry::before {
  background-image: var(--industry-bg, none);
  background-size: cover;
  background-position: center;
  /* Desaturate, slightly darken, and add subtle contrast — same recipe for
     every industry photo, so palettes never clash with each other. */
  filter: grayscale(0.85) brightness(0.95) contrast(1.05);
  opacity: 0.22;
}
.subhero--industry::after {
  /* Blue duotone tint + radial vignette toward center keeps headline text
     legible. The conic-style gradient layering gives each hero a polished
     "branded ambient" rather than raw stock-photo feel. */
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.78) 70%, rgba(255,255,255,0.95) 100%),
    linear-gradient(135deg, rgba(51,82,255,0.18), rgba(51,82,255,0.04) 60%, rgba(51,82,255,0.16));
}

/* Audience hero treatment — identical recipe to .subhero--industry,
   reusing the audience-card photos. Lets each audience landing page wear
   the same brand visual its corresponding card promised on /audience. */
.subhero--audience {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
}
.subhero--audience::before,
.subhero--audience::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.subhero--audience > * { position: relative; z-index: 1; }
.subhero--audience::before {
  background-image: var(--audience-bg, none);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.85) brightness(0.95) contrast(1.05);
  opacity: 0.22;
}
.subhero--audience::after {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.78) 70%, rgba(255,255,255,0.95) 100%),
    linear-gradient(135deg, rgba(51,82,255,0.18), rgba(51,82,255,0.04) 60%, rgba(51,82,255,0.16));
}
.subhero--audience-mssps { --audience-bg: url('../img/audiences/mssps.jpg'); }
.subhero--audience-certs { --audience-bg: url('../img/audiences/national-certs.jpg'); }
.subhero--audience-soc   { --audience-bg: url('../img/audiences/soc-teams.jpg'); }

/* Per-industry image bindings */
.subhero--industry-aviation         { --industry-bg: url('../img/industries/aviation.jpg'); }
.subhero--industry-defense          { --industry-bg: url('../img/industries/defense.jpg'); }
.subhero--industry-education        { --industry-bg: url('../img/industries/education.jpg'); }
.subhero--industry-energy           { --industry-bg: url('../img/industries/energy.jpg'); }
.subhero--industry-financial        { --industry-bg: url('../img/industries/financial-services.jpg'); }
.subhero--industry-government       { --industry-bg: url('../img/industries/government.jpg'); }
.subhero--industry-healthcare       { --industry-bg: url('../img/industries/healthcare.jpg'); }
.subhero--industry-media            { --industry-bg: url('../img/industries/media.jpg'); }
.subhero--industry-retail           { --industry-bg: url('../img/industries/retail-ecommerce.jpg'); }
.subhero--industry-telecom          { --industry-bg: url('../img/industries/telecom.jpg'); }

/* ---------------------------------------------------------------------------
   Animated Beam stage (TPRM hero)
   Hub-and-spoke layout: 6 SaaS icons connected to a central OpenAI hub via
   curved SVG paths. The "beam" effect is a short dashed stroke that travels
   along each path — a vanilla port of the Magic UI / Framer Motion pattern.
   --------------------------------------------------------------------------- */
.ab-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 600 / 320;
}

.ab-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.ab-beam__base {
  fill: none;
  stroke: rgba(120, 120, 140, 0.18);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.ab-beam__glow {
  fill: none;
  stroke: #9333ea;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 60 600;
  stroke-dashoffset: 660;
  filter: drop-shadow(0 0 6px rgba(147, 51, 234, 0.55));
  animation: ab-beam-flow 3.4s linear infinite;
  animation-delay: var(--beam-delay, 0s);
}

.ab-beam--reverse .ab-beam__glow {
  animation-name: ab-beam-flow-reverse;
}

@keyframes ab-beam-flow {
  0%   { stroke-dashoffset: 660; }
  100% { stroke-dashoffset: 0; }
}

@keyframes ab-beam-flow-reverse {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 660; }
}

.ab-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
  box-sizing: border-box;
}

.ab-row {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Two icons at the far edges (top + bottom rows) */
.ab-row--edges {
  justify-content: space-between;
  padding: 0 8px;
}

/* Three icons in the middle row: left, hub (center), right */
.ab-row--mid {
  justify-content: space-between;
  padding: 0 32px;
}

.ab-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.ab-node svg,
.ab-node img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.ab-node--hub {
  width: 76px;
  height: 76px;
  padding: 14px;
  box-shadow: 0 6px 20px -8px rgba(147, 51, 234, 0.4),
              0 0 0 1px rgba(147, 51, 234, 0.15);
}

/* Shield variant: less padding so the shield fills more of the circle,
   and a subtle purple ring so it reads as the security hub at a glance. */
.ab-node--shield {
  padding: 8px;
  box-shadow: 0 8px 24px -8px rgba(147, 51, 234, 0.55),
              0 0 0 1.5px rgba(147, 51, 234, 0.25);
}

@media (max-width: 640px) {
  .ab-node { width: 44px; height: 44px; padding: 8px; }
  .ab-node--hub { width: 60px; height: 60px; padding: 11px; }
  .ab-row--mid { padding: 0 16px; }
}

/* ============================================================================
   FORMS — Worker-backed submission (honeypot + inline error)
   Shared by the 5 site forms that POST to /api/forms via static/js/forms.js.
   ========================================================================== */
/* Honeypot: off-screen, never seen or focused by humans; bots fill it. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Inline error message shown when the Worker rejects a submission. */
.form-error {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vuln-red-700, #db0000);
}
