.prototype-a .magnet::before,
.prototype-a .magnet::after { content: none; }

/* Production Chapter 02 reuses this exact approved workstation. */
#explain {
  --chapter-title-size: clamp(34px, 3.55vw, 48px);
  background: #0d0e10;
}

#explain .chapter-page__inner {
  position: relative;
  grid-template-rows: auto minmax(0, auto) auto;
}

#explain .workstation-scene.chapter-scene {
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 761px) and (min-height: 821px) {
  #explain .stage__header,
  #explain .workstation-scene {
    transform: translateY(40px);
  }
}

.preview-shell {
  --page-padding: clamp(24px, 4.6vw, 64px);
  --chapter-title-size: clamp(36px, 4vw, 54px);
  width: min(1280px, calc(100% - (var(--page-padding) * 2)));
}

.preview-bar { justify-content: flex-end; }

.preview-heading {
  display: grid;
  grid-template-columns: minmax(160px, .34fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  padding: clamp(46px, 6vh, 62px) 0 clamp(16px, 2.2vh, 22px);
  text-align: left;
}

.preview-heading__eyebrow {
  display: flex;
  margin: 5px 0 0;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.preview-heading__eyebrow span {
  display: inline-flex;
  width: 34px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 10px;
}

.preview-heading h1 {
  margin: 0;
  font-size: var(--chapter-title-size);
  font-weight: 630;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.workstation-scene {
  display: grid;
  grid-template-columns: minmax(0, 68fr) minmax(0, 32fr);
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
}

.virtual-computer {
  min-width: 0;
  aspect-ratio: 16 / 10;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 18px;
  align-self: center;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .28));
}

.virtual-computer__screen {
  min-width: 0;
  min-height: 0;
  padding: 8px;
  overflow: hidden;
  border: 2px solid #c7c9cd;
  border-bottom: 0;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(145deg, #e1e2e5, #969aa1);
}

.virtual-computer__bezel {
  position: relative;
  border: 1px solid #a9adb3;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #d7d9dd, #92969d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .66);
}

.virtual-computer__bezel span {
  position: absolute;
  top: 2px;
  left: 50%;
  width: auto;
  height: auto;
  font-size: 13px;
  line-height: 1;
  filter: saturate(1.08) drop-shadow(0 1px 1px rgba(0, 0, 0, .22));
  transform: translateX(-50%);
}

.workstation-scene .magnet-demo {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 8px;
}

.prototype-a .magnet-row {
  top: 16px;
  width: calc(100% - 72px);
  gap: 14px;
}

.prototype-a .magnet {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 3fr 1fr;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: #0e0f11;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.prototype-a .magnet:hover,
.prototype-a .magnet:focus-visible,
.prototype-a .magnet[data-active="true"] {
  border-color: rgba(10,132,255,.72);
  background: #0e0f11;
}

.contact-portrait {
  position: relative;
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(160deg, #32363d, #171a1f);
}

.contact-portrait__silhouette {
  position: relative;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: linear-gradient(145deg, #9ba1aa, #676d76);
  box-shadow: 0 24px 0 11px #737982;
  transition: opacity 160ms ease, transform 280ms ease;
}

.contact-portrait__person {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  opacity: 0;
  padding-bottom: 1px;
  font-size: 72px;
  line-height: 1;
  transform: translateY(8px) scale(.45);
  transform-origin: center bottom;
}

.contact-portrait__glyph {
  display: block;
  line-height: 1;
}

.contact-portrait__smile {
  position: absolute;
  left: 50%;
  top: 54%;
  opacity: 0;
  color: rgba(255,255,255,.92);
  font: 800 17px/1 system-ui, sans-serif;
  text-shadow: 0 1px 2px rgba(0,0,0,.48);
  transform: translate(-50%, 8px) scaleX(.3);
  pointer-events: none;
}

.magnet[data-completed="true"] .contact-portrait__silhouette {
  opacity: 0;
  transform: translateY(8px) scale(.72);
}

.magnet[data-completed="true"] .contact-portrait__person {
  animation: contact-person-smile 660ms cubic-bezier(.16,.84,.2,1.18) both;
}

.magnet[data-completed="true"] .contact-portrait__smile {
  animation: contact-smile-arc 660ms ease-out both;
}

.contact-chat {
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 8px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.09);
  border-radius: 0 0 11px 11px;
  background: #17191d;
}

.contact-chat__bubble {
  position: relative;
  min-width: 44px;
  padding: 4px 10px;
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: #0a84ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}

.contact-chat__bubble::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 8px;
  height: 8px;
  background: #0a84ff;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.prototype-a .magnet__pole {
  bottom: -6px;
  height: 6px;
  border: 0;
  background: transparent;
}

.workstation-side {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
}

.buyer-answers,
.mouse-track {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #0d0e10;
}

.buyer-answers {
  display: grid;
  grid-template-rows: auto repeat(3, minmax(0, 1fr));
}

.buyer-answers__header {
  display: flex;
  min-height: 58px;
  padding: 13px 16px 12px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.buyer-answers__header span {
  margin: 0;
  color: var(--muted);
  font: 650 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.buyer-answers__header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
}

.buyer-answer-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
}

.buyer-answer-row__copy {
  min-width: 0;
  display: grid;
  align-items: center;
}

.buyer-answer-row__copy > * {
  grid-area: 1 / 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: calc(var(--chapter-title-size) * .6);
  font-weight: 630;
  letter-spacing: -.045em;
  line-height: 1.08;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1);
}

.buyer-answer-row__copy > span {
  color: var(--muted);
}

.buyer-answer-row__copy > strong {
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
}

.buyer-answer-row__thumb {
  width: 1.1em;
  display: grid;
  place-items: center;
  opacity: 0;
  font-size: calc(var(--chapter-title-size) * .66);
  line-height: 1;
  transform: translateX(-10px) scale(.35) rotate(-18deg);
  transform-origin: center bottom;
  pointer-events: none;
}

.buyer-answer-row[data-answer-state="answer"] .buyer-answer-row__copy > span {
  opacity: 0;
  transform: translateY(-6px);
}

.buyer-answer-row[data-answer-state="answer"] .buyer-answer-row__copy > strong {
  opacity: 1;
  transform: translateY(0);
}

.buyer-answer-row[data-answer-state="answer"] .buyer-answer-row__thumb {
  animation: answer-thumb-extension 460ms cubic-bezier(.16, .82, .24, 1.18) both;
}

.mouse-track {
  position: relative;
}

.virtual-mouse {
  position: absolute;
  z-index: 1;
  top: calc(50% - 31px);
  left: calc(50% - 23px);
  width: 46px;
  height: 62px;
  overflow: hidden;
  border: 1px solid rgba(242, 242, 243, .76);
  border-radius: 23px 23px 19px 19px;
  background: linear-gradient(145deg, #ececed, #aeb1b7);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .8);
  opacity: .35;
  pointer-events: none;
  will-change: left, top, opacity;
}

.virtual-mouse[data-engaged="true"] { opacity: 1; }

.virtual-mouse__left,
.virtual-mouse__right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 25px;
  border-bottom: 1px solid rgba(18, 20, 24, .26);
  background: rgba(255, 255, 255, .16);
  transition: transform 80ms ease, background-color 80ms ease;
}

.virtual-mouse__left { left: 0; border-right: 1px solid rgba(18, 20, 24, .2); }
.virtual-mouse__right { right: 0; }

.virtual-mouse__wheel {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 11px;
  border-radius: 999px;
  background: #5a5e65;
  transform: translateX(-50%);
}

.virtual-mouse[data-clicking="true"] .virtual-mouse__left {
  background: rgba(157, 140, 255, .36);
  transform: translateY(2px);
}

.title-celebration {
  position: relative;
  display: inline-block;
  justify-self: start;
}

.title-celebration h1,
.title-celebration h2 {
  transition: transform 420ms cubic-bezier(.2,.78,.2,1);
}

.title-handshake {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  width: 1.08em;
  display: grid;
  place-items: center;
  opacity: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1;
  transform: translate(-12px, -50%) scale(.62) rotate(-10deg);
  transform-origin: center;
  pointer-events: none;
}

.preview-shell[data-reward-state="running"] .title-celebration h1,
.preview-shell[data-reward-state="complete"] .title-celebration h1,
#explain[data-reward-state="running"] .title-celebration h2,
#explain[data-reward-state="complete"] .title-celebration h2 {
  transform: translateX(-24px);
}

.preview-shell[data-reward-state="running"] .title-handshake,
#explain[data-reward-state="running"] .title-handshake {
  opacity: 1;
  animation: handshake-action 920ms cubic-bezier(.2,.74,.2,1) both;
}

.preview-shell[data-reward-state="complete"] .title-handshake,
#explain[data-reward-state="complete"] .title-handshake {
  opacity: 1;
  transform: translate(0, -50%) scale(1) rotate(0deg);
}

.prototype-a .open-box {
  position: absolute;
  z-index: 12;
  inset: auto 0 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(237,240,245,.31), rgba(111,117,127,.22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 -9px 30px rgba(0,0,0,.2);
  backdrop-filter: blur(14px) saturate(1.35);
  transform: rotate(var(--toolbar-tilt, 0deg));
  transform-origin: 50% 0;
  pointer-events: auto;
  will-change: transform;
}

.desktop-toolbar__app {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  color: rgba(238,241,245,.88);
  font-size: 20px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 8px rgba(0,0,0,.28);
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

.desktop-toolbar__app > span {
  opacity: .92;
  filter: saturate(.62) brightness(.88) contrast(.94) sepia(.025);
}

.desktop-toolbar__app:hover { filter: brightness(1.06); transform: translateY(-3px) scale(1.05); }
.desktop-toolbar__app:active { transform: translateY(1px) scale(.94); }
.desktop-toolbar__app:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.desktop-toolbar__app--files { background: linear-gradient(145deg,#5f88b0,#345d7d); }
.desktop-toolbar__app--browser { background: linear-gradient(145deg,#4d8d88,#2d676c); }
.desktop-toolbar__app--mail { background: linear-gradient(145deg,#667fb0,#4d568b); }
.desktop-toolbar__app--chat { background: linear-gradient(145deg,#5f8e68,#3d6c4d); }
.desktop-toolbar__app--notes { background: linear-gradient(145deg,#aa8a49,#806635); }
.desktop-toolbar__app--media { background: linear-gradient(145deg,#9d5f7b,#70486f); }
.desktop-toolbar__app--settings { background: linear-gradient(145deg,#818998,#565e69); }

.prototype-a .fragment-field {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.prototype-a .fragment {
  position: absolute;
  left: 50%;
  top: 60%;
  width: var(--folder-w);
  min-width: 0;
  height: var(--folder-h);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 7px;
  color: var(--folder-text, rgba(255,255,255,.9));
  background: transparent;
  box-shadow: none;
  clip-path: none;
  transform: translate(-50%, -50%) rotate(var(--rest-r, 0deg));
  transform-origin: center;
  transition: opacity 90ms linear, border-color 120ms ease, background-color 120ms ease;
  pointer-events: auto;
  cursor: default;
  will-change: left, top, transform;
}

.prototype-a .fragment::before { content: none; }

.prototype-a .fragment__icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: saturate(.72) brightness(.88) contrast(.96) sepia(.015) drop-shadow(0 5px 8px rgba(0,0,0,.32));
}

.prototype-a .fragment__text {
  position: absolute;
  z-index: 1;
  left: 12%;
  right: 12%;
  bottom: 16%;
  color: var(--folder-text, rgba(246,247,249,.88));
  font-size: 7px;
  font-weight: 720;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.62);
}

.prototype-a .fragment[data-folder-skin="macos"] { --folder-text:rgba(244,249,252,.9); }
.prototype-a .fragment[data-folder-skin="windows"] { --folder-text:rgba(45,38,25,.88); }
.prototype-a .fragment[data-folder-skin="windows"] .fragment__text { text-shadow: 0 1px 1px rgba(255,255,255,.42); }
.prototype-a .fragment[data-folder-skin="yaru"] { --folder-text:rgba(250,244,240,.91); }
.prototype-a .fragment[data-folder-skin="breeze"] { --folder-text:rgba(27,53,62,.9); }
.prototype-a .fragment[data-folder-skin="breeze"] .fragment__text { text-shadow: 0 1px 1px rgba(255,255,255,.34); }
.prototype-a .fragment[data-folder-skin="adwaita"] { --folder-text:rgba(246,246,247,.9); }

.prototype-a .fragment:hover,
.prototype-a .fragment:focus-visible {
  outline: none;
}

.prototype-a .fragment:hover .fragment__icon,
.prototype-a .fragment:focus-visible .fragment__icon { filter: saturate(.82) brightness(.94) contrast(.98) drop-shadow(0 7px 11px rgba(0,0,0,.38)); }

.prototype-a .fragment:focus-visible {
  box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px rgba(151,141,226,.72);
}

.prototype-a .fragment[data-expanded="true"] {
  opacity: 0;
}

.prototype-a .fragment[data-state="lifting"],
.prototype-a .fragment[data-state="attached"],
.prototype-a .fragment[data-state="falling"] {
  pointer-events: none;
}

.prototype-a .fragment[data-state="lifting"],
.prototype-a .fragment[data-state="attached"] {
  z-index: 9;
  filter: brightness(1.04);
}

.prototype-a[data-active="company"] .fragment[data-group="company"],
.prototype-a[data-active="model"] .fragment[data-group="model"],
.prototype-a[data-active="parameter"] .fragment[data-group="parameter"] {
  border: 0;
  color: var(--folder-text);
  background: transparent;
  box-shadow: none;
}

.prototype-a .fragment[data-state="falling"] {
  z-index: 8;
}

.business-file-preview {
  position: absolute;
  z-index: 22;
  left: 50%;
  top: 58%;
  width: 184px;
  height: 112px;
  display: grid;
  grid-template-rows: 17px auto 1fr 14px;
  gap: 3px;
  padding: 8px 9px 7px;
  overflow: hidden;
  border: 1px solid rgba(15,18,22,.2);
  border-radius: 3px;
  color: #15171b;
  background: #f5f4ef;
  box-shadow: 0 18px 46px rgba(0,0,0,.46), 0 0 0 1px rgba(255,255,255,.16);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.28);
  transform-origin: center;
  transition: transform 250ms cubic-bezier(.2,.82,.2,1), opacity 110ms linear;
  pointer-events: none;
}

.business-file-preview[data-open="true"] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.business-file-preview__header,
.business-file-preview__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid rgba(20,23,28,.15);
  color: #565b64;
  font: 700 6.5px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.business-file-preview__footer {
  border-top: 1px solid rgba(20,23,28,.12);
  border-bottom: 0;
}

.business-file-preview__code {
  padding: 2px 4px;
  color: #39334f;
  background: rgba(157,140,255,.2);
}

.business-file-preview h2 {
  margin: 0;
  overflow: hidden;
  color: #111318;
  font-size: 10px;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-file-preview__body {
  position: relative;
  min-height: 0;
  overflow: hidden;
  font: 600 6.5px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.doc-kv { display: grid; grid-template-columns: 46px 1fr; gap: 3px 5px; }
.doc-kv span:nth-child(odd) { color: #737881; }
.doc-kv span:nth-child(even) { color: #1d2026; border-bottom: 1px solid #b7bac0; }
.doc-lines { display: grid; gap: 5px; padding-top: 2px; }
.doc-lines i { height: 2px; display: block; background: #b6b9bf; }
.doc-lines i:nth-child(2n) { width: 78%; }
.doc-lines i:nth-child(3n) { width: 91%; }
.doc-table { width: 100%; border-collapse: collapse; }
.doc-table th, .doc-table td { padding: 2px 3px; border: 1px solid #b9bcc1; text-align: left; }
.doc-table th { color: #646a73; background: #e8e7e2; }
.doc-table td:last-child { color: #514589; font-weight: 800; }
.doc-pills { display: flex; flex-wrap: wrap; gap: 4px; align-content: start; }
.doc-pills span { padding: 3px 5px; border: 1px solid #b8b9bd; border-radius: 999px; background: #ebeae5; }
.doc-chart { position: relative; height: 100%; border-left: 1px solid #9da1a8; border-bottom: 1px solid #9da1a8; }
.doc-chart::before { content: ""; position: absolute; inset: 15% 6% 12% 8%; border-top: 2px solid #7767c5; transform: skewY(-13deg); box-shadow: 30px 13px 0 -1px #7767c5, 62px -1px 0 -1px #7767c5; }
.doc-mail { display: grid; gap: 3px; }
.doc-mail strong { font-size: 7px; }
.doc-mail p { margin: 0; padding-top: 3px; border-top: 1px solid #c3c5c9; color: #42464d; }
.doc-stamp { position: absolute; right: 4px; bottom: 3px; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid rgba(68,126,96,.68); border-radius: 50%; color: #337252; font-size: 6px; font-weight: 900; transform: rotate(-12deg); }
.doc-sketch { position: relative; height: 100%; }
.doc-sketch::before { content: ""; position: absolute; left: 15%; top: 20%; width: 38px; height: 38px; border: 5px double #5f636b; border-radius: 50%; box-shadow: inset 0 0 0 6px #f5f4ef; }
.doc-sketch::after { content: "Ø 8.2"; position: absolute; right: 12%; top: 42%; padding-left: 18px; border-top: 1px solid #6d727a; color: #353940; }
.doc-revision { display: grid; grid-template-columns: 26px 1fr 36px; gap: 2px; }
.doc-revision span { padding: 2px; border-bottom: 1px solid #b9bbc0; }

.emoji-fireworks {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

.emoji-particle {
  position: absolute;
  left: 50%;
  bottom: -32px;
  font-size: var(--size, 24px);
  line-height: 1;
  opacity: 0;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.22));
  animation: emoji-fountain var(--duration, 1700ms) cubic-bezier(.18,.7,.2,1) var(--delay, 0ms) both;
  will-change: transform, opacity;
}

.prototype-a[data-reward="running"] .magnet[data-completed="true"] {
  animation: contact-card-confirm 720ms ease both;
}

@keyframes contact-card-confirm {
  0%, 100% { border-color: rgba(10,132,255,.48); }
  44% { border-color: rgba(10,132,255,.92); box-shadow: 0 0 28px rgba(10,132,255,.16); }
}

@keyframes contact-person-smile {
  0% { opacity: 0; transform: translateY(9px) scale(.42) rotate(-7deg); }
  30% { opacity: 1; transform: translateY(2px) scale(1.13) rotate(5deg); }
  52% { opacity: 1; transform: translateY(5px) scale(.96) rotate(-3deg); }
  72% { opacity: 1; transform: translateY(3px) scale(1.04) rotate(1deg); }
  100% { opacity: 1; transform: translateY(4px) scale(1) rotate(0); }
}

@keyframes contact-smile-arc {
  0%, 23% { opacity: 0; transform: translate(-50%, 7px) scaleX(.25); }
  42% { opacity: 1; transform: translate(-50%, 0) scaleX(1.2); }
  68% { opacity: .9; transform: translate(-50%, 1px) scaleX(.92); }
  100% { opacity: 0; transform: translate(-50%, 2px) scaleX(1); }
}

@keyframes handshake-action {
  0% { opacity: 0; transform: translate(-14px, -50%) scale(.55) rotate(-13deg); }
  24% { opacity: 1; transform: translate(0, -50%) scale(1.1) rotate(8deg); }
  45% { transform: translate(-3px, -50%) scale(.94) rotate(-7deg); }
  64% { transform: translate(2px, -50%) scale(1.06) rotate(5deg); }
  82% { transform: translate(-1px, -50%) scale(.98) rotate(-2deg); }
  100% { opacity: 1; transform: translate(0, -50%) scale(1) rotate(0deg); }
}

@keyframes emoji-fountain {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.45) rotate(0deg); }
  10% { opacity: 1; }
  58% { opacity: 1; transform: translate3d(var(--dx), var(--dy), 0) scale(1.12) rotate(var(--spin)); }
  100% { opacity: 0; transform: translate3d(var(--dx-end), var(--dy-end), 0) scale(.86) rotate(var(--spin-end)); }
}

@keyframes answer-thumb-extension {
  0% { opacity: 0; transform: translateX(-12px) scale(.32) rotate(-20deg); }
  42% { opacity: 1; transform: translateX(5px) scale(1.14) rotate(7deg); }
  68% { opacity: 1; transform: translateX(-2px) scale(.96) rotate(-3deg); }
  100% { opacity: 1; transform: translateX(0) scale(1) rotate(0deg); }
}

@media (max-height: 820px) and (min-width: 761px) {
  .preview-shell { --chapter-title-size: clamp(34px, 3.7vw, 44px); }
  .preview-heading { padding-block: 38px 13px; }
}

@media (max-width: 1040px) {
  .preview-shell { --page-padding: 30px; }
  .preview-heading { grid-template-columns: 140px minmax(0, 1fr); gap: 36px; }
  .workstation-scene { gap: 14px; }
  .virtual-computer__screen { padding: 6px; }
  .workstation-scene .magnet-row { top: 12px; width: calc(100% - 30px); gap: 9px; }
  .workstation-scene .magnet { min-height: 86px; padding: 0; }
  .workstation-scene .contact-portrait__person { font-size: 54px; }
  .workstation-scene .contact-portrait__silhouette { width: 24px; height: 24px; box-shadow: 0 18px 0 8px #737982; }
  .workstation-scene .contact-chat__bubble { min-width: 36px; padding: 3px 8px; font-size: 10px; }
  .workstation-scene .prototype-a .open-box { inset: auto 0 0; height: 44px; gap: 7px; padding: 5px 12px; }
  .workstation-scene .desktop-toolbar__app { width: 32px; height: 32px; font-size: 17px; border-radius: 8px; }
  .buyer-answers__header { min-height: 50px; padding: 10px 12px; }
  .buyer-answer-row { gap: 8px; padding-inline: 12px; }
}

@media (max-width: 900px) and (min-width: 761px) {
  .workstation-scene .magnet-row { top: 8px; width: calc(100% - 18px); gap: 6px; }
  .workstation-scene .magnet { min-height: 64px; padding: 0; border-radius: 7px; }
  .workstation-scene .contact-portrait__person { font-size: 40px; }
  .workstation-scene .contact-portrait__silhouette { width: 18px; height: 18px; box-shadow: 0 13px 0 6px #737982; }
  .workstation-scene .contact-chat { padding: 3px 5px; }
  .workstation-scene .contact-chat__bubble { min-width: 30px; padding: 3px 7px; font-size: 8px; }
  .workstation-scene .prototype-a .open-box { inset: auto 0 0; height: 36px; gap: 5px; padding: 4px 8px; }
  .workstation-scene .desktop-toolbar__app { width: 27px; height: 27px; font-size: 14px; border-radius: 7px; }
  .workstation-scene .prototype-a .fragment { width: min(var(--folder-w), 62px); height: min(var(--folder-h), 46px); }
  .workstation-scene .fragment__text { font-size: 5.8px; }
  .business-file-preview { width: 140px; height: 90px; }
}

@media (max-width: 760px) {
  .preview-shell { --page-padding: 20px; --chapter-title-size: clamp(31px, 8.6vw, 36px); width: min(1280px, calc(100% - (var(--page-padding) * 2))); }
  .preview-heading { grid-template-columns: 1fr; gap: 8px; padding: 26px 0 16px; }
  .preview-heading__eyebrow { margin: 0; font-size: 11px; }
  .preview-heading h1 { letter-spacing: -.04em; }
  .title-part { display: inline; }
  .workstation-scene { grid-template-columns: 1fr; gap: 12px; }
  .virtual-computer { width: 100%; aspect-ratio: 16 / 10; grid-template-rows: minmax(0, 1fr) 14px; }
  .virtual-computer__screen { padding: 4px; border-radius: 10px 10px 3px 3px; }
  .virtual-computer__bezel { border-radius: 0 0 7px 7px; }
  .virtual-computer__bezel span { top: 2px; width: auto; font-size: 9px; }
  .workstation-side { height: 224px; grid-template-columns: minmax(0, 2fr) minmax(105px, 1fr); grid-template-rows: 1fr; gap: 10px; }
  .buyer-answers, .mouse-track { border-radius: 9px; }
  .buyer-answers__header { min-height: 44px; padding: 8px 10px; }
  .buyer-answers__header span { font-size: 7px; }
  .buyer-answers__header h2 { font-size: 12px; }
  .buyer-answer-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; padding: 6px 10px; }
  .virtual-mouse { width: 36px; height: 49px; border-radius: 18px 18px 15px 15px; }
  .virtual-mouse__left, .virtual-mouse__right { height: 20px; }
  .virtual-mouse__wheel { top: 6px; height: 9px; }
  .workstation-scene .prototype-a.magnet-demo { min-height: 0; }
  .workstation-scene .magnet-row { top: 5px; width: calc(100% - 10px); gap: 4px; }
  .workstation-scene .magnet { min-height: 48px; padding: 0; gap: 0; border-radius: 6px; }
  .workstation-scene .contact-portrait { border-radius: 5px 5px 0 0; }
  .workstation-scene .contact-portrait__person { font-size: 31px; }
  .workstation-scene .contact-portrait__silhouette { width: 13px; height: 13px; box-shadow: 0 9px 0 4px #737982; }
  .workstation-scene .contact-portrait__smile { font-size: 8px; }
  .workstation-scene .contact-chat { padding: 2px 3px; border-radius: 0 0 5px 5px; }
  .workstation-scene .contact-chat__bubble { min-width: 25px; padding: 2px 5px; border-radius: 8px 8px 8px 3px; font-size: 7px; }
  .workstation-scene .magnet__pole { bottom: -5px; height: 5px; }
  .workstation-scene .prototype-a .open-box { inset: auto 0 0; height: 29px; gap: 3px; padding: 3px 5px; border-radius: 8px 8px 0 0; }
  .workstation-scene .desktop-toolbar__app { width: 22px; height: 22px; font-size: 11px; border-radius: 6px; }
  .workstation-scene .prototype-a .fragment { width: min(var(--folder-w), 43px); height: min(var(--folder-h), 33px); }
  .workstation-scene .fragment__text { left: 9%; right: 9%; bottom: 14%; font-size: 4.5px; }
  .business-file-preview { width: 122px; height: 80px; padding: 5px 6px; }
  .business-file-preview h2 { font-size: 8px; }
  .business-file-preview__header, .business-file-preview__footer, .business-file-preview__body { font-size: 5px; }
  .preview-shell[data-reward-state="running"] .title-celebration h1,
  .preview-shell[data-reward-state="complete"] .title-celebration h1,
  #explain[data-reward-state="running"] .title-celebration h2,
  #explain[data-reward-state="complete"] .title-celebration h2 { transform: translateX(-13px); }
  .title-handshake { right: 0; left: auto; font-size: 34px; }
  .emoji-particle { font-size: var(--mobile-size, 20px); }
}

@media (prefers-reduced-motion: reduce) {
  .title-celebration h1,
  .title-celebration h2,
  .business-file-preview,
  .buyer-answer-row__copy > * { transition-duration: .001ms !important; }
  .buyer-answer-row[data-answer-state="answer"] .buyer-answer-row__thumb {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .magnet[data-completed="true"] .contact-portrait__person { animation: none !important; opacity: 1; transform: none; }
  .magnet[data-completed="true"] .contact-portrait__smile { animation: none !important; opacity: 0; }
  .emoji-particle { display: none !important; }
  .preview-shell[data-reward-state="running"] .title-handshake,
  .preview-shell[data-reward-state="complete"] .title-handshake,
  #explain[data-reward-state="running"] .title-handshake,
  #explain[data-reward-state="complete"] .title-handshake { animation: none !important; opacity: 1; transform: translate(0, -50%) scale(1); }
}
