@font-face {
  font-family: Geist;
  src: url("/assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --page: #dbe0e6;
  --tile: #eaedf0;
  --paper: #f8f9fa;
  --ink: #141516;
  --muted: #62666b;
  --line: #00000013;
  --line-strong: #00000025;
  --shadow: #18202b15;
  --button: #141516;
  --button-ink: #fff;
  --green: #627f36;
  --positive: #16783c;
  --code: #786593;
  --header: #dbe0e6ed;
  --studio: #fafafa;
  --canvas: #d3d7dc;
  --canvas-dot: #00000013;
  --max: 1184px;
  color-scheme: light;
}
:root.dark {
  --page: #181a1c;
  --tile: #222426;
  --paper: #2b2d30;
  --ink: #f1f2f3;
  --muted: #a2a6ab;
  --line: #ffffff10;
  --line-strong: #ffffff20;
  --shadow: #00000030;
  --button: #f1f2f3;
  --button-ink: #151617;
  --green: #b7cc91;
  --positive: #6ddc9a;
  --code: #c6b9dc;
  --header: #181a1ced;
  --studio: #121315;
  --canvas: #202225;
  --canvas-dot: #ffffff12;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
@view-transition {
  navigation: auto;
}
html {
  background: var(--page);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    400 16px/1.5 Geist,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2 {
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
}
h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
::selection {
  background: var(--ink);
  color: var(--page);
}
.container {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}
.section-space {
  padding-top: 144px;
}
.section-heading {
  max-width: 610px;
  margin-bottom: 40px;
}
.section-heading.centered {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 48px;
}
.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  margin-top: 18px;
  text-wrap: pretty;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 11px 18px;
  background: var(--button);
  color: var(--button-ink);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.button-small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
  gap: 8px;
}
.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--line);
}
.icon-button:active {
  transform: scale(0.99);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 500;
}
.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
  color: #f97316;
  fill: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 82px;
  font-size: 13px;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-sign-in {
  font-size: 13px;
}
.menu-toggle,
.mobile-sign-in {
  display: none;
}
.theme-glyph {
  width: 16px;
  height: 16px;
  overflow: visible;
  transform-origin: center;
}
.theme-toggle {
  color: var(--muted);
}
.theme-toggle:hover {
  color: var(--ink);
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) {
  z-index: 0;
}
::view-transition-new(root) {
  z-index: 1;
}
@keyframes cursor-place {
  from {
    transform: translate(35px, 40px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.native-illustration {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  padding: 64px 80px 72px;
  min-height: 500px;
}
.native-code {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 36px var(--shadow);
  transform: rotate(-3deg);
}
.code-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font:
    11px "Geist Mono",
    monospace;
  color: var(--muted);
}
pre {
  font:
    12px/1.75 "Geist Mono",
    monospace;
  white-space: pre;
  overflow: hidden;
  margin: 0;
}
.native-code pre {
  padding: 24px;
}
.code-key {
  color: var(--code);
}
.code-dim {
  color: var(--muted);
}
.native-connector {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.native-settings {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 18px 36px var(--shadow);
  transform: rotate(3deg);
}
.settings-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  margin-bottom: 22px;
}
.native-settings label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.native-settings select {
  width: 100%;
  height: 36px;
  background: var(--tile);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 12px;
}
.native-settings input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
}
.native-settings .check-label {
  justify-content: flex-start;
  gap: 8px;
}
.native-settings input[type="checkbox"] {
  accent-color: var(--ink);
  width: 14px;
  height: 14px;
}
.native-product-preview {
  display: grid;
  grid-template-columns: repeat(var(--native-columns, 3), 1fr);
  gap: 5px;
}
.native-product-preview > div {
  min-width: 0;
}
.native-product-preview img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: top;
}
.native-product-preview span {
  font-size: 10px;
  display: block;
  margin-top: 5px;
}
.native-product-preview.hide-prices span {
  visibility: hidden;
}
.native-product-preview[data-count="2"] > div:nth-child(n + 3),
.native-product-preview[data-count="3"] > div:nth-child(n + 4) {
  display: none;
}
.native-illustration {
  padding-bottom: 64px;
}
.native-code pre {
  font-size: 11px;
  line-height: 1.65;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
}
.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 15px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  color: var(--muted);
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 32px 24px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 570px;
}
.closing-section {
  text-align: center;
  padding: 138px 0 126px;
}
.closing-section h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 28px;
}
/* Pricing: a short choice first, followed by a factual feature comparison. */
.pricing-hero {
  text-align: center;
  padding-top: 52px;
}
.pricing-hero h1 {
  font-size: 44px;
  line-height: 1.1;
}
.pricing-hero > p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 18px;
}
.pricing-grid {
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
}
.plan {
  padding: 36px;
  background: var(--tile);
}
.plan + .plan {
  border-left: 1px solid var(--line-strong);
}
.plan-pro {
  background: color-mix(in srgb, var(--tile) 65%, var(--paper));
}
.plan-heading h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.plan-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 23px;
  font-variant-numeric: tabular-nums;
}
.plan-price > span:first-child,
.plan-price > [data-pro-price] {
  font-size: 44px;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.plan-price > span + span {
  font-size: 12px;
  color: var(--muted);
}
.plan-price .plan-original {
  font-size: 22px;
  color: var(--muted);
  text-decoration-thickness: 1px;
}
.plan-price .plan-saving {
  margin-left: 5px;
  font-size: 11px;
  color: var(--positive);
}
.plan-price [hidden] {
  display: none;
}
.plan-cadence {
  font-size: 11px;
  line-height: 18px;
  color: var(--muted);
  margin-top: 9px;
  min-height: 18px;
}
.plan > .button {
  width: 100%;
  margin-top: 22px;
}
.pricing-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 22px;
}
.comparison-section {
  max-width: 950px;
  padding-top: 110px;
}
.comparison-heading {
  margin-bottom: 30px;
}
.comparison-heading h2 {
  font-size: 28px;
}
.comparison-heading p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}
.comparison-wrap {
  overflow: auto;
}
.comparison-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
.comparison-table th,
.comparison-table td {
  padding: 19px 16px;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 400;
}
.comparison-table thead th {
  font-size: 13px;
  color: var(--muted);
  padding-block: 15px;
}
.comparison-table th:first-child {
  padding-left: 0;
  width: 62%;
}
.comparison-table td,
.comparison-table th:not(:first-child) {
  text-align: center;
  width: 19%;
  white-space: nowrap;
}
.comparison-table td {
  font-size: 13px;
}
.comparison-table td > svg {
  color: var(--positive);
  width: 17px;
  height: 17px;
}
.comparison-table tbody th > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 19px;
  margin-top: 5px;
  max-width: 420px;
}
.comparison-table .comparison-group th {
  padding: 30px 0 12px;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
}
.comparison-note {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 22px;
  max-width: 650px;
}
.pricing-faq {
  max-width: 950px;
}
.not-found {
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px;
}
.not-found h1 {
  font-size: 40px;
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 64px);
  }
  .nav-links {
    margin-left: 40px;
  }
  .nav-actions {
    gap: 12px;
  }
  .section-space {
    padding-top: 120px;
  }
  .native-illustration {
    padding: 48px 40px 60px;
    grid-template-columns: 1fr 44px 1fr;
  }
  .faq-section {
    gap: 48px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 64px;
  }
  .nav {
    gap: 12px;
  }
  .brand {
    font-size: 18px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 18px 20px 24px;
    background: var(--page);
    border-bottom: 1px solid var(--line-strong);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-links > a {
    padding: 12px 0;
    width: 100%;
    font-size: 15px;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-sign-in,
  .menu-toggle {
    display: block;
  }
  .menu-toggle {
    display: grid;
  }
  .nav-sign-in {
    display: none;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions > .button {
    font-size: 12px;
    min-height: 34px;
    padding: 6px 10px;
  }
  .nav-actions > .button > svg {
    width: 13px;
    height: 13px;
  }
  .section-space {
    padding-top: 96px;
  }
  .section-heading.centered {
    margin-bottom: 36px;
  }
  .section-heading p {
    font-size: 16px;
  }
  .section-heading p br {
    display: none;
  }
  .native-illustration {
    padding: 38px 24px 50px;
    grid-template-columns: 1fr 24px 1fr;
  }
  .native-code pre {
    padding: 17px;
    font-size: 10px;
  }
  .native-code .code-title {
    font-size: 8px;
    gap: 4px;
    padding: 10px;
  }
  .native-code .code-title svg {
    width: 12px;
    height: 12px;
  }
  .native-settings {
    padding: 16px;
  }
  .settings-heading {
    font-size: 12px;
  }
  .native-settings label {
    font-size: 11px;
  }
  .native-product-preview img {
    height: 80px;
  }
  .faq-section {
    display: block;
  }
  .faq-list {
    margin-top: 26px;
  }
  .faq-section .section-heading {
    margin-bottom: 0;
  }
  .faq-list summary {
    font-size: 14px;
    padding: 20px 0;
  }
  .closing-section {
    padding: 100px 0 90px;
  }
  .pricing-hero {
    padding-top: 45px;
  }
  .pricing-grid {
    gap: 12px;
  }
  .plan {
    padding: 24px;
  }
  .comparison-section {
    padding-top: 86px;
  }
  .comparison-table tbody th > span {
    max-width: 300px;
    font-size: 11px;
  }
  .comparison-table td {
    font-size: 12px;
  }
  .comparison-heading p {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .native-illustration {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 24px;
  }
  .native-code {
    max-width: 310px;
    width: 100%;
    justify-self: center;
  }
  .native-code pre {
    font-size: 9px;
  }
  .native-connector {
    display: none;
  }
  .native-settings {
    max-width: 280px;
    width: 100%;
    justify-self: center;
  }
  .native-product-preview img {
    height: 94px;
  }
  .faq-list summary {
    font-size: 13px;
    gap: 16px;
  }
  .faq-list details p {
    font-size: 13px;
    padding-right: 0;
  }
  .closing-section h2 {
    font-size: 29px;
  }
  .pricing-hero h1 {
    font-size: 36px;
  }
  .pricing-hero > p {
    font-size: 14px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 390px;
    gap: 16px;
  }
  .plan {
    padding: 28px;
  }
  .comparison-table th:first-child {
    width: 58%;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 16px 8px;
    font-size: 12px;
  }
  .comparison-table tbody th > span {
    font-size: 10px;
    line-height: 16px;
    max-width: 190px;
  }
  .comparison-table td,
  .comparison-table th:not(:first-child) {
    white-space: normal;
    width: 21%;
  }
  .comparison-note {
    font-size: 11px;
    line-height: 18px;
  }
  .comparison-heading h2 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.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;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink);
}
.text-link > svg {
  width: 15px;
  height: 15px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.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);
}
.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;
}
.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) {
  .docs-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 45px;
  }
}
@media (max-width: 760px) {
  .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;
  }
  .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) {
  .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;
  }
  .docs-content p,
  .docs-content li {
    font-size: 15px;
    line-height: 25px;
  }
  .docs-navigation nav {
    font-size: 12px;
  }
  .docs-prompt {
    padding: 20px;
  }
}
/* 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: max(10px, 1.1cqw);
}
.byredo-purchase > span:first-child {
  display: block;
  color: #777;
  margin-bottom: 1cqw;
}
.byredo-purchase h3 {
  font:
    400 max(13px, 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: max(9px, 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;
}
@container (max-width: 520px) {
  .byredo-demo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }
  .byredo-demo-gallery > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .byredo-purchase {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    padding: 16px;
    font-size: 12px;
  }
  .byredo-sizes button {
    padding: 6px 8px;
  }
}
.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;
  }
}

.chapter {
  --chapter-space: clamp(52px, 7.5vw, 96px);
  margin-top: var(--chapter-space);
  padding-top: var(--chapter-space);
  border-top: 1px solid var(--line);
}
.chapter-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 76px);
}
.chapter-intro h2 {
  font-size: clamp(25px, 2.5vw, 32px);
  line-height: 1.2;
}
.chapter-copy {
  display: grid;
  justify-items: start;
  gap: clamp(20px, 3.2vw, 40px);
  min-width: 0;
}
.chapter-copy > p {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.45;
  text-wrap: pretty;
}
.resource-hero h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
}
.resource-hero + .chapter .chapter-intro {
  margin-bottom: 0;
}
.pricing-plans .pricing-grid {
  margin-inline: auto;
}
.billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--tile);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.billing-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.billing-switch button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px var(--shadow);
}
.billing-switch button > span {
  margin-left: 8px;
  font-size: 11px;
  color: var(--positive);
}
.pricing-hero .billing-switch {
  margin-top: 28px;
}
.plan-features {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 25px 0 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line-strong);
}
.plan-features li {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 20px;
}
.plan-features strong {
  color: var(--ink);
  font-weight: 400;
}
.plan-features svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--ink);
}
.homepage-pricing-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}
.homepage-pricing-header h2 {
  max-width: 21ch;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.12;
}
.homepage-pricing-header p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}
.homepage-pricing .pricing-grid {
  max-width: none;
  margin: 0;
}
.homepage-pricing .plan {
  padding: clamp(28px, 3.5vw, 44px);
}
.homepage-pricing-details {
  display: flex;
  justify-content: end;
  margin-top: 24px;
}
.homepage-pricing-details a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.homepage-pricing-details a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.homepage-pricing-details svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 760px) {
  .homepage-pricing-header {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .pricing-grid {
    gap: 0;
  }
  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }
  .billing-switch button {
    padding-inline: 11px;
  }
}
.resource-hero {
  padding-top: clamp(60px, 9vw, 116px);
}
.resource-hero > p {
  margin-top: 12px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}
.resource-links a {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-block: 16px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.resource-links a:first-child {
  padding-top: 0;
}
.resource-links strong,
.resource-links small {
  display: block;
}
.resource-links strong {
  font-size: 18px;
  font-weight: 400;
}
.resource-links small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}
.resource-links a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .chapter-intro {
    grid-template-columns: minmax(0, 1fr);
  }
}

.workflow-page {
  padding-bottom: 24px;
}
/* The native Shopify editor keeps its authored viewport while its stage scales. */
.sf-scene {
  position: relative;
  min-width: 0;
  aspect-ratio: var(--sf-width) / var(--sf-height);
  overflow: hidden;
  isolation: isolate;
  border-radius: 10px;
  background: var(--tile);
}
.sf-stage {
  position: absolute;
  inset: 0 auto auto 0;
  width: calc(var(--sf-width) * 1px);
  height: calc(var(--sf-height) * 1px);
  transform: scale(var(--sf-scale, 1));
  transform-origin: 0 0;
}
.editor-art {
  width: 1280px;
  height: 780px;
  color: #303030;
  background: #f1f1f1;
  border: 1px solid #d4d4d4;
  font:
    12px/18px Geist,
    Arial,
    sans-serif;
  color-scheme: light;
}
.editor-toolbar {
  height: 48px;
  padding: 0 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
}
.editor-toolbar > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.editor-art svg {
  width: 15px;
  height: 15px;
}
.editor-toolbar small {
  padding: 2px 8px;
  background: #d9eeff;
  border-radius: 5px;
  color: #174568;
  font: inherit;
}
.editor-save {
  padding: 5px 14px;
  background: #ddd;
  color: #666;
  border-radius: 6px;
}
.editor-workspace {
  display: grid;
  grid-template-columns: 224px 800px 254px;
  height: 730px;
}
.editor-tree {
  background: #fff;
  border-right: 1px solid #ddd;
  padding: 16px 12px;
}
.editor-tree > strong {
  display: block;
  font-size: 14px;
  margin: 0 0 24px 7px;
  font-weight: 500;
}
.editor-tree-group {
  padding: 16px 7px 10px;
  margin-top: 12px;
  border-top: 1px solid #e6e6e6;
  font-weight: 500;
}
.editor-tree p {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 4px 7px;
}
.editor-tree .editor-tree-selected {
  background: #ededed;
  border-radius: 6px;
}
.editor-tree .editor-tree-child {
  padding-left: 31px;
}
.editor-add {
  color: #005bd3;
  display: block;
  padding: 8px 7px;
}
.editor-canvas {
  margin: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.editor-store-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  height: 82px;
  font-size: 11px;
}
.editor-store-nav > span:first-child {
  font-size: 20px;
}
.editor-banner {
  position: relative;
  height: 450px;
  outline: 2px solid #327bfa;
  outline-offset: -2px;
}
.editor-banner::before {
  content: "Image banner";
  position: absolute;
  z-index: 3;
  left: 0;
  top: -20px;
  padding: 2px 7px;
  background: #327bfa;
  color: #fff;
  font:
    11px/16px Geist,
    Arial,
    sans-serif;
}
.editor-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--editor-overlay);
  pointer-events: none;
}
.editor-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editor-banner-copy {
  position: absolute;
  z-index: 2;
  left: 36px;
  right: 36px;
  bottom: 58px;
  text-align: center;
  color: #fff;
}
.editor-banner-copy h3 {
  font-size: 38px;
  line-height: 44px;
  margin: 0 0 22px;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.editor-banner-copy > span {
  display: inline-block;
  border: 1px solid #fff;
  padding: 11px 17px;
  font-size: 11px;
}
.editor-banner[data-alignment="left"] .editor-banner-copy {
  text-align: left;
}
.editor-banner[data-alignment="right"] .editor-banner-copy {
  text-align: right;
}
.editor-canvas > h4 {
  margin: 24px;
  font-weight: 400;
  font-size: 20px;
}
.editor-product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 24px;
}
.editor-product-strip img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.editor-settings {
  background: #fff;
  padding: 16px;
  border-left: 1px solid #ddd;
}
.editor-settings > strong {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 30px;
  font-weight: 500;
}
.editor-setting-label {
  display: block;
  margin-bottom: 10px;
}
.editor-image-choice {
  position: relative;
  width: 100%;
  height: 115px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.editor-image-choice > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editor-image-choice > span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.editor-settings label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}
.editor-settings input {
  accent-color: #303030;
  width: 100%;
}
.editor-settings select {
  font: inherit;
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
  background: #fff;
  color: #303030;
}
.editor-settings-divider {
  border-top: 1px solid #ddd;
  margin: 24px 0 18px;
  padding-top: 18px;
  font-weight: 500;
}
.editor-align {
  display: flex;
  padding: 3px;
  border-radius: 6px;
  background: #f1f1f1;
}
.editor-align button {
  flex: 1;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  font: inherit;
  color: #303030;
  background: transparent;
}
.editor-align button[aria-pressed="true"] {
  border-color: #ddd;
  background: #fff;
}

/* Homepage scenes share the existing marketing palette and actual example media. */
.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 > .lucide {
  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;
}
.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 > .lucide {
  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 .lucide {
  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 > .lucide {
  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 .lucide {
  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;
}
@media (max-width: 1050px) {
  .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;
  }
}
@media (max-width: 760px) {
  .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;
  }
  .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;
  }
}
@media (max-width: 480px) {
  .refine-canvas {
    padding: 25px 17px;
  }
  .refine-target {
    height: 255px;
  }
  .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;
  }
}
@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 > .lucide,
.prep-activity > [data-state="working"] i > .lucide {
  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;
}
@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;
  }
}

.home-story {
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: clamp(52px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.home-story > .section-heading {
  max-width: 820px;
  margin: 0 auto clamp(32px, 4.4vw, 56px);
  text-align: center;
}
.home-story h2 {
  font-size: clamp(29px, 3.1vw, 40px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}
.home-story > .section-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.5;
  text-wrap: pretty;
}
.home-story .reference-flow,
.home-story .native-illustration,
.home-story .byredo-section-art {
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.proof-details {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding-top: 22px;
}
.proof-details p {
  max-width: 650px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.proof-details strong {
  color: var(--ink);
  font-weight: 400;
}
.proof-details .text-link {
  flex-shrink: 0;
}
.scene-followup {
  margin-top: 24px;
  text-align: right;
}
.home-story.section-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(28px, 5.4vw, 68px);
}
.section-story-copy h2 {
  margin-bottom: 24px;
}
.section-story-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 38ch;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.section-story-copy .text-link {
  margin-top: 10px;
}
.home-story .refine-demo,
.home-story .store-prep-demo {
  box-shadow: none;
  border-radius: 12px;
}
.home-story .management-capabilities {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.agency-studies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}
.agency-study {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--page);
}
.agency-art {
  --agency-subject: color-mix(in srgb, var(--ink) 72%, var(--page));
  --agency-secondary: color-mix(in srgb, var(--ink) 34%, var(--page));
  --agency-contour: color-mix(in srgb, var(--ink) 22%, var(--page));
  --agency-guide: color-mix(in srgb, var(--ink) 12%, var(--page));
  display: grid;
  place-items: center;
  height: clamp(240px, 24vw, 300px);
  padding: 12px 28px 0;
}
.agency-art svg {
  width: min(100%, 280px);
  height: auto;
  max-height: 100%;
  overflow: visible;
}
.agency-art path,
.agency-art circle {
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.agency-guide {
  stroke: var(--agency-guide);
  stroke-dasharray: 0.1 4;
}
.agency-guide .agency-registration {
  stroke: var(--agency-secondary);
  stroke-dasharray: none;
}
.agency-line,
.agency-junction {
  stroke: var(--agency-secondary);
}
.agency-contour,
.agency-archive-contours {
  stroke: var(--agency-contour);
}
.agency-paper {
  stroke: var(--agency-secondary);
  fill: var(--page);
}
.agency-code,
.agency-theme-change,
.agency-spine,
.agency-archive-line,
.agency-return,
.agency-return-arrow {
  stroke: var(--agency-subject);
}
.agency-junction circle {
  fill: var(--page);
}
.agency-junction .agency-version-past {
  fill: var(--agency-subject);
  stroke: var(--agency-subject);
}
.agency-knowledge-page {
  transform-origin: 120px 130px;
}
.agency-return-guide {
  stroke: var(--agency-secondary);
  stroke-dasharray: 0.1 4;
}
.agency-return {
  opacity: 0.7;
}
.agency-return-arrow {
  opacity: 0.7;
}
.agency-caption {
  padding: 20px clamp(20px, 2.7vw, 32px) 30px;
}
.agency-caption h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 12px;
}
.agency-caption p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}
.agency-study.is-visible .agency-knowledge-page {
  animation: agency-page-turn 4.8s cubic-bezier(0.45, 0, 0.25, 1) both;
}
.agency-study.is-visible .agency-code {
  animation: agency-code-resolve 4.8s ease both;
}
.agency-study.is-visible .agency-spine {
  animation: agency-spine-connect 2.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.agency-study.is-visible .agency-theme-change {
  animation: agency-plane-connect 1.25s cubic-bezier(0.3, 0, 0.2, 1) both;
}
.agency-study.is-visible .agency-theme-plane-1 .agency-theme-change {
  animation-delay: 0.55s;
}
.agency-study.is-visible .agency-theme-plane-2 .agency-theme-change {
  animation-delay: 1.05s;
}
.agency-study.is-visible .agency-theme-plane-3 .agency-theme-change {
  animation-delay: 1.55s;
}
.agency-study.is-visible .agency-return {
  animation: agency-history-return 4.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.agency-study.is-visible .agency-return-arrow {
  animation: agency-history-arrow 4.6s ease both;
}
.agency-study.is-visible .agency-version-past {
  animation: agency-history-selected 4.6s ease both;
}
.agency-study.is-visible .agency-version-current {
  animation: agency-history-released 4.6s ease both;
}
@keyframes agency-page-turn {
  0%, 16%, 100% {
    transform: scaleX(1) skewY(0);
  }
  46% {
    transform: scaleX(0.18) skewY(-14deg);
  }
  76% {
    transform: scaleX(1) skewY(0);
  }
}
@keyframes agency-code-resolve {
  0%, 50% { opacity: 0.35; }
  80%, 100% { opacity: 1; }
}
@keyframes agency-spine-connect {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes agency-plane-connect {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0.15;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
@keyframes agency-history-return {
  0%, 22% {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 1;
  }
  78%, 100% {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    opacity: 0.7;
  }
}
@keyframes agency-history-arrow {
  0%, 68% { opacity: 0; }
  80%, 100% { opacity: 0.7; }
}
@keyframes agency-history-selected {
  0%, 68% {
    fill: var(--page);
    stroke: var(--agency-secondary);
  }
  82%, 100% {
    fill: var(--agency-subject);
    stroke: var(--agency-subject);
  }
}
@keyframes agency-history-released {
  0%, 68% {
    fill: var(--agency-subject);
    stroke: var(--agency-subject);
  }
  82%, 100% {
    fill: var(--page);
    stroke: var(--agency-secondary);
  }
}
@media (max-width: 760px) {
  .home-story.section-story {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-story-copy {
    max-width: 580px;
  }
  .section-story-copy h2 br {
    display: none;
  }
  .proof-details {
    flex-direction: column;
    gap: 16px;
  }
  .home-story > .section-heading br {
    display: none;
  }
  .agency-studies {
    grid-template-columns: minmax(0, 1fr);
  }
  .agency-study {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
  .agency-art {
    height: 220px;
    padding: 12px 14px;
  }
  .agency-caption {
    padding: 24px 20px 24px 0;
  }
  .scene-followup {
    text-align: left;
  }
}
@media (max-width: 480px) {
  .agency-study {
    display: flex;
  }
  .agency-art {
    height: 240px;
    padding: 12px 24px 0;
  }
  .agency-caption {
    padding: 8px 24px 28px;
  }
  .home-story .section-heading p {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .agency-study.is-visible svg * {
    animation: none;
  }
}

.site-header .nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
}
.site-header .brand {
  justify-self: start;
}
.site-header .nav-links {
  margin-left: 0;
  gap: 28px;
}
.site-header .nav-actions {
  justify-self: end;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}
.nav-trigger > svg {
  width: 12px;
  height: 12px;
  transition: transform 150ms ease;
}
.nav-trigger[aria-expanded="true"] {
  color: var(--ink);
}
.nav-trigger[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}
.nav-panel {
  position: absolute;
  inset: 100% 0 auto;
  background: var(--page);
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.nav-panel[hidden] {
  display: none;
}
.nav-panel-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-block: 30px 44px;
  animation: navigation-enter 150ms ease-out;
}
.nav-panel-inner p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.nav-panel-inner a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.nav-panel-inner a:hover {
  color: var(--muted);
}
.nav-panel-featured a {
  flex-direction: column;
  align-items: start;
  gap: 3px;
  margin-top: 18px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.045em;
}
.nav-panel-featured a > span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.5;
}
.nav-panel-secondary a {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.nav-panel-secondary > span {
  display: block;
  max-width: 31ch;
  color: var(--muted);
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.nav-panel-secondary svg {
  width: 16px;
  height: 16px;
}
@keyframes navigation-enter {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .site-header .nav-links {
    gap: 18px;
  }
  .nav-sign-in {
    display: none;
  }
  .site-header .nav {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .site-header .nav {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .site-header .nav-links {
    display: none;
    margin: 0;
  }
  .site-header .nav-links.open {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    font-size: 16px;
    padding-block: 14px;
  }
  .nav-panel {
    position: static;
    border: 0;
  }
  .nav-panel-inner {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-block: 8px 24px;
  }
  .nav-panel-inner p {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .nav-panel-featured a {
    font-size: 22px;
  }
  .nav-panel-secondary a {
    font-size: 16px;
  }
  .nav-panel-secondary > span {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-panel-inner {
    animation: none;
  }
  .nav-trigger > svg {
    transition: none;
  }
}

.legal-hero {
  max-width: 1184px;
  padding-top: clamp(52px, 7vw, 104px);
  padding-bottom: clamp(32px, 5vw, 64px);
}
.legal-eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}
.legal-hero h1 {
  max-width: 17ch;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.legal-hero > p:not(.legal-eyebrow) {
  max-width: 55ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}
.legal-date {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(32px, 6vw, 96px);
  padding-top: 28px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line-strong);
}
.legal-contents {
  position: sticky;
  top: 96px;
  display: flex;
  align-self: start;
  flex-direction: column;
  gap: 12px;
  padding-right: 12px;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.legal-contents a:hover {
  color: var(--ink);
}
.legal-document {
  min-width: 0;
}
.legal-document section + section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.legal-document h2,
.legal-index h2 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.legal-document p,
.legal-document li,
.legal-document dd,
.legal-index p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  text-wrap: pretty;
}
.legal-document p + p {
  margin-top: 16px;
}
.legal-document a,
.legal-operator > a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal-document ul {
  margin: 0;
  padding-left: 22px;
}
.legal-document li + li {
  margin-top: 8px;
}
.legal-document ul + p {
  margin-top: 18px;
}
.legal-definitions {
  margin: 0;
}
.legal-definitions > div + div {
  margin-top: 20px;
}
.legal-definitions dt {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 500;
}
.legal-definitions dd {
  margin: 0;
}
.legal-definitions + p {
  margin-top: 22px;
}
.legal-table-wrap {
  width: 100%;
  margin-block: 22px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.legal-document table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}
.legal-document th,
.legal-document td {
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.legal-document thead th {
  background: var(--tile);
  font-weight: 500;
}
.legal-document tbody th {
  width: 24%;
  font-weight: 400;
}
.legal-document tbody td {
  color: var(--muted);
}
.legal-document tbody tr:last-child > * {
  border-bottom: 0;
}
.legal-index {
  padding-bottom: 72px;
}
.legal-index > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line-strong);
}
.legal-index > a h2 {
  margin-bottom: 6px;
}
.legal-index > a:hover h2 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.legal-index > a > svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
}
.legal-operator {
  padding-top: 30px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.legal-operator p {
  max-width: 65ch;
}
.legal-operator > a {
  display: inline-block;
  margin-top: 12px;
}
@media (max-width: 760px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .legal-contents {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line);
  }
  .legal-document h2,
  .legal-index h2 {
    font-size: 22px;
  }
  .legal-document table {
    font-size: 13px;
  }
  .legal-document th,
  .legal-document td {
    padding: 12px;
  }
}

.template-market {
  padding-block: 76px 112px;
}
.template-market-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}
.template-market h1 {
  font-size: clamp(40px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.template-market-header p {
  max-width: 48ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.template-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 288px);
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
}
.template-search:focus-within {
  outline: 2px solid var(--muted);
  outline-offset: 3px;
}
.template-search > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
}
.template-search > input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  background: transparent;
  border: 0;
  outline: 0;
}
.template-search > input::placeholder {
  color: var(--muted);
}
.template-market-layout {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.template-filters {
  position: sticky;
  top: 104px;
}
.template-filters h2 {
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  margin: 0 10px 16px;
}
.template-filters button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 9px 10px;
  margin-bottom: 2px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}
.template-filters button > span:last-child {
  font-size: 12px;
}
.template-filters button:hover,
.template-filters button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--tile);
}
.template-result-count {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}
.template-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: border-color 160ms ease;
}
.template-card:hover {
  border-color: var(--muted);
}
.template-card-art {
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: var(--tile);
  border-bottom: 1px solid var(--line);
}
.template-card-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.template-card-skeleton .template-card-art > img {
  object-fit: contain;
  background: #f7f7f2;
}
.template-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 19px 20px 17px;
}
.template-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.template-card-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.template-card-author > svg {
  width: 15px;
  height: 15px;
}
.template-card[hidden],
.template-empty[hidden] {
  display: none;
}
.template-empty {
  padding: 80px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.template-empty h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.template-empty p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.template-empty .text-link {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.template-detail {
  padding-block: 48px 104px;
}
.template-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}
.template-back > svg {
  width: 14px;
  height: 14px;
}
.template-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.template-detail h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.template-detail-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px;
}
.template-detail-actions .button {
  min-height: 40px;
  padding: 10px 14px;
  white-space: nowrap;
  font-size: 13px;
}
.template-detail-preview {
  width: 100%;
  margin-top: 32px;
}
.template-image-preview {
  display: grid;
  place-items: center;
  min-height: min(520px, 64vw);
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--tile);
}
.template-image-preview > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.template-live-preview {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
}
.template-preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line-strong);
}
.template-preview-toolbar .example-tabs {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.template-preview-toolbar .example-tabs button {
  padding: 5px 9px;
  font-size: 12px;
}
.template-preview-toolbar > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  color: var(--muted);
}
.template-preview-toolbar > a:hover {
  color: var(--ink);
  background: var(--tile);
}
.template-preview-toolbar > a > svg {
  width: 15px;
  height: 15px;
}
.template-live-preview .template-preview-frame {
  display: block;
  width: 100%;
  height: min(740px, calc(100dvh - 150px));
  min-height: 500px;
  border: 0;
  background: #f7f7f2;
}
.template-detail-information {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line-strong);
}
.template-detail-information h2 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.template-overview > p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.template-overview h3 {
  margin-top: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.template-overview ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.template-overview li + li {
  margin-top: 7px;
}
.template-details dl {
  margin: 0;
}
.template-details dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.template-details dl > div + div {
  margin-top: 18px;
}
.template-details dt {
  color: var(--muted);
}
.template-details dd {
  margin: 0;
}
.template-source {
  margin-top: 26px;
  font-size: 13px;
}
@media (max-width: 1100px) {
  .template-market-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
  }
  .template-detail-heading {
    flex-wrap: wrap;
    gap: 24px;
  }
}
@media (max-width: 760px) {
  .template-market {
    padding-block: 48px 72px;
  }
  .template-market-header {
    flex-direction: column;
    align-items: start;
    gap: 24px;
    margin-bottom: 28px;
  }
  .template-search {
    width: 100%;
  }
  .template-market-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .template-filters {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-block: 2px 8px;
    overscroll-behavior: contain;
  }
  .template-filters h2 {
    display: none;
  }
  .template-filters button {
    width: auto;
    flex-shrink: 0;
    padding: 8px 12px;
  }
  .template-grid {
    gap: 16px;
  }
  .template-card-copy {
    padding: 16px;
  }
  .template-detail {
    padding-block: 36px 72px;
  }
  .template-detail-information {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 36px;
    padding-top: 28px;
  }
  .template-live-preview .template-preview-frame {
    min-height: 480px;
  }
}
@media (max-width: 480px) {
  .template-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .template-card {
    transition: none;
  }
}
