:root {
  --cx-paper: #f3f0e8;
  --cx-paper-2: #faf8f2;
  --cx-ink: #101216;
  --cx-soft: #565c66;
  --cx-rule: rgba(16, 18, 22, 0.16);
  --cx-night: #080a0f;
  --cx-night-2: #11151d;
  --cx-white: #fbfbf7;
  --cx-cyan: #31b8ca;
  --cx-violet: #7b62dc;
  --cx-magenta: #c94f82;
  --cx-orange: #d86f3d;
  --cx-green: #1b9a73;
  --cx-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.go-page {
  background: var(--cx-paper);
  color: var(--cx-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.go-page .gradient-text {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.cx-shell {
  margin: 0 auto;
  max-width: 1440px;
  padding-left: clamp(16px, 3vw, 42px);
  padding-right: clamp(16px, 3vw, 42px);
}

.cx-kicker {
  color: #646a74;
  font: 700 11px/1.4 var(--cx-mono);
  letter-spacing: 0.14em;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.cx-hero {
  padding: 20px 0 0;
}

.cx-hero-grid {
  display: grid;
  grid-template-columns: minmax(440px, 0.82fr) minmax(620px, 1.18fr);
  min-height: 620px;
}

.cx-hero-copy {
  align-content: center;
  background: var(--cx-paper-2);
  border: 1px solid var(--cx-rule);
  display: grid;
  padding: clamp(42px, 5vw, 76px);
}

.cx-hero h1 {
  font-size: clamp(50px, 5.4vw, 82px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin: 0;
}

.cx-hero h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--cx-cyan);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

.cx-lead {
  color: var(--cx-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.58;
  margin: 30px 0 0;
  max-width: 620px;
}

.cx-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 760;
  gap: 23px;
  margin-top: 30px;
}

.cx-actions .btn-primary,
.cx-final .btn-primary {
  background: var(--cx-ink);
  border-color: var(--cx-ink);
  color: var(--cx-white);
}

.cx-actions > a:not(.btn-primary),
.cx-final a:not(.btn-primary) {
  border-bottom: 1px solid currentColor;
  color: var(--cx-ink);
  padding-bottom: 3px;
}

.cx-fine {
  color: #696f78;
  font-size: 12px;
  margin: 18px 0 0;
}

.cx-constellation {
  background: var(--cx-night);
  border: 1px solid var(--cx-night);
  color: var(--cx-white);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
  overflow: hidden;
  padding: 26px 30px 22px;
  position: relative;
}

.cx-constellation::before {
  background: linear-gradient(90deg, var(--cx-violet), var(--cx-magenta), var(--cx-orange), var(--cx-cyan));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.cx-constellation-head,
.cx-scene-top {
  align-items: center;
  color: #9ba3ae;
  display: flex;
  font: 700 11px/1.4 var(--cx-mono);
  justify-content: space-between;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cx-orbit {
  min-height: 410px;
  position: relative;
}

.cx-orbit > svg {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.cx-path {
  animation: cx-path-flow 14s linear infinite;
  fill: none;
  opacity: 0.7;
  stroke: #445063;
  stroke-dasharray: 6 8;
  stroke-width: 1.4;
}

@keyframes cx-path-flow {
  to { stroke-dashoffset: -140; }
}

.cx-path-a { stroke: var(--cx-violet); }
.cx-path-b { stroke: var(--cx-cyan); }
.cx-path-c { stroke: var(--cx-magenta); }
.cx-path-d { stroke: var(--cx-orange); }

.cx-orbit-node,
.cx-fingerprint {
  background: #111620;
  border: 1px solid #2a3342;
  color: var(--cx-white);
  display: grid;
  gap: 4px;
  padding: 13px;
  position: absolute;
  text-align: left;
  width: 164px;
  z-index: 2;
}

.cx-orbit-node small {
  color: #8d96a5;
  font: 700 11px var(--cx-mono);
}

.cx-orbit-node strong {
  font-size: 13px;
  font-weight: 720;
}

.cx-orbit-node span {
  color: #aeb6c1;
  font-size: 11px;
  line-height: 1.4;
}

.cx-node-ask { left: 0; top: 42%; }
.cx-node-understand { left: 18%; top: 7%; }
.cx-node-answer { right: 18%; top: 7%; }
.cx-node-check { right: 0; top: 42%; }
.cx-node-keep { bottom: 1%; left: calc(50% - 82px); }

.cx-fingerprint {
  align-items: center;
  background: #0b0e14;
  border-color: #4d586a;
  border-radius: 50%;
  cursor: pointer;
  height: 156px;
  justify-items: center;
  left: calc(50% - 78px);
  padding: 14px;
  top: calc(45% - 78px);
  width: 156px;
}

.cx-fingerprint::after {
  border: 1px solid rgba(49, 184, 202, 0.38);
  border-radius: 50%;
  content: "";
  inset: -14px;
  position: absolute;
}

.cx-fingerprint img {
  border-radius: 50%;
  height: 88px;
  width: 88px;
}

.cx-fingerprint span {
  color: #d8dde5;
  font: 700 11px var(--cx-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cx-fingerprint:hover,
.cx-fingerprint[aria-expanded="true"] {
  border-color: var(--cx-cyan);
}

.cx-fingerprint-note {
  align-items: start;
  background: #151a23;
  border: 1px solid #344051;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.5fr 1fr;
  margin: 0 0 14px;
  padding: 18px;
}

.cx-fingerprint-note[hidden] { display: none; }
.cx-fingerprint-note strong { font-size: 15px; }
.cx-fingerprint-note p { color: #bdc4ce; font-size: 12px; line-height: 1.5; margin: 7px 0 0; }
.cx-fingerprint-note > div:last-child { display: grid; gap: 8px; justify-items: start; }
.cx-fingerprint-note a { color: #8ddce5; font-size: 11px; font-weight: 700; }
.cx-constellation.is-fingerprint-open .cx-orbit { min-height: 260px; transform: scale(0.86); transform-origin: center; }

.cx-constellation-foot {
  border-top: 1px solid #28303d;
  color: #a8b0bc;
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
  padding-top: 14px;
}

.cx-theater {
  padding: 82px 0 72px;
}

.cx-heading-row {
  align-items: end;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.cx-heading-row h2,
.cx-entry h2 {
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 640;
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0;
}

.cx-heading-row > p,
.cx-entry-copy > p:last-child {
  color: var(--cx-soft);
  font-size: 16px;
  line-height: 1.62;
  margin: 0;
}

.cx-mode-switch {
  display: flex;
  gap: 4px;
  margin: 34px 0 12px;
}

.cx-mode-switch button,
.cx-mode-switch a,
.cx-depth-switch button,
.cx-story-controls button {
  background: transparent;
  border: 1px solid var(--cx-rule);
  color: var(--cx-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 730;
  padding: 10px 14px;
}

.cx-mode-switch a { text-decoration: none; }

.cx-mode-switch button[aria-pressed="true"],
.cx-mode-switch a[aria-pressed="true"],
.cx-depth-switch button[aria-pressed="true"] {
  background: var(--cx-ink);
  border-color: var(--cx-ink);
  color: var(--cx-white);
}

.cx-job-tabs {
  border: 1px solid var(--cx-rule);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cx-job-tabs button {
  background: #ebe8e0;
  border: 0;
  border-right: 1px solid var(--cx-rule);
  color: #4e545e;
  cursor: pointer;
  display: grid;
  font-size: 12px;
  font-weight: 720;
  gap: 8px;
  min-height: 74px;
  padding: 13px;
  text-align: left;
}

.cx-job-tabs button:last-child { border-right: 0; }
.cx-job-tabs button span { color: #565c66; font: 700 11px var(--cx-mono); }
.cx-job-tabs button[aria-selected="true"] { background: var(--cx-paper-2); box-shadow: inset 0 3px 0 var(--scene-accent, var(--cx-orange)); color: var(--cx-ink); }

.cx-stage {
  --scene-accent: var(--cx-orange);
  background: var(--cx-paper-2);
  border: 1px solid var(--cx-rule);
  border-top: 0;
  display: grid;
  grid-template-columns: minmax(370px, 0.74fr) minmax(620px, 1.26fr);
  min-height: 620px;
}

.cx-mobile-stage-tabs { display: none; }

.cx-stage[data-scene-kind="remember"] { --scene-accent: var(--cx-magenta); }
.cx-stage[data-scene-kind="connect"] { --scene-accent: var(--cx-green); }
.cx-stage[data-scene-kind="route"] { --scene-accent: var(--cx-violet); }
.cx-stage[data-scene-kind="media"] { --scene-accent: var(--cx-cyan); }
.cx-stage[data-scene-kind="build"] { --scene-accent: var(--cx-orange); }

.cx-stage-copy {
  align-content: start;
  border-right: 1px solid var(--cx-rule);
  display: grid;
  padding: clamp(28px, 3.7vw, 52px);
}

.cx-stage-copy h3,
.cx-story-head h3 {
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 640;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 0;
}

.cx-stage-lead {
  color: var(--cx-soft);
  font-size: 16px;
  line-height: 1.58;
  margin: 22px 0 0;
}

.cx-beta {
  background: #fff2bf;
  border: 1px solid #c89d22;
  color: #58420c;
  font: 700 11px var(--cx-mono);
  letter-spacing: 0.09em;
  margin-top: 18px;
  padding: 6px 8px;
  text-transform: uppercase;
  width: max-content;
}

.cx-depth-switch {
  display: flex;
  gap: 4px;
  margin-top: 30px;
}

.cx-depth-copy {
  color: #3f454e;
  font-size: 13px;
  line-height: 1.58;
  margin: 15px 0 0;
}

.cx-signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.cx-signal-list span {
  border: 1px solid var(--cx-rule);
  color: #565c66;
  font: 650 11px var(--cx-mono);
  padding: 6px 8px;
}

.cx-stage-link {
  align-items: center;
  border-top: 1px solid var(--cx-rule);
  color: var(--cx-ink);
  display: flex;
  font-size: 12px;
  font-weight: 760;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
}

.cx-stage-link span:last-child { color: var(--scene-accent); font-size: 18px; }

.cx-scene {
  background-color: var(--cx-night);
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--cx-white);
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  padding: 25px;
}

.cx-scene-top [data-scene-status] { color: var(--scene-accent); }
.cx-scene-state { align-items: center; display: flex; gap: 9px; }
.cx-scene-beta { border: 1px solid currentColor; color: var(--scene-accent); display: none; font: 700 9px/1 var(--cx-mono); letter-spacing: 0.08em; padding: 5px 7px; text-transform: uppercase; }

.cx-flow {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 48px minmax(140px, 1fr) 48px minmax(130px, 1fr);
  margin-top: 30px;
}

.cx-flow-node,
.cx-flow-core {
  align-content: center;
  background: rgba(16, 21, 29, 0.96);
  border: 1px solid #303a49;
  color: var(--cx-white);
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 17px;
  text-align: left;
}

.cx-flow-node small,
.cx-flow-core small {
  color: #9aa3af;
  font: 700 11px/1.4 var(--cx-mono);
  text-transform: uppercase;
}

.cx-flow-node strong { font-size: 14px; line-height: 1.4; }
.cx-flow-core { border-color: var(--scene-accent); cursor: pointer; justify-items: start; }
.cx-flow-core img { border-radius: 50%; }
.cx-flow-core span { font-size: 15px; font-weight: 760; }

.cx-flow-arrow {
  align-items: center;
  display: flex;
  padding: 0 8px;
}

.cx-flow-arrow i {
  background: #485464;
  height: 1px;
  position: relative;
  width: 100%;
}

.cx-flow-arrow i::before {
  animation: cx-signal 2.4s ease-in-out infinite;
  background: var(--scene-accent);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: -2px;
  width: 5px;
}

.cx-flow-arrow i::after {
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--scene-accent);
  border-top: 4px solid transparent;
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
}

.cx-specialists {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin: 22px auto 0;
  max-width: 680px;
}

.cx-specialists span {
  animation: cx-arrive 300ms ease both;
  animation-delay: calc(var(--cx-order) * 35ms);
  background: #151b25;
  border: 1px solid #303b4b;
  border-top-color: var(--scene-accent);
  color: #c8ced7;
  font: 650 11px var(--cx-mono);
  padding: 8px 10px;
}

.cx-scene-detail {
  align-self: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  min-height: 265px;
}

.cx-scene-detail[hidden] { display: none; }
.cx-scene-detail article { align-content: end; background: #111720; border: 1px solid #303a49; border-top: 2px solid var(--scene-accent); display: grid; gap: 8px; padding: 18px; }
.cx-scene-detail small { color: #8f99a6; font: 700 11px var(--cx-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.cx-scene-detail strong { font-size: 14px; line-height: 1.35; }
.cx-scene-detail span { color: #aeb6c1; font-size: 11px; line-height: 1.48; }

@keyframes cx-arrive {
  from { opacity: 0.45; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cx-signal {
  0%, 15% { left: 0; opacity: 0; }
  35%, 75% { opacity: 1; }
  100% { left: calc(100% - 5px); opacity: 0; }
}

.cx-core-note {
  background: #151a23;
  border: 1px solid #354154;
  margin-top: 18px;
  padding: 16px;
}

.cx-core-note[hidden] { display: none; }
.cx-core-note strong { color: var(--scene-accent); font-size: 13px; }
.cx-core-note p { color: #bbc2cc; font-size: 11px; line-height: 1.5; margin: 7px 0 0; }

.cx-artifact {
  align-self: end;
  border: 1px solid #303a48;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.5fr);
  margin: 22px 0 0;
  min-height: 210px;
  overflow: hidden;
}

.cx-artifact[hidden] { display: none; }
.cx-artifact img { background: #0a0d12; height: 230px; object-fit: cover; object-position: top center; width: 100%; }
.cx-artifact figcaption { align-content: end; background: #121721; display: grid; gap: 9px; padding: 18px; }
.cx-artifact figcaption strong { font-size: 13px; line-height: 1.35; }
.cx-artifact figcaption span { color: #aab2bd; font-size: 11px; line-height: 1.48; }

.cx-story-mode {
  background: var(--cx-paper-2);
  border: 1px solid var(--cx-rule);
}

.cx-story-mode[hidden],
.cx-product-mode[hidden] { display: none; }

.cx-story-head {
  align-items: end;
  border-bottom: 1px solid var(--cx-rule);
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto;
  padding: clamp(28px, 4vw, 50px);
}

.cx-story-head p:last-child { color: var(--cx-soft); font-size: 14px; line-height: 1.55; margin: 16px 0 0; max-width: 720px; }
.cx-story-head > a { border-bottom: 1px solid currentColor; color: var(--cx-ink); font-size: 12px; font-weight: 760; padding-bottom: 4px; }

.cx-story-workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: min(72vh, 760px);
}

.cx-story-index {
  border-right: 1px solid var(--cx-rule);
  padding: 20px;
}

.cx-story-index label {
  color: var(--cx-soft);
  display: flex;
  font: 700 11px var(--cx-mono);
  justify-content: space-between;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cx-story-index select {
  background: var(--cx-paper-2);
  border: 1px solid var(--cx-rule);
  font-size: 12px;
  margin: 12px 0;
  padding: 10px;
  width: 100%;
}

.cx-story-index > nav { display: grid; gap: 3px; }
.cx-story-index button { align-items: center; background: transparent; border: 0; color: #555b65; cursor: pointer; display: grid; font-size: 11px; font-weight: 680; gap: 10px; grid-template-columns: 25px 1fr; padding: 8px; text-align: left; }
.cx-story-index button span { color: #535a64; font: 700 11px var(--cx-mono); }
.cx-story-index button[aria-pressed="true"] { background: var(--cx-ink); color: var(--cx-white); }
.cx-story-index button[aria-pressed="true"] span { color: var(--cx-cyan); }

.cx-story-reader {
  height: min(72vh, 760px);
  min-width: 0;
  overflow: auto;
  scroll-behavior: smooth;
}

.pd-story-beat { padding: clamp(28px, 4vw, 58px); }
.pd-story-heading { border-bottom: 1px solid var(--cx-rule); margin-bottom: 25px; padding-bottom: 22px; }
.pd-story-heading h3 { font-size: clamp(34px, 4vw, 58px); font-weight: 630; letter-spacing: -0.055em; line-height: 0.98; margin: 0; }
.pd-story-heading h3 .gradient-text { color: #0d7480; }
.pd-story-plain { color: var(--cx-soft); font-size: 16px; line-height: 1.62; max-width: 900px; }
.pd-story-plain p { margin: 0 0 14px; }
.pd-beta-label { background: #fff2bf; border: 1px solid #c89d22; color: #58420c; display: inline-block; font: 700 11px var(--cx-mono); letter-spacing: 0.08em; margin-top: 14px; padding: 6px 8px; text-transform: uppercase; }
.pd-beta-note { color: var(--cx-soft); font-size: 12px; line-height: 1.5; margin: 10px 0 0; }
.pd-depth-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
.pd-depth-card { border: 1px solid var(--cx-rule); padding: 19px; }
.pd-depth-card h4 { font-size: 15px; margin: 0 0 12px; }
.pd-depth-card p, .pd-depth-card li { color: var(--cx-soft); font-size: 13px; line-height: 1.58; }
.pd-depth-card ul, .pd-depth-card ol { padding-left: 20px; }
.pd-depth-card pre { background: #141821; color: #d7dce4; font: 11px/1.55 var(--cx-mono); overflow-x: auto; padding: 15px; white-space: pre-wrap; }
.pd-depth-card table { border-collapse: collapse; font-size: 12px; min-width: 680px; width: 100%; }
.pd-depth-card th, .pd-depth-card td { border: 1px solid var(--cx-rule); padding: 9px; text-align: left; vertical-align: top; }
.pd-story-example { border: 1px solid var(--cx-rule); display: block; margin: 24px 0; }
.cx-story-reader .story-demo { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); margin: 0; }
.cx-story-reader .story-demo-pane { min-width: 0; padding: 20px; }
.cx-story-reader .story-demo-out { border-left: 1px solid var(--cx-rule); }
.cx-story-reader .story-demo-label { color: var(--cx-soft); font: 700 11px var(--cx-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.cx-story-reader .story-demo-raw, .cx-story-reader .story-demo-heard, .cx-story-reader .story-demo-result { font-size: 14px; line-height: 1.5; min-height: 0; opacity: 1; transform: none; }
.cx-story-reader .story-demo-raw::after { display: none; }
.cx-story-reader .story-demo-arrow { align-items: center; color: #0d7480; display: flex; justify-content: center; opacity: 1; }
.cx-story-reader .story-demo-arrow svg { height: 24px; width: 24px; }
.cx-story-reader .story-demo-note { border-top: 1px solid var(--cx-rule); color: var(--cx-soft); font-size: 12px; margin: 0; padding: 13px 18px; }
.pd-story-visual { margin: 24px 0; }
.pd-story-visual img { display: block; max-width: 100%; }
.pd-story-next { margin: 26px 0 0; }
.pd-story-next a { border-bottom: 1px solid currentColor; font-weight: 730; }
.cx-story-reader a.story-link { color: #0b5f68 !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.cx-story-controls {
  border-top: 1px solid var(--cx-rule);
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  padding: 12px 20px;
}

.cx-story-controls button:disabled { cursor: not-allowed; opacity: 0.4; }

.cx-proof-strip {
  align-items: center;
  background: var(--cx-ink);
  color: var(--cx-white);
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 17px 20px;
}

.cx-proof-strip p { font-size: 12px; margin: 0; }
.cx-proof-strip p span, .cx-proof-strip p small { color: #bcc3cd; display: inline-block; margin-left: 8px; }
.cx-proof-strip p small { font: 650 11px var(--cx-mono); }
.cx-proof-strip > a { color: #8ddce5; font: 700 11px var(--cx-mono); letter-spacing: 0.07em; text-transform: uppercase; }

.cx-entry {
  background: var(--cx-night);
  color: var(--cx-white);
  padding: 76px 0 0;
}

.cx-entry-copy {
  align-items: end;
  display: grid;
  gap: 50px;
  grid-template-columns: 1.2fr 0.8fr;
}

.cx-entry .cx-kicker { color: #9da6b3; }
.cx-entry-copy h2 { max-width: 830px; }
.cx-entry-copy > p:last-child { color: #b7bec8; }

.cx-product-rail {
  border-bottom: 1px solid #2d3440;
  border-top: 1px solid #2d3440;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 40px;
}

.cx-product-rail a {
  border-right: 1px solid #2d3440;
  color: var(--cx-white);
  display: grid;
  gap: 8px;
  min-height: 155px;
  padding: 22px;
}

.cx-product-rail a:last-child { border-right: 0; }
.cx-product-rail a:hover { background: #121721; }
.cx-product-rail span { color: var(--cx-cyan); font: 700 11px var(--cx-mono); text-transform: uppercase; }
.cx-product-rail strong { font-size: 15px; }
.cx-product-rail small { color: #adb5c0; font-size: 11px; line-height: 1.45; }

.cx-final {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr auto;
  padding: 64px 0;
}

.cx-final h3 { font-size: clamp(28px, 3.5vw, 46px); font-weight: 630; letter-spacing: -0.05em; line-height: 1; margin: 0; max-width: 850px; }
.cx-final p:not(.cx-kicker) { color: #b7bec8; font-size: 15px; line-height: 1.6; max-width: 760px; }
.cx-final > div:last-child { align-items: flex-start; display: flex; flex-direction: column; gap: 18px; }
.cx-final a:not(.btn-primary) { color: var(--cx-white); }

.go-page .cx-mega-menu {
  background: var(--cx-paper-2);
  border-bottom: 1px solid var(--cx-rule);
  box-shadow: 0 24px 60px rgba(5, 7, 10, 0.2);
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(240px, 0.7fr) minmax(620px, 1.3fr);
  left: 0;
  padding: 34px max(30px, calc((100vw - 1180px) / 2));
  position: absolute;
  right: 0;
  top: 74px;
  z-index: 80;
}

.go-page .cx-mega-menu[hidden] { display: none; }
.cx-mega-intro { display: grid; gap: 10px; }
.cx-mega-intro > span { color: var(--cx-soft); font: 700 11px var(--cx-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.cx-mega-intro > strong { font-size: 19px; font-weight: 620; line-height: 1.35; }
.cx-mega-intro > a { color: var(--cx-ink); font-size: 11px; font-weight: 740; margin-top: 8px; }
.cx-mega-intro b { color: var(--cx-cyan); margin-left: 6px; }
.cx-mega-links { display: grid; gap: 9px; grid-template-columns: repeat(3, 1fr); }
.cx-mega-links a { border: 1px solid var(--cx-rule); color: var(--cx-ink); display: grid; gap: 8px; min-height: 112px; padding: 17px; }
.cx-mega-links a:hover { border-color: var(--cx-ink); }
.cx-mega-links strong { font-size: 12px; }
.cx-mega-links span { color: var(--cx-soft); font-size: 11px; line-height: 1.45; }

.go-page a:focus-visible,
.go-page button:focus-visible,
.go-page select:focus-visible,
.cx-story-reader:focus-visible {
  outline: 3px solid var(--cx-cyan);
  outline-offset: 3px;
}

.go-page .footer {
  padding-top: 0;
}

.go-page .footer-copy a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.go-page .footer-top {
  gap: 32px;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  padding-bottom: 28px;
  padding-top: 32px;
}

.go-page .footer-brand-desc { max-width: 340px; }
.go-page .footer-social { margin-top: 18px; }
.go-page .footer-bottom { padding-bottom: 20px; padding-top: 18px; }

@media (max-width: 1120px) {
  .cx-hero-grid { grid-template-columns: 1fr; }
  .cx-constellation { min-height: 580px; }
  .cx-stage { grid-template-columns: minmax(320px, 0.8fr) minmax(480px, 1.2fr); }
  .cx-job-tabs { grid-template-columns: repeat(3, 1fr); }
  .cx-job-tabs button:nth-child(3) { border-right: 0; }
  .cx-job-tabs button:nth-child(-n+3) { border-bottom: 1px solid var(--cx-rule); }
  .go-page .cx-mega-menu { display: none; }
}

@media (max-width: 860px) {
  .cx-heading-row,
  .cx-entry-copy,
  .cx-final { align-items: start; grid-template-columns: 1fr; }
  .cx-stage { display: block; min-height: 650px; position: relative; }
  .cx-mobile-stage-tabs { background: var(--cx-paper-2); border-bottom: 1px solid var(--cx-rule); display: flex; padding: 8px; position: sticky; top: 73px; z-index: 4; }
  .cx-mobile-stage-tabs button { background: transparent; border: 1px solid var(--cx-rule); color: var(--cx-ink); flex: 1; font-size: 11px; font-weight: 730; padding: 9px; }
  .cx-mobile-stage-tabs button[aria-pressed="true"] { background: var(--cx-ink); color: var(--cx-white); }
  .cx-stage-copy { border-bottom: 0; border-right: 0; min-height: 600px; }
  .cx-stage.is-mobile-scene .cx-stage-copy { display: none; }
  .cx-stage:not(.is-mobile-scene) .cx-scene { display: none; }
  .cx-stage.is-mobile-scene .cx-scene-beta:not([hidden]) { display: inline-flex; }
  .cx-product-rail { grid-template-columns: repeat(2, 1fr); }
  .cx-product-rail a { border-bottom: 1px solid #2d3440; }
  .cx-product-rail a:nth-child(2n) { border-right: 0; }
  .cx-product-rail a:last-child { grid-column: 1 / -1; }
  .cx-story-workspace { grid-template-columns: 210px minmax(0, 1fr); }
  .pd-depth-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cx-hero { padding-top: 10px; }
  .cx-hero-copy { padding: 28px 23px 26px; }
  .cx-hero h1 { font-size: clamp(43px, 13.2vw, 59px); }
  .cx-lead { font-size: 16px; margin-top: 24px; }
  .cx-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 24px; }
  .cx-constellation { min-height: 350px; padding: 18px 12px 14px; }
  .cx-orbit { min-height: 225px; }
  .cx-orbit-node { padding: 8px; width: 116px; }
  .cx-orbit-node strong { font-size: 11px; }
  .cx-orbit-node span { display: none; }
  .cx-node-understand { left: 3%; top: 2%; }
  .cx-node-answer { right: 3%; top: 2%; }
  .cx-node-ask { left: 0; top: 47%; }
  .cx-node-check { right: 0; top: 47%; }
  .cx-node-keep { bottom: 0; left: calc(50% - 58px); }
  .cx-fingerprint { height: 90px; left: calc(50% - 45px); top: calc(46% - 45px); width: 90px; }
  .cx-fingerprint::after { inset: -9px; }
  .cx-fingerprint img { height: 48px; width: 48px; }
  .cx-fingerprint span { font-size: 11px; }
  .cx-fingerprint-note { grid-template-columns: 1fr; }
  .cx-theater { padding: 46px 0 42px; }
  .cx-heading-row { gap: 20px; }
  .cx-heading-row h2, .cx-entry h2 { font-size: clamp(36px, 11vw, 49px); }
  .cx-heading-row > p { font-size: 14px; }
  .cx-mode-switch { overflow-x: auto; }
  .cx-mode-switch button, .cx-mode-switch a { flex: 0 0 auto; }
  .cx-job-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .cx-job-tabs button { border-bottom: 0; border-right: 1px solid var(--cx-rule) !important; flex: 0 0 205px; min-height: 64px; scroll-snap-align: start; }
  .cx-stage { display: block; min-height: 580px; position: relative; }
  .cx-stage-copy { border: 0; min-height: 530px; padding: 24px 21px; }
  .cx-stage.is-mobile-scene .cx-stage-copy { display: none; }
  .cx-stage:not(.is-mobile-scene) .cx-scene { display: none; }
  .cx-stage-copy h3 { font-size: 35px; }
  .cx-depth-switch { overflow-x: auto; }
  .cx-depth-switch button { flex: 0 0 auto; }
  .cx-scene { min-height: 530px; padding: 18px 12px; }
  .cx-flow { gap: 0; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); margin-top: 20px; }
  .cx-flow-arrow { height: auto; padding: 0 4px; }
  .cx-flow-arrow i { height: 1px; width: 100%; }
  .cx-flow-arrow i::after { border-bottom: 4px solid transparent; border-left: 6px solid var(--scene-accent); border-right: 0; border-top: 4px solid transparent; bottom: auto; left: auto; right: 0; top: -4px; }
  .cx-flow-node, .cx-flow-core { min-height: 112px; padding: 10px; }
  .cx-flow-node strong { font-size: 12px; }
  .cx-flow-core img { height: 36px; width: 36px; }
  .cx-flow-core span { font-size: 12px; }
  .cx-flow-core small, .cx-flow-node small { font-size: 11px; }
  .cx-artifact { grid-template-columns: 1fr; }
  .cx-artifact { grid-template-columns: 1.35fr 0.65fr; min-height: 180px; }
  .cx-artifact img { height: 190px; }
  .cx-artifact figcaption { padding: 12px; }
  .cx-artifact figcaption span { font-size: 11px; }
  .cx-scene-detail { gap: 6px; min-height: 250px; }
  .cx-scene-detail article { padding: 10px; }
  .cx-scene-detail small { font-size: 11px; }
  .cx-scene-detail strong { font-size: 11px; }
  .cx-scene-detail span { font-size: 11px; }
  .cx-story-head { align-items: start; gap: 20px; grid-template-columns: 1fr; padding: 28px 21px; }
  .cx-story-workspace { display: block; min-height: 0; }
  .cx-story-index { border-bottom: 1px solid var(--cx-rule); border-right: 0; padding: 14px; }
  .cx-story-index > nav { display: none; }
  .cx-story-reader { height: 68vh; }
  .pd-story-beat { padding: 26px 20px; }
  .pd-story-heading h3 { font-size: 36px; }
  .cx-story-reader .story-demo { grid-template-columns: 1fr; }
  .cx-story-reader .story-demo-arrow { border-bottom: 1px solid var(--cx-rule); border-top: 1px solid var(--cx-rule); height: 34px; transform: rotate(90deg); }
  .cx-story-reader .story-demo-out { border-left: 0; }
  .pd-depth-card { overflow-x: auto; }
  .cx-story-controls { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 14px; }
  .cx-story-controls button { min-width: 0; padding-left: 6px; padding-right: 6px; }
  .cx-proof-strip { align-items: flex-start; flex-direction: column; gap: 13px; }
  .cx-product-rail { display: flex; margin-left: calc(-1 * clamp(16px, 3vw, 42px)); margin-right: calc(-1 * clamp(16px, 3vw, 42px)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .cx-product-rail a { border-bottom: 0; border-right: 1px solid #2d3440 !important; flex: 0 0 245px; min-height: 142px; scroll-snap-align: start; }
  .cx-product-rail a:last-child { grid-column: auto; }
  .cx-entry { padding-top: 40px; }
  .cx-entry-copy { gap: 18px; }
  .cx-entry h2 { font-size: 36px; }
  .cx-product-rail { margin-top: 28px; }
  .cx-final { gap: 18px; padding: 28px 0; }
  .cx-final h3 { font-size: 27px; }
  .cx-final p:not(.cx-kicker) { font-size: 12px; }
  .go-page .footer-top { display: grid; gap: 16px 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding-bottom: 14px; padding-top: 18px; }
  .go-page .footer-top > div { min-width: 0; }
  .go-page .footer-top > div:first-child { border-bottom: 1px solid rgba(255,255,255,0.1); display: grid; gap: 8px 12px; grid-column: 1 / -1; grid-template-columns: auto 1fr; padding-bottom: 14px; }
  .go-page .footer-top > div:first-child > div:first-child { margin-bottom: 0 !important; }
  .go-page .footer-brand-desc { align-self: center; font-size: 11px; max-width: none; }
  .go-page .footer-social { grid-column: 1 / -1; }
  .go-page .footer-col-title { font-size: 11px; margin-bottom: 9px; }
  .go-page .footer-col a { font-size: 11px; margin-bottom: 7px; }
  .go-page .footer-social { margin-top: 12px; }
  .go-page .footer-bottom { align-items: flex-start; gap: 9px; padding-bottom: 14px; padding-top: 12px; }
  .go-page .footer-copy, .go-page .footer-legal a { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
