/* Marketing site. Colors come from tokens.css (a copy of studio/css/tokens.css: do not edit it here).
   The design system is dark and sized for app chrome; the site is a light page with larger type, so it names
   its own roles below, each one built from a design-system color. */

@font-face {
  font-family: 'Space Mono';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-mono-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cinzel';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cinzel-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cinzel';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cinzel-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Shrikhand';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/shrikhand-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-600-italic.woff2') format('woff2');
}

:root {
  --site-bg: color-mix(in srgb, var(--color-neutral-50) 30%, var(--color-white));
  --site-card: var(--color-white);
  --site-ink: var(--color-neutral-950);
  --site-muted: color-mix(in srgb, var(--color-neutral-950) 56%, transparent);
  --site-line: color-mix(in srgb, var(--color-neutral-950) 9%, transparent);
  --site-shadow: color-mix(in srgb, var(--color-neutral-950) 28%, transparent);

  --site-type-title: clamp(1.75rem, 3.1vw, 2.5rem);
  --site-type-sub: 1.0625rem;
  --site-type-body: 1rem;
  --site-type-small: 0.875rem;

  --site-width: 78rem;
  --site-pad: clamp(var(--space-5), 3.4vw, var(--space-12));
  --site-radius: var(--radius-xl);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: var(--type-family-body);
  font-size: var(--site-type-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
ol {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--color-action-primary-default);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* The page sits in one column with a hairline rail down each side; sections are divided by the same line. */
.frame {
  max-width: var(--site-width);
  margin-inline: auto;
  border-inline: 1px solid var(--site-line);
}

/* ---- headings: quiet weight, tight tracking, a muted lead-in and a full-strength claim ---- */
h1,
h2 {
  max-width: 22em;
  font-size: var(--site-type-title);
  font-weight: var(--type-weight-regular);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
/* the emphasized part of a heading is set in the Avocet green; the rest stays ink */
h1 span,
h2 span {
  color: var(--color-primary-600);
}
h3 {
  font-size: var(--site-type-body);
  font-weight: var(--type-weight-medium);
  letter-spacing: -0.01em;
}

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20; /* the bar and its menus sit above every layered piece on the page (those use 2 to 8) */
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-3) var(--site-pad);
  border-bottom: 1px solid var(--site-line);
  background: color-mix(in srgb, var(--site-bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  color: var(--site-ink);
}
.logo {
  display: block;
  width: auto;
  height: 1.375rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--site-type-small);
}
.nav__links > a,
.menu__btn,
.nav__quiet,
.foot__col a {
  color: var(--site-muted);
  transition: color 0.15s;
}
.nav__links > a:hover,
.nav__links > a[aria-current],
.menu__btn:hover,
.menu__btn[aria-current],
.menu__btn[aria-expanded='true'],
.nav__quiet:hover,
.foot__col a:hover {
  color: var(--site-ink);
}
.nav__end {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
  font-size: var(--site-type-small);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.375rem;
  padding-inline: var(--space-4);
  border: 1px solid var(--site-ink);
  border-radius: var(--radius-full);
  background: var(--site-ink);
  color: var(--color-white);
  font: inherit;
  font-size: var(--site-type-small);
  font-weight: var(--type-weight-medium);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.pill:hover {
  border-color: var(--color-neutral-500);
  background: var(--color-neutral-500);
}
.pill--quiet {
  /* the secondary action: an outline you can see on the page, no fill, so it sits clearly below the black primary */
  border: 1.5px solid color-mix(in srgb, var(--color-neutral-950) 55%, transparent);
  background: transparent;
  color: var(--site-ink);
}
.pill--quiet:hover {
  border-color: var(--site-ink);
  background: color-mix(in srgb, var(--color-neutral-950) 7%, transparent);
}
.nav .pill {
  height: 2rem;
  padding-inline: var(--space-3);
}

/* ---- hero ---- */
.hero {
  padding: var(--space-24) var(--site-pad) 0;
}
.hero__copy {
  display: grid;
  gap: var(--space-5);
  max-width: 44rem;
}
.sub {
  max-width: 34rem;
  color: var(--site-muted);
  font-size: var(--site-type-sub);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* ---- stage: the soft colored field a product picture sits on ---- */
.stage {
  --a: var(--color-sky-500);
  --b: var(--color-primary-400);
  --c: var(--color-orange-500);
  position: relative;
  overflow: hidden;
  border-radius: var(--site-radius);
  background:
    radial-gradient(90% 120% at 8% 0%, color-mix(in srgb, var(--a) 70%, var(--color-white)), transparent 62%),
    radial-gradient(80% 110% at 96% 18%, color-mix(in srgb, var(--b) 60%, var(--color-white)), transparent 60%),
    radial-gradient(90% 90% at 55% 110%, color-mix(in srgb, var(--c) 55%, var(--color-white)), transparent 64%),
    var(--color-neutral-50);
}
.stage::after {
  /* a little grain, so the field reads as a surface and not a flat gradient */
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.5;
  pointer-events: none;
}
.stage--hero {
  margin-top: var(--space-16);
  padding: clamp(var(--space-5), 5vw, var(--space-16)) clamp(var(--space-4), 5vw, var(--space-16)) 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.window {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -6%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 var(--space-6) var(--space-16) calc(var(--space-3) * -1) var(--site-shadow);
}
.stage--a {
  --a: var(--color-primary-400);
  --b: var(--color-sky-500);
  --c: var(--color-blue-500);
}
.stage--b {
  --a: var(--color-orange-500);
  --b: var(--color-primary-400);
  --c: var(--color-sky-500);
}
.stage--c {
  --a: var(--color-blue-500);
  --b: var(--color-orange-500);
  --c: var(--color-primary-400);
}
.stage--d {
  --a: var(--color-sky-500);
  --b: var(--color-blue-500);
  --c: var(--color-orange-500);
}

/* ---- sections ---- */
.block {
  padding: var(--space-24) var(--site-pad);
  border-top: 1px solid var(--site-line);
}

/* ---- cards: a piece of the real editor on a stage, a title and one sentence ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-12) var(--space-5);
  margin-top: var(--space-12);
}
.card .stage {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin-bottom: var(--space-5);
}
.card p,
.steps p {
  max-width: 30rem;
  margin-top: var(--space-1);
  color: var(--site-muted);
}
/* ---- steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-12);
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--site-line);
}
.steps li {
  padding: var(--space-6) var(--space-6) 0 0;
  counter-increment: step;
}
.steps li + li {
  padding-left: var(--space-6);
  border-left: 1px solid var(--site-line);
}
.steps li::before {
  content: '0' counter(step);
  display: block;
  margin-bottom: var(--space-12);
  color: var(--site-muted);
  font-family: var(--type-family-mono);
  font-size: var(--site-type-small);
}

/* ---- invite ---- */
.block--invite {
  padding-block: var(--site-pad);
}
.stage--invite {
  display: grid;
  place-items: center;
  padding: var(--space-24) var(--space-5);
}
.invite {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  width: 100%;
  max-width: 32rem;
  padding: var(--space-12) var(--space-8);
  border-radius: var(--site-radius);
  background: var(--site-card);
  box-shadow: 0 var(--space-6) var(--space-16) calc(var(--space-3) * -1) var(--site-shadow);
  text-align: center;
}
.invite p {
  color: var(--site-muted);
}
.code {
  display: flex;
  gap: var(--space-2);
  width: 100%;
  max-width: 22rem;
  margin-top: var(--space-3);
}
.code__input {
  flex: 1;
  min-width: 0;
  height: 2.375rem;
  padding-inline: var(--space-4);
  border: 1px solid var(--site-line);
  border-radius: var(--radius-full);
  background: var(--site-bg);
  color: var(--site-ink);
  font: inherit;
  font-size: var(--site-type-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.code__input::placeholder {
  color: var(--site-muted);
  letter-spacing: 0;
  text-transform: none;
}
.code__input:hover {
  border-color: var(--site-muted);
}
.code__input:focus-visible {
  outline: none;
  border-color: var(--site-ink);
}

/* ---- footer: links, then the name set as large as the column and running off the bottom edge ---- */
.foot {
  overflow: hidden;
  border-top: 1px solid var(--site-line);
  font-size: var(--site-type-small);
}
.foot__links {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
  padding: var(--space-16) var(--site-pad) var(--space-12);
}
.foot__brand p {
  margin-top: var(--space-4);
  color: var(--site-muted);
}
.foot__col {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}
.foot__col h4 {
  margin-bottom: var(--space-1);
  font-size: var(--site-type-small);
  font-weight: var(--type-weight-medium);
}
.foot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin-inline: var(--site-pad);
  padding-block: var(--space-4);
  border-top: 1px solid var(--site-line);
  color: var(--site-muted);
}
.foot__meta a:hover {
  color: var(--site-ink);
}
.foot__top {
  margin-left: auto;
}
/* The name is a mask over a field of color. The field drifts, and a bright spot follows the pointer. */
.foot__name {
  --mx: 70%;
  --my: 30%;
  display: block;
  margin: var(--space-8) calc(var(--site-pad) * 0.6) 0;
  margin-bottom: -4.2%;
  aspect-ratio: 525 / 124;
  -webkit-mask: url('wordmark.svg') center / 100% 100% no-repeat;
  mask: url('wordmark.svg') center / 100% 100% no-repeat;
  background: var(--site-ink);
}
.foot__name span {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(22% 60% at var(--mx) var(--my), var(--color-primary-400), transparent 70%),
    radial-gradient(40% 90% at 12% 80%, var(--color-sky-500), transparent 70%),
    radial-gradient(36% 90% at 52% 10%, var(--color-orange-500), transparent 70%),
    radial-gradient(40% 90% at 92% 90%, var(--color-blue-500), transparent 70%);
  background-size: 100% 100%, 160% 100%, 160% 100%, 160% 100%;
  animation: name-drift 16s ease-in-out infinite alternate;
  opacity: 0.92;
}
@keyframes name-drift {
  from {
    background-position: 0 0, 0% 0, 100% 0, 30% 0;
  }
  to {
    background-position: 0 0, 100% 0, 0% 0, 80% 0;
  }
}

/* ---- showcase walls ---- */
.wall {
  column-gap: var(--space-5);
  margin-top: var(--space-12);
}
.wall--three,
.wall--four {
  display: grid;
  gap: var(--space-8) var(--space-5);
}
.wall--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wall--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* a full grid: every tile has the same shape, whatever ratio its piece was made in (the media is cropped to fit) */
.wall .slot {
  width: 100%;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover;
}
.tile {
  margin: 0;
}
.tile figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  font-size: var(--site-type-small);
}
.tile strong {
  font-weight: var(--type-weight-medium);
}
.tile figcaption span {
  color: var(--site-muted);
  white-space: nowrap;
}
.tile video.slot--filled {
  cursor: ew-resize;
}
.after {
  margin-top: var(--space-6);
}

/* ---- Use cases menu ---- */
.menu {
  position: relative;
}
.menu__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.chev {
  transition: transform 0.15s;
}
.menu__btn[aria-expanded='true'] .chev {
  transform: rotate(180deg);
}
.menu__panel {
  position: absolute;
  z-index: 3; /* above the ruler ticks, which come later in the header */
  top: calc(100% + var(--space-3));
  left: calc(var(--space-3) * -1);
  display: none;
  width: 19rem;
  padding: var(--space-2);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-card);
  box-shadow: 0 var(--space-4) var(--space-12) calc(var(--space-2) * -1) var(--site-shadow);
}
/* a strip that bridges the gap, so the pointer can travel from the button to the panel */
.menu__panel::before {
  content: '';
  position: absolute;
  inset: calc(var(--space-3) * -1) 0 100%;
}
.menu__btn[aria-expanded='true'] + .menu__panel,
.menu:focus-within .menu__panel {
  display: grid;
}
@media (hover: hover) {
  .menu:hover .menu__panel {
    display: grid;
  }
}
.menu__panel--cols2 {
  width: 34rem;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-2);
}
.menu__col {
  display: grid;
  align-content: start;
}
.menu__head {
  margin: 0;
  padding: var(--space-3) var(--space-3) var(--space-1);
  color: var(--site-muted);
  font-size: var(--type-size-sm, 0.8125rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.menu__panel--cols2 .menu__all {
  grid-column: 1 / -1;
}
.menu__panel a {
  display: grid;
  gap: 2px;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  color: var(--site-ink);
}
.menu__panel a:hover {
  background: var(--site-bg);
}
.menu__panel strong {
  font-weight: var(--type-weight-medium);
}
.menu__panel span,
.menu__panel .menu__all {
  color: var(--site-muted);
}
.menu__panel .menu__all {
  margin-top: var(--space-1);
  border-top: 1px solid var(--site-line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.nav__toggle,
.nav__only-small {
  display: none;
}

/* ---- inner page head ---- */
.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  padding: var(--space-24) var(--site-pad) var(--space-16);
}
.head:has(.stage--hero) {
  padding-bottom: 0;
}
.head--center {
  justify-items: center;
  padding-block: var(--space-32);
  text-align: center;
}
.crumb {
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.crumb a:hover {
  color: var(--site-ink);
}

/* ---- three text columns ---- */
.facts,
.doors,
.jobs,
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-12);
}
.head + .block > :first-child {
  margin-top: 0;
}
.fact {
  padding-top: var(--space-5);
  border-top: 1px solid var(--site-ink);
}
.fact p,
.door p,
.job p,
.rowlink p,
.log p {
  margin-top: var(--space-1);
  color: var(--site-muted);
}
.door,
.job,
.plan {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-card);
}
.door {
  min-height: 11rem;
  transition: border-color 0.15s;
}
.door:hover {
  border-color: var(--site-ink);
}
.more {
  margin-top: auto;
  padding-top: var(--space-6);
  font-size: var(--site-type-small);
  font-weight: var(--type-weight-medium);
}
.more::after {
  content: ' \2192';
}
.soon {
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---- long-form text ---- */
.prose {
  display: grid;
  gap: var(--space-5);
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.6;
}
.block > h2 + .prose {
  margin-top: var(--space-4);
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.prose--legal {
  font-size: var(--site-type-body);
}
.prose--legal h2 {
  margin-top: var(--space-6);
  font-size: 1.25rem;
  font-weight: var(--type-weight-medium);
  letter-spacing: -0.01em;
}
.prose--legal h2:first-child {
  margin-top: 0;
}
.prose--legal p {
  color: var(--site-muted);
}

/* ---- two lists side by side ---- */
.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-12);
}
.versus__col {
  padding: var(--space-6);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  color: var(--site-muted);
}
.versus__col--after {
  border-color: var(--site-ink);
  background: var(--site-card);
  color: var(--site-ink);
}
.versus__col h3 {
  color: var(--site-ink);
}
.versus ul,
.plan ul {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}
.versus li,
.plan li {
  padding-top: var(--space-3);
  border-top: 1px solid var(--site-line);
}

/* ---- pricing ---- */
.plan h2 {
  font-size: 1.5rem;
}
.plan__tag {
  margin-bottom: var(--space-2);
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.plan__price {
  margin-top: var(--space-4);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.plan__price span {
  color: var(--site-muted);
  font-size: var(--site-type-body);
  letter-spacing: 0;
}
.plan ul {
  margin-bottom: var(--space-6);
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.plan .pill {
  margin-top: auto;
}
.plan--now {
  border-color: var(--site-ink);
}
.faq {
  max-width: 44rem;
  margin-top: var(--space-8);
  border-top: 1px solid var(--site-line);
}
.faq details {
  border-bottom: 1px solid var(--site-line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  font-weight: var(--type-weight-medium);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--site-muted);
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq p {
  max-width: 36rem;
  padding-bottom: var(--space-5);
  color: var(--site-muted);
}
.faq a {
  color: var(--site-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---- rows: resources and changelog ---- */
.rows,
.log {
  margin-top: var(--space-8);
  border-top: 1px solid var(--site-line);
}
.rowlink {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  align-items: baseline;
  gap: var(--space-5);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--site-line);
}
.rowlink p {
  margin-top: 0;
}
.rowlink .more {
  margin: 0;
  padding: 0;
}
a.rowlink:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.log__item {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--site-line);
}
.log time {
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.log p {
  max-width: 36rem;
}

/* ---- media slots: a placeholder says what goes there until the file exists ---- */
.slot {
  display: grid;
  place-items: center;
  width: 100%;
  border: 1px dashed color-mix(in srgb, var(--site-ink) 28%, transparent);
  border-radius: var(--site-radius);
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, var(--site-line) 11px 12px),
    var(--site-card);
  color: var(--site-muted);
}
.slot span {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--site-card);
  font-family: var(--type-family-mono);
  font-size: 0.75rem;
  text-align: center;
}
.slot--filled {
  display: block;
  height: auto;
  border: 0;
  background: none;
  object-fit: cover;
}
.card .slot {
  margin-bottom: var(--space-5);
}
.hero__media {
  position: relative;
  margin-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* ---- motion: the pieces motion.js drives ---- */
/* Effector field behind the home hero. It fades out under the text. */
.hero--field {
  position: relative;
}
.hero--field > :not(.field) {
  position: relative;
  z-index: 1;
}
.field {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: min(34rem, 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 62%), linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent 22%, #000 62%), linear-gradient(#000 70%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}
/* Live scene in the home hero: shapes, named cursors, and a small timeline that records each drop. */
.hero--field {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: var(--space-12);
  align-items: center;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  min-height: min(46rem, calc(100svh - 5rem));
}
.hero--field > .hero__media {
  grid-column: 1 / -1;
  margin-top: var(--space-12);
}
.hero--field > .live {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--space-4);
  height: clamp(25rem, 64svh, 34rem);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.live__stage {
  position: relative;
}
.live .shape,
.live .cursor,
.live .bbox {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}
.live .shape {
  opacity: 0;
  transform-origin: center;
}
.live .shape.is-on {
  opacity: 1;
}
.shape--disc {
  border-radius: var(--radius-full);
  background: var(--color-primary-400);
}
.shape--tile {
  border-radius: var(--radius-md);
  background: var(--color-sky-500);
}
/* A selection: a box in its owner's color with eight handles. */
.bbox {
  display: none;
  border: 1.5px solid currentColor;
}
.bbox.is-on {
  display: block;
}
.bbox i {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -4px;
  border: 1.5px solid currentColor;
  background: var(--site-card);
}
.bbox i:nth-child(1) { left: 0; top: 0; }
.bbox i:nth-child(2) { left: 50%; top: 0; }
.bbox i:nth-child(3) { left: 100%; top: 0; }
.bbox i:nth-child(4) { left: 100%; top: 50%; }
.bbox i:nth-child(5) { left: 100%; top: 100%; }
.bbox i:nth-child(6) { left: 50%; top: 100%; }
.bbox i:nth-child(7) { left: 0; top: 100%; }
.bbox i:nth-child(8) { left: 0; top: 50%; }
/* The motion path between two keyframes, with its curve handles while it is being edited. */
.live__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
}
.live__path.is-on {
  opacity: 1;
}
.mp {
  stroke: var(--site-ink);
  stroke-width: 1.5;
  stroke-dasharray: 1 6;
  stroke-linecap: round;
}
.mp-key {
  fill: var(--site-card);
  stroke: var(--site-ink);
  stroke-width: 1.5;
}
.mp-arm {
  stroke: var(--color-orange-500);
  stroke-width: 1;
}
.mp-dot {
  fill: var(--site-card);
  stroke: var(--color-orange-500);
  stroke-width: 1.5;
}
.mp-arm,
.mp-dot {
  opacity: 0;
}
.is-edit .mp-arm,
.is-edit .mp-dot {
  opacity: 1;
}
.cursor {
  display: flex;
  align-items: flex-start;
  z-index: 2;
  color: var(--color-blue-500);
}
.cursor svg {
  flex: none;
  margin: -2px 0 0 -2px;
}
.cursor b {
  margin: 12px 0 0 -2px;
  padding: 1px var(--space-2);
  border-radius: var(--radius-full);
  background: currentColor;
  font-size: 0.6875rem;
  font-weight: var(--type-weight-medium);
  line-height: 1.5;
  white-space: nowrap;
}
.cursor b::first-line {
  color: var(--color-white);
}
.cursor--a {
  color: var(--color-blue-500);
}
.cursor--b {
  color: var(--color-orange-500);
}
/* The visitor's own cursor is drawn like everyone else's, so the system pointer is hidden over the stage. */
.cursor--you {
  color: var(--color-primary-600);
  opacity: 0;
}
.cursor--you.is-on {
  opacity: 1;
}
.cursor--you-dot {
  color: var(--color-primary-600);
}
@media (hover: hover) and (pointer: fine) {
  .is-live .live__stage {
    pointer-events: auto;
  }
  .live.is-you .live__stage {
    cursor: none;
  }
}
.live {
  position: relative;
}
.live .lrow .key.key--a {
  background: var(--color-blue-500);
}
.live__timeline {
  --name: 5.5rem;
  padding: var(--space-2) var(--space-3) var(--space-3);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: color-mix(in srgb, var(--site-card) 88%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 var(--space-3) var(--space-8) calc(var(--space-2) * -1) var(--site-shadow);
  font-size: 0.6875rem;
}
.live__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
  color: var(--site-muted);
  font-family: var(--type-family-mono);
}
.live__who {
  display: flex;
}
.live__who i {
  width: 0.875rem;
  height: 0.875rem;
  margin-left: -3px;
  border: 1.5px solid var(--site-card);
  border-radius: var(--radius-full);
  background: currentColor;
}
.live__rows {
  position: relative;
  display: grid;
  gap: 3px;
}
.lrow {
  --tone: transparent;
  display: grid;
  grid-template-columns: var(--name) minmax(0, 1fr);
  align-items: center;
  height: 1.25rem;
}
.live .lrow:not(.lrow--ruler) {
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.live .lrow.is-on {
  opacity: 1;
  transform: none;
}
.lrow--ruler {
  height: 0.875rem;
  color: var(--site-muted);
  font-family: var(--type-family-mono);
  font-size: 0.5625rem;
}
.lrow--ruler .lrow__track {
  background: none;
}
.lrow--ruler em {
  position: absolute;
  left: calc(6px + (100% - 12px) * var(--x));
  font-style: normal;
  transform: translateX(-50%);
}
.live .lrow .key {
  left: calc(6px + (100% - 12px) * var(--x));
  background: var(--color-orange-500);
  animation: none;
  transform: rotate(45deg) scale(0);
  transition: transform 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.live .lrow .key.is-on {
  transform: rotate(45deg) scale(1);
}
.lrow__name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--site-muted);
  transition: color 0.15s;
}
.lrow.is-held .lrow__name {
  color: var(--site-ink);
}
.sw {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-xs);
}
.sw--disc {
  border-radius: var(--radius-full);
  background: var(--color-primary-400);
}
.sw--tile {
  background: var(--color-sky-500);
}
.sw--pill {
  background: var(--site-ink);
}
.lrow__track {
  position: relative;
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--site-line);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.15s;
}
.lrow.is-held .lrow__track {
  box-shadow: inset 0 0 0 1px var(--tone);
}
.lrow__clip {
  position: absolute;
  inset: 3px 2px;
  border-radius: var(--radius-xs);
  background: color-mix(in srgb, var(--site-ink) 9%, transparent);
}
.lrow .key {
  position: absolute;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  background: var(--tone);
  transform: rotate(45deg);
  animation: key-pop 0.4s cubic-bezier(0.2, 1.6, 0.4, 1);
}
@keyframes key-pop {
  from {
    transform: rotate(45deg) scale(0);
  }
}
.live__playhead {
  --x: 0;
  position: absolute;
  top: -4px;
  bottom: -3px;
  left: calc(var(--name) + 6px + (100% - var(--name) - 12px) * var(--x));
  width: 1px;
  background: var(--color-primary-600);
}
.live__playhead::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -4px;
  border: 4.5px solid transparent;
  border-top: 6px solid var(--color-primary-600);
}

/* Assistant demo: assistants connect to Avocet over MCP; each tool call travels the wire and lands on the frame. */
.agent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
  font-size: var(--site-type-small);
}
.agent__connect {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  row-gap: 4.25rem;
  padding: 0 0 2.25rem;
}
.agent__clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.agent__clients li {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  color: var(--site-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  transition: color 0.25s;
}
.agent__clients .ico {
  width: 1.75rem;
  height: 1.75rem;
  transition: transform 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.agent__clients li.is-active {
  color: var(--site-ink);
}
.agent__clients li.is-active .ico {
  transform: scale(1.18);
}
.agent__any i {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px dashed var(--site-muted);
  border-radius: var(--radius-full);
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
}
.agent__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.agent__wires path {
  fill: none;
  stroke: color-mix(in srgb, var(--site-ink) 20%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}
.agent__wires path.is-active {
  stroke: var(--site-ink);
}
.agent__packet {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-600);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary-600) 22%, transparent);
  offset-rotate: 0deg;
  opacity: 0;
  pointer-events: none;
}
.agent__packet.go {
  animation: packet 0.85s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}
@keyframes packet {
  0% {
    offset-distance: 0%;
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 1;
  }
}
.agent__hub {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5) var(--space-2) var(--space-4);
  border: 1px solid var(--site-line);
  border-radius: var(--radius-full);
  background: var(--site-card);
  box-shadow: 0 var(--space-2) var(--space-6) calc(var(--space-2) * -1) var(--site-shadow);
  font-weight: var(--type-weight-medium);
  transition:
    border-color 0.2s,
    transform 0.3s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.agent__hub.is-hit {
  border-color: var(--color-primary-600);
  transform: scale(1.05);
}
.agent__hub .mark {
  width: 1.75rem;
  height: auto;
}
.agent__chat {
  min-height: 28rem;
  padding: var(--space-6);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-card);
}
.agent__who {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  color: var(--site-muted);
  font-size: 0.75rem;
}
.agent__who--ai {
  margin-top: var(--space-5);
}
.agent__ai {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--site-ink);
  font-weight: var(--type-weight-medium);
}
.agent__ai::before {
  content: '·';
  color: var(--site-muted);
}
.agent__ai .ico {
  width: 0.875rem;
  height: 0.875rem;
}
.agent__prompt {
  min-height: 4.5em;
  font-size: var(--site-type-body);
}
.agent__prompt::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  background: var(--site-ink);
  vertical-align: -0.15em;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.agent__calls {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--type-family-mono);
  font-size: 0.75rem;
}
.agent__calls li {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  animation: call-in 0.3s ease-out;
}
.agent__calls li::before {
  content: '';
  flex: none;
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--color-primary-500);
  transform: rotate(45deg);
}
.agent__calls li.is-running::before {
  background: var(--site-muted);
  animation: caret 0.5s steps(1) infinite;
}
.agent__calls b {
  font-weight: var(--type-weight-medium);
}
.agent__calls span {
  color: var(--site-muted);
}
@keyframes call-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
/* the project the assistant is building: a dark stage, the frame, and a small timeline */
.agent__out {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 28rem;
  overflow: hidden;
  border-radius: var(--site-radius);
  background: var(--color-bg-stage);
  color: var(--color-text-default);
}
.ag__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 3rem 1rem 1.75rem;
}
.ag__stage .rs__dim {
  top: auto;
  bottom: var(--space-2);
}
/* the bar over the stage: what the file is, and what the assistant is doing in it */
.ag__bar {
  position: absolute;
  inset: var(--space-3) var(--space-4) auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
}
.ag__count {
  padding: 0.125rem var(--space-2);
  border-radius: var(--radius-full);
  background: var(--color-bg-default);
  color: var(--color-text-muted);
  transition: background 0.3s, color 0.3s;
}
.ag__count.is-template {
  background: var(--color-primary-800);
  color: var(--color-text-default);
}
.ag__build {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-default);
}
.ag__build i {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: var(--radius-full);
  background: var(--color-label-orange);
  animation: ag-pulse 1.1s ease-in-out infinite;
}
.ag__build.is-idle i {
  animation: none;
  opacity: 0.45;
}
@keyframes ag-pulse {
  50% {
    transform: scale(1.6);
    opacity: 0.5;
  }
}
/* the assistant's cursor, drawn the way the editor draws other people */
.ag__cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s;
}
.ag__cursor.is-on {
  opacity: 1;
}
.ag__cursor svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: var(--color-label-orange);
  stroke: var(--color-white);
  stroke-width: 1.2;
}
.ag__cursor b {
  position: absolute;
  top: 0.9rem;
  left: 0.7rem;
  padding: 0 var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--color-label-orange);
  color: var(--color-neutral-950);
  font-family: var(--type-family-base);
  font-size: 0.625rem;
  font-weight: var(--type-weight-semibold);
  line-height: 1.5;
}
/* the slide the template is made from: a moon and a sun for art, the key line under a highlighter */
.ag__frame .rs__art i {
  background: radial-gradient(circle at 42% 38%, var(--color-neutral-300), var(--color-neutral-600) 80%);
}
.ag__frame .rs__art i + i {
  background: var(--color-error-500);
}
.ag__frame .rs__copy span {
  padding: 0.5cqmin 2.5cqmin;
  border-radius: var(--radius-xs);
  background: var(--color-orange-200);
  color: var(--color-neutral-950);
  font-weight: var(--type-weight-semibold);
}
.ag__frame {
  width: 62%;
  height: 58%;
  overflow: hidden;
}
.ag__frame .rs__in {
  z-index: 1;
}
.ag__frame .rs__copy b,
.ag__frame .rs__copy span {
  position: relative;
  transition: outline-color 0.25s;
  outline: 1.5px dashed transparent;
  outline-offset: 0.8cqmin;
}
.ag__frame .rs__copy b.is-field,
.ag__frame .rs__copy span.is-field {
  outline-color: var(--color-primary-600);
}
.ag__frame .is-field::after {
  content: attr(data-tag);
  position: absolute;
  top: -3.4cqmin;
  right: -0.5cqmin;
  padding: 0 1.2cqmin;
  border-radius: var(--radius-xs);
  background: var(--color-primary-600);
  color: var(--color-white);
  font-family: var(--type-family-mono);
  font-size: 2.6cqmin;
  font-weight: var(--type-weight-regular);
  letter-spacing: 0;
  line-height: 1.5;
}
.ag__frame.is-swap .rs__copy b,
.ag__frame.is-swap .rs__copy span {
  animation: swap-in 0.45s ease-out;
}
@keyframes swap-in {
  from {
    opacity: 0;
    transform: translateY(0.25em);
  }
}
.ag__tl .ez__track small {
  position: absolute;
  left: 8px;
  top: 50%;
  color: var(--color-text-secondary);
  font-family: var(--type-family-mono);
  font-size: 0.625rem;
  transform: translateY(-50%);
}
.ag__tl .ez__track {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding-inline: 6px;
}
.ag__chip {
  position: relative;
  padding: 0 var(--space-2);
  border-radius: var(--radius-full);
  background: var(--color-primary-800);
  color: var(--color-text-default);
  font-size: 0.625rem;
  white-space: nowrap;
  animation: call-in 0.35s ease-out backwards;
}
.ag__tl {
  --name: 6.5rem;
  display: grid;
  gap: 3px;
  min-height: 4.25rem;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-bg-default);
  font-size: 0.6875rem;
}
.ag__tl .ez__row {
  animation: call-in 0.35s ease-out;
}
.ag__tl .ez__track u {
  animation: key-pop 0.4s cubic-bezier(0.2, 1.6, 0.4, 1) backwards;
}
.agent__done {
  min-height: 1.75rem;
  margin: 0;
  padding: 0 var(--space-4) var(--space-3);
  background: var(--color-bg-default);
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
}
.block--agent > .sub {
  margin-top: var(--space-4);
}

/* Plain lists of tool names. */
.index {
  columns: 4;
  column-gap: var(--space-8);
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}
.index li,
.index-col li {
  padding-block: var(--space-2);
  border-top: 1px solid var(--site-line);
  break-inside: avoid;
}
.index-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-12) var(--space-8);
  margin-top: var(--space-8);
}
.index-col ul {
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.index-col h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.cards--flush {
  margin-top: 0;
}
.head > .hero__media {
  margin-top: var(--space-8);
  padding-bottom: 0;
}

/* Gravity on the 404 page. */
.head--drop {
  position: relative;
  min-height: 34rem;
  align-content: center;
  overflow: hidden;
}
.head--drop > :not(.drop) {
  position: relative;
  z-index: 1;
}
.drop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Timeline ruler under the top bar; the playhead follows the scroll. */
.ruler {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--site-line) 0 1px, transparent 1px 12px);
  pointer-events: none;
}
.ruler__head {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 7px;
  background: var(--color-primary-600);
}
.ruler__head::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -4px;
  border: 4.5px solid transparent;
  border-top: 6px solid var(--color-primary-600);
}
.ruler__time {
  position: absolute;
  right: var(--site-pad);
  top: 12px;
  color: var(--site-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.nav:hover .ruler__time {
  opacity: 1;
}
/* Headline words and scrolled-in pieces. Hidden states apply only once scripts are running. */
.word {
  display: inline-block;
  color: inherit;
  opacity: 0;
  transform: translateY(0.5em) rotate(2deg);
  transition:
    opacity 0.5s,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i) * 45ms);
}
.in > .word,
.in span > .word {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(var(--space-5));
  transition:
    opacity 0.6s,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
/* A door lifts and its arrow travels, like a layer nudged by a field. */
.door {
  transition:
    border-color 0.15s,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .door.reveal.in:hover,
.door:hover {
  transform: translateY(-4px);
}
.more::after {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
a:hover > .more::after {
  transform: translateX(4px);
}

/* ---- stacking stage cards: a pinned index on the left, cards that pin and slide over each other ---- */
.block--stack {
  --stack-top: 5.5rem;
  --stack-step: var(--space-6);
}
.stack {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
  margin-top: var(--space-12);
}
.stack__index {
  position: sticky;
  top: var(--stack-top);
}
.stack__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  color: var(--site-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stack__label::before {
  content: '';
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--color-primary-600);
  transform: rotate(45deg);
}
.stack__index ol {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0 0 0 var(--space-4);
  border-left: 1px solid var(--site-line);
  list-style: none;
}
.stack__index li {
  position: relative;
}
.stack__index a {
  color: var(--site-muted);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.stack__index a:hover,
.stack__index a.is-active {
  color: var(--site-ink);
}
/* a keyframe diamond marks where the playhead is */
.stack__index li::before {
  content: '';
  position: absolute;
  left: calc(var(--space-4) * -1 - 4px);
  top: 50%;
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--color-primary-600);
  transform: translateY(-50%) rotate(45deg) scale(0);
  transition: transform 0.3s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.stack__index li.is-active::before {
  transform: translateY(-50%) rotate(45deg) scale(1);
}
.stack__cards {
  display: grid;
}
.scard {
  position: sticky;
  top: calc(var(--stack-top) + var(--n) * var(--stack-step));
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-6);
  height: 27rem;
  margin-bottom: var(--space-6);
  padding: var(--space-8);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-card);
  box-shadow: 0 calc(var(--space-6) * -1) var(--space-8) calc(var(--space-4) * -1) color-mix(in srgb, var(--site-ink) 14%, transparent);
  overflow: hidden;
}
.scard:last-child {
  margin-bottom: 0;
}
.scard__text {
  display: flex;
  flex-direction: column;
}
.scard__tag {
  margin-bottom: var(--space-4);
  color: var(--site-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scard h3 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: var(--type-weight-regular);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.scard__text > p:not(.scard__tag) {
  margin-top: var(--space-3);
  color: var(--site-muted);
}
.scard .more {
  padding-top: var(--space-6);
}
.scard__media {
  min-height: 0;
}
.scard__media .slot {
  height: 100%;
  aspect-ratio: auto !important;
}

/* ---- toys: playable miniatures of Avocet tools, on a dark stage like the editor ---- */
.toy {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 20rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-stage);
  color: var(--color-text-default);
  user-select: none;
  -webkit-user-select: none;
}
.toy__hint {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  pointer-events: none;
}
.toy__chips {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.toy__chips--top {
  top: var(--space-3);
  bottom: auto;
}
.tchip {
  padding: 2px var(--space-3);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-bg-stage) 80%, transparent);
  color: var(--color-text-secondary);
  font: inherit;
  font-size: 0.75rem;
  line-height: 1.6;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.tchip:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text-default);
}
.tchip.is-on {
  border-color: var(--color-text-default);
  background: var(--color-text-default);
  color: var(--color-bg-stage);
}
.toy__reset {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  z-index: 2;
}
.toy__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.scard__media .toy {
  min-height: 0;
}

/* pen */
.pen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}
.pen.is-grab {
  cursor: grab;
}
.pen__path {
  fill: none;
  stroke: var(--color-primary-400);
  stroke-width: 3;
  stroke-linecap: round;
}
.pen__handles line {
  stroke: var(--color-orange-500);
  stroke-width: 1;
}
.pen__handles circle {
  fill: var(--color-bg-stage);
  stroke: var(--color-orange-500);
  stroke-width: 1.5;
}
.pen__anchors rect {
  fill: var(--color-bg-stage);
  stroke: var(--color-text-default);
  stroke-width: 1.5;
}
.pen__anchors rect.is-on {
  fill: var(--color-text-default);
}

/* easing */
.ez__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: var(--space-8);
}
.tshape {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  will-change: transform;
}
.tshape--0 {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-400);
}
.tshape--1 {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-sky-500);
}
.tshape--2 {
  width: 76px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-text-default);
}
.ez__tl {
  --name: 4.75rem;
  padding: var(--space-3) var(--space-4) var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-bg-default);
  font-size: 0.6875rem;
  cursor: ew-resize;
  touch-action: pan-y;
}
.ez__rows {
  position: relative;
  display: grid;
  gap: 3px;
}
.ez__row {
  display: grid;
  grid-template-columns: var(--name) minmax(0, 1fr);
  align-items: center;
  height: 1.375rem;
  color: var(--color-text-muted);
}
.ez__row > span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.ez__sw {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-xs);
}
.ez__sw--0 {
  border-radius: var(--radius-full);
  background: var(--color-primary-400);
}
.ez__sw--1 {
  background: var(--color-sky-500);
}
.ez__sw--2 {
  background: var(--color-text-default);
}
.ez__track {
  position: relative;
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--color-bg-stage);
}
.ez__track b {
  position: absolute;
  inset-block: 4px;
  border-radius: var(--radius-xs);
  background: var(--color-primary-800);
}
.ez__track u {
  position: absolute;
  top: 50%;
  width: 0.4375rem;
  height: 0.4375rem;
  margin: -0.21875rem 0 0 -0.21875rem;
  background: var(--color-orange-500);
  transform: rotate(45deg);
}
.ez__head {
  --x: 0;
  position: absolute;
  top: -4px;
  bottom: -3px;
  left: calc(var(--name) + (100% - var(--name)) * var(--x));
  width: 1px;
  background: var(--color-primary-400);
  pointer-events: none;
}
.ez__head::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -4px;
  border: 4.5px solid transparent;
  border-top: 6px solid var(--color-primary-400);
}

/* comment pins */
.pn__stage {
  position: relative;
  flex: 1;
  min-height: 0;
}
.pn__frame {
  position: absolute;
  inset: 16% 12% 14%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--color-neutral-800);
}
.pn__frame b {
  font-size: 1.375rem;
  font-weight: var(--type-weight-semibold);
  letter-spacing: -0.02em;
}
.pn__frame i {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-400);
}
.pn__layer {
  position: absolute;
  inset: 0;
  cursor: crosshair;
}
.pn__pin {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
  transform: translate(-0.6875rem, -0.6875rem) scale(0.6);
  opacity: 0;
  transition:
    opacity 0.25s,
    transform 0.35s cubic-bezier(0.2, 1.5, 0.4, 1);
  pointer-events: none;
}
.pn__pin.is-in {
  opacity: 1;
  transform: translate(-0.6875rem, -0.6875rem);
}
.pn__pin.is-out {
  opacity: 0;
}
.pn__pin span {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: var(--radius-full) var(--radius-full) var(--radius-full) 0;
  background: var(--c);
  color: var(--color-bg-stage);
  font-size: 0.6875rem;
  font-weight: var(--type-weight-semibold);
}
.pn__pin p {
  margin: 0;
  padding: 2px var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-neutral-700);
  font-size: 0.6875rem;
  line-height: 1.4;
  white-space: nowrap;
}
.pn__pin p b {
  color: var(--c);
  font-weight: var(--type-weight-medium);
}
.pn__pin.is-left {
  flex-direction: row-reverse;
}
.cursor-t {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}
.cursor-t.is-on {
  opacity: 1;
}
.cursor-t svg {
  flex: none;
  margin: -2px 0 0 -2px;
}
.cursor-t b {
  margin: 12px 0 0 -2px;
  padding: 1px var(--space-2);
  border-radius: var(--radius-full);
  background: currentColor;
  font-size: 0.6875rem;
  font-weight: var(--type-weight-medium);
  line-height: 1.5;
}
.cursor-t b::first-line {
  color: var(--color-bg-stage);
}
.pn__tl {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  align-items: center;
  height: 2.75rem;
  padding: 0 var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-bg-default);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
}
.pn__track {
  position: relative;
  height: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-stage);
}
.pn__track u {
  position: absolute;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  transform: rotate(45deg);
}
.pn__head {
  --x: 0;
  position: absolute;
  inset-block: -4px;
  left: calc(var(--x) * 100%);
  width: 1px;
  background: var(--color-primary-400);
}

/* resizable frame */
.rs__stage {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  padding-bottom: 2.75rem;
}
.rs__frame {
  position: relative;
  container-type: size;
  width: 70%;
  height: 50%;
  border-radius: var(--radius-md);
  background: var(--site-card);
  color: var(--site-ink);
  transition:
    width 0.6s cubic-bezier(0.65, 0, 0.35, 1),
    height 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.rs__frame.is-drag {
  transition: none;
}
.rs__in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7cqmin;
  padding: 8cqmin;
}
.rs__art {
  position: relative;
  flex: none;
  width: 30cqmin;
  aspect-ratio: 1;
}
.rs__art i {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: url('img/blossom-1.jpg') center / cover;
}
.rs__art i + i {
  inset: auto;
  bottom: -6%;
  left: -16%;
  width: 46%;
  height: 46%;
  background-image: url('img/blossom-2.jpg');
  box-shadow: 0 0 0 2px var(--site-card);
}
.rs__copy {
  display: grid;
  justify-items: center;
  gap: 3cqmin;
  text-align: center;
}
.rs__copy b {
  font-size: 10cqmin;
  font-weight: var(--type-weight-semibold);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.rs__copy span {
  padding: 1cqmin 3.5cqmin;
  border-radius: var(--radius-full);
  background: var(--site-ink);
  color: var(--color-white);
  font-size: 5cqmin;
  white-space: nowrap;
}
@container (min-aspect-ratio: 13/10) {
  .rs__in {
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-inline: 10cqmin;
  }
  .rs__art {
    width: 56cqh;
  }
  .rs__copy {
    justify-items: start;
    text-align: left;
  }
  .rs__copy b {
    font-size: 14cqh;
  }
  .rs__copy span {
    font-size: 7cqh;
  }
}
@container (max-aspect-ratio: 4/5) {
  .rs__art {
    width: 52cqw;
  }
  .rs__in {
    gap: 9cqh;
  }
  .rs__copy b {
    font-size: 15cqw;
  }
  .rs__copy span {
    font-size: 7.5cqw;
  }
}
.rs__handle {
  position: absolute;
  right: -7px;
  bottom: -7px;
  z-index: 2;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 1.5px solid var(--color-primary-400);
  border-radius: var(--radius-xs);
  background: var(--color-bg-stage);
  cursor: nwse-resize;
  touch-action: none;
}
.rs__dim {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  font-style: normal;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* ---- invite page ---- */
.invite__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-3);
}
.pill--lg {
  height: 3rem;
  padding-inline: var(--space-6);
  font-size: var(--site-type-body);
}
.pill:disabled {
  opacity: 0.6;
  cursor: progress;
}
.block--form {
  padding-top: 0;
  border-top: 0;
}
.invite-page {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-8);
  align-items: start;
}
.invite-side {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: var(--space-5);
}
.have-code,
.next,
.request {
  padding: var(--space-6);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-card);
}
.have-code h2,
.next h2,
.request h2 {
  font-size: 1.375rem;
  font-weight: var(--type-weight-medium);
  letter-spacing: -0.02em;
}
.have-code p {
  margin-top: var(--space-1);
  color: var(--site-muted);
}
.have-code .code {
  max-width: none;
  margin-top: var(--space-4);
}
.next {
  background: none;
}
.next ol {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: next;
}
.next li {
  position: relative;
  padding-left: var(--space-8);
  color: var(--site-muted);
  counter-increment: next;
}
.next li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--site-line);
  border-radius: var(--radius-full);
  color: var(--site-ink);
  font-family: var(--type-family-mono);
  font-size: 0.75rem;
}
.next li b {
  color: var(--site-ink);
  font-weight: var(--type-weight-medium);
}
.request {
  padding: var(--space-8);
}
.rform {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.rform__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.ff {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.ff > span,
.ff > legend {
  padding: 0;
  font-size: var(--site-type-small);
  font-weight: var(--type-weight-medium);
}
.ff em {
  margin-left: var(--space-1);
  color: var(--site-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: var(--type-weight-regular);
}
.ff input[type='text'],
.ff input[type='email'],
.ff textarea {
  width: 100%;
  min-width: 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--site-line);
  border-radius: var(--radius-lg);
  background: var(--site-bg);
  color: var(--site-ink);
  font: inherit;
  font-size: var(--site-type-body);
}
.ff textarea {
  resize: vertical;
  min-height: 5.5rem;
}
.ff input::placeholder,
.ff textarea::placeholder {
  color: var(--site-muted);
}
.ff input:hover,
.ff textarea:hover {
  border-color: var(--site-muted);
}
.ff input:focus-visible,
.ff textarea:focus-visible {
  outline: none;
  border-color: var(--site-ink);
  box-shadow: 0 0 0 1px var(--site-ink);
}
.ff [aria-invalid='true'] {
  border-color: var(--color-orange-500);
}
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.opt {
  position: relative;
}
.opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.opt span {
  display: block;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--site-line);
  border-radius: var(--radius-md);
  background: var(--site-bg);
  font-size: var(--site-type-small);
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.opt:hover span {
  border-color: var(--site-muted);
}
.opt input:checked + span {
  border-color: var(--site-ink);
  background: var(--site-ink);
  color: var(--color-white);
}
.opt input:focus-visible + span {
  outline: 2px solid var(--color-action-primary-default);
  outline-offset: 2px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.rform__error {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-orange-500) 14%, var(--site-card));
  font-size: var(--site-type-small);
}
.rform__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}
.rform__note {
  flex: 1;
  min-width: 14rem;
  margin: 0;
  color: var(--site-muted);
  font-size: 0.8125rem;
}
.rform__note a,
.request__done a:not(.pill) {
  color: var(--site-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.request__done {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  padding-block: var(--space-8);
  outline: none;
}
.request__done h2 span {
  color: inherit;
}
.request__done p {
  max-width: 30rem;
  color: var(--site-muted);
}
.request__done b {
  color: var(--site-ink);
  font-weight: var(--type-weight-medium);
}
.request__form[hidden],
.request__done[hidden] {
  display: none;
}
@media (max-width: 56rem) {
  .invite-page {
    grid-template-columns: minmax(0, 1fr);
  }
  .invite-side {
    position: static;
  }
  .request {
    padding: var(--space-5);
  }
  .rform__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- hero scene, version 2: build, animate, review, resize ---- */
.hero--field > .live.live--v2 {
  display: block;
  position: relative;
  height: clamp(25rem, 64svh, 34rem);
  overflow-x: clip;
}
.hv {
  position: absolute;
  inset: 0;
  user-select: none;
  -webkit-user-select: none;
}
.hv__stage {
  position: absolute;
  inset: 0;
}
@media (hover: hover) and (pointer: fine) {
  .live--v2 .hv__stage {
    pointer-events: auto;
  }
  .live--v2.is-you .hv__stage {
    cursor: none;
  }
}
.hv__board {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--radius-lg);
  border-color: var(--color-primary-900);
  background: var(--color-primary-950);
  box-shadow: 0 var(--space-6) var(--space-12) calc(var(--space-3) * -1) var(--site-shadow);
  container-type: size;
  will-change: transform, width, height;
}
.hv__tag {
  position: absolute;
  top: 7%;
  left: 6%;
  color: color-mix(in srgb, var(--site-ink) 55%, transparent);
  font-family: var(--type-family-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hv__disc {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  border: 1.5px dashed var(--color-primary-300);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-primary-300) 14%, transparent);
}
.hv__ph {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 34% 28%, var(--color-primary-300), var(--color-primary-600) 52%, var(--color-primary-900));
  opacity: 0;
  clip-path: circle(50%);
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--site-ink) 45%, transparent);
}
.hv__ph--b {
  inset: auto;
  bottom: -8%;
  left: -16%;
  width: 48%;
  height: 48%;
  background: linear-gradient(160deg, var(--color-sky-300), var(--color-sky-600));
  box-shadow: 0 0 0 3px var(--color-primary-900), 0 10px 20px -10px color-mix(in srgb, var(--site-ink) 45%, transparent);
}
.hv__title {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-white);
  font-weight: var(--type-weight-semibold);
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}
.hv__title b {
  display: block;
  font-weight: inherit;
}
.hv__title em {
  color: var(--color-orange-300);
  font-style: italic;
  font-weight: var(--type-weight-semibold);
}
.hv__typed {
  display: inline;
}
.hv__caret {
  display: inline-block;
  width: 0.05em;
  min-width: 2px;
  height: 0.9em;
  margin-left: 0.04em;
  background: var(--color-orange-300);
  text-decoration: none;
  vertical-align: -0.1em;
  opacity: 0;
}
.hv__pill {
  box-sizing: border-box;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.35em 0.9em;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-orange-300);
  font-weight: var(--type-weight-semibold);
  line-height: 1.2;
  white-space: nowrap;
  transform-origin: center;
}
.hv__a {
  color: var(--color-blue-500);
}
.hv__b {
  color: var(--color-orange-500);
}
.live--v2 .cursor--c {
  color: var(--color-ease-500);
}
.live--v2 .cursor--d {
  color: var(--color-error-500);
}
.hv__pin {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
  margin: -0.6875rem 0 0 -0.6875rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.hv__pin.is-in {
  opacity: 1;
}
.hv__pin.is-flip {
  flex-direction: row-reverse;
}
.hv__pin > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: var(--radius-full) var(--radius-full) var(--radius-full) 0;
  background: var(--c, var(--site-ink));
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: var(--type-weight-semibold);
}
.hv__pin--a {
  --c: var(--color-blue-500);
}
.hv__pin--b {
  --c: var(--color-orange-500);
}
.hv__pin--c {
  --c: var(--color-ease-500);
}
.hv__pin--d {
  --c: var(--color-error-500);
}
.hv__pin p {
  margin: 0;
  padding: 2px var(--space-2);
  border: 1px solid var(--site-line);
  border-radius: var(--radius-md);
  background: var(--site-card);
  box-shadow: 0 var(--space-1) var(--space-3) calc(var(--space-1) * -1) var(--site-shadow);
  font-size: 0.6875rem;
  line-height: 1.4;
  white-space: nowrap;
}
.hv__pin p b {
  color: var(--c);
  font-weight: var(--type-weight-medium);
}
.hv__status {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-orange-500);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: var(--type-weight-medium);
  opacity: 0;
  transition:
    opacity 0.3s,
    background 0.3s;
}
.hv__status.is-on {
  opacity: 1;
}
.hv__status.is-ok {
  background: var(--color-primary-600);
}
.hv__who {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
}
.hv__av {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: -0.375rem;
  border: 2px solid var(--site-bg);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: 0.625rem;
  font-style: normal;
  font-weight: var(--type-weight-semibold);
}
.hv__av--a {
  background: var(--color-blue-500);
}
.hv__av--b {
  background: var(--color-orange-500);
}
.hv__av--c,
.hv__av--d {
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.3s,
    transform 0.4s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.hv__av--c.is-in,
.hv__av--d.is-in {
  opacity: 1;
  transform: none;
}
.hv__av--c {
  background: var(--color-ease-500);
}
.hv__av--d {
  background: var(--color-error-500);
}
.hv__size {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--site-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  font-style: normal;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.live--v2 .live__timeline {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}
.live--v2 .hv > .cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}

/* ---- narrow screens ---- */
@media (max-width: 56rem) {
  .nav {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    order: 3;
    height: 2rem;
    padding-inline: var(--space-3);
    border: 1px solid var(--site-line);
    border-radius: var(--radius-full);
    background: var(--site-card);
    color: var(--site-ink);
    font: inherit;
    font-size: var(--site-type-small);
    cursor: pointer;
  }
  .nav__end {
    order: 2;
  }
  .nav__quiet {
    display: none;
  }
  .nav__links {
    display: none;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-bottom: var(--space-3);
    font-size: var(--site-type-body);
  }
  .nav__toggle[aria-expanded='true'] + .nav__links {
    display: flex;
  }
  .nav__links > a,
  .menu__btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-block: var(--space-3);
    border-top: 1px solid var(--site-line);
    color: var(--site-ink);
  }
  .nav__only-small {
    display: flex;
  }
  .menu__panel,
  .menu:hover .menu__panel,
  .menu:focus-within .menu__panel {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 var(--space-2);
    border: 0;
    box-shadow: none;
    background: none;
  }
  .menu__btn[aria-expanded='true'] + .menu__panel {
    display: grid;
  }
  .menu__panel--cols2 {
    width: auto;
    grid-template-columns: 1fr;
  }
  .head {
    padding-block: var(--space-16) var(--space-12);
  }
  .facts,
  .doors,
  .jobs,
  .plans,
  .cards--three,
  .versus {
    grid-template-columns: minmax(0, 1fr);
  }
  .door {
    min-height: 0;
  }
  .rowlink,
  .log__item {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-1);
  }
  .hero {
    padding-top: var(--space-16);
  }
  .block {
    padding-block: var(--space-16);
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .steps li:nth-child(n + 3) {
    margin-top: var(--space-8);
    border-top: 1px solid var(--site-line);
  }
  .steps li::before {
    margin-bottom: var(--space-6);
  }
  .foot__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot__brand {
    grid-column: 1 / -1;
  }
  .wall--three,
  .wall--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 36rem) {
  .frame {
    border-inline: 0;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav__end {
    display: none;
  }
  .nav__toggle {
    margin-left: auto;
  }
  .invite {
    padding-inline: var(--space-5);
  }
  .code {
    flex-direction: column;
  }
}
@media (max-width: 56rem) {
  .stack {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }
  .stack__index {
    display: none;
  }
  .stack__cards {
    gap: var(--space-5);
  }
  .scard {
    position: static;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    margin-bottom: 0;
    padding: var(--space-5);
    box-shadow: none;
  }
  .scard__media .slot {
    aspect-ratio: 4 / 3 !important;
    height: auto;
  }
  .scard__media .toy {
    height: 22rem;
  }
  .agent {
    grid-template-columns: minmax(0, 1fr);
  }
  .agent__chat {
    min-height: 0;
    padding: var(--space-4);
  }
  .agent__out {
    min-height: 0;
  }
  .ag__stage {
    height: 17rem;
  }
  .agent__connect {
    row-gap: 3.5rem;
  }
  .agent__clients {
    gap: var(--space-3) var(--space-4);
  }
  .agent__clients li span {
    font-size: 0.625rem;
  }
  .agent__clients .agent__any span {
    display: none;
  }
  .ag__tl {
    --name: 5.5rem;
  }
  .index {
    columns: 2;
  }
  .index-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero--field {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .hero--field > .hero__copy {
    grid-row: 1;
  }
  .hero--field > .live {
    grid-column: 1;
    grid-row: 2;
    height: 22rem;
    margin-top: var(--space-8);
  }
  .hero--field > .live.live--v2 {
    height: 25rem;
  }
  .hero--field > .hero__media {
    grid-row: 3;
  }
  .field {
    -webkit-mask-image: linear-gradient(transparent 30%, #000 80%);
    mask-image: linear-gradient(transparent 30%, #000 80%);
    opacity: 0.7;
  }
  .hero__media {
    margin-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .foot__name span {
    animation: none;
  }
  .js .reveal,
  .word {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .door:hover {
    transform: none;
  }
}

/* the motion path of a layer being moved: a bezier curve with its two keyframes and handles */
.hv__paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hv__paths g {
  display: none;
}
.hv__paths g.is-on {
  display: block;
}
.hv__paths .mp--a {
  color: var(--color-blue-500);
}
.hv__paths .mp--b {
  color: var(--color-orange-500);
}
.hv__paths path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.hv__paths line {
  stroke: currentColor;
  stroke-width: 1.2;
  opacity: 0.75;
}
.hv__paths circle {
  fill: currentColor;
}
.hv__paths rect {
  fill: var(--color-white);
  stroke: currentColor;
  stroke-width: 2;
}

/* the circle's graphic: rings like a motion-graphic orb, and a small play badge */
.hv__ph::before,
.hv__ph::after {
  content: '';
  position: absolute;
  border-radius: var(--radius-full);
  border: 1.5px solid color-mix(in srgb, var(--color-white) 45%, transparent);
}
.hv__ph::before {
  inset: 14%;
}
.hv__ph::after {
  inset: 30%;
}
.hv__ph--b::before {
  display: none;
}
.hv__ph--b::after {
  inset: 34% 30% 34% 38%;
  border: 0;
  border-radius: 0;
  background: var(--color-white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hv__pill::before {
  content: '';
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-right: 0.5em;
  border-radius: var(--radius-full);
  background: var(--color-orange-300);
  vertical-align: 0.05em;
}

/* explainer set dressing: a field of blocks and hairlines, an orbit around the circle */
.hv__orbit {
  position: absolute;
  inset: -13%;
  border: 1.5px dashed color-mix(in srgb, var(--color-white) 40%, transparent);
  border-radius: var(--radius-full);
  animation: hv-spin 18s linear infinite;
}
.hv__orbit::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: var(--radius-full);
  background: var(--color-orange-300);
}
@keyframes hv-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hv__orbit {
    animation: none;
  }
}

.hv__title {
  font-family: var(--type-family-mono);
  font-weight: var(--type-weight-medium);
  letter-spacing: 0.12em;
}
.hv__title em {
  font-style: normal;
}
.hv__pill {
  font-family: var(--type-family-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hv__tunnel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hv__title {
  text-shadow: 0 0 0.35em var(--color-primary-950), 0 0 0.9em var(--color-primary-950);
}

/* ---- stage toys: tokens, storyboard, sizes, template ---- */
.tcur {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  color: var(--c);
  pointer-events: none;
}
.tcur b {
  position: absolute;
  top: 14px;
  left: 10px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-full);
  background: var(--c);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: var(--type-weight-medium);
  line-height: 1.5;
  white-space: nowrap;
}
/* tokens */
.tk__stage {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-10) var(--space-4) var(--space-2);
  --tk-fill: var(--color-primary-500);
  --tk-r: 14px;
}
.tk__main,
.tk__inst {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.tk__tag {
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
}
.tk__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 8.5rem;
  padding: var(--space-4);
  border: 2px solid transparent;
  border-radius: var(--tk-r);
  background: var(--tk-fill);
  transition: border-radius 0.35s, background 0.35s;
}
.tk__card--s {
  width: 5.2rem;
  padding: var(--space-3);
}
.tk__card.is-over {
  border-color: var(--color-white);
}
.tk__card.is-hit {
  animation: tk-hit 0.5s ease-out;
}
@keyframes tk-hit {
  30% {
    transform: scale(1.05);
  }
}
.tk__dot {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-neutral-950) 55%, transparent);
}
.tk__card b {
  height: 6px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-neutral-950) 40%, transparent);
}
.tk__card b + b {
  width: 60%;
}
.tk__inst {
  gap: var(--space-2);
}
.tk__prop {
  min-height: 1.2em;
  color: var(--color-text-secondary);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  font-style: normal;
}
.tk__tray {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-3);
}
.tk__tok {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 2px var(--space-3) 2px var(--space-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-bg-stage) 80%, transparent);
  color: var(--color-text-secondary);
  font: inherit;
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  cursor: grab;
  touch-action: none;
}
.tk__tok:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text-default);
}
.tk__tok i {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: var(--radius-full);
}
.tk__tok i.tk__r {
  border: 1.5px solid var(--color-text-secondary);
  border-radius: 3px;
}
.tk__ghost {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: 2px var(--space-3) 2px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--color-text-default);
  color: var(--color-bg-stage);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  pointer-events: none;
  translate: -50% -50%;
}
.tk__ghost.is-on {
  display: inline-flex;
}
.tk__ghost i {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: var(--radius-full);
}
.tk__ghost i.tk__r {
  border: 1.5px solid var(--color-bg-stage);
  border-radius: 3px;
}
/* storyboard + timeline */
.bd__lab,
.sz__lab {
  margin: 0;
  padding: var(--space-3) var(--space-3) var(--space-1);
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
}
.bd__frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  padding: 0 var(--space-3);
}
.bd__fr {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-white) 4%, transparent);
  cursor: crosshair;
  touch-action: none;
}
.bd__fr.is-pull {
  animation: bd-pulse 0.6s ease-out;
}
@keyframes bd-pulse {
  30% {
    border-color: var(--color-orange-300);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-orange-300) 50%, transparent);
  }
}
.bd__ball {
  position: absolute;
  width: 14%;
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  background: var(--color-primary-400);
  translate: -50% -50%;
}
.bd__fr .bd__ball {
  width: 16%;
}
.bd__time {
  position: absolute;
  right: 6px;
  bottom: 4px;
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.625rem;
}
.bd__canvas {
  position: relative;
  flex: 1;
  min-height: 3rem;
  margin: var(--space-2) var(--space-3) 0;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-white) 6%, transparent);
}
.bd__ball--live {
  width: 2.2rem;
  background: var(--color-primary-500);
}
.bd__tl {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  color: var(--color-text-secondary);
  font-size: 0.75rem;
}
.bd__track {
  position: relative;
  height: 1.6rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-white) 8%, transparent);
}
.bd__key {
  position: absolute;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--color-orange-300);
  rotate: 45deg;
  translate: -50% -50%;
  border-radius: 2px;
  cursor: ew-resize;
  touch-action: none;
}
.bd__key[data-i='0'],
.bd__key[data-i='2'] {
  cursor: default;
}
.bd__key.is-push {
  animation: bd-key 0.6s ease-out;
}
@keyframes bd-key {
  30% {
    scale: 1.7;
    background: var(--color-white);
  }
}
.bd__head {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--color-primary-400);
  translate: -1px 0;
  pointer-events: none;
}
/* sizes */
.sz__frames {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: var(--space-10) var(--space-4) var(--space-2);
  min-height: 0;
}
.sz__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.sz__col em {
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.625rem;
  font-style: normal;
}
.sz__fr {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--color-primary-800), var(--color-primary-950));
}
.sz__ball {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius-full);
  background: var(--color-orange-300);
}
.sz__bar {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius-full);
  background: var(--color-white);
}
.sz__tl {
  position: relative;
  padding: 0 var(--space-3) var(--space-3);
}
.sz__row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-1);
  color: var(--color-text-secondary);
  font-size: 0.75rem;
}
.sz__track {
  position: relative;
  height: 1.4rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-white) 8%, transparent);
}
.sz__track b {
  position: absolute;
  top: 0.45rem;
  bottom: 0.45rem;
  left: 0;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-primary-400) 45%, transparent);
}
.sz__k {
  position: absolute;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--color-orange-300);
  rotate: 45deg;
  translate: -50% -50%;
  border-radius: 2px;
}
.sz__k--end {
  cursor: ew-resize;
  touch-action: none;
}
.sz__head {
  position: absolute;
  top: 0;
  bottom: var(--space-3);
  width: 2px;
  background: var(--color-primary-400);
  pointer-events: none;
}
/* template */
.tp__stage {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-10) var(--space-4) var(--space-4);
}
.tp__poster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--space-2);
  aspect-ratio: 4 / 5;
  max-height: 100%;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 80% 18%, color-mix(in srgb, var(--color-primary-400) 45%, transparent), transparent 55%),
    linear-gradient(160deg, var(--color-primary-800), var(--color-primary-950));
  color: var(--color-white);
}
.tp__h {
  font-family: var(--type-family-mono);
  font-size: 0.95rem;
  font-weight: var(--type-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  outline: 1.5px dashed var(--color-orange-300);
  outline-offset: 3px;
}
.tp__d {
  padding: 0 var(--space-2);
  color: var(--color-orange-300);
  font-family: var(--type-family-mono);
  font-size: 0.75rem;
  outline: 1.5px dashed var(--color-orange-300);
  outline-offset: 3px;
}
.tp__poster.is-swap .tp__h,
.tp__poster.is-swap .tp__d {
  animation: tp-swap 0.45s ease-out;
}
@keyframes tp-swap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.tp__side {
  min-width: 0;
}
.tp__hand,
.tp__ai {
  display: none;
}
[data-mode='hand'] .tp__hand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
[data-mode='ai'] .tp__ai {
  display: block;
}
.tp__hand label {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  color: var(--color-text-muted);
  font-size: 0.75rem;
}
.tp__in {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-white) 6%, transparent);
  color: var(--color-text-default);
  font: inherit;
}
.tp__in:focus-visible {
  outline: 2px solid var(--color-primary-400);
  outline-offset: 1px;
}
.tp__call {
  margin: 0 0 var(--space-2);
  color: var(--color-text-muted);
  font-size: 0.75rem;
}
.tp__call code {
  color: var(--color-primary-300);
  font-family: var(--type-family-mono);
}
.tp__sheet {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tp__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-white) 5%, transparent);
  color: var(--color-text-secondary);
  font-size: 0.75rem;
}
.tp__row i {
  padding: var(--space-1) var(--space-2);
  font-style: normal;
}
.tp__row.is-on {
  background: color-mix(in srgb, var(--color-primary-400) 30%, transparent);
  color: var(--color-text-default);
}
.tp__out {
  margin: var(--space-2) 0 0;
  color: var(--color-primary-300);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
}

/* ---- design page hero: a slice of the editor (same tokens, floating toolbar, inspector and peer cursors as the app) ---- */
.dh {
  display: grid;
  grid-template-columns: 12rem 1fr 15rem;
  aspect-ratio: 21 / 9;
  min-height: 0;
  height: auto;
  font-size: 0.75rem;
  background: var(--color-bg-stage);
  --dh-fill: var(--color-primary-500);
  --dh-fade: 1;
}
.dh__canvas {
  position: relative;
  overflow: hidden;
}
.dh__tools {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  z-index: 4;
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-bg-default);
  transform: translateX(-50%);
}
.dh__tools i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 26px;
  border-radius: 6px;
  color: var(--color-text-muted);
}
.dh__tools i.is-on {
  background: var(--color-field-bg);
  color: var(--color-text-default);
}
.dh__tools svg {
  width: 16px;
  height: 16px;
}
.dh__board {
  position: absolute;
  top: 20%;
  bottom: 10%;
  border-radius: 2px;
  background: var(--color-neutral-900);
  outline: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
  opacity: var(--dh-fade);
}
.dh__board--a {
  left: 5%;
  width: 62%;
}
.dh__board--b {
  left: 72%;
  width: 30%;
}
.dh__name {
  position: absolute;
  bottom: 100%;
  left: 0;
  padding-bottom: 0.3rem;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  white-space: nowrap;
}
.dh__card {
  position: absolute;
  top: 12%;
  left: 5%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 34%;
  height: 46%;
  padding: 0.9rem;
  border-radius: 6px;
  background: var(--color-neutral-800);
}
.dh__card.is-sel {
  outline: 1.5px solid var(--color-action-primary-hover);
  outline-offset: 2px;
}
.dh__card b {
  height: 0.5rem;
  border-radius: 99px;
  background: color-mix(in srgb, var(--color-white) 22%, transparent);
}
.dh__card b + b {
  width: 62%;
}
.dh__card .dh__s {
  display: none;
}
.dh__dot {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--dh-fill);
}
.dh__card--s {
  top: 16%;
  left: 12%;
  width: 76%;
  height: 40%;
}
.dh__rh {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-white);
  outline: 1.5px solid var(--color-action-primary-hover);
  opacity: 0;
}
.dh__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.dh__line {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.dh__anch rect {
  fill: var(--color-white);
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.4;
}
.dh__hand line {
  stroke: var(--color-action-primary-hover);
  stroke-width: 1;
}
.dh__hand circle {
  fill: var(--color-white);
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.2;
}
.dh__ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.4rem;
  height: 3.4rem;
  border: 2px solid var(--color-orange-300);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.dh__ghost {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--color-orange-300);
  opacity: 0;
  pointer-events: none;
}
.dh__status {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  margin: 0;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-black) 55%, transparent);
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
}
.dh__status:empty {
  display: none;
}
/* peer cursors: the arrow and name tag the app draws for another editor */
.dh .tcur {
  color: var(--c);
}
.dh .tcur svg {
  display: block;
  fill: var(--c);
  stroke: var(--color-white);
  stroke-width: 1;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.47));
}
.dh .tcur svg path {
  fill: var(--c);
  stroke: var(--color-white);
}
.dh .tcur b {
  top: 14px;
  left: 14px;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  color: var(--color-text-inverse);
  font-size: 0.6875rem;
  line-height: 1.6;
}
/* inspector */
.dh__panel {
  padding: var(--space-2);
  border-left: 1px solid var(--color-border-tick);
  background: var(--color-surface-default);
  color: var(--color-text-default);
  overflow: hidden;
}
.dh__panel--l {
  border-right: 1px solid var(--color-border-tick);
  border-left: 0;
}
.dh__panel h4 {
  margin: var(--space-3) 0 var(--space-1);
  padding: 0 var(--space-1);
  color: var(--color-text-default);
  font-size: 0.75rem;
  font-weight: var(--type-weight-semibold);
}
.dh__panel h4:first-child {
  margin-top: 0;
}
.dh__layers {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dh__layers li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 26px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
}
.dh__layers svg {
  width: 14px;
  height: 14px;
}
.dh__layers li.is-on {
  background: var(--color-field-bg);
  color: var(--color-text-default);
}
.dh__panel dl {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: var(--space-1) 0;
  margin: 0;
  padding: 0 var(--space-1);
}
.dh__panel dt {
  align-self: center;
  color: var(--color-text-muted);
}
.dh__panel dd {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 26px;
  margin: 0;
  padding: 0 var(--space-2);
  border-radius: var(--radius-lg);
  background: var(--color-field-bg);
  color: var(--color-text-value);
}
.dh__sw {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 3px;
}
.dh__toks {
  display: grid;
  gap: var(--space-1);
  padding: 0 var(--space-1);
}
.dh__toks span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 26px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-lg);
  background: var(--color-field-bg);
}
.dh__toks i {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
}
@media (max-width: 760px) {
  .dh {
    grid-template-columns: 1fr;
    aspect-ratio: 4 / 3;
  }
  .dh__panel,
  .dh__panel--l {
    display: none;
  }
}

/* push to timeline */
.dh__world {
  position: absolute;
  inset: 0;
  transform-origin: 50% 0;
}
.dh__push {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 26px;
  padding: 0 0.7rem;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-bg-default);
  color: var(--color-text-default);
  font: inherit;
  font-size: 0.75rem;
  opacity: var(--dh-fade);
  transition: transform 120ms, background 160ms;
}
.dh__push.is-on {
  background: var(--color-field-bg);
}
.dh__push svg {
  width: 14px;
  height: 14px;
}
.dh__tl {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 36%;
  padding: 0.35rem 0.6rem 0;
  border-top: 1px solid var(--color-border-tick);
  background: var(--color-surface-default);
  transform: translateY(100%);
}
.dh__tl h5 {
  margin: 0 0 0.3rem;
  color: var(--color-text-default);
  font-size: 0.6875rem;
  font-weight: var(--type-weight-semibold);
}
.dh__tr {
  position: relative;
  display: flex;
  align-items: center;
  height: 1.35rem;
  --g: 0;
}
.dh__tr span {
  flex: none;
  width: 4.4rem;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
}
.dh__tr u {
  position: absolute;
  top: 50%;
  height: 0.8rem;
  margin-left: 4.4rem;
  border-radius: 3px;
  background: color-mix(in srgb, var(--b) 70%, transparent);
  text-decoration: none;
  transform: translateY(-50%) scaleX(var(--g));
  transform-origin: 0 50%;
  opacity: var(--g);
}
.dh__tr i {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--color-timeline-key);
  transform: translate(-50%, -50%) rotate(45deg);
}
.dh__ph {
  position: absolute;
  top: 1rem;
  bottom: 0;
  width: 0;
  border-left: 1.5px solid var(--color-blue-500);
  opacity: 0;
}
@media (max-width: 760px) {
  .dh__tl,
  .dh__push {
    display: none;
  }
}

/* ---- feature sections: a list of features and a small scene of the editor beside it ---- */
.sl {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-12);
  align-items: start;
}
.sl--flip .sl__text {
  order: 2;
}
.sl__text h2 {
  margin: 0;
}
.sl__text > .sub {
  margin-top: var(--space-3);
}
.sl__items {
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}
.sl__item {
  position: relative;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--site-line);
}
.sl__item h3 {
  margin: 0;
  font-size: 1.0625rem;
}
.sl__item button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--site-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sl__item.is-on button {
  color: var(--site-ink);
}
.sl__item p {
  display: none;
  margin: var(--space-1) 0 0;
  color: var(--site-muted);
}
.sl__item.is-on p {
  display: block;
}
.sl__item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary-500);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}
/* a list of one has nothing to advance to, so it shows no timer */
.sl__item:only-child::after {
  display: none;
}
.sl__stage {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-stage);
  font-size: 0.75rem;
  color: var(--color-text-default);
}
.sc {
  position: absolute;
  inset: 0;
  display: none;
}
.sc.is-on {
  display: block;
}
.sc__cv {
  position: absolute;
  inset: 0;
}
.sc__bar {
  top: 0.8rem;
}
.sc__panel {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 11.5rem;
  padding: var(--space-2);
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-surface-default);
}
.sc__panel h4 {
  margin: var(--space-2) 0 var(--space-1);
  padding: 0 var(--space-1);
  font-size: 0.75rem;
  font-weight: var(--type-weight-semibold);
}
.sc__panel h4:first-child {
  margin-top: 0;
}
.sc__panel dl {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: var(--space-1) 0;
  margin: 0;
  padding: 0 var(--space-1);
}
.sc__panel dt {
  align-self: center;
  color: var(--color-text-muted);
}
.sc__panel dd {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 26px;
  margin: 0;
  padding: 0 var(--space-2);
  border-radius: var(--radius-lg);
  background: var(--color-field-bg);
}
.sc__sw {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 3px;
}
.sc__sw--b {
  background: var(--color-blue-500);
}
.sc__who {
  margin: var(--space-3) var(--space-1) 0;
  color: var(--color-text-muted);
}
.sc__who b {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text-default);
}
.sc__who svg {
  width: 13px;
  height: 13px;
}
.sc__curve {
  display: block;
  width: 100%;
  margin-top: var(--space-1);
  padding: var(--space-1);
  border-radius: var(--radius-lg);
  background: var(--color-field-bg);
}
.sc__curve path {
  fill: none;
  stroke: var(--color-action-primary-hover);
  stroke-width: 2;
}
.sc__pt {
  fill: var(--color-white);
  stroke: var(--color-action-primary-hover);
}
.sc .tcur {
  color: var(--c);
}
.sc .tcur svg path {
  fill: var(--c);
  stroke: var(--color-white);
}
.sc .tcur b {
  top: 14px;
  left: 14px;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  color: var(--color-text-inverse);
  line-height: 1.6;
}
/* tools */
.sc__cv--tools i,
.sc__cv--tools span,
.sc__cv--tools svg {
  position: absolute;
}
.sc__tx {
  top: 24%;
  left: 12%;
  font-size: 2.6rem;
  font-weight: var(--type-weight-semibold);
}
.sc__rect {
  top: 46%;
  left: 14%;
  width: 6rem;
  height: 4rem;
  border-radius: 6px;
  background: var(--color-primary-500);
}
.sc__ell {
  top: 30%;
  left: 40%;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--color-orange-300);
}
.sc__star {
  top: 28%;
  left: 66%;
  width: 5rem;
  height: 5rem;
  background: var(--color-sky-400);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.sc__pen {
  top: 66%;
  left: 38%;
  width: 11rem;
  overflow: visible;
}
.sc__pen path {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.4;
  stroke-linecap: round;
}
.sc__pen rect {
  fill: var(--color-white);
  stroke: var(--color-action-primary-hover);
}
.sc__ln {
  top: 82%;
  left: 12%;
  width: 9rem;
  height: 2px;
  background: var(--color-white);
}
/* paint */
.sc__cv--paint {
  display: grid;
  place-items: center;
  right: 12.5rem;
}
.sc__orb {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange-300), var(--color-blue-500));
  box-shadow: 0 0 2.5rem 0.4rem color-mix(in srgb, var(--color-orange-300) 55%, transparent);
}
.sc__mesh {
  display: none;
}
.sc__grad {
  height: 0.9rem;
  margin: var(--space-1);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-orange-300), var(--color-blue-500));
}
.sc__val {
  color: var(--color-text-value);
}
/* brush */
.sc__cv--brush {
  right: 12.5rem;
  display: grid;
  place-items: center;
}
.sc__cv--brush svg {
  width: 88%;
  overflow: visible;
}
.sc__thin {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.sc__bpt {
  fill: var(--color-white);
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.4;
  opacity: 0;
}
.sc__tape {
  fill: var(--color-white);
}
.sc__reveal {
  transform-box: fill-box;
  transform-origin: 0 50%;
}
/* print */
.sc__cv--print {
  display: grid;
  place-items: center;
}
.sc__art {
  position: relative;
  width: 62%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-sky-400);
}
.sc__art i {
  position: absolute;
  inset: 0;
}
.sc__sun {
  inset: 14% auto auto 62% !important;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-orange-300);
}
.sc__hill {
  top: 52% !important;
  background: var(--color-primary-500);
  clip-path: ellipse(80% 100% at 30% 100%);
}
.sc__ht {
  background: radial-gradient(circle, var(--color-neutral-950) 38%, transparent 42%) 0 0 / 9px 9px;
  mix-blend-mode: multiply;
  opacity: 0;
}
.sc__hatch {
  background: repeating-linear-gradient(45deg, var(--color-neutral-950) 0 1.5px, transparent 1.5px 6px);
  mix-blend-mode: multiply;
  opacity: 0;
}
.sc__riso {
  background: var(--color-orange-300);
  mix-blend-mode: multiply;
  opacity: 0;
  transform: translate(5px, 4px);
}
.sc__chips {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  display: grid;
  place-items: center;
  height: 1.6rem;
  transform: translateX(-50%);
}
.sc__chips span {
  grid-area: 1 / 1;
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--color-field-bg);
  font-family: var(--type-family-mono);
  opacity: 0;
}
.sc--print .sc__chips span:first-child {
  opacity: 1;
}
/* template */
.sc__cv--tpl {
  right: 12.5rem;
}
.sc__tcard {
  position: absolute;
  top: 14%;
  left: 8%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 42%;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--color-neutral-800);
}
.sc__img {
  height: 4.4rem;
  border-radius: 5px;
  background: color-mix(in srgb, var(--color-white) 14%, transparent);
}
.sc__title {
  font-size: 1.1rem;
}
.sc__title span,
.sc__sub span {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
}
.sc__sub {
  color: var(--color-text-muted);
  font-style: normal;
}
.sc__outs {
  position: absolute;
  top: 64%;
  left: 8%;
  display: flex;
  gap: 0.6rem;
  width: 84%;
}
.sc__tcard--s {
  position: static;
  flex: 1;
  width: auto;
  padding: 0.4rem;
}
.sc__tcard--s i {
  height: 1.8rem;
  border-radius: 4px;
  background: var(--color-primary-500);
}
.sc__tcard--s:nth-child(2) i {
  background: var(--color-orange-300);
}
.sc__tcard--s:nth-child(3) i {
  background: var(--color-sky-400);
}
/* motion */
.sc__cv--mo {
  right: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding: 0 1.5rem;
}
.sc__trk {
  position: relative;
  height: 2px;
  background: color-mix(in srgb, var(--color-white) 18%, transparent);
}
.sc__dotm {
  position: absolute;
  top: -0.6rem;
  left: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--color-primary-500);
}
.sc__dotm:nth-child(1) {
  background: var(--color-primary-500);
}
.sc__trk:nth-child(2) .sc__dotm {
  background: var(--color-orange-300);
}
.sc__trk:nth-child(3) .sc__dotm {
  background: var(--color-sky-400);
}
.sc__dur {
  display: grid;
}
.sc__dur u {
  grid-area: 1 / 1;
  text-decoration: none;
}
.sc__dur u + u {
  opacity: 0;
}
/* type */
.sc__cv--type {
  overflow: hidden;
}
.sc__tl {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--color-neutral-900);
  color: var(--color-white);
  font-size: clamp(3rem, 12cqw, 6.5rem);
  font-weight: var(--type-weight-semibold);
  letter-spacing: -0.03em;
}
.sc__tl--inv {
  background: var(--color-neutral-50);
  color: var(--color-neutral-950);
  clip-path: inset(0 50% 0 0);
}
.sc__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-left: 1.5px solid var(--color-action-primary-hover);
}
.sc__edge b {
  position: absolute;
  top: 0.8rem;
  right: 0.4rem;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--color-action-primary-hover);
  color: var(--color-white);
  font-weight: var(--type-weight-medium);
  white-space: nowrap;
}
/* modes */
.sc__cv--modes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 2.4rem;
}
.sc__ui {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 28%;
  height: 46%;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--color-neutral-900);
  outline: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
}
.sc__ui i {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-primary-500);
}
.sc__ui b {
  height: 0.5rem;
  border-radius: 99px;
  background: color-mix(in srgb, var(--color-white) 24%, transparent);
}
.sc__ui span {
  margin-top: auto;
  color: var(--color-text-muted);
}
.sc__mode {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.8rem;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-full);
  background: var(--color-bg-default);
  transform: translateX(-50%);
}
.sc__mode em {
  position: relative;
  width: 2.2rem;
  height: 1.1rem;
  border-radius: 99px;
  background: var(--color-field-bg);
}
.sc__mode u {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--color-white);
}
/* boards */
.sc__cv--bds {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  padding: 0 1.5rem;
}
.sc__bd {
  position: relative;
  flex: 1;
  aspect-ratio: 16 / 10;
  max-width: 9rem;
  border-radius: 3px;
  background: var(--color-neutral-900);
  outline: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
}
.sc__bd b {
  position: absolute;
  bottom: 100%;
  left: 0;
  padding-bottom: 0.25rem;
  color: var(--color-text-muted);
  font-weight: var(--type-weight-regular);
  white-space: nowrap;
}
.sc__bd i {
  position: absolute;
  inset: 24% 20%;
  border-radius: 6px;
  background: color-mix(in srgb, var(--color-white) 14%, transparent);
}
.sc__bd:nth-child(2) i {
  border-radius: 50%;
  background: var(--color-orange-300);
}
.sc__bd:nth-child(3) i {
  background: var(--color-primary-500);
}
.sc__arr {
  position: absolute;
  top: 50%;
  color: var(--color-text-muted);
}
.sc__arr svg {
  width: 16px;
  height: 16px;
}
.sc__arr--1 {
  left: 31%;
}
.sc__arr--2 {
  left: 63%;
}
/* timeline */
.sc__cv--tml {
  bottom: 38%;
}
.sc__bd2 {
  position: absolute;
  inset: 12% 8% 6%;
  border-radius: 3px;
  background: var(--color-neutral-900);
  outline: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
}
.sc__ball {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--color-orange-300);
  transform: translateY(-50%);
}
.sc__tlp {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 36%;
  padding: 0.5rem 0.8rem;
  border-top: 1px solid var(--color-border-tick);
  background: var(--color-surface-default);
}
.sc__tlp h5 {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: var(--type-weight-semibold);
}
.sc__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-muted);
}
.sc__row u {
  position: relative;
  flex: 1;
  height: 1.4rem;
  background: color-mix(in srgb, var(--color-orange-300) 65%, transparent);
  border-radius: 3px;
  text-decoration: none;
}
.sc__key {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--color-timeline-key);
  transform: translate(-50%, -50%) rotate(45deg);
}
.sc__key--a {
  left: 4%;
}
.sc__key--b {
  left: 92%;
}
.sc__head {
  position: absolute;
  top: -0.3rem;
  bottom: -0.5rem;
  left: 4%;
  width: 0;
  border-left: 1.5px solid var(--color-blue-500);
}
@media (max-width: 900px) {
  .sl {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }
  .sl--flip .sl__text {
    order: 0;
  }
  .sc__panel {
    display: none;
  }
  .sc__cv--paint,
  .sc__cv--brush,
  .sc__cv--tpl,
  .sc__cv--mo {
    right: 0;
  }
}
/* the loops */
@media (prefers-reduced-motion: no-preference) {
  .sc__cv--tools > * {
    animation: scpop 7s infinite backwards;
    animation-delay: calc(2.6s + var(--i) * 0.9s);
  }
  .sc__bar i {
    animation: schl 7s infinite;
    animation-delay: calc(var(--i) * 0.8s - 0.4s);
  }
  .sc__c1 {
    animation: scc1 7s infinite ease-in-out;
  }
  .sc__orb {
    animation: scorb 6s infinite ease-in-out;
  }
  .sc__grad {
    animation: scgr 6s infinite ease-in-out;
  }
  .sc__reveal {
    animation: screv 5s infinite ease-in-out;
  }
  .sc__pt {
    offset-path: path('M4 50C30 6 50 6 70 28S100 56 116 22');
    animation: scpt 5s infinite ease-in-out;
  }
  .sc__c2 {
    animation: scc2 5s infinite ease-in-out;
  }
  .sc__ht {
    animation: scp1 9s infinite;
  }
  .sc__hatch {
    animation: scp2 9s infinite;
  }
  .sc__riso {
    animation: scp3 9s infinite;
  }
  .sc__chips span {
    animation: scch 9s infinite;
    animation-delay: calc(var(--i) * 3s);
  }
  .sc__title span {
    animation: sctype 7s infinite steps(11) both;
  }
  .sc__sub span {
    animation: sctype2 7s infinite steps(13) both;
  }
  .sc--template .sc__img {
    animation: scimg 7s infinite;
  }
  .sc__tcard--s {
    animation: scout 7s infinite backwards;
    animation-delay: calc(var(--i) * 0.25s);
  }
  .sc__c3 {
    animation: scc3 7s infinite ease-in-out;
  }
  .sc__dotm {
    animation: scmo 8s infinite;
    animation-delay: calc(var(--i) * 0.12s);
  }
  .sc__dur u:first-child {
    animation: scd1 8s infinite;
  }
  .sc__dur u + u {
    animation: scd2 8s infinite;
  }
  .sc__c4 {
    animation: scc4 8s infinite ease-in-out;
  }
  .sc__tl--inv {
    animation: sctl 6s infinite ease-in-out;
  }
  .sc__edge {
    animation: scedge 6s infinite ease-in-out;
  }
  .sc__ui--a,
  .sc__ui--b {
    animation: scmodeui 6s infinite;
  }
  .sc__ui--a i,
  .sc__ui--b i {
    animation: scmodei 6s infinite;
  }
  .sc__ui--a b,
  .sc__ui--b b {
    animation: scmodeb 6s infinite;
  }
  .sc__mode u {
    animation: scknob 6s infinite;
  }
  .sc__bd:nth-child(2) {
    animation: scb2 7s infinite ease-in-out;
  }
  .sc__bd:nth-child(3) {
    animation: scb3 7s infinite ease-in-out;
  }
  .sc__arr {
    animation: scarr 7s infinite;
  }
  .sc__c5 {
    animation: scc5 7s infinite ease-in-out;
  }
  .sc__ball {
    animation: scball 6s infinite ease-in-out;
  }
  .sc__head {
    animation: schead 6s infinite ease-in-out;
  }
  .sc__key--b {
    animation: sckey 6s infinite ease-in-out;
  }
  .sc__c6 {
    animation: scc6 6s infinite ease-in-out;
  }
}
@keyframes scpop {
  0% { opacity: 0; transform: scale(0.6); }
  8%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
@keyframes schl {
  0%, 11% { background: var(--color-field-bg); color: var(--color-text-default); }
  12%, 100% { background: none; color: var(--color-text-muted); }
}
@keyframes scc1 {
  0% { left: 10%; top: 8%; }
  50% { left: 60%; top: 60%; }
  100% { left: 10%; top: 8%; }
}
@keyframes scorb {
  0%, 100% { filter: hue-rotate(0); box-shadow: 0 0 1.5rem 0.2rem color-mix(in srgb, var(--color-orange-300) 40%, transparent); }
  50% { filter: hue-rotate(70deg); box-shadow: 0 0 3.5rem 0.9rem color-mix(in srgb, var(--color-orange-300) 70%, transparent); }
}
@keyframes scgr {
  0%, 100% { filter: hue-rotate(0); }
  50% { filter: hue-rotate(70deg); }
}
@keyframes screv {
  0% { transform: scaleX(0); }
  70%, 100% { transform: scaleX(1); }
}
@keyframes scpt {
  0% { offset-distance: 0%; }
  70%, 100% { offset-distance: 100%; }
}
@keyframes scc2 {
  0% { left: 8%; top: 70%; }
  70%, 100% { left: 78%; top: 24%; }
}
@keyframes scp1 { 0%, 3% { opacity: 0; } 8%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes scp2 { 0%, 36% { opacity: 0; } 41%, 63% { opacity: 1; } 69%, 100% { opacity: 0; } }
@keyframes scp3 { 0%, 69% { opacity: 0; } 74%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes scch { 0% { opacity: 0; } 4%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes sctype { 0%, 6% { width: 0; } 30%, 90% { width: 6.4em; } 96%, 100% { width: 0; } }
@keyframes sctype2 { 0%, 38% { width: 0; } 55%, 90% { width: 8.2em; } 96%, 100% { width: 0; } }
@keyframes scimg { 0%, 58% { background: color-mix(in srgb, var(--color-white) 14%, transparent); } 62%, 94% { background: linear-gradient(135deg, var(--color-sky-400), var(--color-primary-500)); } 100% { background: color-mix(in srgb, var(--color-white) 14%, transparent); } }
@keyframes scout { 0%, 60% { opacity: 0; transform: translateY(8px); } 70%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes scc3 { 0% { left: 70%; top: 60%; } 15% { left: 40%; top: 28%; } 40% { left: 46%; top: 30%; } 62% { left: 82%; top: 50%; } 100% { left: 70%; top: 60%; } }
@keyframes scmo {
  0% { left: 0; animation-timing-function: cubic-bezier(0.2, 0.9, 0.1, 1); }
  10% { left: calc(100% - 1.2rem); }
  15% { left: calc(100% - 1.2rem); animation-timing-function: ease-in; }
  25% { left: 0; animation-timing-function: cubic-bezier(0.2, 0.9, 0.1, 1); }
  35% { left: calc(100% - 1.2rem); }
  45% { left: calc(100% - 1.2rem); }
  50% { left: 0; animation-timing-function: ease-in-out; }
  72% { left: calc(100% - 1.2rem); }
  78% { left: calc(100% - 1.2rem); }
  100% { left: 0; }
}
@keyframes scd1 { 0%, 48% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes scd2 { 0%, 48% { opacity: 0; } 52%, 100% { opacity: 1; } }
@keyframes scc4 { 0%, 40% { left: 40%; top: 66%; } 48% { left: 82%; top: 14%; } 56%, 100% { left: 82%; top: 14%; } }
@keyframes sctl { 0%, 100% { clip-path: inset(0 100% 0 0); } 50% { clip-path: inset(0 0 0 0); } }
@keyframes scedge { 0%, 100% { left: 0; } 50% { left: 100%; } }
@keyframes scmodeui { 0%, 38% { background: var(--color-neutral-900); } 50%, 88% { background: var(--color-neutral-50); } 100% { background: var(--color-neutral-900); } }
@keyframes scmodei { 0%, 38% { background: var(--color-primary-500); } 50%, 88% { background: var(--color-primary-700); } 100% { background: var(--color-primary-500); } }
@keyframes scmodeb { 0%, 38% { background: color-mix(in srgb, var(--color-white) 24%, transparent); } 50%, 88% { background: color-mix(in srgb, var(--color-neutral-950) 18%, transparent); } 100% { background: color-mix(in srgb, var(--color-white) 24%, transparent); } }
@keyframes scknob { 0%, 38% { left: 0.15rem; } 50%, 88% { left: 1.25rem; } 100% { left: 0.15rem; } }
@keyframes scb2 { 0%, 25% { transform: none; } 45%, 85% { transform: translateX(calc(100% + 2.2rem)); } 100% { transform: none; } }
@keyframes scb3 { 0%, 25% { transform: none; } 45%, 85% { transform: translateX(calc(-100% - 2.2rem)); } 100% { transform: none; } }
@keyframes scarr { 0%, 25% { opacity: 1; } 35%, 90% { opacity: 0.3; } 100% { opacity: 1; } }
@keyframes scc5 { 0%, 18% { left: 55%; top: 60%; } 28% { left: 50%; top: 40%; } 45%, 62% { left: 28%; top: 40%; } 85%, 100% { left: 55%; top: 60%; } }
@keyframes scball { 0%, 100% { left: 8%; } 40%, 55% { left: 80%; } 75% { left: 56%; } 90% { left: 8%; } }
@keyframes schead { 0%, 100% { left: 4%; } 40%, 55% { left: 92%; } 75% { left: 60%; } 90% { left: 4%; } }
@keyframes sckey { 0%, 55% { left: 92%; } 75%, 90% { left: 60%; } 100% { left: 92%; } }
@keyframes scc6 { 0%, 50% { left: 86%; top: 78%; } 75%, 90% { left: 56%; top: 78%; } 100% { left: 86%; top: 78%; } }

/* design scenes, second pass: real inspector rows, effects and menus */
.sc__panel--w {
  width: 13.5rem;
}
.sc__panel--b {
  top: auto;
  bottom: 0.8rem;
}
.sc__sw2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--space-2) var(--space-1) var(--space-1);
}
.sc__sw2:first-child {
  margin-top: 0;
}
.sc__sw2 b {
  font-weight: var(--type-weight-semibold);
}
.sc__tg {
  position: relative;
  width: 1.7rem;
  height: 0.95rem;
  border-radius: 99px;
  background: var(--color-action-primary-default);
}
.sc__tg::after {
  content: '';
  position: absolute;
  top: 0.14rem;
  right: 0.14rem;
  width: 0.67rem;
  height: 0.67rem;
  border-radius: 50%;
  background: var(--color-white);
}
.sc__r {
  display: grid;
  grid-template-columns: 4.2rem 1fr 0.9rem;
  align-items: center;
  gap: 0.25rem;
  margin: 0 var(--space-1) var(--space-1);
}
.sc__r > span {
  color: var(--color-text-muted);
}
.sc__r > em {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 26px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-lg);
  background: var(--color-field-bg);
  font-style: normal;
}
.sc__kd {
  width: 7px;
  height: 7px;
  border: 1px solid var(--color-text-muted);
  transform: rotate(45deg);
}
.sc__kd.is-k {
  border-color: var(--color-timeline-key);
  background: var(--color-timeline-key);
}
.sc__fx {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: var(--space-2) var(--space-1) 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border-tick);
}
.sc__fx span {
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-field-bg);
  color: var(--color-text-muted);
}
.sc__pre {
  display: flex;
  gap: 0.25rem;
  margin: 0 var(--space-1);
}
.sc__pre span {
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
}
.sc__pre .is-on {
  background: var(--color-field-bg);
  color: var(--color-text-default);
}
.sc__mid {
  stroke: color-mix(in srgb, var(--color-white) 22%, transparent);
  stroke-dasharray: 3 3;
}
.sc__num,
.sc__cyc {
  display: inline-grid;
}
.sc__num u,
.sc__cyc u {
  grid-area: 1 / 1;
  text-decoration: none;
}
.sc__num u + u,
.sc__cyc u:nth-child(n + 2) {
  opacity: 0;
}
.sc__ent {
  display: grid;
  gap: 2px;
  margin: 0 var(--space-1);
}
.sc__ent span {
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-field-bg);
}
.sc__panel .sc__mode {
  position: static;
  justify-content: center;
  margin: var(--space-2) var(--space-1) 0;
  transform: none;
}
.sc__menu {
  position: absolute;
  top: 3.1rem;
  left: calc(50% - 5.2rem);
  z-index: 3;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-bg-default);
  opacity: 0;
}
.sc__menu li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 24px;
  padding: 0 0.6rem 0 0.4rem;
  border-radius: 5px;
  color: var(--color-text-muted);
}
.sc__menu svg {
  width: 14px;
  height: 14px;
}
.sc__menu li:nth-child(4) {
  color: var(--color-text-default);
}
.sc__menu li:nth-child(4).hl {
  background: var(--color-field-bg);
}
.sc__shp,
.sc__pn {
  position: relative;
}
.sc__orb {
  --gs: 40px;
  box-shadow: 0 0 var(--gs) calc(var(--gs) / 5) color-mix(in srgb, var(--color-orange-300) 60%, transparent);
  background: var(--color-orange-300);
}
@media (prefers-reduced-motion: no-preference) {
  .sc__orb {
    animation: scglow 6s infinite ease-in-out;
  }
  .sc__num--sz u:first-child,
  .sc__num--pw u:first-child {
    animation: scn1 6s infinite;
  }
  .sc__num--sz u + u,
  .sc__num--pw u + u {
    animation: scn2 6s infinite;
  }
  .sc__cyc--3 u {
    animation: sccy3 9s infinite;
    animation-delay: calc(var(--i) * 3s);
  }
  .sc__cyc--2 u {
    animation: sccy2 6s infinite;
    animation-delay: calc(var(--i) * 3s);
  }
  .sc--print .sc__ht {
    animation: scht 9s infinite;
  }
  .sc--print .sc__hatch {
    animation: schat 9s infinite;
  }
  .sc--print .sc__riso {
    animation: scri 9s infinite;
  }
  .sc--tools .sc__menu {
    animation: scmenu 7s infinite;
  }
  .sc--tools .sc__menu li:nth-child(4) {
    animation: scmhl 7s infinite;
  }
  .sc--tools .sc__shp {
    animation: scon1 7s infinite;
  }
  .sc--tools .sc__pn {
    animation: scon2 7s infinite;
  }
  .sc--tools .sc__c1 {
    animation: scc1b 7s infinite ease-in-out;
  }
  .sc--tools .sc__bar i {
    animation: none;
  }
}
@keyframes scglow { 0%, 38% { --gs: 40px; box-shadow: 0 0 40px 8px color-mix(in srgb, var(--color-orange-300) 55%, transparent); } 52%, 90% { box-shadow: 0 0 90px 24px color-mix(in srgb, var(--color-orange-300) 80%, transparent); } 100% { box-shadow: 0 0 40px 8px color-mix(in srgb, var(--color-orange-300) 55%, transparent); } }
@keyframes scn1 { 0%, 45% { opacity: 1; } 50%, 92% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes scn2 { 0%, 45% { opacity: 0; } 50%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes sccy3 { 0% { opacity: 0; } 2%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes sccy2 { 0% { opacity: 0; } 2%, 48% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes scht { 0%, 3% { opacity: 0; } 6%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes schat { 0%, 66% { opacity: 0; } 69%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes scri { 0%, 34% { opacity: 0; } 37%, 64% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes scmenu { 0%, 8% { opacity: 0; } 12%, 38% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes scmhl { 0%, 28% { background: none; } 30%, 100% { background: var(--color-field-bg); } }
@keyframes scon1 { 0%, 8% { background: none; } 10%, 40% { background: var(--color-field-bg); } 44%, 100% { background: none; } }
@keyframes scon2 { 0%, 55% { background: none; } 58%, 92% { background: var(--color-field-bg); } 96%, 100% { background: none; } }
@keyframes scc1b { 0% { left: 62%; top: 50%; } 8% { left: 46%; top: 9%; } 12%, 24% { left: 46%; top: 9%; } 30%, 36% { left: 47%; top: 34%; } 41% { left: 66%; top: 28%; } 50% { left: 82%; top: 56%; } 54% { left: 51%; top: 9%; } 58% { left: 39%; top: 78%; } 72% { left: 52%; top: 68%; } 86% { left: 64%; top: 70%; } 94%, 100% { left: 62%; top: 50%; } }
.sc__r > em {
  overflow: hidden;
  white-space: nowrap;
}
.sc__r > em > .sc__cyc {
  display: inline-grid;
}
.sc__r > em.sc__cyc {
  display: inline-grid;
  align-content: center;
}
.sc__cv--modes {
  right: 14.5rem;
  padding-right: 0;
}
.sc__cv--modes .sc__ui {
  width: 30%;
}
.sc__cv--type {
  right: 0;
}
@media (max-width: 900px) {
  .sc__cv--modes {
    right: 0;
  }
}

.sc__star {
  transform-origin: 0 0;
}
@media (prefers-reduced-motion: no-preference) {
  .sc__cv--tools > .sc__star {
    animation: scstar 7s infinite;
    animation-delay: 0s;
  }
}
@keyframes scstar {
  0%, 40% { opacity: 0; transform: scale(0); }
  41% { opacity: 1; transform: scale(0.02); }
  50%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}

.sc__pen path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .sc--tools .sc__cv--tools > .sc__pen {
    animation: none;
  }
  .sc--tools .sc__pen path {
    animation: scpendraw 7s infinite linear;
  }
  .sc--tools .sc__pen rect {
    animation: scpenpt 7s infinite;
  }
  .sc--tools .sc__pen .sc__a2 {
    animation-name: scpenpt2;
  }
  .sc--tools .sc__pen .sc__a3 {
    animation-name: scpenpt3;
  }
}
@keyframes scpendraw { 0%, 71.9% { stroke-dashoffset: 1; opacity: 1; } 72%, 85.9% { stroke-dashoffset: 0.42; } 86%, 94% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes scpenpt { 0%, 56% { opacity: 0; } 58%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes scpenpt2 { 0%, 72% { opacity: 0; } 74%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes scpenpt3 { 0%, 86% { opacity: 0; } 88%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }

.sc__tape {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .sc--brush .sc__thin {
    animation: scthin 6s infinite;
  }
  .sc--brush .sc__tape {
    animation: sctape 6s infinite;
  }
  .sc--brush .sc__bpt {
    animation: scbpt 6s infinite;
  }
  .sc--brush .sc__bpt:nth-of-type(2) { animation-name: scbpt2; }
  .sc--brush .sc__bpt:nth-of-type(3) { animation-name: scbpt3; }
  .sc--brush .sc__bpt:nth-of-type(4) { animation-name: scbpt4; }
  .sc--brush .sc__pre .is-on {
    animation: scpre 6s infinite;
  }
  .sc--brush .sc__c2 {
    animation: scc2b 6s infinite ease-in-out;
  }
}
@keyframes scthin { 0%, 9.9% { stroke-dashoffset: 1; } 10%, 24.9% { stroke-dashoffset: 1; } 25%, 39.9% { stroke-dashoffset: 0.66; } 40%, 54.9% { stroke-dashoffset: 0.33; } 55%, 66% { stroke-dashoffset: 0; opacity: 1; } 70%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sctape { 0%, 68% { opacity: 0; } 72%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes scbpt { 0%, 9.9% { opacity: 0; } 10%, 66% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes scbpt2 { 0%, 24.9% { opacity: 0; } 25%, 66% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes scbpt3 { 0%, 39.9% { opacity: 0; } 40%, 66% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes scbpt4 { 0%, 54.9% { opacity: 0; } 55%, 66% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes scpre { 0%, 67% { background: none; color: var(--color-text-muted); } 70%, 100% { background: var(--color-field-bg); color: var(--color-text-default); } }
@keyframes scc2b { 0% { left: 80%; top: 80%; } 10% { left: 6.6%; top: 60.3%; } 25% { left: 24.5%; top: 48.4%; } 40% { left: 43.7%; top: 51.6%; } 55% { left: 62.4%; top: 39.7%; } 68%, 100% { left: 78%; top: 18%; } }

/* print styles on a lit sphere: the sun angle (0 = up, clockwise) drives every layer */
@property --deg {
  syntax: '<integer>';
  inherits: true;
  initial-value: 135;
}
.sc__cv--print {
  display: grid;
  place-items: center;
  right: 14.5rem;
  --deg: 135;
  --lx: calc(50% + 34% * sin(var(--deg) * 1deg));
  --ly: calc(50% - 34% * cos(var(--deg) * 1deg));
}
.sc__sel {
  position: relative;
  width: min(62%, 15rem);
  aspect-ratio: 1;
  outline: 1.5px solid var(--color-action-primary-hover);
  outline-offset: 0;
}
.sc__sph {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-neutral-50);
  isolation: isolate;
}
.sc__sh {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--lx) var(--ly), rgb(255 255 255 / 0) 0%, rgb(0 0 0 / 0.1) 55%, rgb(0 0 0 / 0.28) 100%);
  opacity: 0;
}
.sc__ink {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0;
}
.sc__ink u {
  position: absolute;
  inset: -30%;
  mix-blend-mode: lighten;
  background:
    radial-gradient(circle at calc(30% + var(--lx) * 0.4) calc(30% + var(--ly) * 0.4), #fff 0%, #000 62%),
    radial-gradient(circle, #000 0, #fff 4.5px) 0 0 / 9px 9px;
  background-blend-mode: multiply;
  filter: contrast(14);
  transform: rotate(15deg);
}
.sc__ink--k {
  background: var(--color-neutral-950);
}
.sc__ink--a {
  background: var(--color-orange-500);
}
.sc__ink--b {
  background: var(--color-sky-400);
}
.sc__ink--b u {
  transform: rotate(75deg) translate(5px, 4px);
}
.sc__hx {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.sc__hx--1 {
  background: repeating-linear-gradient(45deg, var(--color-neutral-950) 0 1.2px, transparent 1.2px 5px);
  -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), transparent 18%, #000 92%);
  mask-image: radial-gradient(circle at var(--lx) var(--ly), transparent 18%, #000 92%);
}
.sc__hx--2 {
  background: repeating-linear-gradient(-45deg, var(--color-neutral-950) 0 1.2px, transparent 1.2px 5px);
  -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), transparent 48%, #000 100%);
  mask-image: radial-gradient(circle at var(--lx) var(--ly), transparent 48%, #000 100%);
}
.sc__rim {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-neutral-950);
  border-radius: 50%;
}
.sc__hd {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--color-action-primary-hover);
  border-radius: var(--radius-xs);
  background: var(--color-action-primary-contrast);
}
.sc__hd--nw { top: -4px; left: -4px; }
.sc__hd--ne { top: -4px; right: -4px; }
.sc__hd--sw { bottom: -4px; left: -4px; }
.sc__hd--se { right: -4px; bottom: -4px; }
.sc__sunorb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sc__sunm {
  position: absolute;
  top: var(--ly);
  left: var(--lx);
  width: 0.8rem;
  height: 0.8rem;
  margin: -0.4rem 0 0 -0.4rem;
  border: 1.5px solid var(--color-action-primary-hover);
  border-radius: 50%;
  background: var(--color-action-primary-contrast);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-action-primary-hover) 30%, transparent);
}
/* base (reduced motion): halftone on the sphere */
.sc--print .sc__ink--k,
.sc--print .sc__sh {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .sc--print .sc__cv--print {
    animation: scdeg 9s infinite linear;
  }
  .sc--print .sc__ink--k { animation: scht 9s infinite; }
  .sc--print .sc__ink--a,
  .sc--print .sc__ink--b { animation: scri 9s infinite; }
  .sc--print .sc__hx { animation: schat 9s infinite; }
  .sc--print .sc__sh { animation: scsh 9s infinite; }
}
@keyframes scdeg { from { --deg: 0; } to { --deg: 360; } }
@keyframes scsh { 0%, 100% { opacity: 0.0; } }

.sc__cvs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sc__sunm {
  top: 50%;
  left: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .sc--print .sc__cyc--3 u {
    animation: sccy3 6s infinite;
    animation-delay: calc(var(--i) * 2s);
  }
}
.sc--print .sc__sph,
.sc--print .sc__ink,
.sc--print .sc__hx {
  display: none;
}

.sc--print .sc__cyc--3 u {
  animation: none !important;
  opacity: 0;
}
.sc--print[data-look='0'] .sc__cyc--3 u:nth-child(1),
.sc--print[data-look='1'] .sc__cyc--3 u:nth-child(2),
.sc--print[data-look='2'] .sc__cyc--3 u:nth-child(3) {
  opacity: 1;
}
.sc--print:not([data-look]) .sc__cyc--3 u:nth-child(1) {
  opacity: 1;
}

/* the closing section: a field of color, so it reads as the next chapter and not one more list */
.block--next {
  position: relative;
  margin: var(--space-8) var(--site-pad) var(--space-16);
  padding: var(--space-16) var(--space-12);
  overflow: hidden;
  border: 0;
  border-radius: var(--site-radius);
  background-color: var(--color-primary-950);
  background-image:
    radial-gradient(45% 80% at 15% 90%, color-mix(in srgb, var(--color-sky-500) 80%, transparent), transparent 70%),
    radial-gradient(40% 70% at 55% 0%, color-mix(in srgb, var(--color-orange-500) 70%, transparent), transparent 70%),
    radial-gradient(45% 80% at 100% 100%, color-mix(in srgb, var(--color-blue-500) 80%, transparent), transparent 70%),
    radial-gradient(35% 70% at 80% 10%, color-mix(in srgb, var(--color-primary-400) 70%, transparent), transparent 70%);
  background-size: 160% 100%;
  color: var(--color-white);
}
@media (prefers-reduced-motion: no-preference) {
  .block--next {
    animation: next-drift 18s ease-in-out infinite alternate;
  }
}
@keyframes next-drift {
  from { background-position: 0% 0, 100% 0, 30% 0, 80% 0; }
  to { background-position: 100% 0, 0% 0, 80% 0, 20% 0; }
}
.block--next .sl__text h2,
.block--next .sl__item.is-on button {
  color: var(--color-white);
}
.block--next .sl__text > .sub,
.block--next .sl__item p {
  color: color-mix(in srgb, var(--color-white) 82%, transparent);
}
.block--next .sl__item {
  border-top-color: color-mix(in srgb, var(--color-white) 26%, transparent);
}
.block--next .sl__item button {
  color: color-mix(in srgb, var(--color-white) 70%, transparent);
}
.block--next .sl__item::after {
  background: var(--color-white);
}
.block--next .pill {
  background: var(--color-white);
  color: var(--color-neutral-950);
}
.block--next .sl__stage {
  box-shadow: 0 var(--space-8) var(--space-16) calc(var(--space-4) * -1) rgb(0 0 0 / 0.5);
}
@media (max-width: 900px) {
  .block--next {
    padding: var(--space-10) var(--space-5);
  }
}

/* ---- Design page stills: a composed, static picture of the editor per feature ---- */
.st-scene > * {
  position: absolute;
}
.st-scene .st-bar {
  left: 30%;
  top: 0.8rem;
}
.st-sel {
  position: absolute;
  outline: 1.5px solid var(--color-action-primary-hover);
}
.st-sel .sc__hd {
  position: absolute;
}
.st-tag {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--color-action-primary-hover);
  color: var(--color-neutral-950);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
  transform: translateX(-50%);
  white-space: nowrap;
}
.st-cur {
  position: absolute;
}
.st-fill {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: var(--color-primary-500);
}
.st-menu {
  left: 28%;
  top: 3.1rem;
  opacity: 1;
}
.st-menu li.hl {
  background: var(--color-field-bg);
  color: var(--color-text-default);
}
.st-star {
  left: 46%;
  top: 34%;
  width: 6.2rem;
  height: 6.2rem;
  background: var(--color-sky-400);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.st-circ {
  left: 14%;
  top: 74%;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--color-orange-300);
}
.st-pen {
  left: 38%;
  top: 66%;
  width: 18%;
  overflow: visible;
}
.st-pen path {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.4;
  stroke-linecap: round;
}
.st-pen rect {
  fill: var(--color-action-primary-contrast);
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.4;
}
.st-pen .hl {
  stroke: var(--color-action-primary-hover);
  stroke-width: 1;
}
.st-pen .hc {
  fill: var(--color-action-primary-contrast);
  stroke: var(--color-action-primary-hover);
}
/* paint */
.st-mesh {
  left: 5%;
  top: 9%;
  width: 54%;
  height: 78%;
  overflow: visible;
  border-radius: 10px;
  background:
    radial-gradient(60% 55% at 10% 10%, var(--color-orange-300), transparent 70%),
    radial-gradient(55% 60% at 90% 15%, var(--color-sky-400), transparent 70%),
    radial-gradient(60% 55% at 15% 95%, var(--color-primary-500), transparent 70%),
    radial-gradient(55% 60% at 95% 90%, var(--color-blue-500), transparent 70%),
    var(--color-neutral-800);
}
.st-mesh svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.st-mesh path {
  fill: none;
  stroke: var(--color-action-primary-hover);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.st-mp {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border: 1.5px solid var(--color-action-primary-hover);
  border-radius: 50%;
  background: var(--color-action-primary-contrast);
}
.st-orb {
  left: 24%;
  top: 36%;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 5rem 1.8rem color-mix(in srgb, var(--color-orange-300) 85%, transparent);
}
.sc__fx .is-on {
  background: var(--color-action-primary-hover);
  color: var(--color-neutral-950);
}
/* brush */
.st-brush {
  left: 4%;
  top: 14%;
  width: 56%;
  overflow: visible;
}
.st-tape {
  fill: var(--color-white);
  opacity: 1;
}
.st-cl {
  fill: none;
  stroke: var(--color-action-primary-hover);
  stroke-width: 1;
}
.st-pt {
  fill: var(--color-action-primary-contrast);
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.4;
}
.st-cp {
  fill: var(--color-action-primary-contrast);
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.4;
}
/* styles on spheres */
.st-balls {
  inset: 0 14.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 0 1rem;
}
.st-balls figure {
  position: relative;
  display: grid;
  flex: 1;
  max-width: 9rem;
  margin: 0;
  justify-items: center;
  gap: 0.8rem;
}
.st-ballw canvas,
.st-sel--ball canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;
}
.st-ballw:not(.is-on) canvas {
  width: 100%;
}
.st-sel--ball {
  position: relative;
  width: 100%;
}
.st-sel--ball .sc__hd {
  position: absolute;
}
.st-ballw figcaption {
  color: var(--color-text-muted);
}
.st-ballw.is-on figcaption {
  color: var(--color-text-default);
}
.st-sun {
  position: absolute;
}
/* template */
.st-tcard {
  left: 6%;
  top: 8%;
  width: 40%;
  height: 56%;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--color-neutral-800);
}
.st-tcard > * {
  position: absolute;
}
.st-timg {
  inset: 6% 6% auto 6%;
  height: 44%;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--color-sky-400), var(--color-primary-500));
}
.st-ttl {
  top: 56%;
  left: 6%;
  font-size: 1.15rem;
}
.st-tsub {
  top: 76%;
  left: 6%;
  color: var(--color-text-muted);
  font-style: normal;
}
.st-fl {
  border: 1.5px dashed var(--color-action-primary-hover);
  border-radius: 4px;
}
.st-fl u {
  position: absolute;
  top: -0.7rem;
  right: 0.3rem;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--color-action-primary-hover);
  color: var(--color-neutral-950);
  text-decoration: none;
  font-size: 0.6875rem;
}
.st-outs {
  left: 6%;
  top: 72%;
  display: flex;
  gap: 0.6rem;
  width: 52%;
}
.st-outs div {
  flex: 1;
  padding: 0.4rem;
  border-radius: 6px;
  background: var(--color-neutral-800);
}
.st-outs i {
  display: block;
  height: 2.2rem;
  border-radius: 4px;
}
.st-outs b {
  display: block;
  margin-top: 0.3rem;
  font-weight: var(--type-weight-regular);
  color: var(--color-text-muted);
}
/* motion */
.st-trk {
  left: 5%;
  width: 52%;
  height: 0;
}
.st-line {
  position: absolute;
  inset: 0;
  height: 2px;
  background: color-mix(in srgb, var(--color-white) 18%, transparent);
}
.st-trk b {
  position: absolute;
  top: -0.6rem;
  width: 1.2rem;
  height: 1.2rem;
  margin-left: -0.6rem;
  border-radius: 50%;
}
.st-lbl {
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
}
/* adaptive type */
.st-type {
  inset: 0 14.5rem 0 0;
  overflow: hidden;
}
.st-ty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 12cqw, 6.5rem);
  font-weight: var(--type-weight-semibold);
  letter-spacing: -0.03em;
}
.st-ty--d {
  background: var(--color-neutral-900);
  color: var(--color-white);
}
.st-ty--l {
  background: var(--color-neutral-50);
  color: var(--color-neutral-950);
  clip-path: inset(0 52% 0 0);
}
.st-edge {
  top: 0;
  bottom: 0;
  left: calc((100% - 14.5rem) * 0.48);
  width: 0;
  border-left: 1.5px solid var(--color-action-primary-hover);
}
.st-edge b {
  position: absolute;
  top: 0.8rem;
  left: 0.4rem;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--color-action-primary-hover);
  color: var(--color-neutral-950);
  font-weight: var(--type-weight-medium);
  white-space: nowrap;
}
/* color modes */
.st-uis {
  inset: 0 14.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
}
.st-ui {
  position: relative;
  display: flex;
  flex: 1;
  max-width: 13rem;
  flex-direction: column;
  gap: 0.5rem;
  aspect-ratio: 3 / 4;
  padding: 0.9rem;
  border-radius: 10px;
}
.st-ui i {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--color-primary-500);
}
.st-ui b {
  height: 0.5rem;
  border-radius: 99px;
}
.st-ui u {
  margin-top: auto;
  height: 1.7rem;
  border-radius: 99px;
  background: var(--color-primary-500);
}
.st-md {
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 0;
  color: var(--color-text-muted);
}
.st-ui--l {
  background: var(--color-neutral-50);
}
.st-ui--l b {
  background: color-mix(in srgb, var(--color-neutral-950) 22%, transparent);
}
.st-ui--d {
  background: var(--color-neutral-900);
  outline: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
}
.st-ui--d b {
  background: color-mix(in srgb, var(--color-white) 24%, transparent);
}
/* boards */
.st-bds {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.6rem;
}
.st-bds > span {
  color: var(--color-text-muted);
}
.st-bds svg {
  width: 18px;
  height: 18px;
}
.st-bd {
  position: relative;
  flex: 1;
  aspect-ratio: 9 / 13;
  border-radius: 3px;
  background: var(--color-neutral-900);
  outline: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
}
.st-bd.is-on {
  outline: 1.5px solid var(--color-action-primary-hover);
}
.st-bd .sc__hd {
  position: absolute;
}
.st-bd b {
  position: absolute;
  bottom: 100%;
  left: 0;
  padding-bottom: 0.3rem;
  color: var(--color-text-muted);
  font-weight: var(--type-weight-regular);
  white-space: nowrap;
}
.st-bd > i:not(.sc__hd) {
  position: absolute;
  inset: 22% 18%;
  border-radius: 8px;
}
.st-bd:nth-of-type(2) > i:not(.sc__hd) {
  border-radius: 50%;
}
.st-push {
  right: 1rem;
  top: 0.8rem;
  position: absolute;
}
/* timeline */
.st-board {
  left: 8%;
  top: 6%;
  width: 84%;
  height: 52%;
  border-radius: 3px;
  background: var(--color-neutral-900);
  outline: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
}
.st-board svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.st-board path {
  fill: none;
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}
.st-g {
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--color-orange-300);
  transform: translate(-50%, -50%);
}
.st-g1 { left: 10%; top: 70%; opacity: 0.3; }
.st-g2 { left: 36%; top: 40%; opacity: 0.5; }
.st-g3 { left: 62%; top: 38%; opacity: 0.75; }
.st-g4 { left: 88%; top: 60%; opacity: 1; }
.st-tl {
  position: absolute;
}
@media (max-width: 900px) {
  .st-balls,
  .st-type,
  .st-uis {
    right: 0;
  }
  .st-edge {
    left: 48%;
  }
}
.sl--flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
@media (max-width: 900px) {
  .sl--flip {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* motion preset applied to timelines */
.st-mo {
  inset: 0 14.5rem 0 0;
}
.st-mo > * {
  position: absolute;
}
.st-pv {
  left: 6%;
  top: 8%;
  width: 42%;
  height: 36%;
  border-radius: 3px;
  background: var(--color-neutral-900);
  outline: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
}
.st-pl {
  position: absolute;
  left: 10%;
  width: 80%;
}
.st-pl i {
  position: absolute;
  inset: 0;
  border-radius: 6px;
}
.st-pl i:nth-child(1) { transform: translateY(-14px); opacity: 0.2; }
.st-pl i:nth-child(2) { transform: translateY(-7px); opacity: 0.45; }
.st-pl i:nth-child(3) { opacity: 1; }
.st-pl--t { top: 16%; height: 12%; }
.st-pl--t i { background: var(--color-primary-500); }
.st-pl--i { top: 34%; height: 30%; width: 50%; }
.st-pl--i i { background: var(--color-orange-300); }
.st-pl--b { top: 72%; height: 14%; width: 34%; }
.st-pl--b i { background: var(--color-sky-400); border-radius: 99px; }
.st-tlm {
  left: 4%;
  top: 52%;
  width: 90%;
  padding: 0.4rem 0.7rem 0.8rem;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-surface-default);
}
.st-tlm h5 {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: var(--type-weight-semibold);
}
.st-bar {
  position: relative;
  flex: 1;
  height: 1.3rem;
  text-decoration: none;
}
.st-bar s {
  position: absolute;
  top: 25%;
  height: 50%;
  border-radius: 3px;
  opacity: 0.8;
}
.st-k {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--color-timeline-key);
  transform: translate(-50%, -50%) rotate(45deg);
}
.st-drop {
  position: absolute;
  inset: 1.3rem 0.4rem 0.2rem 0.4rem;
  border: 1.5px dashed var(--color-action-primary-hover);
  border-radius: 6px;
  pointer-events: none;
}
.st-drop b {
  position: absolute;
  top: -0.7rem;
  right: 0.5rem;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--color-action-primary-hover);
  color: var(--color-neutral-950);
  font-weight: var(--type-weight-medium);
}
.st-chip {
  left: 34%;
  top: 46%;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-full);
  background: var(--color-bg-default);
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.45);
  transform: rotate(-3deg);
}
.st-chip svg {
  width: 13px;
  height: 13px;
}
.st-mv {
  margin: var(--space-2) var(--space-1);
  padding: 0;
  list-style: none;
}
.st-mv li {
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}
.st-mv li.is-on {
  background: var(--color-field-bg);
  color: var(--color-text-default);
}
.st-apply {
  margin: var(--space-2) var(--space-1) 0;
  padding: 0.3rem;
  border-radius: var(--radius-lg);
  background: var(--color-field-bg);
  text-align: center;
}
.st-tlm .sc__row u.st-bar {
  background: none;
  border-radius: 0;
}
.st-tlm .sc__row {
  margin-bottom: 0.15rem;
}

/* timeline rows, as the editor draws them */
.tl2 {
  position: relative;
}
.tl2__r {
  display: grid;
  grid-template-columns: 22% 1fr;
  align-items: center;
  height: 1.45rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-white) 6%, transparent);
}
.tl2__l {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
  padding: 0 0.4rem;
  border-right: 1px solid color-mix(in srgb, var(--color-white) 10%, transparent);
  color: var(--color-text-default);
  white-space: nowrap;
  overflow: hidden;
}
.is-kid .tl2__l {
  padding-left: 1.2rem;
}
.tl2__l b {
  font-weight: var(--type-weight-regular);
}
.tl2__r:not(.is-kid) .tl2__l b {
  font-weight: var(--type-weight-semibold);
}
.tl2__c {
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  background: var(--lc);
}
.tl2__ct,
.tl2__i {
  display: grid;
  flex: none;
  color: var(--color-text-muted);
}
.tl2__ct svg,
.tl2__i svg {
  width: 11px;
  height: 11px;
}
.tl2__t {
  position: relative;
  height: 100%;
}
.tl2__b {
  position: absolute;
  inset: 3px 0.5rem 3px 0;
  border: 1px solid color-mix(in srgb, var(--lc) 70%, transparent);
  border-radius: 3px;
  background: color-mix(in srgb, var(--lc) 38%, var(--color-neutral-900));
}
.tl2__b.is-g {
  background: color-mix(in srgb, var(--lc) 30%, var(--color-neutral-900));
}
.tl2__t em {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--color-timeline-key);
  transform: translate(-50%, -50%) rotate(45deg);
}
.tl2__ph {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1.5px solid var(--color-action-primary-hover);
}
.st-tlm {
  left: 0;
  top: 52%;
  width: 100%;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--color-border-tick);
  border-radius: 0;
  background: var(--color-surface-default);
}
.st-tlm .st-drop {
  inset: 0.2rem 0.4rem 0.2rem calc(22% + 0.4rem);
}
.st-tlm--full {
  top: 64%;
}

.st-mo .tl2__r {
  grid-template-columns: 30% 1fr;
}
.st-mo .tl2__ph {
  left: calc(30% + (70% * 0.36)) !important;
}
.st-tlm--full {
  top: 58%;
}

.st-vr {
  display: grid;
  grid-template-columns: 1fr 2.4rem 2.4rem;
  align-items: center;
  gap: 0.4rem;
  margin: 0 var(--space-1) var(--space-1);
}
.st-vr span {
  color: var(--color-text-muted);
}
.st-vr i {
  display: block;
  height: 1.3rem;
  border: 1px solid color-mix(in srgb, var(--color-white) 25%, transparent);
  border-radius: 5px;
}
.st-vh b {
  color: var(--color-text-muted);
  font-weight: var(--type-weight-regular);
  text-align: center;
}
.st-ui.is-on {
  outline: 1.5px solid var(--color-action-primary-hover);
}
.st-ui .sc__hd {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: var(--radius-xs);
  background: var(--color-action-primary-contrast);
}
.st-ui .sc__hd--nw { top: -4px; left: -4px; }
.st-ui .sc__hd--ne { top: -4px; right: -4px; left: auto; }
.st-ui .sc__hd--sw { bottom: -4px; left: -4px; top: auto; }
.st-ui .sc__hd--se { right: -4px; bottom: -4px; top: auto; left: auto; }

/* creative stage: no panel, just shapes on the color field */
.sl__stage--free {
  background: none;
  box-shadow: none !important;
  overflow: visible;
}
.mv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mv-p {
  fill: none;
  stroke: color-mix(in srgb, var(--color-white) 55%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 3 6;
}
.mv-k {
  fill: var(--color-key-200);
  opacity: 0.45;
}
.mv-s circle {
  fill: var(--color-white);
}
.mv-star path {
  fill: var(--color-orange-300);
}
.mv-ring {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1.5;
}
.mv-fl {
  stroke: color-mix(in srgb, var(--color-white) 45%, transparent);
  stroke-width: 1.5;
}
.mv-tr {
  stroke: color-mix(in srgb, var(--color-white) 18%, transparent);
  stroke-dasharray: 2 6;
}
@media (prefers-reduced-motion: no-preference) {
  .mv-k {
    animation: mvk 5s infinite;
    animation-delay: calc(var(--i) * 1.1s - 0.4s);
  }
}
@keyframes mvk { 0%, 18% { opacity: 1; } 24%, 100% { opacity: 0.4; } }

.mv-cur text {
  fill: var(--color-white);
  font-size: 9px;
  font-weight: 500;
}
.mv-cur path {
  stroke: var(--color-white);
  stroke-width: 1;
  stroke-linejoin: round;
}
.mv-k--m {
  fill: var(--color-label-blue);
}
.mv-k--t {
  fill: var(--color-orange-300);
}
.mv-fr {
  position: absolute;
  inset: 12% 8% 12% 8%;
  border: 1.5px solid color-mix(in srgb, var(--color-white) 55%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--color-black) 22%, transparent);
}
.mv-ball {
  position: absolute;
  top: 40%;
  left: 38%;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--color-white);
}
.mv-pin {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  --c: var(--color-label-purple);
}
.mv-pin i {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50% 50% 50% 0;
  background: var(--c);
  color: var(--color-neutral-950);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: var(--type-weight-semibold);
}
.mv-pin p {
  margin: 0;
  max-width: 11rem;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  background: var(--color-neutral-50);
  color: var(--color-neutral-950);
  font-size: 0.75rem;
}
.mv-pin b {
  display: block;
  color: var(--c);
  font-weight: var(--type-weight-semibold);
  filter: brightness(0.7);
}
.mv-ver {
  position: absolute;
  right: 8%;
  bottom: 3%;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--color-action-primary-hover);
  color: var(--color-neutral-950);
  font-size: 0.8rem;
}
@media (prefers-reduced-motion: no-preference) {
  .mv-k--m {
    animation: mvk 6s infinite;
    animation-delay: calc(var(--i) * 1.4s - 0.3s);
  }
  .mv-k--t {
    animation: mvk 6s infinite;
    animation-delay: calc(var(--i) * 1.4s - 0.3s);
  }
  .mv-pin {
    animation: mvpin 7s infinite backwards;
    animation-delay: calc(var(--i) * 1.6s);
  }
  .mv-ver {
    animation: mvver 7s infinite;
  }
}
@keyframes mvpin { 0% { opacity: 0; transform: translateY(8px) scale(0.9); } 8%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes mvver { 0%, 60% { opacity: 0; transform: scale(0.8); } 68%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* ---- feature pages: animated heroes, stills and the mosaic (toys.js, "Feature pages") ---- */
/* the poster every scene uses: it lays itself out for the shape of its frame */
.pz {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  container-type: size;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  background: var(--color-neutral-50);
  color: var(--color-neutral-950);
  --pz: var(--color-primary-500);
}
.fr--sq .pz {
  aspect-ratio: 1;
}
.fr--tall .pz {
  aspect-ratio: 9 / 16;
}
.pz > * {
  position: absolute;
  opacity: var(--a, 1);
  translate: 0 calc((1 - var(--a, 1)) * 40%);
}
.pz__img {
  --a: var(--a1, 1);
  left: 54%;
  top: 12%;
  width: 39%;
  height: 76%;
  border-radius: 4cqmin;
  background: var(--pz);
}
.pz__t {
  --a: var(--a2, 1);
  left: 7%;
  top: 27%;
  font-size: 13cqh;
  font-weight: var(--type-weight-semibold);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.pz .pz__p {
  --a: var(--a3, 1);
  left: 7%;
  top: 55%;
  padding: 1.6cqh 4cqh;
  border-radius: var(--radius-full);
  background: var(--color-neutral-950);
  color: var(--color-neutral-50);
  font-size: 7cqh;
  font-style: normal;
  line-height: 1.2;
  white-space: nowrap;
  translate: 0 calc((1 - var(--a, 1)) * 40% + var(--pp, 0%));
}
@container (max-aspect-ratio: 5 / 4) {
  .pz__img {
    left: 10%;
    top: 9%;
    width: 80%;
    height: 48%;
  }
  .pz__t {
    left: 10%;
    top: 62%;
    font-size: 10cqh;
  }
  .pz .pz__p {
    left: 10%;
    top: 78%;
    font-size: 5.5cqh;
  }
}
@container (max-aspect-ratio: 3 / 4) {
  .pz__img {
    top: 7%;
    height: 50%;
  }
  .pz__t {
    top: 62%;
    font-size: 6.2cqh;
  }
  .pz .pz__p {
    top: 73%;
    padding: 0.9cqh 2.4cqh;
    font-size: 3.6cqh;
  }
}
.pz .is-peer {
  outline: 1.5px solid var(--color-orange-500);
  outline-offset: 2px;
}
/* a board frame with its label above */
.fr {
  position: absolute;
  transform-origin: 50% 50%;
}
.fr__n {
  position: absolute;
  bottom: 100%;
  left: 0;
  padding-bottom: 0.3rem;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  white-space: nowrap;
}
.fr.is-over .pz {
  outline: 1.5px solid var(--color-action-primary-hover);
  outline-offset: 3px;
}
/* heroes: one canvas, a floating panel, a timeline along the bottom */
.fh {
  grid-template-columns: 1fr;
}
.fh .dh__canvas {
  grid-column: 1;
}
.fh__world {
  position: absolute;
  inset: 0 15rem 0 0;
  opacity: var(--dh-fade);
}
.fh__world--tl {
  bottom: 6.4rem;
}
.fh__world--full {
  right: 0;
}
.fh__panel {
  z-index: 3;
}
.fh__modes {
  flex-wrap: wrap;
}
.fh .dh__cur {
  transition: opacity 0.2s;
}
.fh__push {
  right: 16rem;
}
.fh__tl {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 0.4rem 0.8rem 0.7rem;
  border-top: 1px solid var(--color-border-tick);
  background: var(--color-surface-default);
  transform: translateY(100%);
}
.fh__tl--on {
  transform: none;
}
.tl2__t em.is-kept {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-timeline-key) 35%, transparent);
}
.fh__drag,
.q-drag {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}
.fh__mvs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.5rem;
  margin-top: 0.5rem;
}
.fh__mvh {
  color: var(--color-text-muted);
  font-size: 0.6875rem;
}
.q-mv {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--color-field-bg);
  white-space: nowrap;
}
.q-mv svg {
  width: 12px;
  height: 12px;
}
.q-mv b {
  font-weight: var(--type-weight-regular, 400);
}
.fh__cvs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fh__avs {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.fh__avs .dh__push {
  position: static;
  margin-left: 0.3rem;
}
.q-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--c);
  color: var(--color-text-inverse);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: var(--type-weight-semibold);
}
.q-dlg {
  position: absolute;
  top: 15%;
  left: 50%;
  z-index: 5;
  width: 20rem;
  max-width: 88%;
  padding: var(--space-3);
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-surface-default);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.5);
  translate: -50% 0;
}
.q-dlg h6,
.q-fill h6 {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: var(--type-weight-semibold);
}
.q-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.3rem;
}
.q-in > * {
  height: 26px;
  padding: 0 0.5rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-field-bg);
  font-style: normal;
  line-height: 26px;
  white-space: nowrap;
}
.q-in > em {
  color: var(--color-text-muted);
}
.q-in > b {
  padding: 0 0.7rem;
  background: var(--color-action-primary-default);
  color: var(--color-action-primary-contrast);
  font-weight: var(--type-weight-semibold);
}
.fh__mail::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 1px;
  background: currentColor;
  vertical-align: -0.12em;
}
.q-ppl,
.q-menu {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}
.fh__p {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 1.9rem;
}
.fh__p b {
  font-weight: var(--type-weight-regular, 400);
}
.fh__p span {
  margin-left: auto;
  color: var(--color-text-muted);
}
.q-menu {
  position: absolute;
  top: 4.6rem;
  right: 4.4rem;
  z-index: 2;
  width: 8rem;
  margin: 0;
  padding: 0.25rem;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-bg-default);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.45);
}
.q-menu li {
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}
.q-menu li.is-on {
  background: var(--color-field-bg);
  color: var(--color-text-default);
}
.q-pin {
  position: absolute;
  z-index: 4;
  translate: 0 -100%;
}
.q-pin i {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50% 50% 50% 0;
  background: var(--c);
  color: var(--color-text-inverse);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: var(--type-weight-semibold);
}
.q-pin p {
  position: absolute;
  top: -0.3rem;
  left: 1.7rem;
  display: none;
  width: max-content;
  max-width: 11rem;
  margin: 0;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-bg-default);
  color: var(--color-text-default);
}
.q-pin.is-open p {
  display: block;
}
.q-pin p b {
  display: block;
}
.q-pin.is-done i {
  background: var(--color-label-green);
}
.q-stat {
  --c: var(--color-label-gray);
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.55rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--c) 22%, transparent);
  color: var(--c);
  font-size: 0.6875rem;
  white-space: nowrap;
}
.q-stat:empty {
  display: none;
}
.q-stat--ok {
  --c: var(--color-label-green);
}
.q-stat--ch {
  --c: var(--color-label-orange);
}
.fh__ver {
  position: absolute;
  top: 6%;
  left: 24%;
}
.q-sz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  margin: 0 var(--space-1) 2px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
}
.q-sz b {
  font-weight: var(--type-weight-regular, 400);
}
.q-sz.is-on {
  background: var(--color-field-bg);
}
.q-sz span {
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
}

/* a still on its own, and the mosaic of them */
.toy.still {
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  font-size: 0.75rem;
}
.toy.still--wide {
  aspect-ratio: 21 / 9;
  margin-top: var(--space-8);
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6);
  margin-top: var(--space-8);
}
.mz {
  grid-column: span 2;
}
.mz--wide {
  grid-column: span 4;
}
.mz:nth-child(5),
.mz:nth-child(6),
.mz--text {
  grid-column: span 3;
}
.mz .still {
  height: 19rem;
  aspect-ratio: auto;
}
.mz h3 {
  margin: var(--space-4) 0 var(--space-1);
  font-size: 1.0625rem;
}
.mz p {
  margin: 0;
  color: var(--site-muted, var(--color-text-muted));
}
.mz--text {
  padding-top: var(--space-4);
  border-top: 1px solid var(--site-line);
}
.mz--text h3 {
  margin-top: 0;
}

/* stills: shared drawing pieces */
.q-svg {
  inset: 0;
  width: 100%;
  height: 100%;
}
.q-svg--p {
  width: calc(100% - 14.5rem);
}
.q-fit {
  display: block;
  width: 100%;
  height: 100%;
}
.q-selr {
  fill: none;
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.5;
}
.q-hd {
  fill: var(--color-action-primary-contrast);
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.5;
}
.q-floor,
.q-arrow {
  fill: none;
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.q-knob {
  fill: var(--color-action-primary-contrast);
  stroke: var(--color-action-primary-hover);
  stroke-width: 1.5;
}
.q-drop,
.q-ghost,
.q-spoke,
.q-ring {
  fill: none;
  stroke: color-mix(in srgb, var(--color-white) 28%, transparent);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.q-ring {
  stroke: color-mix(in srgb, var(--color-action-primary-hover) 70%, transparent);
  stroke-width: 1.5;
}
.q-track {
  fill: var(--color-surface-default);
  stroke: var(--color-border-tick);
}
.q-peaks {
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.q-dim {
  opacity: 0.45;
}
/* camera: three layers at three depths, the middle one in focus */
.q-cam {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  background: var(--color-neutral-900);
}
.q-cam i {
  position: absolute;
}
.q-cam__far {
  left: 8%;
  top: 14%;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-sky-400);
  filter: blur(5px);
  opacity: 0.8;
}
.q-cam__far--2 {
  left: 66%;
  top: 22%;
  width: 14%;
  background: var(--color-orange-400);
}
.q-cam__mid {
  left: 34%;
  top: 28%;
  width: 30%;
  height: 46%;
  border-radius: 6px;
  background: var(--color-primary-500);
  outline: 1.5px solid var(--color-action-primary-hover);
  outline-offset: 3px;
}
.q-cam__mid .sc__hd--nw {
  top: -7px;
  left: -7px;
}
.q-cam__mid .sc__hd--ne {
  top: -7px;
  right: -7px;
}
.q-cam__mid .sc__hd--sw {
  bottom: -7px;
  left: -7px;
}
.q-cam__mid .sc__hd--se {
  right: -7px;
  bottom: -7px;
}
.q-cam__near {
  left: 62%;
  top: 52%;
  width: 52%;
  height: 70%;
  border-radius: 12px;
  background: var(--color-orange-300);
  filter: blur(9px);
}
/* live editing: avatars, a second playhead, a peer's selection */
.q-avs {
  top: 0.8rem;
  right: 0.8rem;
}
.q-tlm {
  top: auto;
  bottom: 6%;
}
.q-ph2 {
  border-left-color: var(--color-orange-500);
}
.q-peer-t .pz__t {
  outline: 1.5px solid var(--color-orange-500);
  outline-offset: 2px;
}
.q-sel-img .pz__img,
.q-sel-t .pz__t {
  outline: 1.5px solid var(--color-action-primary-hover);
  outline-offset: 2px;
}
.q-moved .pz__t {
  top: 68%;
}
.q-moved .pz__p {
  top: 78%;
}
.q-safe {
  inset: 12% 6% 20%;
  border: 1px dashed var(--color-blue-500);
  opacity: 1;
  translate: none;
}
.pz .q-pin {
  translate: 0 -100%;
}
.q-cm {
  display: flex;
  gap: 0.45rem;
  margin: 0 var(--space-1) var(--space-2);
}
.q-cm p {
  margin: 0;
}
.q-cm p b {
  margin-right: 0.4rem;
}
.q-cm p span {
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 0.6875rem;
}
.q-cm p span::after {
  content: '';
  display: block;
}
.q-ap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 2rem;
  margin: 0 var(--space-1);
}
.q-ap b {
  font-weight: var(--type-weight-regular, 400);
}
.q-ap .q-stat {
  margin-left: auto;
}
/* review versions: one row per round */
.q-vers {
  inset: 7% 6%;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.q-ver {
  display: grid;
  grid-template-columns: auto 2.2rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.8rem 0.5rem 0.5rem;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-surface-default);
}
.q-ver__t {
  height: 100%;
  aspect-ratio: 16 / 9;
}
.q-ver p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.q-ver__o {
  color: var(--color-text-muted);
  white-space: nowrap;
}
.q-ver:not(:first-child) {
  opacity: 0.7;
}
/* size rules */
.q-rules {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
/* the Fill page: the marked fields on one side, the result on the other */
.q-fill {
  inset: 9% 6%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: auto 1fr;
  gap: 0.4rem 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-surface-default);
}
.q-fill h6 {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
}
.q-fill h6 span {
  color: var(--color-text-muted);
  font-weight: var(--type-weight-regular, 400);
}
.q-fill label {
  display: block;
  margin-bottom: 0.6rem;
}
.q-fill label span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--color-text-muted);
}
.q-fill label em {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 28px;
  padding: 0 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--color-field-bg);
  font-style: normal;
}
.q-fill__th {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 3px;
  background: var(--color-orange-400);
}
.q-fill__p {
  align-self: center;
}
/* a pasted sheet and the entries it makes */
.q-sheet {
  left: 5%;
  top: 14%;
  width: 56%;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-surface-default);
  overflow: hidden;
}
.q-sheet__r {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: center;
  height: 2.1rem;
  padding: 0 0.7rem;
  border-top: 1px solid color-mix(in srgb, var(--color-white) 7%, transparent);
}
.q-sheet__h {
  border-top: 0;
  color: var(--color-text-muted);
}
.q-outs {
  left: 66%;
  top: 9%;
  width: 16%;
  display: grid;
  gap: 0.6rem;
}
.q-out {
  position: relative;
}
/* the export grid: entries down, sizes across */
.q-grid {
  inset: 6% 15.5rem 6% 3%;
  display: grid;
  grid-template-columns: 6rem 1.78fr 1fr 0.5625fr;
  grid-template-rows: auto repeat(3, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  align-items: center;
}
.q-grid > b {
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: var(--type-weight-regular, 400);
}
.q-grid > b i {
  margin-left: 0.4rem;
  font-family: var(--type-family-mono);
  font-style: normal;
  opacity: 0.7;
}
.q-grid > .q-grid__e {
  color: var(--color-text-default);
  font-size: 0.75rem;
}
.q-grid__c {
  height: 100%;
  min-height: 0;
}
.q-grid__c .pz {
  width: auto;
  height: 100%;
}
.q-grid__c--sq .pz {
  aspect-ratio: 1;
}
.q-grid__c--tall .pz {
  aspect-ratio: 9 / 16;
}

@media (max-width: 760px) {
  .fh__world {
    right: 0;
  }
  .fh__push {
    right: 1rem;
  }
  .mosaic {
    grid-template-columns: minmax(0, 1fr);
  }
  .mz,
  .mz--wide,
  .mz--text,
  .mz:nth-child(5),
  .mz:nth-child(6) {
    grid-column: auto;
  }
  .q-svg--p {
    width: 100%;
  }
  .q-grid {
    right: 3%;
  }
  .toy.still--wide {
    aspect-ratio: 4 / 3;
  }
}
.fh .dh__status {
  top: 0.7rem;
  bottom: auto;
  left: 0.8rem;
  z-index: 3;
}
@media (max-width: 900px) {
  .fh__world {
    right: 0;
  }
  .fh__push {
    right: 1rem;
  }
  .q-svg--p {
    width: 100%;
  }
  .q-grid {
    right: 3%;
  }
}
.block > h2 + .sub {
  margin-top: var(--space-3);
}
@media (max-width: 600px) {
  .fh .dh__status,
  .fh .fr__n {
    display: none;
  }
  .fh__world--tl {
    bottom: 5.4rem;
  }
}
.q-peak {
  fill: var(--color-text-muted);
}
.q-tick {
  stroke-width: 3;
  stroke-linecap: round;
}
.q-pic {
  left: 0.8rem;
  bottom: 0.8rem;
  width: 4.6rem;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 58% 42%, var(--color-white) 0, transparent 46%),
    linear-gradient(to top, var(--color-neutral-400), var(--color-neutral-950) 60%);
}

/* a small fact that belongs to a list item: a chip under the item's text, the fact itself on hover, focus or tap */
.also {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.also__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--site-line);
  border-radius: var(--radius-full);
  color: var(--site-ink);
  font-size: var(--site-type-small);
  cursor: default;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.also__chip::before {
  content: '+';
  color: var(--site-muted);
}
.also__chip:hover,
.also__chip:focus {
  border-color: var(--site-muted);
  background: var(--site-card);
  outline: none;
}
.also__chip:focus-visible {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
}
.also__tip {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 8;
  width: 19rem;
  max-width: 78vw;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-bg-default);
  box-shadow: 0 10px 28px var(--site-shadow);
  color: var(--color-text-default);
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  translate: 0 -4px;
  pointer-events: none;
  transition:
    opacity 0.15s,
    translate 0.15s,
    visibility 0.15s;
}
.also__chip:hover .also__tip,
.also__chip:focus .also__tip {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .also__chip,
  .also__tip {
    transition: none;
  }
}

/* a scene keeps its own stacking order, so its cursors and pins never sit over the page's menus */
.toy,
.sl__stage,
.hero__media {
  isolation: isolate;
}

/* closing "next" sections: the art alone on the color field, drawn in white */
.sl__stage--free .q-svg,
.sl__stage--free .q-sheet,
.sl__stage--free .q-outs {
  position: absolute;
}
.sl__stage--free .q-svg [style*='fill'] {
  fill: var(--color-white) !important;
}
.sl__stage--free .q-svg circle:nth-of-type(3n),
.sl__stage--free .q-svg rect:nth-of-type(3n) {
  fill-opacity: 0.7;
}
.sl__stage--free .q-selr,
.sl__stage--free .q-floor,
.sl__stage--free .q-arrow,
.sl__stage--free .q-hd,
.sl__stage--free .q-knob {
  stroke: var(--color-white);
}
.sl__stage--free .q-drop {
  stroke: color-mix(in srgb, var(--color-white) 55%, transparent);
}
.sl__stage--free .fr .pz {
  box-shadow: 0 var(--space-4) var(--space-8) rgb(0 0 0 / 0.35);
}
.sl__stage--free .fr__n:empty {
  display: none;
}

/* All features: the full index, with a filter */
.allf__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-6);
}
.allf__head h2 {
  margin: 0;
}
.allf__find {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.allf__find input {
  width: 19rem;
  max-width: 100%;
  height: 2.5rem;
  padding: 0 var(--space-4);
  border: 1px solid var(--site-line);
  border-radius: var(--radius-full);
  background: var(--site-card);
  color: var(--site-ink);
  font: inherit;
}
.allf__find input:focus-visible {
  border-color: var(--site-muted);
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
}
.allf__n {
  min-width: 6.5rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.allf [hidden] {
  display: none;
}
.allf .index-col h4 {
  margin: var(--space-6) 0 0;
  color: var(--site-ink);
  font-size: var(--site-type-small);
  font-weight: var(--type-weight-semibold);
}
.allf .index-col ul {
  margin-top: var(--space-2);
}
.allf__none {
  margin: var(--space-8) 0 0;
  color: var(--site-muted);
}
@media (max-width: 900px) {
  .allf .index-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .allf__find {
    flex-wrap: wrap;
  }
}

/* the export grid inside a list section */
.q-grid--sm {
  inset: 6% 4% 17% 3%;
  grid-template-columns: 5rem 1.78fr 1fr 0.5625fr;
  gap: 0.5rem 0.8rem;
}
.q-render {
  right: 4%;
  bottom: 5%;
  margin: 0;
  padding: 0.3rem 1rem;
}
/* closing art: a request to an assistant */
.q-chat {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 78%;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-neutral-950) 72%, transparent);
  box-shadow: 0 var(--space-4) var(--space-8) rgb(0 0 0 / 0.35);
  color: var(--color-white);
  font-size: 0.875rem;
  translate: 0 -50%;
}
.q-chat p,
.q-chat ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.q-chat__who {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: color-mix(in srgb, var(--color-white) 60%, transparent);
  font-size: 0.75rem;
}
.q-chat__who svg {
  width: 13px;
  height: 13px;
}
.q-chat__say {
  margin: 0.25rem 0 var(--space-4) !important;
}
.q-chat li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  color: color-mix(in srgb, var(--color-white) 70%, transparent);
}
.q-chat li.is-done {
  color: var(--color-white);
}
.q-chat li svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary-400);
}
.q-chat li i {
  width: 10px;
  height: 10px;
  margin: 0 2px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

/* ---- use cases: hero pieces, the job line, the assistant's card on a dark stage ---- */
.fh__fillp {
  top: 30%;
  left: 34%;
  width: 15rem;
}
.fh__lbl {
  margin: 0 0 0.25rem;
  color: var(--color-text-muted);
}
.fh__panel h4 {
  margin: var(--space-3) var(--space-1) var(--space-1);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: var(--type-weight-regular, 400);
}
.fh__panel .dh__toks span.is-on {
  background: var(--color-field-bg);
}
.fh .q-pin.fh__pin {
  position: absolute;
}
.q-ap .q-stat:empty,
.q-sz .q-stat:empty {
  display: none;
}
.q-sz .q-stat {
  font-family: inherit;
  color: var(--c);
}
.q-chat--st {
  left: 7%;
  width: 62%;
  border: 1px solid var(--color-border-tick);
  background: var(--color-surface-default);
  box-shadow: none;
  font-size: 0.8125rem;
}
/* a job from start to finish, drawn as four bars on one line, the way a timeline shows layers */
.jobline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6) 3px;
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}
.jobline li > i {
  position: relative;
  display: block;
  height: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--lc) 70%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--lc) 26%, transparent);
}
.jobline li > i::before,
.jobline li > i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0.6rem;
  width: 7px;
  height: 7px;
  background: var(--lc);
  transform: translate(-50%, -50%) rotate(45deg);
}
.jobline li > i::after {
  right: 0.6rem;
  left: auto;
  transform: translate(50%, -50%) rotate(45deg);
}
.jobline h3 {
  margin: var(--space-4) 0 var(--space-1);
  font-size: 1.0625rem;
}
.jobline p {
  margin: 0;
  padding-right: var(--space-6);
  color: var(--site-muted);
}
@media (max-width: 900px) {
  .jobline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* a job where the roles overlap: one row per role, laid out like layers on a timeline */
.jobtracks {
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}
.jobtracks li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--site-line);
}
.jobtracks__t span {
  color: var(--lc);
  font-size: var(--site-type-small);
  font-weight: var(--type-weight-semibold);
}
.jobtracks__t h3 {
  margin: var(--space-1) 0;
  font-size: 1.0625rem;
}
.jobtracks__t p {
  margin: 0;
  color: var(--site-muted);
}
.jobtracks__b {
  position: relative;
  height: 1.4rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--site-ink) 4%, transparent);
}
.jobtracks__b i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--s);
  width: var(--w);
  border: 1px solid color-mix(in srgb, var(--lc) 70%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--lc) 26%, transparent);
}
.jobtracks__b i::before,
.jobtracks__b i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0.7rem;
  width: 7px;
  height: 7px;
  background: var(--lc);
  transform: translate(-50%, -50%) rotate(45deg);
}
.jobtracks__b i::after {
  right: 0.7rem;
  left: auto;
  transform: translate(50%, -50%) rotate(45deg);
}
@media (max-width: 900px) {
  .jobtracks li {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }
}

/* role cards in a designed band: each card is its picture; the role and heading sit on it, the detail comes up on
   hover, focus or tap (it is always shown where there is no hover) */
.rolesband {
  padding: var(--space-12);
  border-radius: var(--site-radius);
  background:
    radial-gradient(50% 80% at 100% 0%, color-mix(in srgb, var(--color-primary-500) 12%, transparent), transparent 70%),
    color-mix(in srgb, var(--site-ink) 4%, transparent);
}
.rolesband__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-8);
}
.rolesband__head h2 {
  max-width: 22ch;
  margin: 0;
}
.rolesband__head .sub {
  max-width: 34rem;
  margin: var(--space-3) 0 0;
}
.rolesband__who {
  display: flex;
  margin: 0;
}
.rolesband__who .q-av {
  width: 2rem;
  height: 2rem;
  margin-left: -0.45rem;
  border: 2px solid var(--site-bg);
  font-size: 0.8125rem;
}
.roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-12);
}
.role {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  background: var(--color-bg-stage);
  color: var(--color-white);
  outline: none;
  isolation: isolate;
}
.role::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 3px;
  background: var(--lc);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s ease;
}
.role .toy.still {
  position: absolute;
  inset: 0 0 auto;
  height: 64%;
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
  font-size: 0.6875rem;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.role__over {
  position: absolute;
  inset: 58% 0 0;
  z-index: 2;
  padding: var(--space-8) var(--space-5) var(--space-5);
  background: linear-gradient(to bottom, transparent, var(--color-bg-stage) var(--space-6));
  transition: inset 0.3s ease;
}
.role:hover .role__over,
.role:focus .role__over {
  inset: 26% 0 0;
}
.role__tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: color-mix(in srgb, var(--color-white) 72%, transparent);
  font-size: var(--site-type-small);
}
.role__tag::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--lc);
}
.role h3 {
  margin: var(--space-2) 0 0;
  color: var(--color-white);
  font-size: 1.1875rem;
  line-height: 1.25;
}
.role__more {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  color: color-mix(in srgb, var(--color-white) 74%, transparent);
  opacity: 0;
  transition:
    grid-template-rows 0.3s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
}
.role__more > span {
  overflow: hidden;
}
.role:hover::before,
.role:focus-visible::before,
.role:focus-within::before {
  transform: none;
}
.role:hover .toy.still,
.role:focus .toy.still {
  opacity: 0.3;
  transform: scale(1.04);
}
.role:hover .role__more,
.role:focus .role__more {
  grid-template-rows: 1fr;
  margin-top: var(--space-3);
  opacity: 1;
}
.role:focus-visible {
  box-shadow: 0 0 0 2px var(--color-primary-500);
}
@media (hover: none) {
  .role {
    aspect-ratio: auto;
  }
  .role .toy.still {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .role__over,
  .role:hover .role__over,
  .role:focus .role__over {
    position: relative;
    inset: auto;
    padding-top: var(--space-4);
    background: none;
  }
  .role__more {
    grid-template-rows: 1fr;
    margin-top: var(--space-3);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .role::before,
  .role .toy.still,
  .role__over,
  .role__more {
    transition: none;
  }
}
@media (max-width: 900px) {
  .rolesband {
    padding: var(--space-8) var(--space-5);
  }
  .roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rolesband__who {
    display: none;
  }
}
@media (max-width: 600px) {
  .roles {
    grid-template-columns: minmax(0, 1fr);
  }
}
.q-sheet--2 {
  left: 7%;
  top: 16%;
  width: 86%;
}
.q-sheet--2 .q-sheet__r {
  grid-template-columns: 1.3fr 1fr;
  height: 1.9rem;
}
.q-sheet__r.is-on {
  background: var(--color-field-bg);
}
.q-caret {
  text-decoration: none;
}
.q-caret::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 1px;
  background: currentColor;
  vertical-align: -0.12em;
}
.q-tlm--mini {
  top: 30%;
  bottom: auto;
  left: 5%;
  width: 90%;
}
.q-mstat {
  right: 8%;
  bottom: 8%;
}

/* a call-out as a designed piece: a dark field lit from behind the frame, the statement set on it, the feedback wired
   to the frame and the frame wired to the changes, then two short columns under a hairline */
.callout {
  position: relative;
  margin: 0;
  padding: var(--space-16) var(--space-12) var(--space-12);
  overflow: hidden;
  border-radius: var(--site-radius);
  background-color: var(--color-bg-stage);
  background-image:
    radial-gradient(42% 46% at 50% 60%, color-mix(in srgb, var(--color-primary-500) 30%, transparent), transparent 72%),
    radial-gradient(30% 40% at 8% 0%, color-mix(in srgb, var(--color-label-purple) 22%, transparent), transparent 70%),
    radial-gradient(30% 40% at 96% 4%, color-mix(in srgb, var(--color-sky-500) 20%, transparent), transparent 70%);
  color: var(--color-white);
  text-align: center;
}
.callout h2 {
  max-width: 20ch;
  margin: 0 auto;
  color: var(--color-white);
}
.callout > .sub {
  max-width: 36rem;
  margin: var(--space-4) auto 0;
  color: color-mix(in srgb, var(--color-white) 70%, transparent);
}
.toy.still.callout__pic {
  aspect-ratio: 1000 / 380;
  margin-top: var(--space-8);
  overflow: visible;
  background: none;
  font-size: 0.8125rem;
  text-align: left;
}
.aifx__lines path {
  fill: none;
  stroke: color-mix(in srgb, var(--color-primary-400) 70%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.aifx__h {
  top: -2%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: color-mix(in srgb, var(--color-white) 60%, transparent);
  font-size: 0.75rem;
}
.aifx__h svg {
  width: 13px;
  height: 13px;
}
.aifx__say,
.aifx__did {
  top: calc(8% + var(--i) * 31%);
  display: flex;
  gap: 0.55rem;
  width: 27%;
  min-height: 22%;
  padding: 0.7rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--color-white) 12%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-surface-default) 82%, transparent);
  backdrop-filter: blur(6px);
}
.aifx__say {
  left: 2%;
}
.aifx__did {
  left: 71%;
  border-color: color-mix(in srgb, var(--color-primary-400) 45%, transparent);
}
.aifx__say p,
.aifx__did p {
  margin: 0;
}
.aifx__say p b {
  margin-right: 0.4rem;
}
.aifx__say p span,
.aifx__did p em {
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-style: normal;
}
.aifx__say p span {
  font-family: var(--type-family-mono);
}
.aifx__say p span::after,
.aifx__did p em::before {
  content: '';
  display: block;
}
.aifx__did svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
  color: var(--color-primary-400);
}
.stl-aifix .fr .pz {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-white) 14%, transparent),
    0 var(--space-6) var(--space-12) rgb(0 0 0 / 0.5);
}
.aifx__pz {
  --pp: 90%;
  overflow: visible;
}
.callout__two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
  text-align: left;
}
.callout__two h3 {
  margin: 0 0 var(--space-1);
  color: var(--color-white);
  font-size: 1.0625rem;
}
.callout__two p {
  margin: 0;
  color: color-mix(in srgb, var(--color-white) 68%, transparent);
}
.callout .after {
  margin-top: var(--space-8);
}
.callout .pill {
  border-color: transparent;
  background: var(--color-white);
  color: var(--color-neutral-950);
}
@media (max-width: 760px) {
  .callout {
    padding: var(--space-8) var(--space-5);
  }
  .callout__two {
    grid-template-columns: minmax(0, 1fr);
  }
  .toy.still.callout__pic {
    aspect-ratio: auto;
  }
  .stl-aifix {
    position: static;
    display: grid;
    gap: var(--space-3);
  }
  .stl-aifix > * {
    position: static;
    width: auto;
  }
  .stl-aifix .aifx__lines {
    display: none;
  }
  .stl-aifix .fr {
    width: 100% !important;
    margin-top: var(--space-5);
  }
}

/* the closing section, site-wide: heading, a line, the button, then cards with the art in them */
.nx__head h2 {
  max-width: 24ch;
  margin: 0;
  color: var(--color-white);
}
.nx__head .sub {
  max-width: 40rem;
  margin: var(--space-3) 0 0;
  color: color-mix(in srgb, var(--color-white) 82%, transparent);
}
.nx__head .after {
  margin: var(--space-6) 0 0;
}
.nx__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-12);
}
.nx__card {
  padding: var(--space-3) var(--space-3) var(--space-6);
  border: 1px solid color-mix(in srgb, var(--color-white) 16%, transparent);
  border-radius: var(--site-radius);
  background: color-mix(in srgb, var(--color-neutral-950) 34%, transparent);
  backdrop-filter: blur(12px);
}
.block--next .nx__art {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-white) 5%, transparent);
  font-size: 0.75rem;
}
.nx__card h3 {
  margin: var(--space-5) var(--space-3) var(--space-1);
  color: var(--color-white);
  font-size: 1.0625rem;
}
.nx__card > p {
  margin: 0 var(--space-3);
  color: color-mix(in srgb, var(--color-white) 78%, transparent);
}
@media (max-width: 760px) {
  .nx__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* the FAQ sits in the middle of the page: heading centered, the questions and answers still read from the left */
.block--faq > h2 {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.block--faq .faq {
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

/* role cards, light: a white card with the editor's dark picture set into it, and dark text */
.role {
  border: 1px solid var(--site-line);
  background: var(--site-card);
  color: var(--site-ink);
}
.role .toy.still {
  inset: var(--space-3) var(--space-3) auto;
  height: 54%;
  border-radius: var(--radius-lg);
  background: var(--color-bg-stage);
}
.role__over {
  background: linear-gradient(to bottom, transparent, var(--site-card) var(--space-6));
}
.role__tag {
  color: var(--site-muted);
}
.role h3 {
  color: var(--site-ink);
}
.role__more {
  color: var(--site-muted);
}
.role:hover .toy.still,
.role:focus .toy.still {
  opacity: 0.18;
  transform: none;
}
@media (hover: none) {
  .role .toy.still {
    margin: var(--space-3) var(--space-3) 0;
  }
  .role__over,
  .role:hover .role__over,
  .role:focus .role__over {
    background: none;
  }
}

/* closing cards: the art, title and line always show (no hover needed) */
.nx__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 16 / 10;
  padding: var(--space-6);
  overflow: hidden;
  outline: none;
  transition: border-color 0.3s ease;
}
.nx__card::before {
  content: '+';
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid color-mix(in srgb, var(--color-white) 30%, transparent);
  border-radius: 50%;
  color: color-mix(in srgb, var(--color-white) 80%, transparent);
  transition: opacity 0.3s ease;
  display: none;
}
.block--next .nx__card .nx__art {
  position: absolute;
  inset: 0 0 32%;
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
  opacity: 1;
}
.nx__card h3,
.nx__card > p {
  position: relative;
  z-index: 2;
  margin-right: 0;
  margin-left: 0;
}
.nx__card h3 {
  margin-top: 0;
}
.nx__card:hover,
.nx__card:focus {
  border-color: color-mix(in srgb, var(--color-white) 34%, transparent);
}
.nx__card:hover .nx__art,
.nx__card:focus .nx__art {
  opacity: 1;
  transform: none;
}
.nx__card:hover::before,
.nx__card:focus::before {
  opacity: 0;
}
.nx__card:focus-visible {
  box-shadow: 0 0 0 2px var(--color-white);
}
@media (hover: none) {
  .nx__card {
    display: block;
    aspect-ratio: auto;
    padding: var(--space-3) var(--space-3) var(--space-6);
  }
  .nx__card::before {
    display: none;
  }
  .block--next .nx__card .nx__art {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    opacity: 1;
    transform: none;
  }
  .nx__card h3 {
    margin: var(--space-5) var(--space-3) var(--space-1);
  }
  .nx__card > p {
    margin: 0 var(--space-3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nx__card,
  .nx__card::before,
  .block--next .nx__card .nx__art {
    transition: none;
  }
}

/* Use cases heads: the headline with its buttons under it on the left half, the body copy on the right, so the hero starts sooner */
.head--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-12);
  align-items: start;
  padding-top: var(--space-16);
}
.head--split > .crumb,
.head--split > .hero__media {
  grid-column: 1 / -1;
}
.head--split > h1 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
.head--split > .sub {
  grid-column: 2;
  grid-row: 2 / span 2;
  max-width: none;
  margin: 0;
  padding-top: 0.5rem;
}
.head--split > .hero__actions {
  grid-column: 1;
  grid-row: 3;
  margin-top: var(--space-6);
}
.head--split > .hero__media {
  margin-top: var(--space-5);
}
@media (max-width: 900px) {
  .head--split {
    grid-template-columns: minmax(0, 1fr);
  }
  .head--split > h1,
  .head--split > .sub,
  .head--split > .hero__actions {
    grid-column: 1;
    grid-row: auto;
  }
}

/* brush strokes: ink on the dark stage, the selected one in the brand color, preset names under each */
.q-ink {
  fill: var(--color-neutral-50);
}
.q-ink.is-on {
  fill: var(--color-primary-500);
}
.q-streak {
  fill: none;
  stroke: var(--color-bg-stage);
  stroke-width: 1.2;
  stroke-dasharray: 14 5 6 9;
}
.q-cap {
  fill: var(--color-text-muted);
  font-size: 6px;
}

/* ---- showcase pieces: a tile that plays, and the dialog that opens it larger ---- */
.slot--piece {
  display: block;
  padding: 0;
  border: 0;
  background: var(--color-bg-stage);
  overflow: hidden;
  cursor: zoom-in;
}
.slot--piece canvas,
.slot--piece video,
.pv__stage canvas,
.pv__stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot--piece:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
.pv {
  width: min(1100px, calc(100vw - 2 * var(--space-4)));
  max-height: calc(100vh - 2 * var(--space-4));
  padding: var(--space-4);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-card);
  color: var(--site-ink);
}
.pv::backdrop {
  background: var(--color-overlay-scrim-strong);
}
.pv__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.pv__cap {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.pv__cap strong {
  font-weight: var(--type-weight-medium);
}
.pv__cap span {
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.pv__nav {
  display: flex;
  gap: var(--space-2);
}
.pv__stage {
  width: min(100%, calc((100vh - 9rem) * var(--arn, 1.78)));
  aspect-ratio: var(--ar, 16 / 9);
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-stage);
}
@media (max-width: 600px) {
  .pv__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ff__hint {
  margin: var(--space-2) 0 0;
  color: var(--site-muted);
  font-size: var(--site-type-small);
}

/* ---- real captures of the editor ---- */
.st-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  cursor: zoom-in;
}
.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--color-bg-stage);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.pv--shot {
  width: min(1500px, calc(100vw - 2 * var(--space-4)));
}
.pv--shot > img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--color-bg-stage);
}
.shot--lead {
  margin: var(--space-8) 0;
}

/* tabbed gallery of whole-window captures */
.uig__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.uig__tab {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--site-line);
  border-radius: var(--radius-md);
  background: var(--site-card);
  color: var(--site-muted);
  font: inherit;
  font-size: var(--site-type-small);
  cursor: pointer;
}
.uig__tab:hover {
  color: var(--site-ink);
}
.uig__tab.is-on {
  border-color: var(--site-ink);
  background: var(--site-ink);
  color: var(--site-card);
}
.uig__tab:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
.uig__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--color-bg-stage);
}
.uig__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  cursor: zoom-in;
}
.uig__shot.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .uig__shot {
    transition: none;
  }
}
.slot--shot {
  cursor: zoom-in;
  object-position: right top;
  background: var(--color-bg-stage);
}

/* the piece viewer's size choices: one size, or three side by side on one clock */
.pv__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-right: auto;
  margin-left: var(--space-6);
}
.pv__size {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-stage);
}
.pv__stage:not(.pv__stage--all) .pv__size {
  width: 100%;
  height: 100%;
}
.pv__stage--all {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  width: min(100%, calc((100vh - 9rem) * 3.4));
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: none;
}
@media (max-width: 600px) {
  .pv__sizes {
    margin-left: 0;
  }
}

/* the piece viewer keeps one size whatever is shown: the stage is a fixed box and each canvas fits inside it */
.pv:not(.pv--shot) .pv__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 9rem);
  overflow: visible;
  border-radius: 0;
  background: none;
}
.pv__stage:not(.pv__stage--all) .pv__size {
  flex: none;
  width: auto;
  height: 100%;
  max-width: 100%;
}
.pv__stage--all .pv__size {
  flex: var(--f) 1 0;
  height: auto;
}

/* ---- the capture gallery's tabs, drawn as the editor's timeline: clips on a track, a ruler, a playhead ---- */
.uig .uig__frame {
  border-bottom: 0;
  border-radius: var(--site-radius) var(--site-radius) 0 0;
}
.uig__tl {
  border: 1px solid var(--site-line);
  border-top: 1px solid var(--color-border-tick);
  border-radius: 0 0 var(--site-radius) var(--site-radius);
  background: var(--color-bg-default);
  color: var(--color-text-default);
}
.uig__bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--color-border-tick);
  font-size: var(--site-type-small);
}
.uig__play {
  display: grid;
  place-items: center;
  width: 28px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-field-bg);
  color: var(--color-text-default);
  cursor: pointer;
}
.uig__play:hover {
  background: var(--color-field-bg-hover);
}
.uig__play:focus-visible,
.uig__clip:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}
.uig__i {
  width: 12px;
  height: 12px;
}
.uig.is-playing .uig__i--play,
.uig:not(.is-playing) .uig__i--pause {
  display: none;
}
.uig__tc {
  font-family: var(--type-family-mono);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.uig__cap {
  overflow: hidden;
  color: var(--color-text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.uig__track {
  overflow-x: auto;
  padding: 0 var(--space-4) var(--space-3);
}
.uig__lane {
  position: relative;
  min-width: 620px;
  --x: 0;
}
.uig__ruler {
  height: 20px;
  background:
    repeating-linear-gradient(90deg, var(--color-border-tick) 0 1px, transparent 1px calc(100% / 7)) 0 100% / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--color-border-tick) 0 1px, transparent 1px calc(100% / 35)) 0 100% / 100% 4px no-repeat;
}
.uig__clips {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 3px;
  padding-top: var(--space-2);
}
.uig__clip {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  height: 34px;
  padding: 0 var(--space-3);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--lc) 45%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--lc) 20%, var(--color-bg-default));
  color: var(--color-text-muted);
  font: inherit;
  font-size: var(--site-type-small);
  text-align: left;
  cursor: pointer;
  --p: 0;
}
.uig__clip::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p) * 100%);
  background: color-mix(in srgb, var(--lc) 42%, transparent);
}
.uig__clip > * {
  position: relative;
}
.uig__clip:hover,
.uig__clip.is-on {
  border-color: var(--lc);
  color: var(--color-white);
}
.uig__key {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--lc);
  transform: rotate(45deg);
}
.uig__head {
  position: absolute;
  top: 6px;
  bottom: 0;
  left: calc(var(--x) * 100%);
  width: 1px;
  background: var(--color-action-primary-hover);
  pointer-events: none;
}
.uig__head::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5px;
  border: 5px solid transparent;
  border-top: 8px solid var(--color-action-primary-hover);
  border-bottom: 0;
}
.uig__clip {
  color: var(--color-text-default);
}
.uig__clip::before {
  background: color-mix(in srgb, var(--lc) 26%, transparent);
}

/* ---- closing section, quieter (owner, 2026-11-10): a light gray band, no color field, so it does not outweigh the page ---- */
.block--next {
  background: color-mix(in srgb, var(--color-neutral-950) 5%, var(--color-white));
  animation: none;
  color: var(--site-ink);
}
.nx__head h2 {
  color: var(--site-ink);
}
.nx__head .sub,
.nx__card > p {
  color: var(--site-muted);
}
.block--next .pill {
  background: var(--color-neutral-950);
  color: var(--color-white);
}
.nx__card {
  border-color: var(--site-line);
  background: var(--site-card);
  backdrop-filter: none;
}
.nx__card h3 {
  color: var(--site-ink);
}
.nx__card::before {
  border-color: color-mix(in srgb, var(--site-ink) 22%, transparent);
  color: var(--site-muted);
}
.nx__card:hover,
.nx__card:focus {
  border-color: color-mix(in srgb, var(--site-ink) 30%, transparent);
}
.nx__card:focus-visible {
  box-shadow: 0 0 0 2px var(--color-focus-ring);
}
/* the art was drawn in white for the dark field; on the light card it is shown as its dark counterpart */
.block--next .nx__card .nx__art {
  filter: invert(1) hue-rotate(180deg);
}
.block--next .sl__stage {
  box-shadow: none;
}
/* posters and photos inside that art keep their own colors (inverted twice) */
.block--next .nx__card .nx__art .pz,
.block--next .nx__card .nx__art img {
  filter: invert(1) hue-rotate(180deg);
}
.sl__stage--free .fr .pz {
  box-shadow: none;
}

/* ---- home hero: the editor is the hero; views are pills above it; people move over it (owner, 2026-11-10) ---- */
.hero--editor {
  padding-top: var(--space-16);
}
.hero--editor .hero__copy {
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  grid-template-rows: auto auto;
  column-gap: var(--space-12);
  row-gap: var(--space-4);
  align-items: end;
  max-width: none;
}
.hero--editor .hero__copy h1 {
  grid-row: 1 / span 2;
}
.hero--editor .hero__copy .sub {
  grid-row: 1;
  align-self: end;
}
.hero--editor .hero__actions {
  grid-row: 2;
  margin-top: 0;
}
.hero--editor > .hero__media {
  margin-top: var(--space-16);
  padding-bottom: var(--space-12);
}
.uig--hero .uig__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.uig--hero .uig__lane {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.uig--hero .uig__clips {
  display: flex;
  gap: var(--space-2);
  padding: 0;
}
.uig--hero .uig__clip {
  flex: none;
  height: auto;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--site-line);
  border-radius: var(--radius-full);
  background: var(--site-card);
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.uig--hero .uig__clip::before {
  inset: auto 14px 0 14px;
  width: auto;
  height: 2px;
  border-radius: 2px;
  background: var(--lc);
  transform: scaleX(var(--p));
  transform-origin: left;
}
.uig--hero .uig__clip:hover {
  color: var(--site-ink);
  border-color: var(--site-ink);
}
.uig--hero .uig__clip.is-on {
  border-color: var(--site-ink);
  background: var(--site-ink);
  color: var(--site-card);
}
.uig--hero .uig__key {
  width: 6px;
  height: 6px;
}
.uig--hero .uig__play {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--site-line);
  border-radius: var(--radius-full);
  background: var(--site-card);
  color: var(--site-ink);
}
.uig--hero .uig__frame {
  border-radius: var(--site-radius);
  box-shadow: 0 var(--space-8) var(--space-16) calc(var(--space-6) * -1) var(--site-shadow);
}
.uig--hero .uig__bar {
  display: flex;
  margin: var(--space-3) 0 0;
  padding: 0;
  border: 0;
  color: var(--site-muted);
  font-size: var(--site-type-small);
}

/* people at work over the capture: toys.js places each one (HERO_SCENES), colored by who they are */
.uig__people {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.uig__people > * {
  position: absolute;
  top: 0;
  left: 0;
}
.w-mia { --c: var(--color-label-blue); }
.w-theo { --c: var(--color-label-orange); }
.w-ana { --c: var(--color-label-purple); }
.w-jun { --c: var(--color-label-red); }
/* the pictures that follow each step (toys.js adds them): the one in force sits over the view's first capture */
.uig__states,
.uig__st {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.uig__st img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.uig__st img.is-on {
  opacity: 1;
}
.uig__st.is-out img.is-on {
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* sizes follow the frame, so the pointers keep their proportion to the editor at any width */
.uig__people {
  container-type: size;
}
/* the window owner's pointer: the system arrow, a text beam over a field, a slight squeeze while the button is down */
.ucur {
  --cs: clamp(15px, 2cqw, 23px);
  z-index: 2;
  width: var(--cs);
  height: var(--cs);
  margin: calc(var(--cs) * -0.104) 0 0 calc(var(--cs) * -0.208);
  color: var(--color-black);
  filter: drop-shadow(0 1px 2px var(--color-alpha-black-47));
  transform-origin: 21% 10%;
  transition: transform 0.06s ease-out;
}
.ucur svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: var(--color-white);
  stroke-width: 1.5;
  stroke-linejoin: round;
  paint-order: stroke;
}
.ucur .ucur__beam {
  display: none;
  stroke: var(--color-black);
  stroke-linecap: round;
  filter: drop-shadow(0 0 0.6px var(--color-white)) drop-shadow(0 0 0.6px var(--color-white));
}
.ucur.is-text {
  margin: calc(var(--cs) * -0.5) 0 0 calc(var(--cs) * -0.5);
  filter: none;
}
.ucur.is-text .ucur__arrow {
  display: none;
}
.ucur.is-text .ucur__beam {
  display: block;
}
.ucur.is-down {
  transform: scale(0.88);
}
/* another person, as the editor draws them (studio/css/presence.css): an arrow and a name in their color */
.pcur2 {
  --ps: clamp(11px, 1.45cqw, 17px);
  z-index: 1;
}
.pcur2 svg {
  display: block;
  width: var(--ps);
  height: var(--ps);
  fill: var(--c);
  stroke: var(--color-white);
  stroke-width: 1;
  filter: drop-shadow(0 1px 1px var(--color-alpha-black-47));
}
.pcur2 span {
  position: absolute;
  top: calc(var(--ps) * 0.875);
  left: calc(var(--ps) * 0.875);
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--c);
  color: var(--color-white);
  font-size: clamp(8px, 0.95cqw, 11px);
  line-height: 1.6;
  white-space: nowrap;
}
/* what they have selected: a dashed outline in their color, no handles */
.psel2 {
  outline: 2px dashed var(--c);
  outline-offset: -2px;
}
@media (max-width: 900px) {
  .hero--editor .hero__copy { grid-template-columns: minmax(0, 1fr); }
  .hero--editor .hero__copy h1,
  .hero--editor .hero__copy .sub,
  .hero--editor .hero__actions { grid-row: auto; }
}

/* the hero editor sits in its own container, centered (owner, 2026-11-10) */
.uig--hero {
  max-width: 82rem;
  margin-inline: auto;
  padding: var(--space-6);
  border: 1px solid var(--site-line);
  border-radius: calc(var(--site-radius) + var(--space-2));
  background:
    radial-gradient(90% 120% at 8% 0%, color-mix(in srgb, var(--color-sky-500) 18%, var(--color-white)), transparent 62%),
    radial-gradient(80% 110% at 96% 20%, color-mix(in srgb, var(--color-primary-400) 20%, var(--color-white)), transparent 60%),
    var(--color-neutral-50);
}
.uig--hero .uig__top {
  justify-content: center;
}
.uig--hero .uig__shot {
  cursor: default;
}
.uig--hero .uig__bar {
  justify-content: center;
}

/* the view tabs are a quiet segmented control, so the black "Get an invite" stays the one primary action */
.uig--hero .uig__lane {
  flex: 0 1 auto;
  padding: var(--space-1);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-neutral-950) 6%, transparent);
}
.uig--hero .uig__clips {
  gap: 0;
}
.uig--hero .uig__clip {
  padding: var(--space-1) var(--space-4);
  border: 0;
  background: transparent;
  color: var(--site-muted);
}
.uig--hero .uig__clip:hover {
  border: 0;
  color: var(--site-ink);
}
.uig--hero .uig__clip.is-on {
  border: 0;
  background: var(--site-card);
  box-shadow: 0 1px 3px var(--site-shadow);
  color: var(--site-ink);
}
.uig--hero .uig__play {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: color-mix(in srgb, var(--color-neutral-950) 6%, transparent);
  color: var(--site-muted);
}
.uig--hero .uig__play:hover {
  color: var(--site-ink);
}

/* the AI section: a heading, four columns like the steps above it, then its diagram */
.block--agent > .after {
  text-align: center;
}
.uig--hero .uig__bar[hidden] {
  display: none;
}

/* reduced motion: nothing blinks, and every one-shot entrance lands at once */
@media (prefers-reduced-motion: reduce) {
  .agent__prompt::after,
  .agent__calls li.is-running::before {
    animation: none;
  }
  .agent__calls li,
  .agent__calls li::before,
  .agent__packet,
  .hv__pin,
  .uig__people > * {
    animation: none;
    transition: none;
  }
}

/* a playable toy inside a call-out (Design systems) */
.callout__toy {
  max-width: 56rem;
  margin: var(--space-8) auto 0;
  text-align: left;
}

/* Collaborate: a card whose links go to two pages */
.door__links {
  display: grid;
  gap: var(--space-1);
  margin-top: auto;
  padding-top: var(--space-6);
}
.door__links .more {
  margin: 0;
  padding: 0;
}

/* Card rows and wide bands: the other layouts besides the list-and-stage split */
.fgrid {
  display: grid;
  gap: var(--space-8) var(--space-6);
}
.fgrid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fgrid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fcard {
  display: flex;
  flex-direction: column;
}
.fcard .toy.still {
  margin-bottom: var(--space-5);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.fcard__tag {
  margin: 0;
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.fcard h3 {
  margin: var(--space-1) 0 0;
  font-size: 1.0625rem;
}
.fcard p:not(.fcard__tag):not(.fnote) {
  margin: var(--space-2) 0 0;
  color: var(--site-muted);
}
.fnote {
  margin: var(--space-4) 0 0;
  padding-left: var(--space-3);
  border-left: 2px solid var(--site-line);
  color: var(--site-muted);
  font-size: var(--site-type-small);
}
.fnote strong {
  color: var(--site-ink);
  font-weight: var(--type-weight-medium);
}
.sl__item p.fnote {
  margin-top: var(--space-4);
}
.band__text {
  max-width: 40rem;
}
.band__text h3 {
  margin: var(--space-6) 0 0;
  font-size: 1.0625rem;
}
.band__text p:not(.sub):not(.fnote) {
  margin: var(--space-1) 0 0;
  color: var(--site-muted);
}
.band .toy.still--wide {
  aspect-ratio: 2 / 1;
  margin-top: var(--space-8);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
@media (max-width: 52rem) {
  .fgrid--2,
  .fgrid--3 {
    grid-template-columns: 1fr;
  }
}

/* A big idea: headline, body and one picture, then columns of support text under it */
.sl > .cols {
  grid-column: 1 / -1;
}
.cols {
  display: grid;
  gap: var(--space-8) var(--space-8);
  margin-top: var(--space-4);
}
.cols--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cols--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cols--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.col {
  padding-top: var(--space-4);
  border-top: 1px solid var(--site-line);
}
.col h3 {
  margin: 0;
  font-size: 1.0625rem;
}
.col p {
  margin: var(--space-2) 0 0;
  color: var(--site-muted);
}
.topic__head {
  max-width: 40rem;
}
.topic__head h2 {
  margin: 0;
}
.topic .cols {
  margin-top: var(--space-8);
}
@media (max-width: 52rem) {
  .cols--2,
  .cols--3,
  .cols--4 {
    grid-template-columns: 1fr;
  }
}

/* the support columns come in three looks: plain, numbered (a sequence) and rows (a spec sheet) */
.sl > .cols {
  order: 3;
}
.cols--num {
  counter-reset: col;
}
.cols--num .col {
  counter-increment: col;
}
.cols--num .col::before {
  content: counter(col, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-3);
  color: var(--color-primary-500);
  font-size: var(--site-type-small);
  font-weight: var(--type-weight-medium);
  letter-spacing: 0.04em;
}
.cols--rows {
  grid-template-columns: 1fr;
  gap: 0;
}
.cols--rows .col {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-8);
  padding: var(--space-5) 0;
}
.cols--rows .col p {
  margin: 0;
}
.cols--rows .col:last-child {
  border-bottom: 1px solid var(--site-line);
}
@media (max-width: 52rem) {
  .cols--rows .col {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* A topic with the heading on the left and the points as ruled rows on the right (a ledger, not two thin columns) */
.topic--side {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-12);
  align-items: start;
}
.topic--side .topic__head {
  max-width: none;
}
.topic--side .cols {
  margin-top: 0;
}
.topic--side .cols--rows {
  border-top: 1px solid var(--site-line);
}
.topic--side .cols--rows .col {
  grid-template-columns: 1fr;
  gap: var(--space-2);
  border-top: 0;
  border-bottom: 1px solid var(--site-line);
}
@media (max-width: 52rem) {
  .topic--side {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}
.topic__head .sub {
  margin-top: var(--space-3);
}

/* ==== Section types added 2026-11-11 (see the marketing-page-content skill): picture cards, picture steps,
   a pull line and fact cells. Each breaks the heading-left / stage-right pattern. ==== */
:root {
  --site-type-display: clamp(2.125rem, 5.2vw, 4.25rem);
}

/* Trio: a short heading, then three cards that each hold their own picture */
.trio__head,
.psteps__head {
  max-width: 40rem;
}
.trio__head .sub,
.psteps__head .sub {
  margin-top: var(--space-3);
}
.trio__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-12);
}
.trio__card {
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--space-3) var(--space-6);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-card);
}
/* a still is drawn in ems for a stage about 40rem wide; cqw keeps the same drawing at any card width */
.trio__pic,
.pstep__pic {
  container-type: inline-size;
}
.trio__pic .toy.still,
.pstep__pic .toy.still {
  aspect-ratio: 16 / 11;
  font-size: 1.9cqw;
}
.trio__card h3 {
  margin: var(--space-5) var(--space-3) 0;
  font-size: var(--site-type-sub);
}
.trio__card p {
  margin: var(--space-2) var(--space-3) 0;
  color: var(--site-muted);
}
.trio__card .more {
  margin: auto var(--space-3) 0;
}

/* Picture steps: a real sequence, one picture per step, sides alternating down the page */
.psteps__list {
  display: grid;
  gap: var(--space-16);
  margin: var(--space-16) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pstep;
}
.pstep {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-12);
  align-items: center;
  counter-increment: pstep;
}
.pstep:nth-child(even) .pstep__text {
  order: 2;
}
.pstep__text::before {
  content: counter(pstep, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-4);
  color: var(--color-primary-600);
  font-size: var(--site-type-display);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pstep__text h3 {
  font-size: 1.5rem;
  font-weight: var(--type-weight-regular);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pstep__text p {
  max-width: 26rem;
  margin-top: var(--space-3);
  color: var(--site-muted);
}
.pstep__text .more {
  display: inline-block;
  margin-top: var(--space-5);
  padding-top: 0;
}

.statement__line {
  max-width: 16em;
  font-size: var(--site-type-display);
  font-weight: var(--type-weight-regular);
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}
/* Pull line: the sentence a reader should leave with. No picture, no heading. */
.statement {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}
.statement__tag {
  margin-bottom: var(--space-5);
  color: var(--site-muted);
  font-size: var(--site-type-small);
  font-weight: var(--type-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.statement__line span {
  color: var(--color-primary-600);
}
.statement .after {
  margin-top: var(--space-8);
}

/* Fact cells: three or four short facts of equal weight in ruled cells, title at the top, sentence at the foot */
.cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-12);
  border-top: 1px solid var(--site-line);
  border-left: 1px solid var(--site-line);
}
.cells--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cell {
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  padding: var(--space-6);
  border-right: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
  background: var(--site-card);
}
.cell h3 {
  font-size: var(--site-type-sub);
}
.cell p {
  margin-top: auto;
  padding-top: var(--space-8);
  color: var(--site-muted);
}

@media (max-width: 60rem) {
  .cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 52rem) {
  .trio__cards,
  .cells,
  .cells--3 {
    grid-template-columns: 1fr;
  }
  .cell {
    min-height: 0;
  }
  .pstep {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .pstep:nth-child(even) .pstep__text {
    order: 0;
  }
  .psteps__list {
    gap: var(--space-12);
  }
}
.trio__cards + .cols { margin-top: var(--space-12); }

/* ---- Two people, two modes, one project: an illustration. The board on the left, its bars on the right, and the one layer they share ---- */
.stl-pair .pr-line {
  position: absolute;
  left: 46%;
  top: 46%;
  width: 54%;
  height: 2px;
  background: var(--color-primary-400);
  opacity: 0.9;
}
.stl-pair .pr-packet {
  position: absolute;
  left: 46%;
  top: calc(46% - 4px);
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary-300);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary-400) 30%, transparent);
  opacity: 0;
}
.stl-pair.is-on .pr-packet {
  animation: pr-run 3.4s cubic-bezier(0.65, 0, 0.35, 1) 0.8s 2 both;
}
@keyframes pr-run {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  12% {
    opacity: 1;
  }
  85% {
    opacity: 1;
    transform: translateX(31cqw);
  }
  100% {
    opacity: 0;
    transform: translateX(34cqw);
  }
}
.stl-pair {
  container-type: inline-size;
}
.stl-pair .pr-bw {
  position: absolute;
  overflow: visible;
  border-radius: var(--radius-md);
  box-shadow: 0 0.6rem 1.6rem color-mix(in srgb, var(--color-black) 45%, transparent);
}
.stl-pair .pr-bw img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
}
.stl-pair .pr-bw--back {
  left: 3%;
  top: 14%;
  width: 40%;
  transform: rotate(-4deg);
  opacity: 0.85;
}
.stl-pair .pr-bw--main {
  left: 7%;
  top: 24%;
  width: 41%;
}
.stl-pair .pr-sel {
  position: absolute;
  left: 5.5%;
  top: 42%;
  width: 57%;
  height: 13%;
  border: 1.5px dashed var(--color-blue-500);
  border-radius: var(--radius-xs);
}
.stl-pair .pr-bw .tcur {
  z-index: 4;
}
.stl-pair .pr-tl {
  position: absolute;
  left: 53%;
  top: 22%;
  width: 43%;
  display: grid;
  gap: 1.3cqw;
}
.stl-pair .pr-r {
  display: grid;
  grid-template-columns: 14cqw minmax(0, 1fr);
  align-items: center;
  gap: 1cqw;
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 1.15cqw;
}
.stl-pair .pr-t {
  position: relative;
  height: 3.6cqw;
}
.stl-pair .pr-t s {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--lc) 38%, var(--color-surface-default));
  border: 1px solid color-mix(in srgb, var(--lc) 65%, transparent);
}
.stl-pair .pr-k {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 1.3cqw;
  height: 1.3cqw;
  margin: -0.65cqw 0 0 -0.65cqw;
  background: var(--color-orange-300);
  transform: rotate(45deg);
}
.stl-pair .pr-ph {
  position: absolute;
  left: 72%;
  top: -1cqw;
  bottom: -1cqw;
  width: 2px;
  background: var(--color-primary-400);
}
.stl-pair .pr-ghost {
  position: absolute;
  left: calc(15cqw + (100% - 15cqw) * 0.2);
  top: 1.15cqw;
  width: 1.3cqw;
  height: 1.3cqw;
  margin: 0 0 0 -0.65cqw;
  border: 1px dashed var(--color-orange-300);
  transform: rotate(45deg);
}
.stl-pair .pr-tl > .tcur {
  z-index: 5;
}
.stl-pair .pr-lake {
  position: absolute;
  inset: auto 0 0;
  height: 31%;
  background: url('media/ui/pair-lake.webp') center bottom / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60%);
  mask-image: linear-gradient(180deg, transparent 0, #000 60%);
  opacity: 0.8;
}
@media (prefers-reduced-motion: reduce) {
  .stl-pair.is-on .pr-packet {
    animation: none;
  }
}

/* ---- The board and the timeline stay in step: a compact dark band, the heading left and the two directions right ---- */
.sync {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-12);
  align-items: start;
  padding: var(--space-12);
  border-radius: var(--site-radius);
  background: var(--color-bg-stage);
  color: var(--color-text-default);
}
.sync__head {
  display: grid;
  gap: var(--space-4);
}
.sync__head h2 {
  margin: 0;
  color: var(--color-text-default);
  font-size: var(--site-h3, 1.75rem);
}
.sync__head .sub {
  margin: 0;
  color: var(--color-text-muted);
}
.sync__row {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border-tick);
}
.sync__row:last-child {
  border-bottom: 1px solid var(--color-border-tick);
}
.sync__row svg {
  grid-row: 1 / span 2;
  width: 2.25rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  fill: none;
  stroke: var(--color-primary-400);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sync__row h3 {
  margin: 0;
  color: var(--color-text-default);
  font-size: 1.0625rem;
}
.sync__row p {
  margin: var(--space-1) 0 0;
  color: var(--color-text-muted);
}
@media (max-width: 52rem) {
  .sync {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
    padding: var(--space-8) var(--space-5);
  }
}
.stl-sync {
  container-type: inline-size;
}
.stl-sync .sy-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stl-sync .sy-arrows path {
  fill: none;
  stroke: var(--color-primary-400);
  stroke-width: 0.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-width: 2;
}
.stl-sync .sy-dot {
  fill: var(--color-primary-300);
}
.stl-sync .sy-board {
  position: absolute;
  left: 6%;
  top: 29.5%;
  width: 31.5%;
  border-radius: var(--radius-md);
  box-shadow: 0 1.2cqw 3cqw color-mix(in srgb, var(--color-black) 50%, transparent);
}
.stl-sync .sy-board img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
}
.stl-sync .sy-board .sy-b {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.stl-sync .sy-new {
  position: absolute;
  right: 9%;
  bottom: 12%;
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: var(--radius-full);
  background: var(--color-orange-300);
  box-shadow: 0 0 0 0.35cqw var(--color-surface-default);
  opacity: 0;
}
.stl-sync .sy-tl {
  position: absolute;
  left: 59%;
  top: 23%;
  width: 36%;
  display: grid;
  gap: 1.5cqw;
}
.stl-sync .sy-r {
  display: grid;
  grid-template-columns: 8.5cqw minmax(0, 1fr);
  align-items: center;
  gap: 1cqw;
  color: var(--color-text-muted);
  font-family: var(--type-family-mono);
  font-size: 1cqw;
}
.stl-sync .sy-t {
  position: relative;
  height: 3.4cqw;
}
.stl-sync .sy-t s {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--lc) 38%, var(--color-surface-default));
  border: 1px solid color-mix(in srgb, var(--lc) 65%, transparent);
}
.stl-sync .sy-t em {
  position: absolute;
  top: 50%;
  width: 1.15cqw;
  height: 1.15cqw;
  margin: -0.575cqw 0 0 -0.575cqw;
  background: var(--color-orange-300);
  transform: rotate(45deg);
}
.stl-sync .sy-add {
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .stl-sync .sy-a {
    animation: sy-a 8s ease-in-out infinite;
  }
  .stl-sync .sy-b {
    animation: sy-b 8s ease-in-out infinite;
  }
  .stl-sync .sy-art .sy-t s {
    animation: sy-art 8s ease-in-out infinite;
  }
  .stl-sync .sy-add {
    animation: sy-add 8s cubic-bezier(0.2, 0.9, 0.3, 1) infinite;
  }
  .stl-sync .sy-new {
    animation: sy-new 8s cubic-bezier(0.2, 1.6, 0.4, 1) infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stl-sync .sy-b {
    opacity: 1;
  }
  .stl-sync .sy-add,
  .stl-sync .sy-new {
    opacity: 1;
  }
  .stl-sync .sy-dot {
    display: none;
  }
}
@keyframes sy-a {
  0%, 6% { opacity: 1; }
  12%, 94% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes sy-b {
  0%, 6% { opacity: 0; }
  12%, 94% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes sy-art {
  0%, 29% { box-shadow: none; filter: none; }
  33% { box-shadow: 0 0 0 0.5cqw color-mix(in srgb, var(--color-primary-400) 45%, transparent); filter: brightness(1.5); }
  42%, 94% { box-shadow: none; filter: none; }
}
@keyframes sy-add {
  0%, 44% { opacity: 0; transform: translateX(3cqw); }
  50%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(3cqw); }
}
@keyframes sy-new {
  0%, 71% { opacity: 0; transform: scale(0.3); }
  76%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(0.3); }
}

/* the view switcher is the editor's own workspace switcher, enlarged and pulled half off the top of the capture (it hides the one in the picture) */
.uig--hero {
  position: relative;
  padding-top: calc(var(--space-6) + 1.1rem);
}
.uig--hero .uig__top {
  position: absolute;
  top: calc(var(--space-6) + 1.1rem);
  left: 50%;
  z-index: 8;
  margin: 0;
  gap: var(--space-3);
  transform: translate(-50%, -50%);
}
.uig--hero .uig__lane {
  padding: 0.2rem;
  overflow: visible;
  border: 1px solid var(--color-border-tick);
  border-radius: var(--radius-lg);
  background: var(--color-bg-stage);
  box-shadow: 0 0.9rem 2.2rem color-mix(in srgb, var(--color-black) 38%, transparent);
}
.uig--hero .uig__clips {
  gap: var(--space-1);
}
.uig--hero .uig__clip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.32rem 0.85rem;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  box-shadow: none;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: var(--type-weight-medium);
}
.uig--hero .uig__clip:hover {
  color: var(--color-text-default);
}
.uig--hero .uig__clip.is-on {
  border: 0;
  background: var(--color-surface-default);
  box-shadow: none;
  color: var(--color-text-default);
}
.uig--hero .uig__ws {
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
}
.uig--hero .uig__clip.is-on .uig__ws {
  color: var(--color-primary-400);
}
.uig--hero .uig__clip::before {
  inset: auto 0 0 0;
  width: auto;
  height: 2px;
  border-radius: 0;
  background: var(--color-primary-400);
  transform-origin: left;
  transform: scaleX(var(--p));
}
.uig--hero .uig__play {
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--color-border-tick);
  background: var(--color-bg-stage);
  color: var(--color-text-muted);
}
.uig--hero .uig__play:hover {
  color: var(--color-text-default);
}
@media (max-width: 40rem) {
  .uig--hero .uig__clip {
    padding: 0.45rem 0.7rem;
    font-size: 0.8125rem;
  }
  .uig--hero .uig__clip .uig__ws {
    display: none;
  }
}
