@font-face {
  font-family: "Manrope Variable";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;

  --cp-bg: var(--color-mist-50);
  --cp-surface: var(--color-white);
  --cp-surface-sunken: var(--color-mist-100);
  --cp-border: var(--color-mist-200);
  --cp-border-strong: var(--color-mist-300);
  --cp-text: var(--color-mist-950);
  --cp-text-secondary: var(--color-mist-800);
  --cp-text-muted: var(--color-mist-600);
  --cp-link: var(--color-canopy-700);
  --cp-link-hover: var(--color-canopy-800);
  --cp-action: var(--color-canopy);
  --cp-action-hover: var(--color-canopy-700);
  --cp-on-action: var(--color-white);
  --cp-action-soft: var(--color-canopy-100);
  --cp-action-soft-text: var(--color-canopy-800);
  --cp-focus: var(--color-canopy-500);
  --cp-danger-text: var(--color-danger-text);
  --cp-danger-border: var(--color-danger-border);
  --cp-danger: var(--color-danger);
  --cp-danger-soft: var(--color-danger-bg);
  --cp-warning: var(--color-warning-fill);
  --cp-warning-soft: var(--color-warning-bg);
  --cp-info: var(--color-info-text);
  --cp-info-soft: var(--color-info-bg);
  --cp-success-text: var(--color-success-text);
  --cp-brand-gmail: #ea4335;
  --cp-brand-salesforce: #00a1e0;
  --cp-brand-hubspot: #ff7a59;
  --cp-deep: var(--color-deep);
  --cp-deep-raised: var(--color-deep-raised);
  --cp-on-deep: var(--color-white);
  --cp-on-deep-muted: var(--color-hero-lede);
  --cp-on-deep-accent: var(--color-canopy-300);
  --cp-on-deep-line: color-mix(in srgb, var(--color-white) 12%, transparent);
  --cp-scrim: color-mix(in srgb, var(--color-deep) 92%, transparent);
  --cp-selection: color-mix(in srgb, var(--color-canopy-500) 18%, transparent);
  --cp-shadow: 0 1px 2px rgb(0 32 29 / 4%), 0 24px 60px -18px rgb(0 32 29 / 32%);
  --cp-radius-md: 9px;
  --cp-radius-card: 14px;
  --cp-radius-panel: 16px;
  --cp-font-sans:
    "Manrope Variable", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue",
    arial, sans-serif;
  --cp-font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, "SF Mono", menlo, monospace;
  --cp-weight-medium: 650;
  --cp-tracking-heading: -0.028em;
  --cp-tracking-display: -0.03em;
  --speaker-me: var(--color-mist-600);
  --speaker-1: var(--color-indigo);
  --speaker-2: var(--color-lagoon-500);
  --speaker-3: var(--color-warning-fill);
  --speaker-4: var(--color-orchid);
  --speaker-5: var(--color-canopy-500);
  --page: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

* {
  box-sizing: border-box;
}

html {
  /* stylelint-disable-next-line property-no-vendor-prefix -- Safari on iPhone reads only the prefixed property */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cp-surface);
  color: var(--cp-text);
  font: 400 1.0625rem/1.6 var(--cp-font-sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: var(--cp-tracking-display);
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
}

h3 {
  font-size: 1.1875rem;
  font-weight: var(--cp-weight-medium);
  letter-spacing: var(--cp-tracking-heading);
  line-height: 1.3;
}

p {
  margin: 0;
  text-wrap: pretty;
}

::selection {
  background: var(--cp-selection);
}

a {
  color: var(--cp-link);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--cp-link-hover);
}

:focus-visible {
  outline: 2px solid var(--cp-focus);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

kbd {
  font: inherit;
}

code,
pre {
  font-family: var(--cp-font-mono);
}

p code {
  font-size: 0.9em;
}

.page {
  width: min(100% - 2 * var(--gutter), var(--page));
  margin-inline: auto;
}

.quiet {
  color: var(--cp-text-secondary);
}

.top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--cp-text);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: var(--cp-tracking-heading);
  text-decoration: none;
}

.brand:hover {
  color: var(--cp-text);
}

.brand img {
  flex: none;
}

.top-end {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.top nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.9375rem;
  font-weight: 600;
}

.foot nav a {
  color: var(--cp-text-secondary);
}

.foot nav a:hover {
  color: var(--cp-text);
}

.top nav a:not(.button) {
  color: var(--cp-text-secondary);
  text-decoration: none;
}

.top nav a:not(.button):hover {
  color: var(--cp-text);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 3rem;
  border-top: 1px solid var(--cp-border);
  font-size: 0.9375rem;
  color: var(--cp-text-secondary);
}

.foot .brand {
  font-size: 1rem;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: var(--cp-radius-md);
  background: var(--cp-action);
  color: var(--cp-on-action);
  font: inherit;
  font-weight: var(--cp-weight-medium);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button:hover {
  background: var(--cp-action-hover);
  color: var(--cp-on-action);
}

.button.quiet {
  border: 1px solid var(--cp-border-strong);
  background: var(--cp-surface);
  color: var(--cp-text);
}

.button.quiet:hover {
  background: var(--cp-surface-sunken);
  color: var(--cp-text);
}

.button.small {
  min-height: 2.25rem;
  padding-inline: 0.875rem;
  font-size: 0.875rem;
}

section {
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

.tinted {
  background: var(--cp-bg);
}

.intro {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.intro p {
  margin-top: 1rem;
  font-size: 1.1875rem;
  color: var(--cp-text-secondary);
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.kit .swatch img {
  width: 100%;
  height: 5rem;
  object-fit: contain;
}

@keyframes thumb-wave {
  50% {
    transform: scaleY(0.35);
  }
}

.loop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  counter-reset: loop;
}

.loop li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--cp-action);
  list-style: none;
}

.loop li::before {
  counter-increment: loop;
  content: counter(loop, decimal-leading-zero);
  color: var(--cp-text-muted);
  font-family: var(--cp-font-mono);
  font-size: 0.875rem;
}

.loop p {
  color: var(--cp-text-secondary);
}

.loop .eyebrow {
  color: var(--cp-link);
  font-size: 0.9375rem;
  font-weight: var(--cp-weight-medium);
}

.brain {
  background: var(--cp-deep);
  color: var(--cp-on-deep);
}

.brain .intro code {
  color: var(--cp-on-deep);
}

.faq {
  max-width: 46rem;
}

.faq .intro {
  margin-bottom: 2rem;
}

.faq details {
  border-bottom: 1px solid var(--cp-border);
}

.faq details:first-of-type {
  border-top: 1px solid var(--cp-border);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  font-weight: var(--cp-weight-medium);
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--cp-text-secondary);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "\2212";
}

.closing {
  text-align: center;
}

.closing .intro {
  margin-inline: auto;
}

.prose {
  max-width: 42rem;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.prose.wide {
  max-width: 60rem;
}

.prose h1 {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
}

.prose h2 {
  margin-top: 3rem;
  font-size: 1.5rem;
  letter-spacing: var(--cp-tracking-heading);
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 1rem;
}

.faq details p {
  padding-bottom: 1.25rem;
  color: var(--cp-text-secondary);
}

.brain .intro p {
  color: var(--cp-on-deep-muted);
}

.kit li {
  list-style: none;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-card);
  overflow: hidden;
}

.prose li + li {
  margin-top: 0.375rem;
}

.prose .dated {
  margin-top: 0.75rem;
  color: var(--cp-text-secondary);
}

.kit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.prose .kit li + li {
  margin-top: 0;
}

.kit .swatch {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  height: 8rem;
  padding: 1.5rem;
  background: var(--cp-bg);
}

.kit .label {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
}

.colors .chip {
  height: 5rem;
}

.colors .label {
  flex-direction: column;
  gap: 0.125rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cp-text-secondary);
  cursor: pointer;
  list-style: none;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle::after {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-right: 1.5px solid currentcolor;
  border-bottom: 1.5px solid currentcolor;
  transform: translateY(-0.125rem) rotate(45deg);
}

.menu-toggle:hover,
.menu[open] .menu-toggle {
  color: var(--cp-text);
}

.menu[open] .menu-toggle::after {
  transform: translateY(0.125rem) rotate(-135deg);
}

.menu-list {
  position: absolute;
  top: calc(100% - 0.5rem);
  right: 0;
  z-index: 10;
  width: min(21rem, 100%);
  margin: 0;
  padding: 0.375rem;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-card);
  background: var(--cp-surface);
  box-shadow: var(--cp-shadow);
  list-style: none;
}

.menu-link {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--cp-radius-md);
}

.menu-link:hover {
  background: var(--cp-surface-sunken);
}

.menu-name {
  color: var(--cp-text);
  font-weight: var(--cp-weight-medium);
}

.menu-line {
  color: var(--cp-text-secondary);
  font-size: 0.875rem;
  font-weight: 400;
}

.product-hero {
  padding-block: clamp(2rem, 5vw, 4rem) 0;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.product-hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.75rem, 4.8vw, 4rem);
}

.product-hero-copy .eyebrow,
.product-feature-copy .eyebrow,
.product-tools .eyebrow,
.waitlist-copy .eyebrow,
.reel-copy .eyebrow {
  color: var(--cp-link);
  margin-bottom: 1rem;
}

.product-lede {
  max-width: 35ch;
  margin: 1.5rem 0;
  font-size: 1.125rem;
  color: var(--cp-text-secondary);
}

.product-facts,
.product-caption {
  font-size: 0.875rem;
  color: var(--cp-text-muted);
}

.product-facts {
  margin-top: 1rem;
}

.product-inline-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: var(--cp-weight-medium);
}

.product-hero-visual,
.product-feature-visual {
  margin: 0;
  min-width: 0;
}

.product-hero-visual {
  overflow: hidden;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-panel);
  box-shadow: var(--cp-shadow);
  background: var(--cp-surface);
}

.product-capture-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--cp-border);
  font-size: 0.8125rem;
  color: var(--cp-text-secondary);
}

.product-hero-shot {
  display: block;
  width: 100%;
  height: auto;
}

.product-hero-visual figcaption {
  padding: 0.65rem 1.25rem;
  border-top: 1px solid var(--cp-border);
  color: var(--cp-text-muted);
  font-size: 0.8125rem;
}

.product-jump {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--cp-border);
  font-size: 0.875rem;
  font-weight: var(--cp-weight-medium);
}

.product-feature,
.product-cedar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.product-hero-grid:not(:has(> figure)),
.product-feature:not(:has(> figure)) {
  grid-template-columns: minmax(0, 1fr);
}

.product-feature-copy {
  min-width: 0;
}

.product-feature-copy h2 {
  max-width: 19ch;
}

.product-feature-copy > p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: var(--cp-text-secondary);
}

.product-feature-reverse .product-feature-visual {
  order: -1;
}

.product-feature-visual figcaption {
  font-size: 0.8125rem;
  margin-top: 1rem;
  text-align: center;
  color: var(--cp-text-muted);
}

.product-feature-shot {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-panel);
  box-shadow: var(--cp-shadow);
}

.listen-recording {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--cp-radius-panel);
  background: var(--cp-action-soft);
}

.listen-record-shot {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: auto;
  border-radius: var(--cp-radius-card);
  box-shadow: var(--cp-shadow);
}

.listen-summary-visual {
  padding: 1.5rem;
  border-radius: var(--cp-radius-panel);
  background: var(--cp-action-soft);
}

.listen-summary-shot {
  display: block;
  width: 100%;
  max-height: 30rem;
  object-fit: contain;
  height: auto;
}

.product-detail {
  margin-top: 1.5rem;
  padding-block: 1rem;
  border-top: 1px solid var(--cp-border-strong);
  border-bottom: 1px solid var(--cp-border-strong);
}

.product-detail summary {
  font-weight: var(--cp-weight-medium);
  color: var(--cp-text);
  cursor: pointer;
}

.product-detail-copy {
  margin-top: 1rem;
  color: var(--cp-text-secondary);
  font-size: 0.9375rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-gallery-frame {
  height: clamp(14rem, 25vw, 20rem);
  padding: 1.5rem 1.5rem 0;
  overflow: hidden;
  background: var(--cp-bg);
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-panel);
}

.product-gallery-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cp-radius-md);
  box-shadow: var(--cp-shadow);
}

.product-gallery h3 {
  margin-top: 1.25rem;
}

.product-gallery-copy {
  margin-top: 0.5rem;
  max-width: 48ch;
  color: var(--cp-text-secondary);
}

.product-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--cp-border);
}

.product-tools-copy {
  margin-top: 0.75rem;
}

.product-command {
  padding: 1.5rem;
  background: var(--cp-bg);
  color: var(--cp-text-secondary);
  border-radius: var(--cp-radius-card);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
}

.product-handoff {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.product-handoff-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 1rem 0;
  border-top: 2px solid var(--cp-action);
}

.product-handoff small {
  color: var(--cp-link);
  font-size: 0.8125rem;
}

.product-needs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-needs-copy {
  margin-top: 0.75rem;
  color: var(--cp-text-secondary);
}

@media (width <= 52rem) {
  .product-hero-grid,
  .product-feature,
  .product-cedar,
  .product-tools,
  .product-needs {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-feature-reverse .product-feature-visual {
    order: 0;
  }

  .product-hero-copy h1 {
    max-width: 17ch;
  }

  .product-jump {
    justify-content: start;
  }
}

@media (width <= 36rem) {
  .product-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-gallery-frame {
    height: 17rem;
    padding: 1rem 1rem 0;
  }

  .product-capture-label {
    flex-wrap: wrap;
  }
}

.waitlist {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.waitlist-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 4.4vw, 3.75rem);
}

.waitlist-lede {
  max-width: 38ch;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--cp-text-secondary);
}

.waitlist-aside {
  margin-top: 1.5rem;
  color: var(--cp-text-secondary);
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-panel);
  background: var(--cp-surface);
  box-shadow: var(--cp-shadow);
}

.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
}

.field-label {
  font-size: 0.9375rem;
  font-weight: var(--cp-weight-medium);
  color: var(--cp-text);
}

.field-optional {
  margin-left: 0.375rem;
  font-weight: 400;
  color: var(--cp-text-muted);
}

.field-input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid var(--cp-border-strong);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
  color: var(--cp-text);
  font: inherit;
}

.field-input[aria-invalid="true"] {
  border-color: var(--cp-danger-border);
}

.form-error {
  font-size: 0.875rem;
  color: var(--cp-danger-text);
}

.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-note {
  font-size: 0.875rem;
  color: var(--cp-text-muted);
}

@media (width <= 52rem) {
  .waitlist-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.reel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas:
    "copy stage"
    "more stage";
  gap: 0 clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.reel-grid-flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "stage copy"
    "stage more";
}

.reel-copy {
  grid-area: copy;
  align-self: end;
}

.reel-more {
  grid-area: more;
  align-self: start;
}

.reel-lede {
  max-width: 40ch;
  margin-top: 1.25rem;
  color: var(--cp-text-secondary);
}

.reel-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  counter-reset: reel;
}

.reel-step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.25rem 0.75rem;
  padding: 0.875rem 1rem 0.875rem 0.75rem;
  border-left: 2px solid var(--cp-border);
  border-radius: 0 var(--cp-radius-md) var(--cp-radius-md) 0;
  counter-increment: reel;
}

.reel-step::before {
  grid-row: span 2;
  content: counter(reel, decimal-leading-zero);
  color: var(--cp-text-muted);
  font-family: var(--cp-font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.reel-step:has([aria-current]) {
  border-left-color: var(--cp-action);
  background: var(--cp-surface);
}

.reel-step:has([aria-current])::before {
  color: var(--cp-link);
}

.reel-step-title {
  color: var(--cp-text);
  font-size: inherit;
  font-weight: var(--cp-weight-medium);
  letter-spacing: normal;
  line-height: inherit;
}

.reel-step-copy {
  color: var(--cp-text-secondary);
  font-size: 0.9375rem;
}

.reel-step-pick {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.reel-step-pick:focus-visible {
  outline: 2px solid var(--cp-focus);
  outline-offset: 2px;
}

.reel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.reel-stage {
  grid-area: stage;
  min-width: 0;
}

.reel {
  --spot-ease: cubic-bezier(0.45, 0, 0.25, 1);

  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-panel);
  background: var(--cp-surface);
  box-shadow: var(--cp-shadow);
  font-size: 0.875rem;
}

@media (width <= 52rem) {
  .reel-listen {
    min-height: 21.25rem;
  }
}

.reel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--cp-border);
  background: var(--cp-bg);
}

.reel-lights {
  display: flex;
  gap: 0.375rem;
}

.reel-light {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--cp-border-strong);
}

.reel-title {
  margin-right: auto;
  font-weight: var(--cp-weight-medium);
}

.reel-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  font-size: 0.75rem;
  font-weight: var(--cp-weight-medium);
}

.reel-chip-rec::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cp-action);
  content: "";
}

.reel-chip-local {
  display: none;
}

.reel-offline {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.reel-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  min-height: 17rem;
}

.reel-listen {
  display: flex;
  flex-direction: column;
}

.reel-listen > .reel-body {
  flex: 1;
  min-width: 0;
}

.reel-meeting {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-width: 0;
  padding: 1.25rem 1.25rem 1rem;
}

.reel-meeting-title {
  color: var(--cp-text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: var(--cp-tracking-heading);
  line-height: 1.2;
}

.reel-meeting-meta {
  margin-top: 0.25rem;
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

.reel-lines {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.875rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.reel-line {
  display: grid;
  grid-template-columns: 2px auto minmax(0, 1fr);
  gap: 0.25rem 0.625rem;
}

.reel-line::before {
  grid-row: span 2;
  border-radius: 999px;
  background: color-mix(in srgb, var(--who) 45%, transparent);
  content: "";
}

.reel-time {
  grid-row: span 2;
  color: var(--cp-text-muted);
  font-family: var(--cp-font-mono);
  font-size: 0.6875rem;
  line-height: 1.6;
}

.reel-who {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--cp-text);
  font-size: 0.9375rem;
  font-weight: 600;
}

.reel-ident {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.reel-label,
.reel-name {
  grid-area: 1 / 1;
}

.reel-dot {
  flex: none;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--who);
}

.reel-label {
  color: var(--cp-text-secondary);
  opacity: 0;
}

.reel-said {
  grid-column: 3;
  color: var(--cp-text);
  line-height: 1.5;
}

.reel-panel {
  grid-row: 1;
  grid-column: 2;
  display: none;
  align-content: start;
  gap: 0.625rem;
  padding: 1.25rem;
  border-left: 1px solid var(--cp-border);
  background: var(--cp-bg);
}

.reel-panel-voices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.reel-panel-title {
  margin-top: 0.25rem;
  color: var(--cp-text-muted);
  font-size: 0.6875rem;
  font-weight: var(--cp-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reel-track {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.reel-track-name {
  color: var(--cp-text-secondary);
  font-size: 0.75rem;
}

.reel-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.75rem;
}

.reel-wave-bar {
  flex: none;
  width: 4px;
  height: calc(30% + var(--i) * 6%);
  border-radius: 999px;
  background: var(--cp-action);
}

.reel-note {
  margin-top: auto;
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

.reel-browser {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-rows: auto 1fr;
  background: var(--cp-surface);
}

.reel-browser-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--cp-border);
  background: var(--cp-bg);
}

.reel-address {
  flex: 1;
  min-width: 0;
  max-width: 18rem;
  margin-inline: auto;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--cp-surface-sunken);
  color: var(--cp-text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.reel-browser-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem 4.5rem;
}

.reel-compose-title {
  margin-bottom: 0.25rem;
  font-weight: var(--cp-weight-medium);
  color: var(--cp-text);
}

.reel-compose-row {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cp-border);
  color: var(--cp-text);
}

.reel-compose-label {
  width: 3.5rem;
  color: var(--cp-text-muted);
}

.reel-compose-body {
  min-height: 4em;
  padding-top: 0.25rem;
  color: var(--cp-text);
}

.reel-caret {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: var(--cp-focus);
  vertical-align: -0.15em;
}

.reel-pill {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--cp-text);
  color: var(--cp-surface);
  font-size: 0.75rem;
  font-weight: var(--cp-weight-medium);
}

.reel-pill-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 0.875rem;
}

.reel-pill-bar {
  width: 3px;
  height: calc(40% + var(--i) * 12%);
  border-radius: 999px;
  background: var(--cp-surface);
}

.reel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 0.5rem;
  padding: 0.5rem 0.625rem;
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
}

.reel-row-name {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: var(--cp-weight-medium);
}

.reel-row-state {
  color: var(--cp-link);
  font-size: 0.75rem;
}

.reel-listen:is([data-step="room"], [data-step="local"]) .reel-panel-voices {
  display: none;
}

.reel-listen[data-step="room"] .reel-panel-tracks,
.reel-listen[data-step="local"] .reel-panel-private {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.reel-listen[data-step="local"] .reel-chip-rec {
  display: none;
}

.reel-listen[data-step="local"] .reel-chip-local {
  display: inline-flex;
}

.reel-listen[data-step="voices"] {
  --proof-at: 2.4s;
}

.reel-listen[data-step="voices"] .reel-line {
  animation: reel-in 0.6s ease-out calc(0.3s + var(--i) * 0.5s) both;
}

.reel-listen[data-step="voices"] .reel-label {
  animation: reel-out 0.8s ease-in-out calc(2.4s + var(--i) * 1s) both;
}

.reel-listen[data-step="voices"] .reel-name {
  animation: reel-type 0.8s ease-in-out calc(2.6s + var(--i) * 1s) both;
}

.reel-listen[data-step="voices"] .reel-row {
  animation: reel-in 0.6s ease-out calc(2.6s + var(--i) * 1s) both;
}

.reel-listen[data-step="room"] .reel-panel-tracks {
  animation: reel-in 0.6s ease-out 0.3s both;
}

.reel-listen[data-step="room"] .reel-wave-bar {
  animation: thumb-wave 0.9s ease-in-out calc(var(--i) * 70ms) infinite;
}

.reel-listen[data-step="local"] .reel-row {
  animation: reel-in 0.5s ease-out calc(0.3s + var(--i) * 0.5s) both;
}

.reel-listen[data-step="dictation"] .reel-word {
  animation: reel-type 0.2s linear calc(0.9s + var(--i) * 0.28s) both;
}

.reel-listen[data-step="dictation"] .reel-pill-bar {
  animation: thumb-wave 0.7s ease-in-out calc(var(--i) * 90ms) 4;
}

.reel-listen[data-step="dictation"] .reel-bar,
.reel-listen[data-step="dictation"] .reel-body {
  visibility: hidden;
}

.reel-listen[data-step="dictation"] .reel-browser {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  animation: reel-in 0.4s ease-out both;
}

.reel-listen[data-step="dictation"] .reel-pill {
  animation: reel-pop 0.3s ease-out 0.4s both;
}

.reel-listen[data-step="dictation"] .reel-caret {
  animation: caret 1s step-end infinite;
}

@keyframes reel-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.reel-projects {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}

.reel-scene {
  grid-area: 2 / 1;
  visibility: hidden;
  min-width: 0;
}

.reel-scene-chat {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.reel-room,
.reel-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.625rem;
  padding: 1.25rem;
}

.reel-plan {
  border-left: 1px solid var(--cp-border);
  background: var(--cp-bg);
}

.reel-message {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.reel-avatar {
  --d: 1.5rem;

  display: grid;
  flex: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--cp-border-strong);
  color: var(--cp-text);
  font-size: 0.6875rem;
  font-weight: var(--cp-weight-medium);
}

img.reel-avatar {
  object-fit: cover;
}

.reel-message-text {
  padding: 0.5rem 0.75rem;
  border-radius: 0 0.75rem 0.75rem;
  background: var(--cp-surface-sunken);
  color: var(--cp-text);
}

.reel-message-name {
  display: block;
  color: var(--cp-link);
  font-size: 0.75rem;
  font-weight: var(--cp-weight-medium);
}

.reel-plan-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.125rem;
  margin-bottom: 0.25rem;
}

.reel-plan-name {
  font-weight: var(--cp-weight-medium);
  color: var(--cp-text);
}

.reel-plan-by {
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

.reel-plan-todo {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
  color: var(--cp-text);
  font-size: 0.8125rem;
}

.reel-scene-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.875rem;
  padding: 1.25rem;
}

.reel-project {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}

.reel-project-name {
  font-weight: var(--cp-weight-medium);
  color: var(--cp-text);
}

.reel-project-meta {
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

.reel-milestone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.reel-milestone-name {
  font-weight: var(--cp-weight-medium);
  color: var(--cp-text);
}

.reel-milestone-count {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
  color: var(--cp-text-muted);
}

.reel-count-before,
.reel-count-after {
  grid-area: 1 / 1;
}

.reel-count-before {
  display: none;
}

.reel-milestone-track {
  grid-column: 1 / -1;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cp-surface-sunken);
}

.reel-milestone-fill {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: var(--cp-action);
  transform-origin: 0 50%;
}

.reel-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}

.reel-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.5rem;
  min-height: 9rem;
  padding: 0.625rem;
  border-radius: var(--cp-radius-md);
  background: var(--cp-bg);
}

.reel-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
  color: var(--cp-text);
  font-size: 0.75rem;
}

.reel-tile-done {
  color: var(--cp-text-muted);
  text-decoration: line-through;
}

.reel-tile-leaving {
  display: none;
}

.reel-tile-wait {
  justify-self: start;
  padding: 0 0.375rem;
  border-radius: 4px;
  background: var(--cp-surface-sunken);
  color: var(--cp-text-secondary);
  font-size: 0.6875rem;
}

.reel-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
}

.reel-card-box {
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.2rem;
  border: 1.5px solid var(--cp-border-strong);
  border-radius: 4px;
}

.reel-plan-done .reel-card-box {
  border-color: var(--cp-action);
  background: var(--cp-action);
}

.reel-plan-done .reel-plan-text {
  color: var(--cp-text-muted);
  text-decoration: line-through;
}

.reel-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.125rem;
}

.reel-card-title {
  font-weight: var(--cp-weight-medium);
  color: var(--cp-text);
}

.reel-card-meta {
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

.reel-triage-actions {
  display: flex;
  gap: 0.5rem;
}

.reel-accept,
.reel-reassign {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--cp-border-strong);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
  font-size: 0.75rem;
  font-weight: var(--cp-weight-medium);
}

.reel-projects[data-step="agents"] {
  --proof-at: 4s;
}

.reel-projects[data-step="agents"] .reel-message,
.reel-projects[data-step="agents"] .reel-plan-head,
.reel-projects[data-step="agents"] .reel-plan-todo {
  animation: reel-in 0.4s ease-out var(--t) both;
}

.reel-projects[data-step="agents"] .reel-plan-done .reel-card-box {
  animation: reel-check 0.3s ease-out var(--d) both;
}

.reel-projects[data-step="agents"] .reel-plan-done .reel-plan-text {
  animation: reel-strike 0.3s ease-out var(--d) both;
}

.reel-projects[data-step="board"] .reel-tile-leaving {
  display: block;
  animation: reel-leave 0.4s ease-in 1.2s both;
}

.reel-projects[data-step="board"] .reel-tile-arriving {
  animation: reel-in 0.4s ease-out 1.6s both;
}

.reel-projects[data-step="board"] .reel-milestone-fill {
  animation: reel-fill 0.8s ease-out 1.8s both;
}

.reel-projects[data-step="board"] .reel-count-before {
  display: block;
  animation: reel-leave 0.1s linear 1.9s both;
}

.reel-projects[data-step="board"] .reel-count-after {
  animation: reel-type 0.2s linear 2s both;
}

.reel-projects[data-step="board"] .reel-tile-wait {
  animation: reel-press-soft 1s ease-in-out 2.6s both;
}

@keyframes reel-leave {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

@keyframes reel-fill {
  from {
    transform: scaleX(0.6667);
  }
}

@keyframes reel-press-soft {
  50% {
    background: var(--cp-action-soft);
  }
}

.reel-room-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.75rem;
  padding: 1.25rem;
}

.reel-chat {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
}

.reel-chat > .reel-room-feed {
  grid-row: 1;
  grid-column: 2;
}

.reel-feed-offer {
  visibility: hidden;
}

.reel-built {
  margin-top: 0.125rem;
}

.reel-built-text {
  font-weight: var(--cp-weight-medium);
}

.reel-collab .reel-room-feed {
  gap: 0.625rem;
}

.reel-collab .reel-avatar {
  border-radius: 6px;
}

.reel-collab .reel-message-text {
  padding: 0;
  border-radius: 0;
  background: none;
}

.reel-history {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.375rem;
}

.reel-day {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--cp-text-muted);
  font-size: 0.6875rem;
  font-weight: var(--cp-weight-medium);
}

.reel-day::before,
.reel-day::after {
  flex: 1;
  height: 1px;
  background: var(--cp-border);
  content: "";
}

.reel-day-label {
  padding: 0.0625rem 0.5rem;
  border: 1px solid var(--cp-border);
  border-radius: 999px;
  background: var(--cp-surface);
}

.reel-message-plain {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.125rem;
  padding-top: 0.125rem;
}

.reel-message-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.reel-message-time {
  color: var(--cp-text-muted);
  font-size: 0.6875rem;
}

.reel-history-text {
  color: var(--cp-text-secondary);
}

.reel-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.25rem;
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--cp-border);
  background: var(--cp-bg);
  font-size: 0.8125rem;
}

.reel-side-title {
  margin-top: 0.5rem;
  color: var(--cp-text-muted);
  font-size: 0.6875rem;
  font-weight: var(--cp-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reel-side-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: var(--cp-text-secondary);
}

.reel-side-active {
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  font-weight: var(--cp-weight-medium);
}

.reel-side-unread {
  color: var(--cp-text);
  font-weight: var(--cp-weight-medium);
}

.reel-unread {
  margin-left: auto;
  padding: 0 0.375rem;
  border-radius: 999px;
  background: var(--cp-action);
  color: var(--cp-on-action);
  font-size: 0.6875rem;
}

.reel-agent-tag {
  padding: 0 0.3rem;
  border-radius: 4px;
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  font-size: 0.625rem;
}

.reel-message-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.375rem;
}

.reel-reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.reel-reaction {
  padding: 0 0.45rem;
  border: 1px solid var(--cp-border);
  border-radius: 999px;
  background: var(--cp-surface);
  font-size: 0.75rem;
}

.reel-thread {
  color: var(--cp-link);
  font-size: 0.75rem;
  font-weight: var(--cp-weight-medium);
}

.reel-instead {
  margin-top: 0.75rem;
  color: var(--cp-text-muted);
  font-size: 0.875rem;
}

.reel-agent-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.reel-agent-slot > * {
  grid-area: 1 / 1;
}

.reel-run {
  display: flex;
  align-self: start;
  align-items: center;
  gap: 0.5rem;
  visibility: hidden;
}

.reel-run-states {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  font-size: 0.75rem;
  font-weight: var(--cp-weight-medium);
}

.reel-run-state {
  grid-area: 1 / 1;
}

.reel-collab[data-step="chat"] .reel-ask,
.reel-collab[data-step="chat"] .reel-reply,
.reel-collab[data-step="suggest"] .reel-feed-main {
  visibility: hidden;
}

.reel-collab[data-step="suggest"] {
  --proof-at: 6.4s;
}

.reel-collab[data-step="suggest"] .reel-feed-offer {
  visibility: visible;
}

.reel-collab[data-step="suggest"] .reel-offer-msg,
.reel-collab[data-step="suggest"] .reel-history {
  animation: reel-in 0.6s ease-out var(--t) both;
}

.reel-collab[data-step="suggest"] .reel-history-text {
  border-radius: 3px;
  animation: reel-mark 1.2s ease-in-out 2.8s both;
}

.reel-collab[data-step="suggest"] .reel-built {
  animation: reel-pop-in 0.4s ease-out 6.9s both;
}

.reel-collab[data-step="chat"] .reel-reaction,
.reel-collab[data-step="chat"] .reel-thread {
  animation: reel-pop-in 0.3s ease-out calc(0.6s + var(--n, 0) * 0.4s) both;
}

.reel-collab[data-step="chat"] .reel-huddle {
  animation: reel-press 0.9s ease-in-out 2.2s both;
}

.reel-collab[data-step="chat"] .reel-unread {
  animation: reel-pop-in 0.3s ease-out 3s both;
}

.reel-collab[data-step="join"] {
  --proof-at: 3.3s;
}

.reel-collab[data-step="join"] .reel-ask {
  animation: reel-in 0.4s ease-out 0.3s both;
}

.reel-collab[data-step="join"] .reel-run {
  visibility: visible;
  animation: reel-in 0.3s ease-out 1.1s both;
}

.reel-collab[data-step="join"] .reel-run-working {
  animation: reel-window 3.2s linear both;
}

.reel-collab[data-step="join"] .reel-run-replied {
  animation: reel-type 0.1s linear 3.2s both;
}

.reel-collab[data-step="join"] .reel-reply {
  animation: reel-in 0.4s ease-out 3.3s both;
}

@keyframes reel-mark {
  to {
    background: color-mix(in srgb, var(--product) 16%, transparent);
  }
}

@keyframes reel-pop-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
}

.reel-brain {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}

.reel-scene-learn,
.reel-scene-approve {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.reel-pane {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.625rem;
  padding: 1.25rem;
}

.reel-pane-side {
  border-left: 1px solid var(--cp-border);
  background: var(--cp-bg);
}

.reel-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.875rem;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
}

.reel-record-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reel-record-id {
  flex: none;
  padding: 0 0.375rem;
  border-radius: 4px;
  background: var(--cp-surface-sunken);
  color: var(--cp-text-secondary);
  font-family: var(--cp-font-mono);
  font-size: 0.6875rem;
  line-height: 1.6;
}

.reel-record-title {
  font-weight: var(--cp-weight-medium);
  color: var(--cp-text);
}

.reel-record-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.125rem;
  color: var(--cp-text);
  font-size: 1.0625rem;
  font-weight: var(--cp-weight-medium);
}

.reel-value-old {
  color: var(--cp-text-muted);
  text-decoration: line-through;
}

.reel-value-new {
  color: var(--product-ink);
}

.reel-record-change {
  padding: 0.375rem 0.5rem;
  border-radius: var(--cp-radius-md);
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  font-size: 0.75rem;
}

.reel-change-id {
  font-family: var(--cp-font-mono);
  font-weight: var(--cp-weight-medium);
}

.reel-record-meta {
  color: var(--cp-text-muted);
  font-size: 0.6875rem;
}

.reel-approval-box {
  border-color: var(--cp-action);
  background: var(--cp-action);
}

.reel-swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.reel-swap-old,
.reel-swap-new {
  grid-area: 1 / 1;
}

.reel-swap-old {
  visibility: hidden;
}

.reel-scene-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
}

.reel-search {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--cp-border-strong);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
}

.reel-search-icon {
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--cp-text-muted);
  border-radius: 50%;
}

.reel-query {
  color: var(--cp-text);
  white-space: pre;
}

.reel-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.reel-result-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.375rem;
}

.reel-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
  font-size: 0.8125rem;
}

.reel-result-from {
  flex: none;
  color: var(--cp-link);
  font-size: 0.75rem;
  font-weight: var(--cp-weight-medium);
}

.reel-result-text {
  overflow: hidden;
  color: var(--cp-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reel-scene-approve,
.reel-brain[data-step="learn"] .reel-scene-learn,
.reel-brain[data-step="search"] .reel-scene-search {
  visibility: visible;
}

.reel-brain[data-step="learn"] .reel-scene-approve,
.reel-brain[data-step="search"] .reel-scene-approve {
  visibility: hidden;
}

.reel-brain[data-step="learn"] {
  --proof-at: 2.2s;
}

.reel-brain[data-step="learn"] .reel-learn-msg {
  animation: reel-in 0.4s ease-out 0.3s both;
}

.reel-brain[data-step="learn"] .reel-learn-record {
  animation: reel-in 0.4s ease-out 1.2s both;
}

.reel-brain[data-step="learn"] .reel-learn-change {
  animation: reel-pop-in 0.3s ease-out 2.2s both;
}

.reel-brain[data-step="learn"] .reel-learn-meta {
  animation: reel-in 0.4s ease-out 2.8s both;
}

.reel-brain[data-step="approve"] {
  --proof-at: 3.6s;
}

.reel-brain[data-step="approve"] .reel-approval {
  animation: reel-in 0.4s ease-out 0.4s both;
}

.reel-brain[data-step="approve"] .reel-triage-actions {
  animation: reel-in 0.4s ease-out 1.2s both;
}

.reel-brain[data-step="approve"] .reel-approve-button {
  animation: reel-press 0.6s ease-in-out 2.6s both;
}

.reel-brain[data-step="approve"] .reel-approval-box {
  animation: reel-check 0.3s ease-out 3.2s both;
}

.reel-brain[data-step="approve"] .reel-value-old {
  animation: reel-strike 0.8s ease-in-out 3.6s both;
}

.reel-brain[data-step="approve"] .reel-value-new {
  animation: reel-in 0.6s ease-out 4.2s both;
}

.reel-brain[data-step="approve"] .reel-swap-old {
  visibility: visible;
  animation: reel-leave 0.3s linear 4.2s both;
}

.reel-brain[data-step="approve"] .reel-swap-new {
  animation: reel-in 0.6s ease-out 4.3s both;
}

.reel-brain[data-step="search"] {
  --proof-at: 1.8s;
}

.reel-brain[data-step="search"] .reel-query-char {
  animation: reel-type 0.05s linear calc(0.4s + var(--i) * 0.12s) both;
}

.reel-brain[data-step="search"] .reel-caret {
  animation: caret 1s step-end infinite;
}

.reel-brain[data-step="search"] .reel-result-group {
  animation: reel-in 0.4s ease-out var(--t) both;
}

@keyframes reel-window {
  0%,
  40% {
    opacity: 0;
  }

  41%,
  97% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.reel-scene-sources {
  --row: 4rem;
  --pile-h: 25rem;

  position: relative;
  min-height: 25rem;
  overflow: hidden;
}

.reel-logo {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  fill: currentcolor;
}

.reel-logo-line {
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reel-logo-gmail {
  color: var(--cp-brand-gmail);
}

.reel-logo-salesforce {
  color: var(--cp-brand-salesforce);
}

.reel-logo-hubspot {
  color: var(--cp-brand-hubspot);
}

.reel-logo-cedar {
  color: var(--cp-action);
}

.reel-priority-head {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cp-border);
}

.reel-priority-title {
  color: var(--cp-text);
  font-size: 0.875rem;
  font-weight: var(--cp-weight-medium);
}

.reel-priority-count {
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

@property --tasks {
  syntax: "<integer>";
  inherits: false;
  initial-value: 5;
}

.reel-priority-count::after,
.tour-tasks::after {
  counter-reset: tasks var(--tasks);
  content: counter(tasks);
}

.reel-priority-meta {
  margin-left: auto;
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

.reel-drop {
  position: absolute;
  top: calc(3.75rem + var(--rank) * var(--row));
  left: 1.25rem;
  z-index: 0;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.625rem;
  width: calc(100% - 2.5rem);
  height: var(--row);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--cp-border);
  background: transparent;
  font-size: 0.8125rem;
  will-change: transform, opacity;
}

.reel-drop::before {
  position: absolute;
  inset: -0.25rem -0.75rem;
  z-index: -1;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface);
  box-shadow: var(--cp-shadow);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.reel-drop-mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
}

.reel-drop-mark > * {
  grid-area: 1 / 1;
}

.reel-drop-logo {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0;
}

.reel-check {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid var(--check-ring, var(--cp-text-muted));
  border-radius: 50%;
  background: var(--check-fill, transparent);
}

.reel-check[data-priority="1"] {
  --check-ring: var(--cp-danger);
  --check-fill: var(--cp-danger-soft);
}

.reel-check[data-priority="2"] {
  --check-ring: var(--cp-warning);
  --check-fill: var(--cp-warning-soft);
}

.reel-check[data-priority="3"] {
  --check-ring: var(--cp-info);
  --check-fill: var(--cp-info-soft);
}

.reel-drop-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
  min-width: 0;
}

.reel-drop-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.reel-drop-key {
  flex: none;
  max-width: 3.5rem;
  overflow: hidden;
  white-space: nowrap;
  color: var(--cp-text-muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.reel-drop-title {
  color: var(--cp-text);
  font-size: 0.875rem;
  line-height: 1.35;
}

.reel-drop-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

.reel-drop-due {
  color: var(--cp-text-secondary);
}

.reel-drop-due[data-urgency="today"] {
  color: var(--cp-success-text);
}

.reel-drop-source {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.reel-drop-project {
  padding-top: 0.125rem;
  color: var(--cp-text-muted);
  font-size: 0.75rem;
}

.reel-projects[data-step="sources"] {
  --proof-at: 8.3s;
}

.reel-projects[data-step="sources"] .reel-drop {
  animation:
    reel-fall 1.2s cubic-bezier(0.3, 0.7, 0.4, 1) calc(0.2s + var(--i) * 0.65s) both,
    reel-rise 1.2s cubic-bezier(0.5, 0, 0.2, 1) calc(4.5s + var(--rank) * 0.6s) forwards;
}

.reel-projects[data-step="sources"] .reel-drop::before {
  animation:
    reel-card-in 1.2s cubic-bezier(0.3, 0.7, 0.4, 1) calc(0.2s + var(--i) * 0.65s) both,
    reel-fade-out 0.9s cubic-bezier(0.5, 0, 0.2, 1) calc(4.5s + var(--rank) * 0.6s) forwards;
}

.reel-projects[data-step="sources"] .reel-drop-logo {
  opacity: 1;
  animation: reel-fade-out 0.5s linear calc(4.9s + var(--rank) * 0.6s) forwards;
}

.reel-projects[data-step="sources"] .reel-drop-key {
  animation: reel-key-in 0.5s ease-out calc(5s + var(--rank) * 0.6s) both;
}

.reel-projects[data-step="sources"] .reel-check,
.reel-projects[data-step="sources"] .reel-drop-project {
  animation: reel-type 0.4s linear calc(5.2s + var(--rank) * 0.6s) both;
}

.reel-projects[data-step="sources"] .reel-priority-head {
  animation: reel-in 0.4s ease-out 4.2s both;
}

.reel-projects[data-step="sources"] .reel-priority-count::after {
  animation: tasks-count 8.889s linear -0.789s both;
}

@keyframes tasks-count {
  0%,
  73% {
    --tasks: 0;
  }

  73.1%,
  79.8% {
    --tasks: 1;
  }

  79.9%,
  86.5% {
    --tasks: 2;
  }

  86.6%,
  93.2% {
    --tasks: 3;
  }

  93.3%,
  99.9% {
    --tasks: 4;
  }

  100% {
    --tasks: 5;
  }
}

@keyframes reel-fall {
  from {
    opacity: 0;
    transform: translate3d(0, calc(-5rem - 3.75rem - var(--rank) * var(--row)), 0) scale(0.84)
      rotate(0deg);
  }

  to {
    opacity: 1;
    transform: translate3d(
        var(--dx),
        calc(var(--pile-h) - 7rem - var(--i) * 1rem - 3.75rem - var(--rank) * var(--row)),
        0
      )
      scale(0.84) rotate(var(--r));
  }
}

@keyframes reel-rise {
  from {
    transform: translate3d(
        var(--dx),
        calc(var(--pile-h) - 7rem - var(--i) * 1rem - 3.75rem - var(--rank) * var(--row)),
        0
      )
      scale(0.84) rotate(var(--r));
  }

  to {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes reel-card-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes reel-key-in {
  from {
    opacity: 0;
    transform: translate3d(-0.35rem, 0, 0);
  }
}

@keyframes reel-fade-out {
  to {
    opacity: 0;
  }
}

.reel-scene-chat,
.reel-projects[data-step="sources"] .reel-scene-sources,
.reel-projects[data-step="board"] .reel-scene-board {
  visibility: visible;
}

.reel-projects[data-step="sources"] .reel-scene-chat,
.reel-projects[data-step="board"] .reel-scene-chat {
  visibility: hidden;
}

@keyframes reel-check {
  from {
    border-color: var(--cp-border-strong);
    background: transparent;
  }
}

@keyframes reel-strike {
  from {
    color: var(--cp-text);
    text-decoration-color: transparent;
  }
}

@keyframes reel-press {
  50% {
    border-color: var(--cp-action);
    background: var(--cp-action);
    color: var(--cp-on-action);
  }
}

@keyframes reel-pop {
  from {
    opacity: 0;
    transform: translate(-50%, 0.375rem);
  }
}

@keyframes reel-type {
  from {
    opacity: 0;
  }
}

@keyframes reel-in {
  from {
    opacity: 0;
    transform: translateY(0.375rem);
  }
}

@property --spread {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

.reel [data-proof] {
  --spread: 0.625rem;

  transition: scale 0.7s var(--spot-ease);
}

.reel :is(.reel-panel, .reel-plan, .reel-scene)[data-proof] {
  --spread: -0.5rem;
}

.reel-spot {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.7s var(--spot-ease);
}

.reel-spot::before,
.reel-spot::after {
  position: absolute;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.reel-spot::before {
  inset: 0;
  border-radius: calc(var(--cp-radius-md) + 0.5rem);
  background: color-mix(in srgb, var(--product) 12%, transparent);
  box-shadow: 0 0 1rem color-mix(in srgb, var(--product) 22%, transparent);
  content: "";
}

.reel-spot::after {
  top: 0;
  right: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--product-ink);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  translate: 0 -50%;
  content: attr(data-callout);
}

.reel-spot.is-lit::before,
.reel-spot.is-lit::after {
  opacity: 1;
}

.reel .is-proof {
  scale: 1.02;
  box-shadow: 0 0.75rem 1.75rem -1rem color-mix(in srgb, var(--product-ink) 55%, transparent);
}

.reel :is(.reel-panel, .reel-plan, .reel-scene).is-proof {
  scale: none;
  box-shadow: none;
}

.reel .is-dim {
  filter: opacity(0.5);
  transition: filter 0.35s ease;
}

@media (width <= 52rem) {
  .reel-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "stage"
      "more";
  }

  .reel-stage {
    margin-top: 2rem;
  }
}

@media (width <= 36rem) {
  .reel-listen {
    min-height: 37.5rem;
  }

  .reel-body,
  .reel-scene-chat {
    grid-template-columns: minmax(0, 1fr);
  }

  .reel-chat,
  .reel-scene-learn,
  .reel-scene-approve {
    grid-template-columns: minmax(0, 1fr);
  }

  .reel-pane-side {
    border-top: 1px solid var(--cp-border);
    border-left: 0;
  }

  .reel-scene-sources {
    --row: 5.25rem;
  }

  .reel-chat > .reel-room-feed {
    grid-column: 1;
  }

  .reel-sidebar {
    display: none;
  }

  .reel-plan {
    border-top: 1px solid var(--cp-border);
    border-left: 0;
  }

  .reel-panel {
    grid-row: 2;
    grid-column: 1;
    border-top: 1px solid var(--cp-border);
    border-left: 0;
  }
}

.tour {
  --tour-margin: clamp(4rem, 10vw, 7.5rem);

  padding-block: 0;
}

.tour-window {
  display: none;
}

.tour-pin {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  padding-top: clamp(3rem, 8vw, 5rem);
}

.tour-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 0.5rem;
}

.tour-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--product) 35%, transparent);
  border-radius: 999px;
  background: var(--cp-surface);
  color: var(--product-ink);
  font-size: 0.875rem;
  font-weight: var(--cp-weight-medium);
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.tour-tab:hover {
  border-color: var(--product);
}

.tour-tab:focus-visible {
  outline: 2px solid var(--cp-focus);
  outline-offset: 2px;
}

.tour-tab[aria-current="true"] {
  border-color: var(--product);
  background: var(--product-tint);
  box-shadow: inset 0 -2px 0 var(--product);
}

.tour-tab-icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--product);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tour-chapters .page {
  width: 100%;
}

.tour.is-touring .tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(24rem, 36%, 27rem));
  gap: 0 clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.tour.is-touring .tour-pin {
  position: sticky;
  top: var(--tour-top);
  margin-block: var(--tour-margin);
  padding-top: 0;
}

.tour.is-touring .tour-chapters {
  padding-block: var(--tour-margin);
}

.tour.is-touring .tour-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tour.is-touring .tour-tab {
  padding-inline: 0.5rem;
  font-size: 0.8125rem;
}

.tour.is-touring .tour-window {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% / var(--tour-scale));
  height: 40rem;
  margin-bottom: calc(40rem * (var(--tour-scale) - 1));
  overflow: hidden;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-panel);
  background: var(--cp-surface);
  box-shadow: var(--cp-shadow);
  font-size: 0.875rem;
  transform: scale(var(--tour-scale));
  transform-origin: 0 0;
  contain: layout style paint;
  will-change: transform;
}

.tour-top {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--cp-border);
  background: var(--cp-bg);
  color: var(--cp-text-secondary);
  font-size: 0.75rem;
  transition: opacity 0.8s ease;
}

.tour-mark {
  width: 1rem;
  height: 1rem;
}

.tour-icon {
  flex: none;
  width: 0.9375rem;
  height: 0.9375rem;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tour-apps {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.25rem 0.4375rem;
  border-radius: var(--cp-radius-md);
}

.tour-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
  padding: 0.3125rem 0.5rem;
  border-radius: var(--cp-radius-md);
  background: var(--cp-surface-sunken);
  color: var(--cp-text-muted);
}

.tour-key {
  margin-left: auto;
  font-size: 0.625rem;
}

.tour-me {
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  font-size: 0.625rem;
  font-weight: var(--cp-weight-medium);
}

.tour-body {
  display: grid;
  flex: 1;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: 9.5rem minmax(0, 1fr);
  min-height: 0;
}

.tour-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.0625rem;
  padding: 0.625rem 0.375rem;
  overflow: hidden;
  border-right: 1px solid var(--cp-border);
  background: var(--cp-bg);
  color: var(--cp-text);
  font-size: 0.75rem;
  transition: opacity 0.8s ease;
}

.tour-workspace {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem 0.5rem;
  font-size: 0.875rem;
  font-weight: var(--cp-weight-medium);
}

.tour-workspace .tour-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.tour-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.3125rem 0.5rem;
  border-radius: var(--cp-radius-md);
  white-space: nowrap;
}

.tour-row .tour-icon {
  color: var(--cp-text-secondary);
}

.tour-label {
  margin: 0.75rem 0.5rem 0.25rem;
  color: var(--cp-text-muted);
  font-family: var(--cp-font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tour-prefix {
  width: 0.9375rem;
  color: var(--cp-text-muted);
  text-align: center;
}

.tour-count {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-width: 1.125rem;
  height: 1.125rem;
  margin-left: auto;
  padding-inline: 0.3125rem;
  border-radius: 999px;
  background: var(--cp-action-hover);
  color: var(--cp-on-action);
  font-size: 0.625rem;
  font-weight: var(--cp-weight-medium);
}

.tour-unread {
  font-weight: var(--cp-weight-medium);
}

.tour-person {
  --d: 0.9375rem;

  display: grid;
  place-items: center;
  width: 0.9375rem;
  height: 0.9375rem;
  border-radius: 50%;
  background: var(--cp-surface-sunken);
  color: var(--cp-text-secondary);
  font-size: 0.5rem;
  font-weight: var(--cp-weight-medium);
}

img.tour-person,
img.tour-me {
  object-fit: cover;
}

.tour-app.is-active {
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  font-weight: var(--cp-weight-medium);
}

.tour-tasks.is-sources::after {
  animation: tasks-count 8.889s linear -0.789s both;
}

.tour-app.is-active .tour-icon,
.tour-app.is-active .tour-prefix {
  color: inherit;
}

.tour-top.is-hidden,
.tour-nav.is-hidden {
  visibility: hidden;
}

.tour-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.tour-screen > .reel {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  contain: layout style paint;
}

.tour-screen > .reel-listen {
  position: absolute;
  inset: 0;
  height: 100%;
}

.tour-screen > .reel.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.tour-screen .reel-lights {
  display: none;
}

.tour-screen .reel-listen .reel-lights {
  display: flex;
}

.tour-screen > .reel > .reel-bar {
  background: var(--cp-surface);
}

.tour-screen .reel-chat {
  grid-template-columns: minmax(0, 1fr);
}

.tour-screen .reel-chat > .reel-room-feed {
  grid-column: 1;
}

.tour-screen .reel-sidebar {
  display: none;
}

.tour-screen > .reel-projects .reel-scene-sources {
  --pile-h: 35rem;
}

.tour-screen > .reel-projects .reel-scene-chat {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.tour-screen :is(.reel-room, .reel-plan) {
  gap: 0.5rem;
  padding: 1rem;
}

.tour-top.is-dimmed,
.tour-nav.is-dimmed {
  opacity: 0.55;
}

.tour.is-offscreen :is(.reel-wave-bar, .reel-caret),
.tour.is-touring .reel:not(.is-active) :is(.reel-wave-bar, .reel-caret) {
  animation-play-state: paused;
}

.tour.is-touring .reel-section {
  display: block;
  padding-block: 0;
  scroll-margin-top: var(--tour-top);
}

.tour.is-touring .reel-section::after {
  display: block;
  height: calc(var(--steps) * var(--tour-step));
  content: "";
}

.tour.is-touring .reel-grid {
  position: sticky;
  top: var(--tour-top);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "more";
  align-content: start;
  min-height: var(--tour-height);
  contain: size layout style;
}

.tour.is-touring .reel-stage {
  display: none;
}

.tour.is-touring .reel-copy .eyebrow {
  margin-bottom: clamp(0.5rem, 1.6vh, 1rem);
}

.tour.is-touring .reel-copy h2 {
  font-size: clamp(1.5rem, min(2.6vw, 4.4vh), 2.25rem);
}

.tour.is-touring .reel-lede {
  margin-top: clamp(0.5rem, 1.4vh, 0.75rem);
  font-size: clamp(0.9375rem, 2.2vh, 1.0625rem);
}

.tour.is-touring .reel-instead {
  margin-top: clamp(0.375rem, 1.2vh, 0.75rem);
}

.tour.is-touring .reel-steps {
  margin: clamp(0.75rem, 2.4vh, 1.25rem) 0;
}

.tour.is-touring .reel-step {
  padding-block: clamp(0.375rem, 1.1vh, 0.625rem);
  transition:
    grid-template-rows 0.35s ease,
    row-gap 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.tour.is-touring .reel-step-copy {
  min-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease;
}

.tour.is-touring .reel-steps.has-current .reel-step:not(.is-current) {
  grid-template-rows: auto 0fr;
  row-gap: 0;
}

.tour.is-touring .reel-steps.has-current .reel-step:not(.is-current) .reel-step-copy {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .reel [data-proof],
  .reel-spot,
  .reel-spot::before,
  .reel-spot::after,
  .reel .is-dim,
  .tour-tab,
  .tour-top,
  .tour-nav,
  .tour.is-touring .reel-step,
  .tour.is-touring .reel-step-copy {
    transition: none;
  }
}

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

.story {
  position: relative;
  padding-block: 0;
  background: var(--cp-deep);
}

.story-stage {
  --story-ink: var(--cp-on-deep);
  --story-ink-2: var(--cp-on-deep-muted);
  --story-hair: color-mix(in srgb, var(--cp-on-deep) 18%, transparent);

  position: relative;
  height: calc(100svh - 4.75rem);
  min-height: 32rem;
  overflow: hidden;
  background: var(--cp-deep);
  color: var(--story-ink);
  contain: layout style paint;
}

.story-stage.is-day {
  --story-ink: var(--cp-text);
  --story-ink-2: var(--cp-text-secondary);
  --story-hair: color-mix(in srgb, var(--cp-deep) 16%, transparent);
}

.story-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.story-day {
  position: absolute;
  inset: 0;
  background: var(--cp-bg);
  opacity: 0;
  will-change: opacity;
}

.story-aurora {
  position: absolute;
  width: 20vmax;
  height: 20vmax;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform, opacity;
}

.story-aurora-1 {
  --glow: var(--color-lagoon-300);

  top: -4vmax;
  left: 6vmax;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  animation: story-drift-1 17s ease-in-out infinite alternate;
}

.story-aurora-2 {
  --accent-2: var(--color-canopy-300);

  right: 0;
  bottom: -10vmax;
  background: radial-gradient(closest-side, var(--accent-2), transparent 72%);
  animation: story-drift-2 23s ease-in-out infinite alternate;
}

@keyframes story-drift-1 {
  from {
    transform: scale(4);
  }

  to {
    transform: translate3d(9vmax, 6vmax, 0) scale(4.48);
  }
}

@keyframes story-drift-2 {
  from {
    transform: scale(4);
  }

  to {
    transform: translate3d(-8vmax, -7vmax, 0) scale(3.6);
  }
}

.story-sun {
  position: absolute;
  inset: auto -15% -60%;
  height: 120%;
  background: radial-gradient(
    closest-side,
    rgb(255 185 32 / 60%),
    rgb(213 82 191 / 26%) 52%,
    transparent 74%
  );
  visibility: hidden;
  opacity: 0;
  will-change: opacity;
}

.story-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("/hero/grain.png");
  background-size: 128px 128px;
}

.story-stage.is-offscreen
  :is(.story-aurora, .story-hint svg, .story-seat.is-speaking .story-face::after) {
  animation-play-state: paused;
}

.story-room {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

.story-shift {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.story-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 77% 100%;
}

.story-clip {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: fill;
  opacity: 0;
  transition: opacity 0.6s;
}

.story-clip.is-ready {
  opacity: 1;
}

.story-rings {
  position: absolute;
  pointer-events: none;
}

.story-rings-clip {
  position: absolute;
  inset: 0;
}

.story-rings-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  will-change: opacity;
}

.story-rings-pulse {
  will-change: transform, opacity;
}

.story-rings[hidden],
.story-clip[hidden] {
  display: none;
}

.story-ring {
  fill: none;
  stroke: var(--color-canopy-500);
}

.story-glow {
  fill: var(--color-canopy-300);
}

.story-mark circle {
  fill: var(--color-canopy-300);
  opacity: 0.3;
}

.story-mark path {
  fill: var(--color-canopy-300);
}

.story-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 62% 72% at 12% 22%,
    rgb(0 32 29 / 95%),
    rgb(0 32 29 / 70%) 55%,
    rgb(0 32 29 / 0%) 100%
  );
  pointer-events: none;
}

.story-stage.is-stacked .story-scrim {
  background: linear-gradient(
    to bottom,
    rgb(0 32 29 / 94%) 0,
    rgb(0 32 29 / 84%) calc(var(--head-b, 200px) - 36px),
    rgb(0 32 29 / 0%) calc(var(--head-b, 200px) + 44px)
  );
}

.story-band {
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(to bottom, rgb(0 32 29 / 0%), rgb(0 32 29 / 97%) 36%, var(--cp-deep));
  pointer-events: none;
}

.story-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.story-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  height: 100%;
  padding-block: 18px 12px;
}

.story-head {
  position: absolute;
  inset: 20px 0 auto;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(min-content, 1fr);
  gap: 14px;
  justify-items: start;
  max-width: 640px;
  will-change: transform, opacity;
}

.story-title {
  width: max-content;
  font-size: var(--h1, clamp(28px, 6.2vw, 60px));
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.story-title-line {
  display: block;
  white-space: nowrap;
}

.story-title-line + .story-title-line {
  margin-top: 0.16em;
}

.story-title-accent {
  color: var(--color-canopy-300);
}

.story-stage.is-day .story-title-accent {
  color: var(--color-canopy);
}

.story-lede {
  max-width: 25em;
  color: var(--story-ink-2);
  font-size: clamp(15px, 1.5vw, 19px);
}

.story-head .button {
  margin-top: 4px;
  background: var(--cp-on-deep-accent);
  color: var(--cp-deep);
}

.story-head .button:hover {
  background: var(--color-canopy-200);
  color: var(--cp-deep);
}

.story-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(10px, 2vh, 22px);
  min-height: 0;
}

.story-scene.is-thud {
  animation: story-thud 0.3s;
}

@keyframes story-thud {
  20% {
    transform: translate(-6px, 7px);
  }

  45% {
    transform: translate(5px, -3px);
  }

  70% {
    transform: translate(-2px, 2px);
  }
}

.story-seats {
  --accent: var(--color-indigo);

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  justify-items: center;
}

.story-seat {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  justify-items: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.story-seat small {
  display: block;
  color: var(--story-ink-2);
  font-size: 11.5px;
  font-weight: 600;
}

.story-face {
  --d: clamp(50px, 6.2vw, 86px);

  position: relative;
  display: grid;
  place-items: center;
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
}

.story-face-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.story-face::after {
  position: absolute;
  inset: -7px;
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  content: "";
}

.story-seat.is-speaking .story-face::after {
  opacity: 1;
  animation: story-halo 1.2s ease-in-out infinite;
}

@keyframes story-halo {
  50% {
    transform: scale(1.09);
    opacity: 0.5;
  }
}

.story-disc {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--d, 56px);
  height: var(--d, 56px);
  border-radius: 50%;
  background: #f4def3;
}

.story-chip {
  --d: 22px;
}

.story-bot {
  --s: calc(var(--d, 56px) * 0.74);
  --g1: #a3479e;
  --hi: #c96bc6;
  --dk: #7b2f7a;

  position: relative;
  display: block;
  flex: none;
  width: var(--s);
  height: calc(var(--s) * 0.92);
}

.story-bot::after {
  position: absolute;
  top: 13.5%;
  left: 50%;
  width: calc(var(--s) * 0.17);
  height: calc(var(--s) * 0.17);
  margin-left: calc(var(--s) * -0.085);
  border-radius: 24%;
  background: var(--hi);
  rotate: 45deg;
  content: "";
}

.story-bot-head {
  position: absolute;
  inset: 26% 0 0;
  display: block;
  background: var(--g1);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 75' preserveAspectRatio='none'><path d='M50 15 L39 4 Q35 0.5 29 1.5 C12 5 3 21 1.5 41 Q1.5 45 4 49 C12 68 32 74 50 74 C68 74 88 68 96 49 Q98.5 45 98.5 41 C97 21 88 5 71 1.5 Q65 0.5 61 4 Z'/></svg>")
    center / 100% 100% no-repeat;
}

.story-bot-head::before {
  position: absolute;
  top: 24%;
  left: 6%;
  width: 88%;
  height: 50%;
  border: calc(var(--s) * 0.026) solid transparent;
  border-top-color: var(--dk);
  border-radius: 50%;
  content: "";
}

.story-eye {
  position: absolute;
  top: 50%;
  width: 12.5%;
  aspect-ratio: 1;
  animation: story-blink 5.2s infinite paused;
}

.story-eye-l {
  left: 30%;
}

.story-eye-r {
  right: 30%;
}

.story-pupil {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 30%;
  background: var(--color-white);
  rotate: 45deg;
  transform: translate(-50%, -50%);
}

@keyframes story-blink {
  0%,
  94%,
  100% {
    transform: scaleY(1);
  }

  97% {
    transform: scaleY(0.08);
  }
}

.tour .story-eye {
  animation: none;
}

.story-stage.is-atlas-visible .story-eye,
.swap:not(.is-offscreen) .story-eye {
  animation-play-state: running;
}

.story-mid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 0;
}

.story-talk,
.story-board {
  grid-area: 1 / 1;
}

.story-talk {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 2vh, 20px);
  align-content: center;
  justify-items: start;
}

.story-giant {
  --pad: clamp(12px, 2vw, 30px);

  position: relative;
  margin-inline: calc(var(--pad) * -0.5);
  padding: calc(var(--pad) * 0.8) var(--pad) var(--pad);
  will-change: transform, opacity;
}

.story-giant-frame {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgb(255 255 255 / 26%);
  border-radius: 24px;
  background: rgb(255 255 255 / 7%);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.story-tag {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 8px;
  color: var(--story-ink-2);
  font-size: 13px;
  font-weight: 700;
}

.story-tag > * {
  display: flex;
  grid-area: 1 / 1;
  gap: 8px;
  align-items: center;
}

.story-tag-decision {
  opacity: 0;
}

.story-tag-decision i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-canopy-500);
}

.story-avatar {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.story-words {
  --accent: var(--color-canopy-300);

  display: block;
  max-width: 11.5em;
  font-size: clamp(40px, 8.2vw, 124px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.story-word {
  display: inline-block;
  white-space: pre;
}

.story-word.is-key {
  position: relative;
}

.story-word.is-key::after {
  position: absolute;
  right: 0;
  bottom: 0.04em;
  left: 0;
  height: 0.08em;
  background: var(--accent);
  transform: scaleX(var(--m, 0));
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
  content: "";
}

.story-stamp {
  position: absolute;
  right: clamp(6px, 4%, 52px);
  bottom: -20px;
  padding: 9px 18px 10px;
  border: 3px solid var(--color-canopy-300);
  border-radius: 12px;
  background: rgb(0 32 29 / 70%);
  box-shadow:
    inset 0 0 0 3px var(--cp-deep),
    inset 0 0 0 4.5px var(--color-canopy-300);
  color: var(--color-canopy-300);
  font-size: clamp(16px, 2.1vw, 28px);
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform-origin: 50% 50%;
}

.story-stamp small {
  display: block;
  margin-top: 4px;
  font-size: 0.46em;
  letter-spacing: 0.16em;
}

.story-stamp::after {
  position: absolute;
  inset: -10px;
  border: 2px solid var(--color-canopy-300);
  border-radius: 20px;
  opacity: 0;
  content: "";
}

.story-stamp.is-hit::after {
  animation: story-ink 0.55s ease-out;
}

@keyframes story-ink {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.story-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: clamp(16px, 2vw, 27px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.22;
  will-change: transform, opacity;
}

.story-line .story-avatar {
  width: 1.35em;
  height: 1.35em;
  margin-top: 0.1em;
  opacity: 0;
}

.story-line b {
  display: block;
  margin-bottom: 2px;
  color: var(--story-ink-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0;
}

.story-line-word {
  display: inline-block;
  white-space: pre;
  opacity: 0;
}

.story-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 1.8vh, 18px);
  align-self: start;
  margin-top: clamp(4px, 3vh, 34px);
  visibility: hidden;
  will-change: transform, opacity;
}

.story-deal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  perspective: 1100px;
}

.story-card,
.story-doc {
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-panel);
  background: var(--cp-surface);
  box-shadow: var(--cp-shadow);
  color: var(--cp-text);
  opacity: 0;
  contain: layout style;
  will-change: transform, opacity;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: start;
  padding: 14px 16px;
}

.story-kind {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--cp-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.story-kind i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
}

.story-kind span {
  font-family: var(--cp-font-mono);
  font-size: 11px;
  font-weight: 500;
}

.story-card h3 {
  font-size: clamp(15px, 1.5vw, 18.5px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.story-card-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 24px;
  color: var(--cp-text-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.story-ok {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 3px 10px 3px 8px;
  border-radius: 99px;
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  font-weight: 700;
}

.story-check {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-ok .story-check {
  width: 12px;
  height: 12px;
  stroke-width: 3.2;
}

.story-after,
.is-done .story-before {
  display: none;
}

.is-done .story-after {
  display: inline;
}

.story-card.is-working,
.story-card.is-done {
  border-color: var(--color-canopy-300);
}

.story-state {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border: 2px solid var(--cp-border-strong);
  border-radius: 50%;
  color: var(--color-white);
}

.story-state .story-check {
  grid-area: 1 / 1;
  width: 11px;
  height: 11px;
  stroke-width: 3.4;
  opacity: 0;
}

.story-card.is-working .story-state {
  border: 0;
  background: conic-gradient(var(--color-canopy) var(--ring, 0turn), var(--cp-border) 0);
}

.story-card.is-working .story-state::after {
  grid-area: 1 / 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-white);
  content: "";
}

.story-card.is-done .story-state {
  border: 0;
  background: var(--color-canopy);
}

.story-card.is-done .story-check {
  opacity: 1;
}

.story-doc {
  padding: 14px 18px 16px;
  contain: layout style paint;
}

.story-doc-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--cp-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.story-doc.is-done .story-after {
  color: var(--color-canopy-700);
}

.story-doc-body {
  font-size: clamp(13.5px, 1.35vw, 17px);
  font-weight: 500;
  line-height: 1.5;
}

.story-doc-body div {
  min-height: 1.5em;
}

.story-doc-body div:first-child {
  font-size: 1.1em;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.story-caret {
  position: relative;
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--color-canopy);
  vertical-align: -0.2em;
}

.story-caret::after {
  position: absolute;
  bottom: 100%;
  left: 2px;
  padding: 1px 6px;
  border-radius: 6px 6px 6px 0;
  background: var(--color-canopy);
  color: var(--color-white);
  font: 700 10.5px var(--cp-font-sans);
  letter-spacing: 0;
  white-space: nowrap;
  content: "Atlas";
}

.story-finale {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  place-content: center;
  justify-items: center;
  padding: 16px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.story-finale.is-shown {
  pointer-events: auto;
}

.story-done {
  color: var(--color-canopy);
  font-size: clamp(96px, 21vw, 330px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.86;
  will-change: transform;
}

.story-done-line {
  max-width: 26em;
  color: var(--cp-text-secondary);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
}

.story-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.story-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: 3em;
  color: var(--story-ink-2);
  font-size: clamp(14px, 1.3vw, 16.5px);
  font-weight: 500;
  line-height: 1.45;
}

.story-cap {
  grid-area: 1 / 1;
  max-width: 46em;
  opacity: 0;
  transition: opacity 0.35s;
}

.story-cap.is-on {
  opacity: 1;
}

.story-caption b {
  color: var(--story-ink);
  font-weight: 800;
}

.story-caption-icon {
  width: 1.15em;
  height: 1.15em;
  margin-right: 7px;
  fill: none;
  stroke: var(--story-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  vertical-align: -0.2em;
}

.story-rail {
  --story-ground: var(--cp-deep);

  position: relative;
  height: 46px;
}

.story-rail > svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 26px;
  overflow: visible;
}

.story-rail > svg path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.story-track {
  stroke: var(--story-hair);
}

.story-thread {
  stroke: var(--color-canopy-500);
}

.story-rail-fill {
  clip-path: inset(-8px 100% -8px 0);
}

.story-node {
  position: absolute;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border: 1.5px solid var(--story-hair);
  border-radius: 50%;
  background: var(--story-ground);
  color: var(--story-ink-2);
  transform: scale(0.72);
  transition:
    transform 0.4s cubic-bezier(0.3, 1.7, 0.5, 1),
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}

.story-node svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.story-node.is-on {
  border-color: var(--c);
  background: var(--c);
  color: var(--color-white);
  transform: none;
}

.story-node span {
  position: absolute;
  top: 30px;
  left: 50%;
  color: var(--story-ink-2);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
}

.story-node.is-on span {
  color: var(--story-ink);
}

.story-hint {
  position: absolute;
  right: 16px;
  bottom: 124px;
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--story-ink-2);
  font-size: 12px;
  font-weight: 700;
}

.story-hint svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  animation: story-nudge 1.4s ease-in-out infinite;
}

.story-hint.is-gone svg {
  animation-play-state: paused;
}

@keyframes story-nudge {
  50% {
    transform: translateY(4px);
  }
}

@media (width < 720px) {
  .story-title {
    font-size: min(32px, 8.2vw);
  }

  .story-head {
    gap: 11px;
  }

  .story-scrim {
    background: linear-gradient(
      to bottom,
      rgb(0 32 29 / 94%),
      rgb(0 32 29 / 78%) 36%,
      rgb(0 32 29 / 0%) 60%
    );
  }

  .story-seats {
    display: flex;
    gap: 26px;
    justify-content: center;
  }

  .story-seat small {
    display: none;
  }

  .story-deal {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    perspective: none;
  }

  .story-card {
    gap: 5px;
    padding: 10px 12px;
    border-radius: var(--cp-radius-card);
  }

  .story-doc {
    padding: 10px 12px 12px;
    border-radius: var(--cp-radius-card);
  }

  .story-stamp {
    bottom: -26px;
  }
}

.story-stage.is-stacked .story-lede,
.story-stage.is-stacked .story-hint {
  display: none;
}

.story:not([data-mode])
  :is(.story-sky, .story-fx, .story-scene, .story-foot, .story-finale, .story-hint) {
  display: none;
}

.story[data-mode="story"] {
  height: 660vh;
}

.story[data-mode="story"] .story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
}

.story[data-mode="still"] {
  background: var(--cp-bg);
}

.story[data-mode="still"] .story-stage {
  height: auto;
  min-height: 0;
  background: var(--cp-bg);
}

.story[data-mode="still"] .story-in {
  display: block;
}

.story[data-mode="still"] .story-head {
  position: static;
  margin-bottom: 32px;
}

.story[data-mode="still"] .story-scene {
  margin-bottom: 24px;
}

.story[data-mode="still"] .story-board {
  visibility: visible;
}

.story[data-mode="still"]
  :is(
    .story-fx,
    .story-sky,
    .story-finale,
    .story-talk,
    .story-room,
    .story-scrim,
    .story-band,
    .story-hint
  ) {
  display: none;
}

.story[data-mode="still"] :is(.story-eye, .story-hint svg) {
  animation: none;
}

[data-product="listen"] {
  --product: var(--cp-danger);
  --product-ink: var(--color-danger-strong);
  --product-tint: var(--cp-danger-soft);
}

[data-product="projects"] {
  --product: var(--color-orchid);
  --product-ink: #9a2f88;
  --product-tint: #fbeaf8;
}

[data-product="collab"] {
  --product: var(--color-indigo);
  --product-ink: #1f4fa8;
  --product-tint: #e7efff;
}

[data-product="brain"] {
  --product: var(--color-canopy-500);
  --product-ink: var(--color-canopy-700);
  --product-tint: #e1f6ef;
}

.swap-icon,
.memory-icon {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.swap-badge,
.memory-badge {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgb(255 255 255 / 20%);
  color: var(--color-white);
  font-size: 21px;
  transition: background 0.5s;
}

.swap-box,
.memory-box {
  flex: none;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--cp-border-strong);
  border-radius: 5px;
}

.swap-box.is-done,
.memory-box.is-done {
  border-color: var(--product);
  background: var(--product);
}

.swap-scene mark,
.memory-in mark,
.memory-items mark {
  padding: 1px 3px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--product) 24%, transparent);
  color: var(--cp-text);
  font-weight: 700;
}

@keyframes swap-bump {
  0% {
    translate: 0 0;
  }

  30% {
    translate: 0 9px;
  }

  100% {
    translate: 0 0;
  }
}

.swap {
  position: relative;
  background: var(--cp-surface);
}

.swap-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.swap-stage {
  position: relative;
}

.swap-heads {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.swap-heads > * {
  grid-area: 1 / 1;
}

.swap-before,
.swap-title {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.swap-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  justify-items: center;
}

.swap-title em {
  color: var(--cp-action);
  font-style: normal;
}

.swap-sub {
  max-width: 34em;
  color: var(--cp-text-secondary);
}

.swap-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.swap-card {
  border-radius: 22px;
  perspective: 1100px;
  contain: layout style;
}

.swap-tilt {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

.swap-card.is-live .swap-tilt {
  transition: transform 0.08s linear;
  will-change: transform;
}

.swap-turn {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.3, 1.2, 0.4, 1);
}

.swap-card.is-flipped .swap-turn {
  transform: rotateY(180deg);
}

.swap-face {
  position: relative;
  gap: 10px;
  padding: 20px;
  overflow: hidden;
  border-radius: 22px;
}

.swap-front {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(165deg, #e8f0ee 0%, #d2dedb 100%);
  box-shadow: 0 24px 50px -26px var(--product-ink);
  color: var(--color-white);
  transition: color 0.25s;
}

.swap-front::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--product) 0%, var(--product-ink) 100%);
  transition: opacity 0.5s;
  content: "";
}

.swap-glare {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / 34%), transparent 23%);
  transform: translate3d(-10%, -25%, 0);
  pointer-events: none;
  transition: opacity 0.5s;
}

.swap-card.is-live .swap-glare {
  will-change: transform;
}

.swap-front > :is(.swap-badge, .swap-name, h3, .swap-left) {
  position: relative;
  z-index: 1;
}

.swap-name {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.swap-front h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.swap-left {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 7px;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0.92;
  transition: opacity 0.5s 0.15s;
}

.swap-left s {
  text-decoration-thickness: 1.5px;
}

.swap-scene {
  position: relative;
  display: grid;
  flex: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-content: start;
  align-self: stretch;
  min-width: 0;
  margin: auto -54px -46px 0;
  padding: 12px 14px;
  border: 1px solid var(--cp-border);
  border-radius: 14px;
  background: var(--cp-surface);
  box-shadow: 0 14px 34px -20px rgb(0 32 29 / 40%);
  color: var(--cp-text);
  font-size: 12px;
  line-height: 1.4;
  rotate: -4deg;
  transform: translateZ(30px);
  transition:
    opacity 0.5s,
    filter 0.5s;
}

.swap-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cp-border);
  color: var(--cp-text-muted);
  font-family: var(--cp-font-mono);
  font-size: 10.5px;
}

.swap-rec {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5484d;
}

.swap-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
  margin-left: auto;
}

.swap-wave i {
  width: 2px;
  height: 100%;
  border-radius: 1px;
  background: var(--product);
  transform: scaleY(calc(var(--h) / 100));
  animation: swap-wave 1.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.17s);
}

@keyframes swap-wave {
  to {
    transform: scaleY(calc(var(--h) / 260));
  }
}

.swap-line {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.swap-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.swap-line > .swap-avatar {
  width: 28px;
  height: 28px;
}

.swap-line > .story-disc {
  --d: 28px;
}

.swap-line b {
  display: block;
  font-size: 12px;
}

.swap-said {
  color: var(--cp-text-secondary);
}

.swap-task {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto 22px;
  gap: 9px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--cp-border);
}

.swap-task:last-child {
  border-bottom: 0;
}

.swap-task em {
  color: var(--cp-text-muted);
  font-family: var(--cp-font-mono);
  font-size: 10.5px;
  font-style: normal;
}

.swap-task > .swap-avatar {
  width: 22px;
  height: 22px;
}

.swap-doc {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 5px;
  padding: 4px 8px;
  border: 1px solid var(--cp-border);
  border-radius: 8px;
  color: var(--cp-text);
  font-size: 11.5px;
  font-weight: 700;
}

.swap-doc .swap-icon {
  color: var(--product);
}

.swap-decision {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.swap-decision small {
  color: var(--product);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swap-decided {
  font-size: 15px;
  font-weight: 700;
}

.swap-by {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cp-text-muted);
  font-size: 11.5px;
}

.swap-by > .swap-avatar {
  width: 20px;
  height: 20px;
}

.swap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swap-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--product) 12%, var(--cp-surface));
  color: var(--cp-text-secondary);
  font-size: 11px;
  font-weight: 700;
}

.swap-graph {
  width: 100%;
  height: 58px;
}

.swap-graph line {
  stroke: var(--cp-border-strong);
  stroke-width: 1.2;
}

.swap-graph circle {
  fill: color-mix(in srgb, var(--product) 35%, var(--cp-surface));
}

.swap-graph .swap-hub {
  fill: var(--product);
}

.swap-back {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  border: 1.5px solid color-mix(in srgb, var(--product) 40%, transparent);
  background: var(--product-tint);
}

.swap-label {
  color: var(--product-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swap-gone {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swap-was {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swap-gone s {
  color: var(--cp-text-secondary);
  font-size: clamp(20px, 2.05vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-decoration-color: var(--product);
  text-decoration-thickness: 3px;
}

.swap-text {
  color: var(--cp-text-secondary);
  font-size: 14px;
}

.swap-more,
.swap-more:hover {
  color: var(--product-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.swap-more::after {
  content: " \2192";
}

.swap-logo {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
}

.swap-logo-img {
  border-radius: 6px;
  object-fit: cover;
}

.swap-gone .swap-logo {
  width: 26px;
  height: 26px;
}

.swap-flip {
  position: absolute;
  top: 12px;
  right: 8px;
  z-index: 1;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--color-white);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
  cursor: pointer;
  transform: translateZ(2px);
  transition:
    opacity 0.5s,
    color 0.3s;
}

.swap-flip:focus-visible {
  opacity: 1;
}

.swap-card.is-flipped .swap-flip {
  color: var(--product-ink);
}

.swap-tiles {
  margin: 0;
  padding: 0;
  list-style: none;
}

.swap-tile {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--cp-border-strong);
  border-radius: 14px;
  background: var(--cp-surface);
  box-shadow: 0 12px 26px -16px rgb(0 32 29 / 45%);
  white-space: nowrap;
  will-change: transform, opacity;
}

.swap-tile-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.swap-tile b {
  font-size: 16px;
  font-weight: 800;
}

.swap-tile small {
  color: var(--cp-text-muted);
  font-size: 11.5px;
  font-weight: 600;
}

.swap:not([data-mode]) .swap-front {
  border-radius: 22px 22px 0 0;
}

.swap:not([data-mode]) .swap-back {
  border-radius: 0 0 22px 22px;
}

.swap:not([data-mode]) .swap-flip {
  display: none;
}

.swap:not([data-mode="story"]) :is(.swap-before, .swap-tiles) {
  display: none;
}

.swap[data-mode] .swap-card {
  height: min(400px, 50svh);
  cursor: pointer;
}

.swap[data-mode] .swap-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.swap[data-mode] .swap-back {
  transform: rotateY(180deg);
}

.swap[data-mode="story"] {
  height: 250vh;
  padding-block: 0;
}

.swap[data-mode="story"] .swap-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.swap[data-mode="story"] .swap-heads {
  position: absolute;
  top: 6%;
  right: 0;
  left: 0;
  margin-bottom: 0;
}

.swap[data-mode="story"] .swap-cards {
  position: absolute;
  top: 45%;
  right: 0;
  left: 0;
  will-change: transform;
}

.swap[data-mode="story"] .swap-before,
.swap[data-mode="story"] .swap-after {
  will-change: transform, opacity;
}

.swap[data-mode="story"] .swap-card.is-lit {
  animation: swap-bump 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.swap[data-mode="story"] .swap-card:not(.is-lit, .is-flipped) .swap-flip {
  color: var(--cp-text-muted);
}

.swap[data-mode="story"] .swap-card:not(.is-lit) .swap-front {
  box-shadow: none;
  color: var(--cp-text-muted);
}

.swap[data-mode="story"] .swap-card:not(.is-lit) .swap-front::before,
.swap[data-mode="story"] .swap-card:not(.is-lit) .swap-glare,
.swap[data-mode="story"] .swap-card:not(.is-lit) .swap-left,
.swap[data-mode="story"] .swap-card:not(.is-lit) .swap-flip:not(:focus-visible) {
  opacity: 0;
}

.swap[data-mode="story"] .swap-card:not(.is-lit) .swap-badge {
  background: var(--cp-border-strong);
}

.swap[data-mode="story"] .swap-scene {
  will-change: filter, opacity;
}

.swap[data-mode="story"] .swap-card:not(.is-lit) .swap-scene {
  opacity: 0.5;
  filter: grayscale(1);
}

.swap[data-mode="still"] .swap-turn {
  transition: none;
}

.memory {
  background: var(--cp-deep);
  color: var(--cp-on-deep);
}

.memory .intro p {
  color: var(--cp-on-deep-muted);
}

.memory-stage {
  --row-gap: 20px;
  --core-at: 0.5;

  position: relative;
  display: grid;
  grid-template-rows: auto var(--row-gap) auto;
  grid-template-columns: minmax(0, 29fr) minmax(0, 42fr) minmax(0, 29fr);
  max-width: 1080px;
  margin-inline: auto;
  padding: 8px 8px 28px;
  overflow: hidden;
}

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

.memory-core {
  position: relative;
  grid-area: 2 / 2;
  place-self: start center;
  width: 0;
  height: 0;
  margin-top: calc(var(--row-gap) * var(--core-at));
  pointer-events: none;
}

.memory-core b {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  color: var(--cp-on-deep-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  translate: -50% 0;
}

.memory-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px 12px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(165deg, var(--product) 0%, var(--product-ink) 100%);
  box-shadow: 0 20px 44px -22px var(--product);
  color: var(--color-white);
  text-align: left;
  cursor: pointer;
  contain: layout style;
  transition:
    opacity 0.6s,
    filter 0.6s;
}

.memory-card[data-product="listen"] {
  grid-area: 1 / 1;
}

.memory-card[data-product="projects"] {
  grid-area: 1 / 3;
}

.memory-card[data-product="collab"] {
  grid-area: 3 / 1;
}

.memory-card[data-product="brain"] {
  grid-area: 3 / 3;
}

.memory-card::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgb(255 255 255 / 30%), transparent 52%);
  pointer-events: none;
  content: "";
}

.memory-card[data-state="source"] {
  box-shadow:
    0 0 0 3px rgb(255 255 255 / 88%),
    0 20px 44px -18px var(--product);
}

.memory-card[data-state="idle"] {
  box-shadow: none;
  opacity: 0.4;
  filter: saturate(0.35);
}

.memory[data-mode="story"] .memory-card:is([data-state="typing"], [data-state="reached"]) {
  animation: swap-bump 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.memory-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.memory-head strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.memory-window {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-content: start;
  min-height: 0;
  padding: 12px 14px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--cp-surface);
  box-shadow: 0 10px 26px -18px rgb(0 32 29 / 60%);
  color: var(--cp-text);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.memory-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--cp-border);
  color: var(--cp-text-muted);
  font-family: var(--cp-font-mono);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.memory-rec {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--product);
}

.memory-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
  margin-left: auto;
}

.memory-wave i {
  width: 3px;
  height: 100%;
  border-radius: 1.5px;
  background: var(--product);
  transform: scaleY(calc(var(--h) / 100));
}

.swap.is-offscreen .swap-wave i {
  animation-play-state: paused;
}

.memory[data-mode="story"] .memory-wave i {
  animation: swap-wave 1.4s ease-in-out infinite alternate paused;
  animation-delay: calc(var(--i) * -0.17s);
}

.memory[data-mode="story"]:not(.is-offscreen) .memory-card[data-state="source"] .memory-wave i {
  animation-play-state: running;
}

.memory-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 5px;
}

.memory-tick {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: var(--color-white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.memory-skel {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}

.memory-lines {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  min-width: 0;
}

.memory-bone {
  display: block;
  width: var(--w, 62%);
  height: 10px;
  border-radius: 5px;
  background: var(--cp-border);
}

.memory-blob {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cp-border);
}

.memory-skel .memory-box {
  border-color: var(--cp-border);
}

.memory-card[data-product="projects"] :is(.memory-skel, .memory-live) {
  padding-top: 12px;
  border-top: 1px solid var(--cp-border);
}

.memory-card[data-product="projects"] .memory-bar + .memory-skel {
  padding-top: 0;
  border-top: 0;
}

.memory-card[data-product="collab"] .memory-bone {
  height: 28px;
  border-radius: 4px 14px 14px;
}

.memory-card[data-product="collab"] .memory-bone.is-tall {
  height: 40px;
}

.memory-live {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.memory-live > * {
  grid-area: 1 / 1;
}

.memory-ghost {
  visibility: hidden;
}

.memory-slot {
  display: block;
}

.memory-typing {
  display: none;
  align-items: center;
  align-self: start;
  gap: 5px;
  width: max-content;
  margin-left: 38px;
  padding: 11px 13px;
  border-radius: 4px 14px 14px;
  background: var(--product-tint);
}

.memory-card[data-state="typing"] .memory-typing {
  display: flex;
}

.memory-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--product-ink);
  opacity: 0.35;
}

.memory[data-mode="story"] .memory-pip {
  animation: memory-typing 1.2s ease-in-out infinite;
}

.memory[data-mode="story"].is-offscreen .memory-pip {
  animation-play-state: paused;
}

.memory[data-mode="story"] .memory-pip:nth-child(2) {
  animation-delay: 0.2s;
}

.memory[data-mode="story"] .memory-pip:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes memory-typing {
  50% {
    opacity: 1;
  }
}

.memory-in {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.memory[data-mode="story"] .memory-in {
  animation: memory-arrive 0.4s ease-out both;
}

@keyframes memory-arrive {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

.memory-words {
  min-width: 0;
}

.memory-card[data-product="collab"] .memory-in {
  align-items: start;
}

.memory-card[data-product="collab"] .memory-words {
  padding: 7px 12px;
  border-radius: 4px 14px 14px;
  background: var(--product-tint);
}

.memory-card[data-product="brain"] .memory-in {
  padding: 6px 0 6px 12px;
  border-left: 3px solid var(--product);
}

.memory-mind {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.memory-graph {
  display: block;
  width: 64px;
  height: 56px;
}

.memory-graph line {
  stroke: var(--cp-border-strong);
  stroke-width: 1.2;
}

.memory-node {
  fill: color-mix(in srgb, var(--product) 22%, var(--cp-surface));
  transition: fill 0.8s;
}

.memory-node.is-lit,
.memory-hub {
  fill: var(--product);
}

.memory-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.memory-note {
  padding: 7px 0 7px 12px;
  border-left: 3px solid var(--cp-border-strong);
}

@media (width >= 720px) {
  .memory-card[data-product="collab"] .memory-skel + .memory-skel,
  .memory-note + .memory-note {
    display: none;
  }
}

.memory[data-mode="story"] .memory-in .memory-box.is-done {
  animation: memory-fill 0.35s ease-out both;
}

.memory[data-mode="story"] .memory-in .memory-tick path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: memory-tick 0.45s 0.3s ease-out forwards;
}

@keyframes memory-fill {
  from {
    border-color: var(--cp-border-strong);
    background: transparent;
  }
}

@keyframes memory-tick {
  to {
    stroke-dashoffset: 0;
  }
}

.memory-avatar {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.memory-in > .memory-icon {
  color: var(--product-ink);
  font-size: 19px;
}

.memory-hash {
  color: var(--product-ink);
  font-family: var(--cp-font-mono);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
}

.memory-in mark {
  padding: 0 2px;
}

.memory-pick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1000px;
  margin-inline: auto;
}

.memory-pick button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--cp-on-deep-line);
  border-radius: 999px;
  background: var(--cp-deep-raised);
  color: var(--cp-on-deep-muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background 0.25s,
    color 0.25s;
}

.memory-pick .memory-icon {
  color: var(--product);
  font-size: 16px;
}

.memory-pick button[aria-pressed="true"] {
  border-color: var(--product);
  background: color-mix(in srgb, var(--product) 26%, var(--cp-deep-raised));
  color: var(--cp-on-deep);
}

.memory-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  max-width: 1000px;
  margin: 18px auto 22px;
  padding-inline: 16px;
  color: var(--cp-on-deep);
  font-size: 1.1875rem;
  font-weight: var(--cp-weight-medium);
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

.memory-caption > * {
  grid-area: 1 / 1;
}

.memory-moments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.memory-moment {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--cp-border);
  border-top: 3px solid var(--product);
  border-radius: var(--cp-radius-card);
  background: var(--cp-surface);
  color: var(--cp-text);
}

.memory-moment h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.memory-moment h3 .memory-icon {
  color: var(--product);
}

.memory-say {
  color: var(--cp-text-secondary);
}

.memory-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  list-style: none;
}

.memory-items b {
  color: var(--product-ink);
}

.memory:not([data-mode]) :is(.memory-stage, .memory-caption) {
  display: none;
}

.memory[data-mode] .memory-moments {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.memory[data-mode="still"] :is(.memory-card, .memory-node, .memory-pick button) {
  transition: none;
}

@media (width < 720px) {
  .swap-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .swap[data-mode] .swap-card {
    height: clamp(150px, 27svh, 230px);
  }

  .swap[data-mode="story"] .swap-cards {
    top: 41%;
  }

  .swap-face {
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
  }

  .swap:not([data-mode]) .swap-front {
    border-radius: 18px 18px 0 0;
  }

  .swap:not([data-mode]) .swap-back {
    border-radius: 0 0 18px 18px;
  }

  .swap-scene {
    display: none;
  }

  .swap[data-mode] .swap-text {
    display: none;
  }

  .swap-front h3 {
    font-size: 15px;
  }

  .swap-name {
    font-size: 10.5px;
  }

  .swap-badge,
  .memory-badge {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .swap-left {
    font-size: 11px;
  }

  .swap-was {
    gap: 7px;
  }

  .swap-gone .swap-logo {
    width: 18px;
    height: 18px;
  }

  .swap-tile {
    gap: 6px;
    padding: 5px 9px;
    border-radius: 11px;
  }

  .swap-tile b {
    font-size: 12.5px;
  }

  .swap-tile small {
    font-size: 9.5px;
  }

  .swap-tile .swap-logo {
    width: 18px;
    height: 18px;
  }

  .memory-stage {
    --row-gap: 196px;
    --core-at: 0.42;

    grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr);
    padding: 4px 4px 24px;
  }

  .memory-card {
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
  }

  .memory-head {
    gap: 8px;
  }

  .memory-head strong {
    font-size: 14px;
  }

  .memory-window {
    gap: 7px;
    padding: 8px;
    border-radius: 11px;
    font-size: clamp(13.5px, 3.7vw, 0.9375rem);
    line-height: 1.35;
  }

  .memory-bar {
    gap: 5px;
    padding-bottom: 5px;
    font-size: 10.5px;
  }

  .memory-rec {
    width: 8px;
    height: 8px;
  }

  .memory-wave {
    height: 14px;
  }

  .memory-wave i {
    width: 2px;
  }

  .memory-skel {
    gap: 6px;
  }

  .memory-lines {
    gap: 4px;
  }

  .memory-bone {
    height: 6px;
  }

  .memory-blob {
    width: 16px;
    height: 16px;
  }

  .memory-time,
  .memory-wave i:nth-child(n + 8) {
    display: none;
  }

  .memory-box {
    width: 15px;
    height: 15px;
    border-radius: 5px;
  }

  .memory-tick {
    width: 11px;
    height: 11px;
  }

  .memory-card[data-product="projects"] :is(.memory-skel, .memory-live) {
    padding-top: 7px;
  }

  .memory-card[data-product="collab"] .memory-bone {
    height: 16px;
    border-radius: 4px 9px 9px;
  }

  .memory-card[data-product="collab"] .memory-bone.is-tall {
    height: 22px;
  }

  .memory-typing {
    gap: 4px;
    margin-left: 26px;
    padding: 7px 9px;
    border-radius: 4px 12px 12px;
  }

  .memory-pip {
    width: 6px;
    height: 6px;
  }

  .memory-in {
    gap: 6px;
  }

  .memory-avatar {
    width: 20px;
    height: 20px;
  }

  .memory-in > .memory-icon {
    font-size: 16px;
  }

  .memory-hash {
    font-size: 15px;
  }

  .memory-card[data-product="collab"] .memory-words {
    padding: 5px 8px;
    border-radius: 4px 12px 12px;
  }

  .memory-card[data-product="brain"] .memory-in {
    padding: 4px 0 4px 7px;
  }

  .memory-mind {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
  }

  .memory-graph {
    width: 40px;
    height: 35px;
  }

  .memory-notes {
    gap: 6px;
  }

  .memory-note {
    padding: 4px 0 4px 7px;
  }

  .memory-caption {
    margin: 16px auto 18px;
    padding-inline: 0;
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swap-wave i,
  .swap .story-eye,
  .swap-card {
    animation: none;
  }

  .swap-turn {
    transition: none;
  }
}

.pricing-link {
  color: var(--cp-text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.pricing-link:hover {
  color: var(--cp-text);
}

.pricing-menu {
  display: none;
}

@media (width < 30rem) {
  .pricing-link {
    display: none;
  }

  .pricing-menu {
    display: block;
  }
}

.pricing-hero,
.pricing-plans {
  background: var(--cp-bg);
}

.pricing-hero {
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.pricing-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  justify-items: center;
}

.pricing-lede {
  max-width: 30em;
  color: var(--cp-text-secondary);
  font-size: clamp(1.1875rem, 2.4vw, 1.5rem);
  line-height: 1.4;
}

.pricing-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pricing-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: var(--product-tint);
  color: var(--product-ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.pricing-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem 1.5rem;
  max-width: 46rem;
  margin-top: 0.75rem;
  padding: 0.875rem 0.875rem 0.875rem 1.375rem;
  border: 1px solid color-mix(in srgb, var(--cp-action) 28%, transparent);
  border-radius: var(--cp-radius-panel);
  background: var(--cp-action-soft);
  color: var(--cp-action-soft-text);
  text-align: left;
}

.pricing-notice > p:first-child {
  flex: 1 1 18rem;
  min-width: 0;
}

.pricing-plans {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(4rem, 10vw, 6.5rem);
}

.pricing-plans-head {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.pricing-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border: 1px solid var(--cp-border);
  border-radius: 999px;
  background: var(--cp-surface-sunken);
}

.pricing-switch::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--cp-surface);
  box-shadow:
    0 1px 2px rgb(0 32 29 / 10%),
    0 6px 14px -8px rgb(0 32 29 / 35%);
  transition: translate 0.4s cubic-bezier(0.3, 0.7, 0.2, 1);
  content: "";
}

.pricing[data-period="monthly"] .pricing-switch::before {
  translate: 100% 0;
}

.pricing-period {
  position: relative;
  min-height: 2.5rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--cp-text-secondary);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: var(--cp-weight-medium);
  white-space: nowrap;
  cursor: pointer;
}

.pricing-period[aria-pressed="true"] {
  color: var(--cp-text);
}

.pricing:not([data-mode]) .pricing-switch {
  display: none;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card {
  position: relative;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 12px;
  padding: 26px 22px 28px;
  border: 1px solid var(--cp-border);
  border-radius: 22px;
  background: var(--cp-surface);
  box-shadow: 0 1px 2px rgb(0 32 29 / 4%);
}

.pricing-pick {
  border-color: transparent;
  background: linear-gradient(165deg, var(--cp-deep-raised) 0%, var(--cp-deep) 100%);
  box-shadow: 0 30px 60px -32px var(--cp-deep);
  color: var(--cp-on-deep);
}

.pricing-tag {
  position: absolute;
  top: 0;
  left: 20px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--cp-on-deep-accent);
  color: var(--cp-deep);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  translate: 0 -50%;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-for {
  color: var(--cp-text-secondary);
  font-size: 0.9375rem;
}

.pricing-prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: start;
  padding-top: 18px;
  border-top: 1px solid var(--cp-border);
}

.pricing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.pricing-figure {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-unit {
  max-width: 11em;
  color: var(--cp-text-secondary);
  font-size: 0.875rem;
  line-height: 1.35;
}

.pricing-price[data-period="monthly"] .pricing-figure {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.pricing[data-mode] .pricing-price[data-period="monthly"] .pricing-figure {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
}

.pricing[data-period="yearly"] .pricing-price[data-period="monthly"],
.pricing[data-period="monthly"] .pricing-price[data-period="yearly"] {
  display: none;
}

.pricing-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 6px;
}

.pricing-plus {
  padding-top: 18px;
  border-top: 1px solid var(--cp-border);
  color: var(--cp-link);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-content: start;
  margin: 0;
  padding: 0 0 0 26px;
  font-size: 0.9375rem;
  line-height: 1.45;
  list-style: none;
}

.pricing-list li::before {
  float: left;
  width: 11px;
  height: 6px;
  margin: 0.42em 0 0 -23px;
  border-bottom: 2px solid var(--cp-action);
  border-left: 2px solid var(--cp-action);
  rotate: -45deg;
  content: "";
}

.pricing-pick :is(.pricing-for, .pricing-unit) {
  color: var(--cp-on-deep-muted);
}

.pricing-pick :is(.pricing-prices, .pricing-plus) {
  border-color: var(--cp-on-deep-line);
}

.pricing-pick .pricing-plus {
  color: var(--cp-on-deep-accent);
}

.pricing-pick .pricing-list li::before {
  border-color: var(--cp-on-deep-accent);
}

.pricing-pick .pricing-jump,
.pricing-pick .pricing-jump:hover {
  color: var(--cp-on-deep-accent);
}

.pricing-agents {
  background: var(--cp-deep);
  color: var(--cp-on-deep);
}

.pricing-agents .intro p {
  color: var(--cp-on-deep-muted);
}

.pricing-agents .intro .pricing-free {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cp-on-deep-accent) 16%, transparent);
  color: var(--cp-on-deep-accent);
  font-size: 0.9375rem;
  font-weight: 700;
}

.pricing-pools {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--cp-on-deep-line);
  list-style: none;
}

.pricing-pool {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr) minmax(0, 24rem);
  gap: 14px 32px;
  align-items: center;
  padding-block: 22px;
  border-bottom: 1px solid var(--cp-on-deep-line);
}

.pricing-pool h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.pricing-meter {
  display: block;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-white) 8%, transparent);
}

.pricing-fill {
  display: block;
  width: calc(var(--credits) / 10000 * 100%);
  min-width: 8px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-canopy-500), var(--cp-on-deep-accent));
}

.pricing-pool-custom .pricing-fill {
  width: 100%;
  background: linear-gradient(90deg, var(--cp-on-deep-accent), transparent);
}

.pricing-pool dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.pricing-pool dt {
  color: var(--cp-on-deep-muted);
  font-size: 0.8125rem;
}

.pricing-pool dd {
  margin: 0;
  font-weight: 700;
}

.pricing-models {
  margin-top: 28px;
  color: var(--cp-on-deep-muted);
}

.pricing-models b {
  color: var(--cp-on-deep);
}

.pricing-later {
  margin-top: 6px;
  color: var(--cp-on-deep-muted);
  font-size: 0.9375rem;
}

.pricing-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.pricing-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.pricing-group {
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  grid-row: span 4;
  padding: 18px 18px 8px;
  border: 1.5px solid color-mix(in srgb, var(--product) 35%, transparent);
  border-radius: 20px;
  background: var(--product-tint);
}

.pricing-group h3 {
  margin-bottom: 4px;
  color: var(--product-ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-group:nth-child(n + 3) {
  margin-top: 14px;
}

.pricing-tools {
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  grid-row: span 3;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-tool {
  display: grid;
  grid-template-areas:
    "logo name cost"
    ". note note"
    ". source source";
  grid-template-columns: 26px minmax(0, 1fr) minmax(0, max-content);
  gap: 2px 10px;
  align-content: start;
  align-items: center;
  padding-block: 12px;
  border-top: 1px solid color-mix(in srgb, var(--product) 22%, transparent);
}

.pricing-tool:first-child {
  border-top: 0;
}

.pricing-tool > .swap-logo {
  grid-area: logo;
  width: 26px;
  height: 26px;
}

.pricing-tool-name {
  grid-area: name;
  line-height: 1.3;
}

.pricing-tool-plan {
  color: var(--cp-text-secondary);
  font-size: 0.875rem;
}

.pricing-tool-cost {
  grid-area: cost;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: right;
}

.pricing-tool-cost.is-none {
  color: var(--cp-text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.pricing-tool-note {
  grid-area: note;
  color: var(--cp-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.pricing-tool-source {
  grid-area: source;
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

.pricing-tool-source::after {
  content: " \2197";
}

.pricing-sums {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--cp-border);
  border-radius: 22px;
  background: var(--cp-bg);
}

.pricing-sum {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.pricing-sum-text {
  color: var(--cp-text-secondary);
  font-size: 0.9375rem;
}

.pricing-sum-label {
  display: block;
  margin-bottom: 2px;
  color: var(--cp-text);
  font-weight: 800;
}

.pricing-sum-figure {
  color: var(--cp-text);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.pricing-bar {
  display: flex;
  height: 46px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--cp-surface-sunken);
}

.pricing-chunk {
  display: grid;
  flex: none;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  width: calc(var(--cost) / var(--total) * 100%);
  background: var(--product);
  box-shadow: inset -2px 0 0 var(--cp-bg);
}

.pricing-chunk:last-child {
  box-shadow: none;
}

.pricing-chunk-cedar {
  background: var(--cp-action);
}

.pricing-chunk > :is(img, svg) {
  width: min(26px, 100% - 6px);
  height: auto;
  aspect-ratio: 1;
  padding: 3px;
  border-radius: 7px;
  background: var(--color-white);
}

.pricing-left-out {
  color: var(--cp-text-secondary);
  font-size: 0.875rem;
}

@media (width <= 60rem) {
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .pricing-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-pool {
    grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
  }

  .pricing-pool dl {
    grid-column: 1 / -1;
  }
}

@media (width <= 40rem) {
  .pricing-cards,
  .pricing-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-group:nth-child(n + 2) {
    margin-top: 14px;
  }

  .pricing-card {
    padding: 24px 18px;
  }

  .pricing-pool {
    grid-template-columns: minmax(0, 6rem) minmax(0, 1fr);
    gap: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-switch::before {
    transition: none;
  }
}
