/* Shared refinement: quieter scale, stronger page identity. */
.product-page .product-hero h1 { font-size: clamp(48px, 6.2vw, 94px); line-height: .92; }
.product-page .product-display { font-size: clamp(43px, 5.8vw, 88px); line-height: .92; }
.product-page .product-story-chapter h2 { font-size: clamp(38px, 4vw, 64px); }
.product-page .product-hero-summary,
.product-page .product-thesis-copy,
.product-page .product-close-copy { font-size: clamp(14px, .95vw, 16px); }
.product-page .product-section-inner,
.product-page .product-thesis-inner,
.product-page .product-close-inner { padding-top: clamp(104px, 14vh, 154px); padding-bottom: clamp(104px, 14vh, 154px); }

/* Intelligence: one continuous navy, violet and black spatial field. */
.product-page--intelligence {
  --page-bg: #05040b;
  --page-paper: #0b0920;
  --page-accent: 111, 70, 238;
  background: #05040b;
  color: #f1eff8;
}

.product-page--intelligence .product-hero {
  background:
    radial-gradient(ellipse 68% 74% at 72% 48%, rgba(79, 41, 185, .28), transparent 68%),
    radial-gradient(ellipse 48% 60% at 24% 82%, rgba(26, 52, 126, .26), transparent 72%),
    linear-gradient(132deg, #04040a 10%, #080820 53%, #02030a 100%);
}
.product-page--intelligence .product-hero::before { background: linear-gradient(90deg, rgba(3,3,10,.88), rgba(3,3,10,.34) 55%, rgba(3,3,10,.12)), linear-gradient(180deg, rgba(3,3,10,.08), rgba(3,3,10,.7)); }
.product-page--intelligence .product-hero h1 { max-width: 1040px; }
.product-page--intelligence .product-hero h1 { color: #f1eff8; }
.product-page--intelligence .product-hero h1 em { color: rgba(189, 177, 235, .62); }
.product-page--intelligence .product-hero-summary { color: rgba(213, 211, 232, .62); }
.product-page--intelligence .product-lockup { color: rgba(232,228,245,.78); }
.product-page--intelligence .product-lockup-rule { background: rgba(224,217,246,.22); }
.product-page--intelligence .product-hero-link { border-color: rgba(220,214,242,.34); color: rgba(244,241,250,.9); }

.product-page--intelligence .product-thesis,
.product-page--intelligence .intelligence-foundation,
.product-page--intelligence .intelligence-proof {
  color: #eeeef8;
  background:
    radial-gradient(ellipse 54% 60% at 86% 8%, rgba(92,52,214,.14), transparent 72%),
    linear-gradient(138deg, #080715, #0c0b25 57%, #050610);
}
.product-page--intelligence .intelligence-anatomy { border-top: 1px solid rgba(205,198,235,.1); border-bottom: 1px solid rgba(205,198,235,.08); }
.product-page--intelligence .product-eyebrow { color: rgba(201,195,229,.42); }
.product-page--intelligence .product-display em { color: rgba(187,174,226,.48); }
.product-page--intelligence .product-thesis-copy,
.product-page--intelligence .product-editorial-row p,
.product-page--intelligence .product-proof-statement p { color: rgba(214,211,231,.58); }
.product-page--intelligence .intelligence-anatomy-stream { color: rgba(157,132,231,.15); }
.product-page--intelligence .intelligence-anatomy-stream span::after { background: rgba(176,157,233,.23); box-shadow: 0 0 26px rgba(111,70,238,.38); }

.product-page--intelligence .product-story {
  background: #03040b;
  box-shadow: inset 0 90px 140px rgba(19,12,60,.16), inset 0 -90px 160px rgba(7,14,44,.24);
}
.product-page--intelligence .product-story-visual::before {
  background:
    linear-gradient(138deg, transparent 18%, rgba(95,58,230,.12) 31%, transparent 42%),
    linear-gradient(24deg, transparent 39%, rgba(35,73,187,.13) 51%, transparent 62%),
    radial-gradient(ellipse 42% 68% at 34% 54%, rgba(75,40,178,.22), transparent 72%);
}
.product-page--intelligence .product-story-visual::after { background: radial-gradient(circle at 50% 48%, transparent 0 22%, rgba(4,4,12,.24) 48%, rgba(3,3,9,.78) 88%); }
.product-page--intelligence .product-story-index { color: rgba(164,143,229,.62); }
.product-page--intelligence .product-story-chapter h2 em { color: rgba(183,168,228,.56); }
.product-page--intelligence .product-story-chapter p { color: rgba(211,209,228,.58); }

.product-page--intelligence .intelligence-foundation {
  background:
    linear-gradient(90deg, rgba(112,72,231,.055) 0 1px, transparent 1px) 0 0 / 25vw 100%,
    linear-gradient(145deg, #0a091a, #070713 64%, #05040c);
}
.product-page--intelligence .intelligence-foundation .product-editorial-list,
.product-page--intelligence .intelligence-foundation .product-editorial-row { border-color: rgba(207,201,232,.12); }
.product-page--intelligence .intelligence-foundation .product-editorial-row h3 { color: rgba(229,226,240,.86); }
.product-page--intelligence .intelligence-proof {
  background:
    radial-gradient(ellipse 50% 70% at 18% 48%, rgba(56,39,148,.2), transparent 74%),
    #05050e;
  border-top: 1px solid rgba(208,201,236,.09);
}
.product-page--intelligence .product-proof-statement strong { color: rgba(235,232,244,.9); }
.product-page--intelligence .product-close {
  background: linear-gradient(128deg, #020309, #090716 55%, #05040c);
}
.product-page--intelligence .product-close::before { background: radial-gradient(ellipse at 28% 62%, rgba(103,63,226,.19), transparent 42%), radial-gradient(ellipse at 82% 24%, rgba(35,60,154,.14), transparent 36%); }
.product-page--intelligence .product-close .product-display em { color: rgba(184,168,228,.52); }

/* Factory: state changes in one continuous physical scene, never a horizontal slide deck. */
.product-page--factory .product-hero h1 { font-size: clamp(50px, 6.1vw, 96px); }
.product-page--factory .product-story { height: 620svh; background: #080705; }
.product-page--factory .product-story-stage { background: linear-gradient(180deg,#090705,#050505); }
.product-page--factory .product-story-visual::after {
  background:
    linear-gradient(90deg, rgba(5,5,5,.82), rgba(5,5,5,.18) 48%, rgba(5,5,5,.68)),
    linear-gradient(180deg, rgba(5,5,5,.48), transparent 24%, transparent 76%, rgba(5,5,5,.72));
}
.product-page--factory .product-story-copy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: none !important;
}
.product-page--factory .product-story-chapter,
.product-page--factory .product-story-chapter.is-active {
  position: absolute;
  top: 50%;
  right: auto;
  left: clamp(28px, 8vw, 130px);
  width: min(43vw, 680px);
  height: auto;
  display: block;
  padding: 0;
  opacity: 0;
  filter: blur(16px);
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, calc(-50% + 42px), 0);
  transition: opacity 1s ease, filter 1.1s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.1s var(--ease-out);
  pointer-events: none;
}
.product-page--factory .product-story-chapter.is-active { opacity: 1; filter: blur(0); clip-path: inset(0); transform: translate3d(0,-50%,0); pointer-events: auto; }
.product-page--factory .product-story-chapter:nth-child(even) { right: clamp(28px, 8vw, 130px); left: auto; align-items: initial; text-align: right; }
.product-page--factory .product-story-chapter:nth-child(even) p { margin-left: auto; }
.product-page--factory .product-story-chapter h2 { max-width: 650px; font-size: clamp(46px, 5.4vw, 84px); }
.product-page--factory .product-story-chapter p { max-width: 520px; }
.product-page--factory .product-story-progress { top: 50%; right: auto; bottom: auto; left: 32px; display: grid; gap: 8px; transform: translateY(-50%); }
.product-page--factory .product-story-progress i { width: 1px; height: clamp(34px, 7vh, 64px); background: rgba(255,255,255,.13); transition: background .45s ease, height .7s var(--ease-out); }
.product-page--factory .product-story-progress i.is-active { height: clamp(54px, 10vh, 90px); background: rgba(229,135,71,.85); box-shadow: 0 0 18px rgba(229,135,71,.24); }
.product-page--factory .factory-sequence .product-editorial-row h3 { font-size: clamp(28px, 2.8vw, 44px); }
.product-page--factory .factory-scope .product-display { max-width: 1040px; }
.product-page--factory .factory-close { min-height: 78svh; }

/* Security: retain the trusted blue system, add visible boundaries and verified motion. */
.security-page .security-chain { position: relative; overflow: hidden; isolation: isolate; }
.security-chain-canvas { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; display: block; opacity: .18; mix-blend-mode: multiply; }
.security-chain-inner { position: relative; z-index: 1; }
.security-chain-trace { position: relative; }
.security-chain-trace::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(27,98,111,.75), transparent);
  content: "";
  animation: securityTrace 7s ease-in-out infinite;
}
.security-chain-trace article { position: relative; transition: background .45s ease, transform .55s var(--ease-out); }
.security-chain-trace article::after { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border: 1px solid rgba(16,55,65,.44); border-radius: 50%; background: #c3d2d4; content: ""; transition: box-shadow .35s ease, background .35s ease; }
.security-chain-trace article:hover { background: rgba(245,250,250,.16); transform: translateY(-5px); }
.security-chain-trace article:hover::after { background: #1b6873; box-shadow: 0 0 0 8px rgba(27,104,115,.1), 0 0 24px rgba(27,104,115,.25); }
.security-control-stack { position: relative; }
.security-control-stack::after { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(110,211,180,.72), transparent); content: ""; animation: securityScan 6.5s ease-in-out infinite; }
.security-control-stack > div { position: relative; transition: padding .55s var(--ease-out), background .45s ease; }
.security-control-stack > div::before { position: absolute; top: 50%; left: -18px; width: 5px; height: 5px; border-radius: 50%; background: rgba(127,207,184,.58); content: ""; opacity: 0; transform: translateY(-50%); transition: opacity .35s ease, box-shadow .35s ease; }
.security-control-stack > div:hover { padding-right: 18px; padding-left: 18px; background: rgba(151,205,211,.045); }
.security-control-stack > div:hover::before { opacity: 1; box-shadow: 0 0 18px rgba(127,207,184,.5); }
.security-story .product-story-chapter { width: min(37vw, 540px); }
.security-story .product-story-chapter h2 { font-size: clamp(36px, 3.4vw, 54px); }

@keyframes securityTrace { 0%,100% { transform: translateX(-10%); opacity: .25; } 50% { transform: translateX(410%); opacity: 1; } }
@keyframes securityScan { 0%,100% { transform: translateY(0); opacity: .2; } 50% { transform: translateY(730px); opacity: .8; } }

@media (max-width: 900px) {
  .product-page .product-hero h1 { font-size: clamp(47px, 13vw, 72px); }
  .product-page .product-display { font-size: clamp(43px, 12vw, 68px); }
  .product-page--intelligence .product-thesis,
  .product-page--intelligence .intelligence-foundation,
  .product-page--intelligence .intelligence-proof { background: linear-gradient(145deg, #080715, #050610); }
  .product-page--factory .product-story { height: auto; }
  .product-page--factory .product-story-copy { position: relative; height: auto; }
  .product-page--factory .product-story-chapter,
  .product-page--factory .product-story-chapter.is-active,
  .product-page--factory .product-story-chapter:nth-child(even) {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    margin: 0 0 104px;
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    text-align: left;
  }
  .product-page--factory .product-story-chapter:nth-child(even) p { margin-left: 0; }
  .product-page--factory .product-story-progress { display: none; }
  .security-chain-trace::before,
  .security-control-stack::after { display: none; }
}

@media (max-width: 560px) {
  .product-page .product-hero h1 { font-size: 50px; }
  .product-page .product-display { font-size: 46px; }
  .product-page--factory .product-story-chapter h2 { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .security-chain-trace::before,
  .security-control-stack::after { animation: none; }
}

/* Product clarity pass. */
.product-page--intelligence .product-hero h1 em { display: block; margin-top: .04em; line-height: .92; }
.product-page--intelligence .intelligence-foundation .product-editorial-row { grid-template-columns: minmax(340px, .78fr) minmax(360px, 1fr); }
.product-page--intelligence .intelligence-foundation .product-editorial-row h3,
.product-page--intelligence .intelligence-foundation .product-editorial-row:nth-child(even) h3 { padding-left: 0; }
.product-page--intelligence .intelligence-foundation .product-editorial-row p { width: 100%; max-width: 650px; justify-self: start; }

.factory-capabilities { position: relative; overflow: hidden; isolation: isolate; background: #d7d0c5; color: #241711; }
.factory-capabilities::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(222,217,208,.62), rgba(211,201,188,.22) 48%, rgba(202,190,175,.54)); content: ""; pointer-events: none; }
.factory-capabilities-canvas { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; display: block; opacity: .72; mix-blend-mode: multiply; }
.factory-capabilities .product-section-inner { position: relative; z-index: 1; }
.factory-capabilities .product-eyebrow { color: rgba(57,34,23,.5); }
.factory-capabilities .product-display { max-width: 1180px; }
.factory-capabilities .product-display em { color: rgba(101,56,31,.48); }
.factory-capabilities-intro { max-width: 570px; margin: 54px 0 0 auto; color: rgba(58,35,24,.65); font-size: clamp(15px, 1.05vw, 18px); line-height: 1.65; }
.factory-capability-field { position: relative; margin-top: clamp(92px, 13vh, 142px); padding: clamp(30px, 4vw, 60px); border-top: 1px solid rgba(67,40,27,.2); border-bottom: 1px solid rgba(67,40,27,.2); background: rgba(236,230,220,.34); -webkit-backdrop-filter: blur(18px) saturate(108%); backdrop-filter: blur(18px) saturate(108%); }
.factory-capability-field::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(67,40,27,.1); content: ""; }
.factory-capability-field::before { display: none; }
.factory-capability-core { display: grid; grid-template-columns: 1fr auto; gap: 20px clamp(24px, 5vw, 78px); align-items: start; padding: 0 0 clamp(32px, 5vw, 62px); border-bottom: 1px solid rgba(67,40,27,.18); }
.factory-capability-core small,
.factory-capability-core span { color: rgba(65,39,26,.46); font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.factory-capability-core strong { grid-column: 1 / -1; max-width: 920px; min-width: 0; margin-top: clamp(26px, 4vw, 52px); font-size: clamp(30px, 3.6vw, 54px); font-weight: 430; letter-spacing: -.055em; line-height: .98; overflow-wrap: normal; }
.factory-capability-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; }
.factory-capability-grid article { position: relative; min-height: 260px; padding: clamp(28px, 3vw, 48px); border-bottom: 1px solid rgba(67,40,27,.15); transition: background .45s ease, transform .65s var(--ease-out); }
.factory-capability-grid article:nth-child(odd) { grid-column: 1 / 7; border-right: 1px solid rgba(67,40,27,.13); }
.factory-capability-grid article:nth-child(even) { grid-column: 7 / 13; }
.factory-capability-grid article:hover { z-index: 1; background: rgba(247,241,232,.42); transform: translateY(-5px); }
.factory-capability-grid i { color: rgba(133,67,32,.48); font-size: 10px; font-style: normal; letter-spacing: .13em; }
.factory-capability-grid h3 { max-width: 520px; margin: 58px 0 18px; font-size: clamp(24px, 2.3vw, 36px); font-weight: 450; letter-spacing: -.045em; line-height: 1.02; }
.factory-capability-grid p { max-width: 530px; margin: 0; color: rgba(62,39,27,.62); font-size: 14px; line-height: 1.58; }

.product-page--factory .factory-close { background: linear-gradient(124deg, #d5d0c8 0%, #e4ddd2 58%, #d7c2b1 100%); }
.product-page--factory .factory-close::before { background: radial-gradient(ellipse 38% 62% at 78% 52%, rgba(219,92,31,.2), transparent 70%), radial-gradient(ellipse 28% 58% at 14% 30%, rgba(74,80,77,.07), transparent 74%); }
.product-page--factory .factory-close .product-display em { color: rgba(83,57,43,.48); }

@media (max-width: 900px) {
  .product-page--intelligence .intelligence-foundation .product-editorial-row { grid-template-columns: 1fr; }
  .factory-capability-core { grid-template-columns: 1fr; gap: 18px; }
  .factory-capability-core strong { grid-column: 1; }
  .factory-capability-field::before { display: none; }
}

@media (max-width: 680px) {
  .product-page .product-display { max-width: 100%; font-size: 40px; overflow-wrap: normal; }
  .product-page .product-display em { max-width: 100%; }
  .product-page--intelligence .product-thesis-copy { max-width: 100%; }
  .factory-capability-field { padding: 20px; }
  .factory-capability-core > * { min-width: 0; max-width: 100%; }
  .factory-capability-core strong { font-size: 31px; }
  .factory-capability-grid { display: block; }
  .factory-capability-grid article:nth-child(n) { min-height: 0; padding: 34px 0; border-right: 0; }
  .factory-capability-grid h3 { margin-top: 34px; }
}

/* Intelligence mobile: preserve the entire second chapter without a desktop marquee overflow. */
@media (max-width: 680px) {
  .product-page--intelligence { width: 100%; overflow-x: clip; }

  .product-page--intelligence .intelligence-anatomy {
    min-height: 0;
    overflow: hidden;
  }

  .product-page--intelligence .intelligence-anatomy .product-thesis-inner {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 112px 22px 92px;
  }

  .product-page--intelligence .intelligence-anatomy .product-display {
    width: 100%;
    max-width: 100%;
    font-size: clamp(36px, 10.4vw, 43px);
    line-height: .96;
    letter-spacing: -.055em;
    text-wrap: balance;
  }

  .product-page--intelligence .intelligence-anatomy .product-display em {
    display: block;
    margin-top: .06em;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: normal;
    font-size: 1.03em;
    line-height: .92;
  }

  .product-page--intelligence .intelligence-anatomy .product-thesis-copy {
    width: 100%;
    max-width: 100%;
    margin: 40px 0 0;
    font-size: 14px;
    line-height: 1.62;
  }

  .product-page--intelligence .intelligence-anatomy-stream {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    margin: 64px 0 0;
    border-top: 1px solid rgba(201, 191, 235, .16);
    color: rgba(213, 207, 235, .6);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: none;
    transform: none;
  }

  .product-page--intelligence .intelligence-anatomy-stream span {
    display: block;
    min-width: 0;
    padding: 18px 10px 18px 0;
    border-bottom: 1px solid rgba(201, 191, 235, .12);
  }

  .product-page--intelligence .intelligence-anatomy-stream span:nth-child(even) {
    padding-right: 0;
    padding-left: 14px;
    border-left: 1px solid rgba(201, 191, 235, .12);
  }

  .product-page--intelligence .intelligence-anatomy-stream span::after { display: none; }
}
