:root {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #202634;
  background: #fafbfe;
  font-synthesis: none;
  --paper: #fafbfe;
  --ink: #202634;
  --muted: #697285;
  --line: #e3e7ee;
  --accent: #6551e8;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8b7bff;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.header,
main,
footer {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 30px;
  letter-spacing: -1.5px;
  font-weight: 750;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #254c40;
}
.brand > span:last-child {
  color: #91a882;
}
.brand-icon {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-right: 9px;
  transform: skewY(-12deg);
}
.brand-icon i {
  display: block;
  width: 6px;
  border-radius: 2px;
  background: currentColor;
  height: 14px;
}
.brand-icon i:nth-child(2) {
  height: 25px;
}
.brand-icon i:nth-child(3) {
  height: 20px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.preview-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.theme {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-size: 20px;
}
.intro {
  text-align: center;
  padding: 72px 0 46px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.eyebrow span {
  width: 6px;
  height: 6px;
  background: #7c70d9;
  border-radius: 50%;
}
h1 {
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -2.7px;
  font-weight: 650;
  margin: 23px 0 22px;
}
h1 > span {
  color: #6a6f85;
}
.intro > p:last-child {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.demo {
  position: relative;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 19% 4%, #dce6fc 0, transparent 52%),
    radial-gradient(ellipse at 95% 5%, #d4c8f3 0, transparent 52%),
    linear-gradient(160deg, #8aace0 5%, #3168a9 55%, #142c60 100%);
  padding: 23px 36px 29px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 #fff9,
    0 25px 60px -40px #18325f75;
}
.scene-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #273e64;
}
.signal {
  height: 5px;
  width: 5px;
  background: #315080;
  border-radius: 50%;
}
.scene-number {
  margin-left: auto;
  letter-spacing: 2px;
}
.scene {
  position: relative;
  width: 100%;
  height: 472px;
  margin-top: 25px;
  isolation: isolate;
}
.back-window {
  position: absolute;
  top: 9px;
  left: 18%;
  width: 72%;
  height: 345px;
  border: 1px solid #ffffff28;
  border-radius: 14px;
  background: linear-gradient(120deg, #202f4c, #172035);
  box-shadow: 0 15px 40px #152c5b40;
  transform: rotate(3deg);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 19px;
  font-size: 9px;
  color: #bac8dd;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.app-window {
  position: absolute;
  left: 10%;
  top: 43px;
  width: 75%;
  max-width: 780px;
  background: #f6f7fb;
  border: 1px solid #fff8;
  border-radius: 15px;
  box-shadow:
    0 2px 8px #142c5a1c,
    0 25px 60px #0b1a4640;
  transform: rotate(-1deg);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  color: #212936;
}
.window-bar {
  height: 34px;
  padding: 0 15px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9ecf3;
  font-size: 9px;
  color: #9097a5;
}
.dots {
  display: flex;
  gap: 4px;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9dce4;
}
.dots i:first-child {
  background: #f1c3ba;
}
.dots i:nth-child(2) {
  background: #eddfb5;
}
.dots i:nth-child(3) {
  background: #c9ddcb;
}
.window-menu {
  letter-spacing: 2px;
}
.app-content {
  padding: 21px 27px 17px;
}
.app-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.app-eyebrow {
  font-size: 7px;
  letter-spacing: 1px;
  color: #8d94a5;
}
h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-top: 5px;
}
.status {
  font-size: 9px;
  color: #697284;
  background: #e8ebf3;
  padding: 6px 10px;
  border-radius: 7px;
  transition:
    background 0.4s,
    color 0.4s;
}
.client-field {
  border: 1px solid #e2e5ef;
  background: white;
  padding: 10px 12px;
  border-radius: 9px;
  transition: box-shadow 0.4s;
}
.field-label {
  font-size: 9px;
  color: #8b92a3;
  display: block;
  margin-bottom: 7px;
}
.field-value {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 500;
  min-height: 26px;
}
.client-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #f0ecff;
  color: #7965cb;
  font-size: 9px;
  flex-shrink: 0;
}
.field-chevron {
  margin-left: auto;
  color: #8b92a3;
}
.order-meta {
  display: flex;
  gap: 55px;
  font-size: 10px;
  margin: 13px 0 18px;
}
.order-meta .field-label {
  font-size: 8px;
  margin-bottom: 4px;
}
.priority-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #91a48e;
  border-radius: 50%;
  margin-right: 4px;
}
.items-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
h3 {
  font-size: 12px;
  font-weight: 600;
}
.add-article {
  font-size: 9px;
  color: #7762db;
}
.item-area {
  height: 79px;
  position: relative;
  background: white;
  border: 1px solid #e4e7f1;
  border-radius: 9px;
  overflow: hidden;
}
.empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #c3c8d3;
  transition: opacity 0.4s;
}
.empty-state > span {
  font-size: 25px;
}
.empty-state p {
  font-size: 10px;
  line-height: 1.6;
  color: #929aab;
}
.empty-state strong {
  font-weight: 400;
  color: #646e80;
}
.product-row {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.product-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  background: #eeeff8;
  border: 1px solid #e0e3ef;
  border-radius: 9px;
  color: #747d9d;
  font-size: 22px;
  flex-shrink: 0;
}
.product-info {
  min-width: 0;
}
.product-info small {
  font-size: 6px;
  color: #9da3b3;
  letter-spacing: 0.7px;
  display: block;
}
.product-info strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin: 5px 0;
}
.product-info > span {
  font-size: 8px;
  color: #9098a9;
}
.quantity {
  margin-left: auto;
  text-align: right;
}
.quantity small {
  display: block;
  font-size: 8px;
  color: #929aab;
  margin-bottom: 5px;
}
.quantity strong {
  font-size: 16px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}
.app-footer > span:first-child {
  font-size: 8px;
  color: #929aab;
  max-width: 55%;
}
.save-button {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 13px;
  border-radius: 7px;
  background: #6951e8;
  color: white;
  font-size: 9px;
  box-shadow: 0 3px 10px #6951e822;
  transition:
    background 0.4s,
    transform 0.4s;
}
.floating-panel {
  position: absolute;
  background: #fffffffa;
  border: 1px solid #fff;
  border-radius: 13px;
  box-shadow:
    0 16px 50px #122d6d40,
    0 2px 7px #14234e14;
  z-index: 3;
  color: #273147;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 0.55s,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.panel-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1px;
  color: #969cad;
  margin-bottom: 17px;
}
.panel-kicker > span {
  font-size: 16px;
}
.client-panel {
  width: 280px;
  left: 4%;
  top: 140px;
  padding: 18px;
}
.client-option {
  display: flex;
  gap: 10px;
  align-items: center;
}
.client-option strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
}
.client-option small {
  display: block;
  font-size: 9px;
  color: #9b9faf;
  margin-top: 5px;
}
.selected-check {
  color: #7a66d5;
  margin-left: auto;
}
.panel-foot {
  border-top: 1px solid #eef0f5;
  margin-top: 17px;
  padding-top: 12px;
  font-size: 8px;
  color: #9098a8;
}
.product-panel {
  width: 260px;
  right: 1%;
  top: 143px;
  padding: 19px;
}
.product-choice {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-choice strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.product-choice small {
  display: block;
  font-size: 9px;
  color: #969cad;
  margin-top: 5px;
}
.quantity-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 19px;
  padding-top: 14px;
  border-top: 1px solid #ecedf4;
  font-size: 9px;
  color: #8b92a5;
}
.quantity-picker > div {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #e6e7ef;
  padding: 8px;
  border-radius: 7px;
}
.quantity-picker strong {
  color: #41495d;
  font-weight: 500;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  min-width: 15px;
  text-align: center;
}
.panel-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 7px;
  background: #6b55e9;
  color: white;
  padding: 11px;
  margin-top: 17px;
  font-size: 10px;
}
.success-panel {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 21px;
  right: 3%;
  bottom: 5px;
}
.success-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #e8f5ef;
  color: #3d8d6c;
  border: 1px solid #d8ecdf;
  border-radius: 50%;
  font-size: 18px;
}
.success-panel strong {
  font-size: 12px;
  font-weight: 550;
}
.success-panel p {
  font-size: 9px;
  color: #8b92a3;
  margin-top: 5px;
}
.scene-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  margin-top: 15px;
  min-height: 51px;
}
.caption-index {
  font-size: 12px;
  color: #bacdee;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.scene-caption strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.scene-caption p {
  font-size: 11px;
  color: #b8cce9;
  margin-top: 7px;
}
.demo[data-phase="0"] .client-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.demo[data-phase="0"] .client-field {
  box-shadow: 0 0 0 3px #9f87f226;
}
.demo[data-phase="1"] .product-panel,
.demo[data-phase="2"] .product-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.demo[data-phase="1"] .app-window,
.demo[data-phase="2"] .app-window {
  transform: translateX(-2%) rotate(-1.6deg);
}
.demo[data-phase="2"] .product-row,
.demo[data-phase="3"] .product-row {
  opacity: 1;
  transform: translateY(0);
}
.demo[data-phase="2"] .empty-state,
.demo[data-phase="3"] .empty-state {
  opacity: 0;
}
.demo[data-phase="3"] .success-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.demo[data-phase="3"] .app-window {
  transform: rotate(0deg);
}
.demo[data-phase="3"] .status {
  color: #4d826a;
  background: #e7f0e9;
}
.demo[data-phase="3"] .save-button {
  background: #4e826d;
}
.demo[data-phase="3"] .back-window {
  transform: rotate(1.8deg);
}
.player {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0 20px;
  margin: 0 auto;
  max-width: 640px;
}
.progress-steps {
  display: flex;
  gap: 23px;
  font-size: 11px;
  color: #9ba2af;
}
.progress-steps > span {
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.3s;
}
.progress-steps i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cfd4df;
}
.progress-steps > .active {
  color: var(--ink);
}
.progress-steps > .active i {
  background: #7b67e2;
}
.playback {
  display: flex;
  gap: 6px;
}
.playback button {
  display: flex;
  gap: 7px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 25px;
  padding: 9px 14px;
  font-size: 11px;
  min-height: 36px;
}
.playback #replay {
  font-size: 20px;
  padding: 6px 11px;
}
.progress-track {
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--line);
  overflow: hidden;
}
.progress-track > span {
  height: 100%;
  display: block;
  background: #9e8cde;
  transform: scaleX(0);
  transform-origin: left;
}
.prototype-note {
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
  margin: 24px auto 9px;
  max-width: 650px;
}
.real-link {
  display: block;
  text-align: center;
  font-size: 11px;
  text-underline-offset: 4px;
  color: var(--muted);
  margin-bottom: 70px;
}
.real-link span {
  margin-left: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.nojs {
  margin: 20px;
  text-align: center;
  font-size: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 10px;
  color: var(--muted);
}
html[data-theme="dark"] {
  --paper: #111720;
  --ink: #e6eaf4;
  --muted: #9ca8bd;
  --line: #2d3547;
  --surface: #1c2432;
  background: var(--paper);
  color: var(--ink);
}
html[data-theme="dark"] .brand {
  color: #c1d5c7;
}
html[data-theme="dark"] h1 > span {
  color: #99a5c2;
}
html[data-theme="dark"] .demo {
  background:
    radial-gradient(ellipse at 15% 0, #607eae 0, transparent 55%),
    radial-gradient(ellipse at 95% 0, #7475a9 0, transparent 55%),
    linear-gradient(150deg, #264779, #15284a 75%, #0b152d);
}
html[data-theme="dark"] .scene-label {
  color: #d1d9ee;
}
html[data-theme="dark"] .signal {
  background: #d1d9ee;
}
@media (min-width: 1500px) {
  .scene {
    height: 490px;
  }
  .app-window {
    left: 14%;
    width: 70%;
  }
  .client-panel {
    left: 7%;
  }
}
@media (max-width: 760px) {
  .header,
  main,
  footer {
    width: calc(100% - 36px);
  }
  .header {
    height: 76px;
  }
  .brand {
    font-size: 27px;
  }
  .preview-label {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .header-right {
    gap: 10px;
  }
  .intro {
    padding: 49px 0 33px;
  }
  h1 {
    letter-spacing: -1.8px;
  }
  .intro > p:last-child {
    font-size: 14px;
  }
  .demo {
    padding: 19px 15px 24px;
    border-radius: 20px;
  }
  .scene {
    height: 448px;
    margin-top: 20px;
  }
  .scene-label {
    font-size: 6px;
    letter-spacing: 0.9px;
  }
  .back-window {
    left: 10%;
    width: 88%;
    top: 8px;
    height: 340px;
    padding: 15px;
    font-size: 7px;
  }
  .back-window > span:last-child {
    display: none;
  }
  .app-window {
    width: 94%;
    left: 1%;
    top: 33px;
    transform: rotate(-0.7deg);
  }
  .app-content {
    padding: 18px 15px 15px;
  }
  .window-bar {
    font-size: 8px;
    height: 30px;
    padding-inline: 12px;
  }
  h2 {
    font-size: 20px;
  }
  .app-heading {
    margin-bottom: 15px;
  }
  .field-value {
    font-size: 10px;
  }
  .order-meta {
    gap: 36px;
  }
  .client-panel {
    left: 3%;
    top: 142px;
    width: 256px;
    padding: 17px;
  }
  .product-panel {
    right: 0;
    top: 153px;
    width: 236px;
    padding: 17px;
  }
  .product-info strong {
    font-size: 10px;
  }
  .product-row {
    gap: 8px;
    padding: 11px;
  }
  .product-icon {
    width: 30px;
    height: 33px;
    font-size: 19px;
  }
  .quantity strong {
    font-size: 15px;
  }
  .app-footer > span:first-child {
    font-size: 7px;
  }
  .save-button {
    gap: 8px;
    padding: 10px;
    font-size: 8px;
  }
  .success-panel {
    left: 4%;
    right: 0;
    bottom: 2px;
    padding: 14px 12px;
    gap: 10px;
  }
  .success-panel strong {
    font-size: 10px;
  }
  .success-panel p {
    font-size: 8px;
  }
  .scene-caption {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 15px;
    padding-left: 5px;
  }
  .scene-caption strong {
    font-size: 14px;
  }
  .scene-caption p {
    font-size: 10px;
    line-height: 1.5;
  }
  .player {
    padding-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .progress-steps {
    gap: 13px;
    font-size: 9px;
  }
  .progress-steps > span {
    gap: 5px;
  }
  .playback {
    margin-left: auto;
  }
  .playback button {
    padding: 9px 12px;
    min-height: 40px;
  }
  .prototype-note {
    font-size: 9px;
    margin-top: 19px;
  }
  .real-link {
    font-size: 10px;
    margin-bottom: 45px;
  }
  footer {
    font-size: 9px;
    line-height: 1.7;
    gap: 15px;
  }
  footer > span {
    text-align: right;
  }
}
@media (max-width: 380px) {
  .preview-label {
    display: none;
  }
  .demo {
    padding-inline: 10px;
  }
  .app-content {
    padding-inline: 12px;
  }
  .client-panel {
    width: 235px;
    left: 1%;
  }
  .product-panel {
    width: 222px;
  }
  .product-info strong {
    font-size: 9px;
  }
  .product-info small {
    font-size: 5px;
  }
  .progress-steps {
    gap: 10px;
  }
  .scene-caption strong {
    font-size: 13px;
  }
  .scene-caption p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .app-window,
  .back-window {
    transform: none !important;
  }
}
