@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #0b0a0e;
  --surface: #151218;
  --text: #f2eff4;
  --muted: #9f99a7;
  --line: #ffffff14;
  --purple: #baa1db;
  --pink: #d7badc;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
/* Slow, low-contrast motion behind the product; the content remains the focus. */
.ambient-field {
  --grid-step: 44px;
  --stack-pull: 0;
  --stack-rest: 1;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.ambient-glow {
  position: absolute;
  width: min(85vw, 1100px);
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
}
.ambient-glow-primary {
  top: -24%;
  right: -15%;
  background: radial-gradient(circle, #854bc225, #6342900c 42%, transparent 68%);
  animation: glow-drift 18s ease-in-out infinite alternate;
}
.ambient-glow-secondary {
  bottom: -65%;
  left: -20%;
  background: radial-gradient(circle, #ba639b17, transparent 65%);
  animation: glow-drift 24s ease-in-out -9s infinite alternate-reverse;
}
.ambient-grid {
  position: absolute;
  inset: -88px;
  background-image:
    linear-gradient(#ad95c215 1px, transparent 1px),
    linear-gradient(90deg, #ad95c215 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
  background-position: center;
  mask-image: radial-gradient(ellipse at 72% 46%, #000 12%, #0008 55%, transparent 85%);
  animation: grid-drift 36s ease-in-out infinite alternate;
  will-change: transform;
}
.ambient-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #c2a6df3b 3px, transparent 3px) center / var(--grid-step)
    var(--grid-step);
  mask: linear-gradient(#000 3px, transparent 3px) center / var(--grid-step) var(--grid-step);
}
.ambient-cell {
  position: absolute;
  left: calc(50% + var(--cell-x) * var(--grid-step) - var(--grid-step) / 2);
  top: calc(50% + var(--cell-y) * var(--grid-step) - var(--grid-step) / 2);
  width: var(--grid-step);
  height: var(--grid-step);
  border: 1px solid #d5b8ee;
  background: #ac84ce;
  opacity: 0.04;
  animation: cell-pulse 8s ease-in-out infinite;
}
.ambient-cell:nth-child(1) {
  --cell-x: -9;
  --cell-y: -4;
  animation-delay: -1s;
}
.ambient-cell:nth-child(2) {
  --cell-x: -4;
  --cell-y: 4;
  animation-delay: -5.7s;
}
.ambient-cell:nth-child(3) {
  --cell-x: 1;
  --cell-y: -6;
  animation-delay: -3.1s;
}
.ambient-cell:nth-child(4) {
  --cell-x: 3;
  --cell-y: 2;
  animation-delay: -6.3s;
}
.ambient-cell:nth-child(5) {
  --cell-x: 6;
  --cell-y: -3;
  animation-delay: -2.4s;
}
.ambient-cell:nth-child(6) {
  --cell-x: 9;
  --cell-y: 5;
  animation-delay: -7.2s;
}
.ambient-cell:nth-child(7) {
  --cell-x: 12;
  --cell-y: -1;
  animation-delay: -4.4s;
}
.ambient-cell:nth-child(8) {
  --cell-x: -12;
  --cell-y: 1;
  animation-delay: -0.4s;
}
/* Wireframe layers and square signals share the cards' leftward drawer path. */
.ambient-echoes {
  position: absolute;
  left: 73%;
  top: 53%;
  width: clamp(330px, 34vw, 440px);
  height: 310px;
  transform: translate(-50%, -50%) perspective(1100px) rotateX(58deg) rotateZ(-32deg) scale(0.92);
  transform-style: preserve-3d;
  opacity: calc(var(--stack-rest) * (0.38 + var(--stack-pull) * 0.22));
}
.echo-card {
  position: absolute;
  inset: 0;
  border: 1px solid #bfa0dc58;
  border-radius: 9px;
  transform: translate3d(calc(-28px - var(--stack-pull) * 95px), 34px, -35px);
  will-change: transform;
}
.echo-card:nth-child(2) {
  transform: translate3d(calc(-70px - var(--stack-pull) * 120px), 68px, -70px);
  opacity: 0.65;
}
.echo-card:nth-child(3) {
  transform: translate3d(calc(-112px - var(--stack-pull) * 145px), 102px, -105px);
  opacity: 0.35;
}
.echo-trail {
  position: absolute;
  left: 45%;
  top: 24%;
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, #d5bcec8c, transparent);
  opacity: 0;
  animation: trail-slide 7s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}
.echo-trail::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background: #d5bcec;
  box-shadow: 0 0 12px #bb91dc55;
}
.echo-trail:nth-child(5) {
  top: 55%;
  animation-delay: -2.4s;
}
.echo-trail:nth-child(6) {
  top: 86%;
  animation-delay: -4.8s;
}
@keyframes cell-pulse {
  0%,
  60%,
  100% {
    opacity: 0.025;
  }
  22% {
    opacity: 0.16;
  }
  40% {
    opacity: 0.06;
  }
}
@keyframes glow-drift {
  from {
    transform: translate3d(-3%, 3%, 0) scale(0.94);
  }
  to {
    transform: translate3d(6%, -5%, 0) scale(1.1);
  }
}
@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-22px, 22px, 0);
  }
}
@keyframes trail-slide {
  0% {
    transform: translate3d(70px, 0, 0);
    opacity: 0;
  }
  18% {
    opacity: 0.7;
  }
  72%,
  100% {
    transform: translate3d(-300px, 0, 0);
    opacity: 0;
  }
}
.page-hidden .ambient-field * {
  animation-play-state: paused;
}
@media (max-width: 760px) {
  .ambient-field {
    --grid-step: 32px;
  }
  .ambient-echoes {
    display: none;
  }
  .ambient-cell:nth-child(n + 5) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-echoes {
    display: none;
  }
}
.site-footer {
  position: relative;
  z-index: 2;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 6px;
}
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
::selection {
  background: #9876c466;
  color: white;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  max-width: 100%;
}
.wrap {
  width: min(1200px, calc(100% - 112px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--purple);
  color: var(--bg);
  padding: 14px 20px;
}
.skip-link:focus {
  top: 12px;
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 1px;
  z-index: 40;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #0b0a0ee8;
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 42px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.wordmark > span {
  margin-left: -8px;
  color: var(--purple);
}
#site-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  align-items: center;
}
#site-nav a {
  padding: 12px 0;
  color: var(--muted);
  font-size: 13px;
}
#site-nav a:hover {
  color: var(--text);
}
.menu-toggle {
  display: none;
}
.header-cta {
  font-size: 13px !important;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 23px;
  border-radius: 5px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  background: transparent;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  background: #ffffff08;
}
.button-primary {
  background: #ddcee9;
  color: #1a1420;
  border-color: transparent;
}
.button-primary:hover {
  background: #eee2f6;
}
.button-quiet {
  border-color: transparent;
  color: #bab2c4;
  padding-inline: 14px;
}
.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
  background: transparent;
  border: 0;
  padding: 12px 0;
  min-height: 44px;
  color: #c4b5d1;
}
.text-link:hover {
  color: white;
}
.text-link span {
  font-size: 19px;
}
.eyebrow {
  font: 11px/1.6 var(--mono);
  letter-spacing: 1.2px;
  color: #b6a9c2;
}
h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.13;
  font-weight: 450;
  letter-spacing: -2.3px;
}
main {
  position: relative;
  z-index: 2;
  overflow: clip;
}
.hero-section {
  position: relative;
  min-height: max(620px, calc(100svh - 84px));
  display: flex;
  align-items: center;
  padding: 65px 0 100px;
}
.hero-copy {
  width: 54%;
  max-width: 660px;
}
.hero-copy h1 {
  font-size: clamp(52px, 5.6vw, 82px);
  line-height: 1.08;
  font-weight: 450;
  letter-spacing: -3.8px;
  margin: 25px 0 27px;
}
.hero-copy h1 > span {
  color: var(--purple);
}
.hero-description {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 430px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-note {
  margin-top: 22px;
  font-size: 12px;
  color: #79727f;
}
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 12px;
  color: #8e8299;
  padding-block: 12px;
}
.scroll-cue span {
  color: #c7b3d8;
}
.hero-mobile-stack {
  display: none;
}
html:not(.cards-ready) .stack-scene,
html:not(.cards-ready) .hero-mobile-stack {
  visibility: hidden;
}
/* A persistent spatial diagram. Its actual panels rotate from stacked layers into readable UI. */
.stack-scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  z-index: 1;
  pointer-events: none;
  perspective: 1100px;
  perspective-origin: 50% 50%;
  overflow: clip;
  --camera-focus: 0;
  --light-x: 45%;
  --light-y: 25%;
}
.scene-halo {
  position: absolute;
  inset: 5%;
  background: radial-gradient(ellipse at 50% 50%, #b393df25, transparent 65%);
  opacity: calc(0.15 + var(--camera-focus) * 0.65);
  transform: scale(calc(0.7 + var(--camera-focus) * 0.3));
  pointer-events: none;
}
.stack-block {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(330px, 34vw, 440px);
  height: 310px;
  margin-left: calc(clamp(330px, 34vw, 440px) / -2);
  margin-top: -155px;
  transform-style: preserve-3d;
  will-change: transform;
  --open: 0;
  --material-opacity: 1;
  --depth: 0;
}
.stack-block::before,
.stack-block::after {
  content: '';
  position: absolute;
  opacity: var(--material-opacity);
  pointer-events: none;
}
.stack-block::before {
  inset: 0;
  border: 1px solid #ac8cc858;
  border-radius: 10px;
  background: #18111f;
  transform: translateZ(calc(-1 * var(--layer-thickness, 14px)));
  box-shadow: 0 24px 70px #0009;
}
.stack-block::after {
  left: 1px;
  right: 1px;
  top: 100%;
  height: var(--layer-thickness, 14px);
  background: linear-gradient(90deg, #2f243b, #856697 55%, #251d2c);
  border: 1px solid #c5a2dc40;
  transform-origin: top;
  transform: rotateX(-90deg);
}
.block-surface {
  position: absolute;
  inset: 0;
  border: 1px solid #c2a6df70;
  border-radius: 9px;
  background: linear-gradient(130deg, #292032, #19151f 70%);
  box-shadow:
    inset 0 1px 0 #f1d9ff15,
    0 0 40px #ad81d30b;
  overflow: visible;
  transform-style: preserve-3d;
  opacity: var(--material-opacity);
  backface-visibility: hidden;
}
.block-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at var(--light-x) var(--light-y), #e4c5ff14, transparent 65%);
  transform: translateZ(1px);
  pointer-events: none;
}
.block-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: calc(1 - var(--open));
  border-radius: inherit;
  transform: translateZ(2px);
  background: radial-gradient(ellipse at 50% 50%, #a776db10, transparent 65%);
}
button.block-cover {
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  color: inherit;
  text-align: left;
  pointer-events: auto;
  cursor: pointer;
}
button.block-cover:focus-visible {
  outline-offset: 4px;
}
.stack-scene .block-cover::before,
.stack-scene .block-cover::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: calc(var(--ripple-light, 0) * 0.32);
  background: radial-gradient(
    circle,
    transparent 66%,
    #d1afff12 68%,
    #e1c4ff8c 69%,
    transparent 70%
  );
  transform: translate(-50%, -50%) scale(var(--ripple-scale, 0.08));
  will-change: transform, opacity;
}
.stack-scene .block-cover::after {
  transform: translate(-50%, -50%) scale(calc(var(--ripple-scale, 0.08) * 0.68));
  opacity: calc(var(--ripple-light, 0) * 0.12);
}
.stack-scene .block-cover {
  overflow: hidden;
  opacity: calc((1 - var(--open)) * (1 - var(--stack-merge, 0)));
}
.stack-scene .block-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #c2a6df;
  border-radius: inherit;
  box-shadow: 0 0 55px #ad81d326;
  opacity: var(--hover, 0);
  transform: translateZ(1px);
  pointer-events: none;
  will-change: opacity;
}
.card-return {
  position: absolute;
  top: 12px;
  right: 16px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #b79acc35;
  border-radius: 5px;
  background: #1a1420;
  color: #d2bddf;
  font-size: 12px;
  transform: translateZ(5px);
  pointer-events: auto;
}
.card-return:hover {
  border-color: #c5a5de;
  background: #2a1e34;
}
.stack-picker {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 5px;
  max-width: 92vw;
  padding: 3px;
  border: 1px solid #b49ac529;
  border-radius: 7px;
  background: #100d16ed;
  pointer-events: auto;
}
.stack-picker button {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #aca0b7;
  font-size: 12px;
  white-space: nowrap;
}
.stack-picker button:hover,
.stack-picker button[aria-expanded='true'] {
  color: #f1e7f7;
  border-color: #b999cf46;
  background: #b79acc15;
}
.cards-ready .scene-caption {
  display: none;
}
.inspecting-stack .hero-copy,
.inspecting-stack .scroll-cue {
  opacity: 0;
  pointer-events: none;
}
.hero-copy,
.scroll-cue {
  transition: opacity 0.25s;
}
.layer-chapter.is-selected {
  border-color: #c5a5de;
}
.motion-reduced .stack-picker {
  position: static;
  transform: none;
  width: fit-content;
  margin-top: 24px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .stack-picker {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .stack-picker button {
    flex: 1;
    min-height: 44px;
    font-size: 14px;
  }
}
.cover-icon {
  color: #c5afd7;
  font-size: 46px;
  font-weight: 300;
}
.cover-number {
  position: absolute;
  top: 24px;
  left: 25px;
  font: 12px var(--mono);
  color: #887694;
}
.cover-name {
  position: absolute;
  bottom: 25px;
  left: 25px;
  font-size: 16px;
  color: #ccb9da;
  letter-spacing: -0.2px;
}
.cover-plus {
  position: absolute;
  right: 25px;
  top: 22px;
  font-size: 20px;
  color: #826e91;
}
.block-edge {
  position: absolute;
  top: 100%;
  left: 20px;
  font: 8px var(--mono);
  letter-spacing: 2px;
  color: #a68bbb;
  transform: rotateX(-80deg);
  transform-origin: top;
  backface-visibility: hidden;
}
.block-content {
  position: absolute;
  inset: 0;
  opacity: var(--open);
  transform-style: preserve-3d;
}
.file-tree,
.mission-people,
.feedback-pair,
.agent-flow {
  transform-style: preserve-3d;
}
.panel-top {
  height: 53px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #c3a3da19;
  font-size: 12px;
  color: #e0d4e9;
}
.panel-top > span:last-child {
  font: 10px var(--mono);
  color: #8c7b98;
}
.panel-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 43px;
  border-top: 1px solid #c3a3da19;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 11px;
  color: #a591b4;
}
.panel-bottom > span {
  font: 10px var(--mono);
  color: #c7a9dd;
}
.file-tree {
  padding: 20px 23px;
  font: 13px/2.7 var(--mono);
  color: #d5c9df;
}
.file-tree .content-item {
  display: flex;
  gap: 15px;
}
.file-tree .content-item > span {
  color: #9173a9;
}
.file-tree em {
  margin-left: auto;
  font-size: 10px;
  font-style: normal;
  color: #7e6b8f;
}
.file-tree .content-item:first-child {
  color: #c9a6e7;
}
.mini-app {
  display: flex;
  position: relative;
  height: 214px;
  overflow: hidden;
}
.mini-sidebar {
  width: 65px;
  border-right: 1px solid #ffffff0c;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mini-sidebar > span {
  font-size: 25px;
  color: #b898d2;
  margin-bottom: 6px;
}
.mini-sidebar i {
  width: 20px;
  height: 3px;
  background: #796589;
  border-radius: 3px;
}
.mini-page {
  padding: 27px 25px;
}
.mini-eyebrow {
  font: 9px var(--mono);
  color: #9c83ad;
  letter-spacing: 1px;
  display: block;
}
.mini-page h3 {
  font-size: 27px;
  line-height: 1.13;
  letter-spacing: -0.8px;
  font-weight: 450;
  margin: 13px 0 15px;
}
.mini-action {
  font-size: 11px;
  display: flex;
  gap: 24px;
  color: #c7afd9;
}
.mission-question {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 450;
  letter-spacing: -0.4px;
  padding: 18px 23px 10px;
}
.mission-people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 22px;
}
.participant {
  border: 1px solid #b88fd326;
  background: #201829;
  border-radius: 6px;
  min-height: 104px;
  padding: 11px 10px;
  transform-origin: center bottom;
  box-shadow: 0 calc(var(--depth) * 12px) calc(var(--depth) * 22px) #05020855;
}
.participant > span {
  display: flex;
  width: 23px;
  height: 23px;
  border: 1px solid #bfa1d14d;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font: 10px var(--mono);
  color: #c3a6d9;
  margin-bottom: 9px;
}
.participant strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.participant small {
  display: block;
  color: #917e9f;
  font-size: 10px;
  margin-top: 3px;
}
.feedback-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 30px 22px;
}
.feedback-item {
  border-left: 1px solid #b891d046;
  padding: 14px 12px;
  background: #251c2e;
  box-shadow: 0 calc(var(--depth) * 12px) calc(var(--depth) * 25px) #05020855;
}
.feedback-item > span {
  font: 8px var(--mono);
  color: #9a80af;
  letter-spacing: 0.7px;
}
.feedback-item p {
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.4px;
  margin-top: 14px;
}
.agent-request {
  font: 13px var(--mono);
  color: #c8b2d8;
  padding: 26px 23px 18px;
}
.agent-flow {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 29px;
}
.flow-track {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  height: 1px;
  background: #a780c059;
  transform-origin: left;
}
.agent-node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.agent-node > span {
  width: 45px;
  height: 45px;
  background: #211829;
  border: 1px solid #a782bc60;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 20px;
  color: #c4a3dc;
  box-shadow: 0 calc(var(--depth) * 10px) calc(var(--depth) * 20px) #05020866;
}
.agent-node > strong {
  font-size: 11px;
  font-weight: 400;
  color: #baa6c8;
}
.content-item {
  will-change: transform, opacity;
}
/* The explanation and the example travel together on the same physical card. */
.card-visual {
  position: absolute;
  transform-style: preserve-3d;
  transform-origin: center;
  pointer-events: none;
}
.card-story {
  position: absolute;
  left: 32px;
  top: 50%;
  width: calc(48% - 48px);
  max-height: calc(100% - 48px);
  overflow: auto;
  scrollbar-width: thin;
  opacity: var(--story-open, 0);
  transform: translate3d(calc((1 - var(--story-open, 0)) * -24px), -50%, 3px);
  pointer-events: none;
}
.card-story .chapter-copy {
  position: static;
  width: 100%;
  max-width: none;
  margin: 0;
  will-change: auto;
}
.card-story .chapter-number {
  font-size: 12px;
  margin-bottom: 20px;
}
.stack-scene .card-story h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -1.6px;
  line-height: 1.12;
}
.card-story .chapter-description {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: none;
}
.card-story .text-link {
  font-size: 14px;
  margin-top: 12px;
}
.card-story .chapter-footnote {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: none;
  color: #aa9bb7;
}
.cards-ready .layer-chapter {
  /* Keep 40svh for reading; halve the travel between cards from 160svh to 80svh. */
  min-height: 120svh;
}
@media (max-width: 1050px) and (min-height: 790px) {
  .card-story {
    top: 28px;
    width: calc(100% - 64px);
    max-height: 49%;
    transform: translate3d(0, calc((1 - var(--story-open, 0)) * -16px), 3px);
  }
  .stack-scene .card-story h2 br {
    display: none;
  }
  .stack-scene .card-story h2 {
    font-size: 34px;
  }
  .card-story .chapter-number {
    margin-bottom: 14px;
  }
  .card-story .chapter-description {
    margin-top: 14px;
  }
  .card-story .chapter-footnote {
    margin-top: 10px;
  }
}
@media (max-height: 720px) {
  .stack-scene .card-story h2 {
    font-size: 30px;
  }
  .card-story .chapter-description {
    font-size: 13px;
    margin-top: 14px;
  }
  .card-story .chapter-number {
    margin-bottom: 14px;
  }
  .card-story .chapter-footnote {
    margin-top: 12px;
  }
}
.scene-caption {
  position: absolute;
  bottom: 35px;
  right: 5vw;
  width: 33%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #877393;
}
.scene-caption > span:last-child {
  color: #b797ca;
}
.story-intro {
  padding: 85px 0 25px;
  border-top: 1px solid var(--line);
}
.story-intro h2 {
  font-size: 28px;
  letter-spacing: -0.8px;
}
.story-intro p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 13px;
}
.layer-chapter {
  min-height: 160svh;
  position: relative;
  display: block;
  padding-block: max(100px, calc(50svh - 170px)) 100px;
  scroll-margin-top: 0;
}
.chapter-copy {
  width: 40%;
  max-width: 465px;
  will-change: transform, opacity;
  position: sticky;
  top: max(100px, calc(50svh - 170px));
}
.chapter-reverse .chapter-copy {
  margin-left: auto;
}
.chapter-number {
  font: 12px var(--mono);
  color: #c0a4d4;
  letter-spacing: 0.2px;
  margin-bottom: 26px;
}
.chapter-number span {
  color: #85768f;
  margin-left: 10px;
}
.chapter-description {
  font-size: 16px;
  line-height: 1.9;
  color: #aaa1b2;
  margin-top: 27px;
  max-width: 375px;
}
.chapter-copy > .text-link {
  margin-top: 24px;
}
.chapter-footnote {
  font-size: 12px;
  line-height: 1.8;
  color: #796e84;
  max-width: 360px;
  margin-top: 26px;
}
.mobile-visual {
  display: none;
}
.section-panel {
  position: relative;
  isolation: isolate;
  background: #0b0a0ebd;
  border-top: 1px solid var(--line);
}
.use-cases {
  padding: 110px 0;
}
.use-cases .section-heading {
  text-align: center;
}
.case-example {
  max-width: 840px;
  margin: 28px auto 0;
  padding: 20px 24px;
  border: 1px solid #ffffff24;
  border-radius: 18px;
  background: #101012;
  box-shadow:
    0 16px 48px #0003,
    inset 0 1px 0 #ffffff06;
  text-align: left;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.case-example:focus-within {
  border-color: #bca1db99;
  box-shadow:
    0 0 0 3px #bca1db12,
    0 16px 48px #0003;
}
.composer-heading,
.composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.composer-toolbar {
  flex-wrap: wrap;
}
.composer-title {
  color: #f2eff4;
  font-size: 14px;
  font-weight: 500;
}
.composer-title > span {
  margin-left: 8px;
  color: #88838d;
  font-weight: 400;
}
.composer-state {
  color: #a39da9;
  font-size: 12px;
}
.case-prompt {
  position: relative;
  margin: 18px 0 20px;
  color: #ded9e3;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.case-prompt-preview {
  position: relative;
  margin: 0;
  min-height: 5.1em;
  pointer-events: none;
}
#task-prompt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  caret-color: #d7badc;
  font: inherit;
  resize: none;
  opacity: 0;
}
#task-prompt::placeholder {
  color: #88838d;
}
.prompt-editing #task-prompt {
  opacity: 1;
}
.prompt-editing .case-prompt-preview {
  opacity: 0;
}
.composer-agent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8a1af;
  font-size: 12px;
}
.composer-agent svg {
  width: 20px;
  height: 20px;
  color: #baa1db;
  flex-shrink: 0;
}
.composer-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
  min-height: 40px;
  padding: 0 8px 0 16px;
  border: 1px solid #d5f9a12b;
  border-radius: 24px;
  background: #d4f5aa;
  color: #151a10;
  font-size: 12px;
  font-weight: 550;
  transition: background 0.2s;
}
.composer-submit:hover {
  background: #e3ffc0;
}
.composer-submit svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 520px) {
  .case-example {
    padding: 18px 16px;
  }
  .composer-title > span {
    display: none;
  }
  .composer-toolbar {
    gap: 10px;
  }
  .composer-agent {
    gap: 6px;
  }
  .composer-submit {
    padding-left: 10px;
    gap: 5px;
  }
}
.case-prompt-typed {
  display: none;
}
.prompt-animated .case-prompt-copy {
  /* Reserve the complete prompt height so typing never moves the controls. */
  opacity: 0;
}
.prompt-animated .case-prompt-typed {
  display: block;
  position: absolute;
  inset: 0;
}
.case-prompt-typed::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 3px;
  vertical-align: -0.05em;
  background: #dabcf1;
  opacity: 0;
}
.prompt-typing .case-prompt-typed::after {
  animation: prompt-caret 0.9s step-end infinite;
}
@keyframes prompt-caret {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.page-hidden .case-prompt-typed::after {
  animation-play-state: paused;
}
/* The stack becomes a horizontal slab, then its front face becomes this section. */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .cards-ready .use-cases {
    height: 300svh;
    padding: 0;
    border: 0;
    background: transparent;
    z-index: 2;
  }
  .cards-ready .case-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    perspective: 1100px;
    perspective-origin: 50% 50%;
    pointer-events: none;
  }
  .cards-ready .case-front {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 640px;
    height: 340px;
    border: 1px solid #b69bc95c;
    border-radius: 7px;
    background: linear-gradient(125deg, #282030, #17121e 75%);
    box-shadow: inset 0 1px 0 #e5cff51a;
    transform: translate(-50%, -50%);
    transform-origin: center;
    backface-visibility: hidden;
    overflow: hidden;
    opacity: 0;
    will-change: transform;
  }
  .cards-ready .case-content {
    position: relative;
    width: calc(100% - 64px);
    min-height: 100%;
    max-width: 1180px;
    padding-top: var(--case-title-top, 28px);
    padding-bottom: 40px;
  }
  .cards-ready .case-front .section-heading {
    position: relative;
    width: 100%;
  }
  .cards-ready .case-front .eyebrow {
    position: absolute;
    top: -34px;
    width: 100%;
    opacity: var(--case-details, 0);
  }
  .cards-ready .case-front h2 {
    margin: 0;
    font-size: var(--case-title-size, 26px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    opacity: var(--case-label, 0);
    transform: translateY(calc((1 - var(--case-label, 0)) * 8px));
  }
  .cards-ready .case-example {
    margin-top: var(--case-prompt-gap, 18px);
    opacity: var(--case-label, 0);
  }
  .cards-ready .case-prompt {
    font-size: var(--case-prompt-size, 16px);
  }
  .cards-ready .case-front .case-grid {
    width: 100%;
    margin-top: clamp(32px, 5svh, 50px);
    opacity: var(--case-details, 0);
    transform: translateY(calc((1 - var(--case-details, 0)) * 24px));
    pointer-events: none;
  }
}
.section-heading h2 {
  margin-top: 20px;
  font-size: 43px;
  letter-spacing: -1.6px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 60px;
}
.case-card {
  border-top: 1px solid #baa0cb33;
  padding-top: 24px;
  will-change: transform, opacity;
}
.case-tag {
  font: 10px var(--mono);
  letter-spacing: 0.5px;
  color: #9a87a8;
}
.case-card h3 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  font-weight: 450;
  margin-top: 28px;
}
.case-card > p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 285px;
  margin-top: 17px;
  min-height: 80px;
}
.case-card .text-link {
  font-size: 12px;
  gap: 17px;
  margin-top: 22px;
}
.okx-section {
  padding: 100px 0 35px;
  background: #0b0a0ebf;
}
.okx-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px;
  align-items: center;
}
.okx-layout h2 {
  margin-top: 24px;
  font-size: 46px;
}
.okx-layout > div > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 410px;
  margin: 27px 0 16px;
}
.ecosystem-reasons article {
  display: flex;
  gap: 27px;
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
  will-change: transform, opacity;
}
.ecosystem-reasons article:last-child {
  border: 0;
}
.ecosystem-reasons article > span {
  font: 11px var(--mono);
  color: #9279a5;
  padding-top: 4px;
}
.ecosystem-reasons h3 {
  font-size: 21px;
  font-weight: 450;
  letter-spacing: -0.3px;
}
.ecosystem-reasons p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 10px;
  max-width: 295px;
}
.ecosystem-footnote {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #80738b;
  line-height: 1.85;
}
.faq-section {
  --faq-spread: 0;
  padding-block: 110px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  position: relative;
  isolation: isolate;
}
.faq-section.faq-expanded {
  --faq-spread: 1;
}
.faq-heading,
.faq-list {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.faq-backdrop {
  position: absolute;
  inset: 0 -56px;
  overflow: hidden;
  pointer-events: none;
  perspective: 1100px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 42%, transparent 82%);
}
.faq-stack {
  position: absolute;
  left: 26%;
  top: 64%;
  width: clamp(280px, 34vw, 460px);
  height: 260px;
  transform: translate(-50%, -50%) rotateX(62deg) rotateZ(-16deg);
  transform-style: preserve-3d;
}
.faq-layer {
  --faq-active: 0;
  position: absolute;
  inset: 0;
  border: 1px solid #b698d252;
  border-radius: 12px;
  background: linear-gradient(130deg, #35263e9c, #16121dbd 75%);
  box-shadow:
    inset 0 1px 0 #eedcff0d,
    0 18px 38px #0004;
  transform-style: preserve-3d;
  transform: translate3d(
    calc((var(--faq-index, 0) - 2) * (20px + var(--faq-spread) * 44px) - var(--faq-active) * 65px),
    calc(var(--faq-active) * -22px),
    calc(var(--faq-index, 0) * 18px + var(--faq-active) * 32px)
  );
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s;
}
.faq-layer::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  border: 1px solid #b698d22e;
  background: linear-gradient(90deg, #271d30, #493253, #211a28);
  transform-origin: top;
  transform: rotateX(-90deg);
}
.faq-layer.is-active {
  --faq-active: 1;
  border-color: #d0add59c;
}
.faq-section h2 {
  font-size: 38px;
  margin-top: 20px;
  letter-spacing: -1.3px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  background: #0b0a0eab;
}
.faq-answer {
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #cac1d2;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font: 19px var(--mono);
  color: #94829f;
  flex-shrink: 0;
  transition:
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-ready .faq-list summary[aria-expanded='false'] span {
  transform: rotate(0);
}
.faq-ready .faq-list summary[aria-expanded='true'] span {
  transform: rotate(45deg);
  color: #dbc2ec;
}
.faq-answer > p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  padding-bottom: 23px;
  margin: 0;
}
.faq-list details a {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #c6add8;
}
.closing-section {
  padding-block: 130px;
  background: #0b0a0ec7;
  text-align: center;
  border-top: 1px solid var(--line);
}
.closing-content h2 {
  font-size: clamp(46px, 5vw, 72px);
  margin-top: 24px;
  letter-spacing: -2.6px;
}
.closing-content .hero-actions {
  justify-content: center;
  margin-top: 34px;
}
.site-footer {
  position: relative;
  z-index: 2;
  min-height: 110px;
  padding-block: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  column-gap: 40px;
  row-gap: 16px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #a295ae;
}
.footer-links > a,
.footer-links > button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}
.footer-links > a:hover,
.footer-links > button:hover {
  color: #f2eff4;
}
.site-footer small {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
  line-height: 20px;
  color: #74677e;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.footer-branding .wordmark {
  min-height: 44px;
  color: var(--text);
  line-height: 1.2;
}
.stardive-attribution {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b8adc1;
  transition: color 0.2s;
}
.stardive-attribution:hover {
  color: #f2eff4;
}
.stardive-by {
  margin-right: 2px;
  font-size: 12px;
  color: #8d8098;
}
.stardive-attribution svg {
  flex-shrink: 0;
  overflow: visible;
}
.stardive-name {
  font:
    400 20px/1 Georgia,
    serif;
  letter-spacing: 0.005em;
}
dialog {
  width: min(590px, calc(100% - 32px));
  max-height: min(90dvh, 900px);
  color: var(--text);
  background: linear-gradient(140deg, #1b1226, #100d17 60%);
  padding: 36px;
  border: 1px solid #b781de59;
  border-radius: 13px;
  box-shadow: 0 25px 110px #000a;
}
dialog::backdrop {
  background: #05030dcc;
  backdrop-filter: blur(9px);
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #c8b7d6;
  font-size: 23px;
}
.brief-heading {
  padding-right: 13px;
}
.brief-heading h2 {
  font-size: 30px;
  margin-top: 14px;
}
.brief-heading > p:last-child,
#brief-result > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
}
#brief-form {
  margin-top: 25px;
  display: grid;
  gap: 17px;
}
#brief-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #d0c5dc;
}
#brief-form input,
#brief-form textarea,
#brief-output {
  width: 100%;
  min-width: 0;
  background: #090710aa;
  border: 1px solid #a786c13b;
  border-radius: 5px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #f1e8f9;
}
#brief-form input::placeholder,
#brief-form textarea::placeholder {
  color: #8a7b9a;
}
#brief-form textarea {
  resize: vertical;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  color: #94849f;
  font-size: 10px;
  line-height: 1.75;
}
#brief-error {
  color: #ffa6d6;
  font-size: 12px;
  line-height: 1.7;
}
#brief-error:empty {
  display: none;
}
.brief-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#brief-result {
  margin-top: 25px;
}
#brief-result h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
#brief-output {
  font: 11px/1.85 var(--mono);
  margin-block: 18px;
  resize: vertical;
}
#copy-status {
  margin-top: 13px;
  color: #d0b2eb;
  font-size: 11px;
  min-height: 17px;
}
body.dialog-open {
  overflow: hidden;
}
@media (min-width: 1550px) {
  .hero-copy h1 {
    font-size: 82px;
  }
  .stack-block {
    width: 440px;
    margin-left: -220px;
  }
  .wrap {
    width: 1200px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .header-inner {
    gap: 25px;
  }
  #site-nav {
    gap: 24px;
  }
  .hero-copy {
    width: 55%;
  }
  .hero-copy h1 {
    letter-spacing: -2.7px;
  }
  .hero-description {
    font-size: 15px;
  }
  .chapter-copy {
    width: 42%;
  }
  .chapter-copy h2 {
    font-size: 43px;
  }
  .chapter-description {
    font-size: 15px;
  }
  .stack-block {
    width: 340px;
    margin-left: -170px;
    height: 300px;
    margin-top: -150px;
  }
  .mini-page h3 {
    font-size: 24px;
  }
  .panel-top {
    padding-inline: 18px;
  }
  .panel-top > span:first-child {
    font-size: 11px;
  }
  .panel-top > span:last-child {
    font-size: 9px;
  }
  .panel-bottom {
    font-size: 10px;
    padding-inline: 18px;
  }
  .feedback-pair {
    gap: 8px;
    padding-inline: 18px;
  }
  .feedback-item {
    padding-inline: 8px;
  }
  .feedback-item p {
    font-size: 16px;
  }
  .case-grid {
    gap: 30px;
  }
  .case-card h3 {
    font-size: 23px;
  }
  .case-card .text-link {
    font-size: 11px;
    gap: 10px;
  }
  .okx-layout {
    gap: 60px;
  }
  .okx-layout h2 {
    font-size: 38px;
  }
  .faq-section {
    gap: 40px;
  }
  .faq-backdrop {
    inset-inline: -36px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 70px;
    gap: 16px;
  }
  .wordmark {
    font-size: 23px;
  }
  .wordmark img {
    width: 25px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c1b6ca;
    font-size: 13px;
    background: transparent;
    border: 0;
    padding: 8px;
    min-height: 44px;
    margin-left: auto;
  }
  .menu-toggle span {
    font-size: 21px;
  }
  #site-nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    background: #141018;
    border-bottom: 1px solid var(--line);
    padding: 15px 22px;
    margin: 0;
    gap: 28px;
  }
  #site-nav[data-open] {
    display: flex;
    flex-wrap: wrap;
  }
  #site-nav a {
    font-size: 14px;
    min-height: 44px;
  }
  .stack-scene {
    display: none;
  }
  .hero-section {
    display: block;
    padding: 60px 0 30px;
    min-height: 850px;
  }
  .hero-copy {
    width: 100%;
    max-width: 500px;
  }
  .hero-copy h1 {
    font-size: clamp(43px, 10.5vw, 70px);
    letter-spacing: -2.5px;
    margin-block: 24px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 380px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    gap: 8px;
    margin-top: 27px;
  }
  .button {
    min-height: 48px;
    padding-inline: 18px;
    gap: 20px;
    font-size: 13px;
  }
  .button-quiet {
    padding-inline: 12px;
  }
  .hero-note {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .hero-mobile-stack {
    display: block;
    position: relative;
    width: 100%;
    height: 335px;
    perspective: 1000px;
    margin-top: 28px;
    overflow: visible;
  }
  .hero-mobile-stack .stack-block {
    width: 250px;
    height: 190px;
    margin-left: -125px;
    margin-top: -95px;
  }
  .hero-mobile-stack .cover-icon {
    font-size: 30px;
  }
  .hero-mobile-stack .cover-name {
    font-size: 13px;
    bottom: 16px;
    left: 18px;
  }
  .hero-mobile-stack .cover-number {
    top: 16px;
    left: 18px;
    font-size: 10px;
  }
  .hero-mobile-stack .cover-plus {
    right: 18px;
    top: 14px;
    font-size: 16px;
  }
  .hero-mobile-stack .block-content {
    display: none;
  }
  .scroll-cue {
    bottom: 13px;
    font-size: 11px;
  }
  .story-intro {
    padding: 65px 0 15px;
  }
  .story-intro h2 {
    font-size: 27px;
  }
  .story-intro p {
    font-size: 13px;
  }
  .layer-chapter {
    min-height: 820px;
    display: block;
    padding: 75px 0 65px;
  }
  .chapter-copy,
  .chapter-reverse .chapter-copy {
    width: 100%;
    margin: 0;
    max-width: 500px;
    position: relative;
    top: auto;
  }
  .chapter-copy h2 {
    font-size: 43px;
    letter-spacing: -1.8px;
  }
  .chapter-number {
    margin-bottom: 23px;
    font-size: 11px;
  }
  .chapter-description {
    font-size: 15px;
    line-height: 1.85;
    max-width: 400px;
    margin-top: 23px;
  }
  .chapter-footnote {
    font-size: 11px;
    margin-top: 22px;
    max-width: 390px;
  }
  .chapter-copy > .text-link {
    margin-top: 18px;
  }
  .mobile-visual {
    display: block;
    position: relative;
    height: 315px;
    width: 100%;
    margin-top: 30px;
    perspective: 1000px;
    overflow: visible;
  }
  .mobile-visual .stack-block {
    width: 100%;
    max-width: 440px;
    height: 300px;
    margin: 0;
    left: 50%;
    top: 0;
    transform-origin: center;
    translate: -50% 0;
    --open: 1;
  }
  .mobile-visual .block-edge {
    display: none;
  }
  .panel-top > span:first-child {
    font-size: 11px;
  }
  .panel-top > span:last-child {
    font-size: 9px;
  }
  .panel-bottom {
    font-size: 10px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .use-cases {
    padding: 70px 0;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  .case-card {
    padding-top: 22px;
  }
  .case-card h3 {
    font-size: 28px;
    margin-top: 22px;
  }
  .case-card > p {
    font-size: 15px;
    min-height: 0;
    max-width: 390px;
  }
  .case-card .text-link {
    font-size: 13px;
    margin-top: 15px;
    gap: 25px;
  }
  .case-tag {
    font-size: 11px;
  }
  .okx-section {
    padding: 70px 0 30px;
  }
  .okx-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .okx-layout h2 {
    font-size: 38px;
  }
  .okx-layout > div > p:not(.eyebrow) {
    font-size: 15px;
  }
  .ecosystem-reasons article {
    padding-block: 23px;
  }
  .ecosystem-reasons p {
    font-size: 14px;
    max-width: 350px;
  }
  .ecosystem-footnote {
    font-size: 11px;
    margin-top: 32px;
  }
  .faq-section {
    padding-block: 75px;
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .faq-backdrop {
    inset-inline: -20px;
    opacity: 0.5;
    mask-image: linear-gradient(#000 10%, #0008 55%, transparent);
  }
  .faq-stack {
    left: 48%;
    top: 40%;
    width: 300px;
    height: 230px;
  }
  .faq-section h2 {
    font-size: 35px;
  }
  .faq-list summary {
    font-size: 13px;
  }
  .faq-answer > p {
    font-size: 13px;
  }
  .closing-section {
    padding-block: 85px;
  }
  .closing-content h2 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .site-footer {
    padding-block: 30px;
    min-height: 120px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-links {
    justify-self: start;
  }
  .site-footer small {
    min-height: 0;
    font-size: 10px;
  }
  dialog {
    padding: 30px 20px;
    max-height: 90dvh;
  }
  .brief-heading h2 {
    font-size: 27px;
  }
  .brief-actions {
    gap: 8px;
  }
  .brief-actions .button {
    font-size: 12px;
  }
  .form-pair {
    gap: 12px;
  }
}
@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 38px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding-inline: 13px;
    gap: 14px;
  }
  .hero-section {
    min-height: 820px;
  }
  .hero-mobile-stack .stack-block {
    width: 225px;
    margin-left: -112.5px;
  }
  .chapter-copy h2 {
    font-size: 37px;
  }
  .chapter-description {
    font-size: 14px;
  }
  .panel-top {
    padding-inline: 13px;
  }
  .panel-top > span:first-child {
    font-size: 10px;
  }
  .panel-top > span:last-child {
    font-size: 8px;
  }
  .file-tree {
    padding-inline: 15px;
    font-size: 11px;
  }
  .file-tree .content-item {
    gap: 10px;
  }
  .mini-sidebar {
    width: 49px;
    padding-inline: 13px;
  }
  .mini-page {
    padding-inline: 17px;
  }
  .mini-page h3 {
    font-size: 24px;
  }
  .mission-question {
    font-size: 18px;
    padding-inline: 15px;
  }
  .mission-people {
    padding-inline: 13px;
    gap: 6px;
  }
  .participant {
    padding-inline: 8px;
  }
  .participant strong {
    font-size: 11px;
  }
  .participant small {
    font-size: 9px;
  }
  .feedback-pair {
    padding-inline: 13px;
    gap: 8px;
  }
  .feedback-item {
    padding-inline: 7px;
  }
  .feedback-item > span {
    font-size: 6.5px;
  }
  .feedback-item p {
    font-size: 15px;
  }
  .agent-request {
    font-size: 11px;
    padding-inline: 16px;
  }
  .panel-bottom {
    font-size: 9px;
    padding-inline: 14px;
  }
  .closing-content h2 {
    font-size: 38px;
  }
}
/* Reduced motion keeps the same content in ordinary document flow. */
.motion-reduced .layer-chapter {
  min-height: 105svh;
  display: flex;
  align-items: center;
  padding-block: 90px;
}
.motion-reduced .chapter-copy {
  position: static;
}
.motion-reduced .stack-scene {
  display: none;
}
.motion-reduced .mobile-visual {
  display: block;
  position: relative;
  width: 45%;
  height: 320px;
  margin-left: auto;
}
.motion-reduced .mobile-visual .stack-block {
  width: 100%;
  height: 300px;
  margin: 0;
  left: 0;
  top: 0;
  --open: 1;
}
.motion-reduced .chapter-reverse {
  flex-direction: row-reverse;
}
.motion-reduced .chapter-reverse .mobile-visual {
  margin-right: auto;
  margin-left: 0;
}
.motion-reduced .chapter-reverse .chapter-copy {
  margin-left: 0;
}
.motion-reduced .hero-mobile-stack {
  display: block;
  position: relative;
  width: 40%;
  height: 320px;
  margin-left: auto;
  perspective: 1000px;
}
.motion-reduced .hero-mobile-stack .stack-block {
  width: 280px;
  height: 210px;
  margin-left: -140px;
  margin-top: -105px;
}
.motion-reduced .hero-mobile-stack .block-content {
  display: none;
}
@media (max-width: 760px) {
  .motion-reduced .layer-chapter {
    display: block;
    min-height: 820px;
    padding-block: 75px 65px;
  }
  .motion-reduced .mobile-visual {
    width: 100%;
    height: 315px;
    margin-top: 30px;
  }
  .motion-reduced .hero-mobile-stack {
    width: 100%;
    height: 335px;
    margin: 28px 0 0;
  }
  .motion-reduced .mobile-visual .stack-block {
    left: 50%;
  }
  .motion-reduced .hero-mobile-stack .stack-block {
    width: 225px;
    margin-left: -112.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .stack-block,
  .content-item,
  .chapter-copy {
    will-change: auto;
  }
  .scroll-progress {
    display: none;
  }
}
/* Keep copy and illustration within one card in the static and mobile layouts too. */
.cards-ready.motion-reduced .layer-chapter {
  min-height: 0;
  padding: 40px;
  margin-block: 36px;
  border: 1px solid #c2a6df38;
  border-radius: 12px;
  background: linear-gradient(130deg, #21192b, #141018);
}
@media (max-width: 760px) {
  .cards-ready .layer-chapter,
  .cards-ready.motion-reduced .layer-chapter {
    min-height: 0;
    padding: 28px 20px 16px;
    margin-block: 28px;
    border: 1px solid #c2a6df38;
    border-radius: 12px;
    background: linear-gradient(130deg, #21192b, #141018);
  }
  .cards-ready .layer-chapter .chapter-copy {
    position: static;
  }
  .cards-ready .mobile-visual {
    margin-top: 28px;
    margin-left: -20px;
    width: calc(100% + 40px);
  }
  .cards-ready .mobile-visual .block-surface {
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .cards-ready .mobile-visual .stack-block::before,
  .cards-ready .mobile-visual .stack-block::after {
    display: none;
  }
}
