/* Homepage composition and product-story demonstrations. */

.feature-gateway {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--coral-rgb), 0.16), transparent 32%),
    var(--paper-grid),
    linear-gradient(180deg, var(--paper), var(--paper-soft));
}

.feature-gateway .section__intro {
  margin-bottom: clamp(34px, 5vw, 54px);
}

.feature-gateway__grid {
  display: block;
}

.feature-workspace {
  position: relative;
  display: grid;
  min-height: clamp(560px, 52vw, 610px);
  padding-top: clamp(96px, 7vw, 122px);
  place-items: center;
}

.feature-gateway .feature-card {
  position: absolute;
  z-index: 2;
  width: min(278px, 27vw);
  min-height: 0;
  gap: var(--overline-gap);
  padding: 16px 38px 16px 20px;
  border: 0;
  border-top: 1px solid rgba(var(--ink-rgb), 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    border-color 180ms ease,
    transform 220ms var(--ease-out);
}

.feature-gateway .feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 7px rgba(var(--coral-rgb), 0.12);
}

.feature-gateway .feature-card:hover,
.feature-gateway .feature-card:focus-visible {
  border-color: rgba(var(--coral-rgb), 0.78);
  box-shadow: none;
  transform: translateY(-2px);
}

.feature-gateway .feature-card:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 5px;
}

.feature-gateway .feature-card span {
  color: var(--overline);
  font-size: 0.72rem;
}

.feature-gateway .feature-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: var(--weight-action);
  line-height: var(--title-line-height);
}

.feature-gateway .feature-card p {
  display: none;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-gateway .feature-card > i {
  position: absolute;
  right: 8px;
  top: 17px;
  color: var(--coral-2);
  font-style: normal;
  font-weight: var(--weight-action);
}

.feature-card--write {
  left: 0;
  top: 92px;
}

.feature-card--world {
  right: 0;
  top: 80px;
}

.feature-card--collab {
  right: 22px;
  bottom: 112px;
}

.feature-card--import {
  left: 18px;
  bottom: 122px;
}

.feature-card--export {
  left: 50%;
  bottom: -34px;
  text-align: center;
  transform: translateX(-50%);
}

.feature-card--label {
  left: 50%;
  top: 0;
  text-align: center;
  transform: translateX(-50%);
}

.feature-card--export::before,
.feature-card--label::before {
  left: 50%;
  transform: translateX(-50%);
}

.feature-card--export:hover,
.feature-card--label:hover,
.feature-card--label:focus-visible,
.feature-card--export:focus-visible {
  transform: translate(-50%, -2px);
}

@media (max-width: 980px) {
  .feature-workspace {
    gap: 18px;
    min-height: 0;
    padding-top: 0;
    place-items: stretch;
  }

  .feature-gateway .feature-card {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 16px 46px 16px 20px;
    text-align: left;
    transform: none;
  }

  .feature-gateway .feature-card p {
    display: block;
  }

  .feature-gateway .feature-card::before {
    left: 0;
    transform: none;
  }

  .feature-gateway .feature-card:hover,
  .feature-gateway .feature-card:focus-visible,
  .feature-card--label:hover,
  .feature-card--label:focus-visible,
  .feature-card--export:hover,
  .feature-card--export:focus-visible {
    transform: translateY(-2px);
  }
}

.feature-link-list {
  display: grid;
  align-content: center;
  gap: 10px;
}

.feature-tabs {
  display: grid;
  align-content: center;
  gap: 10px;
}

.feature-workspace--hub {
  display: block;
  width: 100%;
  min-height: 0;
  padding-top: 0;
}

.feature-hub {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 58vw, 700px);
  isolation: isolate;
}

.feature-hub__map {
  position: absolute;
  inset: 8px 0;
  z-index: 0;
  width: 100%;
  height: calc(100% - 16px);
  color: rgba(var(--ink-rgb), 0.16);
  pointer-events: none;
}

.feature-hub__map path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.feature-hub__center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: fit-content;
  min-height: 0;
  align-self: auto;
  align-items: stretch;
  transform: translate(-50%, -50%);
}

.feature-hub__panel {
  display: grid;
  min-height: 268px;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 52px rgba(var(--ink-rgb), 0.12);
}

.feature-hub__panel span {
  color: var(--coral-2);
  font-size: 0.72rem;
  font-weight: var(--weight-regular);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-hub__panel h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 32px);
  font-weight: var(--weight-title);
  line-height: var(--title-line-height);
  text-wrap: balance;
}

.feature-hub__panel p {
  margin: 0;
  color: var(--body);
  font-size: 0.98rem;
  font-weight: var(--weight-regular);
  line-height: 1.58;
}

.feature-hub__panel--project {
  min-width: 176px;
  min-height: 0;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 22px 24px;
  text-align: center;
}

.feature-hub__logo {
  width: 88px;
  height: 88px;
}

.feature-hub__panel--project h3 {
  max-width: 11ch;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: var(--title-line-height);
}

.feature-hub__nodes {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

.feature-workspace--hub .feature-card {
  position: absolute;
  inset: auto;
  z-index: 2;
  display: grid;
  width: clamp(214px, 22vw, 288px);
  align-content: start;
  gap: 8px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(var(--ink-rgb), 0.13);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(var(--ink-rgb), 0.08);
  cursor: pointer;
  font-weight: var(--weight-regular);
  text-align: left;
  text-decoration: none;
  transform: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.feature-workspace--hub .feature-card::before {
  content: none;
  display: none;
}

.feature-workspace--hub .feature-card:hover,
.feature-workspace--hub .feature-card:focus-visible {
  border-color: rgba(var(--coral-rgb), 0.72);
  background: var(--white);
  box-shadow: 0 22px 46px rgba(var(--ink-rgb), 0.12);
  transform: translateY(-3px);
}

.feature-workspace--hub .feature-card:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 5px;
}

.feature-workspace--hub .feature-card span {
  color: var(--overline);
  font-size: 0.7rem;
  font-weight: var(--weight-regular);
  line-height: 1;
}

.feature-workspace--hub .feature-card h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.7vw, 1.58rem);
  font-weight: var(--weight-title);
  line-height: var(--title-line-height);
}

.feature-workspace--hub .feature-card p {
  display: block;
  color: var(--body);
  font-size: 0.9rem;
  font-weight: var(--weight-regular);
  line-height: var(--text-line-height);
}

.feature-workspace--hub .feature-hub__node--write {
  left: 5%;
  top: 4%;
}

.feature-workspace--hub .feature-hub__node--world {
  right: 5%;
  top: 5%;
}

.feature-workspace--hub .feature-hub__node--collab {
  left: 1.5%;
  top: 42%;
}

.feature-workspace--hub .feature-hub__node--import {
  right: 1.5%;
  top: 42%;
}

.feature-workspace--hub .feature-hub__node--export {
  left: 14%;
  bottom: 3%;
}

.feature-workspace--hub .feature-hub__node--label {
  right: 14%;
  bottom: 3%;
}

@media (max-width: 980px) {
  .feature-hub {
    display: grid;
    min-height: 0;
    gap: 16px;
  }

  .feature-hub__map {
    display: none;
  }

  .feature-hub__nodes {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    order: 1;
  }

  .feature-hub__center {
    position: static;
    width: fit-content;
    justify-self: center;
    order: 2;
    transform: none;
  }

  .feature-hub__panel {
    min-height: 0;
    padding: 18px;
  }

  .feature-hub__panel--project {
    min-width: 176px;
    padding: 22px 24px;
  }

  .feature-workspace--hub .feature-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    padding: 16px 18px 18px;
  }

  .feature-workspace--hub .feature-card:hover,
  .feature-workspace--hub .feature-card:focus-visible {
    transform: translateY(-2px);
  }

  .feature-workspace--hub .feature-card h3 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .feature-hub__nodes {
    grid-template-columns: 1fr;
  }

  .feature-hub__panel h3 {
    font-size: clamp(1.65rem, 9vw, 32px);
  }

  .feature-hub__panel--project h3 {
    font-size: clamp(1.05rem, 5vw, 1.28rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-workspace--hub .feature-card,
  .feature-workspace--hub .feature-card::before {
    transition: none !important;
  }
}

.section.publisher {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--paper-2);
  background: var(--ink);
}

.publisher__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.68fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(58px, 8vw, 96px);
}

.publisher__copy {
  max-width: 740px;
}

.publisher .publisher__kicker {
  display: inline-block;
  margin-bottom: var(--overline-gap);
}

.publisher h2,
.publisher p:not(.publisher__kicker) {
  color: inherit;
}

.publisher h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.35rem, 3.9vw, 56px);
  text-wrap: balance;
}

.publisher p:not(.publisher__kicker) {
  color: var(--dark-copy);
}

.publisher__copy p:not(.publisher__kicker) {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.7;
}

.publisher__actions {
  margin-top: 24px;
}

.publisher__copy .button {
  margin-top: 0;
}

.publisher__capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.publisher__capabilities li {
  position: relative;
  padding: clamp(18px, 2vw, 24px) 0 clamp(18px, 2vw, 24px) 20px;
  border-top: 1px solid rgba(var(--paper-2-rgb), 0.24);
}

.publisher__capabilities li::before {
  content: "";
  position: absolute;
  top: clamp(25px, 2.55vw, 33px);
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.publisher__capabilities h3 {
  margin: 0;
  color: var(--paper-2);
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: var(--weight-emphasis);
  line-height: 1.35;
  text-wrap: balance;
}

.display,
.h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: var(--weight-emphasis);
  letter-spacing: var(--tracking-title);
  line-height: var(--title-line-height);
  text-wrap: balance;
}

.display--hero {
  max-width: 930px;
  margin-inline: auto;
  font-size: clamp(4rem, 7.4vw, 6rem);
}

.h2 {
  font-size: clamp(2.7rem, 5vw, 56px);
}

.hero {
  --hero-copy-drop: clamp(112px, 14svh, 156px);

  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: calc(var(--nav-height) + 42px) 0 44px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--coral-rgb), 0.2), transparent 34%),
    radial-gradient(circle at 84% 24%, rgba(var(--ink-glow-rgb), 0.18), transparent 30%),
    var(--paper-grid),
    linear-gradient(180deg, var(--paper-2), var(--paper) 64%, var(--paper-warm));
}

.hero__content {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--hero-copy-drop) var(--gutter) 0;
  text-align: center;
}

.hero h1 {
  max-width: 940px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(4rem, 7.4vw, 6rem);
  line-height: var(--title-line-height);
}

.hero__copy {
  max-width: 68ch;
  margin: 20px auto 0;
  color: var(--slate);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.hero__dock {
  position: relative;
  z-index: 1;
  margin-top: calc(clamp(-36px, -3vw, -16px) - var(--hero-copy-drop));
}

.hero-motion {
  --hero-panel-shadow: drop-shadow(0 0 128px rgba(var(--product-shadow-rgb), 0.05));

  display: block;
  position: relative;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1561 / 659;
  margin: 0;
  overflow: visible;
  transform-origin: center;
}

.hero-motion__panel {
  display: block;
  position: absolute;
  height: auto;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;
}

.hero-motion__panel--navigator {
  z-index: 1;
  top: 28%;
  left: 7.6%;
  width: 23%;
  filter: var(--hero-panel-shadow);
  transform: translate3d(0, 0, 0) rotate(-5deg);
}

.hero-motion__panel--comment {
  z-index: 3;
  top: 57.6%;
  left: 39.2%;
  width: 18.4%;
  filter: var(--hero-panel-shadow);
  transform: translate3d(0, 0, 0) rotate(1.6deg);
}

.hero-motion__panel--context {
  z-index: 2;
  top: 6.2%;
  left: 57.5%;
  width: 35.5%;
  transform: translate3d(0, 0, 0) rotate(4deg);
}

.hero-motion.is-playing .hero-motion__panel--navigator {
  animation: hero-panel-float-navigator 9s ease-in-out infinite;
}

.hero-motion.is-playing .hero-motion__panel--comment {
  animation: hero-panel-float-comment 7.5s ease-in-out -1.8s infinite;
}

.hero-motion.is-playing .hero-motion__panel--context {
  animation: hero-panel-float-context 10.5s ease-in-out -3.2s infinite;
}

@keyframes hero-panel-float-navigator {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-5deg);
  }

  50% {
    transform: translate3d(-10px, -10px, 0) rotate(-6.2deg);
  }
}

@keyframes hero-panel-float-comment {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(1.6deg);
  }

  50% {
    transform: translate3d(3px, -11px, 0) rotate(0.4deg);
  }
}

@keyframes hero-panel-float-context {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(4deg);
  }

  50% {
    transform: translate3d(11px, -12px, 0) rotate(5.2deg);
  }
}

@media (max-width: 700px) {
  .hero {
    --hero-copy-drop: clamp(84px, 11svh, 110px);

    padding-bottom: 20px;
  }

  .hero__dock {
    margin-top: clamp(-72px, -12vw, -48px);
    overflow: hidden;
  }

  .hero-motion {
    width: max(560px, 148vw);
    margin-left: 50%;
    overflow: hidden;
    translate: -50% 0;
  }
}

@media (max-width: 460px) {
  .hero-motion {
    width: max(520px, 144vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-motion.is-playing .hero-motion__panel {
    animation: none;
  }
}

.proof-strip {
  display: block;
  padding: clamp(96px, 12vw, 156px) 0;
  border-block: 1px solid rgba(var(--line-warm-rgb), 0.72);
  background:
    var(--paper-grid),
    var(--paper-2);
}

.proof-strip__intro {
  margin-bottom: clamp(46px, 6vw, 82px);
}

.proof-strip__body {
  position: relative;
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.proof-strip article {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(var(--white-rgb), 0.66);
  box-shadow:
    0 1px 0 rgba(var(--white-rgb), 0.8) inset,
    0 6px 18px rgba(var(--ink-rgb), 0.012);
  transition:
    background-color 520ms var(--ease-soft),
    border-color 520ms var(--ease-soft),
    box-shadow 760ms var(--ease-soft),
    transform 520ms var(--ease-soft);
}

.js .proof-strip article.reveal {
  transition:
    background-color 520ms var(--ease-soft),
    border-color 520ms var(--ease-soft),
    box-shadow 760ms var(--ease-soft),
    opacity 620ms ease,
    transform 620ms var(--ease-out);
}

.proof-strip article::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.proof-strip article:hover {
  border-color: rgba(var(--coral-rgb), 0.55);
  background: rgba(var(--white-rgb), 0.78);
  box-shadow:
    0 1px 0 rgba(var(--white-rgb), 0.84) inset,
    0 18px 42px rgba(var(--ink-rgb), 0.1);
  transform: translateY(-3px);
}

.proof-strip article:hover::before {
  transform: scaleX(1);
}

.proof-strip article > span {
  transition: color 420ms ease;
}

.proof-strip article h2 {
  max-width: none;
  margin: 42px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  line-height: var(--title-line-height);
}

.proof-strip p,
.section__intro p,
.studio-panel p,
.migration p,
.faq p,
.final p,
.footer p {
  color: var(--muted);
}

.proof-art {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 84px;
  height: 58px;
  color: var(--ink);
  opacity: 0.78;
}

.proof-art i {
  display: block;
  font-style: normal;
}

/* Structurer â€” the coral scene card lifts and swaps place with its neighbour */
.proof-art--local {
  grid-template-columns: repeat(3, 18px);
  gap: 6px;
}

.proof-art--local i {
  width: 18px;
  height: 26px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: rgba(var(--paper-card-rgb), 0.9);
  box-shadow: 0 10px 18px rgba(var(--ink-rgb), 0.08);
}

.proof-art--local i:nth-child(2) {
  transform: translateY(-8px);
  background: rgba(var(--coral-rgb), 0.26);
}

.proof-strip .proof-art--local i:nth-child(1) {
  animation: proof-swap-back 3s var(--ease-soft) infinite;
}

.proof-strip .proof-art--local i:nth-child(2) {
  animation: proof-swap-front 3s var(--ease-soft) infinite;
}

/* Ã‰crire â€” the lines rewrite themselves, staggered like typing */
.proof-art--write {
  align-content: center;
  justify-items: start;
  gap: 6px;
}

.proof-art--write i {
  width: 58px;
  height: 7px;
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.2);
  transform-origin: left center;
}

.proof-art--write i:nth-child(2) {
  width: 42px;
  background: rgba(var(--coral-rgb), 0.7);
}

.proof-art--write i:nth-child(3) {
  width: 50px;
}

.proof-strip .proof-art--write i {
  animation: line-write 3s var(--ease-out) infinite;
}

.proof-strip .proof-art--write i:nth-child(2) {
  animation-delay: 240ms;
}

.proof-strip .proof-art--write i:nth-child(3) {
  animation-delay: 480ms;
}

/* Relier â€” the links draw themselves, then each node pulses in turn */
.proof-art--world::before,
.proof-art--world::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 19px;
  z-index: 0;
  width: 29px;
  height: 2px;
  background: linear-gradient(90deg, var(--ink-glow), var(--coral));
  transform: rotate(var(--link-angle));
  transform-origin: left center;
  opacity: 0.7;
}

.proof-art--world::before {
  --link-angle: 34deg;
}

.proof-art--world::after {
  --link-angle: -38deg;
  left: 43px;
  top: 35px;
  width: 28px;
}

.proof-strip .proof-art--world::before {
  animation: link-sweep 3s var(--ease-out) infinite;
}

.proof-strip .proof-art--world::after {
  animation: link-sweep-alt 3s var(--ease-out) infinite;
}

.proof-art--world i {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink-glow);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: 0 0 0 7px rgba(var(--ink-glow-rgb), 0.12);
}

.proof-art--world i:nth-child(1) {
  left: 8px;
  top: 8px;
}

.proof-art--world i:nth-child(2) {
  left: 32px;
  top: 24px;
  border-color: var(--coral);
}

.proof-art--world i:nth-child(3) {
  right: 8px;
  top: 7px;
  border-color: var(--blue);
}

.proof-strip .proof-art--world i {
  animation: node-pulse 3s var(--ease-out) infinite;
}

.proof-strip .proof-art--world i:nth-child(2) {
  animation-delay: 350ms;
}

.proof-strip .proof-art--world i:nth-child(3) {
  animation-delay: 700ms;
}

/* Exporter â€” the files slide in, then take turns being the one to send */
.proof-art--export {
  align-content: center;
  justify-items: end;
  gap: 5px;
}

.proof-art--export i {
  min-width: 54px;
  padding: 5px 7px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper-2);
  font-size: 10px;
  font-weight: var(--weight-emphasis);
  letter-spacing: 0.08em;
  text-align: center;
}

.proof-art--export i:nth-child(2) {
  margin-right: 14px;
  background: rgba(var(--coral-rgb), 0.18);
}

.proof-strip .proof-art--export i {
  animation: proof-file 4.2s cubic-bezier(0.18, 0.9, 0.28, 1.12) infinite;
}

.proof-strip .proof-art--export i:nth-child(2) {
  animation-delay: 420ms;
}

.proof-strip .proof-art--export i:nth-child(3) {
  animation-delay: 840ms;
}

/* Collaborer â€” the readers arrive, then their presence pulses in turn */
.proof-art--review {
  position: absolute;
}

.proof-art--review i {
  --cursor-fill: var(--blue);
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(var(--shadow-card-soft));
  transform: rotate(-6deg);
}

.proof-art--review i::before,
.proof-art--review i::after {
  content: "";
  position: absolute;
  -webkit-mask: url("../assets/pointer.svg") center / contain no-repeat;
  mask: url("../assets/pointer.svg") center / contain no-repeat;
}

.proof-art--review i::before {
  inset: 0;
  background: rgba(var(--white-rgb), 0.96);
}

.proof-art--review i::after {
  inset: 3px;
  background: var(--cursor-fill);
}

.proof-art--review i:nth-child(1) {
  left: 10px;
  top: 18px;
  --cursor-x: 8px;
  --cursor-y: -10px;
  --cursor-rotate: -10deg;
}

.proof-art--review i:nth-child(2) {
  left: 34px;
  top: 5px;
  --cursor-x: -4px;
  --cursor-y: 12px;
  --cursor-rotate: 7deg;
  --cursor-fill: var(--coral);
}

.proof-art--review i:nth-child(3) {
  left: 58px;
  top: 18px;
  --cursor-x: -9px;
  --cursor-y: -8px;
  --cursor-rotate: 5deg;
  --cursor-fill: var(--ink-glow);
}

.proof-strip .proof-art--review i {
  animation: cursor-drift 3.2s var(--ease-out) infinite;
}

.proof-strip .proof-art--review i:nth-child(2) {
  animation-delay: 320ms;
}

.proof-strip .proof-art--review i:nth-child(3) {
  animation-delay: 640ms;
}

@keyframes cursor-drift {
  0%, 8% {
    opacity: 0;
    transform: translate(10px, 8px) rotate(-6deg) scale(0.82);
  }
  24%, 68% {
    opacity: 1;
    transform: translate(var(--cursor-x), var(--cursor-y)) rotate(var(--cursor-rotate)) scale(1);
  }
  84%, 100% {
    opacity: 0;
    transform: translate(0, 0) rotate(var(--cursor-rotate)) scale(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-strip .proof-art i,
  .proof-strip .proof-art--world::before,
  .proof-strip .proof-art--world::after {
    animation: none !important;
  }
}

.compare__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.compare__cards article {
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(var(--white-rgb), 0.76);
}

.compare__cards h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: var(--title-line-height);
}

.compare__cards p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.compare__cards .is-plumelin {
  color: var(--dark-copy);
  border-color: rgba(var(--paper-2-rgb), 0.14);
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--coral-rgb), 0.32), transparent 34%),
    var(--ink);
}

.compare__cards .is-plumelin h3 {
  color: var(--paper-2);
}

.compare__cards .is-plumelin p {
  color: var(--dark-copy);
  font-weight: var(--weight-light);
}

.compare-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.compare-flow i {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(var(--ink-rgb), 0.055);
  font-size: 12px;
  font-style: normal;
  font-weight: var(--weight-emphasis);
}

.is-plumelin .compare-flow i {
  border-color: rgba(var(--paper-2-rgb), 0.16);
  background: rgba(var(--paper-2-rgb), 0.12);
  color: var(--paper-2);
}

@keyframes line-write {
  0% { opacity: 0.35; transform: scaleX(0.15); }
  24% { opacity: 1; transform: scaleX(1); }
  86% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.35; transform: scaleX(0.15); }
}

/* the coral scene card lifts, moves over its neighbour, then settles back */
@keyframes proof-swap-front {
  0%, 8% { transform: translate(0, -8px); }
  22% { transform: translate(0, -28px) scale(1.05); }
  42% { transform: translate(-24px, -28px) scale(1.05); }
  54%, 62% { transform: translate(-24px, -8px); }
  76% { transform: translate(-24px, -30px); }
  92%, 100% { transform: translate(0, -8px); }
}

@keyframes proof-swap-back {
  0%, 24% { transform: translateX(0); }
  42%, 62% { transform: translateX(24px); }
  88%, 100% { transform: translateX(0); }
}

@keyframes link-sweep {
  0%, 4% { transform: rotate(var(--link-angle)) scaleX(0); }
  30%, 94% { transform: rotate(var(--link-angle)) scaleX(1); }
  100% { transform: rotate(var(--link-angle)) scaleX(0); }
}

@keyframes link-sweep-alt {
  0%, 12% { transform: rotate(var(--link-angle)) scaleX(0); }
  38%, 94% { transform: rotate(var(--link-angle)) scaleX(1); }
  100% { transform: rotate(var(--link-angle)) scaleX(0); }
}

@keyframes node-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 7px rgba(var(--ink-glow-rgb), 0.12); }
  12% { transform: scale(1.12); box-shadow: 0 0 0 12px rgba(var(--ink-glow-rgb), 0.05); }
  26%, 100% { transform: scale(1); box-shadow: 0 0 0 7px rgba(var(--ink-glow-rgb), 0.12); }
}

/* each file enters from the right, in turn */
@keyframes proof-file {
  0%, 10% { opacity: 0; transform: translateX(28px); }
  32% { opacity: 1; transform: translateX(-2px); }
  44%, 84% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(0); }
}

@media (max-width: 900px) {
  .publisher {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .publisher__inner {
    grid-template-columns: 1fr;
  }

  .publisher .button {
    justify-self: start;
  }

  .publisher__capabilities {
    max-width: 620px;
  }
}

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