.wf-page {
  background: radial-gradient(ellipse at 12% 15%, #10295355, transparent 45%), radial-gradient(ellipse at 95% 55%, #38226830, transparent 45%), var(--bg) !important;
}

.wx-atmosphere {
  position: absolute;
  inset: 0;
  height: 1400px;
  overflow: hidden;
  pointer-events: none;
  opacity: .26;
  z-index: 0;
}

.wx-atmosphere svg {
  width: 100%;
  height: 100%;
}

.wx-atmosphere path {
  fill: none;
  stroke: #5595ff;
  stroke-width: .6;
  stroke-dasharray: 500 80;
  animation: wx-current 24s linear infinite;
}

@keyframes wx-current {
  to {
    stroke-dashoffset: -1160;
  }
}

.wx-hero {
  padding: 165px 0 95px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
}

.wx-hero h1,
.wx-story-hero h1 {
  font-weight: 550;
  letter-spacing: -.06em;
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: 1.04;
  margin: 28px 0;
}

.wx-hero h1 em,
.wx-story-hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: #aa94f2;
}

.wx-hero-copy>p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

.wx-scroll-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .16em;
}

.wx-scroll-note i {
  font-style: normal;
  font-size: 22px;
  animation: wx-nudge 2s ease-in-out infinite;
}

@keyframes wx-nudge {
  50% {
    transform: translateY(7px);
  }
}

.wx-hero-scene {
  position: relative;
  height: 480px;
  border-radius: 180px 28px 28px 28px;
  border: 1px solid #a28de74d;
  box-shadow: 0 40px 100px #0005;
}

.wx-hero-scene>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  object-position: 38% center;
}

.wx-photo-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  border: 1px solid #ffffff26;
  background: #101016c9;
  backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: 15px;
  font-size: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wx-led {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #7ddcaf;
  box-shadow: 0 0 12px #7ddcaf70;
}

.wx-floating-receipt {
  position: absolute;
  top: 46px;
  left: -55px;
  padding: 20px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid #9380d955;
  border-radius: 18px;
  box-shadow: 0 20px 40px #0004;
  transform: rotate(-4deg);
  animation: wx-float 8s ease-in-out infinite;
}

.wx-floating-receipt>span {
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--muted);
}

.wx-floating-receipt strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin: 12px 0;
}

.wx-floating-receipt div {
  display: flex;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
}

.wx-floating-receipt i {
  font-style: normal;
}

.wx-floating-receipt b {
  color: #9c8ced;
}

@keyframes wx-float {
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

.wx-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}

.wx-section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 12px;
}

.wx-section-heading .wf-heading {
  margin-bottom: 0;
}

.wx-system {
  padding-bottom: 70px;
  scroll-margin-top: 95px;
}

.wx-system-shell {
  border: 1px solid #8575cb65;
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 50px 130px #02030870, 0 0 80px #3c6bde12;
  overflow: hidden;
}

.wx-windowbar {
  min-height: 48px;
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  color: var(--muted);
  font-size: 10px;
}

.wx-lights {
  display: flex;
  gap: 6px;
}

.wx-lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f26c61;
}

.wx-lights i:nth-child(2) {
  background: #eab453;
}

.wx-lights i:nth-child(3) {
  background: #59bd8c;
}

.wx-demo-label {
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 8px;
}

.wx-system-shell .wf-toolbar {
  margin: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}

.wx-system-shell .wf-toolbar>.wf-controls {
  margin: 0;
}

.wx-flow-legend {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  padding: 22px 20px 0;
  color: var(--muted);
  letter-spacing: .14em;
  font-size: 8px;
}

.wx-flow-map {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 20px 38px;
  background-image: radial-gradient(color-mix(in srgb, var(--muted) 30%, transparent) .65px, transparent .65px);
  background-size: 18px 18px;
}

.wx-flow-map .wf-node {
  display: flex;
  position: relative;
  margin: 0;
  grid-column: auto;
  min-width: 0;
}

.wx-flow-map .wx-node-users {
  grid-column: 1/5;
  grid-row: 1;
}

.wx-flow-map .wx-node-hardware {
  grid-column: 1/5;
  grid-row: 2/4;
  align-self: start;
}

.wx-flow-map .wx-node-ai {
  grid-column: 5/9;
  grid-row: 1/4;
  align-self: center;
}

.wx-flow-map .wx-node-commerce {
  grid-column: 9/13;
  grid-row: 1;
}

.wx-flow-map .wx-node-mobile {
  grid-column: 9/13;
  grid-row: 2;
}

.wx-flow-map .wx-node-local {
  grid-column: 9/13;
  grid-row: 3;
}

.wx-node .wf-panel {
  padding: 17px;
  border-radius: 17px;
  background: var(--surface);
  border-color: color-mix(in srgb, var(--line) 80%, #7263a5 20%);
  transition: border-color .35s, box-shadow .35s, transform .35s;
}

.wx-node.wx-node-active .wf-panel {
  border-color: #9392ff;
  box-shadow: 0 0 0 3px #7678ff15, 0 0 35px #6888ff20;
}

.wx-node-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.wx-node-heading h3 {
  font-size: 12px;
  letter-spacing: 0;
  margin: 0;
  font-weight: 600;
}

.wx-port {
  width: 7px;
  height: 7px;
  border: 1px solid #a89cd7;
  border-radius: 2px;
  transform: rotate(45deg);
}

.wx-node-story {
  margin-left: auto;
  font-size: 10px;
  padding: 5px 0 5px 10px;
  min-height: 32px;
  display: flex;
  align-items: center;
  color: #ac9bdb;
}

.wx-node label {
  font-size: 9px;
  margin: 8px 0 5px;
}

.wx-node select {
  min-height: 34px;
  padding: 8px;
  font-size: 10px;
  border-radius: 8px;
}

.wx-node .wf-button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 10px;
  border-radius: 8px;
}

.wx-node .wf-screen {
  min-height: 0;
  margin-top: 9px;
  padding: 10px;
  border-radius: 9px;
}

.wx-node .wf-screen small {
  font-size: 8px;
  margin-bottom: 6px;
}

.wx-node .wf-screen strong {
  font-size: 11px;
}

.wx-node .wf-status {
  font-size: 9px;
  margin-top: 6px;
  line-height: 1.6;
}

.wx-node .wf-controls {
  margin-top: 8px;
  gap: 6px;
}

.wx-node .wf-note {
  font-size: 9px !important;
}

.wx-chat {
  display: flex;
  align-items: start;
  gap: 9px;
  margin-bottom: 12px;
}

.wx-avatar {
  width: 25px;
  height: 25px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 10px;
  background: #8e78d92a;
  color: #b5a2e3;
}

.wx-chat div {
  padding: 10px 12px;
  border-radius: 0 11px 11px;
  background: var(--surface-2);
  font-size: 10px;
  flex: 1;
}

.wx-chat small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 6px;
}

.wx-node-users [data-pickup-wrap] {
  display: none;
}

.wx-node-users>.wf-panel>.wf-screen {
  padding: 8px 0 0;
  border: 0;
  background: transparent;
}

.wx-node-users [data-output="request"] {
  display: none;
}

.wx-hardware-photo {
  height: 140px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  margin-bottom: 12px;
}

.wx-hardware-photo img {
  width: 170%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.wx-hardware-photo>span {
  position: absolute;
  bottom: 9px;
  left: 9px;
  color: white;
  font-size: 9px;
  background: #08080bcc;
  padding: 6px 8px;
  border-radius: 6px;
}

.wx-brain-visual {
  position: relative;
  aspect-ratio: 1.25;
  margin: -5px -5px 20px;
  overflow: hidden;
  border-radius: 15px;
}

.wx-brain-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}

.wx-brain-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: wx-orbit 25s linear infinite;
}

.wx-brain-visual ellipse {
  fill: none;
  stroke: #b8a5ef55;
  stroke-width: .7;
  stroke-dasharray: 3 7;
}

.wx-brain-visual circle {
  fill: #b4a1ff;
  filter: drop-shadow(0 0 8px #a18bff);
}

@keyframes wx-orbit {
  to {
    transform: rotate(360deg);
  }
}

.wx-core-tag {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d8d0ee;
}

.wx-node-ai .wf-core {
  display: none;
}

.wx-node-ai .wf-kicker {
  font-size: 8px;
  letter-spacing: .08em;
}

.wx-node-ai .wf-decision {
  font-size: 11px;
  line-height: 1.7;
}

.wx-node-ai .wf-pipeline {
  gap: 4px;
}

.wx-node-ai .wf-pipeline span {
  font-size: 8px;
  padding: 5px 7px;
}

.wx-node-ai [data-action="sensitive"] {
  flex-basis: 100%;
}

.wx-store-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.wx-product-art {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: radial-gradient(circle, #bb8142 0 20%, #e6ac5e 21% 45%, #96602f 47% 52%, #463222 55% 60%, transparent 62%);
  color: #674020;
  font-size: 28px;
  text-align: center;
  line-height: 42px;
}

.wx-store-preview small {
  display: block;
  font-size: 7px;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 5px;
}

.wx-store-preview b {
  font-size: 11px;
  font-weight: 500;
}

.wx-node-commerce>.wf-panel>.wf-screen {
  padding: 8px;
}

.wx-node-commerce>.wf-panel>.wf-screen:first-of-type {
  display: none;
}

.wx-node-commerce>.wf-panel>.wf-screen:first-of-type [data-action] {
  display: block;
}

.wx-node-mobile .wf-phone {
  max-width: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin: 9px 0 0;
}

.wx-node-mobile .wf-phone::before {
  display: none;
}

.wx-node-mobile .wf-phone .wf-screen {
  min-height: 0;
  padding: 8px;
  margin: 8px 0 0;
}

.wx-node-mobile label {
  display: none;
}

.wx-node-mobile select {
  min-height: 30px;
  padding: 6px;
}

.wx-node-local .wf-controls .wf-button {
  flex: auto;
}

.wx-node-local .wf-note {
  margin-bottom: 0;
}

.wx-identity {
  width: 22px;
  height: 22px;
  border: 1px solid #b4a3df;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  font: 600 15px var(--serif);
  font-style: normal;
  line-height: 1;
  color: #c4b3ed;
  background: #8470ba13;
}

.wx-commerce-product {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0 16px;
}

.wx-commerce-product strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.wx-commerce-product small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}

.wx-pizza {
  width: 58px;
  height: 58px;
  position: relative;
  display: block;
  flex: 0 0 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #f7cb75 0 52%, #b76c35 55% 61%, #754329 64% 68%, #282020 69%);
  box-shadow: 0 6px 16px #0005;
  transform: rotate(-15deg);
}

.wx-pizza i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #9d4129;
  left: 14px;
  top: 13px;
  box-shadow: 19px 8px #ad4931, 5px 24px #a7422b;
}

.wx-pizza i:nth-child(2) {
  width: 7px;
  height: 12px;
  background: #68804c;
  left: 29px;
  top: 12px;
  transform: rotate(40deg);
  box-shadow: -5px 23px #607c42;
}

.wx-pizza i:nth-child(3) {
  width: 5px;
  height: 5px;
  background: #f0e7b5;
  left: 20px;
  top: 28px;
  box-shadow: none;
}

.wx-node-commerce>.wf-panel>.wf-button {
  width: 100%;
}

.wx-record-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}

.wx-record-line b {
  color: #b39adf;
  font-weight: 400;
}

.wx-app-message {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 14px 0;
}

.wx-app-message .wx-identity {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.wx-app-message strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.wx-app-message small,
.wx-app-message div>span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}

.wx-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.wx-ticket-head small {
  color: var(--muted);
  font-size: 8px;
}

.wx-ticket-head strong {
  font-size: 10px;
  font-weight: 500;
}

.wx-ticket-body {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 14px 0;
}

.wx-ticket-body b {
  font-size: 11px;
  font-weight: 400;
}

.wx-ticket-lines {
  color: #ac97d2;
  line-height: 1.5;
  font-size: 11px;
}

.wx-brand-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 55px;
  align-items: center;
  padding: 55px 0 85px;
}

.wx-brand-photo {
  height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.wx-brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wx-brand-copy>p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 420px;
}

.wx-brand-copy>small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.wx-brand-surfaces {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.wx-brand-surfaces>span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.wx-identity {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}

.wx-console-details>summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12px;
}

.wx-console-details>summary::-webkit-details-marker {
  display: none;
}

.wx-console-details>summary>b {
  font-size: 10px;
  font-weight: 500;
  color: white;
  background: #7352c8;
  border: 1px solid #b097f055;
  padding: 10px 13px;
  border-radius: 9px;
}

.wx-console-details[open]>summary {
  background: #8d6cdb12;
}

.wx-theatre-console {
  overscroll-behavior: auto;
  max-height: 38vh;
}

.wx-theatre-media {
  height: 340px;
}

[data-current-scenario="retail"] .wx-pizza {
  border-radius: 5px 5px 11px 11px;
  background: #b79c73;
  width: 44px;
  height: 48px;
  flex-basis: 44px;
  transform: none;
  margin: 0 7px;
}

[data-current-scenario="retail"] .wx-pizza::before {
  content: '';
  position: absolute;
  left: 11px;
  top: -9px;
  width: 20px;
  height: 16px;
  border: 3px solid #9b805d;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

[data-current-scenario="retail"] .wx-pizza i {
  display: none;
}

[data-current-scenario="facility"] .wx-pizza {
  border-radius: 12px;
  background: linear-gradient(135deg, #b9bec5, #68747e);
  width: 42px;
  height: 50px;
  flex-basis: 42px;
  transform: none;
  margin: 0 8px;
}

[data-current-scenario="facility"] .wx-pizza i {
  display: none;
}

[data-current-scenario="facility"] .wx-pizza::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 17px;
  height: 28px;
  width: 7px;
  border-radius: 6px;
  background: #73bfa2;
  box-shadow: 0 0 4px #73bfa260;
}

@media(max-width:800px) {
  .wx-theatre-media {
    height: 250px;
  }

  .wx-theatre-console {
    max-height: 30vh;
  }
}

@media(max-width:550px) {
  .wx-theatre-media {
    height: 190px;
  }

  .wx-console-details>summary {
    font-size: 11px;
    padding: 13px;
    gap: 10px;
  }

  .wx-console-details>summary>b {
    font-size: 9px;
    padding: 9px;
  }

  .wx-theatre-console {
    max-height: 26vh;
  }
}

@media(min-width:1051px) {
  .wx-node .wf-button {
    font-size: 11px;
  }

  .wx-node select {
    font-size: 11px;
  }

  .wx-node-heading h3 {
    font-size: 13px;
  }

  .wx-node-users .wx-chat {
    margin-bottom: 8px;
  }

  .wx-node-users>.wf-panel>.wf-screen {
    margin-top: 3px;
  }

  .wx-node-users>.wf-panel>.wf-screen>small {
    display: none;
  }

  .wx-hardware-photo {
    height: 112px;
  }

  .wx-node-hardware [data-output="device"] {
    font-size: 10px;
  }

  .wx-node-hardware>.wf-panel>.wf-screen {
    border: 0;
    padding: 3px 0;
    background: transparent;
  }

  .wx-node-hardware>.wf-panel>.wf-screen>small {
    display: none;
  }

  .wx-node-hardware>.wf-panel>.wf-screen>.wf-status {
    display: none;
  }

  .wx-node-ai .wx-brain-visual {
    aspect-ratio: 1.55;
  }

  .wx-flow-map {
    gap: 18px 38px;
  }

  .wx-node .wf-note {
    font-size: 8px !important;
  }
}

@media(max-width:800px) {
  .wx-brand-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
  }

  .wx-brand-photo {
    height: 360px;
  }
}

@media(max-width:550px) {
  .wx-brand-photo {
    height: 285px;
  }

  .wx-commerce-product strong {
    font-size: 14px;
  }

  .wx-commerce-product small {
    font-size: 11px;
  }

  .wx-app-message strong {
    font-size: 13px;
  }

  .wx-app-message small {
    font-size: 11px;
  }

  .wx-ticket-head strong,
  .wx-ticket-body b {
    font-size: 12px;
  }

  .wx-record-line {
    font-size: 11px;
  }

  .wx-brand-surfaces {
    gap: 7px;
  }

  .wx-brand-surfaces>span {
    font-size: 9px;
  }
}

.wx-flow-map .wf-connectors {
  z-index: -1;
}

.wx-flow-map .wf-connectors path {
  stroke: #8787d9;
  stroke-width: 1.5;
  opacity: .55;
}

.wx-flow-map .wf-connectors path.wf-flow {
  stroke: #b4b2ff;
  opacity: 1;
  stroke-width: 2.5;
  stroke-dasharray: 8 8;
  animation: wx-signal 1.3s linear 3;
  filter: drop-shadow(0 0 4px #8a87ff);
}

@keyframes wx-signal {
  to {
    stroke-dashoffset: -64;
  }
}

.wx-system-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.wx-system-status strong {
  font-size: 10px;
  font-weight: 400;
  flex: 1;
}

.wx-system-status>span:last-child {
  color: var(--muted);
  font-size: 9px;
}

.wx-system-shell>.wf-log {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  font-size: 10px;
}

.wx-system-shell>.wf-result {
  margin: 20px;
}

.wx-stories {
  padding: 50px 0 65px;
}

.wx-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wx-story-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  transition: transform .35s, border-color .35s;
}

.wx-story-card:hover {
  transform: translateY(-6px);
  border-color: #8c79c7;
}

.wx-story-image {
  height: 225px;
  position: relative;
  overflow: hidden;
}

.wx-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, #060609aa);
}

.wx-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.wx-story-card:hover img {
  transform: scale(1.045);
}

.wx-story-image>span {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 20px;
  font-size: 8px;
  letter-spacing: .1em;
  color: white;
}

.wx-story-image>b {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #fff5;
  color: white;
  background: #0005;
  font-weight: 400;
}

.wx-story-card-copy {
  padding: 22px;
}

.wx-story-card-copy h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.035em;
  margin: 0 0 8px;
}

.wx-story-card-copy p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.wx-story-hardware .wx-story-image img {
  object-position: 22% center;
}

.wx-story-mobile .wx-story-image img {
  object-position: 85% center;
}

.wx-story-hero {
  padding: 125px 0 50px;
  position: relative;
}

.wx-story-hero h1 {
  font-size: clamp(46px, 5.6vw, 78px);
  max-width: 900px;
}

.wx-story-hero>p {
  color: var(--muted);
  font-size: 17px;
}

.wx-story-hero-photo {
  height: 370px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin-top: 45px;
  border: 1px solid var(--line);
}

.wx-story-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wx-story-hero-photo .wx-photo-label {
  left: auto;
  min-width: 260px;
}

.wx-story-hero-photo .wx-photo-label>span {
  margin-left: auto;
}

.wx-story-progress {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  position: sticky;
  top: 76px;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 15px;
  backdrop-filter: blur(20px);
  overflow-x: auto;
}

.wx-story-progress a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.wx-story-progress a>span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 8px;
}

.wx-story-progress a[aria-current="step"] {
  color: var(--text);
}

.wx-story-progress a[aria-current="step"]>span {
  background: #7d68c455;
  border-color: #a38edd;
  box-shadow: 0 0 15px #8a75dc30;
}

.wx-scroll-story {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 55px;
  align-items: start;
  position: relative;
}

.wx-story-beat.wf-story-chapter {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 0;
  min-height: 82vh;
  padding: 65px 0;
  margin: 0;
  border: 0;
  scroll-margin-top: 180px;
  opacity: .4;
  transition: opacity .5s, transform .5s;
  transform: translateY(20px);
}

.wx-story-beat::before {
  display: none;
}

.wx-story-beat.is-active {
  opacity: 1;
  transform: none;
}

.wx-beat-index {
  font: italic 25px var(--serif);
  color: #9d89ce;
  margin-bottom: 22px;
}

.wx-story-beat h2 {
  font-size: clamp(30px, 3vw, 45px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 0 0 20px;
}

.wx-story-beat p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 310px;
}

.wx-try-link {
  font-size: 12px;
  color: #ad96e7;
  padding: 12px 0;
}

.wx-theatre.wf-story-stage {
  position: sticky;
  top: 160px;
  margin: 45px 0;
  padding: 0;
  min-height: 0;
  border: 1px solid #8e78cc65;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 35px 90px #0003;
  transition: box-shadow .8s, border-color .8s;
}

.wx-theatre-media {
  height: 235px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.wx-scene-image {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.06) translateY(15px);
  transition: opacity .8s, transform 1.2s cubic-bezier(.16, 1, .3, 1);
}

.wx-scene-image.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.wx-scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wx-crop-kiosk img,
.wx-crop-kitchen img {
  position: absolute;
  width: 190%;
  height: auto;
  max-width: none;
  top: 0;
  left: 0;
}

.wx-crop-kiosk img {
  width: 160%;
  transform: translateY(-25%);
}

.wx-crop-kitchen img {
  transform: translate(-38%, -6%);
}

.wx-scene-image figcaption {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 9px;
  padding: 7px 10px;
  color: white;
  background: #0009;
  border-radius: 20px;
}

.wx-scene-caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ffffff25;
  border-radius: 11px;
  background: #101016cc;
  backdrop-filter: blur(12px);
  padding: 12px;
  color: white;
  z-index: 3;
}

.wx-scene-caption b {
  font-weight: 400;
  font-size: 12px;
}

.wx-signal-routes {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s;
  pointer-events: none;
  background: linear-gradient(transparent, #0b091660);
}

.wx-signal-routes i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d2c5ff;
  box-shadow: 0 0 24px #aa87ff;
  top: 48%;
  left: 10%;
  animation: wx-route 2.8s cubic-bezier(.4, 0, .2, 1) infinite;
}

.wx-signal-routes i:nth-child(2) {
  animation-delay: .5s;
}

.wx-signal-routes i:nth-child(3) {
  animation-delay: 1s;
}

@keyframes wx-route {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(490px);
    opacity: 0;
  }
}

.wx-signal-routes span {
  position: absolute;
  top: 63%;
  font-size: 8px;
  letter-spacing: .12em;
  color: white;
  background: #0009;
  padding: 5px;
  border-radius: 5px;
}

.wx-signal-routes span:nth-last-child(3) {
  left: 10%;
}

.wx-signal-routes span:nth-last-child(2) {
  left: 46%;
}

.wx-signal-routes span:last-child {
  left: 80%;
}

.wx-theatre[data-scene="3"] .wx-signal-routes,
.wx-theatre[data-scene="4"] .wx-signal-routes {
  opacity: 1;
}

.wx-theatre-console {
  padding: 18px 22px;
  max-height: 45vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #74678f var(--surface);
}

.wx-theatre-console .wf-tabs {
  margin-bottom: 16px;
}

.wx-theatre-console .wf-tabs button {
  min-height: 33px;
  font-size: 10px;
  padding: 7px 12px;
}

.wx-theatre-console .wf-screen {
  min-height: 0;
  padding: 12px;
  margin-top: 10px;
}

.wx-theatre-console label {
  font-size: 10px;
  margin: 10px 0 6px;
  display: block;
  color: var(--muted);
}

.wx-theatre-console select {
  font-size: 11px;
  min-height: 37px;
  padding: 9px;
}

.wx-theatre-console .wf-button {
  font-size: 10px;
  min-height: 35px;
  padding: 9px 12px;
}

.wx-theatre-console .wf-screen small {
  font-size: 8px;
}

.wx-theatre-console .wf-screen strong {
  font-size: 12px;
}

.wx-theatre-console .wf-status {
  font-size: 10px;
}

.wx-theatre-console .wf-controls {
  margin-top: 9px;
}

.wx-theatre-console .wf-log {
  padding: 10px 12px;
  margin-top: 12px;
}

.wx-theatre-console .wf-log summary {
  font-size: 10px;
}

.wx-theatre-console .wf-phone {
  max-width: 240px;
}

.wx-theatre-console .wf-core {
  margin: 0;
  width: 65px;
  height: 65px;
  flex-basis: 65px;
}

.wx-theatre[data-wx-theatre="ai"] .wf-core {
  display: none;
}

.wx-theatre-console .wf-ai-layout>div:last-child {
  flex: 1;
}

.wx-stage-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  color: var(--muted);
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}

.wx-theatre[data-scene="0"] {
  box-shadow: 0 25px 100px #0005;
}

.wx-theatre[data-scene="2"] {
  border-color: #b09aff;
  box-shadow: 0 0 60px #8063c530;
}

.wx-theatre .wx-scene-image.is-active {
  object-position: center;
}

.wx-theatre[data-scene="0"] .wx-scene-image.is-active {
  filter: saturate(.35);
}

.wx-problem-tokens {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .6s;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(transparent, #0b0a1144);
}

.wx-theatre[data-scene="0"] .wx-problem-tokens {
  opacity: 1;
}

.wx-problem-tokens>span {
  padding: 13px 15px;
  border: 1px dashed #d0a3a390;
  background: #151118cf;
  border-radius: 11px;
  color: #f2e8e8;
  font-size: 10px;
  transform: translateY(calc((.5 - var(--wx-progress, .5))*25px)) rotate(-3deg);
  backdrop-filter: blur(8px);
}

.wx-problem-tokens>span:nth-last-child(1) {
  transform: rotate(4deg);
}

.wx-problem-tokens>i {
  color: #fff8;
  font: italic 23px var(--serif);
}

@media(max-width:550px) {
  .wx-problem-tokens {
    gap: 4px;
  }

  .wx-problem-tokens>span {
    font-size: 8px;
    padding: 9px 8px;
  }
}

html[data-theme="light"] .wx-system-shell {
  box-shadow: 0 30px 100px #51478520;
}

html[data-theme="light"] .wx-hero h1 em,
html[data-theme="light"] .wx-story-hero h1 em {
  color: #6c46be;
}

html:not(.js) .wx-story-beat {
  opacity: 1;
  transform: none;
}

html:not(.js) .wx-scene-image:first-child {
  opacity: 1;
  transform: none;
}

@media(min-width:1500px) {
  .wx-theatre-media {
    height: 290px;
  }
}

@media(max-width:1050px) {
  .wx-hero {
    gap: 30px;
  }

  .wx-hero-scene {
    height: 400px;
  }

  .wx-floating-receipt {
    left: -25px;
  }

  .wx-flow-map {
    column-gap: 20px;
    padding: 18px;
  }

  .wx-node .wf-panel {
    padding: 12px;
  }

  .wx-scroll-story {
    gap: 30px;
    grid-template-columns: .7fr 1.3fr;
  }

  .wx-story-progress {
    gap: 20px;
  }
}

@media(max-width:800px) {
  .wx-hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
    gap: 40px;
  }

  .wx-hero-scene {
    height: 400px;
    border-radius: 70px 24px 24px;
  }

  .wx-floating-receipt {
    left: auto;
    right: 20px;
    top: 25px;
  }

  .wx-hero h1 {
    font-size: 65px;
  }

  .wx-section-heading {
    align-items: start;
    gap: 20px;
  }

  .wx-flow-map {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .wx-flow-map .wx-node-users {
    grid-column: 1;
    grid-row: 1;
  }

  .wx-flow-map .wx-node-hardware {
    grid-column: 2;
    grid-row: 1;
  }

  .wx-flow-map .wx-node-ai {
    grid-column: 1/-1;
    grid-row: 2;
  }

  .wx-flow-map .wx-node-commerce {
    grid-column: 1;
    grid-row: 3;
  }

  .wx-flow-map .wx-node-mobile {
    grid-column: 2;
    grid-row: 3;
  }

  .wx-flow-map .wx-node-local {
    grid-column: 1/-1;
    grid-row: 4;
  }

  .wx-node-ai .wx-brain-visual {
    width: 180px;
    float: left;
    margin: 0 25px 10px 0;
  }

  .wx-flow-legend {
    display: none;
  }

  .wx-story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wx-scroll-story {
    grid-template-columns: 1fr;
  }

  .wx-story-beats {
    order: 2;
  }

  .wx-theatre.wf-story-stage {
    grid-row: 1;
    top: 142px;
    z-index: 10;
    margin: 25px 0 0;
  }

  .wx-story-beat.wf-story-chapter {
    min-height: 65vh;
    padding: 50px 15px;
    justify-content: center;
  }

  .wx-theatre-media {
    height: 180px;
  }

  .wx-theatre-console {
    max-height: 30vh;
  }

  .wx-story-beat h2 {
    font-size: 38px;
    max-width: 450px;
  }

  .wx-story-beat p {
    max-width: 450px;
  }

  .wx-story-hero-photo {
    height: 330px;
  }

  .wx-story-hero h1 {
    font-size: 58px;
  }
}

@media(max-width:550px) {
  .wx-hero {
    padding-bottom: 50px;
  }

  .wx-hero h1 {
    font-size: 49px;
  }

  .wx-hero-copy>p {
    font-size: 14px;
  }

  .wx-hero-scene {
    height: 310px;
  }

  .wx-floating-receipt {
    padding: 14px;
    right: 12px;
    top: 20px;
  }

  .wx-floating-receipt strong {
    font-size: 13px;
  }

  .wx-photo-label {
    font-size: 9px;
    padding: 12px;
  }

  .wx-section-heading {
    display: block;
    margin-bottom: 22px;
  }

  .wx-section-heading p {
    font-size: 12px;
    padding: 0;
    margin-top: 18px;
  }

  .wx-system-shell {
    border-radius: 18px;
  }

  .wx-windowbar {
    padding: 12px;
    gap: 10px;
    font-size: 8px;
  }

  .wx-demo-label {
    font-size: 7px;
  }

  .wx-system-shell .wf-toolbar {
    padding: 14px;
    gap: 8px;
  }

  .wx-system-shell .wf-toolbar .wf-button {
    font-size: 10px;
    min-height: 38px;
  }

  .wx-system-shell .wf-tabs button {
    font-size: 11px;
    min-height: 38px;
    padding: 9px;
  }

  .wx-flow-map {
    display: grid;
    padding: 14px;
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .wx-flow-map .wf-node {
    grid-column: 1;
    grid-row: auto;
  }

  .wx-flow-map .wx-node-ai {
    grid-row: 3;
  }

  .wx-node .wf-panel {
    padding: 18px;
  }

  .wx-node label {
    font-size: 11px;
  }

  .wx-node select {
    font-size: 12px;
    min-height: 44px;
  }

  .wx-node .wf-button {
    min-height: 44px;
    font-size: 12px;
  }

  .wx-node .wf-screen strong {
    font-size: 13px;
  }

  .wx-node .wf-status {
    font-size: 11px;
  }

  .wx-node-heading h3 {
    font-size: 15px;
  }

  .wx-node-story {
    font-size: 12px;
    min-height: 44px;
  }

  .wx-node-ai .wx-brain-visual {
    float: none;
    width: 100%;
    height: 210px;
    margin: 0 0 18px;
  }

  .wx-node-ai .wf-decision {
    font-size: 13px;
  }

  .wx-node .wf-note {
    font-size: 10px !important;
  }

  .wx-flow-map .wf-connectors {
    display: block;
  }

  .wx-system-status {
    padding: 14px;
    align-items: start;
  }

  .wx-system-status strong {
    font-size: 11px;
    line-height: 1.7;
  }

  .wx-system-status>span:last-child {
    display: none;
  }

  .wx-hardware-photo {
    height: 170px;
  }

  .wx-story-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wx-story-image {
    height: 230px;
  }

  .wx-story-card-copy {
    padding: 20px;
  }

  .wx-story-hero {
    padding-top: 115px;
  }

  .wx-story-hero h1 {
    font-size: 45px;
  }

  .wx-story-hero>p {
    font-size: 15px;
  }

  .wx-story-hero-photo {
    height: 280px;
    margin-top: 30px;
  }

  .wx-story-hero-photo .wx-photo-label {
    min-width: 0;
    left: 15px;
  }

  .wx-story-progress {
    top: 69px;
    gap: 20px;
    padding: 7px 12px;
    border-radius: 12px;
  }

  .wx-story-progress a {
    font-size: 9px;
  }

  .wx-theatre.wf-story-stage {
    position: sticky;
    top: 132px;
    margin-top: 20px;
    border-radius: 17px;
  }

  .wx-theatre-media {
    height: 145px;
  }

  .wx-theatre-console {
    padding: 12px;
    max-height: 24vh;
  }

  .wx-theatre .wx-windowbar {
    min-height: 34px;
    padding: 9px 12px;
  }

  .wx-stage-footer {
    padding: 8px 12px;
    font-size: 7px;
  }

  .wx-scene-caption {
    padding: 8px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .wx-scene-caption b {
    font-size: 10px;
  }

  .wx-story-beat.wf-story-chapter {
    min-height: 75vh;
    padding: 45px 3px;
  }

  .wx-story-beat h2 {
    font-size: 36px;
  }

  .wx-story-beat p {
    font-size: 14px;
  }

  .wx-beat-index {
    font-size: 22px;
  }

  .wx-story-beats {
    padding-top: 5px;
  }

  .wx-theatre-console .wf-button {
    min-height: 44px;
  }

  .wx-theatre-console .wf-tabs button {
    min-height: 40px;
  }
}

@media(prefers-reduced-motion:reduce) {

  .wx-atmosphere *,
  .wx-floating-receipt,
  .wx-scroll-note i,
  .wx-brain-visual svg,
  .wx-signal-routes i {
    animation: none !important;
  }

  .wx-story-beat.wf-story-chapter {
    opacity: 1;
    transform: none;
    min-height: 40vh;
  }

  .wx-theatre.wf-story-stage {
    position: relative;
    top: auto;
  }

  .wx-scene-image {
    transition: none;
  }

  .wx-flow-map .wf-connectors path.wf-flow {
    animation: none;
  }

  .wx-story-card,
  .wx-story-image img {
    transition: none;
  }
}
