/*
 * Heylth stability and composition layer — July 2026
 * This file intentionally owns final layout, state and responsive behavior.
 */

:root {
  --care-ink: #151321;
  --care-copy: #5f5a6d;
  --care-muted: #837d91;
  --care-blue: #4b6fff;
  --care-violet: #855ce8;
  --care-mist: #f4f5ff;
  --care-glass: rgba(255, 255, 255, 0.58);
  --care-line: rgba(68, 57, 116, 0.08);
  --care-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.68) inset,
    0 1px 2px rgba(41, 33, 78, 0.04),
    0 20px 56px rgba(41, 33, 78, 0.08);
  --care-shadow-hover:
    0 0 0 1px rgba(255, 255, 255, 0.82) inset,
    0 2px 4px rgba(41, 33, 78, 0.05),
    0 28px 72px rgba(41, 33, 78, 0.13);
  --care-radius: 30px;
  --care-gap: 20px;
}

html {
  scroll-padding-top: 112px;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 108px;
}

[hidden] {
  display: none !important;
}

.topbar,
.topbar.nav-hidden {
  position: fixed;
  z-index: 200;
  opacity: 1;
  transform: none;
}

.topbar.is-scrolled {
  border-bottom-color: rgba(71, 60, 118, 0.07);
  background: rgba(250, 250, 255, 0.76);
  box-shadow: 0 12px 36px rgba(39, 32, 74, 0.07);
  -webkit-backdrop-filter: blur(42px) saturate(185%);
  backdrop-filter: blur(42px) saturate(185%);
}

.nav-cta {
  min-width: 179px;
  white-space: nowrap;
}

.interactive {
  transition:
    transform 180ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 180ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.interactive:hover {
  transform: translateY(-2px) scale(1.012);
}

.interactive:active {
  transform: scale(0.97);
  transition-duration: 110ms;
}

.page-transition-layer {
  position: fixed;
  z-index: 2000;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 22% 30%, rgba(75, 111, 255, 0.2), transparent 34%),
    radial-gradient(circle at 78% 66%, rgba(133, 92, 232, 0.18), transparent 36%),
    rgba(248, 248, 255, 0.76);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  backdrop-filter: blur(28px) saturate(145%);
  transition: opacity 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.page-transition-layer::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--care-blue), var(--care-violet), transparent);
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0.45);
  transition:
    opacity 160ms ease,
    transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.is-page-leaving .page-transition-layer {
  opacity: 1;
}

body.is-page-leaving .page-transition-layer::after {
  opacity: 0.85;
  transform: translate(-50%, -50%) scaleX(1);
}

/* Product capabilities: compact introduction, sticky system rail and true Bento grid. */

body.product-page .product-main {
  overflow: clip;
}

body.product-page .product-modules {
  position: relative;
  isolation: isolate;
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(80px, 9vw, 132px);
  background: transparent;
}

body.product-page .product-modules::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  opacity: 1;
  background:
    linear-gradient(rgba(83, 75, 132, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 75, 132, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(75, 111, 255, 0.1), transparent 28%),
    radial-gradient(circle at 82% 38%, rgba(133, 92, 232, 0.09), transparent 31%);
  background-size: 36px 36px, 36px 36px, auto, auto;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
}

body.product-page .product-modules-heading {
  position: relative;
  display: grid;
  min-height: 220px;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 40px;
  margin: 0 0 36px;
  padding: 24px 0;
  overflow: hidden;
}

body.product-page .product-modules-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 44px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(111, 103, 210, 0.025));
}

body.product-page .product-modules-heading > div:first-child {
  z-index: 2;
}

body.product-page .product-modules-heading h2 {
  max-width: 640px;
  margin: 0;
  color: #4e567e;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 760;
  letter-spacing: -0.042em;
  line-height: 0.98;
}

body.product-page .module-heading-flow {
  position: relative;
  display: flex;
  width: min(100%, 420px);
  height: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

body.product-page .module-heading-flow::before {
  content: "";
  position: absolute;
  right: 7px;
  left: 7px;
  height: 1px;
  background: linear-gradient(90deg, rgba(75, 111, 255, 0.32), rgba(133, 92, 232, 0.22));
}

body.product-page .module-heading-flow i {
  position: relative;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--care-blue), var(--care-violet));
  box-shadow: 0 0 0 5px rgba(91, 104, 235, 0.07), 0 0 16px rgba(100, 91, 224, 0.22);
}

body.product-page .module-nebula-shell {
  position: relative;
  inset: auto;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0.88;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 76%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 76%);
}

body.product-page .module-nebula {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.96;
  filter: saturate(1.2) contrast(1.05);
}

.capability-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.capability-sidebar {
  position: sticky;
  z-index: 20;
  top: 106px;
  display: grid;
  gap: 16px;
  padding: 20px 14px 16px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(247, 246, 255, 0.46));
  box-shadow: var(--care-shadow);
  -webkit-backdrop-filter: blur(42px) saturate(175%);
  backdrop-filter: blur(42px) saturate(175%);
}

.capability-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.capability-sidebar > * {
  position: relative;
  z-index: 1;
}

.capability-sidebar-kicker {
  color: #72789b;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.capability-sidebar > strong {
  color: var(--care-ink);
  font-size: 15px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.capability-sidebar nav {
  position: relative;
  display: grid;
  gap: 4px;
}

.capability-sidebar nav::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 23px;
  width: 1px;
  background: linear-gradient(var(--care-blue), rgba(133, 92, 232, 0.22));
}

.capability-sidebar a {
  position: relative;
  display: grid;
  min-height: 42px;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 4px;
  border-radius: 13px;
  color: #777285;
  font-size: 12px;
  font-weight: 680;
}

.capability-sidebar a span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(92, 79, 151, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: #7c7690;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 12px rgba(50, 42, 88, 0.05);
}

.capability-sidebar a:hover {
  background: rgba(88, 95, 219, 0.06);
  color: #403a53;
}

.capability-sidebar a.is-active {
  color: #252139;
  background: linear-gradient(100deg, rgba(75, 111, 255, 0.1), rgba(133, 92, 232, 0.06));
}

.capability-sidebar a.is-active span {
  border-color: rgba(91, 91, 222, 0.16);
  background: linear-gradient(145deg, #5d78ff, #865ce8);
  color: white;
  box-shadow: 0 7px 18px rgba(87, 82, 207, 0.22);
}

.capability-sidebar > small {
  color: #918b9e;
  font-size: 9px;
  line-height: 1.55;
}

body.product-page .module-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--care-gap);
  overflow: visible;
}

body.product-page .module-timeline::before {
  display: none;
}

body.product-page .product-module,
body.product-page .product-module:nth-child(even) {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(330px, 1fr);
  align-items: stretch;
  gap: 22px;
  margin: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--care-radius);
  background:
    radial-gradient(circle at 88% 8%, rgba(133, 92, 232, 0.09), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(75, 111, 255, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.48);
  box-shadow: var(--care-shadow);
  -webkit-backdrop-filter: blur(34px) saturate(150%);
  backdrop-filter: blur(34px) saturate(150%);
  transition:
    transform 240ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 240ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 200ms ease;
}

body.product-page .product-module:hover {
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--care-shadow-hover);
  transform: translateY(-4px) scale(1.004);
}

body.product-page .product-module::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: 0.055;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
  mix-blend-mode: soft-light;
}

body.product-page .product-module::after {
  display: none;
}

body.product-page .product-module > * {
  position: relative;
  z-index: 1;
}

body.product-page .module-doni {
  grid-column: span 7;
}

body.product-page .module-decoder {
  grid-column: span 5;
}

body.product-page .module-router {
  grid-column: span 5;
}

body.product-page .module-orchestrator {
  grid-column: span 7;
}

body.product-page .module-memory {
  grid-column: 1 / -1;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: minmax(430px, auto);
}

body.product-page .module-copy,
body.product-page .product-module:nth-child(even) .module-copy {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  align-self: start;
  align-content: start;
  column-gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

body.product-page .module-copy::after {
  display: none;
}

body.product-page .module-copy .module-number {
  position: static;
  display: grid;
  width: 40px;
  height: 40px;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(91, 80, 150, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: #6c6881;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 7px 18px rgba(54, 45, 94, 0.055);
}

body.product-page .module-copy .section-kicker {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  color: #62698c;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.product-page .module-copy h3 {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--care-ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 760;
  letter-spacing: -0.048em;
  line-height: 1.01;
  overflow-wrap: normal;
  text-wrap: balance;
}

body.product-page .module-copy > p {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--care-copy);
  font-size: 14px;
  line-height: 1.58;
  overflow-wrap: normal;
  text-wrap: pretty;
}

body.product-page .module-copy > p strong {
  display: block;
  margin-bottom: 4px;
  color: #3e394c;
  font-weight: 720;
}

body.product-page .module-copy ul {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 4;
  grid-template-columns: 1fr;
  gap: 6px;
  width: 100%;
  max-width: none;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  list-style: none;
}

body.product-page .module-doni .module-copy ul,
body.product-page .module-orchestrator .module-copy ul,
body.product-page .module-memory .module-copy ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.product-page .module-copy li {
  position: relative;
  min-height: 0;
  padding: 10px 10px 10px 26px;
  overflow-wrap: normal;
  border: 1px solid rgba(79, 69, 128, 0.055);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.4);
  color: #6b6576;
  font-size: 10px;
  line-height: 1.38;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.68);
}

body.product-page .module-copy li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--care-blue), var(--care-violet));
  box-shadow: 0 0 0 4px rgba(91, 97, 225, 0.07);
}

body.product-page .module-visual,
body.product-page .product-module:nth-child(even) .module-visual {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 340px;
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background:
    linear-gradient(rgba(99, 89, 154, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 89, 154, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, rgba(135, 91, 226, 0.11), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(74, 119, 245, 0.09), transparent 35%),
    rgba(250, 250, 255, 0.46);
  background-size: 24px 24px, 24px 24px, auto, auto, auto;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.82);
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}

body.product-page .module-memory .module-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: 10px 8px;
}

body.product-page .module-memory .module-visual {
  min-height: 430px;
  grid-column: 2;
  grid-row: 1;
}

body.product-page .router-capability-visual,
body.product-page .cross-device-visual,
body.product-page .memory-visual {
  min-height: 390px;
}

body.product-page .router-capability-visual > canvas,
body.product-page .decoder-world-canvas,
body.product-page .memory-brain-canvas {
  inset: -4%;
  width: 108%;
  height: 108%;
}

body.product-page .router-capability-visual {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(111, 99, 235, 0.13), transparent 28%),
    rgba(250, 250, 255, 0.38);
  -webkit-mask-image: none;
  mask-image: none;
}

body.product-page .router-source-stack {
  top: 7%;
  right: 5%;
  left: 5%;
}

body.product-page .router-learning-chip {
  right: 5%;
  bottom: 5%;
  left: 5%;
}

body.product-page .decoder-world-focus {
  right: 5%;
  width: 42%;
  max-width: 230px;
  min-height: 45%;
}

body.product-page .cross-device-grid {
  inset: 8% 5% 10%;
}

body.product-page .cross-live-activity {
  right: 5%;
  bottom: 5%;
  left: 5%;
}

/* AI waiting and guided empty state. */

.workspace-flow-board {
  position: relative;
}

.workspace-result-skeleton {
  position: absolute;
  z-index: 30;
  inset: 116px 20px 22px;
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  grid-template-rows: 62px 1fr 48px;
  gap: 10px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(249, 249, 255, 0.72);
  box-shadow: 0 22px 60px rgba(44, 36, 80, 0.11);
  -webkit-backdrop-filter: blur(34px) saturate(160%);
  backdrop-filter: blur(34px) saturate(160%);
}

.workspace-result-skeleton .skeleton {
  min-height: 48px;
  border-radius: 14px;
}

.workspace-result-skeleton .skeleton:first-child {
  grid-column: 1 / -1;
}

.workspace-result-skeleton .skeleton:nth-child(2) {
  min-height: 190px;
}

.workspace-result-skeleton .skeleton:nth-child(3) {
  min-height: 190px;
}

.workspace-result-skeleton .skeleton:last-child {
  grid-column: 1 / -1;
}

.workspace-demo.is-processing .workspace-analysis {
  opacity: 0.3;
}

.workspace-empty-state {
  position: absolute;
  z-index: 40;
  right: 20px;
  bottom: 72px;
  display: flex;
  width: min(390px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: rgba(28, 26, 39, 0.92);
  color: white;
  box-shadow: 0 18px 50px rgba(30, 25, 55, 0.22);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  animation: empty-state-in 220ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

.workspace-empty-state > span {
  display: grid;
  gap: 2px;
}

.workspace-empty-state strong {
  font-size: 12px;
}

.workspace-empty-state small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
}

.workspace-empty-state button {
  min-height: 36px;
  padding: 0 12px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: white;
  color: #1c1928;
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
}

@keyframes empty-state-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Inline form validation. */

.early-access-form .is-invalid > span,
.early-access-form .audience-fieldset.is-invalid legend {
  color: #9d2f50;
}

.early-access-fields label.is-invalid input,
.early-access-fields label.is-invalid select,
.early-access-fields label.is-invalid textarea {
  border-color: rgba(173, 44, 83, 0.48);
  background: rgba(255, 246, 249, 0.9);
  box-shadow: 0 0 0 3px rgba(173, 44, 83, 0.08);
}

.field-message {
  display: block;
  min-height: 15px;
  margin: 5px 2px -3px;
  color: #a13a5a;
  font-size: 10px;
  font-weight: 620;
  line-height: 1.35;
}

.field-message:empty {
  min-height: 0;
  margin: 0;
}

.audience-fieldset > .field-message {
  margin-top: 7px;
}

@media (max-width: 1180px) {
  .capability-layout {
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 20px;
  }

  body.product-page .module-doni,
  body.product-page .module-decoder,
  body.product-page .module-router,
  body.product-page .module-orchestrator,
  body.product-page .module-memory {
    grid-column: 1 / -1;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    grid-template-rows: minmax(430px, auto);
  }

  body.product-page .product-module .module-copy,
  body.product-page .product-module:nth-child(even) .module-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  body.product-page .product-module .module-visual,
  body.product-page .product-module:nth-child(even) .module-visual {
    min-height: 430px;
    grid-column: 2;
    grid-row: 1;
  }

  body.product-page .module-copy ul,
  body.product-page .module-doni .module-copy ul,
  body.product-page .module-orchestrator .module-copy ul,
  body.product-page .module-memory .module-copy ul {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  body.product-page .product-modules-heading {
    min-height: 190px;
    grid-template-columns: 1fr 0.75fr;
  }

  .capability-layout {
    display: block;
  }

  .capability-sidebar {
    position: sticky;
    top: 76px;
    z-index: 80;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px;
    border-radius: 18px;
  }

  .capability-sidebar > strong,
  .capability-sidebar > small,
  .capability-sidebar-kicker {
    display: none;
  }

  .capability-sidebar nav {
    display: flex;
    width: 100%;
    gap: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .capability-sidebar nav::-webkit-scrollbar {
    display: none;
  }

  .capability-sidebar nav::before {
    display: none;
  }

  .capability-sidebar a {
    min-width: max-content;
    grid-template-columns: 28px auto;
    scroll-snap-align: start;
    padding-right: 12px;
  }

  body.product-page .module-timeline {
    gap: 16px;
  }

  body.product-page .module-doni,
  body.product-page .module-decoder,
  body.product-page .module-router,
  body.product-page .module-orchestrator,
  body.product-page .module-memory {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(400px, auto);
  }

  body.product-page .product-module .module-copy,
  body.product-page .product-module:nth-child(even) .module-copy {
    grid-column: 1;
    grid-row: 1;
  }

  body.product-page .product-module .module-visual,
  body.product-page .product-module:nth-child(even) .module-visual {
    min-height: 400px;
    grid-column: 1;
    grid-row: 2;
  }

}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 96px;
  }

  [id] {
    scroll-margin-top: 96px;
  }

  .topbar {
    min-height: 70px;
  }

  .nav-cta {
    min-width: 0;
    min-height: 44px;
    padding-inline: 15px;
  }

  body.product-page .product-modules {
    width: min(92vw, 560px);
    padding-top: 38px;
  }

  body.product-page .product-modules-heading {
    min-height: 170px;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 18px;
    padding: 16px 2px 20px;
  }

  body.product-page .product-modules-heading h2 {
    max-width: 310px;
    font-size: clamp(28px, 9vw, 40px);
  }

  body.product-page .module-heading-flow {
    max-width: 290px;
    margin-top: 22px;
  }

  body.product-page .module-nebula-shell {
    position: absolute;
    top: 0;
    right: -32%;
    width: 88%;
    height: 160px;
    opacity: 0.54;
  }

  .capability-sidebar {
    top: 72px;
    margin-inline: -2px;
  }

  .capability-sidebar a {
    font-size: 11px;
  }

  body.product-page .product-module,
  body.product-page .product-module:nth-child(even) {
    grid-template-rows: auto minmax(340px, auto);
    gap: 18px;
    padding: 20px;
    border-radius: 24px;
  }

  body.product-page .module-copy,
  body.product-page .product-module:nth-child(even) .module-copy {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  body.product-page .module-copy .module-number {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  body.product-page .module-copy .section-kicker {
    font-size: 8px;
  }

  body.product-page .module-copy h3 {
    margin-top: 18px;
    font-size: clamp(29px, 9vw, 39px);
    line-height: 1.02;
  }

  body.product-page .module-copy > p {
    font-size: 13px;
    line-height: 1.56;
  }

  body.product-page .module-copy ul,
  body.product-page .module-doni .module-copy ul,
  body.product-page .module-orchestrator .module-copy ul,
  body.product-page .module-memory .module-copy ul {
    grid-template-columns: 1fr;
  }

  body.product-page .module-visual,
  body.product-page .product-module:nth-child(even) .module-visual,
  body.product-page .router-capability-visual,
  body.product-page .cross-device-visual,
  body.product-page .memory-visual {
    min-height: 360px;
    padding: 14px;
    border-radius: 18px;
  }

  body.product-page .module-memory .module-visual {
    min-height: 390px;
  }

  body.product-page .decoder-world-focus {
    right: 4%;
    width: 46%;
    min-height: 42%;
  }

  .workspace-result-skeleton {
    inset: 102px 12px 18px;
    grid-template-columns: 1fr;
  }

  .workspace-result-skeleton .skeleton:nth-child(3) {
    display: none;
  }

  .workspace-result-skeleton .skeleton:first-child,
  .workspace-result-skeleton .skeleton:last-child {
    grid-column: 1;
  }

  .workspace-empty-state {
    right: 12px;
    bottom: 66px;
    width: calc(100% - 24px);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-transition-layer,
  .page-transition-layer::after,
  .workspace-empty-state,
  body.product-page .product-module {
    animation: none !important;
    transition-duration: 1ms !important;
  }

  body.product-page .product-module:hover {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .capability-sidebar,
  body.product-page .product-module,
  .workspace-result-skeleton,
  .workspace-empty-state {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Shared footer frame — the home and product pages use one optical baseline. */

@media (min-width: 761px) {
  .site-footer {
    min-height: 304px;
  }

  .footer-wordmark {
    bottom: 0;
  }

  .footer-root {
    bottom: 18px;
    min-height: 34px;
    padding-bottom: 0;
  }

  .footer-root a {
    margin-right: clamp(14px, 2vw, 42px);
  }
}

@media (min-width: 1181px) {
  .site-footer {
    min-height: 208px;
  }

  .footer-top {
    padding-top: 14px;
  }

  .footer-wordmark {
    bottom: 0;
    height: 280px;
  }
}

/* Full-width capability narrative and organization-specific ecosystem maps. */

body.product-page .product-modules.section-shell {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

body.product-page .product-modules-heading {
  width: var(--container);
  margin-inline: auto;
}

body.product-page .capability-layout {
  display: block;
}

body.product-page .capability-sidebar {
  position: sticky;
  z-index: 90;
  top: 84px;
  display: grid;
  width: var(--container);
  min-height: 68px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(245, 244, 255, 0.58));
  -webkit-backdrop-filter: blur(46px) saturate(185%);
  backdrop-filter: blur(46px) saturate(185%);
}

body.product-page .capability-sidebar-kicker,
body.product-page .capability-sidebar > small {
  display: none;
}

body.product-page .capability-sidebar > strong {
  max-width: 130px;
  font-size: 13px;
}

body.product-page .capability-sidebar nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

body.product-page .capability-sidebar nav::before {
  top: 50%;
  right: 6%;
  bottom: auto;
  left: 6%;
  width: auto;
  height: 1px;
}

body.product-page .capability-sidebar a {
  min-width: 0;
  min-height: 46px;
  grid-template-columns: 30px minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.46);
}

body.product-page .module-timeline {
  display: block;
  margin-top: 26px;
}

body.product-page .product-module,
body.product-page .product-module:nth-child(even),
body.product-page .module-memory {
  display: grid;
  width: 100%;
  min-height: clamp(720px, 76vh, 900px);
  grid-template-columns: minmax(420px, 0.95fr) minmax(460px, 1.05fr);
  grid-template-rows: minmax(620px, 1fr);
  align-items: stretch;
  gap: clamp(36px, 5vw, 88px);
  margin: 0;
  padding: clamp(54px, 6vw, 92px) var(--page-gutter);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 28%, rgba(75, 111, 255, 0.07), transparent 31%),
    radial-gradient(circle at 88% 68%, rgba(133, 92, 232, 0.065), transparent 33%),
    linear-gradient(180deg,
      rgba(250, 250, 255, 0) 0%,
      rgba(250, 250, 255, 0.16) 8%,
      rgba(250, 250, 255, 0.3) 22%,
      rgba(250, 250, 255, 0.3) 78%,
      rgba(250, 250, 255, 0.14) 92%,
      rgba(250, 250, 255, 0) 100%);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 220ms ease;
}

body.product-page .product-module:last-child {
  border-bottom: 0;
}

body.product-page .product-module:nth-child(even) {
  background:
    radial-gradient(circle at 84% 26%, rgba(133, 92, 232, 0.07), transparent 31%),
    radial-gradient(circle at 16% 74%, rgba(75, 111, 255, 0.06), transparent 33%),
    linear-gradient(180deg,
      rgba(246, 246, 255, 0) 0%,
      rgba(246, 246, 255, 0.2) 8%,
      rgba(246, 246, 255, 0.4) 22%,
      rgba(246, 246, 255, 0.4) 78%,
      rgba(246, 246, 255, 0.18) 92%,
      rgba(246, 246, 255, 0) 100%);
}

body.product-page .product-module:hover {
  z-index: auto;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

body.product-page .product-module::before {
  opacity: 0.045;
}

body.product-page .product-module:nth-child(odd) .module-copy,
body.product-page .product-module:nth-child(even) .module-visual {
  grid-column: 1;
}

body.product-page .product-module:nth-child(odd) .module-visual,
body.product-page .product-module:nth-child(even) .module-copy {
  grid-column: 2;
}

body.product-page .product-module .module-copy,
body.product-page .product-module:nth-child(even) .module-copy,
body.product-page .module-memory .module-copy {
  min-height: 620px;
  grid-row: 1;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: 46px auto auto minmax(60px, 1fr);
  align-self: stretch;
  align-content: stretch;
  padding: 2px 0;
}

body.product-page .module-copy h3 {
  max-width: 640px;
  margin-top: clamp(30px, 4.5vh, 52px);
  font-size: clamp(42px, 4.1vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.052em;
  text-wrap: initial;
}

body.product-page .module-copy h3 br {
  display: block;
}

body.product-page .module-decoder .module-copy h3,
body.product-page .module-orchestrator .module-copy h3,
body.product-page .module-memory .module-copy h3 {
  font-size: clamp(40px, 3.3vw, 58px);
}

body.product-page .module-copy > p {
  max-width: 590px;
  margin-top: clamp(28px, 4vh, 44px);
  font-size: 15px;
  line-height: 1.65;
}

body.product-page .module-copy ul,
body.product-page .module-doni .module-copy ul,
body.product-page .module-orchestrator .module-copy ul,
body.product-page .module-memory .module-copy ul {
  grid-template-columns: 1fr;
  align-self: end;
  gap: 8px;
  margin-top: 32px;
}

body.product-page .module-copy li {
  min-height: 44px;
  padding: 13px 14px 12px 31px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

body.product-page .module-copy li::before {
  top: 18px;
  left: 15px;
}

body.product-page .product-module .module-visual,
body.product-page .product-module:nth-child(even) .module-visual,
body.product-page .module-memory .module-visual,
body.product-page .router-capability-visual,
body.product-page .cross-device-visual,
body.product-page .memory-visual {
  position: relative;
  min-height: 620px;
  grid-row: 1;
  align-self: stretch;
  margin: 0;
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 34px;
  background:
    linear-gradient(rgba(95, 84, 153, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 84, 153, 0.024) 1px, transparent 1px),
    radial-gradient(circle at 74% 15%, rgba(140, 91, 230, 0.14), transparent 34%),
    radial-gradient(circle at 16% 82%, rgba(70, 119, 248, 0.11), transparent 36%),
    rgba(255, 255, 255, 0.5);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.58) inset,
    0 2px 4px rgba(46, 37, 83, 0.035),
    0 34px 90px rgba(46, 37, 83, 0.11);
  -webkit-backdrop-filter: blur(42px) saturate(175%);
  backdrop-filter: blur(42px) saturate(175%);
  transform: none;
}

body.product-page .module-visual::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body.product-page .module-visual > * {
  z-index: 1;
}

body.product-page .module-visual > canvas {
  z-index: 0;
}

/* Decoder: visible evidence is synthesized into one clear, source-grounded need. */

body.product-page .decoder-world-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 111, 255, 0.28), rgba(133, 92, 232, 0.38), transparent);
}

body.product-page .decoder-signal-grid {
  position: absolute;
  top: 11%;
  bottom: 11%;
  left: 5%;
  display: grid;
  width: 29%;
  align-content: space-between;
  gap: 10px;
}

body.product-page .decoder-signal-grid > span {
  position: relative;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 1px 9px;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 32px rgba(53, 44, 94, 0.07), inset 0 1px rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}

body.product-page .decoder-signal-grid > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: clamp(28px, 5vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 99, 225, 0.28), transparent);
}

body.product-page .decoder-signal-grid i {
  width: 8px;
  height: 8px;
  grid-row: 1 / span 2;
  align-self: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #4b6fff, #855ce8);
  box-shadow: 0 0 0 5px rgba(91, 99, 225, 0.07), 0 0 16px rgba(96, 85, 222, 0.2);
}

body.product-page .decoder-signal-grid small,
body.product-page .decoder-need-output small,
body.product-page .decoder-synthesis-core small {
  color: #8a8495;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.product-page .decoder-signal-grid strong {
  color: #3b3546;
  font-size: 10px;
  line-height: 1.3;
}

body.product-page .decoder-synthesis-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 27%;
  min-height: 176px;
  place-items: center;
  align-content: center;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(245, 242, 255, 0.58));
  box-shadow: 0 24px 58px rgba(64, 48, 111, 0.12), inset 0 1px rgba(255, 255, 255, 0.92);
  text-align: center;
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(32px) saturate(170%);
  backdrop-filter: blur(32px) saturate(170%);
}

body.product-page .decoder-pulse {
  position: relative;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}

body.product-page .decoder-pulse i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(102, 89, 221, 0.22);
  border-radius: 50%;
  animation: decoder-pulse 3.6s ease-out infinite;
}

body.product-page .decoder-pulse i:nth-child(2) { animation-delay: 1.2s; }
body.product-page .decoder-pulse i:nth-child(3) { animation-delay: 2.4s; }

body.product-page .decoder-synthesis-core strong {
  margin-top: 6px;
  color: #292335;
  font-size: 14px;
}

body.product-page .decoder-synthesis-core p {
  margin: 7px 0 0;
  color: #777181;
  font-size: 9px;
  line-height: 1.4;
}

body.product-page .decoder-need-output {
  position: absolute;
  top: 50%;
  right: 5%;
  display: grid;
  width: 29%;
  min-height: 236px;
  align-content: center;
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 10%, rgba(133, 92, 232, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 26px 64px rgba(59, 46, 103, 0.12), inset 0 1px rgba(255, 255, 255, 0.92);
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(34px) saturate(175%);
  backdrop-filter: blur(34px) saturate(175%);
}

body.product-page .decoder-need-output > strong {
  max-width: 190px;
  margin-top: 12px;
  color: #211c2b;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

body.product-page .decoder-need-output div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

body.product-page .decoder-need-output div span {
  padding: 6px 8px;
  border-radius: 9px;
  background: rgba(99, 88, 210, 0.065);
  color: #6f6880;
  font-size: 8px;
  font-weight: 680;
}

@keyframes decoder-pulse {
  0% { opacity: 0; transform: scale(0.28); }
  24% { opacity: 0.7; }
  100% { opacity: 0; transform: scale(1.35); }
}

/* Organization solution: three real audiences, dynamic outcomes and a legible ecosystem map. */

body.product-page .product-employers {
  padding-top: clamp(76px, 9vw, 132px);
}

body.product-page .product-employer-copy,
body.product-page .organization-engine,
body.product-page .product-partner-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--care-shadow);
  -webkit-backdrop-filter: blur(42px) saturate(170%);
  backdrop-filter: blur(42px) saturate(170%);
}

body.product-page .product-employer-copy::after,
body.product-page .organization-engine::after,
body.product-page .product-partner-cta::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body.product-page .product-employer-copy > *,
body.product-page .organization-engine > *,
body.product-page .product-partner-cta > * {
  position: relative;
  z-index: 1;
}

body.product-page .organization-types {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.product-page .organization-types button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

body.product-page .organization-types button.is-active {
  background: #1d1928;
  box-shadow: 0 12px 28px rgba(32, 25, 55, 0.18);
}

body.product-page .organization-engine {
  min-height: 900px;
  grid-template-rows: auto auto auto minmax(390px, 1fr);
  gap: 14px;
  padding: 24px;
}

body.product-page .organization-journey {
  min-height: 154px;
}

body.product-page .organization-journey span {
  min-height: 104px;
}

body.product-page .product-employer-outcomes article {
  min-height: 226px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(76px, 1fr) 4px;
  align-content: stretch;
  gap: 12px 10px;
  padding: 20px 18px;
  border-color: rgba(255, 255, 255, 0.74);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 46px rgba(50, 41, 89, 0.065), inset 0 1px rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
}

body.product-page .product-employer-outcomes article > span {
  grid-column: 1;
  grid-row: 1;
}

body.product-page .organization-outcome-copy {
  grid-column: 2;
  grid-row: 1;
  align-content: center;
}

body.product-page .organization-impact {
  display: grid;
  grid-column: 3;
  grid-row: 1;
  justify-items: end;
  align-content: center;
  gap: 1px;
}

body.product-page .organization-impact b {
  color: #282233;
  font-size: 22px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

body.product-page .organization-impact small {
  max-width: 88px;
  color: #8b8495;
  font-size: 7px;
  line-height: 1.25;
  text-align: right;
}

body.product-page .organization-outcome-viz {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 82px;
  min-height: 82px;
  padding-top: 8px;
}

body.product-page .organization-outcome-viz b {
  height: var(--bar-height, 52px);
  transition: height 420ms cubic-bezier(0.23, 1, 0.32, 1), opacity 220ms ease;
}

body.product-page .product-employer-outcomes article > i {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  grid-column: 1 / -1;
  grid-row: 3;
}

body.product-page .organization-scene {
  position: relative;
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 25px;
  background:
    linear-gradient(rgba(98, 86, 155, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 86, 155, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(111, 98, 232, 0.12), transparent 33%),
    rgba(255, 255, 255, 0.34);
  background-size: 26px 26px, 26px 26px, auto, auto;
  box-shadow: 0 24px 64px rgba(50, 40, 91, 0.08), inset 0 1px rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(34px) saturate(160%);
  backdrop-filter: blur(34px) saturate(160%);
  -webkit-mask-image: none;
  mask-image: none;
}

body.product-page .organization-scene canvas {
  z-index: 0;
  opacity: 0.32;
  filter: saturate(1.15) contrast(1.02) blur(0.2px);
}

body.product-page .organization-map-stack {
  position: absolute;
  z-index: 1;
  inset: 0;
}

body.product-page .organization-map {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .organization-map.is-active {
  opacity: 1;
  transform: none;
}

body.product-page .organization-map-links {
  position: absolute;
  inset: 4% 3% 9%;
  width: 94%;
  height: 87%;
  overflow: visible;
}

body.product-page .organization-map-links path {
  fill: none;
  stroke: url(#organization-gradient);
  stroke: rgba(103, 91, 217, 0.34);
  stroke-width: 1.2;
  stroke-dasharray: 5 7;
  animation: organization-route 9s linear infinite;
  vector-effect: non-scaling-stroke;
}

body.product-page .organization-map-node,
body.product-page .organization-map-emblem {
  position: absolute;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 38px rgba(53, 43, 94, 0.09), inset 0 1px rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
}

body.product-page .organization-map-node {
  width: min(22%, 170px);
  min-height: 68px;
  grid-template-columns: 10px minmax(0, 1fr);
  align-content: center;
  gap: 2px 8px;
  padding: 11px 12px;
  border-radius: 16px;
}

body.product-page .organization-map-node.node-a { top: 8%; left: 4%; }
body.product-page .organization-map-node.node-b { top: 8%; right: 4%; }
body.product-page .organization-map-node.node-c { bottom: 17%; left: 4%; }
body.product-page .organization-map-node.node-d { right: 4%; bottom: 17%; }

body.product-page .organization-map-node i {
  width: 8px;
  height: 8px;
  grid-row: 1 / span 2;
  align-self: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #4b6fff, #855ce8);
  box-shadow: 0 0 0 5px rgba(91, 99, 225, 0.07);
}

body.product-page .organization-map-node small,
body.product-page .organization-map-emblem small {
  color: #8d8697;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.product-page .organization-map-node strong {
  color: #443e4e;
  font-size: 9px;
  line-height: 1.25;
}

body.product-page .organization-map-emblem {
  top: 48%;
  left: 50%;
  width: min(30%, 220px);
  min-height: 156px;
  place-items: center;
  align-content: center;
  padding: 18px;
  border-radius: 29px;
  text-align: center;
  transform: translate(-50%, -50%);
}

body.product-page .organization-map-emblem svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: #685bd3;
  stroke-width: 1.45;
  filter: drop-shadow(0 8px 12px rgba(92, 83, 207, 0.15));
}

body.product-page .organization-map-emblem strong {
  margin-top: 4px;
  color: #282232;
  font-size: 15px;
}

body.product-page .organization-scene-copy {
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  max-width: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 13px;
  border-radius: 14px;
  background: rgba(29, 26, 40, 0.9);
  color: white;
}

body.product-page .organization-scene-copy small {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.64);
  text-align: right;
}

@keyframes organization-route {
  to { stroke-dashoffset: -72; }
}

@media (max-width: 1120px) {
  body.product-page .capability-sidebar {
    top: 74px;
    grid-template-columns: 1fr;
    padding: 8px;
  }

  body.product-page .capability-sidebar > strong {
    display: none;
  }

  body.product-page .product-module,
  body.product-page .product-module:nth-child(even),
  body.product-page .module-memory {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(540px, auto);
    gap: 38px;
    padding-block: 64px;
  }

  body.product-page .product-module .module-copy,
  body.product-page .product-module:nth-child(even) .module-copy,
  body.product-page .module-memory .module-copy {
    min-height: 520px;
    grid-column: 1;
    grid-row: 1;
  }

  body.product-page .product-module .module-visual,
  body.product-page .product-module:nth-child(even) .module-visual,
  body.product-page .module-memory .module-visual {
    min-height: 540px;
    grid-column: 1;
    grid-row: 2;
  }

  body.product-page .organization-solution {
    grid-template-columns: 1fr;
  }

  body.product-page .organization-engine {
    min-height: 860px;
  }
}

@media (max-width: 720px) {
  body.product-page .product-modules-heading {
    width: min(92vw, 560px);
  }

  body.product-page .capability-sidebar {
    width: calc(100% - 24px);
    border-radius: 18px;
  }

  body.product-page .capability-sidebar nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.product-page .capability-sidebar a {
    min-width: max-content;
    padding-right: 13px;
  }

  body.product-page .product-module,
  body.product-page .product-module:nth-child(even),
  body.product-page .module-memory {
    grid-template-rows: auto minmax(500px, auto);
    gap: 28px;
    padding: 52px 20px;
  }

  body.product-page .product-module .module-copy,
  body.product-page .product-module:nth-child(even) .module-copy,
  body.product-page .module-memory .module-copy {
    min-height: 500px;
  }

  body.product-page .module-copy h3 {
    font-size: clamp(38px, 12vw, 54px);
  }

  body.product-page .product-module .module-visual,
  body.product-page .product-module:nth-child(even) .module-visual,
  body.product-page .module-memory .module-visual,
  body.product-page .router-capability-visual,
  body.product-page .cross-device-visual,
  body.product-page .memory-visual {
    min-height: 500px;
    padding: 16px;
    border-radius: 26px;
  }

  body.product-page .decoder-world-visual::before {
    top: 46%;
    right: 50%;
    bottom: 11%;
    left: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(88, 99, 224, 0.32), rgba(133, 92, 232, 0.38), transparent);
  }

  body.product-page .decoder-signal-grid {
    top: 5%;
    right: 5%;
    bottom: auto;
    left: 5%;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.product-page .decoder-signal-grid > span::after {
    display: none;
  }

  body.product-page .decoder-synthesis-core {
    top: 52%;
    width: 54%;
    min-height: 138px;
  }

  body.product-page .decoder-need-output {
    top: auto;
    right: 8%;
    bottom: 5%;
    left: 8%;
    width: auto;
    min-height: 122px;
    transform: none;
  }

  body.product-page .decoder-need-output > strong {
    font-size: 22px;
  }

  body.product-page .decoder-need-output div {
    margin-top: 12px;
  }

  body.product-page .organization-engine {
    min-height: 0;
    grid-template-rows: auto auto auto minmax(460px, auto);
    padding: 14px;
  }

  body.product-page .organization-journey {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.product-page .organization-journey > i {
    width: 1px;
    height: 18px;
    margin-inline: auto;
  }

  body.product-page .product-employer-outcomes {
    grid-template-columns: 1fr;
  }

  body.product-page .product-employer-outcomes article {
    min-height: 210px;
  }

  body.product-page .organization-scene {
    min-height: 460px;
  }

  body.product-page .organization-map-node {
    width: 39%;
  }

  body.product-page .organization-map-node.node-a { top: 5%; left: 4%; }
  body.product-page .organization-map-node.node-b { top: 5%; right: 4%; }
  body.product-page .organization-map-node.node-c { bottom: 21%; left: 4%; }
  body.product-page .organization-map-node.node-d { right: 4%; bottom: 21%; }

  body.product-page .organization-map-emblem {
    width: 48%;
    min-height: 142px;
  }

  body.product-page .organization-scene-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  body.product-page .organization-scene-copy small {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .decoder-pulse i,
  body.product-page .organization-map-links path {
    animation: none !important;
  }

  body.product-page .organization-map {
    transition: opacity 160ms ease;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.product-page .module-visual,
  body.product-page .product-employer-copy,
  body.product-page .organization-engine,
  body.product-page .organization-scene,
  body.product-page .organization-map-node,
  body.product-page .organization-map-emblem {
    background-color: rgba(250, 250, 255, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Seamless ecosystem ribbon — dissolve the university, team, company and footer joins. */

.marquee-section {
  position: relative;
  isolation: isolate;
  padding-block: 44px 50px;
  overflow: visible;
  background: transparent;
}

.marquee-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -74px 0 -150px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 14% 24%, rgba(80, 112, 255, 0.085), transparent 40%),
    radial-gradient(ellipse at 14% 76%, rgba(87, 116, 246, 0.075), transparent 43%),
    radial-gradient(ellipse at 50% 82%, rgba(123, 105, 225, 0.06), transparent 45%),
    radial-gradient(ellipse at 84% 72%, rgba(151, 91, 236, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(247, 247, 255, 0.04), rgba(247, 247, 255, 0.58) 34%, rgba(249, 247, 254, 0.5) 74%, rgba(249, 247, 254, 0.02));
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
}

.marquee-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 0 7%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255, 255, 255, 0.72), transparent 42%),
    radial-gradient(ellipse at 50% 76%, rgba(255, 255, 255, 0.54), transparent 44%);
  filter: blur(22px);
  opacity: 0.72;
}

.marquee-section > * {
  position: relative;
  z-index: 1;
}

.marquee-section .logo-marquee {
  padding-block: 12px;
}

.marquee-section .team-marquee-section {
  margin-block: 0;
  padding-block: 18px 20px;
  background: transparent;
}

.site-footer {
  margin-top: -1px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer::before {
  display: none;
}

/* Keep the oversized wordmark atmospheric; functional footer copy stays fully legible. */

.footer-wordmark {
  opacity: 0.88;
  -webkit-mask-image: linear-gradient(
    102deg,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.76) 15%,
    rgba(0, 0, 0, 0.48) 34%,
    rgba(0, 0, 0, 0.9) 52%,
    rgba(0, 0, 0, 0.44) 73%,
    rgba(0, 0, 0, 0.72) 89%,
    rgba(0, 0, 0, 0.28) 100%
  );
  mask-image: linear-gradient(
    102deg,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.76) 15%,
    rgba(0, 0, 0, 0.48) 34%,
    rgba(0, 0, 0, 0.9) 52%,
    rgba(0, 0, 0, 0.44) 73%,
    rgba(0, 0, 0, 0.72) 89%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

.footer-wordmark text {
  fill: rgba(45, 39, 61, 0.04);
}

@media (max-width: 640px) {
  .marquee-section {
    padding-block: 32px 38px;
  }

  .marquee-section::before {
    inset-block: -50px -104px;
  }

  .marquee-section .team-marquee-section {
    padding-block: 12px 14px;
  }
}
