.hero {
  --hero-grid: #5d6d833e;
  --ray-mint: #378566;
  --ray-blue: #527dbb;
  --ray-amber: #bc7647;
  --ray-lilac: #9772b6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
:root.dark .hero {
  --hero-grid: #a7b8cd34;
  --ray-mint: #95d9b7;
  --ray-blue: #8caee5;
  --ray-amber: #ecad7f;
  --ray-lilac: #c3a4df;
}
.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 94px;
  padding-bottom: 90px;
}
/* A bounded, non-rotating rim: no oversized transformed layer to escape clipping. */
.hero-category {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  margin: 0 auto 27px;
  padding: 1px;
  border-radius: 999px;
  background: linear-gradient(
    110deg,
    var(--line-strong) 25%,
    #8ad7ad 50%,
    var(--line-strong) 75%
  );
  background-size: 300% 100%;
  animation: pill-shimmer 6s ease-in-out infinite;
  box-shadow:
    0 1px 0 #ffffff12 inset,
    0 4px 20px #0000000c;
  text-decoration: none;
}
.hero-pill-surface {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: inherit;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  line-height: 18px;
  box-shadow: 0 1px 0 #ffffff10 inset;
}
.hero-pill-surface > svg:first-child {
  width: 14px;
  height: 16px;
  color: #95bf47;
}
.hero-pill-surface > svg:last-child {
  width: 13px;
  height: 13px;
  color: var(--muted);
  transition: transform 200ms;
}
.hero-category:hover .hero-pill-surface {
  background: color-mix(in srgb, var(--green) 7%, var(--paper));
}
.hero-category:hover svg:last-child {
  transform: translateX(2px);
}
@keyframes pill-shimmer {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 400;
  min-height: 136px;
}
.hero-line {
  display: block;
  width: max-content;
  white-space: nowrap;
}
.hero-line-input {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.21em;
}
.word-rotator {
  position: relative;
  display: inline-block;
  height: 1.15em;
  vertical-align: bottom;
  width: 6.3em;
  transition: width 420ms cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}
.word-rotator::before {
  content: "a screenshot.";
  visibility: hidden;
  white-space: nowrap;
  line-height: 1.1;
}
.rotating-word {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.12em) scale(0.98);
  transition:
    opacity 420ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 420ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rotating-word.active {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.hero-line-output {
  color: var(--muted);
}
.shopify-mark {
  display: inline-block;
  width: 0.87em;
  height: 0.98em;
  margin: 0 0.05em 0.06em;
  color: #95bf47;
}
.hero-deck {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 25px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.hero-tunnel {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 13%,
    #000 76%,
    transparent
  );
}
.hero-tunnel > svg {
  width: 100%;
  height: 100%;
  min-height: 580px;
}
.tunnel-grid {
  fill: none;
  stroke: var(--hero-grid);
  stroke-width: 1;
}
.tunnel-grid > path,
.tunnel-rays > path {
  vector-effect: non-scaling-stroke;
}
.tunnel-rays {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.tunnel-rays path {
  stroke-dasharray: 0.18 1;
  stroke-dashoffset: 0.18;
  opacity: 0;
  filter: drop-shadow(
    0 0 3px color-mix(in srgb, currentColor 45%, transparent)
  );
  animation: hero-ray var(--ray-duration) linear infinite;
  animation-delay: var(--ray-delay);
  animation-play-state: paused;
}
.hero.is-animating .tunnel-rays path {
  animation-play-state: running;
}
.tunnel-rays path:nth-child(1) {
  color: var(--ray-mint);
  --ray-duration: 3.8s;
  --ray-delay: -0.6s;
}
.tunnel-rays path:nth-child(2) {
  color: var(--ray-lilac);
  --ray-duration: 4.2s;
  --ray-delay: -2.2s;
}
.tunnel-rays path:nth-child(3) {
  color: var(--ray-blue);
  --ray-duration: 5.1s;
  --ray-delay: -1.3s;
}
.tunnel-rays path:nth-child(4) {
  color: var(--ray-amber);
  --ray-duration: 3.9s;
  --ray-delay: -2.8s;
}
.tunnel-rays path:nth-child(5) {
  color: var(--ray-blue);
  --ray-duration: 4.4s;
  --ray-delay: -1.4s;
}
.tunnel-rays path:nth-child(6) {
  color: var(--ray-mint);
  --ray-duration: 5.3s;
  --ray-delay: -3.5s;
}
@keyframes hero-ray {
  0% {
    stroke-dashoffset: 0.18;
    opacity: 0;
  }
  12%,
  78% {
    opacity: 0.85;
  }
  100% {
    stroke-dashoffset: -1;
    opacity: 0;
  }
}
.hero-measure {
  position: absolute;
  left: 0;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  font: inherit;
  font-size: 100px;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.hero-measure > span {
  display: block;
  width: max-content;
}
.measure-logo {
  display: inline-block;
  width: 1em;
}
.theme-toggle {
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  width: 34px;
  height: 34px;
}
.studio-demo {
  position: relative;
  --selection: #35b88b;
  background: var(--studio);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px var(--shadow);
}
.studio-demo-bar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.studio-demo-project {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 225px;
}
.studio-demo-project > svg {
  width: 22px;
  height: 22px;
  color: #f97316;
}
.studio-demo-route {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.studio-demo-route > .icon {
  width: 13px;
  height: 13px;
}
.studio-demo-route select {
  appearance: none;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  padding: 4px 0;
  font-size: 12px;
  outline-offset: 4px;
}
.studio-demo-route option {
  background: var(--paper);
}
.studio-demo-views {
  display: flex;
  gap: 3px;
}
.studio-demo-views button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  color: var(--muted);
  cursor: pointer;
}
.studio-demo-views button[aria-pressed="true"] {
  background: var(--line);
  color: var(--ink);
}
.studio-demo-views .icon {
  width: 15px;
  height: 15px;
}
.studio-demo-body {
  display: grid;
  grid-template-columns: 36px 242px minmax(0, 1fr);
  height: 620px;
}
.studio-demo-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}
.studio-demo-rail > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
}
.studio-demo-rail .is-active {
  color: var(--ink);
  background: var(--line);
}
.studio-demo-rail .icon {
  width: 15px;
  height: 15px;
}
.studio-demo-agent {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 16px 11px 10px;
}
.studio-agent-heading {
  font-size: 12px;
  font-weight: 500;
  padding: 0 3px;
  margin-bottom: 27px;
}
.studio-reference {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  padding: 0 3px;
  margin-bottom: 14px;
  width: fit-content;
}
.studio-reference .icon {
  width: 12px;
  height: 12px;
}
.studio-reference .icon:last-child {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}
.studio-user-message {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border-radius: 10px 10px 2px 10px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 19px;
}
.studio-assistant-message {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 17px 3px;
  font-size: 12px;
  line-height: 19px;
  color: var(--muted);
}
.studio-assistant-message > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ink);
}
.studio-suggestions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
  padding: 20px 1px 10px;
}
.studio-suggestions button {
  display: block;
  width: fit-content;
  max-width: 100%;
  height: 25px;
  padding: 0 11px;
  margin-bottom: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  text-align: left;
  font-size: 11px;
  font-weight: 400;
  line-height: 23px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms;
}
.studio-suggestions button:hover {
  background: var(--line);
}
.studio-suggestions button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}
.studio-composer-art {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 10px 8px;
  color: var(--muted);
  font-size: 11px;
}
.studio-composer-art > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.studio-composer-art .icon {
  width: 12px;
  height: 12px;
}
.studio-composer-art > div > span {
  flex: 1;
}
.studio-composer-art i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--line);
  opacity: 0.7;
}
.studio-stage {
  touch-action: pan-y;
  cursor: grab;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--canvas);
  background-image: radial-gradient(var(--canvas-dot) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
}
.studio-world {
  position: absolute;
  top: 0;
  left: 0;
  width: 3751px;
  height: 2200px;
  transform-origin: 0 0;
  transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
  --zoom: 0.2;
}
.studio-board {
  position: absolute;
  top: 0;
  left: var(--board-x);
  width: var(--board-width);
}
.studio-board-label {
  display: flex;
  align-items: center;
  gap: calc(9px / var(--zoom));
  padding: 0;
  margin-bottom: calc(9px / var(--zoom));
  border: 0;
  background: transparent;
  font-size: calc(10px / var(--zoom));
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
  cursor: zoom-in;
}
.studio-board-label > span:last-child {
  opacity: 0.65;
  font-size: 0.9em;
}
.studio-board-art {
  position: relative;
  height: 2200px;
  overflow: hidden;
  background: #f8f7f3;
  box-shadow: 0 calc(8px / var(--zoom)) calc(24px / var(--zoom)) #0000000c;
  outline: calc(1px / var(--zoom)) solid var(--line);
}
.studio-capture {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.studio-capture-product {
  display: none;
}
.studio-demo[data-route="product"] .studio-home-display {
  display: none;
}
.studio-demo[data-route="product"] .studio-capture-product {
  display: block;
}
.studio-demo[data-route="product"] .studio-board-art {
  height: 1500px;
}
.studio-board.is-focused .studio-board-art {
  outline-color: var(--selection);
}
.studio-board.is-focused .studio-board-label {
  color: var(--ink);
}
.studio-product-poster,
.studio-product-film {
  position: absolute;
  left: 0;
  top: 36px;
  width: 50%;
  height: calc(var(--board-width) * 0.7);
  pointer-events: none;
  object-fit: cover;
}
.studio-product-film {
  opacity: 0;
}
.studio-demo[data-route="home"]
  :is(.studio-product-poster, .studio-product-film, .studio-product-header) {
  display: none;
}
.studio-product-header {
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.2%;
  color: #171717;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 50%, #fbfaf7 50%);
}
.studio-product-header > img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 334px;
  max-width: 58%;
  height: auto;
}
.studio-product-nav {
  display: block;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.studio-product-nav > svg {
  display: inline-block;
  vertical-align: middle;
  width: 13px;
  height: 13px;
}
.studio-product-nav i {
  display: inline-grid;
  place-items: center;
  font-size: 8px;
  font-style: normal;
  background: black;
  color: white;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  margin-left: 6px;
}
.studio-product-menu,
.studio-product-mobile-bag {
  display: none;
}
.studio-board[data-board="laptop"] .studio-product-boutiques {
  display: none;
}
.studio-board:is([data-board="tablet"], [data-board="mobile"])
  .studio-product-nav {
  display: none;
}
.studio-board:is([data-board="tablet"], [data-board="mobile"])
  .studio-product-menu {
  display: block;
}
.studio-product-menu svg {
  width: 24px;
  height: 24px;
}
.studio-board:is([data-board="tablet"], [data-board="mobile"])
  .studio-product-mobile-bag {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  width: 27px;
  height: 27px;
  font-size: 10px;
}
.studio-board[data-board="mobile"]
  :is(.studio-product-poster, .studio-product-film) {
  width: 100%;
  height: 525px;
}
.studio-board[data-board="mobile"] .studio-product-header {
  height: 70px;
  padding: 0 29px;
  background: none;
}
.studio-demo[data-route="product"] [data-board="mobile"] .studio-board-art {
  height: 812px;
}
.studio-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--studio);
  box-shadow: 0 2px 8px var(--shadow);
}
.studio-zoom button {
  height: 26px;
  min-width: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.studio-zoom button:hover {
  background: var(--line);
}
.studio-zoom [data-zoom-readout] {
  min-width: 39px;
  font-variant-numeric: tabular-nums;
}
.studio-zoom [data-studio-fit] {
  margin-left: 3px;
  border-left: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
}
.studio-demo button:focus-visible {
  outline: 2px solid var(--selection);
  outline-offset: 3px;
}
@media (max-width: 1050px) {
  .hero-copy {
    padding-top: 86px;
    padding-bottom: 80px;
  }
  .hero-title {
    font-size: 48px;
    min-height: 112px;
  }
  .studio-demo-body {
    grid-template-columns: 32px 216px minmax(0, 1fr);
    height: 560px;
  }
  .studio-suggestions button {
    font-size: 10px;
    padding: 0 8px;
  }
  .studio-demo-project {
    min-width: 170px;
  }
}
@media (max-width: 700px) {
  .hero-copy {
    padding-top: 68px;
    padding-bottom: 64px;
  }
  .hero-title {
    font-size: 40px;
    min-height: 96px;
  }
  .hero-category {
    margin-bottom: 24px;
  }
  .hero-deck {
    font-size: 15px;
    line-height: 23px;
    max-width: 470px;
  }
  .hero-deck br {
    display: none;
  }
  .studio-demo-bar {
    padding: 0 10px;
  }
  .studio-demo-project {
    min-width: 0;
    font-size: 11px;
  }
  .studio-demo-project > svg {
    width: 20px;
    height: 20px;
  }
  .studio-demo-route {
    font-size: 11px;
  }
  .studio-demo-route > .icon:first-child {
    display: none;
  }
  .studio-demo-route select {
    font-size: 11px;
  }
  .studio-demo-views {
    display: none;
  }
  .studio-demo-body {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .studio-demo-rail {
    display: none;
  }
  .studio-stage {
    order: 0;
    min-height: 450px;
  }
  .studio-demo-agent {
    order: 1;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 15px;
  }
  .studio-agent-heading,
  .studio-agent-conversation,
  .studio-composer-art {
    display: none;
  }
  .studio-suggestions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    margin: 0;
  }
  .studio-suggestions button {
    font-size: 11px;
    margin: 0;
  }
}
@media (max-width: 480px) {
  .hero-copy {
    padding-top: 56px;
    padding-bottom: 54px;
  }
  .hero-title {
    font-size: 32px;
    min-height: 78px;
  }
  .hero-deck {
    font-size: 14px;
    line-height: 22px;
    margin-top: 23px;
  }
  .hero-category {
    font-size: 11px;
    padding: 4px 11px;
    margin-bottom: 24px;
  }
  .hero-tunnel {
    inset: 0 -20%;
  }
  .studio-demo-project > span {
    display: none;
  }
  .studio-demo-route {
    margin-right: auto;
  }
  .studio-stage {
    min-height: 420px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio-world,
  .studio-product-film,
  .rotating-word,
  .word-rotator {
    transition: none;
  }
  .tunnel-rays path {
    animation: none;
    stroke-dashoffset: -0.4;
    opacity: 0.4;
  }
}

.studio-home-display {
  position: relative;
}
.studio-store-announcement {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #151515;
  font-size: 10px;
  letter-spacing: 0;
}
.studio-runway-hero {
  position: relative;
  height: var(--runway-height);
  overflow: hidden;
  background: #b8b6b3;
  color: #fff;
}
.studio-runway-poster,
.studio-runway-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.studio-runway-film {
  opacity: 0;
  transition: opacity 300ms;
}
canvas[data-film].is-playing {
  opacity: 1;
}
.studio-runway-header {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.2%;
  min-height: 44px;
  pointer-events: none;
}
.studio-runway-header > img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  max-width: 334px;
  height: auto;
  filter: invert(1);
}
.studio-runway-nav {
  font-size: 12px;
  white-space: nowrap;
}
.studio-runway-mobile-menu {
  display: none;
}
.studio-runway-caption {
  position: absolute;
  top: 48%;
  left: 0;
  right: 0;
  text-align: center;
  text-shadow: 0 1px 12px #0005;
  pointer-events: none;
}
.studio-runway-caption > span:first-child {
  display: block;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.4px;
}
.studio-runway-caption > span:last-child {
  display: inline-block;
  font-size: 14px;
  margin-top: 17px;
  border-bottom: 1px solid #fff9;
}
.studio-home-continuation {
  overflow: hidden;
}
.studio-home-continuation > .studio-capture-home {
  margin-top: calc(-1 * var(--source-start));
}
.studio-board[data-board="tablet"] .studio-runway-nav,
.studio-board[data-board="mobile"] .studio-runway-nav {
  display: none;
}
.studio-board[data-board="tablet"] .studio-runway-mobile-menu,
.studio-board[data-board="mobile"] .studio-runway-mobile-menu {
  display: block;
}
.studio-runway-mobile-menu > .icon {
  width: 20px;
  height: 20px;
}
.studio-board[data-board="mobile"] .studio-runway-header {
  top: 25px;
  padding: 0 20px;
}
.studio-board[data-board="mobile"] .studio-store-announcement {
  font-size: 9px;
}
.studio-board[data-board="mobile"] .studio-runway-caption > span:first-child {
  font-size: 21px;
}
@media (prefers-reduced-motion: reduce) {
  .studio-runway-film {
    transition: none;
  }
}

.media-source-bank {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0.001;
  pointer-events: none;
}
.media-source-bank video {
  position: absolute;
  width: 1px;
  height: 1px;
}
.studio-agent-cursor {
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  color: #97cde8;
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 250ms;
}
.studio-agent-cursor.is-visible {
  opacity: 1;
}
.studio-agent-cursor > svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: #182a34;
  stroke-width: 1.4;
  filter: drop-shadow(0 1px 2px #0003);
  transition: scale 140ms;
}
.studio-agent-cursor > span {
  display: block;
  width: fit-content;
  margin-left: 17px;
  margin-top: -4px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #97cde8;
  color: #182a34;
  font-size: 11px;
  line-height: 16px;
  box-shadow: 0 2px 4px #0002;
}
.studio-agent-cursor.is-clicking > svg {
  scale: 0.8;
}
@media (prefers-reduced-motion: reduce) {
  .hero-category {
    animation: none;
  }
  .studio-agent-cursor {
    display: none;
  }
}
