/* ═══════════════════════════════════════════════════════════════
   XODE — FEATURE CLIPS  (built by src/feature-clips.js)

   Two kinds of short clip, drawn in HTML and CSS:

     .fc-clip   over a What's-new card while it is pointed at — 5 s,
                three beats, each with its own caption
     .ft        in place of a How-to card's thumbnail — 10 s, an editor
                at work in four steps, looping while it is on screen

   Every animation is declared only under .fc-on, so a clip always
   starts from its first frame and costs nothing when it is not shown.
   The .ft clips' resting styles are a finished still frame, which is
   what reduced motion shows.
   ═══════════════════════════════════════════════════════════════ */

/* ── the card it lives in ──────────────────────────────────────── */
.lp-item.fc-ready { position: relative; }

.fc-hint {
  position: absolute; top: 62px; right: 26px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px 4px 7px; border-radius: 99px;
  font: 700 10.5px/1 'Inter', system-ui, sans-serif; letter-spacing: .04em;
  color: color-mix(in srgb, var(--c, #7C5CFF) 45%, #0B0B0F);
  background: color-mix(in srgb, var(--c, #7C5CFF) 9%, #FFFFFF);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #7C5CFF) 20%, transparent);
  transition: opacity .2s;
  pointer-events: none;
}
.fc-hint svg { width: 9px; height: 9px; fill: currentColor; }
.fc-on > .fc-hint { opacity: 0; }

/* ── the clip itself ───────────────────────────────────────────── */
.fc-clip {
  --d: 5s;
  --e: cubic-bezier(.22, 1, .36, 1);
  --cc: var(--c, #7C5CFF);
  position: absolute; inset: 8px; z-index: 4;
  border-radius: 18px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: scale(.97);
  transition: opacity .3s ease, transform .5s var(--e);
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--cc) 16%, #FFFFFF), transparent 60%),
    linear-gradient(180deg, #FBFBFD, color-mix(in srgb, var(--cc) 7%, #FFFFFF));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc) 20%, transparent);
  font-family: 'Inter', system-ui, sans-serif; color: #0B0B0F; text-align: left;
}
.fc-clip * { box-sizing: border-box; }
.fc-on > .fc-clip { opacity: 1; transform: none; }

.fc-glow {
  position: absolute; left: -20%; top: -25%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cc) 34%, transparent), transparent);
}
.fc-glow.g2 {
  left: auto; top: auto; right: -25%; bottom: -20%; width: 80%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cc) 20%, transparent), transparent);
}
.fc-on .fc-glow { animation: fc-drift var(--d) ease-in-out infinite alternate; }
.fc-on .fc-glow.g2 { animation-direction: alternate-reverse; }
@keyframes fc-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(18%, 12%) scale(1.15); } }

.fc-stage { position: absolute; left: 14px; right: 14px; top: 14px; bottom: 84px; }

.fc-kick {
  position: absolute; left: 18px; right: 18px; bottom: 62px;
  font: 700 10px/1 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cc) 70%, #0B0B0F);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fc-caps { position: absolute; left: 18px; right: 18px; bottom: 22px; height: 34px; }
.fc-caps span {
  position: absolute; left: 0; right: 0; bottom: 0; opacity: 0;
  font: 650 14px/1.22 'Inter Tight', 'Inter', sans-serif; letter-spacing: -.01em; color: #0B0B0F;
}
.fc-on .fc-caps span:nth-child(1) { animation: fc-cap1 var(--d) ease infinite both; }
.fc-on .fc-caps span:nth-child(2) { animation: fc-cap2 var(--d) ease infinite both; }
.fc-on .fc-caps span:nth-child(3) { animation: fc-cap3 var(--d) ease infinite both; }
@keyframes fc-cap1 { 0% { opacity: 0; transform: translateY(6px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes fc-cap2 { 0%, 33% { opacity: 0; transform: translateY(6px); } 37%, 62% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes fc-cap3 { 0%, 66% { opacity: 0; transform: translateY(6px); } 70%, 100% { opacity: 1; transform: none; } }

.fc-bar {
  position: absolute; left: 18px; right: 18px; bottom: 12px; height: 3px; border-radius: 3px; overflow: hidden;
  background: color-mix(in srgb, var(--cc) 14%, transparent);
}
.fc-bar i { display: block; height: 100%; background: var(--cc); transform-origin: left; transform: scaleX(0); }
.fc-on .fc-bar i { animation: fc-bar var(--d) linear infinite; }
@keyframes fc-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── pieces the scenes share ──────────────────────────────────── */
.fc-win {
  position: absolute; inset: 0; border-radius: 12px; overflow: hidden; background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(11, 11, 15, .06), 0 14px 30px -16px color-mix(in srgb, var(--cc) 55%, transparent);
}
.fc-top {
  position: absolute; left: 0; right: 0; top: 0; height: 16px;
  display: flex; gap: 3px; align-items: center; padding-left: 7px;
  border-bottom: 1px solid #F0F0F4; background: #FCFCFE;
}
.fc-top i { width: 5px; height: 5px; border-radius: 50%; background: #E1E1E8; }
.fc-top i:first-child { background: color-mix(in srgb, var(--cc) 55%, #FFFFFF); }
.fc-b { position: absolute; border-radius: 6px; background: #EEEEF3; }
.fc-b.a { background: color-mix(in srgb, var(--cc) 20%, #FFFFFF); }
.fc-b.s { background: linear-gradient(135deg, var(--cc), color-mix(in srgb, var(--cc) 55%, #FFFFFF)); }
.fc-b.g { background: linear-gradient(135deg, color-mix(in srgb, var(--cc) 30%, #FFFFFF), color-mix(in srgb, var(--cc) 10%, #FFFFFF)); }
.fc-l { position: absolute; height: 5px; border-radius: 3px; background: #E4E4EB; }
.fc-dots { background-color: #FFFFFF; background-image: radial-gradient(#DDDDE6 1px, transparent 1.3px); background-size: 11px 11px; }
.fc-cur {
  position: absolute; left: 120%; top: 120%; z-index: 6; width: 15px; height: 15px;
  filter: drop-shadow(0 2px 3px rgba(11, 11, 15, .28));
}
.fc-pill-ok {
  display: inline-flex; align-items: center; gap: 3px;
  font: 700 8.5px/1 'Inter', sans-serif; padding: 4px 6px; border-radius: 99px;
  background: #E7F8EC; color: #15803D;
}

/* ═══ 1 · MOTION ═══════════════════════════════════════════════ */
.fcm-chips { position: absolute; left: 8px; top: 23px; display: flex; gap: 4px; z-index: 2; }
.fcm-chips b { font: 600 8.5px/1 'Inter', sans-serif; padding: 4px 6px; border-radius: 99px; background: #F1F1F5; color: #55555F; }
.fcm-view { position: absolute; left: 8px; right: 8px; top: 42px; bottom: 0; overflow: hidden; }
.fcm-page { position: absolute; left: 0; right: 0; top: 0; height: 150%; }
.fcm-hero { left: 0; top: 2%; width: 100%; height: 14%; }
.fcm-t1 { left: 0; top: 18%; width: 70%; }
.fcm-t2 { left: 0; top: 21.5%; width: 48%; }
.fcm-c1 { left: 0; top: 26%; width: 48%; height: 14%; }
.fcm-c2 { left: 52%; top: 26%; width: 48%; height: 14%; }
.fcm-img { left: 0; top: 44%; width: 100%; height: 18%; }
.fcm-code {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3;
  padding: 8px 9px; border-radius: 9px; background: #0B0B0F; color: #E9E9F0;
  font: 500 8.5px/1.5 'JetBrains Mono', ui-monospace, monospace;
  box-shadow: 0 10px 20px -10px rgba(11, 11, 15, .6);
}
.fcm-code em { font-style: normal; color: color-mix(in srgb, var(--cc) 50%, #FFFFFF); }

.fc-on .fcm-chips b:nth-child(1) { animation: fcm-chip1 var(--d) ease infinite both; }
.fc-on .fcm-chips b:nth-child(2) { animation: fcm-chip2 var(--d) ease infinite both; }
.fc-on .fcm-chips b:nth-child(3) { animation: fcm-chip3 var(--d) ease infinite both; }
.fc-on .fcm-page { animation: fcm-scroll var(--d) var(--e) infinite both; }
.fc-on .fcm-hero { animation: fcm-up var(--d) var(--e) infinite both; }
.fc-on .fcm-t1 { animation: fcm-up var(--d) var(--e) .12s infinite both; }
.fc-on .fcm-t2 { animation: fcm-up var(--d) var(--e) .22s infinite both; }
.fc-on .fcm-c1 { animation: fcm-wipe var(--d) var(--e) infinite both; }
.fc-on .fcm-c2 { animation: fcm-wipe var(--d) var(--e) .15s infinite both; }
.fc-on .fcm-img { animation: fcm-float var(--d) ease-in-out infinite both; }
.fc-on .fcm-code { animation: fcm-code var(--d) var(--e) infinite both; }

@keyframes fcm-chip1 { 0%, 30% { background: var(--cc); color: #FFFFFF; } 32%, 100% { background: #F1F1F5; color: #55555F; } }
@keyframes fcm-chip2 { 0%, 32% { background: #F1F1F5; color: #55555F; } 34%, 63% { background: var(--cc); color: #FFFFFF; } 65%, 100% { background: #F1F1F5; color: #55555F; } }
@keyframes fcm-chip3 { 0%, 64% { background: #F1F1F5; color: #55555F; } 66%, 100% { background: var(--cc); color: #FFFFFF; } }
@keyframes fcm-scroll { 0%, 30% { transform: none; } 58%, 100% { transform: translateY(-30%); } }
@keyframes fcm-up { 0%, 4% { opacity: 0; transform: translateY(16px); } 16%, 100% { opacity: 1; transform: none; } }
@keyframes fcm-wipe { 0%, 34% { clip-path: inset(0 100% 0 0 round 6px); } 48%, 100% { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes fcm-float {
  0%, 60% { opacity: 0; transform: translateY(20px); }
  70% { opacity: 1; transform: translateY(-4px); }
  80% { transform: translateY(3px); }
  90% { transform: translateY(-2px); }
  100% { opacity: 1; transform: none; }
}
@keyframes fcm-code { 0%, 70% { opacity: 0; transform: translateY(115%); } 80%, 100% { opacity: 1; transform: none; } }

/* ═══ 2 · VIDEO ════════════════════════════════════════════════ */
.fcv-playbtn {
  position: absolute; right: 8px; top: 23px; z-index: 2;
  font: 700 8.5px/1 'Inter', sans-serif; padding: 5px 8px; border-radius: 99px; background: #0B0B0F; color: #FFFFFF;
}
.fcv-vid {
  position: absolute; left: 16%; top: 27%; width: 68%; height: 37%; border-radius: 9px; overflow: hidden;
  background: linear-gradient(130deg, var(--cc), #7C5CFF 55%, #2BB5A0); background-size: 220% 220%;
  box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--cc) 70%, transparent);
}
.fcv-shine {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%);
}
.fcv-tri {
  position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 14px -6px rgba(11, 11, 15, .5);
}
.fcv-tri::after {
  content: ''; position: absolute; left: 11px; top: 8px;
  border-left: 9px solid #0B0B0F; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.fcv-eq { position: absolute; left: 8px; bottom: 7px; height: 12px; display: flex; gap: 2px; align-items: flex-end; opacity: 0; }
.fcv-eq i { width: 3px; height: 40%; border-radius: 1px; background: #FFFFFF; }
.fcv-sel { position: absolute; inset: 0; border: 1.5px solid #0B0B0F; border-radius: 9px; opacity: 0; }
.fcv-sel i { position: absolute; width: 6px; height: 6px; border: 1.5px solid #0B0B0F; background: #FFFFFF; border-radius: 2px; }
.fcv-sel i:nth-child(1) { left: -1px; top: -1px; }
.fcv-sel i:nth-child(2) { right: -1px; top: -1px; }
.fcv-sel i:nth-child(3) { left: -1px; bottom: -1px; }
.fcv-sel i:nth-child(4) { right: -1px; bottom: -1px; }
.fcv-prog { position: absolute; left: 16%; width: 68%; top: 68%; height: 4px; border-radius: 2px; background: #ECECF2; overflow: hidden; }
.fcv-prog i { display: block; height: 100%; background: var(--cc); transform-origin: left; transform: scaleX(0); }
.fcv-badges { position: absolute; left: 6px; right: 6px; bottom: 9px; display: flex; gap: 4px; justify-content: center; }
.fcv-badges b {
  display: inline-flex; align-items: center; gap: 3px; opacity: 0;
  font: 700 8px/1 'Inter', sans-serif; padding: 4px 6px; border-radius: 99px; background: #E7F8EC; color: #15803D;
}
.fcv-badges svg { width: 9px; height: 9px; }

.fc-on .fcv-vid { animation: fcv-drag var(--d) var(--e) infinite both, fcv-hue var(--d) linear infinite both; }
.fc-on .fcv-sel { animation: fcv-sel var(--d) ease infinite both; }
.fc-on .fcv-tri { animation: fcv-tri var(--d) var(--e) infinite both; }
.fc-on .fcv-shine { animation: fcv-shine var(--d) ease-in-out infinite both; }
.fc-on .fcv-eq { animation: fcv-eqon var(--d) ease infinite both; }
.fc-on .fcv-eq i { animation: fcv-eqb .42s ease-in-out infinite alternate; }
.fc-on .fcv-eq i:nth-child(2) { animation-delay: .12s; }
.fc-on .fcv-eq i:nth-child(3) { animation-delay: .24s; }
.fc-on .fcv-eq i:nth-child(4) { animation-delay: .06s; }
.fc-on .fcv-prog i { animation: fcv-prog var(--d) linear infinite both; }
.fc-on .fcv-playbtn { animation: fcv-pbtn var(--d) ease infinite both; }
.fc-on .fcv-badges b { animation: fcv-badge var(--d) var(--e) infinite both; }
.fc-on .fcv-badges b:nth-child(2) { animation-delay: .22s; }
.fc-on .fcv-badges b:nth-child(3) { animation-delay: .44s; }
.fc-on .fc-video .fc-cur { animation: fcv-cur var(--d) var(--e) infinite both; }

@keyframes fcv-drag { 0%, 5% { transform: translate(-18%, -30%) rotate(-2deg); } 27%, 100% { transform: none; } }
@keyframes fcv-hue { 0%, 44% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes fcv-sel { 0%, 29% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes fcv-tri { 0%, 40% { opacity: 1; transform: none; } 47%, 100% { opacity: 0; transform: scale(.4); } }
@keyframes fcv-shine { 0%, 44% { opacity: 0; transform: translateX(-100%); } 48% { opacity: 1; } 64% { opacity: 1; transform: translateX(100%); } 65%, 100% { opacity: 0; transform: translateX(100%); } }
@keyframes fcv-eqon { 0%, 44% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes fcv-eqb { from { height: 25%; } to { height: 100%; } }
@keyframes fcv-prog { 0%, 44% { transform: scaleX(0); } 100% { transform: scaleX(.86); } }
@keyframes fcv-pbtn { 0%, 39% { transform: none; background: #0B0B0F; } 41% { transform: scale(.86); } 45%, 100% { transform: none; background: var(--cc); } }
@keyframes fcv-badge { 0%, 66% { opacity: 0; transform: translateY(8px) scale(.9); } 73%, 100% { opacity: 1; transform: none; } }
@keyframes fcv-cur {
  0% { left: 38%; top: 34%; opacity: 0; transform: none; }
  5% { left: 38%; top: 34%; opacity: 1; }
  27% { left: 50%; top: 45%; }
  31% { left: 50%; top: 45%; transform: none; }
  39% { left: 86%; top: 12%; transform: none; }
  41% { transform: scale(.82); }
  44% { transform: none; opacity: 1; left: 86%; top: 12%; }
  52%, 100% { opacity: 0; left: 92%; top: 4%; }
}

/* ═══ 3 · BRING YOUR OWN AI ════════════════════════════════════ */
.fca-prompt {
  position: absolute; left: 8px; right: 8px; top: 23px; height: 24px; z-index: 2;
  display: flex; align-items: center; gap: 5px; padding: 0 7px; overflow: hidden;
  border-radius: 8px; background: #FFFFFF;
  border: 1.5px solid color-mix(in srgb, var(--cc) 55%, #FFFFFF);
  font: 500 9px/1 'JetBrains Mono', ui-monospace, monospace; color: #0B0B0F;
}
.fca-spark { color: var(--cc); font-size: 11px; }
.fca-type { display: inline-block; white-space: nowrap; overflow: hidden; max-width: 23ch; }
.fca-caret { width: 1px; height: 11px; background: #0B0B0F; flex-shrink: 0; }
.fca-sk {
  position: absolute; left: 8px; right: 8px; top: 54px; height: 43%; border-radius: 8px; opacity: 0;
  background: linear-gradient(90deg, #F0F0F4 25%, #FAFAFC 50%, #F0F0F4 75%); background-size: 200% 100%;
}
.fca-hero { left: 8px; right: 8px; top: 54px; height: 24%; }
.fca-h1 { left: 16px; top: calc(54px + 9%); width: 44%; background: rgba(255, 255, 255, .85); }
.fca-k1, .fca-k2, .fca-k3 { top: calc(54px + 27%); height: 17%; width: calc((100% - 26px) / 3); }
.fca-k1 { left: 8px; }
.fca-k2 { left: calc(8px + (100% - 26px) / 3 + 5px); }
.fca-k3 { left: calc(8px + (100% - 26px) / 3 * 2 + 10px); }
.fca-key {
  position: absolute; left: 8px; right: 8px; bottom: 26px; height: 24px; z-index: 2;
  display: flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 8px;
  background: #0B0B0F; color: #FFFFFF; font: 600 9px/1 'Inter', sans-serif;
}
.fca-key svg { width: 11px; height: 11px; color: #C9F26B; flex-shrink: 0; }
.fca-prov { position: absolute; left: 8px; right: 8px; bottom: 7px; display: flex; gap: 4px; justify-content: space-between; }
.fca-prov b { font: 600 7.5px/1 'Inter', sans-serif; padding: 3px 5px; border-radius: 99px; background: #F1F1F5; color: #55555F; }

.fc-on .fca-type { animation: fca-type var(--d) steps(23, end) infinite both; }
.fc-on .fca-caret { animation: fca-blink .8s steps(2, start) infinite; }
.fc-on .fca-prompt { animation: fca-send var(--d) ease infinite both; }
.fc-on .fca-sk { animation: fca-sk var(--d) ease infinite both; }
.fc-on .fca-hero { animation: fca-pop var(--d) var(--e) infinite both; }
.fc-on .fca-h1 { animation: fca-pop var(--d) var(--e) .1s infinite both; }
.fc-on .fca-k1 { animation: fca-pop var(--d) var(--e) .22s infinite both; }
.fc-on .fca-k2 { animation: fca-pop var(--d) var(--e) .34s infinite both; }
.fc-on .fca-k3 { animation: fca-pop var(--d) var(--e) .46s infinite both; }
.fc-on .fca-key { animation: fca-key var(--d) var(--e) infinite both; }
.fc-on .fca-prov b { animation: fca-prov var(--d) ease infinite both; }
.fc-on .fca-prov b:nth-child(2) { animation-delay: .1s; }
.fc-on .fca-prov b:nth-child(3) { animation-delay: .2s; }
.fc-on .fca-prov b:nth-child(4) { animation-delay: .3s; }

@keyframes fca-type { 0%, 3% { max-width: 0; } 27%, 100% { max-width: 23ch; } }
@keyframes fca-blink { to { visibility: hidden; } }
@keyframes fca-send {
  0%, 27% { box-shadow: 0 0 0 0 transparent; }
  31% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--cc) 24%, transparent); }
  42%, 100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes fca-sk { 0%, 29% { opacity: 0; background-position: 100% 0; } 32% { opacity: 1; } 41% { opacity: 1; background-position: -100% 0; } 45%, 100% { opacity: 0; } }
@keyframes fca-pop { 0%, 41% { opacity: 0; transform: translateY(8px) scale(.94); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes fca-key { 0%, 66% { opacity: 0; transform: translateY(12px); } 73%, 100% { opacity: 1; transform: none; } }
@keyframes fca-prov { 0%, 72% { opacity: 0; transform: translateY(4px); } 78%, 100% { opacity: 1; transform: none; } }

/* ═══ 4 · UPLOAD WHAT YOU ALREADY HAVE ═════════════════════════ */
.fcu-zone {
  position: absolute; left: 12%; right: 12%; top: 22%; height: 46%;
  display: grid; place-items: end center; padding-bottom: 9px; border-radius: 12px;
  border: 1.5px dashed color-mix(in srgb, var(--cc) 60%, #FFFFFF);
  background: color-mix(in srgb, var(--cc) 5%, #FFFFFF);
  font: 600 8.5px/1 'Inter', sans-serif; color: color-mix(in srgb, var(--cc) 70%, #0B0B0F);
}
.fcu-zip {
  position: absolute; left: 50%; top: 27%; width: 40px; height: 50px; margin-left: -20px; border-radius: 7px; z-index: 2;
  background: linear-gradient(160deg, var(--cc), color-mix(in srgb, var(--cc) 60%, #0B0B0F));
  box-shadow: 0 12px 20px -9px color-mix(in srgb, var(--cc) 70%, transparent);
}
.fcu-zip i {
  position: absolute; left: 50%; top: 5px; width: 5px; height: 22px; margin-left: -2.5px; opacity: .9;
  background: repeating-linear-gradient(180deg, #FFFFFF 0 3px, transparent 3px 6px);
}
.fcu-zip b {
  position: absolute; left: -14px; right: -14px; top: 56px; text-align: center;
  font: 700 8.5px/1 'JetBrains Mono', ui-monospace, monospace; color: #0B0B0F;
}
.fcu-f {
  position: absolute; left: 50%; top: 34%; width: 60px; height: 40px; margin-left: -30px; opacity: 0;
  display: grid; place-items: end center; padding-bottom: 6px; border-radius: 7px; background: #FFFFFF;
  box-shadow: 0 0 0 1px #E6E6EE, 0 8px 16px -10px rgba(11, 11, 15, .35);
}
.fcu-f::before { content: ''; position: absolute; left: 7px; right: 7px; top: 7px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--cc) 35%, #FFFFFF); }
.fcu-f b { font: 600 7.5px/1 'JetBrains Mono', ui-monospace, monospace; color: #33333D; }
.fcu-page { position: absolute; left: 8px; right: 8px; top: 24px; bottom: 8px; opacity: 0; }
.fcu-head {
  position: absolute; left: 4%; top: 6%; width: 92%; height: 22%;
  display: flex; align-items: center; padding: 0 8px; border-radius: 4px;
  outline: 1.5px solid var(--cc); outline-offset: 0;
  font: 800 12.5px/1.1 'Inter Tight', 'Inter', sans-serif; color: #0B0B0F; letter-spacing: -.02em;
}
.fcu-caret { width: 1.5px; height: 14px; margin-left: 2px; background: var(--cc); }
.fcu-h i { position: absolute; width: 6px; height: 6px; border: 1.5px solid var(--cc); background: #FFFFFF; border-radius: 2px; }
.fcu-h i:nth-child(1) { left: -3px; top: -3px; }
.fcu-h i:nth-child(2) { right: -3px; top: -3px; }
.fcu-h i:nth-child(3) { left: -3px; bottom: -3px; }
.fcu-h i:nth-child(4) { right: -3px; bottom: -3px; }
.fcu-l1 { left: 4%; top: 36%; width: 70%; }
.fcu-l2 { left: 4%; top: 42%; width: 52%; }
.fcu-b1 { left: 4%; top: 52%; width: 44%; height: 38%; }
.fcu-b2 { left: 52%; top: 52%; width: 44%; height: 38%; }

.fc-on .fcu-zone { animation: fcu-zone var(--d) ease infinite both; }
.fc-on .fcu-zip { animation: fcu-drop var(--d) var(--e) infinite both; }
.fc-on .fcu-f.f1 { animation: fcu-fan1 var(--d) var(--e) infinite both; }
.fc-on .fcu-f.f2 { animation: fcu-fan2 var(--d) var(--e) .08s infinite both; }
.fc-on .fcu-f.f3 { animation: fcu-fan3 var(--d) var(--e) .16s infinite both; }
.fc-on .fcu-page { animation: fcu-page var(--d) var(--e) infinite both; }
.fc-on .fcu-head { animation: fcu-move var(--d) var(--e) infinite both; }
.fc-on .fcu-caret { animation: fca-blink .8s steps(2, start) infinite; }
.fc-on .fc-upload .fc-cur { animation: fcu-cur var(--d) var(--e) infinite both; }

@keyframes fcu-zone {
  0%, 6% { opacity: 1; transform: none; }
  14%, 24% { opacity: 1; transform: scale(1.04); background: color-mix(in srgb, var(--cc) 14%, #FFFFFF); }
  30% { opacity: 1; transform: none; }
  37%, 100% { opacity: 0; transform: scale(.96); }
}
@keyframes fcu-drop {
  0% { opacity: 0; transform: translateY(-150%) rotate(-14deg); }
  6% { opacity: 1; }
  18% { transform: translateY(8%) rotate(4deg); }
  23% { transform: translateY(-5%) rotate(-1deg); }
  27%, 32% { opacity: 1; transform: none; }
  38%, 100% { opacity: 0; transform: scale(.45); }
}
@keyframes fcu-fan1 { 0%, 34% { opacity: 0; transform: scale(.4); } 45%, 60% { opacity: 1; transform: translate(-108%, 6%) rotate(-9deg); } 67%, 100% { opacity: 0; transform: translate(-108%, -14%) scale(.8); } }
@keyframes fcu-fan2 { 0%, 34% { opacity: 0; transform: scale(.4); } 45%, 60% { opacity: 1; transform: translate(0, -14%); } 67%, 100% { opacity: 0; transform: translate(0, -34%) scale(.8); } }
@keyframes fcu-fan3 { 0%, 34% { opacity: 0; transform: scale(.4); } 45%, 60% { opacity: 1; transform: translate(108%, 6%) rotate(9deg); } 67%, 100% { opacity: 0; transform: translate(108%, -14%) scale(.8); } }
@keyframes fcu-page { 0%, 62% { opacity: 0; transform: scale(.95); } 70%, 100% { opacity: 1; transform: none; } }
@keyframes fcu-move { 0%, 76% { transform: none; } 88%, 100% { transform: translate(3%, 9%); } }
@keyframes fcu-cur {
  0%, 66% { opacity: 0; left: 72%; top: 80%; transform: none; }
  72% { opacity: 1; left: 62%; top: 24%; }
  74% { transform: scale(.82); }
  88% { left: 65%; top: 31%; transform: scale(.82); }
  90% { transform: none; opacity: 1; }
  100% { opacity: 0; left: 65%; top: 31%; }
}

/* ═══ 5 · WRITE YOUR OWN CODE ══════════════════════════════════ */
.fcc-ed { position: absolute; left: 0; top: 16px; bottom: 0; width: 56%; padding: 28px 8px 8px; background: #14151C; }
.fcc-run {
  position: absolute; right: 7px; top: 7px;
  font: 700 8px/1 'Inter', sans-serif; padding: 4px 7px; border-radius: 99px; background: #2C2E3A; color: #FFFFFF;
}
.fcc-ln { display: block; height: 5px; border-radius: 3px; margin: 0 0 9px; transform-origin: left; }
.fcc-ln.n1 { width: 52%; background: #A78BFA; }
.fcc-ln.n2 { width: 78%; background: #3A3D4D; }
.fcc-ln.n3 { width: 64%; background: #5EEAD4; }
.fcc-ln.n4 { width: 40%; background: #3A3D4D; }
.fcc-ln.n6 { width: 30%; background: #A78BFA; }
.fcc-typed {
  display: block; max-width: 22ch; margin: 0 0 9px; padding: 3px 4px; border-radius: 3px; overflow: hidden; white-space: nowrap;
  font: 500 8px/1 'JetBrains Mono', ui-monospace, monospace; color: #E9E9F0;
  background: color-mix(in srgb, var(--cc) 20%, transparent);
}
.fcc-typed em { font-style: normal; color: #F9A8D4; }
.fcc-pv { position: absolute; right: 0; top: 16px; bottom: 0; width: 44%; background: #FBFBFD; }
.fcc-p1 { left: 12%; top: 14%; width: 70%; }
.fcc-p2 { left: 12%; top: 22%; width: 50%; }
.fcc-btn {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  padding: 6px 11px; border-radius: 99px; white-space: nowrap;
  font: 700 9px/1 'Inter', sans-serif; background: var(--cc); color: #0B0B0F;
  box-shadow: 0 6px 14px -6px var(--cc);
}
.fcc-toast {
  position: absolute; left: 50%; top: 66%; transform: translateX(-50%); white-space: nowrap; opacity: 0;
  font: 700 8.5px/1 'Inter', sans-serif; padding: 5px 7px; border-radius: 7px; background: #0B0B0F; color: #FFFFFF;
}
.fcc-ship {
  position: absolute; right: 6px; bottom: 8px; white-space: nowrap; opacity: 0;
  display: inline-flex; align-items: center; gap: 3px;
  font: 700 8.5px/1 'Inter', sans-serif; padding: 5px 8px; border-radius: 99px; background: #E7F8EC; color: #15803D;
  box-shadow: 0 6px 14px -8px rgba(21, 128, 61, .5);
}
.fcc-ship svg { width: 9px; height: 9px; }

.fc-on .fcc-ln { animation: fcc-ln var(--d) var(--e) infinite both; }
.fc-on .fcc-ln.n2 { animation-delay: .15s; }
.fc-on .fcc-ln.n3 { animation-delay: .3s; }
.fc-on .fcc-ln.n4 { animation-delay: .45s; }
.fc-on .fcc-ln.n6 { animation-delay: 1.4s; }
.fc-on .fcc-typed { animation: fcc-type var(--d) steps(20, end) infinite both; }
.fc-on .fcc-btn { animation: fcc-btn var(--d) var(--e) infinite both; }
.fc-on .fcc-run { animation: fcc-run var(--d) ease infinite both; }
.fc-on .fcc-toast { animation: fcc-toast var(--d) var(--e) infinite both; }
.fc-on .fcc-ship { animation: fcc-ship var(--d) var(--e) infinite both; }

@keyframes fcc-ln { 0%, 3% { transform: scaleX(0); } 14%, 100% { transform: scaleX(1); } }
@keyframes fcc-type { 0%, 34% { max-width: 0; opacity: 0; } 35% { opacity: 1; } 52%, 100% { max-width: 22ch; opacity: 1; } }
@keyframes fcc-btn {
  0%, 52% { background: #D7D7E0; color: #55555F; border-radius: 3px; box-shadow: none; transform: translate(-50%, -50%); }
  57% { transform: translate(-50%, -50%) scale(1.14); }
  62%, 100% { background: var(--cc); color: #0B0B0F; border-radius: 99px; transform: translate(-50%, -50%); box-shadow: 0 6px 14px -6px var(--cc); }
}
@keyframes fcc-run { 0%, 66% { background: #2C2E3A; color: #FFFFFF; transform: none; } 68% { transform: scale(.86); } 71%, 100% { background: #C9F26B; color: #0B0B0F; transform: none; } }
@keyframes fcc-toast { 0%, 70% { opacity: 0; transform: translate(-50%, 7px); } 76%, 100% { opacity: 1; transform: translate(-50%, 0); } }
@keyframes fcc-ship { 0%, 80% { opacity: 0; transform: translateY(8px); } 86%, 100% { opacity: 1; transform: none; } }

/* ═══ 6 · PHONE AND TABLET, PROPERLY ═══════════════════════════ */
.fcd-labels { position: absolute; left: 0; right: 0; top: 0; height: 20px; }
.fcd-labels b {
  position: absolute; left: 0; top: 0; opacity: 0;
  font: 700 9px/1 'JetBrains Mono', ui-monospace, monospace; padding: 5px 8px; border-radius: 99px;
  background: #0B0B0F; color: #FFFFFF;
}
.fcd-labels b:nth-child(3) { opacity: 1; }      /* still frame: the phone */
.fcd-frame {
  position: absolute; left: 50%; top: 28px; bottom: 0; width: 40%; transform: translateX(-50%);
  border-radius: 18px; background: #FFFFFF; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 11, 15, .08), 0 0 0 5px #0B0B0F, 0 18px 30px -14px color-mix(in srgb, var(--cc) 60%, transparent);
}
.fcd-bar { position: absolute; left: 0; right: 0; top: 0; height: 13px; background: color-mix(in srgb, var(--cc) 14%, #FFFFFF); }
.fcd-t { left: 8%; top: 22px; width: 80%; }
.fcd-k { left: 8%; width: 84%; height: 20%; }
.fcd-k.k1 { top: 24%; }
.fcd-k.k2 { top: 47%; }
.fcd-k.k3 { top: 70%; }

.fc-on .fcd-labels b:nth-child(1) { animation: fc-cap1 var(--d) ease infinite both; }
.fc-on .fcd-labels b:nth-child(2) { animation: fc-cap2 var(--d) ease infinite both; }
.fc-on .fcd-labels b:nth-child(3) { animation: fc-cap3 var(--d) ease infinite both; }
.fc-on .fcd-frame { animation: fcd-frame var(--d) var(--e) infinite both; }
.fc-on .fcd-t { animation: fcd-t var(--d) var(--e) infinite both; }
.fc-on .fcd-k.k1 { animation: fcd-k1 var(--d) var(--e) infinite both; }
.fc-on .fcd-k.k2 { animation: fcd-k2 var(--d) var(--e) infinite both; }
.fc-on .fcd-k.k3 { animation: fcd-k3 var(--d) var(--e) infinite both; }

@keyframes fcd-frame {
  0%, 30% { width: 100%; border-radius: 10px; box-shadow: 0 0 0 1px rgba(11, 11, 15, .08), 0 0 0 0 #0B0B0F, 0 18px 30px -14px color-mix(in srgb, var(--cc) 60%, transparent); }
  40%, 63% { width: 66%; border-radius: 14px; box-shadow: 0 0 0 1px rgba(11, 11, 15, .08), 0 0 0 4px #0B0B0F, 0 18px 30px -14px color-mix(in srgb, var(--cc) 60%, transparent); }
  73%, 100% { width: 40%; border-radius: 18px; box-shadow: 0 0 0 1px rgba(11, 11, 15, .08), 0 0 0 5px #0B0B0F, 0 18px 30px -14px color-mix(in srgb, var(--cc) 60%, transparent); }
}
@keyframes fcd-t { 0%, 30% { width: 46%; } 40%, 63% { width: 60%; } 73%, 100% { width: 80%; } }
@keyframes fcd-k1 {
  0%, 30% { left: 5%; top: 30%; width: 28%; height: 46%; }
  40%, 63% { left: 6%; top: 28%; width: 42%; height: 30%; }
  73%, 100% { left: 8%; top: 24%; width: 84%; height: 20%; }
}
@keyframes fcd-k2 {
  0%, 30% { left: 36%; top: 30%; width: 28%; height: 46%; }
  40%, 63% { left: 52%; top: 28%; width: 42%; height: 30%; }
  73%, 100% { left: 8%; top: 47%; width: 84%; height: 20%; }
}
@keyframes fcd-k3 {
  0%, 30% { left: 67%; top: 30%; width: 28%; height: 46%; }
  40%, 63% { left: 6%; top: 63%; width: 88%; height: 26%; }
  73%, 100% { left: 8%; top: 70%; width: 84%; height: 20%; }
}

/* ═══ 7 · PUBLISH A REAL WEBSITE ═══════════════════════════════ */
.fcp-url {
  position: absolute; left: 8px; right: 8px; top: 8px; height: 22px; z-index: 2;
  display: flex; align-items: center; gap: 6px; padding: 0 9px; overflow: hidden;
  border-radius: 99px; background: #F3F3F7;
  font: 500 8.5px/1 'JetBrains Mono', ui-monospace, monospace; color: #0B0B0F;
}
.fcp-dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }
.fcp-addr { display: inline-block; white-space: nowrap; overflow: hidden; max-width: 24ch; }
.fcp-btn {
  position: absolute; left: 50%; top: 34%; width: 92px; height: 32px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 99px; background: #22C55E; color: #FFFFFF;
  box-shadow: 0 10px 22px -10px var(--cc);
}
.fcp-btn b { font: 800 11px/1 'Inter', sans-serif; opacity: 0; }
.fcp-ring { position: absolute; width: 22px; height: 22px; fill: none; stroke: #FFFFFF; stroke-width: 2.5; stroke-dasharray: 57; stroke-dashoffset: 57; opacity: 0; }
.fcp-ok { position: absolute; width: 14px; height: 14px; fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fcp-globe { position: absolute; left: 50%; top: 53%; width: 30px; height: 30px; margin-left: -15px; fill: none; stroke: var(--cc); stroke-width: 1.4; }
.fcp-pages { position: absolute; left: 6px; right: 6px; top: 72%; display: flex; gap: 4px; justify-content: center; }
.fcp-pages b {
  font: 700 8px/1 'Inter', sans-serif; padding: 4px 6px; border-radius: 99px;
  background: color-mix(in srgb, var(--cc) 12%, #FFFFFF); color: color-mix(in srgb, var(--cc) 72%, #0B0B0F);
}
.fcp-free {
  position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center;
  padding: 6px; border-radius: 8px; font: 600 8.5px/1.2 'Inter', sans-serif;
  background: color-mix(in srgb, var(--cc) 10%, #FFFFFF); color: color-mix(in srgb, var(--cc) 70%, #0B0B0F);
}
.fcp-free em { font-style: normal; font-weight: 800; }

.fc-on .fcp-addr { animation: fcp-type var(--d) steps(24, end) infinite both; }
.fc-on .fcp-dot { animation: fcp-dot var(--d) ease infinite both; }
.fc-on .fcp-btn { animation: fcp-btn var(--d) var(--e) infinite both; }
.fc-on .fcp-btn b { animation: fcp-label var(--d) ease infinite both; }
.fc-on .fcp-ring { animation: fcp-ring var(--d) linear infinite both; }
.fc-on .fcp-ok { animation: fcp-ok var(--d) var(--e) infinite both; }
.fc-on .fcp-globe { animation: fcp-globe var(--d) var(--e) infinite both; }
.fc-on .fcp-pages b { animation: fcp-page var(--d) var(--e) infinite both; }
.fc-on .fcp-pages b:nth-child(2) { animation-delay: .12s; }
.fc-on .fcp-pages b:nth-child(3) { animation-delay: .24s; }
.fc-on .fcp-pages b:nth-child(4) { animation-delay: .36s; }
.fc-on .fcp-free { animation: fcp-free var(--d) var(--e) infinite both; }
.fc-on .fc-publish .fc-cur { animation: fcp-cur var(--d) var(--e) infinite both; }

@keyframes fcp-type { 0%, 50% { max-width: 0; } 68%, 100% { max-width: 24ch; } }
@keyframes fcp-dot { 0%, 66% { background: #C9C9D3; box-shadow: none; } 70% { background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .25); } 80%, 100% { background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes fcp-btn {
  0%, 20% { width: 92px; background: var(--cc); transform: translate(-50%, -50%); }
  22% { transform: translate(-50%, -50%) scale(.9); }
  25% { width: 92px; transform: translate(-50%, -50%); }
  31%, 46% { width: 32px; background: var(--cc); }
  52%, 100% { width: 32px; background: #22C55E; transform: translate(-50%, -50%); }
}
@keyframes fcp-label { 0%, 24% { opacity: 1; } 28%, 100% { opacity: 0; } }
@keyframes fcp-ring { 0%, 28% { opacity: 0; stroke-dashoffset: 57; transform: rotate(-90deg); } 31% { opacity: 1; } 46% { opacity: 1; stroke-dashoffset: 0; transform: rotate(180deg); } 49%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes fcp-ok { 0%, 48% { opacity: 0; transform: scale(.3); } 54%, 100% { opacity: 1; transform: none; } }
@keyframes fcp-globe { 0%, 52% { opacity: 0; transform: scale(.5) rotate(-60deg); } 62% { opacity: 1; transform: none; } 100% { opacity: 1; transform: rotate(25deg); } }
@keyframes fcp-page { 0%, 56% { opacity: 0; transform: translateY(8px); } 64%, 100% { opacity: 1; transform: none; } }
@keyframes fcp-free { 0%, 72% { opacity: 0; transform: translateY(10px); } 79%, 100% { opacity: 1; transform: none; } }
@keyframes fcp-cur {
  0% { opacity: 0; left: 70%; top: 82%; transform: none; }
  6% { opacity: 1; }
  19% { left: 53%; top: 33%; transform: none; }
  22% { transform: scale(.82); }
  25% { transform: none; }
  32% { opacity: 1; left: 53%; top: 33%; }
  40%, 100% { opacity: 0; left: 60%; top: 46%; }
}

/* ═══ 8 · ZOOM IN THE PREVIEWS ═════════════════════════════════ */
.fcz-pct { position: absolute; right: 8px; top: 22px; width: 46px; height: 17px; z-index: 3; }
.fcz-pct b {
  position: absolute; right: 0; top: 0; opacity: 0;
  font: 700 8.5px/1 'JetBrains Mono', ui-monospace, monospace; padding: 4px 6px; border-radius: 99px;
  background: #0B0B0F; color: #FFFFFF;
}
.fcz-view { position: absolute; left: 8px; right: 8px; top: 44px; bottom: 26px; overflow: hidden; border-radius: 8px; background: #F4F4F8; }
.fcz-page {
  position: absolute; inset: 8%; border-radius: 6px; background: #FFFFFF; transform-origin: 26% 30%;
  box-shadow: 0 8px 18px -10px rgba(11, 11, 15, .3);
}
.fcz-hero { left: 7%; top: 8%; width: 86%; height: 26%; }
.fcz-l1 { left: 7%; top: 40%; width: 60%; }
.fcz-l2 { left: 7%; top: 47%; width: 42%; }
.fcz-a { left: 7%; top: 58%; width: 41%; height: 32%; }
.fcz-b { left: 52%; top: 58%; width: 41%; height: 32%; }
.fcz-lens {
  position: absolute; left: 20%; top: 34%; width: 48px; height: 48px; border-radius: 50%; opacity: 0; z-index: 2;
  border: 2px solid var(--cc); background: color-mix(in srgb, var(--cc) 6%, transparent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--cc) 14%, transparent);
}
.fcz-lens::after { content: ''; position: absolute; right: -10px; bottom: -6px; width: 13px; height: 3px; border-radius: 2px; background: var(--cc); transform: rotate(45deg); }
.fcz-sheet {
  position: absolute; left: 50%; top: 44px; bottom: 26px; aspect-ratio: 210 / 297; transform: translateX(-50%); opacity: 0;
  display: flex; flex-direction: column; gap: 7%; padding: 11% 10%; border-radius: 4px; background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(11, 11, 15, .06), 0 12px 24px -12px color-mix(in srgb, var(--cc) 60%, transparent);
}
.fcz-sheet i { position: static; display: block; flex-shrink: 0; }
.fcz-sheet .fc-l { height: 4px; }
.fcz-sheet .fc-l:nth-child(2) { width: 64%; }
.fcz-sheet .fc-b { height: 26%; }
.fcz-tabs { position: absolute; left: 8px; right: 8px; top: 44px; display: flex; gap: 4px; }
.fcz-tabs b {
  flex: 1; text-align: center; padding: 6px 0; border-radius: 7px; opacity: 0;
  font: 700 8px/1 'Inter', sans-serif; background: #F1F1F5; color: #55555F;
}
.fcz-stack { position: absolute; left: 8px; right: 8px; top: 72px; bottom: 26px; }
.fcz-stack i {
  position: absolute; left: 0; right: 0; height: 28%; border-radius: 8px; opacity: 0;
  background: color-mix(in srgb, var(--cc) 14%, #FFFFFF); box-shadow: 0 0 0 1px color-mix(in srgb, var(--cc) 18%, transparent);
}
.fcz-stack i:nth-child(1) { top: 0; }
.fcz-stack i:nth-child(2) { top: 34%; }
.fcz-stack i:nth-child(3) { top: 68%; }

.fc-on .fcz-pct b:nth-child(1) { animation: fcz-p1 var(--d) ease infinite both; }
.fc-on .fcz-pct b:nth-child(2) { animation: fcz-p2 var(--d) ease infinite both; }
.fc-on .fcz-pct b:nth-child(3) { animation: fcz-p3 var(--d) ease infinite both; }
.fc-on .fcz-view { animation: fcz-view var(--d) ease infinite both; }
.fc-on .fcz-page { animation: fcz-zoom var(--d) var(--e) infinite both; }
.fc-on .fcz-lens { animation: fcz-lens var(--d) var(--e) infinite both; }
.fc-on .fcz-sheet { animation: fcz-sheet var(--d) var(--e) infinite both; }
.fc-on .fcz-tabs b:nth-child(1) { animation: fcz-t1 var(--d) ease infinite both; }
.fc-on .fcz-tabs b:nth-child(2) { animation: fcz-t2 var(--d) ease infinite both; }
.fc-on .fcz-tabs b:nth-child(3) { animation: fcz-t3 var(--d) ease infinite both; }
.fc-on .fcz-stack i { animation: fcz-deal var(--d) var(--e) infinite both; }
.fc-on .fcz-stack i:nth-child(2) { animation-delay: .08s; }
.fc-on .fcz-stack i:nth-child(3) { animation-delay: .16s; }

@keyframes fcz-p1 { 0%, 8% { opacity: 1; } 10%, 100% { opacity: 0; } }
@keyframes fcz-p2 { 0%, 9% { opacity: 0; } 11%, 31% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes fcz-p3 { 0%, 32% { opacity: 0; } 34%, 63% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes fcz-view { 0%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes fcz-zoom { 0%, 7% { transform: none; opacity: 1; } 27%, 31% { transform: scale(1.9); opacity: 1; } 40%, 100% { transform: scale(.7); opacity: 0; } }
@keyframes fcz-lens { 0%, 4% { opacity: 0; transform: scale(.6); } 10%, 24% { opacity: 1; transform: none; } 30%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes fcz-sheet { 0%, 33% { opacity: 0; transform: translateX(-50%) scale(.85); } 42%, 61% { opacity: 1; transform: translateX(-50%); } 66%, 100% { opacity: 0; transform: translateX(-50%) scale(.92); } }
@keyframes fcz-t1 { 0%, 65% { opacity: 0; } 68%, 77% { opacity: 1; background: var(--cc); color: #FFFFFF; } 79%, 100% { opacity: 1; background: #F1F1F5; color: #55555F; } }
@keyframes fcz-t2 { 0%, 65% { opacity: 0; } 68%, 78% { opacity: 1; background: #F1F1F5; color: #55555F; } 80%, 88% { opacity: 1; background: var(--cc); color: #FFFFFF; } 90%, 100% { opacity: 1; background: #F1F1F5; color: #55555F; } }
@keyframes fcz-t3 { 0%, 65% { opacity: 0; } 68%, 89% { opacity: 1; background: #F1F1F5; color: #55555F; } 91%, 100% { opacity: 1; background: var(--cc); color: #FFFFFF; } }
@keyframes fcz-deal {
  0%, 67% { opacity: 0; transform: translateY(10px); }
  71%, 77% { opacity: 1; transform: none; background: color-mix(in srgb, #7C5CFF 16%, #FFFFFF); }
  79% { opacity: 0; transform: translateX(-12px); }
  81%, 88% { opacity: 1; transform: none; background: color-mix(in srgb, var(--cc) 18%, #FFFFFF); }
  90% { opacity: 0; transform: translateX(-12px); }
  92%, 100% { opacity: 1; transform: none; background: color-mix(in srgb, #2BB5A0 18%, #FFFFFF); }
}

/* ═══════════════════════════════════════════════════════════════
   HOW TO USE — an editor at work, 10 seconds, four steps
   ═══════════════════════════════════════════════════════════════ */
.hu-thumb.fc-has { background: #0B0C10; }
.ft {
  --d: 10s;
  --e: cubic-bezier(.22, 1, .36, 1);
  position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 0%, rgba(109, 74, 255, .30), transparent 70%), #0B0C10;
  font-family: 'Inter', system-ui, sans-serif; text-align: left;
}
.ft * { box-sizing: border-box; }
.hu-thumb.fc-has .hu-play { z-index: 9; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .2s, transform .25s; }
.hu-card:hover .hu-thumb.fc-has .hu-play,
.hu-card:focus-visible .hu-thumb.fc-has .hu-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.ft-top {
  position: absolute; left: 0; right: 0; top: 0; height: 11%;
  display: flex; align-items: center; gap: 2.5%; padding: 0 3%;
  border-bottom: 1px solid #20212B; background: #101118;
}
.ft-logo { width: 4%; aspect-ratio: 1; border-radius: 3px; background: #EDEDF2; }
.ft-name { width: 13%; height: 24%; border-radius: 3px; background: #2A2B36; }
.ft-tool { width: 3.4%; aspect-ratio: 1; border-radius: 3px; background: #23242E; }
.ft-btn {
  margin-left: auto; padding: 3px 7px; border-radius: 99px; white-space: nowrap;
  font: 700 7.5px/1 'Inter', sans-serif; color: #FFFFFF; background: linear-gradient(135deg, #6D4AFF, #A78BFA);
}
.ft-rail {
  position: absolute; left: 0; top: 11%; bottom: 0; width: 6%;
  display: flex; flex-direction: column; align-items: center; gap: 6%; padding-top: 3%;
  border-right: 1px solid #20212B; background: #101118;
}
.ft-rail i { width: 50%; aspect-ratio: 1; border-radius: 3px; background: #262734; }
.ft-rail i:first-child { background: #6D4AFF; }
.ft-side {
  position: absolute; right: 0; top: 11%; bottom: 0; width: 18%;
  display: flex; flex-direction: column; gap: 5%; padding: 5% 9%;
  border-left: 1px solid #20212B; background: #101118;
}
.ft-side i { display: block; height: 4px; border-radius: 2px; background: #262734; }
.ft-side i:nth-child(1) { width: 60%; background: #3A3B4A; }
.ft-side i:nth-child(2) { width: 90%; }
.ft-side i:nth-child(3) { width: 75%; }
.ft-side i:nth-child(4) { width: 100%; height: 14px; border-radius: 3px; }
.ft-side i:nth-child(5) { width: 50%; }
.ft-canvas { position: absolute; left: 9%; right: 21%; top: 15%; bottom: 15%; }

.ft-steps {
  position: absolute; left: 50%; bottom: 4.5%; transform: translateX(-50%); z-index: 7;
  display: flex; gap: 2px; padding: 3px; border-radius: 99px; white-space: nowrap;
  background: rgba(20, 21, 30, .8); box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 10px 22px -10px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ft-steps span {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px 3px 3px; border-radius: 99px;
  font: 600 7.5px/1 'Inter', sans-serif; color: #9A9AA6;
}
.ft-steps em {
  width: 12px; height: 12px; border-radius: 50%; display: grid; place-items: center;
  font: 700 6.5px/1 'Inter', sans-serif; font-style: normal; background: #262734; color: #C9CBD4;
}
.ft-steps span:nth-child(2) { background: #C9F26B; color: #0B0B0F; }            /* still frame */
.ft-steps span:nth-child(2) em { background: #0B0B0F; color: #C9F26B; }
.fc-on .ft-steps span { animation: ft-s var(--d) ease infinite both; }
.fc-on .ft-steps span em { animation: ft-se var(--d) ease infinite both; }
.fc-on .ft-steps span:nth-child(2), .fc-on .ft-steps span:nth-child(2) em { animation-delay: -7.5s; }
.fc-on .ft-steps span:nth-child(3), .fc-on .ft-steps span:nth-child(3) em { animation-delay: -5s; }
.fc-on .ft-steps span:nth-child(4), .fc-on .ft-steps span:nth-child(4) em { animation-delay: -2.5s; }
/* One keyframe for all four: lit for the first quarter of its cycle, and
   each later step starts its cycle a quarter earlier. */
@keyframes ft-s { 0%, 24% { background: #C9F26B; color: #0B0B0F; } 26%, 100% { background: transparent; color: #9A9AA6; } }
@keyframes ft-se { 0%, 24% { background: #0B0B0F; color: #C9F26B; } 26%, 100% { background: #262734; color: #C9CBD4; } }

.ft-cur { position: absolute; z-index: 8; left: 60%; top: 60%; display: flex; align-items: flex-start; opacity: 0; pointer-events: none; }
.ft-cur svg { width: 13px; height: 13px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.ft-cur b {
  margin: 10px 0 0 -3px; padding: 2px 5px; border-radius: 99px;
  font: 700 6.5px/1 'Inter', sans-serif; background: #6D4AFF; color: #FFFFFF;
}

/* ── website: board → link → play → export ─────────────────────── */
.ftw-p {
  position: absolute; width: 26%; height: 34%; border-radius: 4px; background: #F5F5F8;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 16px -8px rgba(0, 0, 0, .7);
}
.ftw-p.p1 { left: 2%; top: 10%; }
.ftw-p.p2 { left: 37%; top: 10%; }
.ftw-p.p3 { left: 72%; top: 10%; }
.ftw-p.p4 { left: 19.5%; top: 58%; }
.ftw-p.p5 { left: 54.5%; top: 58%; }
.ftw-p u { position: absolute; left: 0; top: -11px; text-decoration: none; font: 600 6.5px/1 'Inter', sans-serif; color: #9A9AA6; }
.ftw-p i { position: absolute; display: block; border-radius: 2px; }
.ftw-p .h { left: 8%; top: 8%; width: 84%; height: 9%; background: #1B1C26; }
.ftw-p .l1 { left: 8%; top: 26%; width: 62%; height: 6%; background: #CFCFDA; }
.ftw-p .l2 { left: 8%; top: 37%; width: 44%; height: 6%; background: #CFCFDA; }
.ftw-p .c1 { left: 8%; top: 56%; width: 39%; height: 34%; background: #DDD6FF; }
.ftw-p .c2 { left: 53%; top: 56%; width: 39%; height: 34%; background: #DDD6FF; }
.ftw-p.p2 .c1, .ftw-p.p2 .c2 { background: #CFF5EC; }
.ftw-p.p3 .c1, .ftw-p.p3 .c2 { background: #FFE2D1; }
.ftw-btn {
  position: absolute; left: 6%; top: 30%; padding: 2px 4px; border-radius: 99px; white-space: nowrap; z-index: 2;
  font: 700 5.5px/1 'Inter', sans-serif; background: #6D4AFF; color: #FFFFFF;
}
.ftw-link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 2; }
.ftw-link path { fill: none; stroke: #C9F26B; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 0; }
.ftw-tag {
  position: absolute; left: 29%; top: 45%; z-index: 3; padding: 2px 5px; border-radius: 99px; white-space: nowrap;
  font: 700 6px/1 'Inter', sans-serif; background: #C9F26B; color: #0B0B0F;
}
.ftw-play {
  position: absolute; inset: -4% -3%; z-index: 4; overflow: hidden; border-radius: 8px; opacity: 0;
  background: #0E0F15; box-shadow: 0 0 0 1px #2A2B36;
}
.ftw-pchip {
  position: absolute; left: 4%; top: 5%; padding: 3px 6px; border-radius: 99px;
  font: 700 6.5px/1 'Inter', sans-serif; background: #C9F26B; color: #0B0B0F;
}
.ftw-big { position: absolute; left: 14%; right: 14%; top: 17%; bottom: 9%; overflow: hidden; border-radius: 6px; background: #F5F5F8; }
.ftw-big i { position: absolute; display: block; border-radius: 3px; }
.ftw-big .h { left: 0; right: 0; top: 0; height: 10%; border-radius: 0; background: #1B1C26; }
.ftw-big .t { left: 7%; top: 20%; width: 56%; height: 11%; background: #0B0B0F; }
.ftw-big .t2 { left: 7%; top: 36%; width: 22%; height: 9%; border-radius: 99px; background: #6D4AFF; }
.ftw-big .k { left: 7%; top: 56%; width: 40%; height: 34%; background: #DDD6FF; }
.ftw-big .k2 { left: 53%; }
.ftw-big.b2 .t2 { background: #2BB5A0; }
.ftw-big.b2 .k { background: #CFF5EC; }
.ftw-big.b2 { transform: translateX(118%); }
.ftw-zip {
  position: absolute; left: 50%; top: 42%; z-index: 5; transform: translate(-50%, -50%); opacity: 0;
  display: flex; align-items: center; gap: 6px; padding: 6px 9px 6px 6px; border-radius: 10px; white-space: nowrap;
  background: #15161F; box-shadow: 0 0 0 1px #2A2B36, 0 16px 30px -12px rgba(109, 74, 255, .7);
}
.ftw-zip i {
  position: relative; width: 17px; height: 21px; border-radius: 3px; display: block;
  background: linear-gradient(160deg, #6D4AFF, #A78BFA);
}
.ftw-zip i::after { content: ''; position: absolute; left: 50%; top: 3px; width: 3px; height: 10px; margin-left: -1.5px; background: repeating-linear-gradient(180deg, #FFFFFF 0 2px, transparent 2px 4px); }
.ftw-zip b { font: 700 8px/1 'JetBrains Mono', ui-monospace, monospace; color: #FFFFFF; }
.ftw-zip em { display: inline-flex; align-items: center; gap: 2px; font: 700 7px/1 'Inter', sans-serif; font-style: normal; color: #C9F26B; }
.ftw-zip em svg { width: 9px; height: 9px; }

.fc-on .ftw-p { animation: ftw-in var(--d) var(--e) infinite both; }
.fc-on .ftw-p.p2 { animation: ftw-in var(--d) var(--e) .12s infinite both, ftw-hit var(--d) ease .12s infinite both; }
.fc-on .ftw-p.p3 { animation-delay: .24s; }
.fc-on .ftw-p.p4 { animation-delay: .36s; }
.fc-on .ftw-p.p5 { animation-delay: .48s; }
.fc-on .ftw-btn { animation: ftw-btn var(--d) var(--e) infinite both; }
.fc-on .ftw-link path { animation: ftw-link var(--d) ease-in-out infinite both; }
.fc-on .ftw-tag { animation: ftw-tag var(--d) var(--e) infinite both; }
.fc-on .ftw-play { animation: ftw-play var(--d) var(--e) infinite both; }
.fc-on .ftw-big.b1 { animation: ftw-b1 var(--d) var(--e) infinite both; }
.fc-on .ftw-big.b2 { animation: ftw-b2 var(--d) var(--e) infinite both; }
.fc-on .ft-website .ft-btn { animation: ft-press4 var(--d) ease infinite both; }
.fc-on .ftw-zip { animation: ftw-zip var(--d) var(--e) infinite both; }
.fc-on .ft-website .ft-cur { animation: ftw-cur var(--d) var(--e) infinite both; }

@keyframes ftw-in {
  0% { opacity: 0; transform: translateY(16%) scale(.7); } 2% { opacity: 0; } 11%, 78% { opacity: 1; transform: none; }
  85%, 100% { opacity: 0; transform: translate(var(--px, 0), var(--py, 0)) scale(.3); }
}
.ftw-p.p1 { --px: 135%; --py: 68%; }
.ftw-p.p2 { --px: 0%; --py: 68%; }
.ftw-p.p3 { --px: -135%; --py: 68%; }
.ftw-p.p4 { --px: 67%; --py: -74%; }
.ftw-p.p5 { --px: -67%; --py: -74%; }
@keyframes ftw-hit {
  0%, 42% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 16px -8px rgba(0, 0, 0, .7); }
  45%, 49% { box-shadow: 0 0 0 2px #C9F26B, 0 8px 22px -6px rgba(201, 242, 107, .55); }
  53%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 16px -8px rgba(0, 0, 0, .7); }
}
@keyframes ftw-btn { 0%, 10% { opacity: 0; } 14%, 77% { opacity: 1; } 81%, 100% { opacity: 0; } }
@keyframes ftw-link { 0%, 31% { stroke-dashoffset: 100; opacity: 0; } 32% { opacity: 1; } 44%, 77% { stroke-dashoffset: 0; opacity: 1; } 81%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ftw-tag { 0%, 43% { opacity: 0; transform: scale(.6); } 47%, 77% { opacity: 1; transform: none; } 81%, 100% { opacity: 0; transform: none; } }
@keyframes ftw-play { 0%, 49% { opacity: 0; transform: scale(.96); } 53%, 73% { opacity: 1; transform: none; } 77%, 100% { opacity: 0; transform: scale(.98); } }
@keyframes ftw-b1 { 0%, 60% { transform: none; } 67%, 100% { transform: translateX(-118%); } }
@keyframes ftw-b2 { 0%, 60% { transform: translateX(118%); } 67%, 100% { transform: none; } }
@keyframes ft-press4 { 0%, 80% { transform: none; box-shadow: none; } 82% { transform: scale(.88); } 85%, 96% { transform: none; box-shadow: 0 0 0 3px rgba(201, 242, 107, .45); } 100% { box-shadow: none; } }
@keyframes ftw-zip { 0%, 84% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 89%, 98% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(-50%, -50%); } }
@keyframes ftw-cur {
  0%, 12% { opacity: 0; left: 50%; top: 72%; transform: none; }
  16% { opacity: 1; left: 40%; top: 62%; }
  27% { left: 14.6%; top: 38%; transform: none; }
  29% { transform: scale(.82); }
  31% { left: 14.6%; top: 38%; }
  44% { left: 34.9%; top: 32.5%; transform: scale(.82); }
  47% { left: 34.9%; top: 32.5%; transform: none; }
  56% { left: 21%; top: 45%; }
  58% { transform: scale(.82); }
  60% { transform: none; left: 21%; top: 45%; }
  72% { left: 62%; top: 30%; }
  80% { left: 88%; top: 4.5%; transform: none; }
  82% { transform: scale(.82); }
  84% { transform: none; opacity: 1; left: 88%; top: 4.5%; }
  92%, 100% { opacity: 0; left: 88%; top: 4.5%; }
}

/* ── portfolio: template → edit → pages → publish ──────────────── */
.ftp-grid {
  position: absolute; left: 6%; right: 6%; top: 4%; bottom: 20%; opacity: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 7%;
}
.ftp-grid i {
  display: block; border-radius: 4px;
  background:
    linear-gradient(#1B1C26 0 0) 10% 12% / 52% 9% no-repeat,
    linear-gradient(#CFCFDA 0 0) 10% 32% / 70% 6% no-repeat,
    linear-gradient(#DDD6FF 0 0) 10% 82% / 80% 34% no-repeat,
    #F5F5F8;
  box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .7);
}
.ftp-grid i:nth-child(2n) { background-color: #FFF4EC; }
.ftp-grid i:nth-child(3n) { background-color: #EEFBF7; }
.ftp-page {
  position: absolute; left: 20%; right: 20%; top: 2%; bottom: 12%; overflow: hidden; border-radius: 5px;
  background: #F5F5F8; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .8); transform-origin: 82% 18%;
}
.ftp-page > i { position: absolute; display: block; border-radius: 3px; }
.ftp-page .ph { left: 0; right: 0; top: 0; height: 11%; border-radius: 0; background: #E9E5FF; }
.ftp-page .pl1 { left: 10%; top: 40%; width: 64%; height: 5%; background: #CFCFDA; }
.ftp-page .pl2 { left: 10%; top: 48%; width: 46%; height: 5%; background: #CFCFDA; }
.ftp-page .pk1, .ftp-page .pk2, .ftp-page .pk3 { top: 62%; width: 25%; height: 28%; background: #DDD6FF; }
.ftp-page .pk1 { left: 10%; }
.ftp-page .pk2 { left: 37.5%; background: #FFE2D1; }
.ftp-page .pk3 { left: 65%; background: #CFF5EC; }
.ftp-name {
  position: absolute; left: 10%; top: 18%; height: 15%; min-width: 50%; padding: 0 3px;
  display: flex; align-items: center; font: 800 12px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -.02em; color: #0B0B0F;
}
.ftp-name s, .ftp-name b { position: absolute; left: 3px; text-decoration: none; white-space: nowrap; }
.ftp-name s { opacity: 0; color: #9A9AA6; }
.ftp-sel { position: absolute; inset: -2px; border: 1.5px solid #6D4AFF; border-radius: 3px; opacity: 0; }
.ftp-pages { position: absolute; left: 3%; top: 6%; display: flex; flex-direction: column; gap: 4px; }
.ftp-pages b {
  width: 16px; height: 13px; border-radius: 3px; display: grid; place-items: center; overflow: hidden;
  font: 700 6.5px/1 'Inter', sans-serif; background: #20212B; color: #C9CBD4;
}
.ftp-pages b:first-child { background: #6D4AFF; color: #FFFFFF; }
.ftp-pages .plus { background: transparent; box-shadow: inset 0 0 0 1px #3A3B4A; color: #C9F26B; }
.ftp-live {
  position: absolute; left: 50%; top: 2.6%; z-index: 4; transform: translateX(-50%); opacity: 0;
  display: flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; white-space: nowrap;
  background: #0B0C10; box-shadow: 0 0 0 1px #2E2F3C, 0 14px 28px -10px rgba(109, 74, 255, .8);
}
.ftp-live svg { width: 12px; height: 12px; fill: none; stroke: #C9F26B; stroke-width: 1.6; }
.ftp-live span { font: 600 7.5px/1 'JetBrains Mono', ui-monospace, monospace; color: #FFFFFF; }
.ftp-live i { width: 5px; height: 5px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }

.fc-on .ftp-grid { animation: ftp-grid var(--d) ease infinite both; }
.fc-on .ftp-grid i { animation: ftp-tile var(--d) var(--e) infinite both; }
.fc-on .ftp-grid i:nth-child(2) { animation-delay: .06s; }
.fc-on .ftp-grid i:nth-child(3) { animation: ftp-tile var(--d) var(--e) .12s infinite both, ftp-pick var(--d) ease .12s infinite both; }
.fc-on .ftp-grid i:nth-child(4) { animation-delay: .18s; }
.fc-on .ftp-grid i:nth-child(5) { animation-delay: .24s; }
.fc-on .ftp-grid i:nth-child(6) { animation-delay: .30s; }
.fc-on .ftp-page { animation: ftp-page var(--d) var(--e) infinite both; }
.fc-on .ftp-name s { animation: ftp-old var(--d) ease infinite both; }
.fc-on .ftp-name b { animation: ftp-new var(--d) steps(8, end) infinite both; }
.fc-on .ftp-sel { animation: ftp-sel var(--d) ease infinite both; }
.fc-on .ftp-pages .n2 { animation: ftp-n2 var(--d) var(--e) infinite both; }
.fc-on .ftp-pages .n3 { animation: ftp-n3 var(--d) var(--e) infinite both; }
.fc-on .ft-portfolio .ft-btn { animation: ft-press4 var(--d) ease infinite both; }
.fc-on .ftp-live { animation: ftp-live var(--d) var(--e) infinite both; }
.fc-on .ft-portfolio .ft-cur { animation: ftp-cur var(--d) var(--e) infinite both; }

@keyframes ftp-grid { 0%, 17% { opacity: 1; } 22%, 100% { opacity: 0; } }
@keyframes ftp-tile { 0% { opacity: 0; transform: translateY(10px); } 7%, 100% { opacity: 1; transform: none; } }
@keyframes ftp-pick { 0%, 10% { box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .7); } 12%, 18% { box-shadow: 0 0 0 2px #C9F26B, 0 8px 18px -6px rgba(201, 242, 107, .6); } }
@keyframes ftp-page { 0%, 15% { opacity: 0; transform: scale(.3); } 17% { opacity: 1; } 24%, 100% { opacity: 1; transform: none; } }
@keyframes ftp-old { 0%, 33% { opacity: 1; } 35%, 100% { opacity: 0; } }
@keyframes ftp-new { 0%, 35% { clip-path: inset(0 100% 0 0); } 46%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ftp-sel { 0%, 29% { opacity: 0; } 31%, 49% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes ftp-n2 { 0%, 55% { width: 0; opacity: 0; margin-top: -4px; } 58%, 100% { width: 16px; opacity: 1; margin-top: 0; } }
@keyframes ftp-n3 { 0%, 61% { width: 0; opacity: 0; margin-top: -4px; } 64%, 100% { width: 16px; opacity: 1; margin-top: 0; } }
@keyframes ftp-live { 0%, 82% { opacity: 0; transform: translate(-50%, 8px) scale(.92); } 87%, 100% { opacity: 1; transform: translate(-50%, 0); } }
@keyframes ftp-cur {
  0%, 5% { opacity: 0; left: 50%; top: 80%; transform: none; }
  8% { opacity: 1; left: 54%; top: 62%; }
  12% { left: 64.5%; top: 31%; transform: none; }
  13% { transform: scale(.82); }
  15% { transform: none; left: 64.5%; top: 31%; }
  26% { left: 32%; top: 40%; }
  30% { left: 28.6%; top: 31.5%; transform: none; }
  31% { transform: scale(.82); }
  33% { transform: none; }
  47% { left: 28.6%; top: 31.5%; }
  54% { left: 13.2%; top: 43.7%; transform: none; }
  55% { transform: scale(.82); }
  56% { transform: none; }
  60% { left: 13.2%; top: 43.7%; transform: none; }
  61% { transform: scale(.82); }
  62% { transform: none; }
  72% { left: 60%; top: 22%; }
  79% { left: 89%; top: 4.5%; transform: none; }
  81% { transform: scale(.82); }
  83% { transform: none; opacity: 1; left: 89%; top: 4.5%; }
  92%, 100% { opacity: 0; left: 89%; top: 4.5%; }
}

/* ── resume: layout → type → reorder → PDF ─────────────────────── */
.ftr-pick { position: absolute; left: 2%; top: 4%; display: flex; flex-direction: column; gap: 6px; }
.ftr-pick i {
  display: block; width: 24px; height: 32px; border-radius: 3px; background: #F5F5F8;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
}
.ftr-pick .o1 { background: linear-gradient(90deg, #1B1C26 0 32%, #F5F5F8 32%); }
.ftr-pick .o2 { background: linear-gradient(180deg, #6D4AFF 0 22%, #F5F5F8 22%); box-shadow: 0 0 0 2px #C9F26B; }
.ftr-sheet {
  position: absolute; left: 50%; top: 2%; bottom: 14%; aspect-ratio: 210 / 297; transform: translateX(-50%); overflow: hidden;
  border-radius: 3px; background: #F7F7FA; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .85);
}
.ftr-band { position: absolute; left: 0; right: 0; top: 0; height: 21%; background: linear-gradient(135deg, #6D4AFF, #A78BFA); }
.ftr-side { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #1B1C26; }
.ftr-name {
  position: absolute; left: 10%; top: 6%; height: 10px; min-width: 60%;
  font: 800 9px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -.01em; color: #FFFFFF;
}
.ftr-name s, .ftr-name b, .ftr-role b { position: absolute; left: 0; top: 0; text-decoration: none; white-space: nowrap; }
.ftr-name s { opacity: 0; }
.ftr-role { position: absolute; left: 10%; top: 13%; height: 8px; min-width: 60%; font: 600 5.5px/1 'Inter', sans-serif; color: rgba(255, 255, 255, .82); }
.ftr-sec { position: absolute; left: 10%; right: 8%; padding: 3px 3px 4px; border-radius: 3px; }
.ftr-sec u {
  display: block; margin-bottom: 4px; padding-bottom: 2px; text-decoration: none;
  font: 800 6px/1 'Inter', sans-serif; color: #0B0B0F; border-bottom: 1px solid #DCD6FF;
}
.ftr-sec i { display: block; height: 3px; margin-top: 4px; border-radius: 2px; background: #D3D3DD; }
.ftr-sec i:nth-of-type(2) { width: 80%; }
.ftr-sec i:nth-of-type(3) { width: 64%; }
.ftr-sec.edu { top: 62%; }
.ftr-sec.exp { top: 29%; }
.ftr-pdf { position: absolute; right: 2%; top: 28%; display: flex; flex-direction: column; align-items: center; gap: 3px; opacity: 0; }
.ftr-pdf i {
  position: relative; display: grid; place-items: end center; width: 24px; height: 30px; padding-bottom: 4px; border-radius: 3px;
  font: 800 6px/1 'Inter', sans-serif; font-style: normal; background: #FFFFFF; color: #FF5C5C;
  box-shadow: 0 10px 18px -8px rgba(255, 92, 92, .7);
}
.ftr-pdf b { font: 700 6.5px/1 'JetBrains Mono', ui-monospace, monospace; color: #C9CBD4; }
.ftr-pdf em { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: #C9F26B; color: #0B0B0F; }
.ftr-pdf em svg { width: 9px; height: 9px; }

.fc-on .ftr-pick .o1 { animation: ftr-o1 var(--d) ease infinite both; }
.fc-on .ftr-pick .o2 { animation: ftr-o2 var(--d) ease infinite both; }
.fc-on .ftr-side { animation: ftr-side var(--d) var(--e) infinite both; }
.fc-on .ftr-band { animation: ftr-band var(--d) var(--e) infinite both; }
.fc-on .ftr-name { animation: ftr-namepos var(--d) var(--e) infinite both; }
.fc-on .ftr-role { animation: ftr-rolepos var(--d) var(--e) infinite both; }
.fc-on .ftr-name s { animation: ftr-old var(--d) ease infinite both; }
.fc-on .ftr-name b { animation: ftr-new var(--d) steps(10, end) infinite both; }
.fc-on .ftr-role b { animation: ftr-role var(--d) steps(16, end) infinite both; }
.fc-on .ftr-sec.edu { animation: ftr-edu var(--d) var(--e) infinite both; }
.fc-on .ftr-sec.exp { animation: ftr-exp var(--d) var(--e) infinite both; }
.fc-on .ft-resume .ft-btn { animation: ft-press4 var(--d) ease infinite both; }
.fc-on .ftr-pdf { animation: ftr-pdf var(--d) var(--e) infinite both; }
.fc-on .ft-resume .ft-cur { animation: ftr-cur var(--d) var(--e) infinite both; }

@keyframes ftr-o1 { 0%, 9% { box-shadow: 0 0 0 2px #C9F26B; } 11%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); } }
@keyframes ftr-o2 { 0%, 9% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); } 11%, 100% { box-shadow: 0 0 0 2px #C9F26B; } }
@keyframes ftr-side { 0%, 10% { width: 32%; } 17%, 100% { width: 0; } }
@keyframes ftr-band { 0%, 10% { height: 0; } 17%, 100% { height: 21%; } }
@keyframes ftr-namepos { 0%, 10% { left: 38%; color: #0B0B0F; } 17%, 100% { left: 10%; color: #FFFFFF; } }
@keyframes ftr-rolepos { 0%, 10% { left: 38%; color: #55555F; } 17%, 100% { left: 10%; color: rgba(255, 255, 255, .82); } }
@keyframes ftr-old { 0%, 31% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes ftr-new { 0%, 33% { clip-path: inset(0 100% 0 0); } 42%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ftr-role { 0%, 42% { clip-path: inset(0 100% 0 0); } 49%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ftr-edu {
  0%, 10% { left: 38%; top: 29%; }
  17%, 56% { left: 10%; top: 29%; }
  66%, 100% { left: 10%; top: 62%; }
}
@keyframes ftr-exp {
  0%, 10% { left: 38%; top: 54%; background: transparent; box-shadow: none; transform: none; }
  17%, 55% { left: 10%; top: 54%; background: transparent; box-shadow: none; transform: none; }
  58% { background: #FFFFFF; box-shadow: 0 8px 16px -6px rgba(109, 74, 255, .5); transform: scale(1.04); }
  66% { left: 10%; top: 29%; background: #FFFFFF; transform: scale(1.04); }
  70%, 100% { left: 10%; top: 29%; background: transparent; box-shadow: none; transform: none; }
}
@keyframes ftr-pdf { 0%, 82% { opacity: 0; transform: translateY(-14px); } 87%, 100% { opacity: 1; transform: none; } }
@keyframes ftr-cur {
  0%, 3% { opacity: 0; left: 40%; top: 72%; transform: none; }
  5% { opacity: 1; }
  9% { left: 13.6%; top: 40.9%; transform: none; }
  10% { transform: scale(.82); }
  12% { transform: none; left: 13.6%; top: 40.9%; }
  24% { left: 34%; top: 30%; }
  28% { left: 35.6%; top: 21.1%; transform: none; }
  29% { transform: scale(.82); }
  31% { transform: none; }
  50% { left: 35.6%; top: 21.1%; }
  55% { left: 36%; top: 49.9%; transform: none; }
  57% { transform: scale(.82); }
  66% { left: 36%; top: 34.6%; transform: scale(.82); }
  68% { transform: none; }
  74% { left: 62%; top: 22%; }
  79% { left: 86%; top: 4.5%; transform: none; }
  81% { transform: scale(.82); }
  83% { transform: none; opacity: 1; left: 86%; top: 4.5%; }
  92%, 100% { opacity: 0; left: 86%; top: 4.5%; }
}

/* ── small screens: smaller type in the walkthrough clips ─────── */
@media (max-width: 420px) {
  .ft-steps span { padding: 3px 5px 3px 3px; font-size: 6.5px; }
  .ft-btn { font-size: 6.5px; }
}

/* ── reduced motion ──────────────────────────────────────────────
   The What's-new clips are never wired, and the walkthrough clips are
   never started — their resting styles are a finished still frame. */
@media (prefers-reduced-motion: reduce) {
  .fc-clip, .fc-hint { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   WHO IT'S FOR — a template of each trade, built in five seconds
   A tinted screen across the top of the card (the What's-new build),
   with a small window inside it. It is always there; it plays while
   the card is on screen, and rests on the finished template.
   ═══════════════════════════════════════════════════════════════ */
.pc-clip {
  --d: 5s;
  --e: cubic-bezier(.22, 1, .36, 1);
  --ac: var(--accent, #7C5CFF);
  --cc: var(--pc, var(--accent, #7C5CFF));
  position: absolute; inset: 8px 8px auto 8px; height: 172px; z-index: 1;
  border-radius: 18px; overflow: hidden; pointer-events: none;   /* the tinted panel behind it is the card's ::before (canvas.css) */
  font-family: 'Inter', system-ui, sans-serif; text-align: left;
}
.pc-clip * { box-sizing: border-box; }
/* The card lifts on hover; the window inside lifts a little further. */
.pc-clip .pc-win { transition: transform .45s var(--e); }
.prof-card:hover .pc-clip .pc-win { transform: translateY(-3px) scale(1.02); }
/* Phones: the cards are two up, so the screen is smaller. The window's
   contents are sized in fixed pixels for a wider box, so the window is
   drawn at full size and scaled down to fit. */
@media (max-width: 640px) {
  .pc-clip { inset: 6px 6px auto 6px; height: 110px; border-radius: 13px; }
  .pc-clip .pc-win { inset: auto; left: 50%; top: 9px; width: 190px; height: 128px; margin-left: -95px; transform: scale(.7); transform-origin: 50% 0; }
  .prof-card:hover .pc-clip .pc-win { transform: scale(.7); }
  .pc-clip .pc-bar { left: 12px; right: 12px; bottom: 5px; }
}

.pc-win {
  position: absolute; inset: 16px 20px 20px; overflow: hidden; border-radius: 12px; background: #FFFFFF;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac) 18%, transparent), 0 14px 26px -14px color-mix(in srgb, var(--ac) 60%, transparent);
}
.pc-win.dark { background: #0F1020; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 14px 26px -14px color-mix(in srgb, var(--ac) 70%, transparent); }
.pc-bar {
  position: absolute; left: 20px; right: 20px; bottom: 9px; height: 2px; border-radius: 2px;
  background: var(--ac); transform: scaleX(0); transform-origin: left; opacity: .85;
}
.fc-on .pc-bar { animation: fc-bar var(--d) linear infinite; }

/* shared beats — A builds 2–22%, B 34–50%, C 64–80% */
@keyframes pc-in  { 0%, 3% { opacity: 0; transform: translateY(6px); } 14%, 100% { opacity: 1; transform: none; } }
@keyframes pc-inB { 0%, 34% { opacity: 0; transform: translateY(6px) scale(.94); } 46%, 100% { opacity: 1; transform: none; } }
@keyframes pc-inC { 0%, 64% { opacity: 0; transform: translateY(6px) scale(.9); } 76%, 100% { opacity: 1; transform: none; } }
@keyframes pc-grow { 0%, 34% { transform: scaleY(0); } 50%, 100% { transform: scaleY(1); } }

/* developer */
.pcd-term { position: absolute; left: 8%; top: 11%; max-width: 23ch; overflow: hidden; white-space: nowrap; font: 500 7.5px/1 'JetBrains Mono', ui-monospace, monospace; color: #E9E9F0; }
.pcd-term em { font-style: normal; color: #C9F26B; }
.pcd-ok { position: absolute; left: 8%; top: 25%; font: 600 6.5px/1 'JetBrains Mono', ui-monospace, monospace; color: #C9F26B; }
.pcd-repos { position: absolute; left: 8%; right: 8%; top: 40%; display: flex; gap: 6%; }
.pcd-repos b {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; padding: 5px 6px; border-radius: 6px; overflow: hidden; white-space: nowrap;
  background: #1B1C2E; box-shadow: inset 0 0 0 1px #2A2B40; font: 600 6.5px/1 'Inter', sans-serif; color: #E9E9F0;
}
.pcd-repos i { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); flex-shrink: 0; }
.pcd-repos u { margin-left: auto; text-decoration: none; font-weight: 700; color: #C9BCFF; }
.pcd-pills { position: absolute; left: 8%; right: 8%; top: 70%; display: flex; gap: 4px; }
.pcd-pills b { font: 700 6.5px/1 'Inter', sans-serif; padding: 3px 6px; border-radius: 99px; background: color-mix(in srgb, var(--ac) 30%, #0F1020); color: color-mix(in srgb, var(--ac) 25%, #FFFFFF); }
.fc-on .pcd-term { animation: pcd-type var(--d) steps(22, end) infinite both; }
.fc-on .pcd-ok { animation: pcd-ok var(--d) ease infinite both; }
.fc-on .pcd-repos b { animation: pc-inB var(--d) var(--e) infinite both; }
.fc-on .pcd-repos b:nth-child(2) { animation-delay: .15s; }
.fc-on .pcd-pills b { animation: pc-inC var(--d) var(--e) infinite both; }
.fc-on .pcd-pills b:nth-child(2) { animation-delay: .1s; }
.fc-on .pcd-pills b:nth-child(3) { animation-delay: .2s; }
.fc-on .pcd-pills b:nth-child(4) { animation-delay: .3s; }
@keyframes pcd-type { 0%, 3% { max-width: 0; } 22%, 100% { max-width: 23ch; } }
@keyframes pcd-ok { 0%, 23% { opacity: 0; } 27%, 100% { opacity: 1; } }

/* designer */
.pcg-side { position: absolute; left: 0; top: 0; bottom: 0; width: 26%; display: flex; flex-direction: column; gap: 9%; padding: 14% 10%; background: #16121F; }
.pcg-side i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .32); }
.pcg-side i:first-child { width: 70%; height: 5px; background: var(--ac); }
.pcg-side i:last-child { width: 55%; }
.pcg-grid { position: absolute; left: 32%; right: 6%; top: 10%; height: 52%; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; }
.pcg-grid i { border-radius: 5px; background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 60%, #FFFFFF), color-mix(in srgb, var(--ac) 18%, #FFFFFF)); }
.pcg-grid i:nth-child(2) { background: linear-gradient(135deg, #DDF59A, #F6FCE4); }
.pcg-grid i:nth-child(3) { background: linear-gradient(135deg, #E4E4EC, #F6F6F9); }
.pcg-grid i:nth-child(4) { background: linear-gradient(135deg, #16121F, #3B2F55); }
.pcg-id { position: absolute; left: 32%; right: 6%; top: 72%; height: 16%; display: flex; gap: 5%; align-items: center; }
.pcg-id i { height: 100%; aspect-ratio: 1; border-radius: 50%; }
.pcg-id i:nth-child(1) { background: var(--ac); }
.pcg-id i:nth-child(2) { background: #16121F; }
.pcg-id i:nth-child(3) { background: #C9F26B; }
.pcg-id i:nth-child(4) { background: #F5F5F8; box-shadow: inset 0 0 0 1px #E0E0E8; }
.pcg-id b { margin-left: auto; font: 700 12px/1 Georgia, 'Times New Roman', serif; color: #16121F; }
.fc-on .pcg-side { animation: pcg-side var(--d) var(--e) infinite both; }
.fc-on .pcg-grid i { animation: pc-inB var(--d) var(--e) infinite both; }
.fc-on .pcg-grid i:nth-child(2) { animation-delay: .1s; }
.fc-on .pcg-grid i:nth-child(3) { animation-delay: .2s; }
.fc-on .pcg-grid i:nth-child(4) { animation-delay: .3s; }
.fc-on .pcg-id > * { animation: pc-inC var(--d) var(--e) infinite both; }
.fc-on .pcg-id > :nth-child(2) { animation-delay: .08s; }
.fc-on .pcg-id > :nth-child(3) { animation-delay: .16s; }
.fc-on .pcg-id > :nth-child(4) { animation-delay: .24s; }
.fc-on .pcg-id > :nth-child(5) { animation-delay: .34s; }
@keyframes pcg-side { 0%, 3% { transform: translateX(-100%); } 20%, 100% { transform: none; } }

/* photographer */
.pcp-hero { position: absolute; left: 6%; right: 6%; top: 9%; height: 42%; overflow: hidden; border-radius: 6px; }
.pcp-hero i {
  position: absolute; inset: -10%;
  background: radial-gradient(55% 75% at 72% 30%, #C9BCFF, transparent 60%), linear-gradient(160deg, #7C5CFF, #2A1F5C 60%, #0B0B0F);
}
.pcp-gal { position: absolute; left: 6%; width: 58%; top: 58%; height: 32%; display: flex; gap: 4%; }
.pcp-gal i { flex: 1; border-radius: 4px; background: linear-gradient(160deg, #4A4A55, #16161C); }
.pcp-gal i:nth-child(2) { background: linear-gradient(160deg, #9D85FF, #3B2F6B); }
.pcp-gal i:nth-child(3) { background: linear-gradient(160deg, #9A9AA6, #3A3A44); }
.pcp-title { position: absolute; left: 69%; right: 6%; top: 58%; height: 32%; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.pcp-title u { display: block; width: 60%; height: 2px; background: var(--ac); text-decoration: none; }
.pcp-title b { font: italic 700 12px/1 Georgia, 'Times New Roman', serif; color: #F1EDFF; }
.pcp-title i { display: block; width: 80%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.fc-on .pcp-hero { animation: pcp-hero var(--d) var(--e) infinite both; }
.fc-on .pcp-hero i { animation: pcp-ken var(--d) ease-out infinite both; }
.fc-on .pcp-gal i { animation: pc-inB var(--d) var(--e) infinite both; }
.fc-on .pcp-gal i:nth-child(2) { animation-delay: .12s; }
.fc-on .pcp-gal i:nth-child(3) { animation-delay: .24s; }
.fc-on .pcp-title { animation: pc-inC var(--d) var(--e) infinite both; }
@keyframes pcp-hero { 0%, 2% { clip-path: inset(0 0 100% 0 round 6px); } 20%, 100% { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes pcp-ken { 0% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* doctor */
.pcm-me { position: absolute; left: 7%; right: 7%; top: 10%; display: flex; gap: 7px; align-items: center; }
.pcm-me .av { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 45%, #FFFFFF), var(--ac)); }
.pcm-me b { display: block; font: 700 7.5px/1.1 'Inter', sans-serif; color: #0B0B0F; }
.pcm-me em { display: block; margin-top: 2px; font: normal 600 6px/1.2 'Inter', sans-serif; color: color-mix(in srgb, var(--ac) 70%, #0B0B0F); }
.pcm-pubs { position: absolute; left: 7%; right: 7%; top: 44%; display: flex; flex-direction: column; gap: 5px; }
.pcm-pubs span { display: flex; align-items: center; gap: 5px; }
.pcm-pubs i { width: 7px; height: 9px; border-radius: 1px; background: color-mix(in srgb, var(--ac) 30%, #FFFFFF); flex-shrink: 0; }
.pcm-pubs u { flex: 1; height: 3px; border-radius: 2px; background: #E4E4EB; text-decoration: none; }
.pcm-pubs b { font: 700 6px/1 'Inter', sans-serif; color: #55555F; }
.pcm-book { position: absolute; left: 7%; top: 74%; height: 15%; width: 54%; }
.pcm-book b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 99px; font: 700 7px/1 'Inter', sans-serif; white-space: nowrap; }
.pcm-book .bk { background: var(--ac); color: #FFFFFF; }
.pcm-book .ok { background: #EEF9D2; color: #3F6212; opacity: 0; }
.fc-on .pcm-me { animation: pc-in var(--d) var(--e) infinite both; }
.fc-on .pcm-pubs span { animation: pc-inB var(--d) var(--e) infinite both; }
.fc-on .pcm-pubs span:nth-child(2) { animation-delay: .15s; }
.fc-on .pcm-book { animation: pc-inC var(--d) var(--e) infinite both; }
.fc-on .pcm-book .bk { animation: pcm-bk var(--d) ease infinite both; }
.fc-on .pcm-book .ok { animation: pcm-ok var(--d) var(--e) infinite both; }
@keyframes pcm-bk { 0%, 79% { opacity: 1; transform: none; } 81% { transform: scale(.9); } 84%, 100% { opacity: 0; transform: none; } }
@keyframes pcm-ok { 0%, 83% { opacity: 0; transform: scale(.9); } 88%, 100% { opacity: 1; transform: none; } }

/* content creator */
.pcc-subs { position: absolute; left: 7%; top: 12%; width: 42%; height: 40%; }
.pcc-subs .n { position: relative; display: block; height: 17px; }
.pcc-subs .n b { position: absolute; left: 0; top: 0; font: 800 16px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -.03em; color: #0B0B0F; opacity: 0; }
.pcc-subs .n b:last-child { opacity: 1; }
.pcc-subs em { display: block; margin-top: 3px; font: normal 600 6.5px/1 'Inter', sans-serif; color: color-mix(in srgb, var(--ac) 70%, #0B0B0F); }
.pcc-bars { position: absolute; right: 7%; top: 12%; width: 40%; height: 38%; display: flex; align-items: flex-end; gap: 8%; }
.pcc-bars i { flex: 1; border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--ac) 35%, #FFFFFF); transform-origin: bottom; }
.pcc-bars i:nth-child(1) { height: 30%; }
.pcc-bars i:nth-child(2) { height: 48%; }
.pcc-bars i:nth-child(3) { height: 40%; }
.pcc-bars i:nth-child(4) { height: 70%; }
.pcc-bars i:nth-child(5) { height: 100%; background: var(--ac); }
.pcc-deck { position: absolute; left: 7%; right: 7%; top: 62%; height: 26%; display: flex; gap: 4%; }
.pcc-deck b {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; padding: 0 5px; overflow: hidden; white-space: nowrap;
  border-radius: 6px; background: #F6F6F9; box-shadow: inset 0 0 0 1px #ECECF2; font: 700 6.5px/1 'Inter', sans-serif; color: #33333D;
}
.pcc-deck i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: #6D4AFF; }
.pcc-deck b:nth-child(2) i { background: #C9F26B; }
.pcc-deck b:nth-child(3) i { background: #0B0B0F; }
.fc-on .pcc-subs .n b:nth-child(1) { animation: pcc-n1 var(--d) ease infinite both; }
.fc-on .pcc-subs .n b:nth-child(2) { animation: pcc-n2 var(--d) ease infinite both; }
.fc-on .pcc-subs .n b:nth-child(3) { animation: pcc-n3 var(--d) ease infinite both; }
.fc-on .pcc-subs em { animation: pc-in var(--d) var(--e) infinite both; }
.fc-on .pcc-bars i { animation: pc-grow var(--d) var(--e) infinite both; }
.fc-on .pcc-bars i:nth-child(2) { animation-delay: .06s; }
.fc-on .pcc-bars i:nth-child(3) { animation-delay: .12s; }
.fc-on .pcc-bars i:nth-child(4) { animation-delay: .18s; }
.fc-on .pcc-bars i:nth-child(5) { animation-delay: .24s; }
.fc-on .pcc-deck b { animation: pc-inC var(--d) var(--e) infinite both; }
.fc-on .pcc-deck b:nth-child(2) { animation-delay: .12s; }
.fc-on .pcc-deck b:nth-child(3) { animation-delay: .24s; }
@keyframes pcc-n1 { 0%, 2% { opacity: 0; transform: translateY(5px); } 5%, 12% { opacity: 1; transform: none; } 14%, 100% { opacity: 0; transform: translateY(-5px); } }
@keyframes pcc-n2 { 0%, 13% { opacity: 0; transform: translateY(5px); } 16%, 23% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-5px); } }
@keyframes pcc-n3 { 0%, 24% { opacity: 0; transform: translateY(5px); } 27%, 100% { opacity: 1; transform: none; } }

/* writer */
.pcw-quote { position: absolute; left: 7%; right: 7%; top: 11%; display: flex; gap: 4px; align-items: flex-start; }
.pcw-quote b { font: 700 22px/.8 Georgia, 'Times New Roman', serif; color: var(--ac); }
.pcw-quote span { padding-top: 3px; white-space: nowrap; font: italic 600 9px/1.25 Georgia, 'Times New Roman', serif; color: #0B0B0F; }
.pcw-books { position: absolute; left: 7%; top: 44%; width: 40%; height: 46%; display: flex; gap: 8%; align-items: flex-end; }
.pcw-books i { flex: 1; height: 100%; border-radius: 2px 4px 4px 2px; box-shadow: inset 3px 0 0 rgba(0, 0, 0, .16); background: var(--ac); }
.pcw-books i:nth-child(2) { height: 86%; background: #0B0B0F; }
.pcw-books i:nth-child(3) { height: 94%; background: #C9F26B; }
.pcw-press { position: absolute; left: 56%; right: 7%; top: 44%; height: 46%; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.pcw-press u { text-decoration: none; font: 700 5.5px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8A8A95; }
.pcw-press b { font: italic 700 8px/1.1 Georgia, 'Times New Roman', serif; color: #0B0B0F; white-space: nowrap; }
.fc-on .pcw-quote b { animation: pc-in var(--d) var(--e) infinite both; }
.fc-on .pcw-quote span { animation: pcw-type var(--d) steps(24, end) infinite both; }
.fc-on .pcw-books i { animation: pcw-book var(--d) var(--e) infinite both; }
.fc-on .pcw-books i:nth-child(2) { animation-delay: .12s; }
.fc-on .pcw-books i:nth-child(3) { animation-delay: .24s; }
.fc-on .pcw-press > * { animation: pc-inC var(--d) var(--e) infinite both; }
.fc-on .pcw-press > :nth-child(2) { animation-delay: .12s; }
.fc-on .pcw-press > :nth-child(3) { animation-delay: .24s; }
@keyframes pcw-type { 0%, 4% { clip-path: inset(0 100% 0 0); } 24%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes pcw-book { 0%, 34% { opacity: 0; transform: translateX(-10px) rotate(-6deg); } 47%, 100% { opacity: 1; transform: none; } }

/* student */
.pcs-sheet {
  position: absolute; left: 7%; top: 9%; bottom: 9%; aspect-ratio: 210 / 297;
  display: flex; flex-direction: column; gap: 8%; padding: 10% 9%; border-radius: 3px;
  background: #FFFFFF; box-shadow: 0 0 0 1px #ECECF2, 0 6px 12px -8px rgba(11, 11, 15, .35);
}
.pcs-sheet i { display: block; height: 2.5px; border-radius: 2px; background: #E4E4EB; transform-origin: left; }
.pcs-sheet i.h { height: 5px; width: 70%; background: var(--ac); }
.pcs-sheet i:nth-child(3) { width: 80%; }
.pcs-sheet i:nth-child(5) { width: 64%; }
.pcs-proj {
  position: absolute; left: 43%; right: 7%; top: 12%; height: 36%;
  display: flex; align-items: center; gap: 6px; padding: 0 7px; border-radius: 6px;
  background: color-mix(in srgb, var(--ac) 10%, #FFFFFF); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 24%, transparent);
}
.pcs-proj b { font-size: 11px; color: var(--ac); }
.pcs-proj span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pcs-proj u { display: block; width: 80%; height: 4px; border-radius: 2px; background: #0B0B0F; }
.pcs-proj i { display: block; width: 60%; height: 3px; border-radius: 2px; background: #C9C9D3; }
.pcs-award { position: absolute; left: 43%; right: 7%; top: 58%; height: 30%; display: flex; align-items: center; gap: 6px; }
.pcs-award .medal { position: relative; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #E9FBB0, #A6D94A); box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px #8DBB34; }
.pcs-award b { font: 700 7.5px/1 'Inter', sans-serif; color: #0B0B0F; white-space: nowrap; }
.fc-on .pcs-sheet i { animation: pcs-line var(--d) var(--e) infinite both; }
.fc-on .pcs-sheet i:nth-child(2) { animation-delay: .08s; }
.fc-on .pcs-sheet i:nth-child(3) { animation-delay: .16s; }
.fc-on .pcs-sheet i:nth-child(4) { animation-delay: .24s; }
.fc-on .pcs-sheet i:nth-child(5) { animation-delay: .32s; }
.fc-on .pcs-sheet i:nth-child(6) { animation-delay: .4s; }
.fc-on .pcs-proj { animation: pc-inB var(--d) var(--e) infinite both; }
.fc-on .pcs-award .medal { animation: pcs-medal var(--d) var(--e) infinite both; }
.fc-on .pcs-award b { animation: pc-inC var(--d) var(--e) .12s infinite both; }
@keyframes pcs-line { 0%, 3% { transform: scaleX(0); } 16%, 100% { transform: scaleX(1); } }
@keyframes pcs-medal { 0%, 64% { opacity: 0; transform: scale(.3) rotate(-90deg); } 74% { opacity: 1; transform: scale(1.12) rotate(8deg); } 80%, 100% { opacity: 1; transform: none; } }

/* business owner */
.pcb-svc { position: absolute; left: 7%; right: 7%; top: 10%; height: 30%; display: flex; gap: 5%; }
.pcb-svc i { position: relative; flex: 1; border-radius: 6px; background: #F6F6F9; box-shadow: inset 0 0 0 1px #ECECF2; }
.pcb-svc i::before { content: ''; position: absolute; left: 14%; top: 22%; width: 26%; aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--ac) 45%, #FFFFFF); }
.pcb-svc i::after { content: ''; position: absolute; left: 14%; right: 18%; bottom: 22%; height: 3px; border-radius: 2px; background: #D6D6DF; }
.pcb-quote { position: absolute; left: 7%; width: 50%; top: 50%; height: 38%; display: flex; flex-direction: column; gap: 4px; padding: 5px 6px; border-radius: 7px; background: color-mix(in srgb, var(--ac) 10%, #FFFFFF); }
.pcb-quote b { font-size: 6.5px; letter-spacing: 1px; color: var(--ac); }
.pcb-quote i { display: block; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--ac) 30%, #FFFFFF); }
.pcb-quote i:last-child { width: 70%; }
.pcb-form { position: absolute; left: 61%; right: 7%; top: 50%; height: 38%; }
.pcb-form i { position: absolute; left: 0; right: 0; top: 0; height: 40%; border-radius: 4px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E4EB; }
.pcb-form b { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; display: grid; place-items: center; border-radius: 99px; font: 700 6.5px/1 'Inter', sans-serif; white-space: nowrap; }
.pcb-form .go { background: var(--ac); color: #FFFFFF; }
.pcb-form .ok { background: #EEF9D2; color: #3F6212; opacity: 0; }
.fc-on .pcb-svc i { animation: pc-in var(--d) var(--e) infinite both; }
.fc-on .pcb-svc i:nth-child(2) { animation-delay: .1s; }
.fc-on .pcb-svc i:nth-child(3) { animation-delay: .2s; }
.fc-on .pcb-quote { animation: pc-inB var(--d) var(--e) infinite both; }
.fc-on .pcb-form { animation: pc-inC var(--d) var(--e) infinite both; }
.fc-on .pcb-form .go { animation: pcm-bk var(--d) ease infinite both; }
.fc-on .pcb-form .ok { animation: pcm-ok var(--d) var(--e) infinite both; }

/* ═══════════════════════════════════════════════════════════════
   THE BIG PANEL — four tiles that act out the paragraph above them
   8 s: each tile is lit for its own two seconds, in order.
   ═══════════════════════════════════════════════════════════════ */
.lp-story {
  --d: 8s;
  --e: cubic-bezier(.22, 1, .36, 1);
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  max-width: 920px; margin: 48px auto 0;
}
@media (max-width: 760px) { .lp-story { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 34px; } }
.ls-tile {
  padding: 10px 10px 12px; border-radius: 18px; text-align: left;
  background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
}
.ls-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 11px; background: rgba(11, 11, 15, .2); }
.ls-art * { box-sizing: border-box; }
.ls-tile > b { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 700 13px/1.25 'Inter', system-ui, sans-serif; color: #FFFFFF; }
.ls-tile em {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font: normal 800 11px/1 'Inter', sans-serif; background: rgba(255, 255, 255, .2); color: #FFFFFF;
}
.ls-art .pg {
  position: absolute; border-radius: 4px;
  background: linear-gradient(rgba(91, 58, 232, .6) 0 0) 14% 20% / 58% 14% no-repeat,
              linear-gradient(rgba(11, 11, 15, .16) 0 0) 14% 62% / 72% 9% no-repeat,
              rgba(255, 255, 255, .92);
  box-shadow: 0 8px 16px -8px rgba(11, 11, 15, .5);
}
/* 1 · the board: six pages, three by two */
.t1 .pg { width: 24%; height: 32%; }
.t1 .a { left: 10%; top: 14%; } .t1 .b { left: 38%; top: 14%; } .t1 .c { left: 66%; top: 14%; }
.t1 .d { left: 10%; top: 54%; } .t1 .e { left: 38%; top: 54%; } .t1 .f { left: 66%; top: 54%; }
/* 2 · the links: one page wired to two */
.t2 .pg { width: 22%; height: 32%; }
.t2 .a { left: 8%; top: 26%; } .t2 .b { left: 54%; top: 12%; } .t2 .c { left: 70%; top: 58%; }
.t2 svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.t2 path { fill: none; stroke: #C9F26B; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 0; }
/* 3 · the phone: desktop narrows to a single column */
.t3 .ph {
  position: absolute; left: 50%; top: 9%; height: 82%; width: 30%; transform: translateX(-50%);
  border-radius: 10px; border: 2px solid rgba(255, 255, 255, .95); background: rgba(255, 255, 255, .14);
}
.t3 .ph i { position: absolute; left: 12%; width: 76%; height: 22%; border-radius: 3px; background: rgba(255, 255, 255, .88); }
.t3 .ph i:nth-child(1) { top: 10%; }
.t3 .ph i:nth-child(2) { top: 38%; }
.t3 .ph i:nth-child(3) { top: 66%; }
/* 4 · </> and the files */
.t4 .key {
  position: absolute; left: 8%; top: 50%; transform: translateY(-50%);
  padding: 9px 11px; border-radius: 10px; background: #FFFFFF; color: #0B0B0F;
  font: 800 15px/1 'JetBrains Mono', ui-monospace, monospace; box-shadow: 0 10px 20px -10px rgba(11, 11, 15, .6);
}
.t4 .f {
  position: absolute; left: 52%; padding: 6px 9px; border-radius: 8px; white-space: nowrap;
  background: rgba(255, 255, 255, .94); color: #0B0B0F; font: 700 9.5px/1 'JetBrains Mono', ui-monospace, monospace;
  box-shadow: 0 8px 16px -8px rgba(11, 11, 15, .5);
}
.t4 .f1 { top: 22%; }
.t4 .f2 { top: 58%; }

/* the lighting: one keyframe, each tile a quarter of the cycle later */
.fc-on .ls-tile { animation: ls-lit var(--d) ease infinite both; }
.fc-on .ls-tile em { animation: ls-num var(--d) ease infinite both; }
.fc-on .t2, .fc-on .t2 em { animation-delay: -6s; }
.fc-on .t3, .fc-on .t3 em { animation-delay: -4s; }
.fc-on .t4, .fc-on .t4 em { animation-delay: -2s; }
@keyframes ls-lit {
  0%, 25% { background: rgba(255, 255, 255, .24); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), 0 18px 34px -18px rgba(11, 11, 15, .5); transform: translateY(-3px); }
  31%, 94% { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transform: none; }
  100% { background: rgba(255, 255, 255, .24); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), 0 18px 34px -18px rgba(11, 11, 15, .5); transform: translateY(-3px); }
}
@keyframes ls-num { 0%, 25% { background: #C9F26B; color: #0B0B0F; } 31%, 94% { background: rgba(255, 255, 255, .2); color: #FFFFFF; } 100% { background: #C9F26B; color: #0B0B0F; } }

/* what happens inside a tile while it is lit — the first 25% of its
   cycle — then it holds the finished picture and fades out at the very
   end, so starting again is invisible */
@keyframes ls-pop { 0%, 1% { opacity: 0; transform: scale(.6); } 9%, 92% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes ls-draw { 0%, 6% { stroke-dashoffset: 100; opacity: 1; } 20%, 92% { stroke-dashoffset: 0; opacity: 1; } 99%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ls-phone {
  0%, 2% { width: 82%; height: 62%; top: 19%; border-radius: 6px; }
  18%, 100% { width: 30%; height: 82%; top: 9%; border-radius: 10px; }
}
@keyframes ls-col1 { 0%, 2% { left: 6%; top: 14%; width: 27%; height: 72%; } 18%, 100% { left: 12%; top: 10%; width: 76%; height: 22%; } }
@keyframes ls-col2 { 0%, 2% { left: 37%; top: 14%; width: 27%; height: 72%; } 18%, 100% { left: 12%; top: 38%; width: 76%; height: 22%; } }
@keyframes ls-col3 { 0%, 2% { left: 68%; top: 14%; width: 27%; height: 72%; } 18%, 100% { left: 12%; top: 66%; width: 76%; height: 22%; } }
@keyframes ls-key { 0%, 3% { transform: translateY(-50%); } 6% { transform: translateY(-50%) scale(.86); } 10%, 100% { transform: translateY(-50%); } }
@keyframes ls-file { 0%, 8% { opacity: 0; transform: translateX(-30px) scale(.8); } 18%, 92% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }

.fc-on .t1 .pg { animation: ls-pop var(--d) var(--e) infinite both; }
.fc-on .t1 .b { animation-delay: .1s; } .fc-on .t1 .c { animation-delay: .2s; }
.fc-on .t1 .d { animation-delay: .3s; } .fc-on .t1 .e { animation-delay: .4s; } .fc-on .t1 .f { animation-delay: .5s; }
.fc-on .t2 path { animation: ls-draw var(--d) ease-in-out infinite both; animation-delay: -6s; }
.fc-on .t2 path + path { animation-delay: -5.7s; }
.fc-on .t3 .ph { animation: ls-phone var(--d) var(--e) infinite both; animation-delay: -4s; }
.fc-on .t3 .ph i:nth-child(1) { animation: ls-col1 var(--d) var(--e) infinite both; animation-delay: -4s; }
.fc-on .t3 .ph i:nth-child(2) { animation: ls-col2 var(--d) var(--e) infinite both; animation-delay: -4s; }
.fc-on .t3 .ph i:nth-child(3) { animation: ls-col3 var(--d) var(--e) infinite both; animation-delay: -4s; }
.fc-on .t4 .key { animation: ls-key var(--d) ease infinite both; animation-delay: -2s; }
.fc-on .t4 .f { animation: ls-file var(--d) var(--e) infinite both; animation-delay: -2s; }
.fc-on .t4 .f2 { animation-delay: -1.85s; }

/* Reduced motion: the screen stays, showing the finished template as a still. */

/* ── What's new, playing by itself ────────────────────────────────
   Set by feature-clips.js (.fc-auto). The clip is a screen at the top
   of its card rather than a cover over it, so it can run all the time
   it is on screen while the title and description stay readable below.
   The card's small icon and the clip's own title would only repeat what
   the card already says, so they step aside. */
:root .lp-item.fc-auto { padding-top: 262px; }
:root .lp-item.fc-auto > .fc-clip {
  inset: 8px 8px auto 8px; height: 238px; opacity: 1; transform: none;
}
:root .lp-item.fc-auto .lp-ico,
:root .lp-item.fc-auto .fc-kick { display: none; }
:root .lp-item.fc-auto .fc-stage { bottom: 66px; }
:root .lp-item.fc-auto h3 { padding-right: 0; }
:root .lp-item.fc-auto .lp-when { z-index: 5; box-shadow: 0 6px 14px -8px rgba(11, 11, 15, .35); }
@media (max-width: 600px) {
  :root .lp-item.fc-auto { padding-top: 236px; }
  :root .lp-item.fc-auto > .fc-clip { height: 212px; }
}
