.story-section {
  padding-top: 168px;
}
.story-section > .section-heading {
  margin-bottom: 60px;
}
.story-section > .section-heading p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink);
}
.text-link > .icon {
  width: 15px;
  height: 15px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.proof-details {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 24px;
}
.proof-details > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 23px;
  max-width: 610px;
}
.proof-details strong {
  color: var(--ink);
  font-weight: 400;
}
.proof-details > .text-link {
  flex-shrink: 0;
}
.collection-storefront {
  container-type: inline-size;
  background: #f8f7f3;
  color: #20201e;
}
.collection-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  height: 58px;
}
.collection-brand > img {
  width: 40%;
  max-width: 240px;
  height: auto;
}
.collection-brand > span {
  font-size: 9px;
  white-space: nowrap;
}
.collection-content {
  padding: 28px;
}
.collection-content h3 {
  font:
    400 clamp(18px, 3.8cqw, 28px)/1.2 Georgia,
    serif;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.collection-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.collection-products figure {
  min-width: 0;
}
.collection-products figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 235px;
  object-fit: contain;
  background: #f1f1ef;
}
.collection-products figcaption {
  margin-top: 10px;
  font-size: clamp(8px, 1.55cqw, 11px);
  line-height: 1.5;
}
.collection-products figcaption > span {
  display: block;
  color: #777;
  margin-top: 3px;
}
.refine-demo {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 560px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--studio);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
}
.refine-agent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}
.story-agent-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 30px;
}
.selection-context {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 4px 9px;
  font-size: 11px;
  margin-bottom: 12px;
}
.selection-context > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35b88b;
}
.story-user-message {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border-radius: 11px 11px 3px 11px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 21px;
  width: 100%;
}
.story-agent-reply {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 21px;
  color: var(--muted);
}
.story-agent-reply > svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ink);
}
.prompt-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: transparent;
  padding: 6px 11px;
  font-size: 11px;
  line-height: 17px;
  cursor: pointer;
}
.prompt-capsule:hover {
  background: var(--line);
}
.refine-agent > .prompt-capsule {
  margin-top: auto;
}
.refine-canvas {
  padding: 38px 32px 32px;
  background: var(--canvas);
  min-width: 0;
}
.refine-frame-label {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 11px;
}
.refine-frame-label > span {
  opacity: 0.7;
}
.refine-store {
  background: #f8f7f3;
  box-shadow: 0 12px 40px #00000012;
}
.refine-target {
  position: relative;
  height: 330px;
  outline: 2px solid #35b88b;
  outline-offset: 0;
}
.refine-target > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.refine-store-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 20px;
  color: #151515;
  background: #fff;
  font-size: 7px;
  line-height: 12px;
}
.refine-store-nav > img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 106px;
  height: auto;
}
.refine-caption {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(0, -50%);
  color: #fff;
  max-width: 46%;
  text-shadow: 0 1px 10px #0002;
  transition:
    top 800ms cubic-bezier(0.22, 1, 0.36, 1),
    left 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.refine-campaign-eyebrow {
  display: inline-block;
  border-radius: 99px;
  padding: 3px 6px;
  background: #fff;
  color: #111;
  font-size: 7px;
  line-height: 8px;
}
.refine-caption > strong {
  display: block;
  margin-top: 10px;
  font-size: 29px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.refine-caption > p {
  margin-top: 7px;
  font-size: 11px;
  line-height: 16px;
}
.refine-campaign-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 99px;
  font-size: 8px;
  line-height: 10px;
  color: #111;
  background: white;
  text-shadow: none;
}
.refine-campaign-link > svg {
  width: 12px;
  height: 12px;
}
[data-refined="true"] .refine-caption {
  top: 78%;
  left: 6%;
  transform: translate(0, -50%);
}
.refine-pointer {
  position: absolute;
  right: 16%;
  bottom: 22%;
  color: #171717;
  filter: drop-shadow(0 1px 2px #0004);
}
.refine-pointer > .icon {
  fill: white;
  width: 22px;
  height: 22px;
}
.refine-next-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 20px;
  height: 120px;
  overflow: hidden;
}
.refine-next-section > img {
  width: 20%;
  height: 90px;
  object-fit: contain;
}
.section-story {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.section-story-copy h2 {
  line-height: 1.18;
  margin-bottom: 26px;
}
.section-story-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 18px;
}
.section-story-copy > .text-link {
  margin-top: 13px;
}
.section-source-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font:
    10px/17px "Geist Mono",
    monospace;
  color: var(--muted);
  margin-top: 17px;
}
.section-source-note > .icon {
  width: 13px;
  height: 13px;
}
.section-source-note > span {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font:
    10px/17px Geist,
    sans-serif;
}
.section-source-note > span > .icon {
  width: 12px;
  height: 12px;
  color: var(--positive);
}
.render-art {
  position: relative;
  padding: 0;
  min-height: 268px;
}
.render-source {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 4%;
  width: 92%;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 12px 25px var(--shadow);
}
.render-source > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font:
    9px/15px "Geist Mono",
    monospace;
  padding: 7px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.render-source .icon {
  width: 12px;
  height: 12px;
}
.render-source > code {
  display: block;
  padding: 8px 9px;
  font:
    8px/14px "Geist Mono",
    monospace;
  color: var(--code);
  white-space: normal;
}
.render-connection {
  position: absolute;
  top: 87px;
  left: calc(50% - 7px);
  color: var(--muted);
  transform: rotate(90deg);
}
.render-connection > .icon {
  width: 14px;
  height: 14px;
}
.render-canvas {
  position: absolute;
  top: 108px;
  left: 0;
  width: 100%;
  height: 157px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  overflow: hidden;
  background: var(--canvas);
  box-shadow: 0 12px 30px var(--shadow);
}
.render-canvas-bar {
  height: 23px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  background: var(--studio);
  color: var(--muted);
  font-size: 9px;
}
.render-canvas-bar > .icon {
  width: 11px;
  height: 11px;
}
.render-store {
  position: relative;
  background: #f8f7f3;
  padding: 8px 10px;
  margin: 9px 12px;
  color: #222;
}
.render-brand {
  display: block;
  text-align: center;
  font:
    9px/12px Georgia,
    serif;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.render-section {
  position: relative;
  outline: 1.5px solid #35b88b;
  padding: 6px;
}
.render-section > span {
  font:
    11px/13px Georgia,
    serif;
}
.render-section > div {
  display: flex;
  gap: 7px;
  margin-top: 6px;
}
.render-section img {
  display: block;
  width: calc((100% - 14px) / 3);
  height: 48px;
  object-fit: contain;
  background: #f1f1ee;
}
.render-cursor {
  position: absolute;
  right: 28px;
  bottom: 22px;
}
.render-cursor > .icon {
  width: 17px;
  height: 17px;
  fill: #fff;
}
.skill-sheet {
  animation: none;
}
.store-prep-demo {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: var(--studio);
  box-shadow: 0 20px 60px var(--shadow);
  min-height: 650px;
}
.prep-agent {
  padding: 23px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--line);
}
.prep-agent .story-agent-title {
  margin-bottom: 22px;
}
.prep-attachment {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 15px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.prep-attachment > .icon {
  width: 12px;
  height: 12px;
}
.prep-attachment > span {
  margin-left: 4px;
  opacity: 0.75;
}
.prep-activity {
  width: 100%;
  margin-top: 28px;
}
.prep-activity > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 19px;
  font-size: 12px;
  line-height: 19px;
  transition: opacity 350ms;
}
.prep-activity i {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid color-mix(in srgb, var(--positive) 35%, transparent);
  color: var(--positive);
  border-radius: 50%;
  margin-top: 1px;
}
.prep-activity .icon {
  width: 11px;
  height: 11px;
}
.prep-activity small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 17px;
}
.prep-reply {
  margin-top: 12px;
  transition: opacity 400ms;
}
.prep-agent > .prompt-capsule {
  margin-top: auto;
}
.prep-agent > .prompt-capsule:disabled {
  opacity: 0.5;
  cursor: default;
}
.prep-result {
  background: var(--canvas);
  padding: 26px;
  min-width: 0;
}
.prep-result-bar {
  height: 39px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: var(--studio);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  font-size: 11px;
}
.prep-result-bar > .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.prep-result-kind {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
.prep-result-content {
  position: relative;
  min-height: 560px;
  height: calc(100% - 39px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0 0 7px 7px;
  overflow: hidden;
}
.prep-products-state,
.prep-collection-state,
.prep-storefront-state {
  position: absolute;
  inset: 0;
  transition:
    opacity 450ms,
    transform 450ms;
}
.prep-products-state,
.prep-collection-state {
  padding: 32px;
}
.prep-data-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 19px;
  line-height: 24px;
  margin-bottom: 25px;
}
.prep-data-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.prep-data-product {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.prep-data-product > img {
  width: 58px;
  height: 72px;
  object-fit: contain;
  background: var(--tile);
  border-radius: 4px;
}
.prep-data-product > div {
  flex: 1;
}
.prep-data-product small {
  display: block;
  font-size: 11px;
  line-height: 18px;
  color: var(--muted);
  margin-top: 5px;
  max-width: 250px;
}
.prep-collection-state > p {
  font-size: 14px;
  color: var(--muted);
}
.prep-collection-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.prep-collection-thumbs > img {
  width: 100%;
  height: 225px;
  object-fit: contain;
  background: var(--tile);
}
.prep-collection-count {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.prep-storefront-state .collection-storefront {
  min-height: 100%;
}
.prep-storefront-state .collection-brand {
  height: 46px;
  padding: 16px 24px;
}
.prep-storefront-state .collection-content {
  padding: 24px;
}
.prep-storefront-state .collection-content h3 {
  font-size: 24px;
  margin-bottom: 19px;
}
.prep-storefront-state .collection-products figure > img {
  height: 276px;
  max-height: 276px;
  aspect-ratio: auto;
}
[data-prep-step="0"] [data-prep-operation],
[data-prep-step="1"] [data-prep-operation="2"],
[data-prep-step="1"] [data-prep-operation="3"],
[data-prep-step="2"] [data-prep-operation="3"] {
  opacity: 0.3;
}
[data-prep-step="0"] .prep-reply,
[data-prep-step="1"] .prep-reply,
[data-prep-step="2"] .prep-reply {
  opacity: 0;
}
[data-prep-step="0"] .prep-collection-state,
[data-prep-step="0"] .prep-storefront-state,
[data-prep-step="1"] .prep-collection-state,
[data-prep-step="1"] .prep-storefront-state,
[data-prep-step="2"] .prep-products-state,
[data-prep-step="2"] .prep-storefront-state,
[data-prep-step="3"] .prep-products-state,
[data-prep-step="3"] .prep-collection-state {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.management-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 36px;
}
.management-capabilities > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  line-height: 21px;
}
.management-capabilities .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}
.management-capabilities strong {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 7px;
}
.site-footer {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 120px 32px 26px;
}
.footer-composition {
  display: flex;
  flex-direction: column;
  width: 768px;
  max-width: 100%;
  gap: 72px;
}
.footer-wordmark {
  display: block;
  width: 100%;
  font-family: Geist, sans-serif;
  font-weight: 500;
  font-size: clamp(64px, 18vw, 200px);
  line-height: 1;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
}
.footer-wordmark > span {
  display: inline-block;
  width: max-content;
}
.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  gap: 28px;
}
.footer-link-groups > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 19px;
}
.footer-link-groups > div > span {
  color: var(--ink);
  margin-bottom: 6px;
}
.footer-link-groups a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-link-groups a:hover {
  color: var(--ink);
}
.footer-link-groups .icon {
  width: 11px;
  height: 11px;
}
.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.page-intro {
  text-align: center;
  padding-top: 106px;
  padding-bottom: 76px;
}
.page-intro h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1;
  font-weight: 400;
}
.page-intro > p {
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
  margin-top: 25px;
}
.example-showcase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 26px;
}
.example-showcase-heading h2 {
  font-size: 24px;
  line-height: 30px;
}
.example-showcase-heading > div > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.example-tabs {
  display: flex;
  padding: 4px;
  gap: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.example-tabs button {
  padding: 7px 13px;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}
.example-tabs button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1px 3px var(--shadow);
}
.example-stage {
  height: min(740px, calc(100svh - 100px));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #f8f7f3;
  color: #222;
  box-shadow: 0 20px 60px var(--shadow);
}
.example-store-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.example-facts {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 28px;
}
.example-facts > p {
  max-width: 650px;
  font-size: 14px;
  line-height: 23px;
  color: var(--muted);
}
.example-facts strong {
  color: var(--ink);
  font-weight: 400;
}
.example-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.example-section-grid article {
  min-width: 0;
}
.example-section-grid article > h3 {
  font-size: 17px;
  margin-top: 22px;
}
.example-section-grid article > p {
  font-size: 14px;
  line-height: 23px;
  color: var(--muted);
  margin-top: 10px;
}
.example-collection-art {
  height: 365px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.example-collection-art .collection-content {
  padding: 20px 25px;
}
.example-collection-art .collection-products figure > img {
  max-height: 175px;
}
.example-native {
  padding-top: 135px;
}
.example-native h2 {
  max-width: 500px;
  margin-bottom: 36px;
}
.example-native > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 45px;
  margin-bottom: 32px;
}
.example-native > div > p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}
.example-native .icon {
  width: 17px;
  height: 17px;
  color: var(--positive);
}
.docs-intro {
  text-align: left;
  padding-bottom: 65px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 740px);
  gap: 76px;
  align-items: start;
}
.docs-navigation {
  position: sticky;
  top: 108px;
}
.docs-navigation nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.docs-navigation nav a:hover {
  color: var(--ink);
}
.docs-navigation > .text-link {
  margin-top: 32px;
}
.docs-content > section {
  padding-bottom: 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.docs-content h2 {
  font-size: 26px;
  line-height: 33px;
  margin-bottom: 24px;
}
.docs-content p,
.docs-content li {
  font-size: 16px;
  line-height: 27px;
  color: var(--muted);
}
.docs-content p + p {
  margin-top: 18px;
}
.docs-content ol,
.docs-content ul {
  padding-left: 21px;
  margin: 20px 0;
}
.docs-content li {
  padding-left: 5px;
  margin-bottom: 15px;
}
.docs-content strong {
  color: var(--ink);
  font-weight: 500;
}
.docs-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.docs-prompt {
  background: var(--tile);
  border: 1px solid var(--line);
  padding: 23px 26px;
  border-radius: 9px;
  margin: 26px 0;
}
.docs-prompt > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.docs-prompt > p {
  color: var(--ink);
  font-size: 14px;
  line-height: 24px;
}
.docs-content details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.docs-content summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
}
.docs-content summary .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.docs-content details > p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 24px;
}
.plan-allowance {
  font-size: 16px;
  margin: 0 0 22px;
}
.plan-allowance strong {
  font-weight: 500;
}
.plan-allowance > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.plans-shared {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 28px;
  max-width: 1050px;
  margin: 30px auto 0;
  padding: 0 30px;
  color: var(--muted);
  font-size: 12px;
}
.plans-shared > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.plans-shared .icon {
  width: 13px;
  height: 13px;
  color: var(--positive);
}
@media (max-width: 1050px) {
  .story-section {
    padding-top: 130px;
  }
  .proof-home-cover {
    height: 320px;
  }
  .section-story {
    grid-template-columns: 30% minmax(0, 1fr);
    gap: 36px;
  }
  .section-source-note > span {
    display: none;
  }
  .store-prep-demo {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .prep-result {
    padding: 18px;
  }
  .prep-result-kind {
    display: none;
  }
  .prep-products-state,
  .prep-collection-state {
    padding: 22px;
  }
  .prep-data-product small {
    max-width: 160px;
  }
  .prep-storefront-state .collection-products {
    gap: 9px;
  }
  .prep-storefront-state .collection-content {
    padding: 22px 16px;
  }
  .management-capabilities {
    gap: 24px;
  }
  .docs-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 45px;
  }
}
@media (max-width: 760px) {
  .story-section {
    padding-top: 105px;
  }
  .story-section > .section-heading {
    margin-bottom: 43px;
  }
  .story-section > .section-heading br {
    display: none;
  }
  .proof-home-cover {
    height: 250px;
  }
  .proof-details {
    flex-direction: column;
    gap: 20px;
  }
  .refine-demo {
    grid-template-columns: 1fr;
  }
  .refine-agent {
    order: 1;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 23px;
  }
  .refine-agent .story-agent-title {
    display: none;
  }
  .refine-agent .story-user-message {
    max-width: 100%;
  }
  .refine-agent > .prompt-capsule {
    margin-top: 24px;
  }
  .refine-canvas {
    padding: 28px 23px;
  }
  .refine-target {
    height: 310px;
  }
  .refine-next-section {
    height: 90px;
    padding: 15px;
  }
  .refine-next-section > img {
    height: 65px;
  }
  .section-story {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .section-story-copy {
    max-width: 570px;
  }
  .section-story-copy h2 br {
    display: none;
  }
  .section-story-copy h2 {
    margin-bottom: 20px;
  }
  .section-story-copy > p {
    font-size: 15px;
    line-height: 24px;
  }
  .section-source-note > span {
    display: flex;
  }
  .store-prep-demo {
    grid-template-columns: 1fr;
  }
  .prep-agent {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 25px;
  }
  .prep-agent .story-agent-title {
    margin-bottom: 17px;
  }
  .prep-agent > .story-user-message {
    max-width: 100%;
  }
  .prep-activity {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
  }
  .prep-activity > div {
    font-size: 11px;
    margin: 0;
    gap: 7px;
  }
  .prep-activity small {
    font-size: 10px;
  }
  .prep-agent > .prompt-capsule {
    margin-top: 22px;
  }
  .prep-reply {
    margin-top: 22px;
  }
  .prep-result {
    min-height: 610px;
    padding: 22px;
  }
  .prep-result-content {
    height: 550px;
    min-height: 550px;
  }
  .management-capabilities {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .site-footer {
    padding-top: 95px;
  }
  .footer-composition {
    gap: 52px;
  }
  .footer-link-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
  .footer-wordmark {
    font-size: 18vw;
  }
  .page-intro {
    padding-top: 75px;
    padding-bottom: 55px;
  }
  .page-intro > p br {
    display: none;
  }
  .example-showcase-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .example-stage {
    height: 580px;
  }
  .example-facts {
    flex-direction: column;
    gap: 20px;
  }
  .example-section-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .example-native {
    padding-top: 100px;
  }
  .example-native > div {
    grid-template-columns: 1fr;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .docs-navigation {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 30px;
  }
  .docs-navigation nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
  }
  .docs-navigation > .text-link {
    margin-top: 25px;
  }
}
@media (max-width: 480px) {
  .story-section {
    padding-top: 90px;
  }
  .proof-home-cover {
    height: 200px;
  }
  .proof-home-cover > span {
    font-size: 8px;
  }
  .proof-page-label {
    font-size: 9px;
    top: -23px;
  }
  .refine-canvas {
    padding: 25px 17px;
  }
  .refine-target {
    height: 255px;
  }
  .section-source-note {
    font-size: 8px;
    gap: 4px;
  }
  .section-source-note > span {
    display: none;
  }
  .prep-agent {
    padding: 21px;
  }
  .prep-activity {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .prep-activity > div {
    font-size: 12px;
  }
  .prep-activity small {
    font-size: 11px;
  }
  .prep-result {
    padding: 15px;
    min-height: 530px;
  }
  .prep-result-content {
    min-height: 460px;
    height: 460px;
  }
  .prep-result-bar {
    font-size: 10px;
  }
  .prep-storefront-state .collection-brand {
    height: 38px;
    padding: 13px 15px;
  }
  .prep-storefront-state .collection-brand > span {
    font-size: 7px;
  }
  .prep-storefront-state .collection-content {
    padding: 18px 14px;
  }
  .prep-storefront-state .collection-content h3 {
    font-size: 20px;
  }
  .prep-storefront-state .collection-products {
    gap: 7px;
  }
  .prep-storefront-state .collection-products figure > img {
    height: 150px;
    aspect-ratio: auto;
  }
  .prep-storefront-state figcaption {
    font-size: 8px;
  }
  .prep-products-state,
  .prep-collection-state {
    padding: 18px;
  }
  .prep-data-heading {
    font-size: 16px;
  }
  .prep-data-product {
    gap: 10px;
  }
  .prep-data-product small {
    font-size: 10px;
    line-height: 16px;
  }
  .prep-data-product > img {
    width: 40px;
    height: 65px;
  }
  .prep-collection-thumbs {
    gap: 7px;
  }
  .prep-collection-thumbs > img {
    height: 175px;
  }
  .site-footer {
    padding: 80px 24px 24px;
  }
  .footer-link-groups {
    gap: 35px 22px;
  }
  .footer-link-groups > div {
    font-size: 12px;
  }
  .footer-composition {
    gap: 42px;
  }
  .page-intro {
    padding-top: 65px;
  }
  .example-tabs {
    width: 100%;
  }
  .example-tabs > button {
    flex: 1;
  }
  .example-stage {
    height: 460px;
  }
  .example-collection-art {
    height: 320px;
  }
  .docs-content p,
  .docs-content li {
    font-size: 15px;
    line-height: 25px;
  }
  .docs-navigation nav {
    font-size: 12px;
  }
  .docs-prompt {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .refine-caption,
  .prep-products-state,
  .prep-collection-state,
  .prep-storefront-state,
  .prep-activity > div,
  .prep-reply {
    transition: none;
  }
}

.prep-activity > [data-state="working"] {
  opacity: 1;
}
.prep-activity > [data-state="waiting"] i > .icon,
.prep-activity > [data-state="working"] i > .icon {
  opacity: 0;
}
.prep-activity > [data-state="working"] i::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--positive);
}
.prep-activity i {
  position: relative;
}

/* Inputs converge on Studio; its connected templates fan back out. */
.reference-flow {
  position: relative;
  display: grid;
  grid-template-columns: 228px 110px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 700px;
  padding: 32px;
  border-radius: 12px;
  background: var(--tile);
  isolation: isolate;
}
.reference-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: visible;
}
.reference-connections path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
}
.reference-connections .flow-trail {
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-dasharray: 32 640;
  stroke-dashoffset: 680;
  opacity: 0;
}
.reference-flow[data-building="true"] .flow-trail.is-active {
  animation: reference-trail 1.5s ease-in-out both;
}
.reference-flow[data-building="true"] .flow-trail.is-output {
  animation: reference-trail 1.5s 0.6s ease-in-out both;
}
@keyframes reference-trail {
  10%,
  85% {
    opacity: 1;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
.reference-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reference-input {
  width: 100%;
  text-align: left;
  padding: 16px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 4px 15px var(--shadow);
  transition:
    border-color 250ms,
    background 250ms,
    transform 250ms;
  cursor: pointer;
}
.reference-input:hover {
  transform: translateX(3px);
}
.reference-input[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--green) 65%, var(--line));
  background: color-mix(in srgb, var(--green) 4%, var(--paper));
}
.reference-input-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}
.reference-input-heading > svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.reference-input-heading > svg:last-child {
  margin-left: auto;
  opacity: 0;
}
.reference-input[aria-pressed="true"]
  .reference-input-heading
  > svg:last-child {
  opacity: 1;
  color: var(--green);
}
.reference-input-detail {
  display: block;
  font-size: 11px;
  line-height: 18px;
  color: var(--muted);
  margin-top: 12px;
}
.reference-input-image {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reference-input-image > img {
  width: 67px;
  height: 53px;
  object-fit: cover;
  border-radius: 3px;
}
.reference-hub {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  color: var(--muted);
}
.reference-hub > div {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 8px 32px var(--shadow);
}
.reference-hub svg {
  width: 36px;
  height: 36px;
  color: #f97316;
}
.reference-results {
  position: relative;
  height: 636px;
  min-width: 0;
}
.flow-page {
  position: absolute;
}
.flow-page-label {
  position: absolute;
  top: -25px;
  font-size: 11px;
  color: var(--muted);
}
.flow-page-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #f9f8f4;
  box-shadow: 0 18px 36px var(--shadow);
  height: 100%;
}
.flow-page-window > img {
  display: block;
  width: 100%;
  height: auto;
}
.flow-home {
  top: 42px;
  left: 0;
  width: 47%;
  height: 370px;
}
.flow-home-campaign {
  position: relative;
  height: 275px;
  overflow: hidden;
  color: white;
}
.flow-home-campaign > img:first-child,
.flow-home-campaign > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow-home-campaign > canvas {
  opacity: 0;
}
.flow-home-wordmark {
  position: absolute;
  top: 21px;
  left: 15%;
  width: 70%;
  filter: invert(1);
}
.flow-home-campaign > span {
  position: absolute;
  top: 49%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 9px;
}
.flow-home-body {
  container-type: inline-size;
}
.flow-home-body > img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -65cqw;
}
.flow-product {
  top: 98px;
  right: 0;
  width: 48%;
  height: 298px;
}
.flow-collection {
  top: 330px;
  left: 20%;
  width: 63%;
  aspect-ratio: 1.6;
  z-index: 2;
}
.flow-collection .flow-page-window {
  height: auto;
}
.flow-collection .flow-page-label {
  padding: 3px 7px;
  background: var(--tile);
  border-radius: 4px;
  top: -27px;
}
.byredo-section-art {
  min-width: 0;
  background: var(--tile);
  padding: 24px;
  border-radius: 12px;
}
.byredo-section-request {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 24px;
  color: var(--ink);
}
.byredo-section-request > svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.byredo-section-request > span:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
.byredo-demo {
  container-type: inline-size;
  background: #f8f8f8;
  color: #111;
  overflow: hidden;
  border-radius: 4px;
}
.byredo-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6cqw;
  min-height: 30px;
  padding: 0 2cqw;
  font-size: 1cqw;
  background: white;
}
.byredo-demo-header > img {
  width: 12cqw;
  height: auto;
}
.byredo-demo-gallery {
  position: relative;
  display: flex;
  height: 55cqw;
}
.byredo-demo-gallery > img {
  display: block;
  width: 50%;
  height: 100%;
  object-fit: cover;
}
.byredo-purchase {
  position: absolute;
  top: 11cqw;
  right: 9cqw;
  width: 32cqw;
  padding: 2.3cqw;
  background: #fff;
  box-shadow: 0 2px 6px #00000005;
  border-radius: 2px;
  font-size: 1.1cqw;
}
.byredo-purchase > span:first-child {
  display: block;
  color: #777;
  margin-bottom: 1cqw;
}
.byredo-purchase h3 {
  font:
    400 1.8cqw/1.3 Geist,
    sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: 1cqw;
}
.byredo-sizes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.6cqw 0 2.2cqw;
}
.byredo-sizes > div {
  display: flex;
  gap: 0.5cqw;
}
.byredo-sizes button {
  border: 1px solid #ddd;
  color: #777;
  background: transparent;
  padding: 0.75cqw 0.65cqw;
  font: inherit;
  cursor: pointer;
  border-radius: 0;
}
.byredo-sizes button[aria-pressed="true"] {
  color: #111;
  border-color: #111;
}
.byredo-cart-art {
  display: block;
  padding: 1.2cqw 0;
  text-align: center;
  background: #080808;
  color: #fff;
}
.byredo-purchase p {
  font-size: 1.1cqw;
  color: #777;
  margin-top: 2cqw;
}
.byredo-section-art .section-source-note {
  font-size: 9px;
  margin-top: 20px;
  gap: 6px;
}
.byredo-section-art .section-source-note > span {
  font-size: 9px;
  margin-left: auto;
}
.example-section-grid .byredo-demo {
  height: auto;
}
.example-real-collection {
  display: block;
  width: 100%;
  height: auto;
}
.starter-themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.starter-theme {
  display: block;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.starter-theme-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--tile);
  border: 1px solid var(--line);
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
.starter-theme:hover .starter-theme-image {
  transform: translateY(-5px);
}
.starter-theme-image > img:first-child,
.starter-theme-image > canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.starter-theme-image > canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.starter-theme-wordmark {
  position: absolute;
  top: 9%;
  left: 17%;
  width: 66%;
  filter: invert(1);
}
.starter-theme-editorial > span {
  position: absolute;
  top: 52%;
  width: 100%;
  left: 0;
  text-align: center;
  color: white;
  font-size: 12px;
}
.starter-theme-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 2px;
  font-size: 14px;
}
.starter-theme-meta small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}
.starter-theme-meta > svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.themes-link {
  text-align: center;
  margin-top: 22px;
}
@media (max-width: 1000px) {
  .reference-flow {
    grid-template-columns: 190px 70px minmax(0, 1fr);
    padding: 24px;
    gap: 14px;
    min-height: 540px;
  }
  .reference-results {
    height: 490px;
  }
  .flow-home {
    height: 315px;
  }
  .flow-home-campaign {
    height: 240px;
  }
  .flow-product {
    top: 95px;
    height: 235px;
  }
  .flow-collection {
    top: 290px;
    width: 75%;
    left: 13%;
  }
  .byredo-section-art {
    padding: 18px;
  }
  .byredo-section-request > span:last-child {
    display: none;
  }
  .byredo-section-art .section-source-note > span {
    display: none;
  }
}
@media (max-width: 700px) {
  .reference-flow {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 24px;
  }
  .reference-inputs {
    flex-direction: row;
    gap: 8px;
    align-items: stretch;
  }
  .reference-input {
    width: 33.33%;
    padding: 12px 9px;
  }
  .reference-input-heading {
    font-size: 10px;
    gap: 5px;
  }
  .reference-input-heading > svg {
    width: 12px;
    height: 12px;
  }
  .reference-input-heading > svg:last-child {
    display: none;
  }
  .reference-input-detail {
    display: none;
  }
  .reference-hub {
    gap: 6px;
  }
  .reference-hub > div {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
  .reference-hub svg {
    width: 28px;
    height: 28px;
  }
  .reference-results {
    height: auto;
    min-height: 460px;
    aspect-ratio: 0.9;
  }
  .flow-home {
    top: 20px;
    height: 290px;
  }
  .flow-home-campaign {
    height: 230px;
  }
  .flow-product {
    top: 68px;
    height: 240px;
  }
  .flow-collection {
    top: 56%;
  }
  .starter-themes {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .starter-theme-image {
    aspect-ratio: 4/3;
  }
  .starter-theme-meta {
    padding: 14px 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reference-flow .flow-trail {
    display: none;
  }
  .reference-input,
  .starter-theme-image {
    transition: none;
  }
}

@media (max-width: 700px) {
  .refine-store-nav > span {
    visibility: hidden;
  }
  .refine-caption {
    max-width: 62%;
  }
  .refine-caption > strong {
    font-size: 24px;
  }
  .refine-caption > p {
    font-size: 9px;
    line-height: 13px;
  }
  .refine-campaign-link {
    margin-top: 10px;
    padding: 7px 10px;
  }
}
