/*
 * IDpulse — marketing site stylesheet (single source)
 * Lives in marketing/css/; pages link with href="css/marketing.css" from each HTML file.
 * Blog layout is scoped under body.page-blog (+ page-blog--strategy | page-blog--interview).
 */

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --brand-300: #6ff7ed;
  --brand-400: #2ee8dc;
  --brand-500: #0ED5CA;
  --brand-600: #0aada3;
  --accent-400: #f472b6;
  --accent-500: #ec4899;
  --danger-400: #fb7185;
  --danger-500: #f43f5e;
  --warn-400:   #fbbf24;
  --info-400:   #60a5fa;
  --s50:  #f8fafc; --s100: #f1f5f9; --s200: #e2e8f0; --s300: #cbd5e1;
  --s400: #94a3b8; --s500: #64748b; --s600: #475569; --s700: #334155;
  --s800: #1e293b; --s850: #141c27; --s900: #0c1117; --s950: #060a0e;
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body:    'DM Sans', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  /* Horizontal inset shared by nav, sections, footer (aligns content to ~1360px column) */
  --content-gutter: max(28px, calc((100vw - 1360px) / 2));
  --section-pad: 0 var(--content-gutter);
  /* Blog: nav matches site column; article column narrower */
  --site-gutter: var(--content-gutter);
  --article-gutter: max(28px, calc((100vw - 780px) / 2));

  /* ── Type scale — single source for all heading and body font-sizes ───────
     Use these tokens on every heading/text rule. Never hardcode rem sizes on
     new rules; pick the nearest token instead.
     clamp(min, fluid, max) keeps sizes proportional across viewports.       */
  --fs-h1:      clamp(2.8rem, 7vw, 5.6rem);    /* Hero display titles (h1 equiv)     */
  --fs-h2:      clamp(2rem, 4vw, 3.8rem);       /* Section headings (h2 equiv)        */
  --fs-h3:      clamp(1.3rem, 2.2vw, 1.85rem);  /* Card / subsection titles (h3)      */
  --fs-h4:      1.05rem;                         /* Small headings, feature labels (h4)*/
  --fs-quote:   clamp(1.2rem, 2.2vw, 1.75rem);  /* Pull quotes & testimonials         */
  --fs-body-lg: 1.1rem;                          /* p.highlight + section lead copy    */
  --fs-body:    1rem;                            /* Standard body paragraphs           */
  --fs-small:   0.875rem;                        /* Secondary copy, meta text          */
  --fs-xs:      0.72rem;                         /* Tags, badges, footnotes            */
}

/* Small copy tier (≈0.8–0.88rem): rules below use calc(rem + 1pt) so secondary body/UI text is one point larger sitewide. */

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Prevent browser-default blue on any <a> that doesn't have an explicit class color. */
a { color: inherit; }
/* clip (not hidden): overflow-x:hidden on the root forces a scroll containment model
   that breaks position:sticky for in-page sections; clip prevents horizontal bleed
   without that side effect (see #content-writer screenshot column). */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--body);
  background: var(--s950);
  color: var(--s200);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: clip;
  /* GSAP page-enter starts body at opacity 0 — this ensures
     the background matches so there's no white flash on load */
  background-color: var(--s950);
}

/* ─── Fixed atmosphere ───────────────────────────────────────────────────── */
.bg-base { position: fixed; inset: 0; background: var(--s950); z-index: 0; }
.bg-mesh {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(at 22% 12%, rgba(14,213,202,.07) 0, transparent 50%),
    radial-gradient(at 80% 70%, rgba(236,72,153,.05) 0, transparent 48%),
    radial-gradient(at 6% 90%,  rgba(59,130,246,.04) 0, transparent 44%);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift { 0% { transform: scale(1); } 100% { transform: scale(1.06) rotate(1deg); } }
.bg-glow-tr {
  position: fixed; top: -300px; right: -350px; width: 1000px; height: 1000px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,213,202,.09) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
  animation: glow 9s ease-in-out infinite alternate;
}
.bg-glow-bl {
  position: fixed; bottom: -200px; left: -150px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(236,72,153,.06) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
  animation: glow 12s ease-in-out infinite alternate-reverse;
}
@keyframes glow { 0% { opacity:.65; transform:scale(1); } 100% { opacity:1; transform:scale(1.1); } }
.grid-noise {
  position: fixed; inset: 0; z-index: 0; opacity: .028;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.bg-vignette { position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, transparent 25%, rgba(0,0,0,.65) 100%); }

/* Full-viewport curtain: bridges full page loads so layout/GSAP never flash raw.
   marketing-pjax.js sets sessionStorage + fades this in before navigate; head inline
   script restores html.idpulse-curtain-active on the next document before first paint. */
#page-transition-curtain {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(
    165deg,
    rgba(3, 12, 18, 0.98) 0%,
    rgba(4, 22, 28, 0.97) 42%,
    rgba(5, 34, 36, 0.96) 100%
  );
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.5);
}
html.idpulse-curtain-active #page-transition-curtain {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */
/* Fixed bar + spacer — hide on scroll down, show on scroll up (see script) */
nav.site-nav {
  position: fixed;
  top: 20px;
  left: var(--content-gutter);
  right: var(--content-gutter);
  z-index: 100;
  margin: 0;
  border-radius: 20px;
  backdrop-filter: blur(28px) saturate(160%);
  background: linear-gradient(90deg, rgba(14,213,202,0.8), rgba(14,213,202,.28), rgba(14,213,202,.05));
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  overflow: visible;
  transition:
    transform 0.38s cubic-bezier(.25, .46, .45, .94),
    opacity 0.28s ease,
    visibility 0.28s ease,
    background 0.3s;
}
nav.site-nav.nav-hidden {
  transform: translateY(calc(-100% - 28px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  nav.site-nav { transition-duration: 0.12s; }
}
nav.site-nav.scrolled { background: rgba(6,10,14,.88); }

/* Full-viewport dim when megamenu is previewed (hover) or pinned (click/touch). Injected by marketing-partials.js. */
.nav-mega-dim {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(2, 8, 14, 0.82);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s;
}
/* Fine pointer: CSS :has shows scrim while a mega row is hovered/focused (no click capture). */
@media (hover: hover) and (pointer: fine) {
  body:has(#siteNav .nav-mega:hover) .nav-mega-dim,
  body:has(#siteNav .nav-mega:focus-within) .nav-mega-dim {
    opacity: 1;
    visibility: visible;
  }
}
/* Pinned open: scrim catches outside clicks (see marketing-partials close handler). */
body:has(#siteNav.site-nav--mega-open) .nav-mega-dim {
  opacity: 1;
  visibility: visible;
}
.nav-mega-dim.nav-mega-dim--pinned {
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .nav-mega-dim { transition-duration: 0.01ms; }
}
/* Reserves layout height so content does not jump under fixed nav */
.nav-spacer { height: 92px; pointer-events: none; }
/* Vertical padding only — horizontal alignment matches section gutters via nav margin */
.nav-inner { padding: 12px 30px; display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 24px; overflow: visible; }
/* Positioning context for megapanels: same width as the link row (logo stays outside the flyout). */
.nav-links-wrap {
  position: static;
  z-index: 5;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo-row  { display: flex; align-items: center; gap: 0; text-decoration: none; }
.logo-svg  { height: 28px; width: auto; display: block; }
.logo-name { font-size: .95rem; font-weight: 700; letter-spacing: -.02em; color: var(--s100); font-family: var(--display); }
.logo-sub  { font-size: 9px; color: var(--s600); text-transform: uppercase; letter-spacing: .14em; font-family: var(--mono); display: block; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; position: static; z-index: 2; overflow: visible; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--s950); text-decoration: none; padding: 6px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--s100); background: rgba(255,255,255,.05); }

/* ─── Site nav megamenu (full bar width; hover + click) ───────────────────── */
.nav-mega {
  /* Panel is position:absolute against .nav-links-wrap (full width of the link row). */
  position: static;
  list-style: none;
}
.nav-mega-trigger {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--s400);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-mega-trigger:hover,
.nav-mega-trigger:focus-visible {
  color: var(--s100);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}
.nav-mega-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-mega:hover .nav-mega-chevron,
  .nav-mega:focus-within .nav-mega-chevron {
    opacity: 0.9;
    transform: rotate(180deg);
  }
}
.nav-mega.is-open .nav-mega-chevron {
  opacity: 0.9;
  transform: rotate(180deg);
}
.nav-mega-panel {
  position: absolute;
  z-index: 110;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  width: auto;
  max-width: none;
  padding: 22px 24px 24px 28px;
  border-radius: 14px;
  text-align: left;
  isolation: isolate;
  /* Layered glass: stronger base opacity so body copy behind the flyout does not compete with panel text */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, transparent 26%), radial-gradient(125% 90% at 10% 0%, rgba(14, 213, 202, 0.32) 0%, transparent 52%), radial-gradient(95% 75% at 100% 100%, rgba(140, 72, 168, 0.12) 0%, transparent 46%), linear-gradient(118deg, rgba(2, 12, 18, 0.96) 0%, rgba(4, 32, 36, 0.92) 38%, rgba(6, 44, 48, 0.88) 100%);
  backdrop-filter: blur(26px) saturate(1.18);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
  /* top-edge teal border; faint sides/bottom */
  border: 1px solid rgba(14, 213, 202, 0.10);
  border-top: 1px solid rgba(14, 213, 202, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(14, 213, 202, 0.07),
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 32px 72px rgba(0, 0, 0, 0.62),
    0 0 52px rgba(14, 213, 202, 0.11);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* larger travel + subtle scale for a deliberate entrance */
  transform: translateY(-10px) scale(0.985);
  transition: opacity 0.26s ease, visibility 0.26s, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  display: grid;
  grid-template-columns: minmax(72px, 92px) minmax(0, 1fr) minmax(200px, 270px);
  grid-template-areas:
    'visual eyebrow cta-card'
    'visual lede    cta-card'
    'visual list    cta-card';
  column-gap: clamp(14px, 3vw, 28px);
  row-gap: 14px;
  align-items: start;
}
/* Keep copy above decorative ::after (pseudo paints as last child). */
.nav-mega-panel > * {
  position: relative;
  z-index: 2;
}
/* Left column: decorative animated SVG (paused until panel is open / hovered). */
.nav-mega-visual {
  grid-area: visual;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 6px 10px 6px 2px;
  margin-right: 2px;
  border-right: 1px solid rgba(14, 213, 202, 0.14);
}
.nav-mega-svg {
  width: 64px;
  height: 64px;
  max-width: 100%;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}
/* CPU: only run SVG motion while the megamenu is actually visible */
.nav-mega-panel .nav-mega-visual * {
  animation-play-state: paused;
}
@media (hover: hover) and (pointer: fine) {
  .nav-mega:hover .nav-mega-panel .nav-mega-visual *,
  .nav-mega:focus-within .nav-mega-panel .nav-mega-visual * {
    animation-play-state: running;
  }
}
.nav-mega.is-open .nav-mega-panel .nav-mega-visual * {
  animation-play-state: running;
}
/* ─── Method: radar sweep + pulsing rings ─────────────────────────────────── */
@keyframes nav-mega-radar-sweep {
  to {
    transform: rotate(360deg);
  }
}
@keyframes nav-mega-ring-pulse {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.55;
    transform: scale(1);
  }
}
.nav-mega-svg--method .nm-m-sweep {
  transform-origin: 32px 32px;
  animation: nav-mega-radar-sweep 2.8s linear infinite;
}
.nav-mega-svg--method .nm-m-ring--3 {
  animation: nav-mega-ring-pulse 2.2s ease-in-out infinite;
  transform-origin: 32px 32px;
}
.nav-mega-svg--method .nm-m-ring--2 {
  animation: nav-mega-ring-pulse 2.2s ease-in-out infinite 0.35s;
  transform-origin: 32px 32px;
}
.nav-mega-svg--method .nm-m-ring--1 {
  animation: nav-mega-ring-pulse 1.8s ease-in-out infinite 0.15s;
  transform-origin: 32px 32px;
}
/* ─── Platform: module tiles breathe in stagger ───────────────────────────── */
@keyframes nav-mega-tile-breathe {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
.nav-mega-svg--platform .nm-p-tile:nth-child(1) {
  animation: nav-mega-tile-breathe 2.4s ease-in-out infinite;
  transform-origin: 19px 19px;
}
.nav-mega-svg--platform .nm-p-tile:nth-child(2) {
  animation: nav-mega-tile-breathe 2.4s ease-in-out infinite 0.2s;
  transform-origin: 45px 19px;
}
.nav-mega-svg--platform .nm-p-tile:nth-child(3) {
  animation: nav-mega-tile-breathe 2.4s ease-in-out infinite 0.4s;
  transform-origin: 19px 45px;
}
.nav-mega-svg--platform .nm-p-tile:nth-child(4) {
  animation: nav-mega-tile-breathe 2.4s ease-in-out infinite 0.6s;
  transform-origin: 45px 45px;
}
/* ─── Strategy: path draw + node pulse ───────────────────────────────────── */
@keyframes nav-mega-strat-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0.35;
  }
  38% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  62% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 1;
    opacity: 0.35;
  }
}
@keyframes nav-mega-node-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
.nav-mega-svg--strategy .nm-s-path {
  animation: nav-mega-strat-draw 3.2s ease-in-out infinite;
}
.nav-mega-svg--strategy .nm-s-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: nav-mega-node-pulse 2s ease-in-out infinite;
}
.nav-mega-svg--strategy .nm-s-node:nth-of-type(1) {
  animation-delay: 0s;
}
.nav-mega-svg--strategy .nm-s-node:nth-of-type(2) {
  animation-delay: 0.22s;
}
.nav-mega-svg--strategy .nm-s-node:nth-of-type(3) {
  animation-delay: 0.44s;
}
/* ─── Vision: horizon arc shimmer + sun float ───────────────────────────── */
@keyframes nav-mega-arc-shimmer {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.55;
  }
}
@keyframes nav-mega-sun-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.75;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.nav-mega-svg--vision .nm-v-arc {
  animation: nav-mega-arc-shimmer 2.6s ease-in-out infinite;
}
.nav-mega-svg--vision .nm-v-sun {
  transform-origin: 32px 22px;
  animation: nav-mega-sun-float 2.4s ease-in-out infinite;
}
/* ─── Insights: document frame + lines draw ───────────────────────────────── */
@keyframes nav-mega-doc-glow {
  0%,
  100% {
    opacity: 0.32;
  }
  50% {
    opacity: 0.65;
  }
}
@keyframes nav-mega-line-x {
  0%,
  12% {
    transform: scaleX(0.15);
    opacity: 0.35;
  }
  40%,
  70% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0.15);
    opacity: 0.35;
  }
}
.nav-mega-svg--insights .nm-i-doc {
  animation: nav-mega-doc-glow 2.5s ease-in-out infinite;
  transform-origin: 32px 32px;
}
.nav-mega-svg--insights .nm-i-line--1,
.nav-mega-svg--insights .nm-i-line--2,
.nav-mega-svg--insights .nm-i-line--3 {
  transform-box: view-box;
}
.nav-mega-svg--insights .nm-i-line--1 {
  transform-origin: 22px 22px;
  animation: nav-mega-line-x 2.8s ease-in-out infinite;
}
.nav-mega-svg--insights .nm-i-line--2 {
  transform-origin: 22px 32px;
  animation: nav-mega-line-x 2.8s ease-in-out infinite 0.18s;
}
.nav-mega-svg--insights .nm-i-line--3 {
  transform-origin: 22px 42px;
  animation: nav-mega-line-x 2.8s ease-in-out infinite 0.36s;
}
/* Invisible hover bridge so the pointer can cross the gap from a narrow trigger to the wide panel. */
.nav-mega-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}
/* Gradient glow strip + soft inner rim light on the top edge */
.nav-mega-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(14, 213, 202, 0.55) 22%,
    rgba(180, 230, 255, 0.35) 50%,
    rgba(14, 213, 202, 0.55) 78%,
    transparent 100%
  );
  box-shadow: 0 1px 14px rgba(14, 213, 202, 0.22);
  pointer-events: none;
  z-index: 1;
}
/* Section eyebrow label — orients the reader instantly on panel open */
.nav-mega-eyebrow {
  grid-area: eyebrow;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 213, 202, 0.72);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-mega-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: rgba(14, 213, 202, 0.45);
  flex-shrink: 0;
}
.nav-mega-lede {
  grid-area: lede;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--s200);
  letter-spacing: -0.01em;
  max-width: 68ch;
}
.nav-mega-list {
  grid-area: list;
  margin: 0;
  padding: 0;
  list-style: none;
  color: white;
  font-size: 13px;
  line-height: 1.55;
}
.nav-mega-list li {
  position: relative;
  margin-bottom: 0;
  padding: 8px 6px 8px 22px;
  border-radius: 7px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-mega-list li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-mega-list li:hover {
  color: var(--s300);
  background: rgba(14, 213, 202, 0.05);
  border-bottom-color: transparent;
}
/* Filled glowing dot — replaces hollow-circle for a more refined look */
.nav-mega-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: calc(0.5em + 9px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(14, 213, 202, 0.72);
  box-shadow: 0 0 7px rgba(14, 213, 202, 0.42);
  box-sizing: border-box;
}
/* Right-column feature card: balances the text-heavy left side */
.nav-mega-cta-card {
  grid-area: cta-card;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  box-sizing: border-box;
  /* Nested glass: darker than the panel so the CTA column reads as inset */
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.52) 0%, rgba(4, 22, 26, 0.66) 100%);
  border: 1px solid rgba(14, 213, 202, 0.22);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 36px rgba(0, 0, 0, 0.28);
}
.nav-mega-cta-card__hl {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: flex-end;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--s400);
}
.nav-mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  border: none;
  box-shadow: 0 4px 20px rgba(12, 134, 128, 0.28);
  white-space: nowrap;
  transition: color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, gap 0.18s ease;
}
.nav-mega-cta:hover {
  color: var(--s950);
  gap: 13px;
  box-shadow: 0 6px 28px rgba(14, 213, 202, 0.42);
  transform: translateY(-1px);
}
.nav-mega-cta:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 2px;
}
.nav-mega-cta i {
  font-size: 0.75rem;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .nav-mega-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      'visual'
      'eyebrow'
      'lede'
      'list'
      'cta-card';
    padding: 20px 22px 22px;
    row-gap: 14px;
  }
  .nav-mega-visual {
    justify-content: center;
    padding: 4px 0 10px;
    margin-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(14, 213, 202, 0.12);
  }
  .nav-mega-svg {
    width: 56px;
    height: 56px;
  }
  .nav-mega-cta-card {
    height: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-mega-cta-card__hl {
    flex: none;
    align-items: center;
  }
}
/* Fine pointers: preview on hover; keyboard: focus-within keeps panel usable */
@media (hover: hover) and (pointer: fine) {
  .nav-mega:hover > .nav-mega-panel,
  .nav-mega:focus-within > .nav-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}
/* Click (or touch) toggled open state */
.nav-mega.is-open > .nav-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .nav-mega-panel,
  .nav-mega-chevron {
    transition-duration: 0.01ms;
  }
  .nav-mega-visual svg * {
    animation: none !important;
  }
}
.nav-cta {
  font-size: 13px; font-weight: 700;
  color: var(--s950) !important; background: var(--brand-500) !important;
  padding: 8px 20px !important; border-radius: 10px !important;
  /* contain:paint keeps the shimmer ::after from painting into sibling links when
     backdrop-filter on the nav creates a separate compositing layer (Safari). */
  position: relative; overflow: hidden; isolation: isolate; contain: paint;
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s !important;
}
.nav-cta::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.2) 50%, transparent 80%);
  transform: skewX(-20deg);
  pointer-events: none;
  /* Default state parks the sheen off-screen; without this, left:-100% still leaves
     a skewed highlight visible beside “Insights” in some browsers. */
  opacity: 0;
}
.nav-cta:hover::after { opacity: 1; animation: btnShimmer 0.5s ease-out forwards; }
.nav-cta:hover { background: var(--brand-400) !important; box-shadow: 0 0 28px rgba(14,213,202,0.45) !important; transform: translateY(-1px) !important; }
.nav-cta:active { transform: translateY(0) scale(0.97) !important; transition-duration: 0.08s !important; }
.nav-left { display: flex; flex-direction: row; align-items: center; gap: 35px; overflow: visible; min-width: 0; }
.tagline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-400);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  min-width: 0;
}
.tagline-text {
  min-width: 0;
}
/* Locale pill: always visible in the bar (tagline slogan hides on narrow viewports). */
.nav-lang {
  flex-shrink: 0;
  padding: 4px 8px;
  min-width: 28px;
  min-height: 28px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--s200);
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(6, 10, 14, 0.45);
}
.nav-lang:hover,
.nav-lang:focus-visible {
  color: var(--brand-400);
  border-color: rgba(14, 213, 202, 0.35);
  outline: none;
}

/* Mobile menu: narrow viewports hide mega rows; hamburger opens full list (see site-nav-shell.js). */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(6, 10, 14, 0.35);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-toggle:hover {
  border-color: rgba(14, 213, 202, 0.35);
  background: rgba(14, 213, 202, 0.08);
}
.nav-mobile-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--s200);
}
.nav-mobile-panel {
  position: fixed;
  inset: 0;
  /* Above fixed nav (100) and mega scrim (99); below access modal (500). */
  z-index: 280;
  padding: calc(92px + env(safe-area-inset-top, 0px)) 0 max(24px, env(safe-area-inset-bottom, 0px));
  background: rgba(4, 10, 16, 0.94);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.28s ease, visibility 0.28s, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--content-gutter) 16px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
}
.nav-mobile-panel__title {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-400);
}
.nav-mobile-panel__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--s200);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.nav-mobile-panel__close:hover {
  background: rgba(14, 213, 202, 0.1);
  border-color: rgba(14, 213, 202, 0.25);
}
.nav-mobile-panel__links {
  display: flex;
  flex-direction: column;
  padding: 12px var(--content-gutter) 32px;
  gap: 2px;
}
.nav-mobile-panel__links a {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--s100);
  text-decoration: none;
  padding: 14px 4px;
  border-radius: 10px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.08);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile-panel__links a:hover,
.nav-mobile-panel__links a:focus-visible {
  color: var(--brand-400);
  background: rgba(14, 213, 202, 0.06);
  outline: none;
}
/* Duplicate Get access CTA (injected via __GET_ACCESS_LINK__ on shell pages). */
.nav-mobile-panel__cta {
  padding: 8px var(--content-gutter) 28px;
}
.nav-mobile-panel__cta .nav-cta {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}
body.nav-mobile-open {
  overflow: hidden;
}
@media (max-width: 900px) {
  .nav-links > .nav-mega {
    display: none !important;
  }
  .nav-mobile-toggle {
    display: inline-flex;
  }
  nav.site-nav {
    top: 12px;
    /* Solid dark fallback for browsers that don't support backdrop-filter
       (Samsung Internet, older Android Chrome) so nav stays readable. */
    background: rgba(6, 10, 14, 0.92);
  }
  body.page-blog .site-nav {
    top: 12px;
    background: rgba(6, 10, 14, 0.92);
  }
  .nav-inner {
    padding: 10px 16px;
    gap: 12px;
    min-height: 52px;
  }
  body.page-blog .nav-inner {
    padding: 10px 16px;
    gap: 12px;
    min-height: 52px;
    min-width: 0;
  }
  .nav-left {
    gap: 14px;
    min-width: 0;
    flex: 1;
  }
  /* Hamburger layout: drop the long slogan so the locale pill stays visible. */
  .tagline {
    display: none;
  }
}
@media (max-width: 520px) {
  .logo-svg {
    height: 24px;
  }
}

/* ─── Hero — full viewport, edge-to-edge ─────────────────────────────────── */
.hero-outer {
  position: relative; z-index: 1;
  min-height: calc(100vh - 64px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 80px 0 80px 0;
  max-width: 70%;
  min-width: 0;
  box-sizing: border-box;
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; background: rgba(14,213,202,.1); border: 1px solid rgba(14,213,202,.24); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-400); font-family: var(--mono); width: fit-content; }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 8px var(--brand-500); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.3; transform:scale(.6); } }

.hero-h1 {
  font-family: var(--display); font-size: var(--fs-h1);
  font-weight: 800; line-height: .93; letter-spacing: -.04em;
  color: var(--s50);
  overflow-wrap: anywhere;
}
.hero-h1 .dim { color: var(--s500); }
.grad { background: linear-gradient(135deg, #6ff7ed 0%, var(--brand-500) 40%, var(--accent-400) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-lead { font-size: var(--fs-body-lg); color: var(--s400); max-width: 60ch; line-height: 1.75; }
.hero-lead strong { color: var(--s200); font-weight: 600; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* ── Primary button ───────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 12px; border: none; cursor: pointer;
  font-size: 14px; font-weight: 700; font-family: var(--body);
  background: var(--brand-500); color: var(--s950);
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: background 0.22s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(14,213,202,0.28);
  user-select: none;
}
/* Shimmer sweep */
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-primary:hover::after { animation: btnShimmer 0.58s ease-out forwards; }
@keyframes btnShimmer { to { left: 150%; } }

/* Hover glow (transform handled by GSAP magnetic) */
.btn-primary:hover { background: var(--brand-400); box-shadow: 0 8px 36px rgba(14,213,202,0.5); }

/* Click press */
.btn-primary:active { box-shadow: 0 2px 12px rgba(14,213,202,0.2) !important; filter: brightness(0.95); transition-duration: 0.08s; }

/* Arrow icon glide right on hover */
.btn-primary i { display: inline-block; transition: transform 0.22s ease; }
.btn-primary:hover i { transform: translateX(5px); }

/* ── Ghost button ─────────────────────────────────────────────────────────── */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 12px; cursor: pointer;
  font-size: 14px; font-weight: 600; font-family: var(--body);
  background: transparent; border: 1px solid rgba(100,116,139,0.28);
  color: var(--s300); text-decoration: none;
  position: relative; overflow: hidden;
  transition: border-color 0.22s, color 0.22s, box-shadow 0.22s;
  user-select: none;
}
/* Background fill from left on hover */
.btn-ghost::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(14,213,202,0.06);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  transition: transform 0.28s ease;
}
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-ghost:hover { border-color: rgba(14,213,202,0.38); color: var(--brand-400); box-shadow: 0 4px 18px rgba(255,255,255,0.04); }
.btn-ghost:active { filter: brightness(0.9); transition-duration: 0.08s; }

/* Arrow icon glide right on hover */
.btn-ghost i { display: inline-block; transition: transform 0.22s ease; }
.btn-ghost:hover i { transform: translateX(5px); }

/* ── Ripple click element ─────────────────────────────────────────────────── */
.btn-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
}

/* ═══ Access request modal ═══════════════════════════════════════════════════ */
body.access-modal-open { overflow: hidden; }

.access-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s cubic-bezier(.22,1,.36,1), visibility .3s;
}
.access-modal.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.access-modal.is-open .access-modal__dialog {
  transform: translateY(0) scale(1);
}

.access-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 5, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ── Dialog shell ── */
.access-modal__dialog {
  position: relative; z-index: 1;
  width: min(700px, 100%);
  max-height: min(80vh, 920px);
  overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  /* Multi-layer glass bg */
  background:
    radial-gradient(ellipse at 30% 0%, rgba(14, 213, 202, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(236, 72, 153, 0.05) 0%, transparent 48%),
    linear-gradient(170deg, rgba(18, 26, 35, 0.99) 0%, rgba(8, 12, 18, 1) 100%);
  box-shadow:
    0 0 0 1px rgba(14, 213, 202, 0.12) inset,
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: translateY(16px) scale(0.98);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}

/* ── Banner accent strip ── */
.access-modal__dialog::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500) 0%, rgba(14, 213, 202, 0.3) 60%, transparent 100%);
  flex-shrink: 0;
  border-radius: 24px 24px 0 0;
}

/* ── Header ── */
.access-modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
.access-modal__head-text { flex: 1; }
.access-modal__eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: 10px;
}
.access-modal__eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 6px var(--brand-500);
  animation: modalDot 2.4s ease-in-out infinite;
}
@keyframes modalDot {
  0%, 100% { opacity: 1; } 50% { opacity: 0.35; }
}
.access-modal__title {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 800;
  color: #fff; line-height: 1.18; margin: 0;
  letter-spacing: -0.03em;
}
.access-modal__lede {
  font-size: calc(0.85rem + 1pt); color: var(--s500); line-height: 1.6;
  margin: 8px 0 0;
}
.access-modal__close {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--s500); cursor: pointer; font-size: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .18s, border-color .18s, background .18s;
}
.access-modal__close:hover {
  color: #fff;
  border-color: rgba(14, 213, 202, 0.3);
  background: rgba(14, 213, 202, 0.07);
}

/* ── Scrollable body ── */
.access-modal__body {
  padding: 22px 28px 28px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 213, 202, 0.2) transparent;
}
.access-modal__body::-webkit-scrollbar { width: 4px; }
.access-modal__body::-webkit-scrollbar-track { background: transparent; }
.access-modal__body::-webkit-scrollbar-thumb { background: rgba(14, 213, 202, 0.2); border-radius: 2px; }

/* ── Row layout for paired short fields ── */
.access-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
@media (max-width: 480px) { .access-field-row { grid-template-columns: 1fr; } }

/* ── Fields ── */
.access-field { margin-bottom: 14px; }
.access-field label,
.access-fieldset-legend {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s500);
  margin-bottom: 7px;
}
.access-fieldset-legend { margin-bottom: 10px; }
.access-field label .req { color: var(--brand-400); }

.access-field input,
.access-field textarea {
  width: 100%; box-sizing: border-box;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(4, 8, 14, 0.6);
  color: var(--s100);
  font-family: var(--body);
  font-size: 0.93rem;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.access-field input::placeholder,
.access-field textarea::placeholder { color: var(--s700); }
.access-field input:hover,
.access-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.access-field input:focus,
.access-field textarea:focus {
  outline: none;
  border-color: rgba(14, 213, 202, 0.5);
  box-shadow: 0 0 0 3px rgba(14, 213, 202, 0.1);
  background: rgba(6, 12, 18, 0.8);
}
.access-field textarea { min-height: 130px; resize: vertical; line-height: 1.65; }

/* ── Package checkboxes ── */
.access-pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 480px) { .access-pkg-grid { grid-template-columns: 1fr; } }

.access-pkg {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  user-select: none;
}
.access-pkg:hover {
  border-color: rgba(14, 213, 202, 0.2);
  background: rgba(14, 213, 202, 0.04);
}
.access-pkg:has(input:checked) {
  border-color: rgba(14, 213, 202, 0.4);
  background: rgba(14, 213, 202, 0.07);
  box-shadow: 0 0 0 1px rgba(14, 213, 202, 0.15) inset;
}
.access-pkg:has(input:focus-visible) {
  outline: 2px solid rgba(14, 213, 202, 0.4);
  outline-offset: 2px;
}

/* Custom checkbox visuals */
.access-pkg input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 17px; height: 17px; flex-shrink: 0;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 8, 14, 0.6);
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .15s, background .15s;
}
.access-pkg input[type="checkbox"]::after {
  content: '';
  width: 9px; height: 6px;
  border-left: 2px solid #0ed5ca;
  border-bottom: 2px solid #0ed5ca;
  transform: rotate(-46deg) scale(0) translateY(-1px);
  transition: transform .14s cubic-bezier(.34,1.56,.64,1);
}
.access-pkg input[type="checkbox"]:checked {
  border-color: var(--brand-500);
  background: rgba(14, 213, 202, 0.14);
}
.access-pkg input[type="checkbox"]:checked::after {
  transform: rotate(-46deg) scale(1) translateY(-1px);
}

.access-pkg__label {
  font-size: calc(0.82rem + 1pt); font-weight: 500;
  line-height: 1.3; color: var(--s300);
  transition: color .15s;
}
.access-pkg:has(input:checked) .access-pkg__label { color: var(--s50); }

.access-modal__pkg-hint {
  font-size: 0.76rem; color: var(--accent-400);
  margin: 7px 0 0; display: flex; align-items: center; gap: 5px;
}
/* Author `display:flex` beats the [hidden] default; keep hints invisible until shown */
.access-modal__pkg-hint[hidden] {
  display: none !important;
}
.access-modal__pkg-hint::before { content: '!'; font-weight: 700; }

/* ── Divider ── */
.access-modal__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 18px 0;
}

/* ── Submit row ── */
.access-modal__actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 20px;
}
.access-modal__actions .btn-primary {
  flex: 1; min-width: 180px; justify-content: center;
  padding: 14px 24px;
}
.access-modal__actions .btn-ghost {
  padding: 13px 20px; font-size: calc(0.85rem + 1pt);
}
.access-modal__notice {
  width: 100%;
  font-size: 0.72rem; color: var(--s600);
  display: flex; align-items: center; gap: 5px;
  margin-top: 4px;
}
.access-modal__notice i { color: var(--s700); }

/* ── Success state ── */
.access-modal__success {
  padding: 48px 28px 52px;
  text-align: center; display: flex;
  flex-direction: column; align-items: center; gap: 12px;
}
/* Same as .access-modal__pkg-hint: `display:flex` would override [hidden] without this */
.access-modal__success[hidden] {
  display: none !important;
}
.access-modal__success-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(14, 213, 202, 0.1);
  border: 1px solid rgba(14, 213, 202, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--brand-400);
  margin-bottom: 8px;
}
.access-modal__success h3 {
  font-family: var(--display); font-size: 1.35rem; font-weight: 800;
  color: #fff; margin: 0; letter-spacing: -0.02em;
}
.access-modal__success p {
  font-size: 0.9rem; color: var(--s400); line-height: 1.7; margin: 0;
  max-width: 38ch;
}
.access-modal__success a { color: var(--brand-400); }

.access-modal-trigger.pkg-cta { cursor: pointer; }

.hero-trust { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--s600); font-family: var(--mono); flex-wrap: wrap; }
.trust-sep { width: 1px; height: 12px; background: var(--s700); }

/* Hero canvas — full-bleed background layer */
.hero-visual {
  position: absolute; inset: 0; z-index: 0;
}
/* Left-side text readability gradient */
.hero-visual::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(6,10,14,0.82) 0%,
    rgba(6,10,14,0.55) 45%,
    rgba(6,10,14,0.0) 75%
  );
  pointer-events: none;
}
/* ── Hero canvas animation ─────────────────────────────────────────────────── */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-legend {
  position: absolute; bottom: 28px; right: 48px;
  display: flex; gap: 22px; z-index: 3; pointer-events: none;
}
.legend-pill { display: flex; align-items: center; gap: 7px; font-size: 10px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.legend-line { width: 22px; height: 2px; border-radius: 2px; }

/* Main column participates in width constraints so nested grids cannot overflow the viewport. */
#pjax-main {
  min-width: 0;
}

/* ─── Content sections — full-width approach ─────────────────────────────── */
.section { position: relative; z-index: 1; padding: 110px var(--content-gutter); }
.section-sm { padding-top: 70px; padding-bottom: 70px; }
.section-label { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .10em; text-transform: uppercase; color: var(--brand-400); margin-bottom: 16px; }
.section-label::after { content: ''; flex: 0 0 32px; height: 1px; background: rgba(14,213,202,.35); }

.display-h2 { font-family: var(--display); font-size: var(--fs-h2); font-weight: 800; color: var(--s50); letter-spacing: -.04em; line-height: 1.0; margin-bottom: 20px; }

/* Homepage “cracks in the system” lede — fluid type + wrapping (was fixed 1.5rem inline). */
.home-crack-lede {
  font-size: clamp(1.05rem, 3.8vw, 1.5rem);
  color: var(--s400);
  line-height: 1.75;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.home-crack-lede strong {
  color: var(--s200);
}
.display-h3 { font-family: var(--display); font-size: var(--fs-h3); font-weight: 700; line-height:1.3em; color: var(--s100); letter-spacing: -.03em; margin-bottom: 10px; }
.section-lead { font-size: var(--fs-body-lg); color: var(--s400); max-width: 56ch; line-height: 1.8; margin-bottom: 48px; }
/* Highlighted / larger body copy — use class="highlight" on any <p> that should stand out */
p.highlight { font-size: var(--fs-body-lg); line-height: 1.8; }
.section-lead strong { color: var(--s200); }

/* minmax(0,1fr) lets long copy + charts shrink inside the viewport (grid default min is auto). */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.two-col > * {
  min-width: 0;
}
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ─── Problem stats ───────────────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-bottom: 60px; }
.stat-block { padding: 36px 28px; background: rgba(14,28,39,.5); border: 1px solid rgba(100,116,139,.1); }
.stat-block:first-child { border-radius: 16px 0 0 16px; }
.stat-block:last-child  { border-radius: 0 16px 16px 0; }
.stat-block:hover { background: rgba(20,36,50,.6); }
.stat-num { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: var(--brand-400); letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; }
.stat-txt strong { color: var(--s200); display: block; font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.stat-txt { font-size: calc(0.88rem + 1pt); color: var(--s500); line-height: 1.6; }

/* Paired callouts in Competitive intelligence (not the three-up .stat-grid strip). */
.competitive-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 100%;
}
.competitive-stat-row > .stat-block:first-child,
.competitive-stat-row > .stat-block:last-child {
  border-radius: 14px;
}

/* Competitive intelligence: right column stretches to left; radar is a true square (regular heptagon). */
.two-col-competitive {
  align-items: stretch;
}
.competitive-radar-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.competitive-radar {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.competitive-radar-title {
  margin-bottom: 10px;
}
/* Slot grows with the column so chart height tracks the left stack (~label + headline + stats). */
.competitive-radar-chart-slot {
  flex: 1 1 auto;
  min-height: 238px; /* ~280px at 85% — matches radar visual scale */
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Square side length is set in JS (min of slot width/height) so the heptagon is geometrically regular. */
.competitive-radar-chart-square {
  margin-inline: auto;
  position: relative;
  flex-shrink: 0;
}
.competitive-radar-chart-square canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: crosshair;
  touch-action: none;
}
.competitive-radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  margin-top: 10px;
}
.competitive-radar-legend-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(100,116,139,.2);
  border-radius: 999px;
  background: rgba(14,28,39,.35);
  font: inherit;
  font-size: 11px;
  color: var(--s400);
  cursor: pointer;
  transition: opacity .2s, border-color .2s, background .2s;
}
.competitive-radar-legend-btn:hover {
  border-color: rgba(100,116,139,.35);
  color: var(--s300);
}
.competitive-radar-legend-btn.is-off {
  opacity: 0.4;
}
.competitive-radar-legend-btn .clegend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Framework strip ────────────────────────────────────────────────────── */
.framework-strip {
  position: relative; z-index: 1;
  padding: 120px var(--content-gutter);
  border-top: 1px solid rgba(100,116,139,.09);
  border-bottom: 1px solid rgba(100,116,139,.09);
  text-align: center;
  overflow: hidden;
  margin-top:50px;
}
.framework-strip .parallax-bg {
  position: absolute; inset: -80px 0;
  background: url('../images/approach-bg.jpg') center center / cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.framework-strip .parallax-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6,10,14,.78) 0%,
    rgba(6,10,14,.62) 40%,
    rgba(6,10,14,.62) 60%,
    rgba(6,10,14,.78) 100%);
}
.framework-strip > *:not(.parallax-bg) { position: relative; z-index: 1; }

/* ─── App mock panels (absolutely float behind the centered text) ──────── */
.framework-strip > .app-mock-panel {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0 !important;
  pointer-events: none;
  opacity: 0.62;
  filter: drop-shadow(0 8px 48px rgba(14, 213, 202, 0.15))
          drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}
.app-mock-panel--left  { left: clamp(10px, 2vw, 36px); }
.app-mock-panel--right { right: clamp(10px, 2vw, 36px); }
@media (max-width: 1200px) { .framework-strip > .app-mock-panel { opacity: 0.28; } }
@media (max-width: 960px)  { .framework-strip > .app-mock-panel { display: none; } }

/* ── Core signal section parallax ──────────────────────────────────────────── */
.core-signal-section { overflow: hidden; }
.core-signal-section .parallax-bg {
  position: absolute; inset: -80px 0;
  background: url('../images/core-signal-bg.jpg') center center / cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.core-signal-section .parallax-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(6,10,14,.88) 0%,
    rgba(6,10,14,.72) 35%,
    rgba(6,10,14,.60) 55%,
    rgba(6,10,14,.86) 100%);
}
.core-signal-section > *:not(.parallax-bg) { position: relative; z-index: 1; }

/* Core signal: CRI hero + three stacked glass cards (overrides global .stat-block corner rules). */
.cri-aside-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(200px, 0.95fr);
  gap: 16px;
  align-items: stretch;
  max-width: 720px;
}
.cri-aside-main { min-width: 0; }
.cri-aside-wrap .stat-block.cri-aside-stat {
  height: 100%;
  border-radius: 14px !important;
  backdrop-filter: blur(10px);
}
.cri-aside-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.cri-aside-card {
  flex: 1;
  padding: 18px 16px;
  background: rgba(14, 28, 39, 0.5);
  border: 1px solid rgba(100, 116, 139, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cri-aside-card:hover {
  background: rgba(20, 36, 50, 0.62);
  border-color: rgba(100, 116, 139, 0.2);
}
.cri-aside-card-title {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--danger-400);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px;
}
.cri-aside-card-desc {
  margin: 0;
  font-size: calc(0.82rem + 1pt);
  color: var(--s500);
  line-height: 1.55;
}
.manifesto {
  font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--s100); letter-spacing: -.03em; line-height: 1.25;
  max-width: 780px; margin: 0 auto 24px;
}
.manifesto-sub { font-size: 1.05rem; color: var(--s400); max-width: 58ch; margin: 0 auto; line-height: 1.8; }
.manifesto-sub strong { color: var(--s200); }

/* ─── Founding-insight section with parallax photo ──────────────────────── */
.founding-insight-section {
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: hidden;
  padding: clamp(90px, 14vw, 160px) var(--content-gutter);
  isolation: isolate;
}
.founding-insight__parallax-bg {
  position: absolute;
  inset: -18% 0;       /* extra vertical room so parallax translate stays in-bounds */
  z-index: 0;
  will-change: transform;
  pointer-events: none;
}
.founding-insight__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: saturate(0.72) brightness(0.48);
}
/* Multi-layer overlay: base dark → teal vignette left + magenta accent right */
.founding-insight__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 90% at 0% 50%,  rgba(14, 213, 202, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 55% 80% at 100% 55%, rgba(140, 60, 120, 0.14) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(4, 8, 12, 0.62) 0%,
      rgba(4, 10, 14, 0.46) 42%,
      rgba(4, 8, 12, 0.72) 100%
    );
}
.founding-insight__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.founding-insight__label {
  justify-content: center;
}
.founding-insight__manifesto {
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.55),
    0 0  60px rgba(14, 213, 202, 0.08);
}
.founding-insight__sub {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
@media (max-width: 680px) {
  .founding-insight__parallax-bg {
    inset: -8% 0;
  }
}

/* ─── Identity model: horizontal step rail ───────────────────────────────── */

/* Unified glass panel */
.idmodel-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  background: linear-gradient(180deg, rgba(10,22,34,0.55) 0%, rgba(6,13,21,0.85) 100%);
  border: 1px solid rgba(14, 213, 202, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

/* Subtle central glow behind the whole panel */
.idmodel-rail::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 55% at 50% 0%,
    rgba(14, 213, 202, 0.07) 0%,
    transparent 70%
  );
}

/* Individual step cell */
.idmodel-step {
  position: relative;
  padding: 36px 28px 36px;
  border-right: 1px solid rgba(14, 213, 202, 0.07);
  transition: background 0.25s ease;
  overflow: hidden;
}
.idmodel-step:last-child {
  border-right: none;
}

/* Top accent stroke — reveals on hover */
.idmodel-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(14,213,202,0.75) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.idmodel-step:hover {
  background: rgba(14, 213, 202, 0.028);
}
.idmodel-step:hover::before {
  opacity: 1;
}

/* Step counter — ghost label, top of card */
.idmodel-step__n {
  display: block;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(14, 213, 202, 0.2);
  margin-bottom: 14px;
  line-height: 1;
  text-transform: uppercase;
}

/* Scale: the visual hero — large and bold */
.idmodel-step__scale {
  font-family: var(--display);
  font-size: clamp(1.45rem, 1.9vw, 1.95rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--brand-400);
  line-height: 1.05;
  text-shadow: 0 0 32px rgba(14, 213, 202, 0.4);
  margin-bottom: 0;
}

/* Step 4: stacked two-line scale (personas / stakes) */
.idmodel-step__scale--split {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.idmodel-step__scale-a {
  color: var(--brand-400);
}
.idmodel-step__scale-b {
  font-size: 0.78em;
  color: var(--accent-400);
  opacity: 0.85;
  text-shadow: 0 0 24px rgba(236,72,153,0.3);
}
.idmodel-step__scale sup {
  font-size: 0.52em;
  vertical-align: super;
  opacity: 0.75;
  font-weight: 700;
}

/* Separator — thin hairline between scale and title */
.idmodel-step__title {
  font-size: calc(0.92rem + 1pt);
  font-weight: 700;
  color: var(--s200);
  margin: 0 0 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(14, 213, 202, 0.1);
  line-height: 1.3;
  margin-top: 24px;
}

/* Step body copy — slightly larger + lighter than token slate on dark glass (was 0.79rem / s600). */
.idmodel-step__body {
  font-size: calc(0.9rem + 1pt);
  color: var(--s400);
  line-height: 1.78;
  margin: 0;
}
.idmodel-step__body strong {
  color: var(--s200);
  font-weight: 600;
}
.idmodel-step__body em {
  color: var(--s300);
  font-style: normal;
}

/* Final step (tenets): permanent magenta top accent */
.idmodel-step--final::before {
  background: linear-gradient(90deg, transparent 0%, rgba(236,72,153,0.6) 50%, transparent 100%);
  opacity: 1;
}
.idmodel-step--final:hover::before {
  opacity: 1;
}
.idmodel-step--final:hover {
  background: rgba(236, 72, 153, 0.025);
}
.idmodel-step--final .idmodel-step__scale {
  color: var(--accent-400);
  text-shadow: 0 0 32px rgba(236, 72, 153, 0.38);
}
.idmodel-step--final .idmodel-step__title {
  color: rgba(14, 213, 202, 0.9);
  border-top-color: rgba(236, 72, 153, 0.15);
}

/* Tablet: 2+3 columns */
@media (max-width: 1024px) and (min-width: 641px) {
  .idmodel-rail {
    grid-template-columns: repeat(3, 1fr);
    border-radius: 16px;
  }
  .idmodel-step:nth-child(3) {
    border-right: none;
  }
  .idmodel-step:nth-child(4),
  .idmodel-step:nth-child(5) {
    border-top: 1px solid rgba(14, 213, 202, 0.07);
  }
}

/* Mobile: single column stack */
@media (max-width: 640px) {
  .idmodel-rail {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .idmodel-step {
    padding: 28px 22px;
    border-right: none;
    border-bottom: 1px solid rgba(14, 213, 202, 0.07);
  }
  .idmodel-step:last-child {
    border-bottom: none;
  }
  .idmodel-step--final::before {
    opacity: 1;
  }
}

/* ─── Pillar cards ───────────────────────────────────────────────────────── */
.pillar-card {
  position: relative; padding: 40px 32px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(16,24,36,.85), rgba(10,15,22,.95));
  border: 1px solid rgba(100,116,139,.12);
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(135deg, rgba(14,213,202,.18) 0%, transparent 55%, rgba(236,72,153,.08) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; pointer-events: none;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 16px 60px rgba(0,0,0,.55), 0 0 48px rgba(14,213,202,.07); }
.pillar-num  { font-family: var(--mono); font-size: 10px; color: var(--brand-600); letter-spacing: .18em; margin-bottom: 20px; }
.pillar-icon-wrap { width: 54px; height: 54px; margin-bottom: 24px; }
.pillar-icon-wrap svg { width: 100%; height: 100%; }
.pillar-p    { font-size: .95rem; color: var(--s400); line-height: 1.75; margin-bottom: 24px; }
.pillar-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pillar-list li { font-size: .85rem; color: var(--s500); display: flex; align-items: center; gap: 9px; }
.pillar-list li i { font-size: 9px; color: var(--brand-500); flex-shrink: 0; }
.pillar-card:nth-child(2) .pillar-list li i { color: var(--accent-500); }
.pillar-card:nth-child(3) .pillar-list li i { color: var(--danger-400); }

/* Animated SVG icons */
.icon-scan { animation: scanY 3s ease-in-out infinite alternate; }
@keyframes scanY { 0% { transform: translateY(-8px); opacity:.35; } 100% { transform: translateY(8px); opacity:.85; } }
.icon-oa { animation: overA 2.8s ease-in-out infinite; }
.icon-ob { animation: overA 2.8s ease-in-out .55s infinite; }
@keyframes overA { 0%,100% { opacity:.5; } 50% { opacity:.9; } }
.icon-of { animation: overF 2.8s ease-in-out .25s infinite; }
@keyframes overF { 0%,100% { opacity:.08; } 50% { opacity:.25; } }
/* ECG trace: pathLength on polyline normalizes length so dash-offset matches geometry (no stray segments). */
.icon-wave {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawECG 3s ease-in-out infinite;
}
@keyframes drawECG {
  0%   { stroke-dashoffset: 100; opacity: .72; }
  40%  { stroke-dashoffset: 0; opacity: 1; }
  62%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 100; opacity: .72; }
}

/* ─── Persona section ────────────────────────────────────────────────────── */
.persona-band {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, rgba(236,72,153,.04) 0%, rgba(6,10,14,.95) 55%);
  border-top: 1px solid rgba(236,72,153,.1); border-bottom: 1px solid rgba(236,72,153,.08);
  padding: 100px var(--content-gutter);
}
.persona-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
/* Persona band: copy left, chart + capability cards stacked on the right. */
.two-col-persona { align-items: stretch !important; align-content: start; }
.persona-copy-col { min-width: 0; }
.persona-visual-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  align-self: stretch;
}
.persona-visual-col .persona-features { margin-top: 0; }
.mini-card { padding: 22px; border-radius: 14px; background: rgba(12,17,23,.75); border: 1px solid rgba(100,116,139,.1); }
.mini-card i { font-size: 16px; color: var(--accent-400); margin-bottom: 12px; display: block; }
.mini-card h4 { font-size: var(--fs-h4); font-weight: 700; color: var(--s200); margin-bottom: 6px; font-family: var(--display); }
.mini-card p  { font-size: .82rem; color: var(--s500); line-height: 1.6; }

/* ─── Feature tabs ───────────────────────────────────────────────────────── */
.feature-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(100,116,139,.14);
}
.feature-tab {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--s400);
  cursor: pointer;
  border: 1px solid rgba(100,116,139,.2);
  border-radius: 12px;
  background: rgba(12,17,23,.85);
  font-family: var(--body);
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.feature-tab:hover:not(.active) {
  color: var(--s100);
  background: rgba(100,116,139,.1);
  border-color: rgba(100,116,139,.28);
}
/* Active tab fill matches the dominant icon / badge accent of that panel’s cards. */
.feature-tab.active {
  color: var(--s50);
}
.feature-tab[data-tab="align"].active,
.feature-tab[data-tab="create"].active {
  background: rgba(14,213,202,.26);
  border-color: rgba(14,213,202,.45);
  box-shadow: 0 0 0 1px rgba(14,213,202,.12), 0 6px 24px rgba(14,213,202,.1);
}
.feature-tab[data-tab="align"].active:hover,
.feature-tab[data-tab="create"].active:hover {
  background: rgba(14,213,202,.34);
  border-color: rgba(14,213,202,.55);
}
.feature-tab[data-tab="compete"].active {
  background: rgba(236,72,153,.24);
  border-color: rgba(236,72,153,.48);
  box-shadow: 0 0 0 1px rgba(236,72,153,.14), 0 6px 24px rgba(236,72,153,.12);
}
.feature-tab[data-tab="compete"].active:hover {
  background: rgba(236,72,153,.32);
  border-color: rgba(244,114,182,.6);
}
.feature-tab[data-tab="evolve"].active {
  background: rgba(251,191,36,.2);
  border-color: rgba(251,191,36,.45);
  box-shadow: 0 0 0 1px rgba(251,191,36,.12), 0 6px 24px rgba(251,191,36,.08);
}
.feature-tab[data-tab="evolve"].active:hover {
  background: rgba(251,191,36,.28);
  border-color: rgba(251,191,36,.55);
}
.feature-tab[data-tab="anticipate"].active {
  background: rgba(244,63,94,.22);
  border-color: rgba(244,63,94,.45);
  box-shadow: 0 0 0 1px rgba(244,63,94,.12), 0 6px 24px rgba(244,63,94,.1);
}
.feature-tab[data-tab="anticipate"].active:hover {
  background: rgba(244,63,94,.3);
  border-color: rgba(251,113,133,.55);
}
.feature-tab:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}
.feature-tab[data-tab="compete"]:focus-visible { outline-color: var(--accent-400); }
.feature-tab[data-tab="evolve"]:focus-visible { outline-color: var(--warn-400); }
.feature-tab[data-tab="anticipate"]:focus-visible { outline-color: var(--danger-400); }
.feature-panel { display: none; }
.feature-panel.active { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feat-card { padding: 24px; border-radius: 16px; background: rgba(10,15,22,.8); border: 1px solid rgba(100,116,139,.1); transition: border-color .2s, transform .22s; }
.feat-card:hover { border-color: rgba(14,213,202,.18); transform: translateY(-3px); }
.feat-card-header {width:100%; display: flex; align-items:center; justify-content:space-between;}
.feat-icon { font-size: 30px; margin-bottom: 12px; display: block; }
.feat-h4   { font-size: var(--fs-h4); font-weight: 700; color: var(--s100); letter-spacing: -.01em; margin-bottom: 6px; font-family: var(--display); }
.feat-tag  { display: inline-block; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; margin-bottom: 8px; background: rgba(14,213,202,.09); color: var(--brand-400); border: 1px solid rgba(14,213,202,.16); }
.feat-tag.a { background: rgba(236,72,153,.09); color: var(--accent-400); border-color: rgba(236,72,153,.16); }
.feat-tag.d { background: rgba(244,63,94,.09);  color: var(--danger-400); border-color: rgba(244,63,94,.18); }
.feat-tag.i { background: rgba(96,165,250,.09); color: var(--info-400);   border-color: rgba(96,165,250,.16); }
.feat-tag.w { background: rgba(251,191,36,.09); color: var(--warn-400);   border-color: rgba(251,191,36,.16); }
.feat-p    { font-size: .83rem; color: var(--s500); line-height: 1.65; }
.fi-t { color: var(--brand-400); } .fi-p { color: var(--accent-400); } .fi-r { color: var(--danger-400); } .fi-b { color: var(--info-400); } .fi-a { color: var(--warn-400); }

/* ─── Charts ─────────────────────────────────────────────────────────────── */
.chart-panel {
  padding: 24px;
  border-radius: 18px;
  background: none;
  border: 1px solid rgba(100,116,139,.1);
  box-shadow: 0 6px 40px rgba(0,0,0,.45);
  min-width: 0;
  max-width: 100%;
}
.chart-panel canvas {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: 280px !important;
}
/* Simulator: chart fills stretched right column (overrides fixed canvas height). */
.chart-panel.sim-chart-panel .sim-chart-canvas-slot canvas {
  width: 100% !important;
  height: 100% !important;
  min-height: 200px;
}
.chart-radar-hint {
  font-size: 10px; font-family: var(--mono); color: var(--s600);
  letter-spacing: .06em; text-align: center; margin: 8px 0 0;
}
.chart-title { font-size: 11px; font-family: var(--mono); color: var(--s600); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.clegend { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.clegend-item { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--s400); }
.clegend-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ─── Simulator ──────────────────────────────────────────────────────────── */
.simulator-band {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(14,213,202,.1); border-bottom: 1px solid rgba(14,213,202,.08);
  padding: 100px var(--content-gutter);
  overflow: hidden;
}
.simulator-band .parallax-bg {
  position: absolute; inset: -80px 0;
  background: url('../images/simulator-bg.jpg') center center / cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.simulator-band .parallax-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(6,10,14,.92) 0%,
    rgba(6,10,14,.75) 40%,
    rgba(6,10,14,.60) 65%,
    rgba(6,10,14,.85) 100%);
}
.simulator-band > *:not(.parallax-bg) { position: relative; z-index: 1; }
.pipeline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 28px 0; }
.pipe-step { flex: 1; min-width: 80px; padding: 11px 14px; border-radius: 10px; background: rgba(14,213,202,.07); border: 1px solid rgba(14,213,202,.18); font-size: 11px; font-weight: 600; color: var(--s200); text-align: center; font-family: var(--mono); }
.pipe-arrow { color: var(--s700); font-size: 11px; flex-shrink: 0; }
.sim-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.sim-metric { padding: 28px; border-radius: 16px; background: rgba(10,15,22,.85); border: 1px solid rgba(100,116,139,.1); text-align: center; }
.sim-val   { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: var(--brand-400); letter-spacing: -.05em; }
.sim-label { font-size: .82rem; color: var(--s500); margin-top: 8px; line-height: 1.5; }

/* Simulator band: chart column fills row height (override .two-col align-items: center). */
.two-col.two-col-simulator {
  align-items: stretch !important;
  align-content: start;
}
.sim-copy-col { min-width: 0; }
.sim-chart-col {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.chart-panel.sim-chart-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.chart-panel.sim-chart-panel .chart-title { flex-shrink: 0; }
.sim-chart-canvas-slot {
  flex: 1 1 auto;
  min-height: 220px;
  min-width: 0;
  position: relative;
}

/* ─── Simulator: scenario preview panel (method page) ───────────────────── */
.sim-scenario-panel {
  background: rgba(8, 16, 24, 0.88);
  border: 1px solid rgba(14, 213, 202, 0.13);
  border-radius: 18px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sim-scenario-panel__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sim-scenario-panel__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s600);
}
.sim-scenario-panel__scenario {
  font-size: calc(0.88rem + 1pt);
  font-weight: 600;
  color: var(--s200);
}
.sim-scenario-legend {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-scenario-legend span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s700);
}
.sim-scenario-panel__rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.sim-scenario-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: center;
  gap: 10px;
}
.sim-scenario-row__anchor {
  font-size: 0.78rem;
  color: var(--s400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-scenario-row__bar-wrap {
  height: 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  overflow: hidden;
}
.sim-scenario-row__bar {
  display: block;
  height: 100%;
  border-radius: 3px;
}
.sim-scenario-row__bar--before {
  background: rgba(100, 116, 139, 0.45);
}
.sim-scenario-row__bar--after-up {
  background: linear-gradient(90deg, rgba(14,213,202,0.9), rgba(14,213,202,0.5));
}
.sim-scenario-row__bar--after-down {
  background: linear-gradient(90deg, rgba(236,72,153,0.9), rgba(236,72,153,0.5));
}
.sim-scenario-panel__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-scenario-panel__delta {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sim-scenario-panel__delta--pos { color: var(--brand-400); }
.sim-scenario-panel__bands {
  font-size: 0.75rem;
  color: var(--s600);
  line-height: 1.4;
}

/* ─── Platform strip ─────────────────────────────────────────────────────── */
.platform-strip { position: relative; z-index: 1; padding: 80px 0; overflow: hidden; }
.platform-label { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--s600); margin-bottom: 40px; }
@keyframes slide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Expression corpus — double-scale pills, two marquees (opposite scroll). */
.corpus-marquee-stack { margin-top: 0; display: flex; flex-direction: column; gap: 20px; }
.corpus-marquee-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.corpus-marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.corpus-marquee-track--rev { animation-duration: 56s; animation-direction: reverse; }
.corpus-pill {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  padding: 28px 52px;
  border-radius: 28px;
  background: rgba(16,24,36,.88);
  border: 1px solid rgba(100,116,139,.16);
  font-size: 30px;
  font-weight: 600;
  color: var(--s300);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.corpus-pill:hover { border-color: rgba(14,213,202,.28); color: var(--s100); }
.corpus-pill i { font-size: 36px; width: 1.1em; text-align: center; }
.platform-label--corpus-marquee { margin-top: 0; margin-bottom: 36px; }
@media (prefers-reduced-motion: reduce) {
  .corpus-marquee-track { animation: none !important; }
}

/* ─── AI callout ─────────────────────────────────────────────────────────── */
.ai-callout {
  position: relative; border-radius: 24px; overflow: hidden;
  background: linear-gradient(145deg, rgba(14,213,202,.06), rgba(6,10,14,.92) 60%);
  border: 1px solid rgba(14,213,202,.16);
  box-shadow: 0 8px 60px rgba(0,0,0,.5), 0 0 100px rgba(14,213,202,.05);
}
.ai-callout::before {
  content: ''; position: absolute; inset: 0; border-radius: 24px; padding: 1px;
  background: linear-gradient(135deg, rgba(14,213,202,.3) 0%, transparent 45%, rgba(236,72,153,.12) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; pointer-events: none;
}
.ai-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 56px; }
.ai-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-400); margin-bottom: 20px; }
.ai-callout h2 { font-family: var(--display); font-size: var(--fs-h3); font-weight: 800; color: var(--s50); letter-spacing: -.04em; line-height: 1.1; margin-bottom: 18px; }
.ai-callout p  { font-size: 1rem; color: var(--s400); line-height: 1.8; max-width: 52ch; margin-bottom: 28px; }
.ai-callout p strong { color: var(--s200); }

/* ─── Blog ───────────────────────────────────────────────────────────────── */
.blog-section {
  position: relative; z-index: 1;
  padding: 100px var(--content-gutter) 80px;
  border-top: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
/* Ambient glows behind the section */
.blog-section::before {
  content: '';
  position: absolute; pointer-events: none;
  top: -60px; left: -80px;
  width: 680px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(14,213,202,.09) 0%, transparent 65%);
}
.blog-section::after {
  content: '';
  position: absolute; pointer-events: none;
  top: 0; right: -60px;
  width: 500px; height: 380px;
  background: radial-gradient(ellipse at top right, rgba(236,72,153,.07) 0%, transparent 65%);
}
.blog-intro { position: relative; z-index: 1; margin-bottom: 52px; }
.blog-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 36px 32px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  text-decoration: none; color: inherit;
  backdrop-filter: blur(4px);
  overflow: hidden;
}
.blog-card-img {
  display: block;
  width: calc(100% + 64px);
  margin: -36px -32px 24px;
  height: 210px;
  object-fit: cover;
  object-position: center 30%;
  flex-shrink: 0;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-strategy:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 48px rgba(14,213,202,.08);
  border-color: rgba(14,213,202,.22);
}
.blog-card-interview:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 48px rgba(236,72,153,.08);
  border-color: rgba(236,72,153,.22);
}
/* Accent top-edge bar on each card */
.blog-card-strategy { border-top: 2px solid rgba(14,213,202,.35); }
.blog-card-interview { border-top: 2px solid rgba(236,72,153,.35); }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.blog-tag {
  font-family: var(--mono); font-size: .65rem; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 6px; border: 1px solid;
}
.blog-tag-strategy { color: var(--brand-500); border-color: rgba(14,213,202,.22); background: rgba(14,213,202,.06); }
.blog-tag-interview { color: var(--accent-500); border-color: rgba(236,72,153,.22); background: rgba(236,72,153,.06); }
.blog-read-time { font-size: .76rem; color: var(--s500); }
.blog-card-title {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700;
  color: var(--s50); line-height: 1.35; margin-bottom: 14px;
}
.blog-card-excerpt {
  font-size: calc(0.88rem + 1pt); color: var(--s400); line-height: 1.78;
  flex: 1; margin-bottom: 28px;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px;
}
.blog-card-date { font-size: .76rem; color: var(--s600); }
.blog-card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 600;
  text-decoration: none; letter-spacing: .03em;
  transition: gap .18s ease;
}
.blog-card-strategy .blog-card-cta { color: var(--brand-500); }
.blog-card-interview .blog-card-cta { color: var(--accent-500); }
.blog-card:hover .blog-card-cta { gap: 11px; }
/* “All articles” under homepage blog grid — uses shared .btn-ghost; spacing only here */
.blog-all-cta {
  position: relative;
  z-index: 1;
  margin-top: 36px;
}

/* ─── CTA ────────────────────────────────────────────────────────────────── */
.cta-band { position: relative; z-index: 1; text-align: center; padding: 120px var(--content-gutter); }
.cta-band .display-h2 { max-width: 700px; margin: 0 auto 18px; }
.cta-band .section-lead { margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Vertical in-page section navigator (homepage only) ────────────────── */
.page-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  pointer-events: none; /* children re-enable */
}

/* Thin connecting track behind the dots */
.page-nav::before {
  content: '';
  position: absolute;
  right: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(100,116,139,0.2) 15%, rgba(100,116,139,0.2) 85%, transparent);
  pointer-events: none;
}

.page-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  pointer-events: all;
  text-decoration: none;
  position: relative;
}

/* Label — hidden by default, slides in on hover / active */
.page-nav__label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s500);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s;
  pointer-events: none;
}

.page-nav__item:hover .page-nav__label,
.page-nav__item.is-active .page-nav__label {
  opacity: 1;
  transform: translateX(0);
}

.page-nav__item.is-active .page-nav__label {
  color: var(--brand-400);
}

/* Dot */
.page-nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(100,116,139,0.35);
  flex-shrink: 0;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}

.page-nav__item:hover .page-nav__dot {
  background: var(--s400);
  transform: scale(1.25);
}

.page-nav__item.is-active .page-nav__dot {
  background: var(--brand-500);
  transform: scale(1.5);
  box-shadow: 0 0 8px rgba(14,213,202,0.55);
}

/* Hide on narrow screens where there's no room */
@media (max-width: 1100px) {
  .page-nav { display: none; }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer { position: relative; z-index: 1; border-top: 1px solid rgba(100,116,139,.07); padding: 56px var(--content-gutter) 40px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.foot-brand p { font-size: 13px; color: var(--s600); margin-top: 10px; max-width: 26ch; line-height: 1.6; }
.foot-col h4 { font-size: 10px; font-weight: 700; color: var(--s600); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; font-family: var(--mono); }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot-col ul a { font-size: 13px; color: var(--s600); text-decoration: none; transition: color .2s; }
.foot-col ul a:hover { color: var(--brand-400); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid rgba(100,116,139,.07); padding-top: 22px; font-size: 11px; color: var(--s700); font-family: var(--mono); }

/* ─── Scroll reveal (disabled — animations handled elsewhere) ────────────── */
.reveal, .will-reveal { opacity: 1; transform: none; }
.d1,.d2,.d3,.d4 {}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-visual::after { background: linear-gradient(to bottom, rgba(6,10,14,0.7) 0%, rgba(6,10,14,0.3) 60%, rgba(6,10,14,0.0) 100%); }
  .hero-content { max-width: 100%; }
  .hero-content { padding: 80px var(--content-gutter) 60px; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  /* Stacked layout: disable sticky and drop stretch-only writer rules */
  .plat-writer__visual-col {
    position: static;
    top: auto;
  }
  .plat-writer__pin-slot {
    align-self: start;
  }
  .cri-aside-wrap { grid-template-columns: 1fr; max-width: 100%; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; gap: 2px; }
  .stat-block:first-child { border-radius: 16px 16px 0 0; }
  .stat-block:last-child  { border-radius: 0 0 16px 16px; }
  .competitive-stat-row > .stat-block:first-child,
  .competitive-stat-row > .stat-block:last-child { border-radius: 14px; }
  .competitive-radar-chart-slot { min-height: 255px; }
  .two-col-simulator .sim-chart-col { min-height: 300px; }
  .two-col-simulator .sim-chart-canvas-slot { min-height: 240px; }
  .sim-metrics { grid-template-columns: 1fr 1fr; }
  .persona-features { grid-template-columns: 1fr; }
  .ai-inner { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  /* hero-h1 uses --fs-h1 which clamps down to 2.8rem at this viewport width already */
  .three-col { grid-template-columns: 1fr; }
  .feature-panel.active { grid-template-columns: 1fr; }
  .sim-metrics { grid-template-columns: 1fr; }
  .competitive-stat-row { grid-template-columns: 1fr; }
  .corpus-pill { font-size: 17px; padding: 16px 24px; border-radius: 16px; gap: 14px; }
  .corpus-pill i { font-size: 20px; }
  .corpus-marquee-track { gap: 14px; }
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .section-sm {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .framework-strip {
    padding: 72px var(--content-gutter);
    margin-top: 32px;
  }
  .hero-legend {
    right: var(--content-gutter);
    left: var(--content-gutter);
    bottom: 16px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

/* ── Packages section ──────────────────────────────────────── */
.packages-section { padding: var(--section-pad); }
.packages-intro { max-width: 660px; margin-bottom: 64px; }
.packages-intro p { color: var(--s400); font-size: 1.05rem; line-height: 1.8; margin-top: 16px; }
.pkgs-slider { position: relative; overflow: hidden; }
.cases-track-wrap, .pkgs-track-wrap { touch-action: pan-y pinch-zoom; }
.pkgs-track-wrap { overflow: visible; }
.pkgs-track {
  display: flex;
  gap: 20px;
  transition: transform 0.48s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.pkgs-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.pkgs-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(14,213,202,0.22);
  background: rgba(14,213,202,0.05); color: var(--brand-400);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.pkgs-btn:hover:not(:disabled) { background: rgba(14,213,202,0.14); border-color: rgba(14,213,202,0.5); transform: scale(1.08); }
.pkgs-btn:disabled { opacity: 0.28; cursor: not-allowed; }
.pkgs-dots { display: flex; gap: 8px; align-items: center; }
.pkgs-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--s700);
  border: none; cursor: pointer; padding: 0;
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}
.pkgs-dot.active { width: 22px; border-radius: 4px; background: var(--brand-500); }
.pkg-card {
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(100,116,139,0.12);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.pkg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,213,202,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pkg-card:hover { border-color: rgba(14,213,202,0.2); background: rgba(14,213,202,0.02); }
.pkg-card:hover::before { opacity: 1; }
.pkg-card.pkg-featured {
  border-color: rgba(14,213,202,0.18);
  background: linear-gradient(145deg, rgba(14,213,202,0.06) 0%, rgba(6,10,14,0.6) 60%);
}
.pkg-card.pkg-featured::before { opacity: 1; background: linear-gradient(90deg, transparent, rgba(14,213,202,0.5), transparent); }
.pkg-index {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--s600); margin-bottom: 20px;
}
.pkg-featured .pkg-index { color: var(--b500); }
.pkg-type-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  width: fit-content; margin-bottom: 14px;
}
.badge-consultancy { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.badge-saas { background: rgba(14,213,202,0.1); color: var(--b400); border: 1px solid rgba(14,213,202,0.2); }
.badge-intelligence { background: rgba(96,165,250,0.1); color: #93c5fd; border: 1px solid rgba(96,165,250,0.2); }
.pkg-name {
  font-family: var(--display); font-size: 1.45rem; font-weight: 800;
  line-height: 1.2; letter-spacing: -0.03em; color: var(--s50);
  margin-bottom: 10px;
}
.pkg-desc {
  font-size: calc(0.88rem + 1pt); color: var(--s400); line-height: 1.65;
  margin-bottom: 28px;
}
.pkg-list-label {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--s600); margin-bottom: 12px; margin-top: 4px;
}
.pkg-list-label.label-core { color: var(--b500); }
.pkg-list-label.label-addon { color: var(--s600); margin-top: 20px; }
.pkg-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 0; list-style: none; padding: 0; }
.pkg-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: calc(0.85rem + 1pt); color: var(--s300); line-height: 1.5;
  padding: 2px 0 2px 2px;
  border-radius: 8px;
  margin-left: -2px;
  transition: background 0.2s ease;
}
.pkg-item:hover { background: rgba(14,213,202,0.04); }
.pkg-item-dot {
  flex-shrink: 0;
  margin-top: 6px;
  box-sizing: border-box;
}
/* Core deliverables — filled “signal” with crisp outer ring (no glow blur) */
.pkg-item.included .pkg-item-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-300), var(--brand-500));
  border: 1px solid rgba(14,213,202,0.45);
  box-shadow:
    0 0 0 2px rgba(6,10,14,0.95),
    0 0 0 3px rgba(14,213,202,0.22);
}
/* Optional modules — hollow diamond, reads as “add-on” vs core signal */
.pkg-item.addon .pkg-item-dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: rgba(14,213,202,0.06);
  border: 1.5px solid rgba(148,163,184,0.45);
  box-shadow: inset 0 0 0 1px rgba(6,10,14,0.5);
}
.pkg-item.addon { color: var(--s500); }
.pkg-item.addon:hover { background: rgba(100,116,139,0.06); }
.addon-tag {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; background: rgba(100,116,139,0.15);
  color: var(--s500); padding: 2px 6px; border-radius: 4px;
  flex-shrink: 0; margin-top: 2px; align-self: flex-start;
}
.pkg-divider { height: 1px; background: rgba(100,116,139,0.1); margin: 24px 0; }
.pkg-footer { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 12px; }
.pkg-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; font-family: var(--body);
  padding: 11px 20px; border-radius: 10px; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.pkg-cta-primary { background: var(--brand-500); color: var(--s950); box-shadow: 0 2px 16px rgba(14,213,202,0.2); }
.pkg-cta-primary:hover { background: var(--brand-400); box-shadow: 0 4px 24px rgba(14,213,202,0.35); transform: translateY(-1px); }
.pkg-cta-ghost { background: transparent; color: var(--s300); border: 1px solid rgba(100,116,139,0.22); }
.pkg-cta-ghost:hover { border-color: rgba(14,213,202,0.3); color: var(--brand-400); background: rgba(14,213,202,0.04); }
.pkg-note { font-size: 0.75rem; color: var(--s600); font-style: italic; }

/* ── Case evidence section ─────────────────────────────────── */
.cases-section { position: relative; z-index: 1; padding: var(--section-pad); padding-top: 0; }
.cases-intro { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.cases-intro p { color: var(--s400); font-size: 1.05rem; line-height: 1.8; }
.cases-slider { position: relative; overflow: hidden; }
.cases-track-wrap { overflow: visible; }
.cases-track {
  display: flex;
  gap: 20px;
  transition: transform 0.48s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.cases-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.cases-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(14,213,202,0.22);
  background: rgba(14,213,202,0.05);
  color: var(--brand-400);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.cases-btn:hover:not(:disabled) { background: rgba(14,213,202,0.14); border-color: rgba(14,213,202,0.5); transform: scale(1.08); }
.cases-btn:disabled { opacity: 0.28; cursor: not-allowed; }
.cases-dots { display: flex; gap: 8px; align-items: center; }
.cases-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--s700);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}
.cases-dot.active { width: 22px; border-radius: 4px; background: var(--brand-500); }
.case-card {
  flex-shrink: 0;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.case-card:hover { transform: translateY(-4px); }
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
}
.case-drift {
  background: linear-gradient(145deg, rgba(244,63,94,0.09) 0%, rgba(20,10,16,0.97) 55%);
  box-shadow: 0 2px 40px rgba(244,63,94,0.12), inset 0 1px 0 rgba(244,63,94,0.15);
}
.case-drift::before { border-color: rgba(244,63,94,0.2); }
.case-drift:hover { box-shadow: 0 8px 60px rgba(244,63,94,0.2), inset 0 1px 0 rgba(244,63,94,0.25); }
.case-hold {
  background: linear-gradient(145deg, rgba(14,213,202,0.08) 0%, rgba(6,20,18,0.97) 55%);
  box-shadow: 0 2px 40px rgba(14,213,202,0.1), inset 0 1px 0 rgba(14,213,202,0.12);
}
.case-hold::before { border-color: rgba(14,213,202,0.18); }
.case-hold:hover { box-shadow: 0 8px 60px rgba(14,213,202,0.18), inset 0 1px 0 rgba(14,213,202,0.2); }

/* Card brand header */
.case-head { display: flex; align-items: center; gap: 12px; }
.case-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--mark-bg, rgba(255,255,255,0.05));
  border: 1px solid var(--mark-border, rgba(255,255,255,0.08));
}
.case-brand-mark svg { width: 22px; height: 22px; }
.case-brand-info { flex: 1; min-width: 0; }
.case-brand-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--s50);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.case-brand-meta {
  font-size: 0.6rem;
  color: var(--s500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 3px;
}
.case-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.case-drift .case-type-badge {
  background: rgba(244,63,94,0.14);
  color: #f87171;
  border: 1px solid rgba(244,63,94,0.25);
}
.case-hold .case-type-badge {
  background: rgba(14,213,202,0.11);
  color: var(--b400);
  border: 1px solid rgba(14,213,202,0.2);
}
.case-descriptor {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--s200);
  line-height: 1.5;
}

/* Anchor pills */
.case-anchors { display: flex; flex-direction: column; gap: 10px; }
.case-anchors-group { display: flex; flex-direction: column; gap: 6px; }
.case-anchors-label {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s500);
}
.case-drift .case-anchors-group--from .case-anchors-label { color: rgba(244,63,94,0.65); }
.case-drift .case-anchors-group--to   .case-anchors-label { color: rgba(244,63,94,0.5); }
.case-hold  .case-anchors-group--from .case-anchors-label { color: rgba(14,213,202,0.7); }
.case-hold  .case-anchors-group--to   .case-anchors-label { color: rgba(14,213,202,0.55); }
.case-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.case-pill { font-size: 0.68rem; padding: 3px 9px; border-radius: 999px; font-weight: 500; }
.case-drift .case-pill--from {
  background: rgba(244,63,94,0.1);
  color: rgba(244,63,94,0.85);
  border: 1px solid rgba(244,63,94,0.2);
  text-decoration: line-through;
  text-decoration-color: rgba(244,63,94,0.45);
}
.case-drift .case-pill--to {
  background: rgba(255,255,255,0.04);
  color: var(--s400);
  border: 1px solid rgba(255,255,255,0.07);
}
.case-hold .case-pill--from {
  background: rgba(14,213,202,0.1);
  color: var(--brand-400);
  border: 1px solid rgba(14,213,202,0.2);
}
.case-hold .case-pill--to {
  background: rgba(14,213,202,0.05);
  color: var(--s400);
  border: 1px solid rgba(14,213,202,0.12);
}

/* Outcome metric */
.case-outcome {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.055);
  padding-top: 16px;
  margin-top: auto;
}
.case-outcome-label {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-drift .case-outcome-label { color: rgba(244,63,94,0.6); }
.case-hold  .case-outcome-label { color: rgba(14,213,202,0.6); }
.case-metric-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.case-metric-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.case-drift .case-metric-num { color: #f87171; }
.case-hold  .case-metric-num { color: var(--brand-400); }
.case-metric-unit { font-size: 0.78rem; font-weight: 600; color: var(--s400); line-height: 1; }
.case-metric-context { font-size: 0.78rem; color: var(--s500); line-height: 1.55; }
.cases-footnote {
  margin-top: 16px;
  text-align: center;
  font-size: calc(0.8rem + 1pt);
  color: var(--s500);
  font-style: italic;
}
.cases-footnote strong { color: var(--s400); font-style: normal; }


/* ═══ Blog post pages (scoped) ═══════════════════════════════════════════════ */
body.page-blog {
  font-family: var(--body);
  background: var(--s950);
  color: var(--s200);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEVEL-2 PAGE HERO — shared across blog index, about, methodology, etc.
   Activate with class="page-hero" + a modifier like "page-hero--blog".
   ═══════════════════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  min-height: 80vh;
  top:-80px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* Tunable orbs for ::before hero-atmosphere layer (modifier classes override) */
  --page-hero-orb-a: rgba(14, 213, 202, 0.24);
  --page-hero-orb-b: rgba(236, 72, 153, 0.14);
  --page-hero-orb-c: rgba(96, 165, 250, 0.11);
  --page-hero-grid: rgba(255, 255, 255, 0.028);
  /* Layered atmospheric background — no image, no canvas */
  background:
    radial-gradient(ellipse at 72% -15%, rgba(14, 213, 202, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 8%  110%, rgba(236, 72, 153, 0.09) 0%, transparent 46%),
    radial-gradient(ellipse at 50%  50%, rgba(14, 213, 202, 0.03) 0%, transparent 70%),
    var(--s950);
  border-bottom: 1px solid rgba(14, 213, 202, 0.08);
}

/* Right-weighted animated mesh: fills empty hero space without competing with copy */
.page-hero::before {
  content: '';
  position: absolute;
  inset: -10% -6% -10% 12%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 78% at 92% 32%, var(--page-hero-orb-a) 0%, transparent 54%),
    radial-gradient(ellipse 72% 58% at 86% 76%, var(--page-hero-orb-b) 0%, transparent 52%),
    radial-gradient(circle at 74% 10%, var(--page-hero-orb-c) 0%, transparent 40%),
    linear-gradient(108deg, transparent 0%, rgba(14, 213, 202, 0.045) 42%, rgba(236, 72, 153, 0.055) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 52px,
      var(--page-hero-grid) 52px,
      var(--page-hero-grid) 53px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 52px,
      var(--page-hero-grid) 52px,
      var(--page-hero-grid) 53px
    );
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 26%, #000 52%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 26%, #000 52%);
  animation: pageHeroAura 22s ease-in-out infinite alternate, pageHeroAtmoBreathe 9s ease-in-out infinite alternate;
  will-change: transform;
}

/* Platform listing: slightly cooler / more teal in the hero atmosphere */
.page-hero--platform {
  --page-hero-orb-a: rgba(14, 213, 202, 0.28);
  --page-hero-orb-b: rgba(236, 72, 153, 0.11);
  --page-hero-orb-c: rgba(14, 213, 202, 0.09);
}

/* Blog index: a touch more editorial warmth on the right */
.page-hero--blog {
  --page-hero-orb-a: rgba(14, 213, 202, 0.16);
  --page-hero-orb-b: rgba(236, 72, 153, 0.22);
  --page-hero-orb-c: rgba(244, 114, 182, 0.09);
}

@keyframes pageHeroAura {
  0%   { transform: translate3d(1.5%, 0, 0) scale(1); }
  100% { transform: translate3d(-3.5%, 1.8%, 0) scale(1.06); }
}

@keyframes pageHeroAtmoBreathe {
  0%, 100% { opacity: 0.88; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::before {
    animation: none;
    transform: none;
    opacity: 0.92;
    will-change: auto;
  }
}

/* Canvas constellation layer — sits below the text, fades toward left */
.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Fade the canvas out over the left 45% so copy stays readable */
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.75) 44%, #000 62%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.75) 44%, #000 62%);
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-canvas { display: none; }
}

/* Bottom dissolve into page background */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--s950));
  pointer-events: none;
  z-index: 1;
}

/* Large decorative background word — page-specific text set via HTML */
.page-hero__deco {
  position: absolute;
  right: clamp(-20px, -2vw, 20px);
  top: 50%;
  transform: translateY(-52%);
  font-family: var(--mono);
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(14, 213, 202, 0.042);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Horizontal rule accent on left — adds editorial structure */
.page-hero__rule {
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: clamp(60px, 12vh, 100px);
  transform: translateY(-50%);
  background: linear-gradient(to bottom, transparent, var(--brand-500), transparent);
  border-radius: 2px;
  z-index: 2;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(40px, 6vw, 88px) 68px;
}

/* Breadcrumb */
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s600);
  margin-bottom: 28px;
  text-decoration: none;
}
.page-hero__breadcrumb a {
  color: var(--s600);
  text-decoration: none;
  transition: color 0.18s;
}
.page-hero__breadcrumb a:hover { color: var(--brand-400); }
.page-hero__breadcrumb-sep {
  color: var(--s700);
}
.page-hero__breadcrumb-current { color: var(--s400); }

/* Eyebrow — animated dot + section label */
.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: 20px;
}
.page-hero__eyebrow .badge-dot {
  width: 7px; height: 7px;
  background: var(--brand-500);
  box-shadow: 0 0 7px var(--brand-500);
  animation: heroDotPulse 2.6s ease-in-out infinite;
}
@keyframes heroDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 7px var(--brand-500); }
  50%       { opacity: 0.4; box-shadow: 0 0 3px var(--brand-500); }
}

/* Page title (inner pages + blog index only — homepage uses .hero-h1; single posts use .hero-title). */
.page-hero__title {
  font-family: var(--display);
  font-size: var(--fs-h1);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.3);
}

/* Meta row: subtitle + count pill side by side */
.page-hero__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  justify-content:space-between
}
.page-hero__subtitle {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 72ch;
  margin: 0;
}
.page-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(14, 213, 202, 0.22);
  background: rgba(14, 213, 202, 0.06);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-400);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG INDEX — featured post + listing grid
   ═══════════════════════════════════════════════════════════════════════════ */

.blog-index-wrap {
  padding: 0 clamp(40px, 6vw, 88px);
}

/* ── Featured (latest) post ── */
.blog-featured-section {
  position: relative;
  z-index: 1;
  padding: 0;
}
.blog-featured-section::before {
  content: 'LATEST';
  position: absolute;
  top: -40px; left: clamp(40px, 6vw, 88px);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-400);
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(14, 213, 202, 0.16);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(14,213,202,0.05) 0%, transparent 55%),
    linear-gradient(155deg, rgba(18,28,38,0.98) 0%, rgba(8,12,18,0.99) 100%);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 24px 72px rgba(0,0,0,0.38), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  margin-top: 36px;
}
/* Top teal accent bar */
.blog-featured-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), rgba(14,213,202,0.2), transparent);
  border-radius: 22px 22px 0 0;
  z-index: 1;
}
.blog-featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 36px 90px rgba(0,0,0,0.5), 0 0 60px rgba(14,213,202,0.07);
  border-color: rgba(14,213,202,0.3);
}

/* Content column */
.blog-featured-content {
  display: flex;
  flex-direction: column;
  padding: 48px 44px 44px;
  position: relative;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.blog-featured-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(14, 213, 202, 0.15);
  color: var(--brand-300);
  border: 1px solid rgba(14, 213, 202, 0.35);
}
.blog-featured-new::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-400);
  animation: heroDotPulse 2.2s ease-in-out infinite;
}
.blog-featured-read-time {
  font-size: 0.78rem;
  color: var(--s500);
}
.blog-featured-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.blog-featured-excerpt {
  font-size: 0.93rem;
  color: var(--s400);
  line-height: 1.8;
  flex: 1;
  margin: 0 0 32px;
}
.blog-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
}
.blog-featured-date { font-size: 0.76rem; color: var(--s600); }
.blog-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-400);
  letter-spacing: 0.02em;
  transition: gap 0.18s ease;
}
.blog-featured-card:hover .blog-featured-cta { gap: 13px; }

/* Image column */
.blog-featured-img-wrap {
  position: relative;
  overflow: hidden;
}
/* Left-edge fade so image blends into card bg */
.blog-featured-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,12,18,0.7) 0%, transparent 35%);
  z-index: 1;
  pointer-events: none;
}
.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.5s ease;
}
.blog-featured-card:hover .blog-featured-img { transform: scale(1.05); }

/* ── Blog listing section ── */
.blog-listing-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
}
.blog-listing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.blog-listing-head h2 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--s300);
  letter-spacing: -0.01em;
  margin: 0;
}
.blog-listing-head-count {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s600);
}

/* Active nav link (flat links + megamenu triggers) */
.nav-links a.is-active,
.nav-mega-trigger.is-active {
  color: var(--brand-400) !important;
}

/* Responsive — featured card stacks on narrow screens */
@media (max-width: 860px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto;
  }
  .blog-featured-img-wrap { grid-row: 1; }
  .blog-featured-img-wrap::before {
    background: linear-gradient(to bottom, transparent 40%, rgba(8,12,18,0.85) 100%);
  }
  .blog-featured-content { padding: 32px 28px 32px; }
  /* page-hero__title uses --fs-h1 which clamps naturally; no override needed */
  .page-hero__deco { opacity: 0.6; }
  /* On mobile, switch hero content to top-align so text never hides under the fixed pill nav.
     padding-top accounts for the nav pill height (≈56px) + its top offset (20px) + the hero's
     own -80px pull + a safe gap.  Result: breadcrumb always ≥ 16px below the nav bottom. */
  .page-hero {
    align-items: flex-start;
    min-height: max(80vh, 520px);
  }
  .page-hero__inner {
    padding-top: max(96px, calc(env(safe-area-inset-top, 0px) + 88px));
  }
}
@media (max-width: 560px) {
  .blog-featured-card { grid-template-rows: 200px auto; }
  .blog-featured-content { padding: 24px 20px 24px; }
  .blog-featured-title { font-size: 1.4rem; }
  .page-hero__rule { display: none; }
  .page-hero__inner {
    padding-top: max(88px, calc(env(safe-area-inset-top, 0px) + 80px));
    padding-left: max(18px, var(--content-gutter));
    padding-right: max(18px, var(--content-gutter));
    padding-bottom: 48px;
  }
  .blog-listing-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ─── Nav — floating pill (matches homepage) ─────────────────────────────── */
body.page-blog .site-nav {
  position: fixed;
  top: 20px;
  left: var(--site-gutter);
  right: var(--site-gutter);
  z-index: 100;
  border-radius: 20px;
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(14, 213, 202, 0.08);
  transition: border-color 0.3s, background 0.3s;
  overflow: visible;
}
body.page-blog .nav-inner {
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 24px;
  min-width: 0;
}
body.page-blog .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
body.page-blog .logo-svg { height: 26px; width: auto; display: block; }
body.page-blog .nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--s400);
  text-decoration: none;
  transition: color 0.18s ease;
}
body.page-blog .nav-back:hover { color: var(--s100); }
body.page-blog .nav-tag {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
}
body.page-blog--strategy .nav-tag {
  color: var(--brand-500);
  border: 1px solid rgba(14, 213, 202, 0.22);
  background: rgba(14, 213, 202, 0.06);
}
body.page-blog--interview .nav-tag {
  color: var(--accent-500);
  border: 1px solid rgba(236, 72, 153, 0.22);
  background: rgba(236, 72, 153, 0.06);
}
/* Blog post nav: meta row + hamburger share the same flex row as the main shell. */
body.page-blog .nav-links-wrap {
  min-width: 0;
}
body.page-blog .nav-blog-meta {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

/* ─── Article hero (full-width cinematic) ────────────────────────────────── */
body.page-blog .article-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}
/* Bottom fade dissolves image into the page background */
body.page-blog .article-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--s950));
  z-index: 1;
}

body.page-blog--strategy .article-hero {
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}
body.page-blog--strategy .article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6,10,14,0.25) 0%, rgba(6,10,14,0.55) 55%, rgba(6,10,14,0.92) 100%),
    linear-gradient(to right, rgba(6,10,14,0.45) 0%, transparent 65%),
    radial-gradient(ellipse at 70% 20%, rgba(14,213,202,0.07) 0%, transparent 48%);
}
body.page-blog--interview .article-hero {
  background-size: auto 115%;
  background-position: right center;
  background-repeat: no-repeat;
}
body.page-blog--interview .article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6,10,14,0.15) 0%, rgba(6,10,14,0.55) 55%, rgba(6,10,14,0.97) 100%),
    linear-gradient(to right, rgba(6,10,14,0.95) 0%, rgba(6,10,14,0.7) 35%, rgba(6,10,14,0.15) 65%, transparent 100%),
    radial-gradient(ellipse at 78% 30%, rgba(236,72,153,0.12) 0%, transparent 50%);
}
@media (max-width: 540px) {
  /* Wide portrait + auto sizing can spill past the viewport on narrow phones. */
  body.page-blog--interview .article-hero {
    background-size: cover;
    background-position: center center;
  }
}

body.page-blog .hero-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  right: clamp(24px, 6vw, 80px);
  top: 50%;
  transform: translateY(-60%);
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 2;
}
body.page-blog--strategy .hero-deco {
  font-size: clamp(7rem, 18vw, 14rem);
  color: rgba(14, 213, 202, 0.05);
}
body.page-blog--interview .hero-deco {
  font-size: clamp(5rem, 14vw, 12rem);
  color: rgba(236, 72, 153, 0.05);
  white-space: nowrap;
}

body.page-blog .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  min-width: 0;
  padding: 150px clamp(24px, 6vw, 72px) 72px;
  box-sizing: border-box;
}
body.page-blog .hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
body.page-blog .hero-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
}
body.page-blog--strategy .hero-tag {
  color: var(--brand-500);
  border: 1px solid rgba(14, 213, 202, 0.3);
  background: rgba(14, 213, 202, 0.08);
}
body.page-blog--interview .hero-tag {
  color: var(--accent-500);
  border: 1px solid rgba(236, 72, 153, 0.3);
  background: rgba(236, 72, 153, 0.1);
}
body.page-blog .hero-read-time { font-size: calc(0.8rem + 1pt); color: var(--s400); }
body.page-blog .hero-date { font-size: calc(0.8rem + 1pt); color: var(--s500); }
body.page-blog .hero-title {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  overflow-wrap: anywhere;
}
body.page-blog .hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.78;
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

/* ─── Article body ───────────────────────────────────────────────────────── */
/* ─── Article layout ─────────────────────────────────────────────────────── */
body.page-blog .article-wrap {
  padding: 64px var(--article-gutter) 80px;
}
/* On wide screens: two-column grid — TOC sidebar + article body */
@media (min-width: 1080px) {
  body.page-blog .article-wrap {
    display: grid;
    grid-template-columns: 200px minmax(0, 780px);
    column-gap: 60px;
    /* Center the 200 + 60 + 780 = 1040px content block */
    padding-left: max(24px, calc((100vw - 1040px) / 2));
    padding-right: max(24px, calc((100vw - 1040px) / 2));
  }
}

/* ─── TOC sidebar ────────────────────────────────────────────────────────── */
body.page-blog .article-toc {
  display: none;
}
@media (min-width: 1080px) {
  body.page-blog .article-toc {
    display: block;
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    scrollbar-width: none;
    padding-top: 4px;
  }
  body.page-blog .article-toc::-webkit-scrollbar { display: none; }
}
.toc-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s600);
  margin-bottom: 18px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.toc-link {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  color: var(--s500);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.5;
  border-left: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}
.toc-link:hover { color: var(--s200); }
.toc-link.is-active {
  color: var(--s50);
  padding-left: 18px;
}
body.page-blog--strategy .toc-link.is-active { border-left-color: var(--brand-500); }
body.page-blog--interview .toc-link.is-active { border-left-color: var(--accent-500); }

body.page-blog .article-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 0 0 48px;
}
body.page-blog .article-body { max-width: 100%; }
body.page-blog .article-body img,
body.page-blog .article-body video,
body.page-blog .article-body svg {
  max-width: 100%;
  height: auto;
}
body.page-blog .article-body p {
  font-size: 1rem;
  color: var(--s300);
  line-height: 1.85;
  margin-bottom: 24px;
}
body.page-blog .article-body p:last-child { margin-bottom: 0; }
body.page-blog .article-body strong { color: var(--s100); font-weight: 600; }
body.page-blog .article-body em { font-style: italic; color: var(--s400); }
body.page-blog .article-body h2,
body.page-blog .qa-block {
  scroll-margin-top: 100px;
}
body.page-blog .article-body h2 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--s50);
  margin: 48px 0 16px;
  line-height: 1.3;
}
body.page-blog .article-body h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--s100);
  margin: 36px 0 12px;
}

/* Interview Q&A */
body.page-blog .qa-block { margin-bottom: 44px; }
body.page-blog .qa-q {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--s50);
  line-height: 1.45;
  padding-left: 18px;
  border-left: 2px solid var(--accent-500);
  margin-bottom: 16px;
}
body.page-blog .qa-a p { color: var(--s300); }

/* Pull quote */
body.page-blog .pull-quote {
  margin: 44px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--brand-500);
  background: rgba(14, 213, 202, 0.04);
  border-radius: 0 12px 12px 0;
}
body.page-blog .pull-quote p {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--s100);
  line-height: 1.55;
  margin: 0 !important;
}

/* Callout box (essay posts) */
body.page-blog .callout {
  margin: 40px 0;
  padding: 24px 28px;
  background: var(--s900);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}
body.page-blog .callout p { margin-bottom: 8px; font-size: 0.92rem; }
body.page-blog .callout p:last-child { margin-bottom: 0; }
body.page-blog .callout-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 12px;
  display: block;
}

/* ─── Footer CTA + buttons ───────────────────────────────────────────────── */
body.page-blog .article-footer-cta {
  margin-top: 80px;
  padding: 52px 40px;
  background: var(--s900);
  border: 1px solid rgba(14, 213, 202, 0.12);
  border-radius: 20px;
  text-align: center;
}
body.page-blog .article-footer-cta h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--s50);
  margin-bottom: 12px;
}
body.page-blog .article-footer-cta p {
  font-size: 0.95rem;
  color: var(--s400);
  margin-bottom: 28px;
}
/* Blog-page btn overrides: adjust sizing only, let base rules handle animations */
body.page-blog .btn-primary {
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  /* position/overflow/shimmer inherited from .btn-primary base */
}
body.page-blog .btn-primary:hover { background: var(--brand-300); }
body.page-blog .btn-ghost {
  padding: 13px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--s200);
  font-size: 0.9rem;
  margin-left: 12px;
}
body.page-blog .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); color: var(--s50); }

body.page-blog .site-footer {
  margin-top: 80px;
  padding: 32px var(--site-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
body.page-blog .site-footer span { font-size: calc(0.8rem + 1pt); color: var(--s600); }
body.page-blog .site-footer a { color: var(--s400); text-decoration: none; }
body.page-blog .site-footer a:hover { color: var(--s100); }

/* ═══════════════════════════════════════════════════════════════════════════
   COMEX / BOARDROOM SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.comex-section {
  padding: 108px clamp(32px, 6vw, 88px) 120px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background:
    radial-gradient(ellipse at 18% 60%, rgba(14,213,202,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 82% 40%, rgba(244,63,94,0.05) 0%, transparent 50%),
    #070C14;
  position: relative;
  overflow: hidden;
}
/* Oversized decorative quote mark — background watermark */
.comex-section::before {
  content: '\201C';
  position: absolute;
  font-size: clamp(18rem, 36vw, 32rem);
  line-height: 1;
  color: rgba(255,255,255,0.018);
  font-family: Georgia, 'Times New Roman', serif;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.comex-head {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-bottom: 52px;
  display:flex;
  flex-direction:column;
  align-items: center;
  text-align:center;
}
.comex-head .section-label {
  width: 100%;
  justify-content:center;
}
.comex-lede {
  font-size: 1.04rem;
  color: var(--s400);
  line-height: 1.85;
  margin-top: 18px;
  max-width:780px;
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.quote-card {
  padding: 28px 28px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s, background 0.22s, transform 0.22s;
}
.quote-card:hover {
  border-color: rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.038);
  transform: translateY(-2px);
}
.quote-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 16px 16px 0 0;
}
.quote-card--risk::before    { background: linear-gradient(90deg, #f43f5e, transparent 80%); }
.quote-card--compete::before { background: linear-gradient(90deg, #ec4899, transparent 80%); }
.quote-card--align::before   { background: linear-gradient(90deg, #0ED5CA, transparent 80%); }
.quote-card--evolve::before  { background: linear-gradient(90deg, #f59e0b, transparent 80%); }
.quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.4rem;
  line-height: 0.75;
  margin-bottom: 10px;
  display: block;
  flex-shrink: 0;
}
.quote-card--risk    .quote-mark { color: rgba(244, 63,  94,  0.55); }
.quote-card--compete .quote-mark { color: rgba(236, 72,  153, 0.55); }
.quote-card--align   .quote-mark { color: rgba(14,  213, 202, 0.55); }
.quote-card--evolve  .quote-mark { color: rgba(245, 158, 11,  0.55); }
.quote-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--s200);
  font-weight: 500;
  flex: 1;
}
.quote-source {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.quote-source-label {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s600);
  flex-shrink: 0;
  margin-right: 2px;
}
.quote-pill {
  padding: 2px 9px;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--s500);
}
.comex-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
  justify-content:center;
}
@media (max-width: 1060px) {
  .quotes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .quotes-grid { grid-template-columns: 1fr; }
  .comex-cta-row { flex-direction: column; align-items: flex-start; }
}

/* ─── Vision: two-forces layout ─────────────────────────────────────────── */
.forces-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.force-panel {
  position: relative;
  border-radius: 20px;
  padding: 36px 32px 32px;
  background: linear-gradient(155deg, rgba(14,24,38,.9), rgba(6,10,18,.98));
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Atmospheric accent glow per panel */
.force-panel--ai::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 280px;
  background: radial-gradient(ellipse at top right, rgba(129,140,248,.1) 0%, transparent 65%);
  pointer-events: none;
}
.force-panel--audience::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 280px;
  background: radial-gradient(ellipse at top right, rgba(236,72,153,.09) 0%, transparent 65%);
  pointer-events: none;
}
/* Top accent bar */
.force-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.force-panel--ai::after     { background: linear-gradient(90deg, #818cf8, rgba(129,140,248,.15) 80%, transparent); }
.force-panel--audience::after { background: linear-gradient(90deg, #ec4899, rgba(236,72,153,.15) 80%, transparent); }
.force-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.force-panel__num {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--s500);
}
.force-panel--ai .force-panel__num       { color: rgba(129,140,248,.8); border-color: rgba(129,140,248,.22); }
.force-panel--audience .force-panel__num { color: rgba(236,72,153,.8);  border-color: rgba(236,72,153,.22); }
.force-panel__label {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--s600);
}
.force-panel__title {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--s50);
  line-height: 1.25;
  letter-spacing: -.03em;
  margin: 0;
}
.force-panel__body {
  font-size: calc(0.88rem + 1pt);
  color: var(--s400);
  line-height: 1.82;
  margin: 0;
}
.force-panel__callout {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: .83rem;
  color: var(--s400);
  line-height: 1.7;
  margin-top: 4px;
}
.force-panel__callout-label {
  display: block;
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.force-panel--ai .force-panel__callout-label       { color: rgba(129,140,248,.7); }
.force-panel--audience .force-panel__callout-label { color: rgba(236,72,153,.7); }
.force-panel__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.force-panel__metric {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--s600);
  margin-right: 4px;
}
.force-panel__tag {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--s500);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2px 10px;
}
.force-panel--ai .force-panel__tag       { color: rgba(129,140,248,.6); border-color: rgba(129,140,248,.18); }
.force-panel--audience .force-panel__tag { color: rgba(236,72,153,.6);  border-color: rgba(236,72,153,.18); }
@media (max-width: 860px) {
  .forces-grid { grid-template-columns: 1fr; }
}

/* ─── Vision: intellectual foundations two-col ──────────────────────────── */
.found-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 72px;
  margin-top: 44px;
  align-items: start;
}

/* ── Left: VS comparison table ── */
.found-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(100,116,139,.14);
  border-radius: 14px;
  overflow: hidden;
}
.found-vs__col {
  padding: 22px 20px;
}
.found-vs__col--bad  { background: rgba(244,63,94,.04); border-right: 1px solid rgba(100,116,139,.14); }
.found-vs__col--good { background: rgba(14,213,202,.04); }
.found-vs__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(100,116,139,.1);
}
.found-vs__icon { font-size: .72rem; }
.found-vs__icon--bad  { color: var(--danger-400); }
.found-vs__icon--good { color: #0ED5CA; }
.found-vs__col--bad  .found-vs__head { color: var(--danger-400); }
.found-vs__col--good .found-vs__head { color: #0ED5CA; }
.found-vs__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.found-vs__list li {
  font-size: .8rem;
  color: var(--s400);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.found-vs__col--bad  .found-vs__list li::before { content: '—'; position:absolute; left:0; color: rgba(244,63,94,.5); }
.found-vs__col--good .found-vs__list li::before { content: '→'; position:absolute; left:0; color: rgba(14,213,202,.6); }

/* ── Right: proof-point cards ── */
.found-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.found-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(14,213,202,.04);
  border: 1px solid rgba(14,213,202,.1);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color .2s, background .2s;
}
.found-card:hover {
  background: rgba(14,213,202,.07);
  border-color: rgba(14,213,202,.22);
}
.found-card__icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.found-card__svg {
  width: 44px;
  height: 44px;
}
.found-card__text { flex: 1; }
.found-card__title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0ED5CA;
  margin-bottom: 5px;
}
.found-card__desc {
  font-size: .84rem;
  color: var(--s400);
  line-height: 1.65;
  margin: 0;
}

/* SVG icon animations */
.fc-audit-ring    { transform-origin: 19px 19px; animation: fc-spin 8s linear infinite; }
.fc-audit-line    { transform-origin: 26.5px 26.5px; animation: fc-pulse-op 3s ease-in-out infinite; }
.fc-wave--1       { animation: fc-wave-shift 3.2s ease-in-out infinite alternate; }
.fc-wave--2       { animation: fc-wave-shift 3.2s ease-in-out infinite alternate-reverse; }
.fc-trend-line    { stroke-dasharray: 60; stroke-dashoffset: 60; animation: fc-draw 2.4s ease forwards; }
.fc-trend-dot--tip { animation: fc-pulse-scale 2s ease-in-out infinite; transform-origin: 38px 10px; }

@keyframes fc-spin        { to { transform: rotate(360deg); } }
@keyframes fc-pulse-op    { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes fc-wave-shift  { from { transform: translateY(0); } to { transform: translateY(4px); } }
@keyframes fc-draw        { to { stroke-dashoffset: 0; } }
@keyframes fc-pulse-scale { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }

/* Capstone quote */
.found-capstone {
  font-size: .84rem;
  font-style: italic;
  color: var(--s400);
  line-height: 1.75;
  padding: 18px 20px;
  border-left: 2px solid rgba(14,213,202,.3);
  background: rgba(14,213,202,.03);
  border-radius: 0 8px 8px 0;
}

@media (max-width: 900px) {
  .found-grid { grid-template-columns: 1fr; gap: 40px; }
  .found-vs   { grid-template-columns: 1fr; }
  .found-vs__col--bad { border-right: none; border-bottom: 1px solid rgba(100,116,139,.14); }
}

/* ─── Vision: thesis section background ─────────────────────────────────── */
.thesis-section {
  overflow: hidden;
}
.thesis-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/thesis-bg.jpg');
  background-size: cover;
  background-position: center 45%;
  opacity: 0.2;  /* subtle — content reads over it cleanly */
  pointer-events: none;
}
/* Vignette that fades the image toward all four edges so section blends
   smoothly into the page without a hard border */
.thesis-section__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 80% at 50% 50%,
      transparent 30%,
      rgba(6,10,14,.72) 75%,
      rgba(6,10,14,.96) 100%),
    linear-gradient(to bottom,
      rgba(6,10,14,.55) 0%,
      transparent 20%,
      transparent 80%,
      rgba(6,10,14,.55) 100%);
  pointer-events: none;
}

/* ─── Vision: thesis two-col split ──────────────────────────────────────── */
.thesis-split {
  display: grid;
  /* Slightly wider visual column so the identity diagram reads at poster scale */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: 56px 64px;
  margin-top: 44px;
  align-items: center;
}
.thesis-split__vis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
}

/* SVG diagram — scales with column; cap raised so it fills the right rail on desktop */
.thesis-diagram { width: 100%; max-width: min(460px, 100%); }
.td-ring { fill: none; stroke: #0ED5CA; }
.td-ring--1 { stroke-width: 1.4; animation: tdBreath1 3.6s ease-in-out infinite; }
.td-ring--2 { stroke-width: 1.0; animation: tdBreath2 3.6s ease-in-out 1.2s infinite; }
.td-ring--3 { stroke-width: 0.75; animation: tdBreath3 3.6s ease-in-out 2.4s infinite; }
@keyframes tdBreath1 { 0%,100% { opacity: .55; } 50% { opacity: .78; } }
@keyframes tdBreath2 { 0%,100% { opacity: .32; } 50% { opacity: .50; } }
@keyframes tdBreath3 { 0%,100% { opacity: .17; } 50% { opacity: .30; } }

.td-pulse {
  fill: none;
  stroke: #0ED5CA;
  stroke-width: 1.4;
  transform-origin: 0 0;
}
.td-pulse--1 { animation: tdPulse 4.8s ease-out infinite; }
.td-pulse--2 { animation: tdPulse 4.8s ease-out 1.6s infinite; }
.td-pulse--3 { animation: tdPulse 4.8s ease-out 3.2s infinite; }
@keyframes tdPulse {
  0%   { transform: scale(0.06); opacity: 1; }
  65%  { opacity: 0.15; }
  100% { transform: scale(1);    opacity: 0; }
}

.td-orbit {
  transform-origin: 0 0;
  animation: tdOrbit 10s linear infinite;
}
@keyframes tdOrbit { to { transform: rotate(360deg); } }

.td-core { animation: tdCorePulse 2.4s ease-in-out infinite; }
@keyframes tdCorePulse {
  0%,100% { opacity: 0.88; }
  50%     { opacity: 0.42; }
}

.td-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7.5px;
  letter-spacing: 0.18em;
  fill: #0ED5CA;
  text-transform: uppercase;
}
.td-lbl--core {
  font-size: 7px;
  opacity: 0.7;
}
.thesis-diagram-caption {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  color: var(--s600);
  text-align: center;
  line-height: 1.65;
  max-width: 28ch;
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .td-ring, .td-pulse, .td-orbit, .td-core { animation: none !important; }
}
@media (max-width: 960px) {
  .thesis-split { grid-template-columns: 1fr; gap: 44px; }
  .thesis-split__vis { max-width: min(400px, 92vw); margin: 0 auto; }
  .thesis-diagram { max-width: min(400px, 92vw); }
}

/* ─── Vision pull-quote band ─────────────────────────────────────────────── */
.vision-quote-band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vision-quote-band__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/vision-quote-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
  filter: saturate(0.85);
}
/* Layered overlay: dark vignette + brand tint */
.vision-quote-band__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,10,14,.72) 0%, rgba(6,10,14,.52) 40%, rgba(6,10,14,.80) 100%),
    linear-gradient(105deg, rgba(14,213,202,.12) 0%, transparent 55%);
}
.vision-quote-band__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 96px var(--content-gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.vision-quote-band__mark {
  font-family: var(--display);
  font-size: 6rem;
  font-weight: 800;
  line-height: 0.6;
  color: rgba(14,213,202,.3);
  margin-bottom: -8px;
  user-select: none;
}
.vision-quote-band__quote {
  font-family: var(--display);
  font-size: var(--fs-quote);
  font-weight: 700;
  color: var(--s50);
  line-height: 1.35;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
}
.vision-quote-band__sub {
  font-size: .98rem;
  color: rgba(241,245,249,.62);
  line-height: 1.82;
  max-width: 62ch;
  margin: 0;
  text-wrap: balance;
}
.vision-quote-band__sub em {
  font-style: italic;
  color: rgba(241,245,249,.82);
}
.vision-quote-band__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(14,213,202,.3);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.vision-quote-band__cta:hover {
  color: var(--s50);
  border-color: rgba(255,255,255,.3);
}
@media (max-width: 768px) {
  .vision-quote-band { min-height: 400px; }
  .vision-quote-band__inner { padding: 72px var(--content-gutter); }
  .vision-quote-band__mark { font-size: 4rem; }
}
@media (max-width: 480px) {
  .vision-quote-band { min-height: 320px; }
  .vision-quote-band__inner { padding: 52px var(--content-gutter) 56px; gap: 18px; }
  .vision-quote-band__mark { font-size: 3rem; margin-bottom: 0; }
}

/* About page — investor stat tiles (replaces inline grid on narrow screens) */
.about-investor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.about-investor-card {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(14, 213, 202, 0.03);
}
.about-investor-card__label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: 8px;
}
.about-investor-card__body {
  font-size: 0.9rem;
  color: var(--s300);
  line-height: 1.6;
}
@media (max-width: 860px) {
  .about-investor-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Strategy KPI grid ──────────────────────────────────────────────────── */
.strat-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.strat-kpi-card {
  position: relative;
  padding: 26px 22px 28px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(14,28,44,.82), rgba(6,10,18,.96));
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  transition: transform .24s, box-shadow .24s;
}
.strat-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0,0,0,.48);
}
.strat-kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.strat-kpi--brand::before  { background: linear-gradient(90deg, #0ED5CA, transparent); }
.strat-kpi--anchor::before { background: linear-gradient(90deg, #ec4899, transparent); }
.strat-kpi--gap::before    { background: linear-gradient(90deg, #f43f5e, transparent); }
.strat-kpi--diff::before   { background: linear-gradient(90deg, #f59e0b, transparent); }
.strat-kpi--ai::before     { background: linear-gradient(90deg, #818cf8, transparent); }
.strat-kpi--drift::before  { background: linear-gradient(90deg, #60a5fa, transparent); }
.strat-kpi__abbr {
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.strat-kpi--brand  .strat-kpi__abbr { color: rgba(14,213,202,.45);  }
.strat-kpi--anchor .strat-kpi__abbr { color: rgba(236,72,153,.45);  }
.strat-kpi--gap    .strat-kpi__abbr { color: rgba(244,63,94,.45);   }
.strat-kpi--diff   .strat-kpi__abbr { color: rgba(245,158,11,.45);  }
.strat-kpi--ai     .strat-kpi__abbr { color: rgba(129,140,248,.45); }
.strat-kpi--drift  .strat-kpi__abbr { color: rgba(96,165,250,.45);  }
.strat-kpi__name {
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--s100);
  margin-bottom: 10px;
  line-height: 1.3;
}
.strat-kpi__desc {
  font-size: .9rem;
  color: var(--s500);
  line-height: 1.5;
  margin-bottom: 14px;
}
.strat-kpi__source {
  display: inline-block;
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--s600);
  border: 1px solid rgba(255,255,255,.08);
  padding: 2px 9px;
  border-radius: 20px;
}
@media (max-width: 1024px) {
  .strat-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .strat-kpi-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PLATFORM PAGE (body.page-platform)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Shared horizontal rhythm with Nine views (plat-pillars) */
body.page-platform {
  --plat-rail-x: clamp(40px, 6vw, 88px);
}
body.page-platform #pjax-main > section.section,
body.page-platform #pjax-main > .simulator-band,
body.page-platform #pjax-main > .platform-strip {
  padding-left: var(--plat-rail-x);
  padding-right: var(--plat-rail-x);
}

/* ── Platform intro ──────────────────────────────────────────────────────── */
.plat-intro {
  padding: 0 var(--plat-rail-x, clamp(40px, 6vw, 88px)) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.plat-intro-lead {
  font-size: 1.06rem;
  color: var(--s300);
  line-height: 1.9;
  max-width: 58ch;
}
.plat-intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.plat-stat {
  padding: 22px 20px;
  border-radius: 14px;
  background: rgba(14, 213, 202, 0.04);
  border: 1px solid rgba(14, 213, 202, 0.13);
}
.plat-stat-value {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand-400);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.plat-stat-label {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s500);
  line-height: 1.4;
}

/* ── Platform screen frame (AI Monitor mock, etc.) ───────────────────────── */
.plat-screen {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(14, 213, 202, 0.18);
  background: rgba(7, 12, 20, 0.99);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
  width: 100%;
  display: block;
}
.plat-screen svg,
.plat-screen img { display: block; width: 100%; height: auto; }

/* ── Nine views: sample screenshots row ─────────────────────────────────── */
.plat-pillar-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.plat-pillar-shot {
  margin: 0;
  min-width: 0;
}
.plat-pillar-shot__frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(14, 213, 202, 0.16);
  background: rgba(5, 10, 18, 0.95);
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
}
.plat-pillar-shot__frame img {
  display: block;
  width: 100%;
  height: auto;
}
.plat-pillar-shot__cap {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s600);
  line-height: 1.45;
  text-align:center;
}

/* ── Platform tab navigator ──────────────────────────────────────────────── */
.plat-pillars {
  padding: 100px var(--plat-rail-x, clamp(40px, 6vw, 88px));
  border-top: 1px solid rgba(255,255,255,0.05);
}
/* Tab strip */
.ptab__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 0;
}
.ptab__nav::-webkit-scrollbar { display: none; }
.ptab__btn {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 24px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
  position: relative;
  bottom: -1px;
}
.ptab__btn-num {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.ptab__btn-name {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  transition: color 0.2s;
}
.ptab__btn:hover .ptab__btn-name { color: rgba(255,255,255,0.6); }
.ptab__btn.active .ptab__btn-num,
.ptab__btn.active .ptab__btn-name { color: var(--tc, #0ED5CA); }
.ptab__btn.active { border-bottom-color: var(--tc, #0ED5CA); }
.ptab__btn--coming { opacity: 0.3; pointer-events: none; }
.ptab__btn--coming .ptab__btn-name::after { content: ' — soon'; font-size: 0.58rem; }
/* Content body */
.ptab__body { min-height: 220px; }
.ptab__panel {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 64px;
  padding: 52px 0 52px 44px;
  border-left: 2px solid var(--tc, #0ED5CA);
  margin-top: 2px;
  position: relative;
  overflow: hidden;
}
.ptab__panel.active { display: flex; }
/* Decorative number watermark */
.ptab__num-bg {
  position: absolute;
  top: 12px;
  left: -8px;
  font-family: var(--display);
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}
/* Text column */
.ptab__info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.ptab__name {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.ptab__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.85;
  max-width: 52ch;
  margin: 0;
}
/* Feature list column */
.ptab__features {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 270px;
  flex-shrink: 0;
}
.ptab__features li {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.38);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.ptab__features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tc, #0ED5CA);
  opacity: 0.8;
  flex-shrink: 0;
}
.ptab__features li:last-child { border-bottom: none; }
/* Coming soon panel */
.ptab__panel--coming .ptab__name { opacity: 0.3; }
.ptab__panel--coming .ptab__desc { opacity: 0.3; }
.ptab__coming-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  color: rgba(255,255,255,0.28);
  margin-bottom: 14px;
}

/* ── Content writer ──────────────────────────────────────────────────────── */
.plat-writer {
  border-top: 1px solid rgba(255,255,255,0.05);
}
/* Photo backdrop + real product screenshot (replaces inline SVG).
   overflow: visible so the right column can use position:sticky within this section. */
.plat-writer--visual {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.plat-writer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(6, 10, 16, 0.94) 0%, rgba(6, 10, 16, 0.82) 42%, rgba(6, 10, 16, 0.55) 100%),
    url('../images/llm-bg.jpg') center 40% / cover no-repeat;
  pointer-events: none;
}
.plat-writer--visual .two-col {
  position: relative;
  z-index: 1;
}
/*
 * Content writer two-column row: the copy column sets row height; the screenshot column must
 * stretch to that full row height so position:sticky on the inner column has a tall containing
 * block to slide in (align-items:start on both columns makes the right cell only as tall as the
 * image — then sticky has zero travel and appears “broken”, including in Firefox).
 */
.plat-writer__two-col {
  /* Override .two-col { align-items: center } so the right track can stretch for shot-follow */
  align-items: stretch !important;
  gap: 64px;
}
.plat-writer__two-col > div:first-child {
  align-self: start;
}
/* Right grid track: stretches with the row so .plat-writer__visual-col can stick while copy scrolls. */
.plat-writer__pin-slot {
  min-width: 0;
  align-self: stretch;
}
/* Shot “follow” uses transform from marketing-anim.js (bindContentWriterShotFollow), not sticky. */
.plat-writer__visual-col {
  position: relative;
  width: 100%;
  min-width: 0;
  z-index: 1;
}
@media (min-width: 1025px) {
  .plat-writer__visual-col {
    will-change: transform;
  }
}
.plat-writer__shot-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(14, 213, 202, 0.2);
  background: rgba(5, 10, 18, 0.96);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.plat-writer__shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.plat-ai-monitor {
  border-top: 1px solid rgba(255,255,255,0.05);
}
/* ── AI Output Monitor feature cards ───────────────────────────────────── */
.ai-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.ai-feat-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(16,24,36,.9), rgba(10,15,22,.98));
  border: 1px solid rgba(100,116,139,.12);
  overflow: hidden;
  transition: transform .28s, box-shadow .28s;
}
/* Gradient border shimmer — same technique as .pillar-card */
.ai-feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(14,213,202,.16) 0%, transparent 50%, rgba(129,140,248,.08) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.ai-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 48px rgba(0,0,0,.5), 0 0 36px rgba(14,213,202,.05);
}
.ai-feat-card__icon-wrap {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}
.ai-feat-card__icon-wrap svg {
  width: 100%;
  height: 100%;
}
.ai-feat-card__title {
  display: block;
  font-size: calc(0.88rem + 1pt);
  font-weight: 700;
  color: var(--s100);
  margin-bottom: 8px;
  line-height: 1.4;
}
.ai-feat-card__desc {
  font-size: 0.79rem;
  color: var(--s500);
  line-height: 1.68;
  margin: 0;
}

/* ── AI feat icon animations ───────────────────────────────────────────── */

/* Card 1 — orbiting dots */
.aif-core  { animation: aifCorePulse 2.6s ease-in-out infinite; }
@keyframes aifCorePulse { 0%,100% { opacity:.7; r:4.5; } 50% { opacity:1; r:5.5; } }
.aif-dot1  { animation: aifDotPop 2.6s ease-in-out 0.00s infinite; }
.aif-dot2  { animation: aifDotPop 2.6s ease-in-out 0.43s infinite; }
.aif-dot3  { animation: aifDotPop 2.6s ease-in-out 0.86s infinite; }
.aif-dot4  { animation: aifDotPop 2.6s ease-in-out 1.30s infinite; }
.aif-dot5  { animation: aifDotPop 2.6s ease-in-out 1.73s infinite; }
.aif-dot6  { animation: aifDotPop 2.6s ease-in-out 2.17s infinite; }
@keyframes aifDotPop { 0%,100% { opacity:.25; } 35% { opacity:.9; } 65% { opacity:.9; } }

/* Card 2 — attribution bars grow in and out */
.aif-bar1  { animation: aifBar1 3.2s ease-in-out infinite; }
@keyframes aifBar1 { 0%,100% { width:12px; opacity:.4; } 50% { width:28px; opacity:.7; } }
.aif-bar2  { animation: aifBar2 3.2s ease-in-out .5s infinite; }
@keyframes aifBar2 { 0%,100% { width:8px; opacity:.4; } 50% { width:16px; opacity:.6; } }
.aif-bar3  { animation: aifBar3 3.2s ease-in-out 1s infinite; }
@keyframes aifBar3 { 0%,100% { width:14px; opacity:.4; } 50% { width:32px; opacity:.65; } }

/* Card 3 — bulb glow + rays pulse */
.aif-bulb  { animation: aifBulbGlow 2.4s ease-in-out infinite; }
@keyframes aifBulbGlow { 0%,100% { fill:rgba(245,158,11,0.04); opacity:.8; } 50% { fill:rgba(245,158,11,0.14); opacity:1; } }
.aif-ray1,.aif-ray2,.aif-ray3 { animation: aifRay 2.4s ease-in-out infinite; }
.aif-ray2  { animation-delay: .15s; }
.aif-ray3  { animation-delay: .3s; }
.aif-ray4  { animation: aifRay 2.4s ease-in-out .45s infinite; }
@keyframes aifRay { 0%,100% { opacity:.15; } 50% { opacity:.7; } }

/* Card 4 — rising trend line draws itself */
.aif-trend {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: aifTrendDraw 3s ease-in-out infinite;
}
@keyframes aifTrendDraw {
  0%   { stroke-dashoffset: 100; opacity: .5; }
  45%  { stroke-dashoffset: 0;   opacity: 1;  }
  70%  { stroke-dashoffset: 0;   opacity: 1;  }
  100% { stroke-dashoffset: 100; opacity: .5; }
}
.aif-tip { animation: aifTipPulse 3s ease-in-out infinite; }
@keyframes aifTipPulse { 0%,40% { opacity:0; r:1; } 50%,70% { opacity:1; r:3; } 85%,100% { opacity:0; r:5; } }

/* ── LLM logo strip ─────────────────────────────────────────────────────── */
.ai-llm-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.ai-llm-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--s400);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ai-llm-pill:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--s200);
  background: rgba(255,255,255,0.07);
}
.ai-llm-pill svg {
  flex-shrink: 0;
  opacity: 0.65;
}
@media (max-width: 1024px) {
  .ai-feat-grid { grid-template-columns: 1fr; }
}
.writer-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.writer-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.writer-feat__icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.writer-feat__title {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--s200);
  margin-bottom: 4px;
}
.writer-feat__desc {
  font-size: 0.77rem;
  color: var(--s600);
  line-height: 1.65;
  margin: 0;
}

/* ── Reports & export ────────────────────────────────────────────────────── */
.plat-reports {
  border-top: 1px solid rgba(255,255,255,0.05);
}
.reports-header {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.report-templates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.report-template-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.report-template-card__preview {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.report-template-card__preview svg { display: block; width: 100%; height: auto; }
.report-template-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--s200);
  margin: 0;
}
.report-template-card__desc {
  font-size: 0.77rem;
  color: var(--s600);
  line-height: 1.65;
  margin: 0;
}
.report-export-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.07);
}
.report-export-feat { display: flex; flex-direction: column; }
.report-export-feat__icon {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.report-export-feat strong {
  font-size: 0.86rem;
  color: var(--s200);
  font-weight: 700;
  margin-bottom: 6px;
}
.report-export-feat p {
  font-size: 0.77rem;
  color: var(--s600);
  line-height: 1.65;
  margin: 0;
}

/* ── Modules (kept for module-item pill references elsewhere) ────────────── */
.modules-pillar-title {
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.02);
}
.mp-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.modules-pillar-list {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}
.module-item {
  padding: 9px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.module-item:last-child { border-bottom: none; }
.module-name {
  font-size: calc(0.8rem + 1pt);
  color: var(--s300);
  line-height: 1.35;
}
.module-tag-pill {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 7px;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid;
  opacity: 0.7;
}
.modules-addons {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.015);
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}
.modules-addon-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s500);
  flex-shrink: 0;
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.addon-pill {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.76rem;
  color: var(--s400);
}

/* ── Data sources ────────────────────────────────────────────────────────── */
.plat-sources {
  padding: 100px clamp(40px, 6vw, 88px);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.source-card {
  padding: 24px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.2s, background 0.2s;
}
.source-card:hover {
  border-color: rgba(14, 213, 202, 0.22);
  background: rgba(14, 213, 202, 0.03);
}
.source-icon { font-size: 1.2rem; margin-bottom: 12px; }
.source-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s100);
  margin-bottom: 5px;
}
.source-desc {
  font-size: 0.76rem;
  color: var(--s600);
  line-height: 1.65;
}

/* ── Architecture ────────────────────────────────────────────────────────── */
.plat-stack {
  padding: 100px clamp(40px, 6vw, 88px);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.stack-card {
  padding: 28px 24px 30px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(14,28,44,0.8), rgba(6,10,18,0.95));
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}
.stack-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.stack-card--ingest::before  { background: linear-gradient(90deg, #0ED5CA,  transparent); }
.stack-card--nlp::before     { background: linear-gradient(90deg, #ec4899,  transparent); }
.stack-card--intel::before   { background: linear-gradient(90deg, #f59e0b,  transparent); }
.stack-card--app::before     { background: linear-gradient(90deg, #818cf8,  transparent); }
.stack-num {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s600);
  margin-bottom: 14px;
}
.stack-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--s100);
  margin-bottom: 12px;
}
.stack-desc {
  font-size: 0.9rem;
  color: var(--s500);
  line-height: 1.5;
  margin-bottom: 16px;
}
.stack-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.stack-tag {
  padding: 2px 9px;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--s600);
}

/* Platform responsive */
@media (max-width: 1200px) {
  .report-templates-grid { grid-template-columns: repeat(2, 1fr); }
  .report-export-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .plat-intro { grid-template-columns: 1fr; gap: 40px; }
  .writer-features { grid-template-columns: 1fr; }
  .plat-pillar-shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .plat-pillar-shots { grid-template-columns: 1fr; gap: 24px; }
  .ptab__panel { gap: 36px; padding: 40px 0 36px 28px; }
  .ptab__features { width: 100%; }
  .ptab__num-bg { font-size: 6rem; }
}
@media (max-width: 600px) {
  .ptab__panel { flex-direction: column; align-items: flex-start; gap: 28px; }
  .ptab__name { font-size: 1.4rem; }
  .ptab__btn { padding: 8px 14px 11px; }
}
@media (max-width: 500px) {
  .modules-pillars { grid-template-columns: 1fr; }
  .modules-pillar { border-right: none !important; }
  .sources-grid, .stack-grid { grid-template-columns: 1fr; }
  .report-templates-grid { grid-template-columns: 1fr; }
  .report-export-row { grid-template-columns: 1fr; }
}

/* Tighter horizontal rails on very small phones (platform + long sections). */
@media (max-width: 600px) {
  body.page-platform {
    --plat-rail-x: clamp(16px, 4.2vw, 32px);
  }
  .plat-pillars {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .plat-sources {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .report-export-row {
    padding: 20px 16px;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    max-width: 100%;
    padding-left: max(18px, var(--content-gutter));
    padding-right: max(18px, var(--content-gutter));
  }
  .hero-lead {
    max-width: 100%;
  }
  .foot-inner {
    flex-direction: column;
    gap: 32px;
  }
}

/* ─── Nav: Challenges mega list links + mobile group labels ─────────────────── */
.nav-mega-list--links li {
  padding: 0;
  list-style: none;
}
.nav-mega-list--links li::before { display: none; }
.nav-mega-list--links a {
  display: block;
  padding: 6px 0;
  color: var(--s300);
  text-decoration: none;
  font-size: calc(0.8rem + 1pt);
  line-height: 1.4;
  transition: color 0.15s;
}
.nav-mega-list--links a:hover { color: var(--brand-400); }

.nav-mobile-panel__group-label {
  display: block;
  padding: 14px 0 4px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s500);
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 6px;
}
.nav-mobile-panel__group-label:first-child { border-top: none; margin-top: 0; }

/* ─── Homepage: Challenges CTA section ──────────────────────────────────────── */
.challenges-section {
  padding: 100px var(--content-gutter) 80px;
  position: relative;
  z-index: 1;
}
.challenges-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 52px;
}
.challenges-intro {
  max-width: 560px;
  color: var(--s400);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.challenges-grid .challenge-card:nth-child(4),
.challenges-grid .challenge-card:nth-child(5) {
  grid-column: span 1;
}
/* Last two cards span to center in a 3-col grid — use a bottom row of 2 centered */
.challenges-grid--5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.challenges-grid--5 .challenge-card:nth-child(1),
.challenges-grid--5 .challenge-card:nth-child(2),
.challenges-grid--5 .challenge-card:nth-child(3) {
  grid-column: span 2;
}
.challenges-grid--5 .challenge-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.challenges-grid--5 .challenge-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.challenge-card {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  overflow: hidden;
}
.challenge-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at top left, rgba(14,213,202,0.06) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.25s;
}
.challenge-card:hover {
  border-color: rgba(14,213,202,0.3);
  background: rgba(14,213,202,0.04);
  transform: translateY(-2px);
}
.challenge-card:hover::before { opacity: 1; }

.challenge-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.challenge-card__tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin: 0;
}
.challenge-card__q {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}
.challenge-card__body {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--s400);
  margin: 0;
  flex: 1;
}
.challenge-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-400);
  margin-top: 4px;
  transition: gap 0.2s;
}
.challenge-card:hover .challenge-card__cta { gap: 9px; }
.challenge-card__cta i { font-size: 0.7rem; }

@media (max-width: 1100px) {
  .challenges-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .challenges-grid--5 .challenge-card:nth-child(1),
  .challenges-grid--5 .challenge-card:nth-child(2),
  .challenges-grid--5 .challenge-card:nth-child(3),
  .challenges-grid--5 .challenge-card:nth-child(4),
  .challenges-grid--5 .challenge-card:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 680px) {
  .challenges-grid--5 { grid-template-columns: 1fr; }
  .challenges-section { padding: 72px var(--content-gutter) 60px; }
}

/* ─── Scenario page hero variant ───────────────────────────────────────────── */
.page-hero--scenario .page-hero__eyebrow { color: var(--brand-400); }
.page-hero--scenario .page-hero__breadcrumb-sep { color: var(--s500); }
.page-scenario-body { position: relative; z-index: 1; }

/* Pre-title: situational first sentence above the main headline */
.page-hero__pretitle {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

/* ─── Scenario cap-cards (pillar-card variant) ────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  counter-reset: capnum;
}
.cap-grid--4 { grid-template-columns: repeat(2, 1fr); }
.cap-card {
  counter-increment: capnum;
  position: relative;
  padding: 36px 30px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(16,24,36,.86), rgba(10,15,22,.97));
  border: 1px solid rgba(100,116,139,.12);
  transition: transform .28s, box-shadow .28s;
  overflow: hidden;
}
.cap-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: 18px; padding: 1px;
  background: linear-gradient(135deg, rgba(14,213,202,.16) 0%, transparent 55%, rgba(236,72,153,.07) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
/* Large filigree number — decorative watermark */
.cap-card::after {
  content: counter(capnum, decimal-leading-zero);
  position: absolute;
  bottom: -18px;
  right: 14px;
  font-family: var(--display);
  font-size: 8.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #fff;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
/* Make card content sit above the filigree */
.cap-card__num,
.cap-card__icon,
.cap-card__name,
.cap-card__desc { position: relative; z-index: 1; }
.cap-card:hover { transform: translateY(-5px); box-shadow: 0 14px 50px rgba(0,0,0,.52), 0 0 40px rgba(14,213,202,.07); }
.cap-card__num  { font-family: var(--mono); font-size: 10px; color: var(--brand-600); letter-spacing: .18em; margin-bottom: 18px; }
.cap-card__icon { width: 52px; height: 52px; margin-bottom: 22px; }
.cap-card__icon svg { width: 100%; height: 100%; }
.cap-card__name { font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: var(--s100); line-height: 1.35; margin: 0 0 12px; }
.cap-card__desc { font-size: calc(0.88rem + 1pt); color: var(--s400); line-height: 1.75; margin: 0; }
/* ─── Scenario COMEX section ──────────────────────────────────────────────── */
.scenario-comex {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 80px;
  padding-bottom: 72px;
  background: radial-gradient(ellipse at 50% 0%, rgba(14,213,202,.04) 0%, transparent 65%);
}
.scenario-comex-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.scenario-comex-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* Cap-card icon animations */
.cap-icon-scan  { animation: scanY 3s ease-in-out infinite alternate; }
.cap-icon-ring1 { animation: capRing 3.2s ease-in-out infinite; }
.cap-icon-ring2 { animation: capRing 3.2s ease-in-out .9s infinite; }
.cap-icon-ring3 { animation: capRing 3.2s ease-in-out 1.8s infinite; }
@keyframes capRing { 0%,100% { opacity:.12; } 50% { opacity:.65; } }
.cap-icon-pulse { animation: capPulse 2.6s ease-in-out infinite; }
@keyframes capPulse { 0%,100% { opacity:.2; } 50% { opacity:.88; } }
.cap-icon-bar1  { transform-origin: 50% 100%; animation: capBar 2.5s ease-in-out infinite; }
.cap-icon-bar2  { transform-origin: 50% 100%; animation: capBar 2.5s ease-in-out .3s infinite; }
.cap-icon-bar3  { transform-origin: 50% 100%; animation: capBar 2.5s ease-in-out .6s infinite; }
.cap-icon-bar4  { transform-origin: 50% 100%; animation: capBar 2.5s ease-in-out .9s infinite; }
@keyframes capBar { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.22); } }
.cap-icon-needle { transform-origin: 27px 36px; animation: capNeedle 3s ease-in-out infinite; }
@keyframes capNeedle { 0%,100% { transform: rotate(-28deg); } 50% { transform: rotate(22deg); } }
.cap-icon-node  { animation: capNode 2.8s ease-in-out infinite; }
.cap-icon-node2 { animation: capNode 2.8s ease-in-out .56s infinite; }
.cap-icon-node3 { animation: capNode 2.8s ease-in-out 1.12s infinite; }
.cap-icon-node4 { animation: capNode 2.8s ease-in-out 1.68s infinite; }
.cap-icon-node5 { animation: capNode 2.8s ease-in-out 2.24s infinite; }
@keyframes capNode { 0%,100% { opacity:.28; } 50% { opacity:1; } }
.cap-icon-line  { animation: capLine 2.8s ease-in-out infinite; }
.cap-icon-line2 { animation: capLine 2.8s ease-in-out .4s infinite; }
.cap-icon-line3 { animation: capLine 2.8s ease-in-out .8s infinite; }
.cap-icon-line4 { animation: capLine 2.8s ease-in-out 1.2s infinite; }
@keyframes capLine { 0%,100% { opacity:.12; } 50% { opacity:.55; } }
.cap-icon-rise  { animation: capRise 3s ease-in-out infinite; }
@keyframes capRise  { 0%,100% { transform: translateY(0);  } 50% { transform: translateY(-4px); } }
.cap-icon-step  { animation: capStep 2.5s ease-in-out infinite; }
@keyframes capStep  { 0%,100% { transform: translateY(0); opacity:.8; } 50% { transform: translateY(-3px); opacity:1; } }
.cap-icon-blink { animation: capBlink 1.8s ease-in-out infinite; }
@keyframes capBlink { 0%,100% { opacity:1; } 50% { opacity:.1; } }
@media (max-width: 860px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-grid--4 { grid-template-columns: 1fr; }
  .scenario-comex-grid,
  .scenario-comex-grid--3 { grid-template-columns: 1fr; }
}

/* Scenario diagnosis + capabilities cards */
.scenario-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.scenario-caps--4 {
  grid-template-columns: repeat(2, 1fr);
}
/* Scenario capability cards — quote-card visual frame, original icon+name+desc content */
.scenario-cap {
  gap: 14px;
}
.scenario-cap__icon {
  width: 26px;
  height: 26px;
  color: var(--brand-500);
  flex-shrink: 0;
}
.quote-card--compete .scenario-cap__icon { color: #ec4899; }
.quote-card--risk    .scenario-cap__icon { color: #f43f5e; }
.quote-card--evolve  .scenario-cap__icon { color: #f59e0b; }
.scenario-cap__name {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--s100);
  margin: 0;
}
.scenario-cap__desc {
  font-size: calc(0.82rem + 1pt);
  line-height: 1.65;
  color: var(--s400);
  margin: 0;
  flex: 1;
}
/* ─── Evidence card — brand case variant (split layout) ───────────────────── */
.scenario-evidence--case {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  align-items: stretch;
}
.scenario-evidence--case .scenario-evidence__body {
  padding: 32px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.scenario-evidence--case .scenario-evidence__head {
  margin-bottom: 0;
}
.scenario-evidence__visual {
  position: relative;
  background: var(--ev-img, linear-gradient(135deg,#0a0e14,#141a24)) center/cover no-repeat;
  overflow: hidden;
}
.scenario-evidence__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(9,5,12,0.72) 0%, transparent 45%),
              linear-gradient(to top, rgba(9,5,12,0.6) 0%, transparent 55%);
  z-index: 1;
}
.scenario-evidence__visual-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
/* Brand identity block inside case card */
.ev-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ev-brand__mark {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(184,161,99,0.14);
  border: 1px solid rgba(184,161,99,0.28);
}
.ev-brand__mark svg { width: 32px; height: 32px; }
.ev-brand__wordmark {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #c8a96e;
  text-transform: uppercase;
  line-height: 1.1;
}
.ev-brand__sector {
  font-size: 0.62rem;
  color: var(--s500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 3px;
}
/* Stat callouts inside case card */
.ev-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.ev-stat {
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(244,63,94,0.07);
  border: 1px solid rgba(244,63,94,0.18);
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 120px;
  flex: 1;
}
.ev-stat__num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f87171;
}
.ev-stat__num sup {
  font-size: 0.9rem;
  font-weight: 600;
  vertical-align: top;
  margin-top: 4px;
  letter-spacing: 0;
}
.ev-stat__label {
  font-size: 0.7rem;
  color: var(--s500);
  line-height: 1.4;
}
/* Color-variant overrides for ev-stat within evidence cards */
.scenario-evidence--teal .ev-stat {
  background: rgba(94,234,212,0.07);
  border-color: rgba(94,234,212,0.18);
}
.scenario-evidence--teal .ev-stat__num { color: #5eead4; }
.scenario-evidence--compete .ev-stat {
  background: rgba(249,168,212,0.07);
  border-color: rgba(249,168,212,0.18);
}
.scenario-evidence--compete .ev-stat__num { color: #f9a8d4; }
.scenario-evidence--evolve .ev-stat {
  background: rgba(252,211,77,0.07);
  border-color: rgba(252,211,77,0.18);
}
.scenario-evidence--evolve .ev-stat__num { color: #fcd34d; }
@media (max-width: 860px) {
  .scenario-evidence--case {
    grid-template-columns: 1fr;
  }
  .scenario-evidence__visual {
    min-height: 200px;
  }
  .scenario-evidence--case .scenario-evidence__body {
    padding: 26px 22px;
  }
}

/* ─── Scenario diagnosis section — parallax photo background ─────────────── */
.scenario-diagnosis {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.scenario-diagnosis__parallax-bg {
  position: absolute;
  inset: -22% 0;
  z-index: 0;
  will-change: transform;
  pointer-events: none;
}
.scenario-diagnosis__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  filter: saturate(0.55) brightness(0.28);
}
.scenario-diagnosis__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(6,10,14,.92) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(6,10,14,.92) 0%, transparent 70%),
    radial-gradient(ellipse 45% 80% at 0% 50%,   rgba(14,213,202,.06) 0%, transparent 65%),
    linear-gradient(180deg, rgba(6,10,14,.55) 0%, rgba(6,10,14,.35) 50%, rgba(6,10,14,.55) 100%);
}
.scenario-diagnosis > *:not(.scenario-diagnosis__parallax-bg):not(.scenario-diagnosis__overlay) {
  position: relative;
  z-index: 2;
}
/* Give the chart panel a glass backdrop when sitting on the parallax photo */
.scenario-diagnosis .chart-panel {
  background: rgba(8, 13, 20, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(100,116,139,.18);
}

/* Evidence cards — polished dark-card frame with color variants */
.scenario-evidence {
  margin-top: 56px;
  padding: 34px 40px;
  background: linear-gradient(135deg, rgba(244,63,94,0.08) 0%, rgba(12,8,14,0.94) 58%);
  border: 1px solid rgba(244,63,94,0.22);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(244,63,94,0.09), inset 0 1px 0 rgba(255,255,255,0.04);
}
.scenario-evidence::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f43f5e, transparent 72%);
  border-radius: 16px 16px 0 0;
}
.scenario-evidence--teal {
  background: linear-gradient(135deg, rgba(14,213,202,0.08) 0%, rgba(12,8,14,0.94) 58%);
  border-color: rgba(14,213,202,0.22);
  box-shadow: 0 4px 40px rgba(14,213,202,0.09), inset 0 1px 0 rgba(255,255,255,0.04);
}
.scenario-evidence--teal::before { background: linear-gradient(90deg, #0ED5CA, transparent 72%); }
.scenario-evidence--compete {
  background: linear-gradient(135deg, rgba(236,72,153,0.08) 0%, rgba(12,8,14,0.94) 58%);
  border-color: rgba(236,72,153,0.22);
  box-shadow: 0 4px 40px rgba(236,72,153,0.09), inset 0 1px 0 rgba(255,255,255,0.04);
}
.scenario-evidence--compete::before { background: linear-gradient(90deg, #ec4899, transparent 72%); }
.scenario-evidence--evolve {
  background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(12,8,14,0.94) 58%);
  border-color: rgba(245,158,11,0.22);
  box-shadow: 0 4px 40px rgba(245,158,11,0.09), inset 0 1px 0 rgba(255,255,255,0.04);
}
.scenario-evidence--evolve::before { background: linear-gradient(90deg, #f59e0b, transparent 72%); }
/* Evidence header row: badge + optional brand mark */
.scenario-evidence__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.scenario-evidence__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.585rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f87171;
  background: rgba(244,63,94,0.12);
  border: 1px solid rgba(244,63,94,0.22);
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
}
.scenario-evidence--teal .scenario-evidence__badge   { color: #5eead4; background: rgba(14,213,202,0.10); border-color: rgba(14,213,202,0.22); }
.scenario-evidence--compete .scenario-evidence__badge { color: #f9a8d4; background: rgba(236,72,153,0.10); border-color: rgba(236,72,153,0.22); }
.scenario-evidence--evolve .scenario-evidence__badge  { color: #fcd34d; background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.22); }
/* Brand-mark block (named cases) */
.scenario-evidence__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.scenario-evidence__brand-mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--bm-bg, rgba(184,161,99,0.12));
  border: 1px solid var(--bm-border, rgba(184,161,99,0.22));
}
.scenario-evidence__brand-mark svg { width: 22px; height: 22px; }
.scenario-evidence__brand-name {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--s100);
  line-height: 1.2;
}
.scenario-evidence__brand-meta {
  font-size: 0.585rem;
  color: var(--s500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
/* Metric display row */
.scenario-evidence__metrics {
  display: flex;
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.scenario-evidence__metric-cell { display: flex; flex-direction: column; gap: 3px; }
.scenario-evidence__metric {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f87171;
}
.scenario-evidence--teal   .scenario-evidence__metric { color: #5eead4; }
.scenario-evidence--compete .scenario-evidence__metric { color: #f9a8d4; }
.scenario-evidence--evolve  .scenario-evidence__metric { color: #fcd34d; }
.scenario-evidence__metric-label {
  font-size: 0.72rem;
  color: var(--s400);
  max-width: 170px;
  line-height: 1.4;
}
/* Callout span inside body text */
.scenario-evidence__callout {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f9a8d4;
  line-height: 1.1;
  margin-bottom: 14px;
}
.scenario-evidence--evolve .scenario-evidence__callout { color: #fcd34d; }
/* Body text */
.scenario-evidence__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--s300);
  margin: 0;
}
.scenario-evidence__text strong { color: #fff; }
/* Footnote line below evidence card — external sources + IDpulse disclosure */
.scenario-evidence__sources {
  max-width: 920px;
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--s500);
}
.scenario-evidence__sources a {
  color: var(--s400);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scenario-evidence__sources a:hover { color: var(--brand-400); }
.scenario-evidence__sources-note {
  display: block;
  margin-top: 8px;
  opacity: 0.92;
}
/* Legacy: hide old label element when __head is present */
.scenario-evidence__label { display: none; }

/* ─── FAQ section ─────────────────────────────────────────────────────────────
   Full section column width (no inner max-width “rail”) so the list lines up with
   other section copy; rows use spacing only — no panel fill that reads as a box. */
.faq-section {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  padding: 0;
  border: none;
  border-radius: 0;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: calc(1.02rem + 1pt);
  font-weight: 600;
  color: var(--s50);
  line-height: 1.45;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--brand-400);
  transition: transform 0.22s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary { color: var(--s50); }
.faq-answer {
  padding: 0 0 22px;
  margin-top: -6px;
  color: var(--s300);
  font-size: calc(0.95rem + 1pt);
  line-height: 1.8;
  max-width: min(75ch, 100%);
}
.faq-answer strong { color: var(--s100); }
@media (max-width: 860px) {
  .scenario-caps { grid-template-columns: 1fr; }
  .scenario-evidence { padding: 28px 22px; }
  .scenario-evidence__metric { font-size: 2.6rem; }
  .scenario-evidence__brand { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS — consolidated fixes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Scenario hero inner padding — clamp(40px,…) is too wide on small phones.
   padding-top is already set at the 860px breakpoint to clear the fixed pill nav. */
@media (max-width: 640px) {
  .page-hero__inner {
    padding-left: max(18px, var(--content-gutter));
    padding-right: max(18px, var(--content-gutter));
    padding-bottom: 48px;
  }
  /* Scenario cap-grid: 3-col → 1-col at same break as other grids */
  .cap-grid,
  .cap-grid--4 {
    grid-template-columns: 1fr;
  }
  .scenario-comex-grid,
  .scenario-comex-grid--3 {
    grid-template-columns: 1fr;
  }
  /* Strategy KPI grid: 2-col already set at 1024px, collapses at 500px — also catch 640 */
  .strat-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Evidence split card: visual image tall enough to read */
  .scenario-evidence--case .scenario-evidence__body {
    padding: 22px 18px;
  }
  .ev-stats {
    flex-direction: column;
  }
  .ev-stat {
    min-width: 0;
  }
  /* Simulator scenario panel footer: stack on very narrow */
  .sim-scenario-panel__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  /* Simulator metric strip: already 1fr at 640 in responsive block, keep in sync */
  .sim-metrics {
    grid-template-columns: 1fr;
  }
}

/* ── Very small phones ≤ 480px */
@media (max-width: 480px) {
  /* Strategy KPI: single column */
  .strat-kpi-grid {
    grid-template-columns: 1fr;
  }
  /* Forces grid (vision page) — already 1fr at 860 but ensure gap tightens */
  .forces-grid {
    gap: 16px;
  }
  /* Intellectual foundations grid — breaks at 900 to 1fr, reduce gap here */
  .found-grid {
    gap: 28px;
  }
  /* Challenges section — tighten top/bottom padding on very small phones */
  .challenges-section {
    padding-top: 56px;
    padding-bottom: 44px;
  }
  /* Section padding reduction on smallest phones */
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .section-sm {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  /* Corpus pills are very large — font + padding already reduced at 640px
     but keep icon consistent */
  .corpus-pill {
    padding: 12px 18px;
    font-size: 15px;
    gap: 10px;
    border-radius: 14px;
  }
  .corpus-pill i {
    font-size: 16px;
  }
  /* Pillar card padding on mobile */
  .pillar-card {
    padding: 28px 22px;
  }
  /* Evidence card text padding */
  .scenario-evidence {
    padding: 22px 16px;
  }
  /* About investor grid gap */
  .about-investor-grid {
    gap: 10px;
  }
  /* FAQ answers: no horizontal padding bleed on narrow */
  .faq-item summary {
    padding: 16px 0;
    font-size: 0.95rem;
  }
}
