:root {
  color-scheme: dark;
  --p: 0;
  --hero-copy: 1;
  --hero-chrome: 1;
  --airport-copy: 0;
  --airport-copy-scan: 0;
  --airport-copy-scan-active: 0;
  --airport-copy-spark: 0;
  --checkpoint-copy: 0;
  --checkpoint-copy-scan: 0;
  --checkpoint-copy-scan-active: 0;
  --checkpoint-copy-spark: 0;
  --checkpoint-screen-reveal: 0;
  --approval-copy: 0;
  --approval-copy-scan: 0;
  --approval-copy-scan-active: 0;
  --approval-copy-spark: 0;
  --execution-copy: 0;
  --execution-copy-scan: 0;
  --execution-copy-scan-active: 0;
  --execution-copy-spark: 0;
  --approval-tip: 0;
  --permission-tip: 0;
  --copy-focus: 0.56;
  --copy-readable: 0.56;
  --anchor-approach: 0;
  --anchor-impact: 0;
  --anchor-impact-x: 0;
  --anchor-settle: 0;
  --anchor-y: 0%;
  --anchor-canvas-scale: 1;
  --rail-progress: 0;
  --copy-left: clamp(18px, 5vw, 86px);
  --copy-top: 43%;
  --copy-width: min(520px, 42vw);
  --copy-anchor-y: -50%;
  --copy-card-title-width: 7.4ch;
  --copy-card-title-size: clamp(35px, 4.5vw, 64px);
  --copy-card-title-line: 0.9;
  --copy-card-body-width: 20.5rem;
  --copy-card-body-size: clamp(12px, 0.92vw, 14px);
  --faq-transition: 0;
  --faq-overlay-alpha: 0;
  --faq-clip-top: 0%;
  --faq-clip-bottom: 0%;
  --faq-scene-blur: 8px;
  --faq-scene-brightness: 0.74;
  --faq-scene-saturation: 0.82;
  --faq-scene-scale: 1.04;
  --faq-scene-y: 28px;
  --faq-stage-opacity: 1;
  --faq-stage-veil: 0;
  --scene-saturation: 1.12;
  --scene-contrast: 1.04;
  --scene-brightness: 1;
  --ink: #fff1c9;
  --muted: rgba(255, 241, 201, 0.72);
  --gold: #f0b84a;
  --cyan: #62c9ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #02070b;
  color: var(--ink);
  font-family:
    ui-monospace,
    "SFMono-Regular",
    "Cascadia Code",
    "Liberation Mono",
    Menlo,
    monospace;
}

body {
  overflow-x: hidden;
}

.demo-shell {
  min-height: 700vh;
}

.stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #02070b;
  cursor: grab;
  touch-action: pan-y;
}

.stage.is-drag-scrolling {
  cursor: grabbing;
}

.stage::before {
  content: none;
}

.stage.is-drag-scrolling::before {
  opacity: 0;
}

.stage.is-anchor-approaching::before {
  opacity: 0;
}

.stage.is-scene-snapping::before {
  animation: none;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: var(--faq-stage-veil);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(98, 201, 255, 0.12), transparent 38rem),
    radial-gradient(ellipse at 50% 100%, rgba(240, 184, 74, 0.2), transparent 32rem),
    linear-gradient(180deg, rgba(2, 7, 11, 0.18), rgba(1, 5, 10, 0.92));
  transition: opacity 160ms linear;
}

.scene-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #02070b;
  filter:
    saturate(var(--scene-saturation))
    contrast(var(--scene-contrast))
    brightness(var(--scene-brightness));
  transform:
    translate3d(calc(var(--anchor-impact-x) * 2px), 0, 0)
    scale(var(--anchor-canvas-scale));
  transform-origin: center;
  transition:
    filter 170ms linear,
    transform 210ms cubic-bezier(0.18, 0.82, 0.18, 1);
  will-change: transform, filter;
  contain: paint;
}

.stage.is-scene-snapping .scene-canvas {
  transition-duration: 80ms;
}

.cursor-particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 16;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.is-demo-modal-open .cursor-particle-canvas {
  z-index: 31;
}

.haomai-cursor {
  --cursor-x: -80px;
  --cursor-y: -80px;
  --cursor-scale: 1;
  --cursor-ink: rgba(255, 241, 201, 0.74);
  --cursor-cyan: rgba(98, 201, 255, 0.88);
  --cursor-gold: rgba(240, 184, 74, 0.72);
  position: fixed;
  z-index: 80;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0;
  transform:
    translate3d(calc(var(--cursor-x) - 16px), calc(var(--cursor-y) - 16px), 0)
    scale(var(--cursor-scale));
  transition:
    opacity 160ms ease,
    transform 80ms linear;
  will-change: transform, opacity;
}

.has-haomai-cursor,
.has-haomai-cursor * {
  cursor: none;
}

.has-haomai-cursor .haomai-cursor.is-visible {
  opacity: 1;
}

.haomai-cursor__core,
.haomai-cursor::before,
.haomai-cursor::after {
  position: absolute;
  display: block;
  content: "";
}

.haomai-cursor__core {
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  background: #fff6cc;
  transform: translate(-50%, -50%);
  box-shadow:
    -6px 0 0 var(--cursor-cyan),
    6px 0 0 var(--cursor-gold),
    0 -6px 0 rgba(255, 241, 201, 0.86),
    0 6px 0 rgba(98, 201, 255, 0.72),
    0 0 16px rgba(98, 201, 255, 0.74),
    0 0 28px rgba(240, 184, 74, 0.38);
}

.haomai-cursor::before {
  inset: 7px;
  border: 1px solid var(--cursor-ink);
  box-shadow:
    inset 0 0 0 1px rgba(98, 201, 255, 0.18),
    0 0 14px rgba(98, 201, 255, 0.28);
}

.haomai-cursor::after {
  inset: 2px;
  border:
    1px solid var(--cursor-gold);
  opacity: 0.68;
  transform: rotate(45deg) scale(0.72);
}

.haomai-cursor.is-action,
.haomai-cursor.is-faq-action {
  --cursor-scale: 1.28;
  --cursor-ink: rgba(120, 228, 255, 0.92);
  --cursor-cyan: rgba(120, 228, 255, 1);
  --cursor-gold: rgba(240, 184, 74, 0.96);
}

.haomai-cursor.is-action::before,
.haomai-cursor.is-faq-action::before {
  inset: 5px;
  border-color: rgba(120, 228, 255, 0.86);
  animation: cursor-lock-pulse 720ms steps(2, end) infinite;
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 201, 0.2),
    0 0 20px rgba(98, 201, 255, 0.72),
    0 0 34px rgba(240, 184, 74, 0.32);
}

.haomai-cursor.is-action::after,
.haomai-cursor.is-faq-action::after {
  inset: 0;
  opacity: 0.92;
  border-color: rgba(240, 184, 74, 0.82);
  transform: rotate(45deg) scale(0.86);
  animation: cursor-orbit-lock 960ms steps(4, end) infinite;
}

.haomai-cursor.is-action .haomai-cursor__core,
.haomai-cursor.is-faq-action .haomai-cursor__core {
  background: #78e4ff;
  box-shadow:
    -8px 0 0 rgba(120, 228, 255, 1),
    8px 0 0 rgba(240, 184, 74, 0.98),
    0 -8px 0 rgba(255, 246, 204, 0.96),
    0 8px 0 rgba(120, 228, 255, 0.9),
    0 0 18px rgba(120, 228, 255, 0.88),
    0 0 34px rgba(240, 184, 74, 0.56);
}

@keyframes cursor-lock-pulse {
  0%,
  100% {
    opacity: 0.86;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@keyframes cursor-orbit-lock {
  0% {
    transform: rotate(45deg) scale(0.82);
  }

  100% {
    transform: rotate(135deg) scale(0.82);
  }
}

@keyframes anchor-frame-catch {
  0% {
    opacity: calc(var(--anchor-settle) * 0.4 + 0.14);
    filter: brightness(0.92);
  }

  45% {
    opacity: calc(var(--anchor-settle) * 0.78 + 0.32);
    filter: brightness(1.18);
  }

  100% {
    opacity: calc(var(--anchor-settle) * 0.78 + var(--anchor-impact) * 0.26);
    filter: brightness(1);
  }
}

@keyframes anchor-marker-catch {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
  }

  42% {
    transform: translate(-50%, -50%) scale(1.52);
  }

  100% {
    transform: translate(-50%, -50%) scale(calc(1 + var(--anchor-settle) * 0.26));
  }
}

.wordmark {
  position: absolute;
  z-index: 8;
  top: clamp(18px, 3vw, 42px);
  left: clamp(18px, 4vw, 72px);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 241, 201, 0.78);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: calc(var(--faq-stage-opacity) * var(--hero-chrome));
  transform: translateY(calc((1 - var(--hero-chrome)) * -8px));
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
  transition:
    opacity 240ms ease,
    transform 280ms ease;
}

.wordmark::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(90deg, transparent 0 4px, var(--gold) 4px 10px, transparent 10px),
    linear-gradient(transparent 0 4px, var(--gold) 4px 10px, transparent 10px);
  box-shadow: 0 0 18px rgba(240, 184, 74, 0.56);
}

.site-header {
  pointer-events: auto;
  max-width: min(760px, calc(100vw - 40px));
  padding: 10px 12px 10px 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 11, 0.64), rgba(2, 7, 11, 0.3) 72%, transparent);
  border-radius: 0 2px 2px 0;
}

.site-header__brand {
  color: rgba(255, 241, 201, 0.84);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__brand:hover,
.site-header__brand:focus-visible {
  color: #fff6cc;
  outline: none;
}

.site-header__nav,
.site-footer nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header__nav {
  padding-left: clamp(8px, 1vw, 16px);
}

.site-header__nav a,
.site-header__nav button,
.site-footer a,
.site-footer button {
  appearance: none;
  border: 1px solid rgba(255, 241, 201, 0.12);
  color: rgba(255, 241, 201, 0.68);
  background: rgba(2, 7, 11, 0.28);
  padding: 6px 7px;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible,
.site-header__nav button:hover,
.site-header__nav button:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  border-color: rgba(240, 184, 74, 0.52);
  color: #fff6cc;
  background: rgba(8, 21, 28, 0.64);
  box-shadow: 0 0 22px rgba(98, 201, 255, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.copy-stack {
  position: absolute;
  z-index: 4;
  left: var(--copy-left);
  top: var(--copy-top);
  width: var(--copy-width);
  opacity: var(--faq-stage-opacity);
  transform: translateY(var(--copy-anchor-y));
  isolation: isolate;
  pointer-events: auto;
  transition:
    left 640ms cubic-bezier(0.2, 0.72, 0.16, 1),
    top 640ms cubic-bezier(0.2, 0.72, 0.16, 1),
    width 640ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 640ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.copy-panel {
  position: absolute;
  inset: auto;
  width: 100%;
  padding-left: clamp(16px, 1.6vw, 24px);
  border-left: 2px solid rgba(240, 184, 74, calc(0.14 + var(--copy-readable) * 0.7));
  isolation: isolate;
  pointer-events: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
  filter:
    saturate(calc(0.68 + var(--copy-readable) * 0.42))
    brightness(calc(0.66 + var(--copy-readable) * 0.34));
}

.copy-panel.is-active {
  pointer-events: auto;
}

.copy-panel::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -18px;
  width: 64px;
  height: 2px;
  opacity: calc(0.1 + var(--copy-readable) * 0.9);
  background: linear-gradient(90deg, var(--gold), transparent);
  box-shadow: 0 0 0 rgba(240, 184, 74, 0);
  transition:
    width 220ms cubic-bezier(0.2, 0.72, 0.16, 1),
    opacity 160ms ease,
    box-shadow 180ms ease;
}

.copy-panel.is-active::before {
  width: calc(64px + var(--anchor-settle) * 42px);
  box-shadow: 0 0 18px rgba(240, 184, 74, calc(var(--anchor-settle) * 0.42));
}

.copy-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -26px -40px -34px -24px;
  pointer-events: none;
  opacity: calc(var(--copy-readable) * 0.96);
  background:
    linear-gradient(90deg, rgba(2, 7, 11, 0.88), rgba(2, 7, 11, 0.62) 58%, rgba(2, 7, 11, 0.08)),
    radial-gradient(circle at 20% 46%, rgba(98, 201, 255, 0.18), transparent 58%);
  border: 1px solid rgba(240, 184, 74, calc(0.06 + var(--copy-readable) * 0.24));
  box-shadow:
    0 22px 82px rgba(0, 0, 0, calc(0.18 + var(--copy-readable) * 0.42)),
    0 0 34px rgba(98, 201, 255, calc(var(--anchor-settle) * 0.1));
  transform: translate3d(calc(var(--anchor-settle) * 2px), 0, 0);
  transition:
    box-shadow 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.copy-panel h1,
.copy-panel h2 {
  max-width: var(--copy-card-title-width);
  font-size: var(--copy-card-title-size);
  line-height: var(--copy-card-title-line);
}

.copy-panel .copy {
  max-width: var(--copy-card-body-width);
  font-size: var(--copy-card-body-size);
}

.copy-panel .copy-detail {
  max-width: var(--copy-card-body-width);
}

.copy-panel--hero {
  opacity: calc(var(--hero-copy) * (0.12 + var(--copy-readable) * 0.88));
  transform: translate3d(0, calc((1 - var(--hero-copy)) * -18px), 0);
}

.copy-panel--case {
  opacity: calc(var(--airport-copy) * (0.12 + var(--copy-readable) * 0.88));
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
  transform: translate3d(calc((1 - var(--airport-copy-scan)) * -9px), calc((1 - var(--airport-copy)) * 5px), 0);
}

.copy-panel--checkpoint {
  opacity: calc(var(--checkpoint-copy) * (0.12 + var(--copy-readable) * 0.88));
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
  transform: translate3d(calc((1 - var(--checkpoint-copy-scan)) * -8px), calc((1 - var(--checkpoint-copy)) * 8px), 0);
}

.copy-panel--case > *,
.copy-panel--checkpoint > *,
.copy-panel--approval > *,
.copy-panel--execution > * {
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.copy-panel--case > * {
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0,
    #000 calc(var(--airport-copy-scan) * 100% - 20px),
    rgba(0, 0, 0, 0.74) calc(var(--airport-copy-scan) * 100% - 2px),
    rgba(0, 0, 0, 0.24) calc(var(--airport-copy-scan) * 100% + 14px),
    transparent calc(var(--airport-copy-scan) * 100% + 28px)
  );
  mask-image: linear-gradient(
    90deg,
    #000 0,
    #000 calc(var(--airport-copy-scan) * 100% - 20px),
    rgba(0, 0, 0, 0.74) calc(var(--airport-copy-scan) * 100% - 2px),
    rgba(0, 0, 0, 0.24) calc(var(--airport-copy-scan) * 100% + 14px),
    transparent calc(var(--airport-copy-scan) * 100% + 28px)
  );
}

.copy-panel--checkpoint > * {
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0,
    #000 calc(var(--checkpoint-copy-scan) * 100% - 20px),
    rgba(0, 0, 0, 0.74) calc(var(--checkpoint-copy-scan) * 100% - 2px),
    rgba(0, 0, 0, 0.24) calc(var(--checkpoint-copy-scan) * 100% + 14px),
    transparent calc(var(--checkpoint-copy-scan) * 100% + 28px)
  );
  mask-image: linear-gradient(
    90deg,
    #000 0,
    #000 calc(var(--checkpoint-copy-scan) * 100% - 20px),
    rgba(0, 0, 0, 0.74) calc(var(--checkpoint-copy-scan) * 100% - 2px),
    rgba(0, 0, 0, 0.24) calc(var(--checkpoint-copy-scan) * 100% + 14px),
    transparent calc(var(--checkpoint-copy-scan) * 100% + 28px)
  );
}

.copy-panel--approval > * {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    transparent calc((1 - var(--approval-copy-scan)) * 100% - 28px),
    rgba(0, 0, 0, 0.24) calc((1 - var(--approval-copy-scan)) * 100% - 14px),
    rgba(0, 0, 0, 0.74) calc((1 - var(--approval-copy-scan)) * 100% + 2px),
    #000 calc((1 - var(--approval-copy-scan)) * 100% + 20px),
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    transparent calc((1 - var(--approval-copy-scan)) * 100% - 28px),
    rgba(0, 0, 0, 0.24) calc((1 - var(--approval-copy-scan)) * 100% - 14px),
    rgba(0, 0, 0, 0.74) calc((1 - var(--approval-copy-scan)) * 100% + 2px),
    #000 calc((1 - var(--approval-copy-scan)) * 100% + 20px),
    #000 100%
  );
}

.copy-panel--execution > * {
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0,
    #000 calc(var(--execution-copy-scan) * 100% - 20px),
    rgba(0, 0, 0, 0.74) calc(var(--execution-copy-scan) * 100% - 2px),
    rgba(0, 0, 0, 0.24) calc(var(--execution-copy-scan) * 100% + 14px),
    transparent calc(var(--execution-copy-scan) * 100% + 28px)
  );
  mask-image: linear-gradient(
    180deg,
    #000 0,
    #000 calc(var(--execution-copy-scan) * 100% - 20px),
    rgba(0, 0, 0, 0.74) calc(var(--execution-copy-scan) * 100% - 2px),
    rgba(0, 0, 0, 0.24) calc(var(--execution-copy-scan) * 100% + 14px),
    transparent calc(var(--execution-copy-scan) * 100% + 28px)
  );
}

.copy-panel--approval {
  opacity: calc(var(--approval-copy) * (0.12 + var(--copy-readable) * 0.88) * (1 - var(--approval-tip) * 0.94));
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
  transform: translate3d(calc((1 - var(--approval-copy-scan)) * 9px), calc((1 - var(--approval-copy)) * 8px), 0);
}

.copy-panel--execution {
  opacity: calc(var(--execution-copy) * (0.12 + var(--copy-readable) * 0.88) * (1 - var(--permission-tip) * 0.84));
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
  transform: translate3d(0, calc((1 - var(--execution-copy-scan)) * -8px), 0);
}

.copy-panel--execution h2 {
  max-width: 11ch;
  font-size: clamp(32px, 4vw, 58px);
}

.copy-panel--checkpoint,
.copy-panel--approval,
.copy-panel--execution {
  transform: translate3d(0, 0, 0);
}

.copy-panel--checkpoint > *,
.copy-panel--approval > *,
.copy-panel--execution > * {
  -webkit-mask-image: none;
  mask-image: none;
  opacity: var(--copy-field-scan, 1);
}

.copy-panel--checkpoint > * {
  --copy-field-scan: var(--checkpoint-copy-scan);
}

.copy-panel--approval > * {
  --copy-field-scan: var(--approval-copy-scan);
}

.copy-panel--execution > * {
  --copy-field-scan: var(--execution-copy-scan);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(48px, 8vw, 126px);
  line-height: 0.84;
  letter-spacing: -0.09em;
}

h2 {
  max-width: 15ch;
  font-size: clamp(30px, 4.15vw, 62px);
  line-height: 0.9;
}

.copy {
  max-width: 35rem;
  margin: clamp(18px, 2vw, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.22vw, 18px);
  line-height: 1.65;
}

.copy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 24rem;
  margin: 16px 0 -4px;
  padding: 0;
  color: rgba(120, 228, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.copy-meta span {
  padding: 5px 7px;
  border: 1px solid rgba(98, 201, 255, 0.2);
  background: rgba(2, 7, 11, 0.42);
  box-shadow: inset 0 0 18px rgba(98, 201, 255, 0.06);
}

.copy-detail {
  max-width: var(--copy-card-body-width);
  margin: 14px 0 0;
  color: rgba(255, 241, 201, 0.66);
  font-size: clamp(11px, 0.84vw, 13px);
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.copy-detail::before {
  content: "// ";
  color: rgba(240, 184, 74, 0.68);
  letter-spacing: 0.08em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 226, 153, 0.35);
  color: #170f03;
  background: var(--gold);
  text-decoration: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 0 2px rgba(2, 7, 11, 0.54);
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(255, 241, 201, 0.72);
  box-shadow:
    0 0 0 2px rgba(2, 7, 11, 0.64),
    0 0 28px rgba(240, 184, 74, 0.26);
  outline: none;
  transform: translateY(-1px);
}

.button--ghost {
  color: var(--ink);
  background: rgba(2, 7, 11, 0.54);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(10, 22, 30, 0.72);
  color: #fff6cc;
  box-shadow:
    0 0 0 2px rgba(2, 7, 11, 0.64),
    0 0 24px rgba(98, 201, 255, 0.18);
}

.text-link {
  color: rgba(255, 241, 201, 0.88);
  text-decoration: underline;
  text-decoration-color: rgba(98, 201, 255, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: #78e4ff;
  outline: none;
  text-decoration-color: rgba(240, 184, 74, 0.74);
}

.text-link--button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.progress-rail {
  --rail-line-x: 44px;
  position: fixed;
  z-index: 12;
  right: clamp(18px, 2.8vw, 42px);
  top: 50%;
  width: 88px;
  height: min(58vh, 430px);
  transform: translateY(-50%);
  opacity: calc(var(--faq-stage-opacity) * 0.92);
  pointer-events: auto;
}

.progress-rail::before {
  content: "";
  position: absolute;
  left: var(--rail-line-x);
  top: 18px;
  width: 3px;
  height: calc(100% - 36px);
  border-radius: 99px;
  background:
    linear-gradient(180deg, rgba(255, 241, 201, 0.28), rgba(98, 201, 255, 0.42) 48%, rgba(98, 201, 255, 0.16)),
    rgba(4, 18, 24, 0.5);
  box-shadow:
    0 0 12px rgba(98, 201, 255, 0.28),
    0 0 28px rgba(2, 7, 11, 0.82);
  transform: translateX(-50%);
}

.progress-rail::after {
  content: "";
  position: absolute;
  left: var(--rail-line-x);
  top: 18px;
  width: 3px;
  height: calc(100% - 36px);
  border-radius: 99px;
  opacity: 0.98;
  background:
    linear-gradient(180deg, #fff6cc 0%, #efb43d 34%, #78e4ff 100%);
  box-shadow:
    0 0 14px rgba(240, 184, 74, 0.52),
    0 0 30px rgba(98, 201, 255, 0.24);
  transform: translateX(-50%) scaleY(var(--rail-progress));
  transform-origin: top;
  transition:
    transform 180ms cubic-bezier(0.2, 0.72, 0.16, 1),
    opacity 160ms linear;
}

.progress-rail__anchor {
  --node-shift: 0px;
  appearance: none;
  position: absolute;
  left: calc(var(--rail-line-x) + var(--node-shift));
  top: var(--anchor-offset);
  z-index: 2;
  display: block;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.progress-rail__anchor:focus-visible {
  outline: none;
}

.progress-rail__anchor:hover::after,
.progress-rail__anchor:focus-visible::after {
  border-color: rgba(120, 228, 255, 0.9);
  box-shadow:
    0 0 0 3px rgba(2, 7, 11, 0.78),
    0 0 18px rgba(120, 228, 255, 0.42),
    0 0 32px rgba(240, 184, 74, 0.2),
    inset 0 0 0 1px rgba(255, 241, 201, 0.22);
  transform: translate(-50%, -50%) scale(1.04);
}

.progress-rail__anchor::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  opacity: 0.62;
  background: linear-gradient(90deg, rgba(98, 201, 255, 0.5), rgba(255, 241, 201, 0.68));
  transform: translateY(-50%);
}

.progress-rail__anchor::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 241, 201, 0.52);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 246, 204, 0.86) 0 17%, rgba(240, 184, 74, 0.42) 18% 38%, transparent 39%),
    rgba(2, 7, 11, 0.62);
  box-shadow:
    0 0 0 2px rgba(2, 7, 11, 0.72),
    0 0 14px rgba(98, 201, 255, 0.22),
    inset 0 0 0 1px rgba(98, 201, 255, 0.18);
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.78);
  transition:
    border-color 160ms ease,
    opacity 160ms ease,
    background-color 160ms ease,
    box-shadow 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.progress-rail__anchor:nth-child(1),
.progress-rail__anchor:nth-child(6) {
  --node-shift: 0px;
}

.progress-rail__anchor:nth-child(2),
.progress-rail__anchor:nth-child(4) {
  --node-shift: -16px;
}

.progress-rail__anchor:nth-child(3),
.progress-rail__anchor:nth-child(5) {
  --node-shift: 16px;
}

.progress-rail__anchor:nth-child(3)::before,
.progress-rail__anchor:nth-child(5)::before {
  right: 50%;
  left: auto;
  background: linear-gradient(90deg, rgba(255, 241, 201, 0.68), rgba(98, 201, 255, 0.5));
}

.progress-rail__anchor:nth-child(1)::before,
.progress-rail__anchor:nth-child(6)::before {
  content: none;
}

.progress-rail__anchor.is-past::after {
  border-color: rgba(240, 184, 74, 0.54);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 246, 204, 0.94) 0 20%, rgba(240, 184, 74, 0.48) 21% 42%, transparent 43%),
    rgba(240, 184, 74, 0.18);
  box-shadow:
    0 0 0 2px rgba(2, 7, 11, 0.78),
    0 0 16px rgba(240, 184, 74, 0.28),
    0 0 26px rgba(98, 201, 255, 0.12),
    inset 0 0 0 1px rgba(255, 241, 201, 0.12);
}

.progress-rail__anchor.is-past::after {
  opacity: 0.78;
}

.progress-rail__anchor.is-active::after {
  border-color: rgba(255, 246, 204, 0.9);
  background:
    radial-gradient(circle at 50% 50%, #fff6cc 0 18%, #efb43d 20% 42%, transparent 44%),
    rgba(240, 184, 74, 0.38);
  box-shadow:
    0 0 0 2px rgba(2, 7, 11, 0.82),
    0 0 20px rgba(240, 184, 74, 0.62),
    0 0 38px rgba(98, 201, 255, 0.26),
    inset 0 0 0 1px rgba(255, 241, 201, 0.34);
  transform: translate(-50%, -50%) scale(calc(0.98 + var(--anchor-settle) * 0.18));
}

.progress-rail__anchor.is-target::after {
  border-color: rgba(120, 228, 255, 0.96);
  box-shadow:
    0 0 0 3px rgba(2, 7, 11, 0.8),
    0 0 22px rgba(120, 228, 255, 0.58),
    0 0 42px rgba(240, 184, 74, 0.24),
    inset 0 0 0 1px rgba(255, 241, 201, 0.3);
  transform: translate(-50%, -50%) scale(1.16);
}

.progress-rail.is-animating::after {
  transition-duration: 520ms;
}

.progress-rail__anchor.is-active::before {
  opacity: 0.92;
  background: linear-gradient(90deg, rgba(120, 228, 255, 0.86), rgba(255, 246, 204, 0.94));
  box-shadow: 0 0 12px rgba(98, 201, 255, 0.32);
}

.progress-rail__anchor.is-active::after {
  background: #fff6cc;
  opacity: calc(0.76 + var(--anchor-settle) * 0.22);
  box-shadow:
    0 0 10px rgba(240, 184, 74, 0.74),
    0 0 22px rgba(98, 201, 255, 0.28);
}

.progress-rail__anchor.is-settled::after {
  border-color: rgba(255, 246, 204, 0.88);
  background:
    radial-gradient(circle at 50% 50%, #fff6cc 0 22%, #efb43d 24% 48%, transparent 50%),
    rgba(255, 241, 201, 0.36);
  box-shadow:
    0 0 0 1px rgba(2, 7, 11, 0.74),
    0 0 22px rgba(240, 184, 74, 0.66),
    0 0 40px rgba(98, 201, 255, 0.3);
}

.stage.is-anchor-approaching .progress-rail__anchor.is-active::after {
  border-color: rgba(98, 201, 255, 0.62);
  box-shadow:
    0 0 0 3px rgba(2, 7, 11, 0.72),
    0 0 20px rgba(98, 201, 255, 0.34),
    inset 0 0 0 1px rgba(255, 241, 201, 0.14);
}

.stage.is-scene-snapping .progress-rail__anchor.is-active {
  animation: anchor-marker-catch 360ms steps(3, end) 1;
}

.site-footer {
  position: fixed;
  z-index: 8;
  right: clamp(18px, 3vw, 44px);
  bottom: clamp(18px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: min(520px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(240, 184, 74, 0.16);
  color: rgba(255, 241, 201, 0.58);
  opacity: calc(var(--faq-stage-opacity) * var(--hero-chrome));
  transform: translateY(calc((1 - var(--hero-chrome)) * 10px));
  background:
    linear-gradient(135deg, rgba(2, 7, 11, 0.56), rgba(2, 7, 11, 0.18));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  text-align: right;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.74);
  transition:
    opacity 260ms ease,
    transform 300ms ease;
}

:root.is-hero-chrome-hidden .wordmark,
:root.is-hero-chrome-hidden .site-footer {
  pointer-events: none;
}

.site-footer span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.loading {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  background: #02070b;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: opacity 320ms ease;
}

.is-ready .loading {
  opacity: 0;
  pointer-events: none;
}

.hidden-media {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.demo-modal {
  --demo-start-y: 34px;
  --demo-start-scale: 0.78;
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 34px);
  background:
    radial-gradient(circle at 50% 48%, rgba(98, 201, 255, 0.14), transparent 42rem),
    rgba(2, 7, 11, 0.88);
  backdrop-filter: blur(9px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  perspective: 1200px;
  transition:
    opacity 280ms ease,
    visibility 0s linear 360ms,
    backdrop-filter 360ms ease;
}

.demo-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 260ms ease,
    visibility 0s linear 0s,
    backdrop-filter 360ms ease;
}

.demo-modal,
.demo-modal * {
  cursor: auto;
}

.demo-modal__inner {
  position: relative;
  width: min(980px, 96vw);
  border: 1px solid rgba(98, 201, 255, 0.36);
  background: #03090e;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.68),
    0 0 0 2px rgba(2, 7, 11, 0.76);
  opacity: 0;
  overflow: hidden;
  clip-path: none;
  transform: translate3d(0, var(--demo-start-y), 0) scale(var(--demo-start-scale));
  transform-origin: center center;
  will-change: transform, opacity;
  transition:
    opacity 220ms ease,
    transform 420ms cubic-bezier(0.14, 0.82, 0.14, 1);
}

.demo-modal.is-open .demo-modal__inner {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

.demo-modal__top {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 241, 201, 0.12);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-modal__close {
  appearance: none;
  border: 1px solid rgba(98, 201, 255, 0.38);
  background: rgba(5, 18, 27, 0.88);
  color: var(--ink);
  padding: 9px 12px;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-modal__video-frame {
  position: relative;
  width: 100%;
  max-height: min(78vh, 820px);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.demo-modal video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: inherit;
  background: #000;
  transform: translateZ(0);
}


.release-toast {
  position: fixed;
  z-index: 32;
  left: 50%;
  bottom: clamp(22px, 5vw, 58px);
  width: min(440px, calc(100vw - 32px));
  padding: 15px 16px 14px;
  border: 1px solid rgba(240, 184, 74, 0.42);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(8, 22, 31, 0.96), rgba(37, 24, 8, 0.94)),
    rgba(2, 7, 11, 0.94);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(2, 7, 11, 0.72);
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.release-toast.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
}

.release-toast strong,
.release-toast span {
  display: block;
}

.release-toast strong {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-toast span {
  margin-top: 7px;
  color: rgba(255, 241, 201, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.faq-space {
  --faq-tilt-x: 0;
  --faq-tilt-y: 0;
  --faq-pan-x: 0;
  --faq-focus-x: 0px;
  --faq-focus-y: 0px;
  --faq-focus-ry: 0deg;
  --faq-return-offset: 0px;
  --faq-sky-image: none;
  --faq-meteor-image: none;
  --faq-foreground-image: none;
  --faq-active-image: none;
  position: fixed;
  inset: 0;
  z-index: 12;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  padding: 0;
  opacity: var(--faq-overlay-alpha);
  pointer-events: none;
  clip-path: inset(var(--faq-clip-top) 0 var(--faq-clip-bottom) 0);
  filter:
    blur(var(--faq-scene-blur))
    brightness(var(--faq-scene-brightness))
    saturate(var(--faq-scene-saturation));
  transform: translate3d(0, var(--faq-scene-y), 0) scale(var(--faq-scene-scale));
  transition:
    opacity 180ms linear,
    filter 220ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 260ms cubic-bezier(0.2, 0.72, 0.16, 1);
  background:
    radial-gradient(ellipse at 52% 28%, rgba(98, 201, 255, 0.18), transparent 34rem),
    radial-gradient(ellipse at 50% 112%, rgba(240, 184, 74, 0.32), transparent 42rem),
    linear-gradient(180deg, #01050a 0%, #031526 48%, #090704 100%);
}

.faq-space.is-faq-active {
  pointer-events: auto;
}

.faq-space::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -12vw;
  right: -12vw;
  bottom: -9vh;
  height: 46vh;
  opacity: 0.84;
  background:
    radial-gradient(ellipse at 50% 18%, transparent 0 26%, rgba(98, 201, 255, 0.1) 26.4% 26.8%, transparent 27.2%),
    repeating-radial-gradient(ellipse at 50% -14%, rgba(240, 184, 74, 0.2) 0 2px, transparent 2px 76px),
    repeating-linear-gradient(90deg, rgba(240, 184, 74, 0.22) 0 2px, transparent 2px 122px),
    repeating-linear-gradient(0deg, rgba(255, 241, 201, 0.11) 0 2px, transparent 2px 52px),
    linear-gradient(180deg, rgba(8, 22, 28, 0.16), rgba(49, 28, 7, 0.92));
  clip-path: polygon(0 36%, 9% 22%, 22% 29%, 34% 18%, 49% 24%, 63% 14%, 79% 27%, 90% 18%, 100% 34%, 100% 100%, 0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 201, 0.16),
    0 -34px 120px rgba(240, 184, 74, 0.1);
}

.faq-space::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 82%, transparent 0 28%, rgba(240, 184, 74, 0.1) 28.2% 28.55%, transparent 28.85%),
    radial-gradient(ellipse at 50% 84%, transparent 0 42%, rgba(98, 201, 255, 0.08) 42.2% 42.5%, transparent 42.8%),
    linear-gradient(90deg, transparent 0 12%, rgba(98, 201, 255, 0.07) 12.08% 12.24%, transparent 12.32% 100%),
    linear-gradient(0deg, transparent 0 18%, rgba(98, 201, 255, 0.06) 18.08% 18.2%, transparent 18.3% 100%);
  background-size: 160px 160px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0 58%, transparent 82%);
  opacity: 0.7;
}

.faq-space__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 11% 18%, #ffd64a 0 1px, transparent 2px),
    radial-gradient(circle at 19% 42%, #78e4ff 0 1px, transparent 2px),
    radial-gradient(circle at 35% 13%, #fff6cc 0 1px, transparent 2px),
    radial-gradient(circle at 52% 29%, #62c9ff 0 1px, transparent 2px),
    radial-gradient(circle at 69% 17%, #ffd64a 0 1px, transparent 2px),
    radial-gradient(circle at 83% 34%, #78e4ff 0 1px, transparent 2px),
    radial-gradient(circle at 92% 11%, #fff6cc 0 1px, transparent 2px);
  background-size: 240px 180px;
  animation: faq-stars-twinkle 4.8s steps(2, end) infinite;
}

.faq-space__stars::before,
.faq-space__stars::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.faq-space__stars::before {
  left: -8vw;
  right: -8vw;
  bottom: -4vh;
  height: 34vh;
  opacity: 0.72;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 0 16%, rgba(240, 184, 74, 0.24) 16.4% 17%, transparent 17.4%),
    repeating-radial-gradient(ellipse at 50% -10%, rgba(98, 201, 255, 0.1) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(240, 184, 74, 0.3) 78px 81px, transparent 81px 156px),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 241, 201, 0.13) 58px 61px, transparent 61px 120px),
    linear-gradient(180deg, rgba(10, 28, 34, 0.54), rgba(39, 23, 6, 0.9));
  clip-path: polygon(0 18%, 7% 14%, 15% 19%, 24% 11%, 34% 18%, 45% 8%, 56% 16%, 68% 10%, 79% 18%, 90% 12%, 100% 20%, 100% 100%, 0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 201, 0.18),
    0 -24px 90px rgba(240, 184, 74, 0.12);
}

.faq-space__stars::after {
  left: -2vw;
  bottom: 0;
  width: clamp(90px, 11vw, 170px);
  height: 86vh;
  opacity: 0.58;
  background:
    repeating-linear-gradient(0deg, rgba(240, 184, 74, 0.18) 0 2px, transparent 2px 54px),
    repeating-linear-gradient(90deg, rgba(98, 201, 255, 0.14) 0 2px, transparent 2px 42px),
    linear-gradient(90deg, rgba(5, 14, 17, 0.96), rgba(24, 14, 4, 0.8));
  clip-path: polygon(0 0, 78% 8%, 100% 100%, 0 100%);
  box-shadow:
    inset -1px 0 0 rgba(98, 201, 255, 0.22),
    18px 0 72px rgba(0, 0, 0, 0.44);
}

.faq-space__wall {
  position: absolute;
  z-index: 1;
  inset: 7vh -5vw -5vh;
  pointer-events: none;
  opacity: 0.82;
  transform: translateZ(0);
  filter: saturate(1.08) contrast(1.04);
}

.faq-space__wall::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 19vh;
  width: min(1180px, 92vw);
  height: 64vh;
  transform: translateX(-50%);
  border: 1px solid rgba(240, 184, 74, 0.18);
  border-bottom: 0;
  border-radius: 48% 48% 0 0 / 58% 58% 0 0;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(98, 201, 255, 0.16), transparent 28%),
    radial-gradient(ellipse at 50% 73%, rgba(240, 184, 74, 0.13), transparent 38%),
    repeating-radial-gradient(ellipse at 50% 100%, transparent 0 64px, rgba(98, 201, 255, 0.11) 65px 67px, transparent 68px 128px),
    repeating-linear-gradient(90deg, transparent 0 116px, rgba(240, 184, 74, 0.18) 116px 119px, transparent 119px 232px),
    linear-gradient(180deg, rgba(5, 23, 36, 0.62), rgba(7, 19, 21, 0.2) 54%, rgba(35, 20, 6, 0.76));
  box-shadow:
    inset 0 0 0 1px rgba(98, 201, 255, 0.06),
    inset 0 -42px 90px rgba(240, 184, 74, 0.08),
    0 38px 110px rgba(0, 0, 0, 0.44);
}

.faq-space__wall::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1vh;
  width: min(1280px, 102vw);
  height: 30vh;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(90deg, rgba(240, 184, 74, 0.25) 0 2px, transparent 2px 98px),
    repeating-linear-gradient(0deg, rgba(255, 241, 201, 0.12) 0 2px, transparent 2px 58px),
    radial-gradient(ellipse at 48% 0%, rgba(240, 184, 74, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(29, 18, 7, 0.2), rgba(28, 17, 5, 0.92));
  clip-path: polygon(0 42%, 8% 28%, 18% 36%, 28% 24%, 40% 32%, 52% 20%, 64% 30%, 76% 23%, 88% 34%, 100% 26%, 100% 100%, 0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 201, 0.15),
    0 -24px 82px rgba(240, 184, 74, 0.08);
}

.faq-space__dome,
.faq-space__shelf,
.faq-space__desk {
  position: absolute;
  display: block;
}

.faq-space__dome {
  left: 50%;
  top: 1vh;
  width: min(940px, 74vw);
  height: 49vh;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 92% 92% 0 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 246, 204, 0.86) 0 2px, rgba(98, 201, 255, 0.22) 3px 17px, transparent 18px),
    radial-gradient(circle at 61% 12%, rgba(255, 246, 204, 0.72) 0 1px, transparent 3px),
    radial-gradient(circle at 33% 19%, rgba(98, 201, 255, 0.82) 0 1px, transparent 3px),
    repeating-linear-gradient(75deg, transparent 0 84px, rgba(98, 201, 255, 0.13) 84px 86px, transparent 86px 168px),
    repeating-linear-gradient(105deg, transparent 0 92px, rgba(240, 184, 74, 0.12) 92px 94px, transparent 94px 184px);
  mask-image: radial-gradient(ellipse at 50% 100%, #000 0 62%, transparent 63%);
  opacity: 0.8;
}

.faq-space__shelf {
  bottom: 8vh;
  width: min(250px, 18vw);
  height: 56vh;
  opacity: 0.66;
  background:
    repeating-linear-gradient(0deg, rgba(240, 184, 74, 0.22) 0 2px, transparent 2px 64px),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(98, 201, 255, 0.09) 32px 34px, transparent 34px 66px),
    linear-gradient(90deg, rgba(3, 10, 13, 0.82), rgba(43, 25, 7, 0.62));
  box-shadow:
    inset 0 0 0 1px rgba(240, 184, 74, 0.18),
    0 0 70px rgba(0, 0, 0, 0.34);
}

.faq-space__shelf--left {
  left: 0;
  transform: skewY(-2deg);
}

.faq-space__shelf--right {
  right: 0;
  transform: skewY(2deg);
}

.faq-space__desk {
  left: 50%;
  bottom: -2vh;
  width: min(1180px, 96vw);
  height: 16vh;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(90deg, rgba(255, 241, 201, 0.08) 0 1px, transparent 1px 108px),
    radial-gradient(ellipse at 50% 0%, rgba(240, 184, 74, 0.28), transparent 58%),
    linear-gradient(180deg, rgba(59, 32, 7, 0.72), rgba(8, 6, 4, 0.95));
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 241, 201, 0.2),
    0 -20px 84px rgba(240, 184, 74, 0.14);
}

.faq-space__sr-title,
.faq-space__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.faq-space__viewport {
  position: sticky;
  z-index: 4;
  top: 0;
  height: 100svh;
  margin: 0;
  perspective: 1080px;
  perspective-origin: calc(50% + var(--faq-pan-x) * 6%) 43%;
  pointer-events: none;
  overflow: hidden;
  cursor: default;
  touch-action: auto;
  user-select: none;
}

.faq-space.is-faq-active .faq-space__viewport {
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

.faq-space__viewport::before {
  content: "";
  position: absolute;
  z-index: 7;
  top: clamp(20px, 4vh, 44px);
  left: clamp(86px, 14vw, 220px);
  right: clamp(28px, 8vw, 140px);
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transform: scaleX(0.42);
  transform-origin: left center;
  background:
    linear-gradient(90deg, transparent, rgba(120, 228, 255, 0.44), rgba(240, 184, 74, 0.66), transparent);
  box-shadow:
    0 0 18px rgba(120, 228, 255, 0.16),
    0 0 28px rgba(240, 184, 74, 0.14);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 980ms cubic-bezier(0.18, 0.7, 0.12, 1);
}

.faq-space.is-faq-bg-entered .faq-space__viewport::before,
.faq-space.is-faq-entered .faq-space__viewport::before {
  opacity: 0.74;
  transform: scaleX(1);
}

.faq-space__viewport::after {
  content: "";
  position: absolute;
  z-index: 6;
  inset: -8vh -9vw;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(255, 241, 201, 0.1), transparent 31rem),
    linear-gradient(180deg, rgba(1, 5, 10, 0.18), rgba(1, 5, 10, 0.82)),
    var(--faq-active-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(18px) brightness(0.44) saturate(0.9);
  transform: translate3d(0, 34px, 0) scale(0.86);
  transition:
    opacity 420ms cubic-bezier(0.2, 0.72, 0.16, 1),
    filter 620ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 620ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-space.is-card-open .faq-space__viewport::after {
  opacity: 0;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.faq-space.is-card-open-stable .faq-space__viewport::after {
  filter: none;
}

.faq-space.is-card-open-stable .faq-card {
  visibility: hidden;
  opacity: 0;
  filter: none;
  box-shadow: none;
  animation: none;
  pointer-events: none;
  transition: none;
}

.faq-space.is-returning-story .faq-three-canvas {
  filter: blur(4px) brightness(0.7) saturate(0.86);
}

:root.is-faq-return-fading .stage::after {
  opacity: 0;
  transition: opacity 1180ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

:root.is-faq-return-fading .wordmark,
:root.is-faq-return-fading .site-footer,
:root.is-faq-return-fading .copy-stack,
:root.is-faq-return-fading .progress-rail {
  opacity: 1;
  transition: opacity 1180ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-space.is-faq-exit-fading {
  opacity: 0;
  filter: blur(8px) brightness(0.66) saturate(0.82);
  transform: translate3d(0, -14px, 0) scale(0.99);
  transition:
    opacity 1180ms cubic-bezier(0.2, 0.72, 0.16, 1),
    filter 1180ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 1180ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-space__field {
  position: absolute;
  z-index: 5;
  inset: 0;
  transform-style: preserve-3d;
  transform:
    translateX(var(--faq-focus-x))
    translateY(var(--faq-focus-y))
    rotateY(var(--faq-focus-ry))
    translateZ(0);
  transition: transform 620ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-space__field::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: clamp(86px, 8vw, 132px);
  height: clamp(10px, 1.1vw, 18px);
  pointer-events: none;
  opacity: 0;
  transform:
    translate3d(-50%, calc(-50% + min(39vh, 340px)), 118px)
    rotateX(66deg)
    scaleX(0.42)
    scaleY(0.72);
  border: 0;
  background:
    linear-gradient(90deg, transparent, rgba(120, 228, 255, 0.56) 16%, rgba(255, 246, 204, 0.9) 50%, rgba(240, 184, 74, 0.68) 82%, transparent),
    radial-gradient(ellipse at 50% 50%, rgba(240, 184, 74, 0.28), transparent 64%);
  box-shadow:
    0 0 18px rgba(240, 184, 74, 0.24),
    0 0 34px rgba(120, 228, 255, 0.16);
  mix-blend-mode: screen;
  transition:
    opacity 360ms ease,
    transform 820ms cubic-bezier(0.18, 0.7, 0.12, 1),
    filter 520ms ease;
}

.faq-space.is-faq-bg-ready:not(.is-faq-settled) .faq-space__field::before,
.faq-space.is-faq-exiting .faq-space__field::before {
  opacity: 0.82;
  filter: brightness(1.34) saturate(1.12);
  transform:
    translate3d(-50%, calc(-50% + min(39vh, 340px)), 118px)
    rotateX(66deg)
    scaleX(1)
    scaleY(1);
}

.faq-card {
  --gold-focus: var(--cell-focus, 0);
  --hover-scale: 1;
  --card-width: clamp(188px, 16.2vw, 260px);
  --entry-x: 0px;
  --entry-y: 0px;
  --entry-z: 0px;
  --entry-rx: 0deg;
  --entry-ry: 0deg;
  --entry-rz: 0deg;
  --entry-scale: 1;
  position: absolute;
  z-index: var(--card-layer, 2);
  left: 50%;
  top: 50%;
  width: var(--card-width);
  opacity: var(--rack-opacity, 1);
  padding: 8px;
  border: 1px solid rgba(240, 184, 74, 0.2);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(10, 24, 30, 0.74), rgba(34, 23, 11, 0.58)),
    linear-gradient(180deg, rgba(255, 241, 201, 0.045), transparent 38%);
  box-shadow:
    0 18px 62px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(2, 7, 11, 0.78),
    inset 0 0 0 1px rgba(255, 241, 201, 0.055),
    inset 0 0 24px rgba(255, 241, 201, 0.025),
    0 0 22px rgba(240, 184, 74, 0.12);
  backdrop-filter: blur(1.5px) saturate(1.08);
  font: inherit;
  text-align: left;
  cursor: pointer;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
  translate: 0 0;
  transform:
    translate3d(
      calc(-50% + var(--x) + var(--entry-x)),
      calc(-50% + var(--y) + var(--entry-y)),
      calc(var(--z) + var(--entry-z))
    )
    rotateX(calc(var(--rx) + var(--entry-rx)))
    rotateY(calc(var(--ry) + var(--entry-ry)))
    rotateZ(calc(var(--rz, 0deg) + var(--entry-rz)))
    scale(calc(var(--card-scale, 1) * var(--hover-scale, 1) * var(--entry-scale)));
  transform-origin: center center;
  transform-style: preserve-3d;
  transition:
    opacity 260ms ease,
    filter 260ms ease,
    width 300ms cubic-bezier(0.2, 0.72, 0.16, 1),
    padding 300ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 720ms cubic-bezier(0.2, 0.72, 0.16, 1),
    border-color 240ms ease,
    box-shadow 240ms ease;
  animation: faq-card-float 8.8s ease-in-out infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

.faq-space.is-rack-ready .faq-card {
  transition:
    opacity 180ms ease,
    filter 180ms ease,
    width 280ms cubic-bezier(0.2, 0.72, 0.16, 1),
    padding 280ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 280ms cubic-bezier(0.2, 0.72, 0.16, 1),
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.faq-card--large {
  width: clamp(188px, 16.2vw, 260px);
}

.faq-card--focus {
  border-color: rgba(240, 184, 74, 0.2);
}

.faq-card:hover,
.faq-card:focus-visible {
  --card-width: clamp(306px, 27vw, 424px);
  --hover-scale: 1.1;
  --gold-focus: 1;
  opacity: 1;
  border-color: rgba(255, 216, 112, 0.82);
  background:
    linear-gradient(135deg, rgba(8, 21, 28, 0.92), rgba(36, 24, 10, 0.86)),
    linear-gradient(180deg, rgba(255, 241, 201, 0.07), transparent 42%);
  outline: none;
  box-shadow:
    0 26px 92px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(2, 7, 11, 0.72),
    0 0 30px rgba(240, 184, 74, 0.32),
    0 0 28px rgba(98, 201, 255, 0.16);
}

.faq-card.is-peeking {
  --card-width: clamp(306px, 27vw, 424px);
  --hover-scale: 1.1;
  --gold-focus: 1;
  z-index: 360;
  opacity: 1;
  padding: 11px;
  border-color: rgba(255, 216, 112, 0.94);
  background:
    linear-gradient(135deg, rgba(8, 21, 28, 0.92), rgba(36, 24, 10, 0.86)),
    linear-gradient(180deg, rgba(255, 241, 201, 0.07), transparent 42%);
  box-shadow:
    0 34px 118px rgba(0, 0, 0, 0.62),
    0 0 0 2px rgba(2, 7, 11, 0.8),
    0 0 52px rgba(240, 184, 74, 0.42),
    0 0 34px rgba(98, 201, 255, 0.18);
}

.faq-card.is-peeking .faq-card__image-wrap img {
  filter: saturate(1.08) contrast(1.08) brightness(1);
}

.faq-card.is-centered {
  --gold-focus: 1;
  border-color: rgba(255, 216, 112, 0.88);
  box-shadow:
    0 28px 96px rgba(0, 0, 0, 0.54),
    0 0 0 2px rgba(2, 7, 11, 0.78),
    0 0 42px rgba(240, 184, 74, 0.38),
    0 0 24px rgba(98, 201, 255, 0.12);
}

.faq-space.is-rack-dragging .faq-space__viewport,
.faq-space.is-rack-dragging .faq-card {
  cursor: grabbing;
}

.faq-space.is-rack-dragging .faq-card {
  opacity: calc(var(--rack-opacity, 1) * 0.82);
}

.faq-card.is-peeking::before,
.faq-card.is-active::before {
  border-color: rgba(255, 216, 112, 0.28);
}

.faq-card::before,
.faq-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.faq-card::before {
  inset: -5px;
  background:
    linear-gradient(90deg, rgba(240, 184, 74, 0.72) 0 28px, transparent 28px calc(100% - 28px), rgba(240, 184, 74, 0.58) calc(100% - 28px)) top / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(120, 228, 255, 0.28) 0 24px, transparent 24px calc(100% - 24px), rgba(240, 184, 74, 0.38) calc(100% - 24px)) bottom / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(240, 184, 74, 0.58) 0 28px, transparent 28px calc(100% - 28px), rgba(120, 228, 255, 0.22) calc(100% - 28px)) left / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(240, 184, 74, 0.5) 0 28px, transparent 28px calc(100% - 28px), rgba(240, 184, 74, 0.42) calc(100% - 28px)) right / 1px 100% no-repeat;
  opacity: calc(0.08 + var(--gold-focus, 0) * 0.86);
  transform: translateZ(-10px);
  box-shadow: 0 0 calc(6px + var(--gold-focus, 0) * 18px) rgba(240, 184, 74, 0.34);
}

.faq-card::after {
  right: 12px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: rgba(255, 214, 74, 0.8);
  box-shadow:
    -12px 0 0 rgba(120, 228, 255, 0.62),
    0 12px 0 rgba(255, 246, 204, 0.5),
    0 0 14px rgba(240, 184, 74, 0.52);
  opacity: calc(0.22 + var(--gold-focus, 0) * 0.62);
}

.faq-card__image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  border: 1px solid rgba(255, 241, 201, 0.18);
  background: #02070b;
  box-shadow:
    inset 0 0 0 1px rgba(2, 7, 11, 0.78),
    0 0 34px rgba(240, 184, 74, 0.08);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.faq-card__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 246, 204, 0.08), transparent 38%),
    linear-gradient(180deg, transparent 54%, rgba(2, 7, 11, 0.34));
  mix-blend-mode: screen;
  opacity: 0.5;
}

.faq-card__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.05) brightness(0.94);
}

.faq-card__kicker,
.faq-card__question,
.faq-card__hint {
  display: block;
}

.faq-card__answer-preview {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255, 241, 201, 0.74);
  font-size: clamp(10.5px, 0.88vw, 13px);
  line-height: 1.42;
  opacity: 0;
  transform: translateY(6px);
  transition:
    max-height 320ms cubic-bezier(0.2, 0.72, 0.16, 1),
    margin-top 320ms cubic-bezier(0.2, 0.72, 0.16, 1),
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-card__kicker {
  margin-top: 8px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.faq-card__question {
  margin-top: 5px;
  color: rgba(255, 241, 201, 0.88);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.25;
  transition:
    color 220ms ease,
    font-size 280ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-card__hint {
  margin-top: 8px;
  color: rgba(120, 228, 255, 0.62);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.faq-card:hover .faq-card__hint,
.faq-card:focus-visible .faq-card__hint,
.faq-card.is-peeking .faq-card__hint,
.faq-card.is-active .faq-card__hint {
  opacity: 1;
  transform: translateY(0);
}

.faq-card:hover .faq-card__answer-preview,
.faq-card.is-peeking .faq-card__answer-preview {
  max-height: 178px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

.faq-card:hover .faq-card__question,
.faq-card.is-peeking .faq-card__question {
  color: rgba(255, 241, 201, 0.96);
  font-size: clamp(15px, 1.24vw, 19px);
}

.faq-space.is-card-open .faq-card:not(.is-active) {
  opacity: 0.07;
  filter: none;
}

.faq-card.is-active {
  z-index: 18;
  opacity: 0.1;
  pointer-events: none;
  filter: none;
  animation: none;
  transform:
    translate3d(-50%, -50%, 360px)
    rotateX(-1deg)
    rotateY(var(--active-tilt-y, 3deg))
    rotateZ(var(--active-tilt-z, -1deg))
    scale(2.18);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.72),
    0 0 0 2px rgba(2, 7, 11, 0.82),
    0 0 62px rgba(240, 184, 74, 0.46),
    0 0 80px rgba(98, 201, 255, 0.22);
}

.faq-card.is-active .faq-card__kicker,
.faq-card.is-active .faq-card__question,
.faq-card.is-active .faq-card__hint,
.faq-card.is-active .faq-card__answer-preview {
  opacity: 0;
}

.faq-space__detail {
  position: fixed;
  z-index: 34;
  right: clamp(18px, 5vw, 74px);
  bottom: clamp(18px, 5vw, 64px);
  width: min(470px, calc(100vw - 36px));
  padding: 22px 22px 20px;
  border: 1px solid rgba(240, 184, 74, 0.4);
  background:
    linear-gradient(180deg, rgba(120, 228, 255, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(3, 13, 20, 0.94), rgba(39, 24, 5, 0.9)),
    rgba(2, 7, 11, 0.94);
  backdrop-filter: blur(14px);
  box-shadow:
    0 28px 96px rgba(0, 0, 0, 0.62),
    0 0 0 2px rgba(2, 7, 11, 0.72);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-space__detail::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border: 1px solid rgba(120, 228, 255, 0.16);
  opacity: 0.74;
  transform: translate(8px, -8px);
}

.faq-space__detail.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.faq-space__detail h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.faq-space__detail p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(255, 241, 201, 0.72);
  font-size: 14px;
  line-height: 1.62;
}

.faq-space__close {
  position: absolute;
  right: 12px;
  top: 12px;
  appearance: none;
  border: 1px solid rgba(98, 201, 255, 0.34);
  color: rgba(255, 241, 201, 0.78);
  background: rgba(2, 7, 11, 0.56);
  padding: 7px 9px;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-space__detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.faq-space {
  background:
    radial-gradient(ellipse at 48% 74%, rgba(240, 184, 74, 0.16), transparent 39rem),
    #01050a;
}

.faq-space::before {
  inset: -5vh -6vw;
  height: auto;
  bottom: auto;
  opacity: 1;
  clip-path: none;
  background-image:
    linear-gradient(180deg, rgba(1, 5, 10, 0.05), rgba(1, 5, 10, 0.18)),
    var(--faq-sky-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: none;
  transform: translate3d(calc(var(--faq-pan-x) * -12px), calc(var(--faq-tilt-y) * -5px), 0) scale(1.045);
  transition: transform 620ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-space::after {
  inset: -4vh -5vw;
  z-index: 2;
  opacity: 0.34;
  background-image: var(--faq-meteor-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  mask-image: none;
  mix-blend-mode: screen;
  animation: faq-meteor-breathe 5.6s ease-in-out infinite;
}

.faq-space__stars {
  z-index: 2;
  opacity: 0.42;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 13% 16%, rgba(255, 214, 74, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 31% 24%, rgba(120, 228, 255, 0.86) 0 1px, transparent 2px),
    radial-gradient(circle at 54% 18%, rgba(255, 246, 204, 0.86) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 32%, rgba(120, 228, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 14%, rgba(255, 214, 74, 0.86) 0 1px, transparent 2px);
  background-size: 260px 190px;
}

.faq-space__stars::before,
.faq-space__stars::after,
.faq-space__wall::before,
.faq-space__wall::after,
.faq-space__dome,
.faq-space__shelf,
.faq-space__desk {
  display: none;
}

.faq-space__wall {
  inset: -5vh -5vw;
  z-index: 1;
  opacity: 1;
  background-image: var(--faq-foreground-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.04) contrast(1.02);
  transform: translate3d(calc(var(--faq-pan-x) * -18px), calc(var(--faq-tilt-y) * -4px), 0) scale(1.045);
  transition: transform 620ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.faq-three-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: blur(4px) brightness(0.72) saturate(0.88);
  transform: translate3d(0, 28px, 0) scale(1.035);
  transition:
    opacity 980ms cubic-bezier(0.18, 0.7, 0.12, 1),
    filter 1200ms cubic-bezier(0.18, 0.7, 0.12, 1),
    transform 1200ms cubic-bezier(0.18, 0.7, 0.12, 1);
}

.faq-space.is-three-ready::before,
.faq-space.is-three-ready::after,
.faq-space.is-three-ready .faq-space__stars,
.faq-space.is-three-ready .faq-space__wall {
  opacity: 0;
}

.faq-space.is-three-ready::after,
.faq-space.is-three-ready .faq-space__stars {
  animation: none;
}

.faq-space.is-three-ready .faq-space__viewport {
  margin: 0;
}

.faq-space.is-three-ready .faq-space__field {
  opacity: 1;
}

.faq-space.is-three-ready.is-faq-active.is-faq-settled .faq-card {
  pointer-events: auto;
}

.faq-space.is-three-ready .faq-card {
  transition:
    opacity 720ms cubic-bezier(0.2, 0.72, 0.16, 1),
    filter 760ms cubic-bezier(0.2, 0.72, 0.16, 1),
    width 300ms cubic-bezier(0.2, 0.72, 0.16, 1),
    padding 300ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 720ms cubic-bezier(0.2, 0.72, 0.16, 1),
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.faq-space:not(.is-faq-entered) .faq-card {
  --entry-x: var(--entry-offset-x, 0px);
  --entry-y: var(--entry-offset-y, 0px);
  --entry-z: -220px;
  --entry-rx: 18deg;
  --entry-ry: -7deg;
  --entry-rz: -4deg;
  --entry-scale: 0.1;
  opacity: 0;
  filter: blur(4px) brightness(0.54) saturate(0.72);
}

.faq-space.is-three-ready:not(.is-faq-settled) .faq-card {
  transition:
    opacity 680ms cubic-bezier(0.16, 0.76, 0.18, 1),
    filter 720ms cubic-bezier(0.16, 0.76, 0.18, 1),
    width 280ms cubic-bezier(0.2, 0.72, 0.16, 1),
    padding 280ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 980ms cubic-bezier(0.14, 0.8, 0.12, 1),
    border-color 220ms ease,
    box-shadow 240ms ease;
  transition-delay: calc(70ms + var(--entry-index, 0) * 82ms);
}

.faq-space.is-three-ready.is-faq-bg-entered .faq-three-canvas,
.faq-space.is-three-ready.is-faq-entered .faq-three-canvas {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.faq-space.is-three-ready.is-faq-entered.is-return-pulling .faq-three-canvas {
  filter: brightness(0.88) saturate(0.9);
  transform: translate3d(0, var(--faq-return-offset), 0) scale(1.008);
}

.faq-space.is-three-ready.is-faq-settled .faq-card {
  transition:
    opacity 180ms ease,
    filter 180ms ease,
    width 280ms cubic-bezier(0.2, 0.72, 0.16, 1),
    padding 280ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 360ms cubic-bezier(0.2, 0.72, 0.16, 1),
    border-color 200ms ease,
    box-shadow 200ms ease;
  transition-delay: 0ms;
}

.faq-space.is-three-ready.is-faq-settled.is-rack-gliding .faq-card {
  transition:
    opacity 220ms ease,
    filter 220ms ease,
    width 300ms cubic-bezier(0.2, 0.72, 0.16, 1),
    padding 300ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 460ms cubic-bezier(0.16, 0.76, 0.18, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.faq-space.is-three-ready.is-faq-settled:not(.is-rack-dragging):not(.is-card-open) .faq-card {
  animation: none;
}

.faq-space.is-three-ready.is-faq-settled:not(.is-rack-dragging):not(.is-card-open) .faq-card:not(.is-peeking):not(:hover):not(:focus-visible) {
  will-change: auto;
}

.faq-space.is-three-ready.is-faq-settled .faq-card.is-peeking,
.faq-space.is-three-ready.is-faq-settled .faq-card:hover,
.faq-space.is-three-ready.is-faq-settled .faq-card:focus-visible,
.faq-space.is-three-ready.is-rack-dragging .faq-card,
.faq-space.is-three-ready.is-rack-gliding .faq-card,
.faq-space.is-three-ready.is-card-open .faq-card {
  will-change: transform, opacity;
}

.faq-space.is-faq-exiting .faq-card {
  --entry-x: var(--entry-offset-x, 0px);
  --entry-y: var(--entry-offset-y, 0px);
  --entry-z: -220px;
  --entry-rx: 18deg;
  --entry-ry: -7deg;
  --entry-rz: -4deg;
  --entry-scale: 0.1;
  opacity: 0;
  filter: blur(5px) brightness(0.5) saturate(0.72);
  pointer-events: none;
  transition:
    opacity 920ms cubic-bezier(0.2, 0.72, 0.16, 1),
    filter 1120ms cubic-bezier(0.2, 0.72, 0.16, 1),
    transform 1720ms cubic-bezier(0.18, 0.76, 0.12, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
  transition-delay: calc(var(--exit-index, 0) * 94ms);
}

.faq-space.is-faq-active.is-faq-exiting .faq-card {
  pointer-events: none;
}

.faq-space.is-three-ready.is-faq-settled.is-rack-dragging .faq-card {
  transition:
    opacity 120ms ease,
    filter 120ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.faq-space.is-three-ready.is-card-open-stable .faq-card {
  visibility: hidden;
  opacity: 0;
  filter: none;
  box-shadow: none;
  animation: none;
  pointer-events: none;
  transition: none;
}

.faq-space.is-three-ready .faq-space__detail {
  left: auto;
  right: clamp(22px, 4.8vw, 86px);
  top: auto;
  bottom: clamp(28px, 6vh, 86px);
  width: min(560px, calc(100vw - 52px));
  padding: clamp(18px, 2.2vw, 28px);
  border-color: rgba(255, 216, 112, 0.56);
  background:
    linear-gradient(90deg, rgba(2, 7, 11, 0.9), rgba(2, 7, 11, 0.76) 62%, rgba(2, 7, 11, 0.3)),
    radial-gradient(circle at 22% 0%, rgba(98, 201, 255, 0.14), transparent 46%),
    linear-gradient(135deg, rgba(3, 13, 20, 0.9), rgba(37, 23, 5, 0.76));
  backdrop-filter: blur(8px) saturate(1.06);
  transform: translate3d(22px, 18px, 0) scale(0.98);
  box-shadow:
    0 28px 96px rgba(0, 0, 0, 0.52),
    0 0 0 2px rgba(2, 7, 11, 0.68),
    0 0 46px rgba(240, 184, 74, 0.2),
    0 0 28px rgba(98, 201, 255, 0.1);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.72, 0.16, 1),
    border-color 240ms ease,
    box-shadow 260ms ease,
    backdrop-filter 260ms ease;
}

.faq-space.is-three-ready .faq-space__detail.is-open {
  opacity: 0.96;
  transform: translate3d(0, 0, 0) scale(1);
}

.faq-space.is-three-ready .faq-space__detail.is-open:hover,
.faq-space.is-three-ready .faq-space__detail.is-open:focus-within,
.faq-space.is-three-ready .faq-space__detail.is-open.is-pointer-on-detail {
  opacity: 1;
  border-color: rgba(255, 216, 112, 0.72);
  background:
    linear-gradient(90deg, rgba(2, 7, 11, 0.96), rgba(2, 7, 11, 0.84) 62%, rgba(2, 7, 11, 0.42)),
    radial-gradient(circle at 22% 0%, rgba(98, 201, 255, 0.18), transparent 46%),
    linear-gradient(135deg, rgba(3, 13, 20, 0.94), rgba(37, 23, 5, 0.84));
  backdrop-filter: blur(8px) saturate(1.06);
  transform: translate3d(0, 0, 0) scale(1.015);
  box-shadow:
    0 30px 112px rgba(0, 0, 0, 0.66),
    0 0 0 2px rgba(2, 7, 11, 0.72),
    0 0 46px rgba(240, 184, 74, 0.22);
}

.faq-space.is-three-ready .faq-space__detail h3 {
  max-width: 16em;
  font-size: clamp(24px, 2.35vw, 38px);
  line-height: 1;
}

.faq-space.is-three-ready .faq-space__detail p:not(.eyebrow) {
  margin-top: 14px;
  max-width: 40em;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.56;
}

.faq-space.is-three-ready.is-card-open .faq-three-canvas {
  opacity: 1;
  filter: none;
}

@media (min-width: 761px) {
  .faq-space__field .faq-card:nth-child(1) {
    --x: -30vw;
    --y: -8vh;
    --z: 45px;
    --rx: 2deg;
    --ry: 13deg;
    --rz: 3deg;
    --card-scale: 0.9;
    --card-layer: 8;
  }

  .faq-space__field .faq-card:nth-child(2) {
    --x: 2vw;
    --y: -25vh;
    --z: 30px;
    --rx: -2deg;
    --ry: -2deg;
    --rz: 1deg;
    --card-scale: 0.9;
    --card-layer: 7;
  }

  .faq-space__field .faq-card:nth-child(3) {
    --x: 5vw;
    --y: 10vh;
    --z: 55px;
    --rx: 1deg;
    --ry: 1deg;
    --rz: -0.4deg;
    --card-scale: 0.9;
    --card-layer: 11;
  }

  .faq-space__field .faq-card:nth-child(4) {
    --x: 26vw;
    --y: -13vh;
    --z: 45px;
    --rx: 2deg;
    --ry: -13deg;
    --rz: -3deg;
    --card-scale: 0.9;
    --card-layer: 9;
  }

  .faq-space__field .faq-card:nth-child(5) {
    --x: -31vw;
    --y: 27vh;
    --z: 25px;
    --rx: -2deg;
    --ry: 10deg;
    --rz: 2.4deg;
    --card-scale: 0.9;
    --card-layer: 6;
  }

  .faq-space__field .faq-card:nth-child(6) {
    --x: 24vw;
    --y: 29vh;
    --z: 25px;
    --rx: -3deg;
    --ry: -10deg;
    --rz: 2.4deg;
    --card-scale: 0.9;
    --card-layer: 5;
  }
}

@keyframes faq-card-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -3px;
  }
}

@keyframes faq-meteor-breathe {
  0%,
  100% {
    opacity: 0.24;
    filter: brightness(0.82);
  }

  50% {
    opacity: 0.46;
    filter: brightness(1.18);
  }
}

@keyframes faq-stars-twinkle {
  0%,
  100% {
    opacity: 0.8;
    filter: brightness(0.9);
  }

  50% {
    opacity: 1;
    filter: brightness(1.28);
  }
}

@media (max-width: 760px) {
  .demo-shell {
    min-height: 520vh;
  }

  .stage {
    min-height: 100svh;
  }

  .wordmark {
    left: 16px;
    top: 16px;
  }

  .site-header {
    right: 16px;
    max-width: calc(100vw - 32px);
    flex-wrap: wrap;
    gap: 8px;
    padding-right: 0;
  }

  .site-header__nav {
    width: 100%;
    padding-left: 24px;
    gap: 5px;
    overflow-x: auto;
  }

  .site-header__nav a,
  .site-header__nav button {
    flex: 0 0 auto;
    padding: 5px 6px;
    font-size: 9px;
  }

  .site-footer {
    right: 12px;
    bottom: 12px;
    max-width: min(260px, 48vw);
    padding: 8px;
    background: rgba(2, 7, 11, 0.48);
  }

  .site-footer span {
    display: none;
  }

  .site-footer nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
  }

  .site-footer a,
  .site-footer button {
    padding: 5px 6px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .copy-stack {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 20px;
    width: auto;
    transform: none;
  }

  .copy-panel {
    left: 0;
    bottom: 0;
    padding: 16px 16px 16px 18px;
    background:
      linear-gradient(90deg, rgba(2, 7, 11, 0.78), rgba(2, 7, 11, 0.5)),
      rgba(2, 7, 11, 0.48);
    backdrop-filter: blur(8px);
  }

  h1,
  h2 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .copy {
    font-size: 13px;
    line-height: 1.42;
  }

  .copy-meta {
    gap: 5px;
    margin-top: 12px;
    font-size: 9px;
  }

  .copy-meta span {
    padding: 4px 5px;
  }

  .copy-detail {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .actions {
    gap: 8px;
    margin-top: 18px;
  }

  .button {
    min-height: 36px;
    padding: 9px 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .progress-rail {
    display: none;
  }

  .cursor-particle-canvas,
  .haomai-cursor {
    display: none;
  }

  .faq-space {
    min-height: auto;
    padding: 42px 16px 56px;
  }

  .faq-space__wall {
    inset: 0 -18vw -8vh;
    opacity: 0.38;
  }

  .faq-space__shelf,
  .faq-space__desk {
    display: none;
  }

  .faq-space__header {
    position: relative;
    top: auto;
    width: auto;
  }

  .faq-space__legend {
    gap: 6px;
    margin-top: 14px;
  }

  .faq-space__legend span {
    padding: 5px 6px;
    font-size: 8px;
  }

  .faq-space__status {
    width: 1px;
    max-width: 1px;
  }

  .faq-space__viewport {
    position: relative;
    height: auto;
    margin: 34px 0 0;
    perspective: none;
    pointer-events: none;
  }

  .faq-space.is-three-ready .faq-space__viewport {
    height: min(76svh, 620px);
    min-height: 460px;
    margin: 28px -16px 0;
  }

  .faq-space__field {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    transform: none;
  }

  .faq-space.is-three-ready .faq-space__field {
    display: none;
  }

  .faq-card,
  .faq-card--large {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    animation: none;
  }

  .faq-card.is-active {
    transform: none;
  }

  .faq-card__hint {
    opacity: 1;
    transform: none;
  }

  .faq-space__detail {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    width: auto;
  }

  .faq-space.is-three-ready .faq-space__detail {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    width: auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  .demo-shell {
    min-height: 520vh;
  }

  .stage {
    position: relative;
    min-height: 520svh;
  }

  .stage::before {
    opacity: 0;
    animation: none;
    transition: none;
  }

  .scene-canvas {
    position: sticky;
    top: 0;
    height: 100svh;
  }

  .copy-stack {
    top: 18svh;
    transform: none;
    transition: none;
  }

  .copy-panel {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 54svh;
  }

  .haomai-cursor {
    transition: opacity 120ms ease;
  }

  .haomai-cursor.is-action::before,
  .haomai-cursor.is-action::after,
  .haomai-cursor.is-faq-action::before,
  .haomai-cursor.is-faq-action::after {
    animation: none;
  }

  .stage.is-scene-snapping .progress-rail__anchor.is-active {
    animation: none;
  }

  .demo-modal,
  .demo-modal__inner {
    transition: none;
    animation: none;
  }

  .faq-space__field,
  .faq-card,
  .faq-space__detail {
    transition: none;
  }

  .faq-card,
  .faq-space__stars {
    animation: none;
  }
}
