.minimal-home {
  min-height: 100svh;
  color: #1d1d1f;
  background:
    radial-gradient(circle at 50% 40%, #fff 0, rgba(255, 255, 255, 0.95) 30%, rgba(243, 246, 250, 0.94) 70%, #edf1f6 100%),
    #f5f5f7;
}

.minimal-header {
  position: relative;
  z-index: 20;
  width: min(1120px, calc(100% - 42px));
  height: 54px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.minimal-header .brand {
  font-size: 0.86rem;
}

.minimal-login {
  min-height: 34px;
  padding: 0 16px;
  color: #fff;
  background: #0071e3;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.minimal-login:hover,
.minimal-login:focus-visible {
  background: #0077ed;
}

.minimal-login:active {
  transform: scale(0.97);
}

.minimal-main,
.minimal-demo {
  min-height: calc(100svh - 54px);
}

.minimal-demo {
  --cycle: 7.2s;
  padding: clamp(18px, 2.8vh, 28px) 22px 14px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.minimal-title {
  position: relative;
  z-index: 3;
  text-align: center;
}

.minimal-title h1 {
  font-size: clamp(2.8rem, 5.15vw, 4.8rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.transfer-stage {
  --travel-from: calc(clamp(330px, 33vw, 420px) * -1);
  --travel-to: clamp(170px, 17vw, 215px);
  --travel-mid-left: -210px;
  --travel-mid-right: -56px;
  --cursor-offset: 160px;
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin-top: clamp(27px, 4vh, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 11vw, 140px) minmax(0, 1fr);
  align-items: center;
}

.demo-device {
  position: relative;
  z-index: 1;
  padding: 10px 10px 24px;
  background: linear-gradient(150deg, #fff, #dfe3e9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 25px;
  box-shadow:
    0 28px 72px rgba(31, 45, 67, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.device-heading {
  height: 42px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.device-heading strong {
  font-size: 0.82rem;
  font-weight: 680;
}

.device-heading small {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6e6e73;
  font-size: 0.75rem;
}

.device-heading small i {
  width: 7px;
  height: 7px;
  background: #2ebd59;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(46, 189, 89, 0.1);
}

.windows-mark {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  transform: skewY(-4deg);
}

.windows-mark i {
  background: #086bd8;
}

.apple-mark {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #1d1d1f;
  font-size: 0.85rem;
}

.device-screen {
  padding: 5px;
  aspect-ratio: 1.68;
  overflow: hidden;
  background: #17181b;
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 0 0 1px #000;
}

.simple-desktop {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 13px;
}

.desktop-bar {
  position: absolute;
  right: 50%;
  bottom: 10px;
  z-index: 1;
  min-width: 112px;
  height: 25px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(41, 63, 96, 0.08);
  transform: translateX(50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.desktop-bar i {
  width: 11px;
  height: 11px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}

.windows-bar i:first-child {
  background: #0873df;
}

.mac-bar {
  min-width: 102px;
  height: 28px;
  border-radius: 9px;
}

.mac-bar i {
  border-radius: 4px;
}

.mac-bar i:nth-child(1) { background: #337cf4; }
.mac-bar i:nth-child(2) { background: #ff5f57; }
.mac-bar i:nth-child(3) { background: #34c759; }
.mac-bar i:nth-child(4) { background: #ff9f0a; }

.windows-desktop {
  background:
    radial-gradient(circle at 78% 24%, rgba(52, 139, 255, 0.22), transparent 35%),
    linear-gradient(145deg, #f7faff, #dfeafb);
}

.mac-desktop {
  background:
    radial-gradient(circle at 25% 80%, rgba(115, 142, 255, 0.3), transparent 36%),
    linear-gradient(145deg, #eef3ff, #d9e5fb);
}

.desktop-name {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #626a76;
  font-size: 0.75rem;
  font-weight: 650;
}

.source-file,
.received-file {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(225px, calc(100% - 42px));
  min-height: 78px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 17px;
  box-shadow: 0 14px 35px rgba(36, 55, 84, 0.13);
  transform: translate(-50%, -44%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.source-file {
  animation: source-file var(--cycle) ease-in-out infinite;
}

.source-selection {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(250px, calc(100% - 24px));
  height: 103px;
  border: 2px solid #0071e3;
  border-radius: 22px;
  opacity: 0;
  transform: translate(-50%, -45%) scale(0.94);
  animation: source-selection var(--cycle) ease-out infinite;
}

.file-icon,
.moving-file > span {
  width: 45px;
  height: 51px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  background: linear-gradient(145deg, #ff5b54, #df211b);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(211, 35, 28, 0.22);
  font-size: 0.67rem;
  font-weight: 760;
  letter-spacing: 0.03em;
}

.source-file p,
.received-file p,
.moving-file p {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.source-file strong,
.received-file strong,
.moving-file strong {
  overflow: hidden;
  color: #1d1d1f;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-file small,
.received-file small,
.moving-file small {
  color: #77777c;
  font-size: 0.75rem;
}

.drop-zone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(250px, calc(100% - 40px));
  height: min(150px, calc(100% - 62px));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #567096;
  background: rgba(255, 255, 255, 0.38);
  border: 2px dashed rgba(53, 93, 153, 0.36);
  border-radius: 22px;
  transform: translate(-50%, -44%);
  animation: drop-zone var(--cycle) ease-in-out infinite;
}

.drop-zone > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #0071e3;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 650;
}

.drop-zone strong {
  margin-top: 4px;
  font-size: 0.82rem;
}

.drop-zone small {
  color: #75829a;
  font-size: 0.75rem;
}

.received-file {
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.92);
  animation: received-file var(--cycle) ease-in-out infinite;
}

.received-file b {
  width: 30px;
  height: 30px;
  margin-left: auto;
  display: grid;
  place-items: center;
  flex: none;
  color: #16713a;
  background: #e7f8ed;
  border-radius: 50%;
  font-size: 0.8rem;
}

.device-foot {
  position: absolute;
  right: 36%;
  bottom: -17px;
  left: 36%;
  height: 18px;
  background: linear-gradient(90deg, #bcc0c8, #f1f2f4 48%, #b7bbc2);
  clip-path: polygon(27% 0, 73% 0, 100% 100%, 0 100%);
}

.device-foot::after {
  content: "";
  position: absolute;
  right: -33%;
  bottom: -4px;
  left: -33%;
  height: 5px;
  background: #c6cad0;
  border-radius: 999px;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.12);
}

.transfer-space {
  position: relative;
  z-index: 4;
  height: 100%;
  pointer-events: none;
}

.transfer-space::before {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 50%;
  width: 2px;
  background: linear-gradient(transparent, rgba(0, 113, 227, 0.58), transparent);
  filter: blur(0.2px) drop-shadow(0 0 12px rgba(0, 113, 227, 0.45));
  opacity: 0;
  transform: translateX(-50%) scaleY(0.5);
  animation: bridge-glow var(--cycle) ease-in-out infinite;
}

.transfer-rail {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(480px, 49vw, 630px);
  height: 3px;
  overflow: visible;
  background: rgba(0, 113, 227, 0.14);
  border-radius: 999px;
  transform: translate(-50%, 26px);
}

.transfer-rail > span {
  position: absolute;
  inset: 0;
  background: #0071e3;
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(0, 113, 227, 0.28);
  transform: scaleX(0);
  transform-origin: left;
  animation: rail-progress var(--cycle) ease-in-out infinite;
}

.transfer-rail > i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  background: #0071e3;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.24);
  transform: translate(-50%, -50%);
  animation: rail-dot var(--cycle) ease-in-out infinite;
}

.transfer-rail > b {
  position: absolute;
  top: 50%;
  right: -2px;
  color: #0071e3;
  font-size: 1.6rem;
  line-height: 1;
  transform: translate(45%, -54%);
}

.moving-file {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 210px;
  min-height: 80px;
  padding: 12px 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #fff;
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(18, 40, 72, 0.24);
  transform: translate3d(var(--travel-from), -7px, 0) scale(0.92);
  animation: moving-file var(--cycle) cubic-bezier(0.55, 0, 0.18, 1) infinite;
}

.moving-file::before,
.moving-file::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 15px;
  opacity: 0;
  pointer-events: none;
  animation: drag-trail var(--cycle) ease-in-out infinite;
}

.moving-file::before {
  transform: translateX(-12px) scale(0.97);
}

.moving-file::after {
  transform: translateX(-24px) scale(0.94);
  animation-delay: 45ms;
}

.moving-file > b {
  position: absolute;
  top: 10px;
  right: 11px;
  padding: 4px 7px;
  color: #0069d2;
  background: #e7f2ff;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 680;
}

.moving-file > p {
  padding-right: 44px;
}

.moving-file em {
  position: absolute;
  right: 14px;
  bottom: 9px;
  left: 14px;
  height: 3px;
  overflow: hidden;
  background: #e4e8ee;
  border-radius: 999px;
}

.moving-file em i {
  display: block;
  width: 100%;
  height: 100%;
  background: #0071e3;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  animation: file-progress var(--cycle) ease-in-out infinite;
}

.drag-cursor {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: 29px;
  height: 36px;
  overflow: visible;
  opacity: 0;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.25));
  transform: translate3d(calc(var(--travel-from) + var(--cursor-offset)), 47px, 0);
  animation: drag-cursor var(--cycle) cubic-bezier(0.55, 0, 0.18, 1) infinite;
}

.drag-cursor path {
  fill: #101114;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.grab-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(0, 113, 227, 0.62);
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(calc(var(--travel-from) + var(--cursor-offset) - 5px), 46px, 0) scale(0.35);
  animation: grab-ring var(--cycle) ease-out infinite;
}

.release-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(46, 189, 89, 0.72);
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(calc(var(--travel-to) + var(--cursor-offset) - 5px), 46px, 0) scale(0.35);
  animation: release-ring var(--cycle) ease-out infinite;
}

.motion-steps {
  position: relative;
  z-index: 7;
  width: min(610px, 100%);
  min-height: 44px;
  margin-top: clamp(36px, 5vh, 49px);
  padding: 5px 7px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(27, 43, 67, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.motion-step {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #1d1d1f;
  font-size: 0.78rem;
  font-weight: 620;
  opacity: 0.35;
  white-space: nowrap;
}

.motion-step i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0071e3;
  border-radius: 50%;
  font-size: 0.72rem;
  font-style: normal;
}

.motion-steps > b {
  height: 1px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
}

.step-grab { animation: step-grab var(--cycle) ease-in-out infinite; }
.step-send { animation: step-send var(--cycle) ease-in-out infinite; }
.step-done { animation: step-done var(--cycle) ease-in-out infinite; }

.minimal-legal {
  position: relative;
  z-index: 7;
  margin-top: clamp(16px, 2.4vh, 23px);
  display: flex;
  align-items: center;
  gap: 17px;
  color: #7d7d82;
  font-size: 0.75rem;
}

.minimal-legal a:hover,
.minimal-legal a:focus-visible {
  color: #1d1d1f;
  text-decoration: underline;
}

.minimal-account-dialog {
  position: fixed;
  width: min(470px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  padding: 0;
  overflow: auto;
  color: #1d1d1f;
  background: transparent;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.34);
}

.minimal-account-dialog::backdrop {
  background: rgba(15, 16, 20, 0.48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.minimal-dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #55555a;
  background: #ececf0;
  border: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.minimal-account-card.account-card {
  min-height: 0;
}

.minimal-account-card.beta-form {
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 0;
  border-radius: 28px;
  box-shadow: none;
}

.minimal-account-card .beta-form-head {
  padding: 0 42px 22px 0;
}

.minimal-account-card .beta-form-head h2 {
  margin-top: 2px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.minimal-account-card .account-tabs {
  margin-top: 20px;
}

.minimal-account-card .account-pane .beta-field {
  margin-top: 16px;
}

.minimal-account-card .beta-field input {
  height: 49px;
}

.minimal-account-card .beta-consent {
  margin-top: 17px;
}

.minimal-account-card .beta-submit {
  margin-top: 19px;
}

.minimal-account-card .beta-form-contact {
  margin-top: 19px;
  padding-top: 16px;
}

@keyframes source-selection {
  0%, 10% { opacity: 0; transform: translate(-50%, -45%) scale(0.94); }
  16%, 25% { opacity: 1; transform: translate(-50%, -45%) scale(1); }
  32%, 100% { opacity: 0; transform: translate(-50%, -45%) scale(1.03); }
}

@keyframes source-file {
  0%, 22% { opacity: 1; transform: translate(-50%, -44%) scale(1); }
  28%, 88% { opacity: 0; transform: translate(-50%, -44%) scale(0.96); }
  96%, 100% { opacity: 1; transform: translate(-50%, -44%) scale(1); }
}

@keyframes moving-file {
  0%, 19% { opacity: 0; transform: translate3d(var(--travel-from), -7px, 0) scale(0.92); }
  24%, 29% { opacity: 1; transform: translate3d(var(--travel-from), -7px, 0) scale(1); }
  43% { opacity: 1; transform: translate3d(var(--travel-mid-left), -7px, 0) scale(1.025); }
  54% { opacity: 1; transform: translate3d(var(--travel-mid-right), -7px, 0) scale(1.025); }
  66%, 75% { opacity: 1; transform: translate3d(var(--travel-to), -7px, 0) scale(1); }
  79%, 100% { opacity: 0; transform: translate3d(var(--travel-to), -7px, 0) scale(0.94); }
}

@keyframes drag-cursor {
  0%, 7% { opacity: 0; transform: translate3d(calc(var(--travel-from) + var(--cursor-offset) + 54px), 92px, 0); }
  12% { opacity: 1; transform: translate3d(calc(var(--travel-from) + var(--cursor-offset) + 22px), 67px, 0); }
  19%, 28% { opacity: 1; transform: translate3d(calc(var(--travel-from) + var(--cursor-offset)), 47px, 0); }
  43% { opacity: 1; transform: translate3d(calc(var(--travel-mid-left) + var(--cursor-offset)), 47px, 0); }
  54% { opacity: 1; transform: translate3d(calc(var(--travel-mid-right) + var(--cursor-offset)), 47px, 0); }
  66%, 75% { opacity: 1; transform: translate3d(calc(var(--travel-to) + var(--cursor-offset)), 47px, 0); }
  79%, 100% { opacity: 0; transform: translate3d(calc(var(--travel-to) + var(--cursor-offset) + 12px), 58px, 0); }
}

@keyframes grab-ring {
  0%, 17% { opacity: 0; transform: translate3d(calc(var(--travel-from) + var(--cursor-offset) - 5px), 46px, 0) scale(0.35); }
  20% { opacity: 0.85; transform: translate3d(calc(var(--travel-from) + var(--cursor-offset) - 5px), 46px, 0) scale(0.5); }
  27%, 100% { opacity: 0; transform: translate3d(calc(var(--travel-from) + var(--cursor-offset) - 5px), 46px, 0) scale(1.25); }
}

@keyframes release-ring {
  0%, 69% { opacity: 0; transform: translate3d(calc(var(--travel-to) + var(--cursor-offset) - 5px), 46px, 0) scale(0.35); }
  73% { opacity: 0.9; transform: translate3d(calc(var(--travel-to) + var(--cursor-offset) - 5px), 46px, 0) scale(0.5); }
  81%, 100% { opacity: 0; transform: translate3d(calc(var(--travel-to) + var(--cursor-offset) - 5px), 46px, 0) scale(1.35); }
}

@keyframes bridge-glow {
  0%, 36%, 68%, 100% { opacity: 0; transform: translateX(-50%) scaleY(0.5); }
  46%, 58% { opacity: 1; transform: translateX(-50%) scaleY(1); }
}

@keyframes drag-trail {
  0%, 29%, 35%, 73%, 100% { opacity: 0; }
  43%, 63% { opacity: 0.62; }
}

@keyframes rail-progress {
  0%, 26% { opacity: 0; transform: scaleX(0); }
  31% { opacity: 1; transform: scaleX(0); }
  69%, 78% { opacity: 1; transform: scaleX(1); }
  84%, 100% { opacity: 0; transform: scaleX(1); }
}

@keyframes rail-dot {
  0%, 26% { opacity: 0; left: 0; }
  31% { opacity: 1; left: 0; }
  69%, 78% { opacity: 1; left: 100%; }
  84%, 100% { opacity: 0; left: 100%; }
}

@keyframes file-progress {
  0%, 28% { transform: scaleX(0); }
  69%, 100% { transform: scaleX(1); }
}

@keyframes drop-zone {
  0%, 48% { color: #567096; background: rgba(255, 255, 255, 0.38); border-color: rgba(53, 93, 153, 0.36); transform: translate(-50%, -44%) scale(1); }
  58%, 76% { color: #0069d2; background: rgba(0, 113, 227, 0.1); border-color: rgba(0, 113, 227, 0.75); transform: translate(-50%, -44%) scale(1.03); }
  82%, 100% { color: #567096; background: rgba(255, 255, 255, 0.38); border-color: rgba(53, 93, 153, 0.36); transform: translate(-50%, -44%) scale(1); }
}

@keyframes received-file {
  0%, 78% { opacity: 0; transform: translate(-50%, -44%) scale(0.9); }
  83%, 94% { opacity: 1; transform: translate(-50%, -44%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -44%) scale(1); }
}

@keyframes step-grab {
  0%, 7%, 35%, 100% { opacity: 0.35; }
  12%, 29% { opacity: 1; }
}

@keyframes step-send {
  0%, 25%, 76%, 100% { opacity: 0.35; }
  32%, 69% { opacity: 1; }
}

@keyframes step-done {
  0%, 68%, 100% { opacity: 0.35; }
  77%, 95% { opacity: 1; }
}

@media (max-width: 760px) {
  .minimal-header {
    width: calc(100% - 30px);
    height: 50px;
  }

  .minimal-header .brand {
    font-size: 0.78rem;
  }

  .minimal-header .brand-symbol {
    width: 20px;
    height: 20px;
  }

  .minimal-login {
    min-height: 32px;
    padding-inline: 13px;
    font-size: 0.75rem;
  }

  .minimal-main,
  .minimal-demo {
    min-height: calc(100svh - 50px);
  }

  .minimal-demo {
    padding: 16px 15px 12px;
  }

  .minimal-title h1 {
    font-size: clamp(1.9rem, 8.6vw, 2.35rem);
    white-space: nowrap;
  }

  .transfer-stage {
    --travel-from: calc(clamp(116px, 37vw, 145px) * -1);
    --travel-to: clamp(44px, 14vw, 55px);
    --travel-mid-left: -72px;
    --travel-mid-right: -18px;
    --cursor-offset: 70px;
    margin-top: clamp(33px, 6vh, 49px);
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  }

  .demo-device {
    padding: 5px 5px 13px;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(31, 45, 67, 0.15);
  }

  .device-heading {
    height: 29px;
    padding: 0 3px;
    gap: 5px;
  }

  .device-heading strong {
    font-size: 0.66rem;
  }

  .device-heading small {
    display: none;
  }

  .windows-mark,
  .apple-mark {
    width: 13px;
    height: 13px;
  }

  .apple-mark {
    font-size: 0.56rem;
  }

  .device-screen {
    padding: 3px;
    border-radius: 9px;
  }

  .simple-desktop {
    border-radius: 6px;
  }

  .desktop-name {
    top: 8px;
    left: 9px;
    font-size: 0.6rem;
  }

  .source-file,
  .received-file {
    width: calc(100% - 18px);
    min-height: 45px;
    padding: 7px;
    gap: 7px;
    border-radius: 9px;
  }

  .source-selection {
    width: calc(100% - 10px);
    height: 58px;
    border-radius: 11px;
  }

  .file-icon,
  .moving-file > span {
    width: 26px;
    height: 30px;
    border-radius: 6px;
    font-size: 0.43rem;
  }

  .source-file strong,
  .received-file strong,
  .moving-file strong {
    font-size: 0.55rem;
  }

  .source-file small,
  .received-file small,
  .moving-file small {
    font-size: 0.5rem;
  }

  .drop-zone {
    width: calc(100% - 18px);
    height: calc(100% - 25px);
    gap: 1px;
    border-width: 1px;
    border-radius: 9px;
  }

  .drop-zone > span {
    width: 23px;
    height: 23px;
    font-size: 0.75rem;
  }

  .drop-zone strong {
    margin-top: 1px;
    font-size: 0.57rem;
  }

  .drop-zone small {
    display: none;
  }

  .received-file b {
    width: 18px;
    height: 18px;
    font-size: 0.5rem;
  }

  .device-foot {
    bottom: -10px;
    height: 11px;
  }

  .device-foot::after {
    bottom: -2px;
    height: 3px;
  }

  .transfer-rail {
    width: min(195px, 52vw);
    height: 2px;
    transform: translate(-50%, 14px);
  }

  .transfer-rail > i {
    width: 9px;
    height: 9px;
    border-width: 2px;
  }

  .transfer-rail > b {
    font-size: 1.1rem;
  }

  .moving-file {
    width: 96px;
    min-height: 48px;
    padding: 7px 7px 13px;
    gap: 6px;
    border-radius: 10px;
  }

  .moving-file em {
    right: 7px;
    bottom: 6px;
    left: 7px;
    height: 2px;
  }

  .drag-cursor {
    width: 18px;
    height: 23px;
  }

  .grab-ring {
    width: 26px;
    height: 26px;
  }

  .motion-steps {
    width: min(350px, 100%);
    min-height: 41px;
    margin-top: clamp(41px, 7vh, 57px);
    gap: 5px;
  }

  .motion-step {
    gap: 4px;
    font-size: 0.65rem;
  }

  .motion-step i {
    width: 22px;
    height: 22px;
    font-size: 0.62rem;
  }

  .minimal-legal {
    margin-top: clamp(19px, 4vh, 29px);
    gap: 13px;
    font-size: 0.7rem;
  }

  .minimal-account-dialog {
    max-height: calc(100svh - 14px);
    border-radius: 22px;
  }

  .minimal-account-card.beta-form {
    padding: 23px 19px;
    border-radius: 22px;
  }

  .minimal-dialog-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-height: 690px) and (min-width: 761px) {
  .minimal-demo {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .minimal-title h1 {
    font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  }

  .transfer-stage {
    width: min(980px, 100%);
    margin-top: 21px;
  }

  .motion-steps {
    margin-top: 31px;
  }

  .minimal-legal {
    margin-top: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .source-file,
  .source-selection,
  .moving-file,
  .moving-file::before,
  .moving-file::after,
  .moving-file em i,
  .drag-cursor,
  .grab-ring,
  .release-ring,
  .transfer-space::before,
  .transfer-rail > span,
  .transfer-rail > i,
  .drop-zone,
  .received-file,
  .motion-step {
    animation: none;
  }

  .source-file,
  .drop-zone {
    opacity: 1;
  }

  .moving-file {
    opacity: 1;
    transform: translate3d(-50%, -68px, 0) scale(1);
  }

  .moving-file em i,
  .transfer-rail > span {
    transform: scaleX(1);
  }

  .transfer-rail > i {
    left: 50%;
  }

  .motion-step {
    opacity: 1;
  }
}
