/*
 * Mockup interior styling, split out of src/styles/global.css.
 *
 * Every rule here targets markup that only exists once a mockup island
 * hydrates, so none of it is needed for the first paint. Layout.astro loads it
 * without blocking rendering, which keeps the render-blocking stylesheet inside
 * a single TCP window - that is what buys the hero its sub-second paint.
 *
 * THE BOUNDARY: a selector belongs here only if it cannot match any element in
 * the server-rendered HTML. If it can, it belongs in global.css, or the page
 * will reflow when this sheet lands. `npm run check` enforces this via
 * scripts/check-critical-css.mjs.
 */


.home-feature-product-window {
  position: absolute;
  display: flex;
  overflow: hidden;
  color: #f4f4f4;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: #181818;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.home-feature-flow-mockup--workspace {
  position: absolute;
  inset: 9% -5% -9% 8%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.home-feature-product-window--cloud {
  inset: 14% 7% 11%;
}

.home-feature-flow-mockup--validation {
  position: absolute;
  inset: 8% -3% 6% 5%;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.home-feature-window-lights {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 20;
}

.home-feature-flow-mockup--workspace .automation-list-canvas {
  min-width: 880px;
}

.home-feature-session {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  background: #181818;
}

.home-feature-topbar {
  display: flex;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  gap: 12px;
  padding: 0 18px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #171717;
}

.home-feature-topbar strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-product-window--cloud .home-feature-topbar {
  padding-left: 112px;
}

.home-feature-cloud-toggle {
  position: relative;
  z-index: 30;
}

.home-feature-cloud-cursor {
  position: absolute;
  z-index: 40;
  top: 220px;
  left: 148px;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0.92;
  transform: scale(1);
  transition:
    top 880ms cubic-bezier(0.32, 0.72, 0, 1),
    left 880ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 260ms ease-out,
    transform 150ms ease-out;
  will-change: top, left, opacity, transform;
}

.home-feature-cloud-cursor[data-phase='approaching'],
.home-feature-cloud-cursor[data-phase='pressing'],
.home-feature-cloud-cursor[data-phase='handoff'],
.home-feature-cloud-cursor[data-phase='switching'],
.home-feature-cloud-cursor[data-phase='cloud'] {
  top: 9px;
  left: 61px;
}

.home-feature-cloud-cursor[data-phase='pressing'] {
  transform: scale(0.9);
}

.home-feature-cloud-cursor[data-phase='switching'],
.home-feature-cloud-cursor[data-phase='cloud'] {
  opacity: 0;
}

.home-feature-cloud-notification {
  position: absolute;
  top: 5%;
  right: 8%;
  z-index: 35;
  display: flex;
  width: max-content;
  max-width: calc(100% - 24px);
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px 10px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent),
    rgba(30, 31, 33, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 28px -16px rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 540;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  animation:
    homeFeatureCloudNotificationIn 680ms cubic-bezier(0.16, 1, 0.3, 1) both,
    homeFeatureCloudNotificationOut 420ms cubic-bezier(0.4, 0, 1, 1) 4s forwards;
}

.home-feature-cloud-notification > svg {
  flex: 0 0 auto;
  color: rgba(179, 226, 255, 0.9);
}

.home-feature-cloud-notification[data-location='local'] > svg {
  color: rgba(255, 255, 255, 0.76);
}

.home-feature-cloud-notification-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-feature-cloud-notification-copy > strong {
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 590;
}

.home-feature-cloud-notification-copy > small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 480;
  line-height: 1.15;
}

.home-feature-cloud-move-overlay {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #181818;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: auto;
  animation: homeFeatureCloudMoveOverlayIn 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-feature-cloud-move-overlay[data-phase='switching'] {
  animation: homeFeatureCloudMoveOverlayOut 500ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.home-feature-cloud-move-overlay-content {
  display: flex;
  max-width: 340px;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  text-align: left;
}

.home-feature-cloud-move-overlay-content > svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.62);
  animation: homeFeatureCloudMoveSpinner 900ms linear infinite;
}

.home-feature-cloud-move-overlay-content > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.home-feature-cloud-move-overlay-content strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.home-feature-cloud-move-overlay-content span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.home-feature-cloud-move-stage {
  animation: homeFeatureCloudMoveStageIn 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.codex-cloud-branding {
  display: inline-block;
  background:
    linear-gradient(
      100deg,
      rgba(230, 230, 230, 0.76) 0%,
      #ffffff 28%,
      #85d7ff 46%,
      #ffffff 62%,
      rgba(230, 230, 230, 0.76) 100%
    );
  background-size: 240% 100%;
  background-position: 160% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: codexCloudBrandIn 1400ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

.home-feature-session-list {
  container-type: size;
  position: absolute;
  inset: 7% 9%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
}

.home-feature-session-row {
  position: absolute;
  display: grid;
  overflow: hidden;
  height: clamp(52px, 15cqh, 70px);
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  padding: 0 20px;
  background: rgba(18, 18, 20, 0.47);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 30px -20px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition:
    top 920ms cubic-bezier(0.32, 0.72, 0, 1),
    left 920ms cubic-bezier(0.32, 0.72, 0, 1),
    width 920ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 700ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 920ms cubic-bezier(0.32, 0.72, 0, 1);
}

.home-feature-session-row > * {
  position: relative;
  z-index: 2;
}

.home-feature-session-row > strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 570;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-session-provider {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  white-space: nowrap;
}

.home-feature-session-indicator {
  position: relative;
  display: flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
}

.home-feature-session-success-dot {
  position: absolute;
  top: 0;
  right: 1px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #34c759;
  animation: homeFeatureSuccessDotIn 460ms ease-out both;
}

.home-feature-session-row[data-just-finished='true']::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: rgb(52, 211, 153);
  animation: sessionRowMacroWash 600ms linear forwards;
}

.home-feature-session-row[data-just-finished='true']::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 50%;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.04) 70%,
    transparent 100%
  );
  animation: sessionRowShine 750ms linear forwards;
}

.home-feature-proof-pair {
  position: absolute;
  inset: 8% 5% 7% 6%;
}

.home-feature-proof-browser {
  position: absolute;
  inset: 0 15% 8% 0;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 50px -16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}

.home-feature-proof-phone {
  container-type: size;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  width: 27%;
  height: 74%;
  place-items: center;
  border-radius: 30px;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.34));
}

.home-feature-proof-phone .home-feature-iphone {
  width: min(calc(100cqw - 8px), calc((100cqh - 8px) * 0.461538));
  height: min(calc(100cqh - 8px), calc((100cqw - 8px) * 2.166667));
}

.home-feature-pane-tools {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  height: 36px;
  align-items: center;
  gap: 0;
  padding-right: 12px;
  color: rgba(255, 255, 255, 0.46);
  background: transparent;
}

.home-feature-pane-tools span {
  display: grid;
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
}

.home-feature-validation-agent .home-feature-pane-tools::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 62px;
  pointer-events: none;
  background: #181818;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.22) 24%, rgba(0, 0, 0, 0.78) 58%, #000 100%),
    linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.86) 36%, rgba(0, 0, 0, 0.34) 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.22) 24%, rgba(0, 0, 0, 0.78) 58%, #000 100%),
    linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.86) 36%, rgba(0, 0, 0, 0.34) 72%, transparent 100%);
  mask-composite: intersect;
}

.home-feature-pane-tools--inline {
  position: static;
  height: auto;
  padding: 0;
  background: transparent;
}

.home-feature-pane-tools--inline span {
  width: 22px;
  height: 22px;
}

.home-feature-simulator {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  background: #181818;
}

.home-feature-browser {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  background: #181818;
}

.home-feature-browser-chrome {
  display: flex;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #181818;
  color: rgba(255, 255, 255, 0.46);
}

.home-feature-browser-navigation {
  display: flex;
  align-items: center;
}

.home-feature-browser-navigation span {
  display: grid;
  width: 19px;
  height: 24px;
  place-items: center;
}

.home-feature-browser-address {
  display: flex;
  height: 24px;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.035);
}

.home-feature-browser-address span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-browser-page {
  min-height: 0;
  flex: 1;
  overflow: hidden;
  color: #111;
  background: #fff;
  font-family: var(--font-sans);
}

.home-feature-browser-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}














.home-feature-simulator-chrome {
  display: flex;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #181818;
}

.home-feature-simulator-device {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  padding-inline: 4px;
  color: rgba(255, 255, 255, 0.48);
}

.home-feature-simulator-device > span {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #4ecb78;
}

.home-feature-simulator-device strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-simulator-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  color: rgba(255, 255, 255, 0.46);
}

.home-feature-simulator-controls > span {
  display: grid;
  width: 21px;
  height: 24px;
  place-items: center;
}

.home-feature-simulator-controls > i {
  width: 1px;
  height: 14px;
  margin-inline: 4px 3px;
  background: rgba(255, 255, 255, 0.08);
}

.home-feature-simulator-stage {
  container-type: size;
  display: grid;
  width: 100%;
  min-height: 0;
  flex: 1;
  place-items: center;
  background: #181818;
}

.home-feature-iphone {
  position: relative;
  width: min(calc(100cqw - 28px), calc((100cqh - 28px) * 0.461538));
  height: min(calc(100cqh - 28px), calc((100cqw - 28px) * 2.166667));
  min-width: 0;
  min-height: 0;
  aspect-ratio: 9 / 19.5;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 30px;
  padding: 4px;
  background: linear-gradient(145deg, #55565a, #09090a 38%, #2b2c2f 78%, #080809);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(0, 0, 0, 0.82);
}

.home-feature-iphone::before,
.home-feature-iphone::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 3px;
  border-radius: 2px;
  background: #2c2d30;
}

.home-feature-iphone::before {
  top: 23%;
  left: -4px;
  height: 11%;
  box-shadow: 0 29px 0 #2c2d30;
}

.home-feature-iphone::after {
  top: 28%;
  right: -4px;
  height: 17%;
}

.home-feature-iphone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 25px;
  background: #000;
}

.home-feature-iphone-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.home-feature-ios-home {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 42px clamp(8px, 5.5cqw, 14px) 11px;
}

.home-feature-ios-widgets {
  display: grid;
  height: clamp(54px, 31cqw, 78px);
  grid-template-columns: 1fr 1fr;
  gap: clamp(5px, 3.5cqw, 9px);
}

.home-feature-ios-widget {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: clamp(8px, 5.2cqw, 13px);
  padding: clamp(6px, 3.7cqw, 10px);
  background: rgba(20, 33, 66, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px) saturate(1.25);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.38);
}

.home-feature-ios-weather > div {
  display: flex;
  flex-direction: column;
}

.home-feature-ios-weather span,
.home-feature-ios-calendar > span {
  font-size: clamp(5px, 3.2cqw, 8px);
  font-weight: 620;
}

.home-feature-ios-weather strong {
  font-size: clamp(14px, 10cqw, 25px);
  font-weight: 430;
  line-height: 1;
}

.home-feature-ios-weather > svg {
  position: absolute;
  top: clamp(7px, 4.2cqw, 11px);
  right: clamp(7px, 4.2cqw, 11px);
  width: clamp(13px, 8cqw, 20px);
  height: clamp(13px, 8cqw, 20px);
  color: #ffd76a;
}

.home-feature-ios-widget small,
.home-feature-ios-widget time {
  position: absolute;
  bottom: clamp(5px, 3.2cqw, 8px);
  left: clamp(6px, 3.7cqw, 10px);
  font-size: clamp(4.5px, 2.8cqw, 7px);
  opacity: 0.84;
}

.home-feature-ios-calendar {
  display: flex;
  flex-direction: column;
  background: rgba(115, 30, 48, 0.52);
}

.home-feature-ios-calendar > span {
  color: #ffb6bb;
}

.home-feature-ios-calendar > strong {
  font-size: clamp(14px, 10cqw, 25px);
  font-weight: 450;
  line-height: 1.05;
}

.home-feature-ios-calendar time {
  right: clamp(6px, 3.7cqw, 10px);
  left: auto;
}

.home-feature-ios-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(4px, 3cqw, 8px);
  row-gap: clamp(6px, 4.2cqw, 11px);
  margin-top: clamp(9px, 6.2cqw, 16px);
}

.home-feature-ios-app {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 1.4cqw, 4px);
}

.home-feature-ios-app-icon,
.home-feature-ios-dock-icon {
  display: grid;
  width: clamp(24px, 16cqw, 42px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 22.5%;
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.24),
    0 2px 5px rgba(0, 0, 0, 0.24);
}

.home-feature-ios-app-icon > svg,
.home-feature-ios-dock-icon > svg {
  width: 52%;
  height: 52%;
  stroke-width: 1.8;
}

.home-feature-ios-app-label {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(4.5px, 3cqw, 7.5px);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.home-feature-ios-app-icon--messages,
.home-feature-ios-dock-icon--phone,
.home-feature-ios-dock-icon--messages {
  color: #fff;
  background: #35c759;
}

.home-feature-ios-app-icon--calendar {
  color: #151515;
  background: #fff;
}

.home-feature-ios-app-icon--calendar > span {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.home-feature-ios-app-icon--calendar b {
  color: #ff3b30;
  font-size: clamp(4px, 2.6cqw, 7px);
}

.home-feature-ios-app-icon--calendar strong {
  margin-top: 1px;
  font-size: clamp(9px, 6.5cqw, 17px);
  font-weight: 450;
}

.home-feature-ios-app-icon--photos {
  color: #ff3b78;
  background: #fff;
}

.home-feature-ios-app-icon--camera {
  color: #222;
  background: #e5e5e7;
}

.home-feature-ios-app-icon--maps {
  color: #fff;
  background: #53aaf4;
}

.home-feature-ios-app-icon--weather {
  color: #fff;
  background: #3f94ed;
}

.home-feature-ios-app-icon--weather svg {
  color: #ffd45f;
}

.home-feature-ios-app-icon--clock {
  color: #fff;
  background: #111;
}

.home-feature-ios-app-icon--settings {
  color: #fff;
  background: #7c7c82;
}

.home-feature-ios-page-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: auto;
  margin-bottom: clamp(4px, 2.8cqw, 7px);
}

.home-feature-ios-page-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
}

.home-feature-ios-page-dots span:first-child {
  background: #fff;
}

.home-feature-ios-dock {
  display: flex;
  height: clamp(42px, 23cqw, 59px);
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(11px, 7cqw, 18px);
  padding: clamp(4px, 2.8cqw, 7px);
  background: rgba(235, 240, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.home-feature-ios-dock-icon {
  width: clamp(26px, 16cqw, 42px);
}

.home-feature-ios-dock-icon--safari {
  color: #217bdb;
  background: #fff;
}

.home-feature-ios-dock-icon--music {
  color: #fff;
  background: #fa2d55;
}

.home-feature-iphone-home {
  position: absolute;
  bottom: 5px;
  left: 50%;
  z-index: 5;
  width: 34%;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

/* Panes inside the app previews are decorative. They still scroll under
   script control — `scrollTop` applies to an `overflow: hidden` box — but the
   wheel must always reach the page instead of being swallowed by whichever
   preview the pointer happens to be over. Never give a mockup pane
   `overflow: auto`. */
.terminal-scroll-region,
.mockup-scroll-region {
  overflow: hidden;
}

.codex-mini-scroll,
.cc-terminal-scroll {
  scrollbar-width: none;
}

.codex-mini-scroll::-webkit-scrollbar,
.cc-terminal-scroll::-webkit-scrollbar {
  display: none;
}

.cc-session-header {
  display: grid;
  grid-template-columns: 11ch minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.cc-session-mark,
.cc-session-meta {
  display: grid;
  grid-template-rows: repeat(3, 1.2em);
  align-content: start;
  min-width: 0;
}

.cc-session-mark {
  color: inherit;
  white-space: pre;
}

.cc-session-mark > span,
.cc-session-meta > div {
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-session-directory-full {
  display: none;
}

@container (min-width: 800px) {
  .cc-session-directory-full {
    display: inline;
  }

  .cc-session-directory-compact {
    display: none;
  }
}

.cc-window,
.codex-mini-window {
  container-type: inline-size;
}

.codex-session-card {
  box-sizing: border-box;
  width: min(100%, 60ch);
  max-width: 100%;
  padding: 1px 1ch;
  border: 1px solid rgba(230, 230, 230, 0.34);
  color: #e6e6e6;
  overflow: hidden;
  white-space: pre;
}

.codex-session-card > div {
  overflow: hidden;
  text-overflow: clip;
}

.codex-history-block,
.codex-status-line {
  margin-top: 13px;
}

.codex-branch-row {
  display: grid;
  grid-template-columns: 2ch minmax(0, 1fr);
  padding-left: 2ch;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.codex-plan-row {
  display: grid;
  grid-template-columns: 2ch minmax(0, 1fr);
  padding-left: 4ch;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.codex-user-message {
  display: block;
  width: 100%;
  margin-top: 13px;
  padding: 8px 1ch;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.codex-composer {
  flex: none;
  margin: 13px -14px -8px;
  padding: 7px 14px 9px;
  color: #e6e6e6;
  font-family: "JetBrainsMono Nerd Font Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 17px;
}

.codex-composer-input {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 7px 1ch;
  background: rgba(255, 255, 255, 0.12);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.codex-composer-footer {
  display: flex;
  justify-content: space-between;
  gap: 2ch;
  padding: 2px 1ch 0;
  color: rgba(230, 230, 230, 0.56);
  white-space: nowrap;
}

.codex-composer-footer > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@container (max-width: 360px) {
  .codex-composer-footer > span:first-child {
    max-width: 15ch;
  }

  .codex-composer-footer > span:last-child {
    display: none;
  }
}

.codex-cursor {
  background: rgba(230, 230, 230, 0.65);
}

/* ───────────────────────────────────────────────────────────────────────
   Flow mockup
   All styles below are scoped to .flow-mockup-root so the marketing site
   keeps its light theme. Token definitions above are global (Tailwind v4
   needs them in @theme to generate utilities) but only resolve inside
   the mockup container.
   ─────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "JetBrainsMono Nerd Font Mono";
  src: url("/fonts/JetBrainsMonoNerdFontMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.session-activity-ring {
  display: block;
  overflow: visible;
  transform-origin: center;
  animation: ringSpin 1.1s linear infinite;
  will-change: transform;
}

.session-activity-ring__track {
  stroke: rgba(255, 255, 255, 0.4);
}

.session-activity-ring__arc {
  stroke: var(--color-icon-active);
}

/* Mirrors ChangesPanel's SwiftUI ViewThatFits fallbacks. The panel can be
   resized to 260px; keep fixed-size header tools intact instead of clipping. */
.changes-header {
  container-type: inline-size;
}

.hero-terminal-prelude-pane {
  position: absolute;
  overflow: hidden;
  background: #181818;
  contain: layout paint;
  will-change: left, top, width, height, border-radius;
}

.hero-terminal-prelude-content {
  position: absolute;
  overflow: hidden;
  background: #181818;
}

.hero-terminal-prelude-content > div,
.hero-terminal-prelude-content > div > div {
  width: 100%;
  height: 100%;
}

.hero-story-tabs {
  font-family:
    "SF Pro Display", "SF Pro Text", "SF Pro",
    -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.feature-shot-frame {
  position: relative;
  padding: 0;
}

.feature-real-mockup {
  position: absolute;
  inset: 8% auto auto 8%;
  z-index: 1;
  overflow: hidden;
  display: block;
  width: 106%;
  height: 106%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.feature-check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 34rem;
}

.feature-check-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--color-ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.feature-check-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: rgb(52, 211, 153);
}

.feature-check-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .feature-real-mockup {
    inset: 5% auto auto 5%;
    width: 110%;
    height: 110%;
  }

  .feature-check-list {
    margin-top: 24px;
    gap: 11px;
  }

  .feature-check-item {
    font-size: 13px;
    line-height: 1.42;
  }
}

.hero-story-tab {
  isolation: isolate;
}

.hero-story-tab-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 180ms ease;
}

.hero-story-tab[data-active='true'] .hero-story-tab-fill {
  opacity: 1;
}

.hero-story-tab-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  transform-origin: left;
  transform: scaleX(0);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
}

.hero-story-tab[data-active='true'] .hero-story-tab-progress {
  opacity: 1;
}

.hero-story-tab-progress.is-running {
  animation: heroStoryProgress 5.6s linear forwards;
}

.hero-story-cursor {
  position: absolute;
  z-index: 4;
  left: var(--cursor-from-x);
  top: var(--cursor-from-y);
  width: 1px;
  height: 1px;
  transform: scale(0.98);
  will-change: left, top, transform;
}

.hero-story-cursor-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: #090909;
  stroke: #fff;
  stroke-width: 16px;
  stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
  transform: scaleX(-1);
}

.hero-story-cursor-click {
  position: absolute;
  left: -11px;
  top: -11px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  opacity: 0;
  animation: heroStoryClickPulse 720ms ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-story-tab-progress {
    animation: none;
    transform: scaleX(1);
  }

  .hero-story-cursor,
  .hero-story-cursor-click {
    animation: none;
  }

  .home-feature-cloud-notification,
  .codex-cloud-branding {
    animation: none;
  }
}

.flow-mockup-root {
  font-family:
    "SF Pro Display", "SF Pro Text", "SF Pro",
    -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 500;
  color: #fff;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  background: #000;
}

.flow-mockup-root button,
.flow-mockup-root [role="button"],
.flow-mockup-root a {
  cursor: default;
}

.flow-mockup-root .desktop-bg {
  background:
    radial-gradient(900px 700px at 12% 18%, #ff6ec7 0%, transparent 55%),
    radial-gradient(800px 700px at 85% 12%, #ffb347 0%, transparent 55%),
    radial-gradient(900px 700px at 40% 95%, #5e9bff 0%, transparent 55%),
    radial-gradient(700px 700px at 90% 85%, #7ee787 0%, transparent 50%),
    radial-gradient(800px 800px at 50% 40%, #a06bff 0%, transparent 60%),
    linear-gradient(135deg, #3a1f5c 0%, #0e1530 60%, #07142a 100%);
}

.flow-mockup-root .material-sidebar {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(235, 248, 255, 0.13) 0%,
      rgba(194, 231, 250, 0.05) 100%
    ),
    rgba(7, 20, 34, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.28),
    inset -1px 0 rgba(255, 255, 255, 0.12),
    16px 0 38px rgba(0, 0, 0, 0.22);
}
.flow-mockup-root .material-sidebar::before,
.flow-mockup-root .mockup-motion-sidebar-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%);
  opacity: 0.45;
}
.flow-mockup-root .material-sidebar::after,
.flow-mockup-root .mockup-motion-sidebar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(255, 255, 255, 0.22) calc(100% - 1px)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.08));
  opacity: 0.62;
}
.flow-mockup-root .material-sidebar > * {
  position: relative;
  z-index: 2;
}

.flow-mockup-root .mockup-motion-sidebar-fill {
  background:
    linear-gradient(
      180deg,
      rgba(235, 248, 255, 0.13) 0%,
      rgba(194, 231, 250, 0.05) 100%
    ),
    rgba(7, 20, 34, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.28),
    inset -1px 0 rgba(255, 255, 255, 0.12),
    16px 0 38px rgba(0, 0, 0, 0.22);
}

.flow-mockup-root .scroll-fade-mask {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black 16px,
    black calc(100% - 16px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black 16px,
    black calc(100% - 16px),
    transparent 100%
  );
}

.flow-mockup-root .hairline {
  background: rgba(255, 255, 255, 0.08);
}

.flow-mockup-root .shimmer-text {
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerSlide 2.2s linear infinite;
}

.flow-mockup-root .session-row[data-just-finished='true']::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  /* Solid success tint — opacity is animated, not the color. */
  background: rgb(52, 211, 153);
  animation: sessionRowMacroWash 600ms linear forwards;
  z-index: 0;
}

.flow-mockup-root .session-row[data-just-finished='true']::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.04) 70%,
    transparent 100%
  );
  width: 50%;
  /* Linear easing so the band keeps a constant velocity across
     the whole travel — no deceleration "lag" at the trailing edge.
     Duration tuned so the band exits before the wash finishes
     fading, leaving a clean settled row. */
  animation: sessionRowShine 750ms linear forwards;
  z-index: 1;
}

.flow-mockup-root .done-pulse {
  animation: doneGlyphIn 360ms cubic-bezier(0.32, 0.72, 0, 1) 1;
  transform-origin: center;
}
.flow-mockup-root *::-webkit-scrollbar-track {
  background: transparent;
}
.flow-mockup-root *::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 160ms ease-out;
}
.flow-mockup-root *:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.16);
}
.flow-mockup-root *::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.32);
}
.flow-mockup-root *::-webkit-scrollbar-thumb:active {
  background-color: rgba(255, 255, 255, 0.42);
}
.flow-mockup-root * {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.flow-mockup-root *:hover {
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

/* ───────────────────────────────────────────────────────────────────────
   Flow mockup motion sequence
   A marketing animation made from the real app shell plus live Codex and
   Claude pane components. The app skeleton provides insertion context;
   detached pane wrappers own the camera motion.
   ─────────────────────────────────────────────────────────────────── */

.mockup-motion-page {
  min-height: 100vh;
  margin: 0;
  background: #050505;
  color: #f5f5f5;
  overflow: hidden;
}

.mockup-motion-page-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.mockup-motion-workbench {
  width: min(100%, 1860px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

.mockup-motion-preview {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.mockup-motion-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1869 / 1187;
  overflow: clip;
  background:
    radial-gradient(900px 700px at 12% 18%, #ff6ec7 0%, transparent 55%),
    radial-gradient(800px 700px at 85% 12%, #ffb347 0%, transparent 55%),
    radial-gradient(900px 700px at 40% 95%, #5e9bff 0%, transparent 55%),
    radial-gradient(700px 700px at 90% 85%, #7ee787 0%, transparent 50%),
    radial-gradient(800px 800px at 50% 40%, #a06bff 0%, transparent 60%),
    linear-gradient(135deg, #3a1f5c 0%, #0e1530 60%, #07142a 100%);
  isolation: isolate;
}

.mockup-motion-shell--plain {
  height: 100%;
  aspect-ratio: auto;
  background: transparent;
}

.mockup-motion-shell--hero {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
  background: transparent;
}

.mockup-motion-shell--hero[data-motion-ready='false'] {
  opacity: 0;
}

.mockup-motion-shell--hero[data-motion-ready='true'] {
  opacity: 1;
}

.mockup-motion-shell--interactive .mockup-motion-app {
  pointer-events: auto;
  user-select: auto;
}

.mockup-motion-play-zone {
  display: flex;
  justify-content: center;
  padding: 3px 16px 10px;
}

.mockup-motion-play-trigger {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font: 650 12px/1 var(--font-sans);
  padding: 9px 14px;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.mockup-motion-play-trigger:hover,
.mockup-motion-play-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.mockup-motion-timeline {
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: rgba(16, 16, 18, 0.92);
  color: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    rgba(0, 0, 0, 0.28) 0 18px 48px -24px;
  padding: 14px;
}

.mockup-motion-timeline__header {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.mockup-motion-timeline h2,
.mockup-motion-timeline h3,
.mockup-motion-timeline p {
  margin: 0;
}

.mockup-motion-timeline h2 {
  font: 650 14px/1.2 var(--font-sans);
}

.mockup-motion-timeline h3 {
  font: 650 12px/1.2 var(--font-sans);
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 8px;
}

.mockup-motion-timeline p {
  margin-top: 4px;
  font: 500 11px/1.35 var(--font-sans);
  color: rgba(255, 255, 255, 0.48);
}

.mockup-motion-timeline__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mockup-motion-phase-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.mockup-motion-phase-map span,
.mockup-motion-phase-map i {
  min-width: 0;
  text-align: center;
  font: 650 10px/1 var(--font-sans);
  color: rgba(255, 255, 255, 0.72);
}

.mockup-motion-phase-map i {
  font-style: normal;
  color: rgba(134, 239, 172, 0.72);
}

.mockup-motion-timeline button {
  appearance: none;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font: 600 11px/1 var(--font-sans);
  padding: 7px 9px;
}

.mockup-motion-timeline button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.mockup-motion-timeline-bars {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
}

.mockup-motion-timeline-bar {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.mockup-motion-timeline-bar > span {
  font: 600 10px/1 var(--font-sans);
  color: rgba(255, 255, 255, 0.48);
}

.mockup-motion-timeline-bar__track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mockup-motion-timeline-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: rgba(134, 239, 172, 0.78);
}

.mockup-motion-timeline__grid {
  display: grid;
  gap: 14px;
}

.mockup-motion-timeline section {
  display: grid;
  gap: 7px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-motion-section-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 3px;
}

.mockup-motion-section-heading > span {
  font: 700 9px/1 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(134, 239, 172, 0.7);
}

.mockup-motion-section-heading p {
  margin-top: 0;
}

.mockup-motion-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
  align-items: start;
  font: 500 11px/1.2 var(--font-sans);
  color: rgba(255, 255, 255, 0.58);
}

.mockup-motion-field b {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.76);
  font: 650 11px/1.2 var(--font-sans);
}

.mockup-motion-field em {
  display: block;
  max-width: 180px;
  color: rgba(255, 255, 255, 0.42);
  font: 500 10px/1.25 var(--font-sans);
  font-style: normal;
}

.mockup-motion-field__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
}

.mockup-motion-field__control small {
  min-width: 20px;
  color: rgba(255, 255, 255, 0.42);
  font: 600 10px/1 var(--font-sans);
}

.mockup-motion-field input,
.mockup-motion-timing-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.88);
  font: 500 11px/1 var(--font-sans);
  padding: 6px 7px;
}

.mockup-motion-timing-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 7px;
  align-items: start;
}

.mockup-motion-timeline__json {
  width: 100%;
  min-height: 190px;
  margin-top: 14px;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.58);
  font: 500 10.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 10px;
}

.mockup-motion-timeline__status {
  min-height: 14px;
  margin-top: 8px;
  font: 600 11px/1.2 var(--font-sans);
  color: rgba(134, 239, 172, 0.8);
}

.mockup-motion-app {
  pointer-events: none;
  user-select: none;
}

.mockup-motion-controls {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 20;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mockup-motion-controls button {
  appearance: none;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  font: 500 12px/1 var(--font-sans);
  padding: 7px 10px;
}

.mockup-motion-controls button[aria-pressed='true'] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mockup-motion-app {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-origin: center;
  will-change: transform;
}

.mockup-motion-app:has([aria-modal='true']) {
  z-index: 4;
}

.mockup-motion-app > .flow-mockup-root {
  width: 100%;
  height: 100%;
}

.mockup-motion-fleet-camera {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
}

.mockup-motion-fleet-camera[data-motion-immediate='true'],
.mockup-motion-claude-row[data-motion-immediate='true'],
.mockup-motion-claude-pane[data-motion-immediate='true'],
.mockup-motion-hero-pane[data-motion-immediate='true'] {
  transform: var(--motion-immediate-transform) !important;
}

.mockup-motion-claude-pane[data-motion-immediate='true'],
.mockup-motion-hero-pane[data-motion-immediate='true'] {
  opacity: var(--motion-immediate-opacity) !important;
}

.mockup-motion-claude-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.mockup-motion-claude-pane {
  position: absolute;
  overflow: hidden;
  background: #181818;
  border-radius: 8px;
  contain: strict;
  backface-visibility: hidden;
  box-shadow: rgba(255, 255, 255, 0.1) 0 0 0 1px;
}

.mockup-motion-hero-pane {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: 8px;
  transform-origin: top left;
  will-change: transform, opacity;
  contain: layout paint;
  backface-visibility: hidden;
}

.mockup-motion-hero-pane > div,
.mockup-motion-claude-pane > div {
  width: 100%;
  height: 100%;
}

.mockup-motion-hero-pane-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mockup-motion-hero-pane-layer > div {
  width: 100%;
  height: 100%;
}

.mockup-motion-claude-row {
  position: absolute;
  display: flex;
  gap: var(--pane-gap);
  transform-origin: top left;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.mockup-motion-claude-pane {
  flex: 0 0 auto;
  position: relative;
  width: var(--pane-w);
  height: var(--pane-h);
}

@media (max-width: 760px) {
  .mockup-motion-page-main {
    padding: 12px;
  }

  .mockup-motion-workbench {
    width: 180vw;
    max-width: none;
    grid-template-columns: 1fr;
  }

  .mockup-motion-shell {
    width: 100%;
    max-width: none;
  }
}
