/* Photoshop integration scene (home #photoshop and the features tile).
   The scene is a handful of light layers: eight small 3D pictures (public/art/ps/*.webp, our own artwork, no shadow baked
   in) and one panel made of text. They sit at different depths inside one tilted rig. Every size and distance is in the
   scene's own width (cqw), so it scales from a phone to a wide screen with no breakpoint inside it, and all motion is
   transform and opacity only, so nothing is measured or laid out while it plays. Shadows are plain box-shadows painted
   once, never a per-frame filter. The loop (11 s) tells one story: press Ctrl + S, the panel sends, a new version flies
   out and lands on the stack, a comment pin drops on it and the approval badge pops. It starts when the scene scrolls
   into view (.in from site.js), the scene leans toward a fine pointer (ps-3d.js), and for people who prefer reduced
   motion it stays still on the finished moment. The panel keeps a neutral dark look in both themes; everything else uses
   the site's tokens. No Adobe or Photoshop logo, icon or tile is drawn anywhere on the page. */

.ps { position: relative; overflow: hidden; }
.ps::before {
  content: ""; position: absolute; inset: -12% -18% auto auto; width: 72%; height: 78%; pointer-events: none;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); opacity: .9;
}
.ps-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

/* ---------- copy ---------- */
.ps-live {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 14px 8px 12px; border-radius: 99px; text-decoration: none;
  font-size: 13.5px; font-weight: 650; letter-spacing: -.005em; color: var(--ink); background: color-mix(in srgb, var(--card) 80%, transparent);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: transform .18s ease, box-shadow .2s;
}
.ps-live:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, var(--line)), var(--shadow-1); }
.ps-live i { position: relative; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.ps-live svg { flex: 0 0 auto; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-3); }
.ps-copy .h2 { margin-top: 20px; font-size: clamp(32px, 3.7vw, 50px); }
.ps-copy .lede { margin-top: 18px; }
.ps-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.ps-points li { display: grid; gap: 10px; align-content: start; }
.ps-points b { display: block; font-size: 16.5px; letter-spacing: -.01em; }
.ps-points span:not(.ps-ico) { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.ps-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.ps-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ps-cta { margin-top: 32px; }
.ps-cta .btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ps-credit { margin-top: 18px; max-width: 46em; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }

/* ---------- the scene: 100cqw wide, 84cqw tall ---------- */
.ps-scene { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 1 / .84; contain: layout; --rx: 0deg; --ry: 0deg; }
.ps-stage { position: absolute; inset: 0; perspective: 180cqw; perspective-origin: 62% 28%; }
.ps-rig {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(11deg + var(--rx))) rotateY(calc(-15deg + var(--ry))) rotateZ(1.2deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.ps-scene.tilting .ps-rig { transition-duration: .12s; }
.ps-l { position: absolute; display: block; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.ps-l img { display: block; width: 100%; height: auto; }

.ps-floor {
  left: 24%; right: -2%; bottom: -2%; height: 14%; border-radius: 50%; transform: translateZ(-6cqw);
  background: radial-gradient(closest-side, rgba(40, 30, 110, .28), transparent 75%);
}
:root[data-theme="dark"] .ps-floor { background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent 75%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ps-floor { background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent 75%); } }

/* a soft shadow, painted once behind each piece */
.ps-sh::before {
  content: ""; position: absolute; inset: var(--in, 0); border-radius: var(--rad, 10%); z-index: -1;
  box-shadow: 0 2.4cqw 3.4cqw -1cqw rgba(40, 30, 110, .38), 0 .5cqw 1.2cqw rgba(40, 30, 110, .14);
}
:root[data-theme="dark"] .ps-sh::before { box-shadow: 0 2.4cqw 3.4cqw -1cqw rgba(0, 0, 0, .75), 0 .5cqw 1.2cqw rgba(0, 0, 0, .4); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ps-sh::before { box-shadow: 0 2.4cqw 3.4cqw -1cqw rgba(0, 0, 0, .75), 0 .5cqw 1.2cqw rgba(0, 0, 0, .4); } }

/* where each piece sits (left, top, width) and how far forward */
.ps-card { width: 36cqw; --rad: 10.3% / 9%; --in: 0 2% 3% 0; }
.ps-c1 { left: 29cqw; top: 1cqw;    transform: translateZ(0); }
.ps-c2 { left: 39.5cqw; top: 11.5cqw; transform: translateZ(1cqw); }
.ps-c3 { left: 50cqw; top: 22cqw;   transform: translateZ(2cqw); }
.ps-c4 { left: 60cqw; top: 32.5cqw; transform: translateZ(6cqw); }
.ps-k  { --rad: 22% / 30%; --in: 0 4% 11% 0; }
.ps-k1 { left: 3cqw; top: 8cqw; width: 17.5cqw; transform: translateZ(11cqw); }
.ps-k2 { left: 22cqw; top: 8cqw; width: 11.9cqw; transform: translateZ(11cqw); }
.ps-pin { left: 84cqw; top: 24cqw; width: 9cqw; transform: translateZ(10cqw); }
.ps-pin img { filter: drop-shadow(0 .9cqw .9cqw rgba(30, 20, 120, .35)); }
.ps-badge { left: 86cqw; top: 62cqw; width: 13cqw; transform: translateZ(12cqw); --rad: 50%; --in: 9.5% 14.5% 19.5% 11.5%; }
.ps-ring { left: 88.4cqw; top: 64.3cqw; width: 8.2cqw; aspect-ratio: 1; border-radius: 50%; border: .5cqw solid #34d27b; opacity: 0; transform: translateZ(11cqw); }

/* The Roundfy panel, docked on the left. A panel of text, so it stays sharp at any size. */
.ps-panel {
  left: 2cqw; top: 40cqw; width: 50cqw; box-sizing: border-box; padding: 3.4cqw 3.6cqw 3.8cqw; border-radius: 3cqw; transform: translateZ(7cqw);
  font-size: clamp(9.5px, 2.15cqw, 15px); line-height: 1.35; color: #dcdce3; text-align: left;
  background: linear-gradient(165deg, #35353d, #25252b); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 0 0 1px rgba(0, 0, 0, .3), 0 3cqw 6cqw -2cqw rgba(10, 10, 30, .65);
}
.pp-top { display: flex; align-items: center; gap: .6em; padding-bottom: .65em; margin-bottom: .75em; border-bottom: 1px solid #44444d; font-weight: 700; color: #f1f1f5; }
.pp-top span { margin-left: auto; font-weight: 500; font-size: .8em; color: #9b9ba8; }
.pp-lbl { margin: .8em 0 .3em; font-size: .7em; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: #9b9ba8; }
.pp-field { display: flex; justify-content: space-between; align-items: center; height: 2.1em; padding: 0 .7em; border-radius: .5em; background: #1c1c21; border: 1px solid #4a4a54; font-size: .92em; color: #ececf2; white-space: nowrap; overflow: hidden; }
.pp-field b { font-weight: 500; color: #9b9ba8; }
.pp-check { display: flex; align-items: center; gap: .55em; margin-top: .9em; font-size: .84em; color: #d3d3dc; }
.pp-check i { position: relative; flex: 0 0 auto; width: 1.05em; height: 1.05em; border-radius: .25em; background: var(--accent); }
.pp-check i::after { content: ""; position: absolute; left: .33em; top: .12em; width: .28em; height: .55em; border: solid #fff; border-width: 0 .14em .14em 0; transform: rotate(45deg); }
.pp-btn { position: relative; overflow: hidden; display: grid; place-items: center; height: 2.35em; margin-top: 1em; border-radius: 1.2em; background: var(--accent); color: #fff; font-weight: 700; font-size: .95em; box-shadow: 0 .5em 1.2em -.5em rgba(91, 75, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.pp-btn span { grid-area: 1 / 1; position: relative; }
.pp-btn .a, .pp-btn .b { opacity: 0; }
.pp-bar { position: absolute; inset: 0; background: rgba(255, 255, 255, .24); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.pp-ok { margin-top: .65em; min-height: 1.4em; display: flex; align-items: center; gap: .45em; font-size: .8em; color: #7be3a6; }
.pp-ok i { width: .7em; height: .7em; border-radius: 50%; background: #4ade80; }

/* ---------- motion: transform and opacity only, once the scene is on screen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ps-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--good); animation: psPing 2.4s ease-out infinite; }
  .ps-scene.in .ps-rig { animation: psRig 9s ease-in-out infinite alternate; }
  .ps-scene.in .ps-l { will-change: transform, opacity; }
  .ps-scene.in .ps-c1, .ps-scene.in .ps-c2, .ps-scene.in .ps-c3 { animation: psImpact 11s ease-in-out infinite; }
  .ps-scene.in .ps-c2 { animation-delay: .12s; } .ps-scene.in .ps-c1 { animation-delay: .24s; }
  .ps-scene.in .ps-c4 { animation: psC4 11s cubic-bezier(.4, .05, .25, 1) infinite; }
  .ps-scene.in .ps-k1 { animation: psK1 11s ease-in-out infinite; }
  .ps-scene.in .ps-k2 { animation: psK2 11s ease-in-out infinite; }
  .ps-scene.in .pp-btn { animation: psBtn 11s ease-in-out infinite; }
  .ps-scene.in .pp-btn .a { animation: psLa 11s linear infinite; }
  .ps-scene.in .pp-btn .b { animation: psLb 11s linear infinite; }
  .ps-scene.in .pp-btn .c { animation: psLc 11s linear infinite; }
  .ps-scene.in .pp-bar { animation: psBar 11s linear infinite; }
  .ps-scene.in .pp-ok { animation: psOk 11s linear infinite; }
  .ps-scene.in .ps-pin { animation: psPin 11s cubic-bezier(.3, .6, .3, 1) infinite; }
  .ps-scene.in .ps-badge { animation: psBadge 11s cubic-bezier(.3, 1.2, .4, 1) infinite; }
  .ps-scene.in .ps-ring { animation: psRing 11s ease-out infinite; }
  .ps-scene.in .ps-ring.r2 { animation-delay: .22s; }
  .ps-scene.in .ps-floor { animation: psFloor 11s ease-in-out infinite; }
}
@keyframes psPing { from { transform: scale(1); opacity: .55; } to { transform: scale(3.2); opacity: 0; } }
@keyframes psRig { from { translate: 0 0; } to { translate: 0 -1.4cqw; } }
@keyframes psImpact { 0%, 76% { translate: 0 0; } 79% { translate: -1.1cqw -1.1cqw; } 86%, 100% { translate: 0 0; } }
@keyframes psC4 {
  0%, 13% { opacity: 1; translate: 0 0 0; scale: 1; rotate: 0deg; }
  17% { opacity: 0; translate: 0 1.5cqw 0; scale: .97; rotate: 0deg; }
  17.01%, 53% { opacity: 0; translate: -51cqw 13.6cqw 0; scale: .3; rotate: -10deg; }
  57% { opacity: 1; translate: -51cqw 13.6cqw 0; scale: .32; rotate: -10deg; }
  68% { opacity: 1; translate: -26cqw -12cqw 9cqw; scale: 1.1; rotate: -7deg; }
  77% { opacity: 1; translate: .8cqw .8cqw 0; scale: 1; rotate: 1deg; }
  80%, 100% { opacity: 1; translate: 0 0 0; scale: 1; rotate: 0deg; }
}
@keyframes psK1 { 0%, 19% { translate: 0 0; } 21%, 29% { translate: 0 1.4cqw; } 32%, 100% { translate: 0 0; } }
@keyframes psK2 { 0%, 22% { translate: 0 0; } 24%, 31% { translate: 0 1.4cqw; } 34%, 100% { translate: 0 0; } }
@keyframes psBtn { 0%, 33% { transform: none; } 35% { transform: scale(.97); } 38%, 52% { transform: none; } 55% { transform: scale(1.03); } 58%, 100% { transform: none; } }
@keyframes psLa { 0%, 15% { opacity: 0; } 18%, 33% { opacity: 1; } 35%, 100% { opacity: 0; } }
@keyframes psLb { 0%, 33% { opacity: 0; } 36%, 52% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes psLc { 0%, 14% { opacity: 1; } 17%, 53% { opacity: 0; } 56%, 100% { opacity: 1; } }
@keyframes psBar { 0%, 34% { transform: scaleX(0); opacity: 1; } 53% { transform: scaleX(1); opacity: 1; } 55%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes psOk { 0%, 14% { opacity: 1; } 17%, 81% { opacity: 0; } 85%, 100% { opacity: 1; } }
@keyframes psPin {
  0%, 13% { opacity: 1; translate: 0 0 0; scale: 1; }
  16% { opacity: 0; translate: 0 0 0; scale: 1; }
  16.01%, 79% { opacity: 0; translate: 0 -9cqw 0; scale: .8; }
  80% { opacity: 1; translate: 0 -9cqw 0; scale: .85; }
  84% { opacity: 1; translate: 0 .9cqw 0; scale: 1.04; }
  87%, 100% { opacity: 1; translate: 0 0 0; scale: 1; }
}
@keyframes psBadge { 0%, 13% { opacity: 1; scale: 1; } 16% { opacity: 0; scale: .6; } 16.01%, 85% { opacity: 0; scale: .001; } 90% { opacity: 1; scale: 1.2; } 93%, 100% { opacity: 1; scale: 1; } }
@keyframes psRing { 0%, 86% { opacity: 0; scale: .6; } 88% { opacity: .8; scale: .85; } 97%, 100% { opacity: 0; scale: 2.2; } }
@keyframes psFloor { 0%, 76% { scale: 1; } 79% { scale: 1.06; } 86%, 100% { scale: 1; } }

/* No motion: the finished moment, still. */
@media (prefers-reduced-motion: reduce) {
  .ps-rig { transition: none; }
  .pp-btn .c { opacity: 1; }
}

/* ---------- the four-step strip ---------- */
.ps-flow { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.ps-flow li { position: relative; padding: 22px 4px 0; border-top: 1px solid var(--line); }
.ps-flow li::before { content: ""; position: absolute; left: 0; top: -1px; width: 36px; height: 2px; background: var(--accent); border-radius: 2px; }
.ps-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); }
.ps-flow b { display: block; margin-top: 12px; font-size: 17px; letter-spacing: -.01em; }
.ps-flow li > span:last-child { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }

/* ---------- the features page tile: copy on the left, the same scene on the right ---------- */
.tile.ps-feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); }
.psf-copy { min-width: 0; display: grid; gap: 0; justify-items: start; }
.psf-copy .h3 { margin-top: 12px; }
.psf-copy p { max-width: 34em; }
.psf-copy .psf-lede { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.psf-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; width: 100%; max-width: 34em; }
.psf-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.psf-steps b { display: block; font-size: 16px; letter-spacing: -.01em; }
.psf-steps span:not(.ps-n) { display: block; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.psf-note { margin-top: 18px; font-size: 14px !important; color: var(--ink-3); }
.psf-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.psf-cta .btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.psf-copy .ps-credit { margin-top: 20px; font-size: 12.5px; line-height: 1.55; max-width: 40em; }
.ps-feature .ps-scene { max-width: 660px; justify-self: end; }
.ps-feature .ps-launch-inline { margin: 14px 0 0; }

/* ---------- the connection scene (features page): account code, panel, link, boards ---------- */
.ps-conn { aspect-ratio: 1 / .7; }
.ps-conn .ps-floor { left: 6%; right: 2%; bottom: -3%; height: 16%; }
.pc-acct, .pc-panel { box-sizing: border-box; text-align: left; line-height: 1.35; }
/* the account card: light glass with a solid edge */
.pc-acct {
  left: 57cqw; top: 3cqw; width: 41cqw; padding: 3cqw 3.2cqw 3.4cqw; border-radius: 3cqw; transform: translateZ(0);
  font-size: clamp(9px, 2.1cqw, 14.5px); color: #26262e;
  background: linear-gradient(160deg, #ffffff, #efecff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), .3cqw .45cqw 0 #d2ccf7, .6cqw .9cqw 0 #c0b9f2, .9cqw 1.35cqw 0 #aea6ec, 0 3.4cqw 5cqw -1cqw rgba(40, 30, 110, .4);
}
:root[data-theme="dark"] .pc-acct { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), .3cqw .45cqw 0 #c3bdf0, .6cqw .9cqw 0 #a9a1ea, .9cqw 1.35cqw 0 #8f85e2, 0 3.4cqw 5cqw -1cqw rgba(0, 0, 0, .8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc-acct { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), .3cqw .45cqw 0 #c3bdf0, .6cqw .9cqw 0 #a9a1ea, .9cqw 1.35cqw 0 #8f85e2, 0 3.4cqw 5cqw -1cqw rgba(0, 0, 0, .8); } }
.ac-top { display: flex; align-items: center; justify-content: space-between; }
.ac-top b { font-weight: 750; letter-spacing: -.01em; }
.ac-av { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: linear-gradient(145deg, #7b6bff, #4a39ee); color: #fff; font-weight: 700; font-size: .85em; }
.ac-title { margin-top: .9em; font-weight: 700; font-size: 1.12em; letter-spacing: -.01em; }
.ac-sub { margin-top: .15em; font-size: .78em; color: #6b6b75; }
.ac-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4em; margin: .7em 0 .6em; }
.ac-code i, .pc-code i { display: grid; place-items: center; height: 2.9em; border-radius: .55em; font-style: normal; }
.ac-code i { background: #fff; border: 1px solid #d6d0fa; box-shadow: 0 .2em .5em -.3em rgba(70, 56, 170, .35); }
.ac-code b { font-weight: 750; font-size: 1.3em; color: #4636e6; }
.ac-row2 { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.ac-st { display: grid; min-width: 0; font-size: .78em; color: #6b6b75; }
.ac-st > span { grid-area: 1 / 1; display: flex; align-items: center; gap: .5em; white-space: nowrap; }
.ac-st .dot, .pc-who .dot { flex: 0 0 auto; width: .6em; height: .6em; border-radius: 50%; }
.ac-st .w { background: #f5a524; } .ac-st .g, .pc-who .dot { background: #22b45a; }
.ac-st .s1 { opacity: 0; } .ac-st .s2 { color: #14803f; font-weight: 650; }
.ac-copy { display: grid; flex: 0 0 auto; padding: .35em .9em; border-radius: 99em; border: 1px solid #d6d0fa; background: #f4f2ff; color: #4636e6; font-weight: 650; font-size: .78em; }
.ac-copy span { grid-area: 1 / 1; text-align: center; }
.ac-copy .c2 { opacity: 0; }
.ac-lbl { margin: 1em 0 .4em; font-size: .68em; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: #8a8a96; }
.ac-r { display: flex; align-items: center; gap: .65em; height: 2.55em; padding: 0 .6em; margin-bottom: .38em; border-radius: .6em; background: #f5f3ff; border: 1px solid #e4e0fb; }
.ac-r b { font-weight: 620; font-size: .84em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-r span { margin-left: auto; font-size: .72em; color: #8a8a96; }
.ac-r .th { flex: 0 0 auto; width: 1.5em; height: 1.5em; border-radius: .4em; background: linear-gradient(145deg, #8b7dff, #5444f0); }
.ac-r .t2 { background: linear-gradient(145deg, #ffc46b, #ff8a3d); } .ac-r .t3 { background: linear-gradient(145deg, #5ee0a0, #1fae62); }

/* the panel: same dark look as the home scene, with two bodies that swap */
.pc-panel { left: 1cqw; top: 13cqw; width: 42cqw; transform: translateZ(8cqw); padding: 3.2cqw 3.4cqw 3.6cqw; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 0 0 1px rgba(0, 0, 0, .3), .3cqw .45cqw 0 #1d1d22, .6cqw .9cqw 0 #151519, .9cqw 1.35cqw 0 #0f0f12, 0 3.4cqw 5cqw -1cqw rgba(10, 10, 30, .7); }
.pc-body { display: grid; }
.pc-a, .pc-b { grid-area: 1 / 1; }
.pc-a { opacity: 0; }
.pc-t { font-weight: 700; font-size: .98em; color: #f1f1f5; }
.pc-h { margin-top: .2em; font-size: .78em; color: #9b9ba8; }
.pc-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4em; margin: .85em 0 .2em; }
.pc-code i { background: #1c1c21; border: 1px solid #4a4a54; height: 2.7em; }
.pc-code b { font-weight: 700; font-size: 1.2em; color: #ececf2; }
.pc-who { display: flex; align-items: center; gap: .5em; font-size: .8em; color: #b9b9c4; }
.pc-list { margin-top: .1em; }
.pc-li { display: flex; align-items: center; justify-content: space-between; gap: .6em; height: 2.45em; padding: 0 .7em; margin-bottom: .4em; border-radius: .5em; background: #1c1c21; border: 1px solid #4a4a54; font-size: .88em; color: #ececf2; }
.pc-li b { font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-li span { flex: 0 0 auto; font-size: .78em; color: #9b9ba8; }
.pc-li.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pc-panel .pp-btn .c { opacity: 0; }

/* the link between them */
.pc-beam { left: 43cqw; top: 30.3cqw; width: 14cqw; height: .7cqw; border-radius: 1cqw; transform-origin: 0 50%; transform: translateZ(3cqw); background: linear-gradient(90deg, #8b7dff, #34d27b); }
.pc-dot { left: 43cqw; top: 29.7cqw; width: 1.9cqw; aspect-ratio: 1; border-radius: 50%; transform: translateZ(4cqw); background: #fff; opacity: 0; box-shadow: 0 0 0 .5cqw rgba(91, 75, 255, .35); }
.pc-orb { left: 46.4cqw; top: 27cqw; width: 7.4cqw; transform: translateZ(10cqw); --rad: 50%; --in: 9.5% 14.5% 19.5% 11.5%; }
.pc-badge { left: 37.5cqw; top: 46.5cqw; width: 10.5cqw; }

@media (prefers-reduced-motion: no-preference) {
  .ps-conn.in .ps-rig { animation: psRig 9s ease-in-out infinite alternate; }
  .ps-conn.in .ps-l { will-change: transform, opacity; }
  .ps-conn.in .pc-acct { animation: psBob 8s ease-in-out -1s infinite alternate; }
  .ps-conn.in .pc-panel { animation: psBob 7s ease-in-out -3s infinite alternate; }
  .ps-conn.in .ac-code { animation: pcCode 12s ease-in-out infinite; }
  .ps-conn.in .ac-copy { animation: pcCopyBtn 12s ease-in-out infinite; }
  .ps-conn.in .ac-copy .c1 { animation: pcC1 12s linear infinite; }
  .ps-conn.in .ac-copy .c2 { animation: pcC2 12s linear infinite; }
  .ps-conn.in .ac-st .s1 { animation: pcS1 12s linear infinite; }
  .ps-conn.in .ac-st .s2 { animation: pcS2 12s linear infinite; }
  .ps-conn.in .ac-r { animation: pcAr 12s ease-in-out infinite; }
  .ps-conn.in .ac-r.r2 { animation-delay: .15s; } .ps-conn.in .ac-r.r3 { animation-delay: .3s; }
  .ps-conn.in .pc-a { animation: pcA 12s linear infinite; }
  .ps-conn.in .pc-b { animation: pcB 12s linear infinite; }
  .ps-conn.in .pc-code b { animation: pcDig 12s linear infinite; }
  .ps-conn.in .pc-code i:nth-child(2) b { animation-delay: .28s; } .ps-conn.in .pc-code i:nth-child(3) b { animation-delay: .56s; }
  .ps-conn.in .pc-code i:nth-child(4) b { animation-delay: .84s; } .ps-conn.in .pc-code i:nth-child(5) b { animation-delay: 1.12s; } .ps-conn.in .pc-code i:nth-child(6) b { animation-delay: 1.4s; }
  .ps-conn.in .pc-panel .pp-btn { animation: pcBtn 12s ease-in-out infinite; }
  .ps-conn.in .pc-panel .pp-btn .a { animation: pcLa 12s linear infinite; }
  .ps-conn.in .pc-panel .pp-btn .b { animation: pcLb 12s linear infinite; }
  .ps-conn.in .pc-panel .pp-btn .c { animation: pcLc 12s linear infinite; }
  .ps-conn.in .pc-panel .pp-bar { animation: pcBar 12s linear infinite; }
  .ps-conn.in .pc-li { animation: pcLi 12s ease-out infinite; }
  .ps-conn.in .pc-li:nth-child(2) { animation-delay: .15s; } .ps-conn.in .pc-li:nth-child(3) { animation-delay: .3s; }
  .ps-conn.in .pc-beam { animation: pcBeam 12s cubic-bezier(.4, .1, .3, 1) infinite; }
  .ps-conn.in .pc-dot { animation: pcDot 12s cubic-bezier(.4, .1, .3, 1) infinite; }
  .ps-conn.in .pc-orb { animation: pcOrb 12s cubic-bezier(.3, 1.2, .4, 1) infinite; }
  .ps-conn.in .pc-badge { animation: pcBadge 12s cubic-bezier(.3, 1.2, .4, 1) infinite; }
}
@keyframes pcCode { 0%, 21% { transform: none; } 23% { transform: scale(1.03); } 26%, 100% { transform: none; } }
@keyframes pcCopyBtn { 0%, 21% { transform: none; } 23% { transform: scale(.94); } 25%, 100% { transform: none; } }
@keyframes pcC1 { 0%, 23% { opacity: 1; } 25%, 40% { opacity: 0; } 42%, 100% { opacity: 1; } }
@keyframes pcC2 { 0%, 23% { opacity: 0; } 25%, 40% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes pcS1 { 0%, 10% { opacity: 0; } 13%, 68% { opacity: 1; } 71%, 100% { opacity: 0; } }
@keyframes pcS2 { 0%, 10% { opacity: 1; } 13%, 69% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes pcAr { 0%, 10% { opacity: 1; transform: none; } 13%, 70% { opacity: .38; transform: translateX(.8cqw); } 75%, 100% { opacity: 1; transform: none; } }
@keyframes pcA { 0%, 10% { opacity: 0; } 14%, 72% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes pcB { 0%, 10% { opacity: 1; } 13%, 73% { opacity: 0; } 77%, 100% { opacity: 1; } }
@keyframes pcDig { 0%, 10% { opacity: 1; } 13%, 28% { opacity: 0; } 30%, 100% { opacity: 1; } }
@keyframes pcBtn { 0%, 47% { transform: none; } 49% { transform: scale(.97); } 52%, 100% { transform: none; } }
@keyframes pcLa { 0%, 13% { opacity: 0; } 16%, 48% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pcLb { 0%, 49% { opacity: 0; } 52%, 62% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes pcLc { 0%, 63% { opacity: 0; } 65%, 73% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes pcBar { 0%, 50% { transform: scaleX(0); opacity: 1; } 63% { transform: scaleX(1); opacity: 1; } 65%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pcLi { 0%, 10% { opacity: 1; transform: none; } 13%, 75% { opacity: 0; transform: translateY(1cqw); } 80%, 100% { opacity: 1; transform: none; } }
@keyframes pcBeam { 0%, 10% { opacity: 1; scale: 1 1; } 13% { opacity: 0; scale: 1 1; } 13.01%, 62% { opacity: 0; scale: 0 1; } 63% { opacity: 1; scale: 0 1; } 69%, 100% { opacity: 1; scale: 1 1; } }
@keyframes pcDot { 0%, 62% { opacity: 0; translate: 0 0; } 63% { opacity: 1; translate: 0 0; } 69% { opacity: 1; translate: 12.2cqw 0; } 70%, 100% { opacity: 0; translate: 12.2cqw 0; } }
@keyframes pcOrb { 0%, 10% { opacity: 1; scale: 1; } 13%, 62% { opacity: .4; scale: .88; } 68% { opacity: 1; scale: 1.18; } 71%, 100% { opacity: 1; scale: 1; } }
@keyframes pcBadge { 0%, 10% { opacity: 1; scale: 1; } 13% { opacity: 0; scale: .6; } 13.01%, 77% { opacity: 0; scale: .001; } 82% { opacity: 1; scale: 1.2; } 85%, 100% { opacity: 1; scale: 1; } }

/* ---------- layout breakpoints ---------- */
@media (max-width: 980px) {
  .ps-grid { grid-template-columns: 1fr; }
  .ps-scene { max-width: 680px; justify-self: center; }
  .ps-flow { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 900px) {
  .tile.ps-feature { grid-template-columns: 1fr; }
  .ps-feature .ps-scene { justify-self: center; max-width: 520px; }
}
@media (max-width: 560px) {
  .ps-points { grid-template-columns: 1fr; gap: 18px; }
  .ps-points li { grid-template-columns: 38px 1fr; gap: 14px; }
  .ps-flow { grid-template-columns: 1fr; row-gap: 22px; }
  .ps-cta .btn, .psf-cta .btn { flex: 1 1 100%; height: auto; min-height: 46px; padding-block: 12px; text-align: center; line-height: 1.25; }
}
