@font-face {
  font-family: "Geist Mono";
  src: url("./fonts/GeistMono-Variable.woff2") format("woff2-variations"), url("./fonts/GeistMono-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Dv3";
  src: url("./fonts/Dv3-Regular.woff2") format("woff2"), url("./fonts/Dv3-Regular.ttf") format("truetype");
  font-display: block;
}

@font-face {
  font-family: "Dust_calli";
  src: url("./fonts/Dust_calli-Regular.woff2") format("woff2"), url("./fonts/Dust_calli-Regular.ttf") format("truetype");
  font-display: block;
}

@font-face {
  font-family: "Mona Sans";
  src: url("./fonts/MonaSans-Variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f4f2eb;
  --ink: #171714;
  --muted: #7d7c76;
  --select: #f0641e;
  --ui-text: #e8e8e8;
  --ui-dim: rgba(232, 232, 232, 0.47);
  --ui-panel: rgba(37, 37, 37, 0.85);
  --ui-toolbar: rgba(20, 20, 20, 0.62);
  --ui-line: #3a3a3a;
  --ui-red: #c83232;
  --ui-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --inv: 1;
  --cur-select: image-set(url("/canvas/ui/cursors/select-card.png") 1x, url("/canvas/ui/cursors/select-card@2x.png") 2x) 0 0, default;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  cursor: var(--cur-select);
}

a,
button,
label,
summary {
  cursor: inherit;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 370 16px/1.5 "Geist Mono", ui-monospace, monospace;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

::selection {
  background: var(--ui-red);
  color: #fff;
}

[hidden] {
  display: none !important;
}

#dots {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

main,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 120px 24px 40px;
  text-align: center;
}

.hero img {
  width: min(520px, 78vw);
  height: auto;
  translate: -5px -4px;
  -webkit-user-drag: none;
}

.hero p {
  margin: 0;
}

.hero-cta {
  margin-top: 22px;
  color: var(--muted);
  text-decoration: none;
  cursor: var(--cur-select);
}

.hero-cta:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.demo {
  padding: 110px 0 90px;
}

.copy {
  position: relative;
  width: min(44rem, calc(100vw - 48px));
  margin: 0 auto 28px;
  text-align: center;
}

.copy p {
  margin-left: auto;
  margin-right: auto;
}

.band {
  position: relative;
}

[data-edit]:empty {
  margin: 0;
}

body.is-dev [data-edit]:empty::before {
  content: "add text";
  opacity: 0.4;
}

.stage .card.is-arranging {
  transition: translate 0.85s var(--ease-out), rotate 0.85s var(--ease-out), left 0.7s var(--ease-out), outline-color 0.18s var(--ease-out), opacity 0.35s ease;
}

.stage .card.is-arranging.is-out {
  opacity: 0;
  pointer-events: none;
  transition: translate 0.85s var(--ease-out), rotate 0.85s var(--ease-out), opacity 0.6s ease;
}

.stage.is-comic .panel-search {
  opacity: 0;
  pointer-events: none;
}

.panel-search {
  transition: opacity 0.3s ease;
}

.stage .card.is-arranging.is-held {
  transition: outline-color 0.18s var(--ease-out);
  z-index: 6;
  box-shadow: 0 calc(6px * var(--inv)) calc(22px * var(--inv)) rgba(23, 23, 20, 0.22);
  will-change: translate;
}

.stage-world.is-moving .card.is-arranging {
  will-change: translate;
}

.side-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32%;
  z-index: 2;
  pointer-events: none;
}

.side-fade.is-slim {
  width: 15%;
}

.side-fade.is-left {
  left: 0;
  background: linear-gradient(90deg, var(--page) 8%, rgba(244, 242, 235, 0.82) 55%, rgba(244, 242, 235, 0));
}

.side-fade.is-right {
  right: 0;
  background: linear-gradient(270deg, var(--page) 8%, rgba(244, 242, 235, 0.82) 55%, rgba(244, 242, 235, 0));
}

#stage-organize .card {
  will-change: translate;
}

#stage-organize.is-rescaling .card,
#stage-organize .card.is-gone {
  will-change: auto;
}

#stage-organize .card.is-gone {
  visibility: hidden;
}

#stage-organize .card.is-up {
  z-index: 100001 !important;
}

#stage-organize .card.is-held {
  z-index: 100002 !important;
}

.org-veil {
  position: absolute;
  z-index: 100000;
  background: rgba(244, 242, 235, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#stage-organize.is-searching .org-veil {
  opacity: 1;
}

#stage-organize.fade-edges::before,
#stage-organize.fade-edges::after {
  height: 96px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}

#stage-organize.fade-edges::before {
  background: linear-gradient(var(--page), rgba(244, 242, 235, 0.72) 35%, rgba(244, 242, 235, 0.42) 50%, rgba(244, 242, 235, 0.1) 75%, rgba(244, 242, 235, 0));
}

#stage-organize.fade-edges::after {
  background: linear-gradient(rgba(244, 242, 235, 0), rgba(244, 242, 235, 0.1) 25%, rgba(244, 242, 235, 0.42) 50%, rgba(244, 242, 235, 0.72) 65%, var(--page));
}

#stage-organize .panel {
  background: rgba(37, 37, 37, 0.94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.scroll-page .site-header {
  border-bottom: 1px solid rgba(23, 23, 20, 0.12);
  background: rgba(244, 242, 235, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.scroll-page .panel,
.scroll-page .panel button,
.scroll-page .panel input {
  text-transform: lowercase;
}

.stage .card.is-found {
  outline: calc(2.8px * var(--inv)) solid var(--select);
  outline-offset: calc(3px * var(--inv));
}

.stage .card.is-hover {
  outline: calc(3.5px * var(--inv)) solid color-mix(in srgb, var(--select) 80%, transparent);
  outline-offset: calc(3px * var(--inv));
}

.stage .card.is-asset {
  background: #fbfaf6;
}

.stage .card.is-asset > img {
  object-fit: fill;
}

.card.is-source .drop-big {
  position: absolute;
  inset: 8%;
}

.stage .card.is-trimmed {
  overflow: hidden;
}

.stage .card.is-off {
  visibility: hidden;
}

.stage .card.is-floating {
  transform-origin: center;
  transition: opacity 0.35s ease;
}

.drop.is-changed {
  animation: drop-kick 0.5s var(--ease-out);
}

@keyframes drop-kick {
  30% { scale: 1.07; }
}

.header-link {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
}

.scroll-page .site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.scroll-page .site-header > :first-child {
  justify-self: start;
}

.scroll-page .site-header > :last-child {
  justify-self: end;
}

.scroll-page .box-logo {
  display: flex;
  align-items: flex-start;
  margin-left: -10px;
}

.box-word {
  display: block;
  margin: -1.5px 0 0 -2.3px;
  clip-path: inset(-10.5px 0 -13.5px);
}

.box-logo .box-word img {
  display: block;
  height: 31px;
  translate: 0 var(--rise, 46px);
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a,
a.header-link {
  padding: 6px 0;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

.site-nav a:hover,
a.header-link:hover {
  opacity: 1;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-nav a.is-on,
a.header-link.is-on {
  opacity: 1;
}

.site-nav a[data-to-signup] {
  font-weight: 700;
}

.demo,
.signup {
  scroll-margin-top: 56px;
}

@media (max-width: 820px) {
  .scroll-page .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }
}

@media (min-width: 821px) and (max-width: 1000px) {
  .box-word {
    display: none;
  }
}

.about {
  min-height: 100svh;
  box-sizing: border-box;
  padding: 96px 24px 64px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 40px;
  text-align: center;
}

.about p {
  margin: 0;
  max-width: 34rem;
}

.about p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.people {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 44px;
}

.people li {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
}

.face {
  display: block;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: #fbfaf6;
  box-shadow: 0 0 0 1px rgba(23, 23, 20, 0.3);
}

.face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#about {
  display: none;
}

html.is-about #about {
  display: grid;
}

html.is-about #home {
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

html.is-about footer {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

a.header-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.hero-more {
  position: relative;
  height: 0;
  margin-top: -18px;
}

.hero-more .header-button {
  position: absolute;
  top: 16px;
  left: 50%;
  translate: -50% 0;
}

#downloads {
  display: none;
}

html.is-downloads #downloads {
  display: block;
}

html.is-downloads #home {
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.downloads {
  width: min(46rem, 100%);
  min-height: calc(100svh - 60px);
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.downloads-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.downloads h1 {
  margin: 0;
  font-family: "Mona Sans", system-ui, sans-serif;
  font-weight: 264;
  font-stretch: 85%;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.downloads-account {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
}

.releases-status {
  margin: 24px 0 0;
  color: var(--muted);
}

.releases-status:empty {
  display: none;
}

.releases {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.release {
  padding: 28px 0;
  border-top: 1px solid rgba(23, 23, 20, 0.12);
}

.release-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.release-version {
  margin: 0;
  font-family: "Mona Sans", system-ui, sans-serif;
  font-weight: 264;
  font-stretch: 85%;
  font-size: 2.25rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.release-date {
  color: var(--muted);
}

.release-latest,
.release-audience {
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.release-latest {
  background: var(--ink);
  color: var(--page);
}

.release-audience {
  border: 1px dashed rgba(23, 23, 20, 0.22);
  color: var(--muted);
}

.release-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.download {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(23, 23, 20, 0.22);
  border-radius: 8px;
  background: rgba(23, 23, 20, 0.03);
  box-shadow: 0 1px 3px rgba(23, 23, 20, 0.1);
  color: inherit;
  font: inherit;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.download:hover,
.download:focus-visible {
  border-color: var(--ui-red);
  background: var(--ui-red);
  color: #fff;
}

.download:disabled {
  opacity: 0.5;
  cursor: progress;
}

.os-icon {
  width: 19px;
  height: 19px;
  background-color: currentColor;
  -webkit-mask: var(--os-icon) center / contain no-repeat;
  mask: var(--os-icon) center / contain no-repeat;
}

.download-windows {
  --os-icon: url("/brand/os/windows.svg");
}

.download-macos {
  --os-icon: url("/brand/os/macos.svg");
}

.download-linux {
  --os-icon: url("/brand/os/linux.svg");
}

.download-error {
  margin: 12px 0 0;
  color: #b3261e;
}

.changelog-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
}

.changelog-toggle:hover,
.changelog-toggle:focus-visible,
.changelog-toggle[aria-expanded="true"] {
  color: var(--ink);
}

.changelog-chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 220ms ease;
}

.changelog-toggle[aria-expanded="true"] .changelog-chevron {
  transform: translateY(1px) rotate(225deg);
}

.changelog {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 280ms ease, opacity 280ms ease;
}

.changelog.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.changelog-clip {
  overflow: hidden;
}

.changelog-quote {
  margin: 12px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(23, 23, 20, 0.12);
  border-radius: 12px;
  background: rgba(23, 23, 20, 0.04);
  box-shadow: inset 0 1px 4px rgba(23, 23, 20, 0.1);
  color: #2b2b27;
}

.release-notes {
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 650ms;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  animation-fill-mode: both;
  mix-blend-mode: normal;
}

html[data-nav="forward"]::view-transition-old(root) {
  animation-name: view-past-viewer;
}

html[data-nav="forward"]::view-transition-new(root) {
  animation-name: view-from-behind;
}

html[data-nav="back"]::view-transition-old(root) {
  animation-name: view-to-behind;
}

html[data-nav="back"]::view-transition-new(root) {
  animation-name: view-from-past-viewer;
}

@keyframes view-past-viewer {
  to {
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.12);
  }
}

@keyframes view-from-behind {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.9);
  }
}

@keyframes view-to-behind {
  to {
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.9);
  }
}

@keyframes view-from-past-viewer {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

.header-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.card.is-flipped {
  scale: -1 1;
}

.stage .card {
  transition: outline-color 0.18s var(--ease-out), opacity 0.35s ease, scale 0.25s var(--ease-out);
}

.search-box {
  margin: 12px 12px 8px;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-box img {
  opacity: 0.5;
}

.search-field {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  color: var(--ui-text);
  font: inherit;
  cursor: text;
}

.search-field::placeholder {
  color: var(--ui-dim);
}

.search-list {
  min-height: 196px;
}

.search-row {
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: hint-in 0.25s ease both;
}

.search-row img {
  width: 14px;
  height: 19px;
  object-fit: cover;
  border-radius: 1.5px;
}

.search-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-count {
  height: 30px;
  padding: 0 12px;
  border-top: 1px solid var(--ui-line);
  display: flex;
  align-items: center;
  color: var(--ui-dim);
}

.features {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.features.is-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.features button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(23, 23, 20, 0.22);
  border-radius: 14px;
  background: var(--page);
  color: var(--muted);
  font: inherit;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.features button:hover {
  color: var(--ink);
}

.features button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--page);
}

.copy h2 {
  margin: 0 0 12px;
  font-family: "Mona Sans", system-ui, sans-serif;
  font-weight: 264;
  font-stretch: 85%;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.copy p {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--muted);
}

.copy h2 .rest {
  visibility: hidden;
}

.type-caret {
  position: relative;
  display: inline-block;
  width: 0;
  height: 0.86em;
  vertical-align: -0.08em;
  visibility: hidden;
}

.is-typing .type-caret {
  visibility: visible;
}

.type-caret::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--ink);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.7), -1px 0 0 rgba(255, 255, 255, 0.7);
}

.type-caret.is-idle::after {
  animation: caret-blink 1.06s steps(1) infinite;
}

.copy > .build-pulse {
  position: absolute;
  width: 31.25px;
  height: 31.25px;
  margin: -15.625px 0 0 -15.625px;
  border: 3px solid #fff;
  border-radius: 50%;
  mix-blend-mode: exclusion;
  pointer-events: none;
  animation: tap-pulse 0.333s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.stage {
  position: relative;
  width: 100%;
  height: clamp(520px, 92svh, 1040px);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.stage .ghost,
.stage .radial,
.stage .build-chrome,
.stage .card-build {
  pointer-events: none;
}

.stage .card {
  cursor: var(--cur-select);
  transition: outline-color 0.18s var(--ease-out), opacity 0.35s ease;
}

.stage.is-focused .card:not(.is-open):not(.is-kept) {
  opacity: 0.22;
}

.stage-world.is-flipped {
  scale: -1 1;
}

.stage-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  content-visibility: auto;
}

.stage-world {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
}

.stage-world.is-moving {
  will-change: transform;
}

.stage-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}

.fade-edges::before,
.fade-edges::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 24%;
  z-index: 2;
  pointer-events: none;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.fade-edges::before {
  top: 0;
  background: linear-gradient(var(--page), rgba(244, 242, 235, 0));
  -webkit-mask-image: linear-gradient(#000 35%, transparent);
  mask-image: linear-gradient(#000 35%, transparent);
}

.fade-edges::after {
  bottom: 0;
  background: linear-gradient(rgba(244, 242, 235, 0), var(--page));
  -webkit-mask-image: linear-gradient(transparent, #000 65%);
  mask-image: linear-gradient(transparent, #000 65%);
}

.deck-label {
  position: absolute;
  margin: 0;
  white-space: nowrap;
  font-family: "Mona Sans", system-ui, sans-serif;
  font-weight: 264;
  font-stretch: 85%;
  font-size: 110px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}

.drop {
  position: absolute;
}

.drop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
  transition: opacity 0.22s ease;
}

.drop canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.plate {
  position: absolute;
  pointer-events: none;
}

.linked-ring,
.linked-ring-edge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  box-sizing: border-box;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.linked-ring {
  padding: 3px;
  -webkit-backdrop-filter: invert(1);
  backdrop-filter: invert(1);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

@supports not ((backdrop-filter: invert(1)) or (-webkit-backdrop-filter: invert(1))) {
  .linked-ring {
    padding: 0;
    border: 3px solid #fff;
    mix-blend-mode: exclusion;
    -webkit-mask: none;
    mask: none;
  }
}

.linked-ring-edge {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65), 0 0 0 2px rgba(23, 23, 20, 0.45);
}

.linked-ring.is-on,
.linked-ring-edge.is-on {
  opacity: 1;
}

.linked-lasso {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
}

.linked-lasso.is-on {
  opacity: 1;
}

.linked-lasso path {
  fill: none;
  stroke: #1c1c1c;
  stroke-width: 1px;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}

.linked-radial {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.linked-radial.is-on {
  display: block;
}

.linked-radial i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--disc);
  height: var(--disc);
  border-radius: 50%;
  translate: -50% -50%;
  -webkit-backdrop-filter: blur(var(--blur));
  backdrop-filter: blur(var(--blur));
}

.linked-radial canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mini-layers {
  width: 176px;
}

.mini-layers.is-off,
#stage-linked.is-narrow .side-fade.is-left {
  display: none;
}

.mini-row:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mini-row {
  height: 28px;
  padding-left: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  transition: background-color 0.1s, height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, padding-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-row.is-gone,
.is-own > .mini-row.is-link {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.mini-row.is-pressed {
  background: rgba(255, 255, 255, 0.38);
}

.mini-row i {
  position: relative;
  flex: none;
  width: 26px;
  height: 28px;
  display: grid;
  place-items: center;
}

.mini-row i img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: contain;
  background: #1f1f1f;
  box-shadow: inset 0 0 0 1px rgba(232, 232, 232, 0.3);
}

.mini-tools {
  height: 26px;
  padding: 0 10px 0 9px;
  border-bottom: 1px solid var(--ui-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ui-dim);
}

.mini-tools b {
  font-weight: 400;
  color: var(--ui-text);
  font-variant-numeric: tabular-nums;
}

.mini-row.is-child {
  padding-left: 17px;
}

.mini-row span {
  min-width: 0;
  padding-right: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.is-own > .mini-row.is-child {
  padding-left: 5px;
}

.mini-row.is-active {
  background: rgba(255, 255, 255, 0.2);
}

.mini-row.is-link i::before,
.mini-row.is-link i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 6px;
  margin-top: -4px;
  border: 1.5px solid var(--ui-text);
  border-radius: 4px;
}

.mini-row.is-link i::before {
  left: 4px;
}

.mini-row.is-link i::after {
  left: 10px;
}

.mini-row.is-link span::before {
  content: "";
  display: inline-block;
  margin-right: 6px;
  border-left: 5px solid var(--ui-text);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  transition: rotate 0.15s ease;
}

.mini-row.is-link.is-open span::before {
  rotate: 90deg;
}

.mini-row i canvas {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: contain;
  background: #1f1f1f;
  box-shadow: inset 0 0 0 1px rgba(232, 232, 232, 0.3);
}

.mini-row.is-hidden i canvas {
  opacity: 0.5;
}

.mini-row.is-hidden span {
  color: var(--ui-dim);
}

.mini-row.is-hidden i img {
  opacity: 0.5;
}

.mini-row.is-hidden i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 13.25px;
  width: 18px;
  height: 1.5px;
  background: rgba(232, 232, 232, 0.8);
  transform: rotate(45deg);
}

.play {
  width: min(1100px, calc(100vw - 32px));
  margin: 28px auto 0;
}

.play .stage {
  height: clamp(420px, 60svh, 600px);
  border: 1px dashed rgba(23, 23, 20, 0.22);
  border-radius: 16px;
  pointer-events: auto;
  cursor: var(--cur-select);
}

.play .stage.is-sampling,
.play .stage.is-sampling * {
  cursor: none;
}

.play-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  z-index: 3;
  margin: 0;
  width: max-content;
  max-width: calc(100% - 90px);
  text-align: center;
  color: var(--muted);
  pointer-events: none;
}

.play-hint.is-new {
  animation: hint-in 0.3s ease both;
}

@keyframes hint-in {
  from { opacity: 0; filter: blur(5px); }
}

.play-swatch {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  box-shadow: 0 0 0 1.5px var(--ink);
  pointer-events: none;
}

.stage-top {
  z-index: 4;
  pointer-events: none;
}

.build-chrome > .build-float {
  opacity: 1;
  -webkit-user-drag: none;
}

.hero-take {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero-take > canvas,
.hero-clip > canvas {
  position: absolute;
  display: block;
}

.hero-take {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-take.is-paper {
  background: #fff;
}

.hero-take.is-in {
  opacity: 1;
}

.hero-clip {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-clip.is-dim {
  opacity: 0.22;
}

.hero-ink {
  mix-blend-mode: screen;
  mix-blend-mode: plus-lighter;
}

.hero-take > img {
  position: absolute;
  display: block;
  -webkit-user-drag: none;
}

.hero-take > canvas {
  transition: opacity 0.35s ease;
}

.hero-take > canvas.is-leaving {
  opacity: 0;
}

.panel-stack .layers-blend {
  pointer-events: none;
}

.panel-stack .layers-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.panel-stack .layers-list::-webkit-scrollbar {
  display: none;
}

.panel-stack .layer-row {
  flex: none;
  overflow: hidden;
  transition: background-color 0.1s, height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.panel-stack .layer-row.is-gone {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.panel-stack .layer-row.is-tagged.is-selected {
  background: color-mix(in srgb, var(--tag) 38%, transparent);
}

.panel-stack .layer-row > img {
  margin: 0 9px 0 auto;
  opacity: 0.6;
}

.panel-stack .layer-name {
  flex: 1;
}

.layer-glyph {
  display: block;
  background: var(--tag, #fff);
  -webkit-mask: var(--icon) center / 100% 100% no-repeat;
  mask: var(--icon) center / 100% 100% no-repeat;
}

.panel-stack .layer-row.is-tagged .layer-thumb {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tag) 80%, transparent);
}

.panel-stack .layer-row.is-tagged.is-hidden .layer-vis::after {
  background: var(--tag);
}

.linked-stack.is-off {
  display: none;
}

.menu-colors {
  box-sizing: border-box;
  height: 28px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.menu-color {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
}

.menu-color::before {
  content: "";
  position: absolute;
  inset: 1.92px;
  border-radius: 50%;
  background: var(--dot);
}

.menu-color.is-on,
.menu-color:hover {
  box-shadow: inset 0 0 0 1px var(--ui-text);
}

#stage-hero .stage-screen {
  overflow: hidden;
  overflow: clip;
}

.stage.is-focused .card.is-kept {
  opacity: 1;
}

.stage-screen {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.stage-screen > .panel.is-away {
  display: none;
}

.stage-screen > .panel {
  transform-origin: 0 0;
  pointer-events: auto;
  font-size: 11px;
  line-height: 1.3;
}

.demo-first {
  padding-top: 0;
}

.hero {
  position: relative;
  min-height: 0;
  justify-content: flex-start;
  padding: calc(49.4svh - 137px - min(520px, 78vw) * 0.10875) 24px 156px;
}

@media (max-width: 489px) {
  .hero {
    padding-top: calc(49.4svh - 149px - 78vw * 0.10875);
  }
}

.hero-down {
  position: absolute;
  top: calc(96svh - 96px);
  left: 50%;
  z-index: 9;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  translate: -50% 0;
  cursor: var(--cur-select);
  opacity: var(--at-top, 1);
  transition: color 160ms ease;
}

.hero-down::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  translate: -50% -70%;
  rotate: 45deg;
}

.hero-down:hover,
.hero-down:focus-visible {
  color: var(--ink);
}

html.is-scrolled .hero-down {
  pointer-events: none;
  visibility: hidden;
}

.hero-fade {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 8;
  width: 100%;
  height: 300px;
  background: linear-gradient(rgba(244, 242, 235, 0), rgba(244, 242, 235, 0.9) 85%);
  pointer-events: none;
  opacity: var(--at-top, 1);
}

.scroll-page .site-header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

html.has-header .scroll-page .site-header {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-page .site-header {
    transition: none;
  }
}

.layer-thumb.is-fitted {
  background-size: contain;
  background-position: center;
}

.stage-stack {
  position: relative;
  height: clamp(520px, 92svh, 1040px);
}

.stage-stack > .stage {
  position: absolute;
  inset: 0;
  height: auto;
  opacity: 0;
  filter: blur(10px);
  visibility: hidden;
  transition: opacity 0.4s ease, filter 0.4s ease, visibility 0s 0.4s;
}

.stage-stack > .stage.is-shown {
  opacity: 1;
  filter: none;
  visibility: visible;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.slots {
  width: min(1100px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.slot {
  margin: 0;
}

.slot-frame {
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(23, 23, 20, 0.22);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: rgba(23, 23, 20, 0.3);
}

.slot figcaption,
.orb-wrap figcaption {
  margin-top: 12px;
  text-align: center;
}

.platforms {
  width: min(1180px, calc(100vw - 48px));
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px clamp(40px, 8vw, 104px);
}

.platforms li {
  position: relative;
  display: flex;
  padding-bottom: 34px;
}

.platforms svg {
  display: block;
  width: 40px;
  height: 40px;
  fill: rgba(23, 23, 20, 0.58);
  transition: fill 0.3s ease;
}

.platforms li:hover svg {
  fill: var(--ink);
}

.platform-note {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  white-space: nowrap;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.platforms li:hover .platform-note,
body.is-dev .platform-note {
  opacity: 1;
}

.platforms li:hover .is-line {
  stroke: var(--ink);
}

.platforms .is-line {
  fill: none;
  transition: stroke 0.3s ease;
  stroke: rgba(23, 23, 20, 0.58);
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .platforms svg {
    width: 34px;
    height: 34px;
  }
}

.orbs {
  position: relative;
  width: min(1180px, calc(100vw - 48px));
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.orbs svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.orbs polyline {
  fill: none;
  stroke: rgba(23, 23, 20, 0.3);
  stroke-width: 1;
}

.orb-wrap {
  position: relative;
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  width: 370px;
}

#roadmap {
  overflow-x: clip;
}

.orb-wrap:nth-of-type(even) {
  margin-top: 150px;
}

.orb-slot {
  position: relative;
  height: 360px;
}

.orb {
  position: absolute;
  left: 50%;
  top: 0;
  width: 360px;
  height: 360px;
  margin-left: -180px;
  overflow: hidden;
  background: #fbfaf6;
  clip-path: circle(110.5px at 50% 50%);
  transition: clip-path 0.45s var(--ease-out);
}

.orb:hover {
  clip-path: circle(180px at 50% 50%);
}

.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(23, 23, 20, 0.3);
  scale: 0.6111;
  pointer-events: none;
  transition: scale 0.45s var(--ease-out);
}

.orb:hover::after {
  scale: 1;
}

.orb > * {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  translate: -50% -50%;
}

.orb .card {
  cursor: inherit;
}

.orb-wrap figcaption {
  margin-top: 14px;
  display: grid;
  gap: 2px;
}

.orb-wrap small {
  font-size: inherit;
  color: var(--muted);
}

.ghost-name {
  position: absolute;
  left: 14px;
  top: 18px;
  padding: 1px 6px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  line-height: 1.5;
  white-space: nowrap;
  scale: var(--inv);
  transform-origin: 0 0;
}

.orb-frame {
  position: absolute;
  inset: 19% 5%;
  width: 90%;
  height: 62%;
  object-fit: contain;
}

#orb-animation {
  background: #fff;
}

#orb-animation.is-dark {
  background: #000;
}

.orb-table {
  position: absolute;
  left: -67px;
  top: -15px;
  width: 239px;
  font-size: 10px;
  line-height: 1;
  border-right: 1px solid rgba(23, 23, 20, 0.22);
  background: #fff;
}

.orb-table div {
  display: grid;
  grid-template-columns: 48px 60px 58px 24px 24px 24px;
  color: var(--muted);
  white-space: nowrap;
}

.orb-table div + div {
  border-top: 1px solid rgba(23, 23, 20, 0.14);
}

.orb-table div.is-bound {
  color: var(--ink);
}

.orb-table span {
  position: relative;
  height: 17px;
  padding: 0 5px;
  display: flex;
  align-items: center;
}

.orb-table span + span {
  border-left: 1px solid rgba(23, 23, 20, 0.14);
}

.orb-table span:first-child,
.orb-table span:nth-child(n + 3) {
  justify-content: flex-end;
}

.orb-table span.is-picked {
  outline: 1.5px solid var(--select);
  outline-offset: -0.5px;
  z-index: 1;
}

.orb-table span.is-typing::after {
  content: "";
  width: 1px;
  height: 10px;
  margin-left: 1px;
  background: var(--ink);
}

.orb-card {
  position: absolute;
  left: 179px;
  top: 140.5px;
  width: 58px;
  height: 79px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 23, 20, 0.22), 0 2px 6px rgba(23, 23, 20, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-drops {
  height: 20px;
  display: flex;
  justify-content: center;
}

.orb-drops i {
  width: 0;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  scale: 0.6;
  translate: 0 3px;
  transition: width 0.35s var(--ease-out), opacity 0.25s ease, scale 0.35s var(--ease-out), translate 0.35s var(--ease-out);
}

.orb-drops i.is-on {
  width: 13.5px;
  opacity: 1;
  scale: 1;
  translate: 0 0;
}

.orb-drops i:nth-child(2) {
  transition-delay: 0.1s;
}

.orb-drops i:nth-child(3) {
  transition-delay: 0.2s;
}

.orb-drops i:nth-child(4) {
  transition-delay: 0.3s;
}

.orb-drops img {
  flex: none;
  width: 12.9px;
  height: 20px;
}

.orb-drops i.is-blood img {
  width: 14.3px;
  height: 23.1px;
}

.orb-drops i.is-coin.is-on {
  width: 15.5px;
}

.orb-drops i.is-coin img {
  width: 15.4px;
  height: 15.4px;
}

.partner {
  width: min(30rem, calc(100vw - 32px));
  padding: 26px;
  border: 1px solid rgba(23, 23, 20, 0.22);
  border-radius: 16px;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  opacity: 0;
  transform: translateY(6px) scale(0.99);
  transition: opacity 260ms ease, transform 260ms ease;
}

.partner.is-open {
  opacity: 1;
  transform: none;
}

.partner::backdrop {
  background: rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: backdrop-filter 260ms ease, background 260ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .partner,
  .partner::backdrop {
    transition: none;
  }
}

.partner.is-open::backdrop {
  background: rgba(23, 23, 20, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.partner h3 {
  margin: 0 0 10px;
  font-family: "Mona Sans", system-ui, sans-serif;
  font-weight: 264;
  font-stretch: 85%;
  font-size: 2rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.partner p {
  margin: 0 0 16px;
  color: var(--muted);
}

.partner label {
  display: block;
  margin-bottom: 12px;
}

.partner input,
.partner textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 23, 20, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: inherit;
  font: inherit;
  resize: vertical;
}

.partner input:focus,
.partner textarea:focus {
  outline: none;
  border-color: rgba(23, 23, 20, 0.5);
}

.partner-status:empty {
  display: none;
}

.partner-status.is-error {
  color: #b3261e;
}

.partner-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

body.is-dev [data-edit] {
  cursor: text;
  outline: 1px dashed transparent;
  outline-offset: 4px;
  border-radius: 2px;
}

body.is-dev [data-edit]:hover,
body.is-dev [data-edit]:focus {
  outline-color: rgba(240, 100, 30, 0.7);
}

body.is-dev [data-place] .panel-head {
  cursor: grab;
}

body.is-dev::after {
  content: "dev  click text to edit, drag the orange bar beside a paragraph to set where it wraps, drag feature buttons to reorder, drag panels by their header, - for viewer";
  position: fixed;
  left: 16px;
  bottom: 14px;
  z-index: 6;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(31, 31, 31, 0.86);
  color: var(--ui-text);
  font-size: 11px;
  white-space: pre;
}

.signup {
  padding: 110px 24px 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.signup .copy {
  margin-bottom: 26px;
}

.signup .copy h2 {
  margin: 0;
}

.access {
  width: min(336px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.access p {
  margin: 0;
}

.access-status:empty {
  display: none;
}

.access-status.is-error {
  color: #b3261e;
}

.access-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-decoration: none;
  cursor: var(--cur-select);
}

.scroll-page [data-edit] {
  text-transform: lowercase;
}

.scroll-page p,
.scroll-page li,
.scroll-page figcaption,
.scroll-page h2,
.scroll-page h3 {
  text-wrap: pretty;
}

.access-status {
  width: max-content;
  max-width: calc(100vw - 48px);
}

.access-status,
.access-prompt,
.more-note,
.reel-note,
.hero p,
.copy p,
.partner p,
.signup-discord {
  text-wrap: balance;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

footer .privacy-open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: var(--cur-select);
}

footer .privacy-open:hover,
footer .privacy-open:focus-visible {
  color: var(--ink);
}

.header-icon {
  display: block;
  cursor: var(--cur-select);
}

.header-icon[hidden] {
  display: none;
}

.header-icon .header-icon-line {
  fill: none;
  stroke: #f4f2eb;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.panel-head > span {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.header-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: var(--ink);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.header-icon .header-icon-ink {
  fill: #f4f2eb;
}

.header-icon:hover svg,
.header-icon:focus-visible svg,
.header-icon.is-on svg {
  opacity: 1;
}

.signup-discord {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.signup-discord svg {
  display: block;
  flex: none;
  width: 1.15em;
  height: 1.15em;
  fill: var(--ink);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.signup-discord:hover svg,
.signup-discord:focus-visible svg {
  opacity: 1;
}

.access-link:hover,
.access-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

footer {
  padding: 0 24px 40px;
  text-align: center;
  color: var(--muted);
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-header button {
  cursor: var(--cur-select);
}

.reel {
  --reel-w: min(calc(100vw - 176px), calc((100vh - 300px) * 16 / 9), 1400px);
  --reel-w: min(calc(100vw - 176px), calc((100svh - 300px) * 16 / 9), 1400px);
}

.features.is-reel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  grid-area: 3 / 1 / 4 / -1;
  justify-self: center;
  width: min(1400px, calc(100vw - 48px));
  margin: 14px 0 0;
}

.more {
  width: min(46rem, calc(100vw - 48px));
  margin: 0 auto;
}

.features.is-bundle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 6px;
}

.features.is-bundle button {
  margin-bottom: 6px;
}

.more-notes {
  flex: 0 0 100%;
  display: none;
  overflow: hidden;
}

.more-notes.is-open {
  display: block;
}

.more-note {
  display: none;
  max-width: 34rem;
  margin: 0 auto;
  padding: 14px 0 20px;
  color: var(--muted);
  text-align: center;
}

.more-note.is-on {
  display: block;
  animation: more-in 0.32s cubic-bezier(0.2, 0.7, 0.3, 1) 0.1s backwards;
}

@keyframes more-in {
  from {
    opacity: 0;
  }
}

.features.is-reel button.is-moving {
  opacity: 0.45;
}

body.is-dev .features.is-reel button {
  cursor: grab;
}

.dev-grip {
  position: absolute;
  z-index: 5;
  display: none;
  width: 6px;
  min-height: 18px;
  border-radius: 3px;
  background: rgba(240, 100, 30, 0.75);
  cursor: ew-resize;
  touch-action: none;
}

.dev-grip.is-on {
  display: block;
}

.features.is-reel .is-copy {
  display: none;
}

.hero > p {
  margin-top: -8px;
}

.hero-status {
  position: absolute;
  top: 150px;
  left: 50%;
  z-index: 3;
  width: max-content;
  max-width: calc(100vw - 48px);
  margin: 0;
  color: var(--muted);
  text-align: center;
  translate: -50% 0;
}

.hero-status:empty {
  display: none;
}

.hero-status.is-error {
  color: #b3261e;
}

.hero .hero-ask {
  position: absolute;
  top: 58px;
  left: 50%;
  z-index: 3;
  width: max-content;
  max-width: calc(100vw - 48px);
  translate: -50% 0;
}

.hero .hero-ask[hidden] {
  display: none;
}

.hero .hero-signup {
  position: absolute;
  top: 92px;
  left: 50%;
  z-index: 3;
  width: min(336px, calc(100vw - 48px));
  translate: -50% 0;
}

.hero-signup[hidden] {
  display: none;
}

.header-icon.is-slim svg {
  width: 9px;
}

.header-icon.is-slim {
  margin: -12px -14px -12px -8px;
  padding: 12px 14px 12px 8px;
}

.reel-row {
  display: grid;
  grid-template-columns: 40px var(--reel-w) 40px;
  justify-content: center;
  align-items: center;
  column-gap: 24px;
}

.reel-row > .is-back {
  grid-area: 1 / 1;
}

.reel-row > .reel-view {
  grid-area: 1 / 2;
}

.reel-row > .is-next {
  grid-area: 1 / 3;
}

.reel-row > .reel-trim {
  grid-area: 2 / 2;
}

.reel-row > .reel-notes {
  grid-area: 4 / 2;
}

.reel-step {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(23, 23, 20, 0.22);
  border-radius: 50%;
  background: var(--page);
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease;
}

.reel-step:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.reel-step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 0 3px 3px;
  translate: -30% -50%;
  rotate: 45deg;
}

.reel-step.is-next::before {
  translate: -70% -50%;
  rotate: -135deg;
}

.stage.is-replay {
  height: auto !important;
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.replay-box {
  position: relative;
  width: min(1400px, 100%, calc(84svh * var(--ar, 1.5)));
  aspect-ratio: var(--ar, 1.5);
  overflow: hidden;
  border: 1px solid rgba(23, 23, 20, 0.22);
  border-radius: 10px;
  background: #1a1a1a;
}

.replay-view {
  position: absolute;
  inset: 0;
}

.replay-trim {
  width: min(1400px, 100%);
}

.reel-view {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 20, 0.22);
  border-radius: 10px;
  background: #1c1c1c;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.reel-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.reel-view.is-dragging .reel-slide {
  will-change: transform;
}

.reel-trim {
  width: var(--reel-w);
  margin: 8px auto 0;
}

.reel-trim:empty,
body:not(.is-dev) .reel-trim {
  display: none;
}

.reel-notes {
  display: grid;
  justify-items: center;
  margin-top: 20px;
}

.reel-note {
  grid-area: 1 / 1;
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease-out, visibility 0s linear 0.15s;
}

.reel-note.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s cubic-bezier(0.2, 0.7, 0.3, 1) 0.08s, visibility 0s;
}

.take,
.take-body,
.take-frame {
  position: absolute;
  inset: 0;
}

.take-frame {
  overflow: hidden;
  background: #1c1c1c;
}

.take-coming {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ui-dim);
}

.take-poster,
.take-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.take-video {
  opacity: 0;
}

.take-video.is-on {
  opacity: 1;
}

.take-over {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.take-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  opacity: 0;
  will-change: transform;
}

.take-cursor.is-in {
  opacity: 1;
}

.take-cursor img {
  position: absolute;
  display: block;
}

.take-hot {
  position: absolute;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--select);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.take-label {
  position: absolute;
  left: 0;
  top: 0;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(31, 31, 31, 0.86);
  color: var(--ui-text);
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.take-hot.is-in,
.take-label.is-in {
  opacity: 1;
}

.take-pause {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(56px, 13%, 124px);
  aspect-ratio: 1;
  translate: -50% -50%;
  scale: 1.4;
  opacity: 0;
  filter: blur(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, scale 0.3s var(--ease-out), filter 0.3s ease;
}

.take-pause::before,
.take-pause::after {
  content: "";
  position: absolute;
  top: 31%;
  width: 11%;
  height: 38%;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.45), 0 2px 10px rgba(20, 20, 20, 0.55);
}

.take-pause::before {
  left: 33%;
}

.take-pause::after {
  right: 33%;
}

.take-frame.is-paused:not(.is-scrubbing) .take-pause {
  scale: 1;
  opacity: 0.85;
  filter: none;
}

.take-seek {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12.5%;
  touch-action: pan-y;
}

.take-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(150, 150, 150, 0.6);
  transition: height 0.2s var(--ease-out);
}

.take-line i {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.take-seek:hover .take-line,
.take-frame.is-scrubbing .take-line {
  height: 10px;
}

.take-speeds {
  position: absolute;
  right: 12px;
  bottom: 20px;
  display: flex;
  gap: 6px;
}

.take-speeds button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 31, 31, 0.72);
  color: var(--ui-dim);
  font: inherit;
  font-size: 10px;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease;
}

.take-speeds button:hover {
  color: var(--ui-text);
}

.take-speeds button.is-on {
  background: var(--ui-text);
  color: #1c1c1c;
}

.take-frame.is-coming .take-seek {
  pointer-events: none;
}

.take-frame.is-coming .take-line {
  height: 3px;
  background: rgba(150, 150, 150, 0.3);
}

.take-frame.is-coming .take-speeds {
  opacity: 0.4;
}

.take-trim {
  display: none;
  padding: 6px 12px 8px;
  border-radius: 6px;
  background: var(--ui-panel);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--ui-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--ui-text);
  font-size: 11px;
  line-height: 1.3;
  outline: none;
}

body.is-dev .take-trim {
  display: block;
}

.take-trim:focus {
  box-shadow: var(--ui-shadow), inset 0 0 0 1px rgba(232, 232, 232, 0.3);
}

.trim-labels {
  position: relative;
  height: 14px;
  overflow: hidden;
  color: var(--ui-dim);
  font-size: 10px;
}

.trim-labels span {
  position: absolute;
  top: 0;
  padding-left: 3px;
  white-space: nowrap;
}

.trim-bar {
  position: relative;
  height: 26px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.4);
  touch-action: none;
}

.trim-span {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(232, 232, 232, 0.16);
  pointer-events: none;
}

.trim-ticks {
  pointer-events: none;
}

.trim-ticks i {
  position: absolute;
  top: 0;
  width: 1px;
  height: 8px;
  background: var(--ui-dim);
}

.trim-handle {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  cursor: ew-resize;
}

.trim-handle::before,
.trim-handle::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
}

.trim-handle::before {
  width: 6px;
  background: var(--ui-text);
}

.trim-handle::after {
  top: -5px;
  bottom: -5px;
  width: 16px;
}

.trim-handle.is-in::before {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.trim-handle.is-in::after {
  right: -3px;
}

.trim-handle.is-out::before {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.trim-handle.is-out::after {
  left: -3px;
}

.trim-head {
  position: absolute;
  left: -0.5px;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: var(--select);
  pointer-events: none;
}

.trim-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 7px;
}

.trim-read {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: pre;
  font-variant-numeric: tabular-nums;
}

.trim-set {
  display: flex;
  gap: 2px;
}

.take-trim button {
  height: 18px;
  padding: 0 6px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ui-dim);
  font: inherit;
}

.take-trim button:hover {
  color: var(--ui-text);
}

.take-trim button.is-on {
  background: rgba(232, 232, 232, 0.16);
  color: var(--ui-text);
}

@media (max-width: 700px) {
  .reel {
    --reel-w: calc(100vw - 24px);
  }

  .features.is-reel {
    flex-wrap: nowrap;
    justify-content: flex-start;
    justify-self: center;
    width: 100vw;
    margin: 12px 0 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  }

  .features.is-reel::-webkit-scrollbar {
    display: none;
  }

  .features.is-reel button {
    flex: none;
  }

  .features.is-reel .is-copy {
    display: block;
  }

  .reel-row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    width: var(--reel-w);
    margin: 0 auto;
    column-gap: 12px;
  }

  .reel-row > .reel-view {
    grid-area: 1 / 1 / 2 / -1;
  }

  .reel-row > .reel-trim {
    grid-area: 2 / 1 / 3 / -1;
  }

  .reel-row > .is-back {
    grid-area: 4 / 1;
    margin-top: 12px;
  }

  .reel-row > .is-next {
    grid-area: 4 / 3;
    margin-top: 12px;
  }

  .reel-row > .reel-notes {
    grid-area: 4 / 2;
    margin-top: 12px;
    align-items: center;
  }

  .take-speeds {
    right: 8px;
    bottom: 12px;
    gap: 4px;
  }

  .take-speeds button {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 900px) {
  .features {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .slots {
    grid-template-columns: 1fr;
  }

  .orbs {
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }

  .orbs polyline {
    stroke: rgba(23, 23, 20, 0.2);
  }

  .orb-wrap,
  .orb-wrap:nth-of-type(even) {
    width: 300px;
    margin-top: 0;
  }

  .orb-slot {
    height: 300px;
  }

  .orb,
  .orb:hover {
    width: 280px;
    height: 280px;
    margin-left: -140px;
    clip-path: circle(140px at 50% 50%);
  }

  .orb::after {
    scale: 1;
  }
}

@media (max-width: 640px) {
  .demo {
    padding-top: 48px;
  }

  .stage {
    height: clamp(440px, 80svh, 700px);
  }

  #stage-linked {
    height: clamp(560px, 86svh, 720px);
  }

  .mini-layers {
    width: 160px;
  }

  .mini-row {
    height: 24px;
  }

  .mini-row i {
    height: 24px;
  }

  .mini-row.is-hidden i::after {
    top: 11.25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.card {
  position: absolute;
  border-radius: var(--r, 8px);
  background: #fbfaf6;
  outline: calc(2.8px * var(--inv)) solid rgba(102, 102, 102, 0.2);
  outline-offset: 0;
  transition: outline-color 0.18s var(--ease-out);
}

.card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
  -webkit-user-drag: none;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.card > img.is-loaded {
  opacity: 1;
  filter: none;
}

.card.is-selected,
.card.is-ghost-selected {
  outline: calc(2.8px * var(--inv)) solid var(--select);
  outline-offset: calc(3px * var(--inv));
}

.card-build {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.card-build.is-in {
  opacity: 1;
  filter: none;
}

.card.is-open {
  outline: calc(5.6px * var(--inv)) solid rgba(102, 102, 102, 0.5);
  outline-offset: calc(-1px * var(--inv));
}

.build-chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.build-chrome > * {
  position: absolute;
  box-sizing: border-box;
  opacity: 0;
}

.build-hover {
  outline: calc(1px * var(--inv)) solid #3060d0;
  transition: opacity 0.1s;
}

.build-box {
  outline: calc(1px * var(--inv)) solid #1a1a1a;
  box-shadow: 0 0 0 calc(1.25px * var(--inv)) #fff, inset 0 0 0 calc(0.25px * var(--inv)) #fff;
  transition: opacity 0.1s;
}

.build-box i {
  position: absolute;
  width: calc(6px * var(--inv));
  height: calc(6px * var(--inv));
  margin: calc(-3px * var(--inv)) 0 0 calc(-3px * var(--inv));
  background: #fff;
  border: calc(1px * var(--inv)) solid #333;
  box-sizing: border-box;
}

.build-box.is-bare i {
  display: none;
}

.build-box i[data-at="nw"] { left: 0; top: 0; }
.build-box i[data-at="n"] { left: 50%; top: 0; }
.build-box i[data-at="ne"] { left: 100%; top: 0; }
.build-box i[data-at="e"] { left: 100%; top: 50%; }
.build-box i[data-at="se"] { left: 100%; top: 100%; }
.build-box i[data-at="s"] { left: 50%; top: 100%; }
.build-box i[data-at="sw"] { left: 0; top: 100%; }
.build-box i[data-at="w"] { left: 0; top: 50%; }

.build-caret {
  min-width: calc(1px * var(--inv));
  background: #101010;
  box-shadow: calc(1px * var(--inv)) 0 0 rgba(255, 255, 255, 0.7), calc(-1px * var(--inv)) 0 0 rgba(255, 255, 255, 0.7);
}

.build-caret.is-idle {
  animation: caret-blink 1.06s steps(1) infinite;
}

@keyframes caret-blink {
  50% { visibility: hidden; }
}

.build-chrome > .build-pulse {
  width: calc(31.25px * var(--inv));
  height: calc(31.25px * var(--inv));
  margin: calc(-15.625px * var(--inv)) 0 0 calc(-15.625px * var(--inv));
  border: calc(3px * var(--inv)) solid #fff;
  border-radius: 50%;
  mix-blend-mode: exclusion;
  animation: tap-pulse 0.333s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes tap-pulse {
  from { scale: 0; opacity: 1; }
  to { scale: 1; opacity: 0; }
}

.panel {
  position: absolute;
  width: 200px;
  border-radius: 6px;
  background: var(--ui-panel);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--ui-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--ui-text);
  cursor: var(--cur-select);
}

.panel button {
  font: inherit;
  color: inherit;
  cursor: var(--cur-select);
}

.panel-head {
  height: 32px;
  padding: 0 13.5px 0 9px;
  border-bottom: 1px solid var(--ui-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  letter-spacing: 0.025em;
}

body.is-dev .panel-head {
  cursor: grab;
}

.icon-button {
  padding: 0;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  opacity: 0.5;
  transition: opacity 0.1s;
}

.icon-button:hover {
  opacity: 1;
}

.icon-button img,
.chip img {
  display: block;
  pointer-events: none;
}

.chip {
  height: 22px;
  min-width: 20px;
  padding: 0 3px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: background-color 0.1s;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.16);
}

.chip.is-on {
  background: #fff;
  color: #000;
}

.chip.is-on img {
  filter: invert(1);
}

.chip-text {
  padding: 0 7px;
}

.layers-filter {
  height: 32px;
  margin-top: 13px;
  padding: 0 18px;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--ui-line);
  display: flex;
  align-items: center;
  gap: 5px;
}

.layers-blend {
  height: 37px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--ui-line);
}

.dropdown {
  flex: 1;
  min-width: 0;
  height: 22px;
  padding: 0 6px 0 7px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ui-dim) !important;
}

.dropdown img {
  width: 9px;
  opacity: 0.47;
}

.field {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ui-dim);
}

.field img {
  width: 11px;
  height: 11px;
  opacity: 0.5;
}

.layers-list {
  overflow: hidden;
}

.layer-row {
  height: 28px;
  padding-left: 5px;
  display: flex;
  align-items: center;
  transition: background-color 0.1s;
}

.layer-row:hover {
  background: rgba(255, 255, 255, 0.12);
}

.layer-row.is-selected {
  background: rgba(255, 255, 255, 0.38);
}

.layer-row.is-child {
  padding-left: 19px;
}

.layer-vis {
  flex: none;
  position: relative;
  width: 26px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
}

.layer-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #1f1f1f;
  background-repeat: no-repeat;
  background-size: auto 18px;
  box-shadow: inset 0 0 0 1px rgba(232, 232, 232, 0.3);
}

.layer-row.is-background .layer-name {
  color: var(--ui-dim);
}

.layer-thumb.is-paper {
  background-color: #fff;
}

.layer-thumb.is-adjust {
  background: linear-gradient(90deg, var(--ui-text) 50%, transparent 50%);
}

.layer-kind {
  display: block;
}

.layer-name {
  margin-left: 5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layer-row.is-hidden .layer-vis > * {
  opacity: 0.5;
}

.layer-row.is-hidden .layer-name {
  color: var(--ui-dim);
}

.layer-row.is-hidden .layer-vis::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 13.25px;
  width: 24px;
  height: 1.5px;
  border-radius: 1px;
  background: rgba(232, 232, 232, 0.8);
  transform: rotate(45deg);
}

.layer-row.is-hidden .layer-vis:has(.layer-thumb)::after {
  left: 4px;
  width: 18px;
}

.layers-foot {
  height: 30px;
  padding: 0 13.5px 0 11px;
  border-top: 1px solid var(--ui-line);
  display: flex;
  align-items: center;
  gap: 4px;
}

.text-button {
  height: 22px;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: none;
  transition: background-color 0.1s;
}

.text-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.text-button.is-dim {
  color: var(--ui-dim);
}

.layers-foot .icon-button {
  margin-left: auto;
  width: 22px;
  height: 22px;
}

.color-body {
  padding: 14px 12px 14px;
}

.color-top {
  height: 64px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.color-swatches {
  flex: none;
  position: relative;
  width: 30px;
  height: 40px;
  margin-top: 8px;
}

.color-swatches i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 3px;
}

.swatch-bg {
  left: 11px;
  top: 11px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--ui-line);
}

.swatch-fg {
  left: 0;
  top: 0;
  box-shadow: 0 0 0 1.5px var(--ui-text);
}

.color-sliders {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(3, 21.33px);
  align-items: center;
}

.color-slider {
  display: grid;
  grid-template-columns: 10px 1fr 26px;
  align-items: center;
  gap: 4px;
  color: var(--ui-dim);
}

.color-slider output {
  color: rgba(232, 232, 232, 0.75);
}

.slider-track {
  position: relative;
  height: 10px;
  border-radius: 5px;
  cursor: var(--cur-select);
}

.slider-knob,
.wheel-knob {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: left 0.25s var(--ease-out), top 0.25s var(--ease-out);
}

.slider-knob {
  top: 50%;
}

.color-modes {
  flex: none;
  width: 28px;
  display: grid;
  gap: 5px;
}

.color-modes .chip {
  width: 28px;
  padding: 0;
  font-size: 8px;
}

.color-modes .chip:first-child {
  height: 28px;
}

.color-modes svg {
  display: block;
  fill: none;
  stroke: var(--ui-text);
  stroke-width: 1.5;
  stroke-linejoin: round;
  pointer-events: none;
}

.color-sliders.is-raw .color-slider {
  grid-template-columns: 10px 1fr 34px;
}

.color-wheel {
  position: relative;
  width: 176px;
  height: 176px;
  margin: 8px 0 0;
  cursor: var(--cur-select);
  touch-action: none;
}

.color-wheel canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.color-wheel[data-shape="square"] canvas {
  border-radius: 4px;
}

.ring-knob {
  display: none;
}

.color-wheel[data-shape="triangle"] .ring-knob {
  display: block;
}

.slider-track {
  touch-action: none;
}

.panel.is-dragging .slider-knob,
.panel.is-dragging .wheel-knob {
  transition: none;
}

.radial {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
}

.radial canvas {
  position: absolute;
  left: -310px;
  top: -310px;
  width: 620px;
  height: 620px;
}

.radial-glass {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  translate: -50% -50%;
  opacity: 0;
  background: var(--ui-toolbar);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.radial-glass-nudge {
  background: rgba(70, 70, 70, 0.32);
}

.radial-nudge canvas {
  left: -165px;
  top: -165px;
  width: 330px;
  height: 330px;
}

.radial-eyedrop {
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.radial-eyedrop.is-leaving {
  opacity: 0;
  filter: blur(6px);
}

.radial-eyedrop canvas {
  left: -80px;
  top: -80px;
  width: 160px;
  height: 160px;
}

body.is-sampling,
body.is-sampling * {
  cursor: none !important;
}

.ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.ghost.is-in {
  opacity: 1;
  filter: none;
}

.ghost img {
  position: absolute;
  display: block;
  scale: var(--inv);
}

.ghost-reticle {
  position: absolute;
  border-radius: 50%;
  border: calc(1px * var(--inv)) solid rgba(255, 255, 255, 0.4);
  mix-blend-mode: difference;
  translate: -50% -50%;
}

.ghost.is-hidden-cursor > * {
  opacity: 0;
}

.email-field {
  display: flex;
  width: 100%;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(23, 23, 20, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 4px rgba(23, 23, 20, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 160ms ease;
}

.email-field:focus-within {
  border-color: rgba(23, 23, 20, 0.5);
}

.email-field input {
  flex: 1;
  min-width: 0;
  padding: 7px 9px;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
}

.email-field input::placeholder {
  color: #7d7c76;
}

.email-field button {
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #171714;
  color: #f4f2eb;
  font: inherit;
  font-size: 1.1em;
  cursor: var(--cur-select);
  transition: background 160ms ease, color 160ms ease;
}

.email-field button:hover {
  background: var(--ui-red);
  color: #fff;
}

.email-field button:disabled,
.email-field input:disabled {
  opacity: 0.5;
  cursor: progress;
}

.access-status:empty {
  display: none;
}

.access-status.is-error {
  color: #b3261e;
}

.access-link {
  padding: 0;
  border: 0;
  background: none;
  color: #7d7c76;
  font: inherit;
  text-decoration: none;
  cursor: var(--cur-select);
}

.access-link:hover,
.access-link:focus-visible {
  color: #171714;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(23, 23, 20, 0.12);
  background: rgba(244, 242, 235, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.box-logo {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: var(--cur-select);
}

.box-logo img {
  height: 30px;
  width: auto;
}

.header-button {
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #171714;
  color: #f4f2eb;
  font: inherit;
  font-size: 12px;
  cursor: var(--cur-select);
  transition: background 160ms ease, color 160ms ease;
}

.header-button:hover {
  background: var(--ui-red);
  color: #fff;
}

.panel-head .icon-button {
  position: relative;
}

.panel-head .icon-button::before {
  content: "";
  position: absolute;
  inset: -11px -8.5px;
}

.color-wheel::before,
.slider-track::before {
  content: "";
  position: absolute;
  inset: -6px;
}

.slider-track {
  --slider-cap: 5px;
  background: rgba(128, 128, 128, 0.3);
}

.slider-track canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

.color-wheel canvas {
  position: relative;
  border-radius: 0;
  pointer-events: none;
}

.color-wheel[data-shape="square"] canvas {
  border-radius: 4px;
}

.color-swatches i {
  box-shadow: 0 0 0 1px var(--ui-line);
}

.color-swatches i.is-chosen {
  box-shadow: 0 0 0 1.5px var(--ui-text);
}

.scroll-page .panel .color-slider span,
.scroll-page .panel .color-space {
  text-transform: none;
}

.panel-menu {
  position: absolute;
  z-index: 30;
  box-sizing: border-box;
  width: 220px;
  padding: 2px 0;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(24, 24, 24, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  color: var(--ui-text);
  font-size: 11px;
  line-height: 1.3;
  transform-origin: 0 0;
  pointer-events: auto;
  cursor: var(--cur-select);
  -webkit-user-select: none;
  user-select: none;
}

.panel-menu button {
  font: inherit;
  color: inherit;
  cursor: var(--cur-select);
}

.menu-row {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 28px;
  padding: 0 10px;
  border: 0;
  background: none;
  text-align: left;
}

.panel-menu.has-checks .menu-row {
  padding-left: 28px;
}

.menu-row:first-child {
  height: 30px;
  margin-top: -2px;
  padding-top: 2px;
}

.menu-row:last-child {
  height: 30px;
  margin-bottom: -2px;
  padding-bottom: 2px;
}

.menu-row:first-child:last-child {
  height: 32px;
}

.menu-row:hover,
.menu-row:focus-visible {
  background: #333;
  outline: none;
}

.menu-row.is-selected {
  background: rgba(255, 255, 255, 0.38);
}

.menu-check {
  position: absolute;
  left: 12px;
  top: 50%;
  margin-top: -5.5px;
  fill: none;
  stroke: #e85050;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-row:last-child .menu-check {
  margin-top: -6.5px;
}

.menu-segments {
  box-sizing: border-box;
  height: 28px;
  padding: 2px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.menu-segment {
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  display: grid;
  place-items: center;
}

.menu-segment:hover,
.menu-segment.is-on {
  background: #333;
}

.menu-segment svg {
  display: block;
  fill: none;
  stroke: var(--ui-text);
  stroke-width: 1.5;
  stroke-linejoin: round;
  pointer-events: none;
}

.menu-segment path {
  vector-effect: non-scaling-stroke;
}

.menu-field {
  box-sizing: border-box;
  height: 28px;
  padding: 3px 10px;
}

.menu-field input {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  outline: none;
  background: #2a2a2a;
  color: var(--ui-text);
  font: inherit;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.menu-field input:focus {
  box-shadow: inset 0 0 0 1px var(--ui-red);
}

.menu-field input::selection {
  background: rgba(232, 232, 232, 0.3);
}

@media (max-width: 640px) {
  .platform-note {
    top: 40px;
    bottom: auto;
    width: max-content;
    max-width: 132px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

@media (hover: none), (max-width: 640px) {
  .fade-edges::before,
  .fade-edges::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .fade-edges::before {
    background: linear-gradient(var(--page), rgba(244, 242, 235, 0.72) 35%, rgba(244, 242, 235, 0.42) 50%, rgba(244, 242, 235, 0.1) 75%, rgba(244, 242, 235, 0));
  }

  .fade-edges::after {
    background: linear-gradient(rgba(244, 242, 235, 0), rgba(244, 242, 235, 0.1) 25%, rgba(244, 242, 235, 0.42) 50%, rgba(244, 242, 235, 0.72) 65%, var(--page));
  }

  .panel {
    background: rgba(37, 37, 37, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .radial-glass,
  .linked-radial i {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .email-field {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .card > img {
    filter: none;
    transition: opacity 0.45s ease;
  }
}

@media (orientation: landscape) and (max-height: 540px) and (min-width: 480px) {
  .demo {
    padding-bottom: 48px;
  }

  .demo:not(.demo-first) {
    padding-top: 64px;
  }

  #stage-hero,
  #stage-linked {
    height: max(280px, calc(100vh - 56px));
    height: max(280px, calc(100svh - 56px));
  }

  .reel {
    --reel-w: min(calc(100vw - 128px), calc((100vh - 72px) * 16 / 9));
    --reel-w: min(calc(100vw - 128px), calc((100svh - 72px) * 16 / 9));
    scroll-margin-top: 64px;
  }

  .reel-row {
    grid-template-columns: 40px var(--reel-w) 40px;
    width: auto;
    margin: 0;
    column-gap: 12px;
  }

  .reel-row > .reel-view {
    grid-area: 1 / 2;
  }

  .reel-row > .reel-trim {
    grid-area: 2 / 2;
  }

  .reel-row > .is-back {
    grid-area: 1 / 1;
    margin-top: 0;
  }

  .reel-row > .is-next {
    grid-area: 1 / 3;
    margin-top: 0;
  }

  .reel-row > .reel-notes {
    grid-area: 4 / 2;
    margin-top: 14px;
  }

  .signup {
    padding: 64px 24px 80px;
  }

  .about {
    padding: 72px 24px 24px;
    gap: 20px;
  }

  .face {
    width: 104px;
    height: 104px;
  }

  .downloads {
    padding: 88px 24px 48px;
  }

  .partner {
    width: min(40rem, calc(100vw - 32px));
    max-height: calc(100vh - 16px);
    max-height: calc(100svh - 16px);
    padding: 18px 22px;
    overscroll-behavior: contain;
  }

  .partner h3 {
    font-size: 1.6rem;
  }

  .partner p {
    margin-bottom: 12px;
  }

  #organize .copy {
    margin-bottom: 0;
  }

  #organize .features.is-row {
    position: relative;
    z-index: 3;
    margin-bottom: -38px;
  }

  #stage-organize {
    height: max(280px, calc(100vh - 56px));
    height: max(280px, calc(100svh - 56px));
  }

  #stage-organize.fade-edges::before {
    height: 56px;
  }

  #stage-organize.fade-edges::after {
    height: 36px;
  }
}
