/* Reelquill AI — "For product teams" page (product-videos.html): keeping help, onboarding and training videos up to
   date after each release. Loaded after styles.css and uses its tokens, buttons, nav, FAQ, call to action and footer.
   The motion (the release board, the chores, each step's highlighters, the assistant's run, the vault, the before/after)
   is started by js/usecase.js as each part comes into view; under prefers-reduced-motion every part shows its end
   state and nothing moves. Plain CSS, no build step; the site's CSP allows no inline styles. */

/* ---------- top bar (as the "Why Reelquill" page has it) ---------- */
.nav-why { display: inline-flex; align-items: center; height: 38px; margin-left: auto; padding: 0 14px; border-radius: 999px;
  color: var(--text-2); font-size: .92rem; font-weight: 500; white-space: nowrap; transition: color .2s, background-color .2s; }
.nav-why:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-why + .nav-back { margin-left: -8px; }
.nav-cta-why { margin-left: 2px; }
.nav-cta-why .ico { width: 16px; height: 16px; }
@media (max-width: 560px) { .uc-page .nav-back { display: none; } .nav-cta-why { margin-left: auto; } }
@media (max-width: 420px) { .uc-page .nav-why { display: none; } }

.uc-page .section { padding-block: clamp(52px, 6.5vw, 96px); }
.uc-page .cta { padding-top: clamp(24px, 4vw, 56px); }

/* ---------- Hero ---------- */
.uc-hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(108px, 14vh, 150px) 0 clamp(48px, 6vw, 90px); }
.uc-hero .hero-bg { height: auto; bottom: 0; min-height: 0; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.uc-hero .hero-bg::after { display: none; }
.uc-hero-inner { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.uc-hero-text { position: relative; }
.uc-hero-text::before { content: ""; position: absolute; inset: -12% -8% -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(52% 52% at 45% 50%, rgba(5, 8, 18, .72), rgba(5, 8, 18, 0) 76%); }
.why-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; max-width: 100%;
  background: rgba(10, 14, 30, .55); border: 1px solid var(--line-2); color: var(--text); font-size: .9rem; font-weight: 500;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fadeUp .9s .05s var(--ease) both; }
.uc-title { margin-top: 18px; font-size: clamp(2.15rem, 4.6vw, 4.1rem); line-height: 1.04; letter-spacing: -.042em; font-weight: 750; text-wrap: balance; }
.ut-line { display: block; animation: fadeUp 1s .15s var(--ease) both; }
.ut-grad { width: fit-content; max-width: 100%; margin-top: .08em; padding-bottom: .08em;
  background-image: linear-gradient(100deg, #5ff0d6, #8fb3ff 38%, #b79cff 68%, #ff8cc0); background-size: 150% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(4, 7, 16, .55)) drop-shadow(0 8px 36px rgba(139, 92, 246, .35));
  animation: fadeUp 1s .32s var(--ease) both, ucPan 9s 1.4s ease-in-out infinite alternate; }
@keyframes ucPan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.uc-sub { max-width: 600px; margin-top: 22px; font-size: clamp(1.02rem, 1.45vw, 1.17rem); line-height: 1.62; color: #c3cbe2; animation: fadeUp 1s .48s var(--ease) both; }
.uc-hero .hero-ctas { justify-content: flex-start; margin-top: 30px; }
.why-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--text-2); font-size: .92rem; animation: fadeUp 1s .72s var(--ease) both; }
.why-facts li { display: inline-flex; align-items: center; gap: 8px; }
.why-facts .ico { width: 18px; height: 18px; color: #6ff0d6; }

/* ---------- the release board ---------- */
.board { position: relative; padding: 16px 16px 12px; border-radius: 22px; background: linear-gradient(180deg, rgba(20, 27, 50, .92), rgba(10, 14, 28, .94));
  border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  animation: fadeUp 1.1s .4s var(--ease) both; }
.board::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 23px; opacity: 0; transition: opacity .6s;
  background: linear-gradient(120deg, rgba(246, 196, 83, .55), rgba(255, 95, 162, .35), rgba(91, 140, 255, .4)); filter: blur(18px); }
.board.shipped::before { opacity: .55; }
.board.done::before { opacity: .45; background: linear-gradient(120deg, rgba(46, 230, 197, .55), rgba(91, 140, 255, .4), rgba(51, 196, 129, .45)); }
.bd-top { display: flex; align-items: center; gap: 10px; padding: 0 4px 12px; border-bottom: 1px solid var(--line); }
.bd-dots { display: inline-flex; gap: 6px; }
.bd-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.bd-title { flex: 1; color: var(--text); font: 600 .95rem/1 var(--display); letter-spacing: -.01em; }
.bd-rel { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: .78rem; color: var(--text-3);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: color .4s, background-color .4s, border-color .4s, box-shadow .4s; }
.bd-rel .ico { width: 15px; height: 15px; }
.bd-rel b { color: inherit; }
.board.shipped .bd-rel { color: #ffe3a3; background: rgba(246, 196, 83, .14); border-color: rgba(246, 196, 83, .5); box-shadow: 0 0 0 6px rgba(246, 196, 83, .08); animation: ucPing 1.2s var(--ease) 1; }
@keyframes ucPing { 0% { box-shadow: 0 0 0 0 rgba(246, 196, 83, .5); } 100% { box-shadow: 0 0 0 14px rgba(246, 196, 83, 0); } }
.bd-list { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.bd-row { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px;
  border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; overflow: hidden; transition: background-color .4s, border-color .4s; }
.bd-th { width: 52px; height: 32px; border-radius: 8px; opacity: .9; }
.bd-th.t1 { background: linear-gradient(135deg, #2ee6c5, #1a6f86); }
.bd-th.t2 { background: linear-gradient(135deg, #5b8cff, #36307e); }
.bd-th.t3 { background: linear-gradient(135deg, #8b5cf6, #4b2a8f); }
.bd-th.t4 { background: linear-gradient(135deg, #33c481, #166247); }
.bd-th.t5 { background: linear-gradient(135deg, #ff5fa2, #7a2a58); }
.bd-th.t6 { background: linear-gradient(135deg, #f6c453, #7d5a15); }
.bd-name { min-width: 0; overflow: hidden; color: var(--text); font-size: .93rem; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
/* the highlighter over a title that went out of date */
.bd-name mark { padding: 1px 3px; margin: 0 -3px; border-radius: 4px; color: inherit; background: linear-gradient(100deg, rgba(246, 196, 83, .55), rgba(246, 196, 83, .38)) no-repeat 0 60% / 0% 72%;
  transition: background-size .7s var(--ease); }
.bd-row.stale .bd-name mark { background-size: 100% 72%; }
.bd-st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 600 .74rem/1 var(--body); white-space: nowrap;
  color: #7ff0cf; background: rgba(46, 230, 197, .1); border: 1px solid rgba(46, 230, 197, .28); transition: color .3s, background-color .3s, border-color .3s; }
.bd-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bd-st::after { content: "Up to date"; }
.bd-row.stale { background: rgba(246, 196, 83, .06); border-color: rgba(246, 196, 83, .25); }
.bd-row.stale .bd-st { color: #ffd77d; background: rgba(246, 196, 83, .12); border-color: rgba(246, 196, 83, .4); }
.bd-row.stale .bd-st::after { content: "Out of date"; }
.bd-row.making { background: rgba(91, 140, 255, .07); border-color: rgba(91, 140, 255, .35); }
.bd-row.making .bd-st { color: #b6c9ff; background: rgba(91, 140, 255, .14); border-color: rgba(91, 140, 255, .45); }
.bd-row.making .bd-st::before { animation: ucBlink .8s ease-in-out infinite alternate; }
.bd-row.making .bd-st::after { content: "Remaking…"; }
.bd-row.fixed { background: rgba(46, 230, 197, .07); border-color: rgba(46, 230, 197, .35); }
.bd-row.fixed .bd-st { color: #0a1b16; background: linear-gradient(100deg, #2ee6c5, #33c481); border-color: transparent; animation: ucPop .45s var(--ease) 1; }
.bd-row.fixed .bd-st::after { content: "Updated"; }
.bd-row.fixed .bd-name mark { background-size: 0% 72%; }
@keyframes ucBlink { from { opacity: .35; } to { opacity: 1; } }
@keyframes ucPop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: none; } }
.bd-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: transparent; }
.bd-bar i { display: block; width: 0; height: 100%; background: var(--grad); border-radius: 0 3px 3px 0; }
.bd-row.making .bd-bar i { width: 100%; transition: width var(--make, 1.3s) linear; }
.bd-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 0 4px; color: var(--text-3); font-size: .82rem; }
.bd-count { color: #7ff0cf; font-weight: 600; transition: color .3s; }
.board.shipped .bd-count { color: #ffd77d; }
.board.done .bd-count { color: #7ff0cf; }
.bd-by { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- the problem: the chores ---------- */
.chores { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 26px; max-width: 980px; margin: 0 auto; }
.ch-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: ch; }
.ch { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 13px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); color: var(--text-2); font-weight: 600; font-size: .92rem;
  transition: color .4s, border-color .4s, background-color .4s, transform .4s var(--ease); transition-delay: var(--cd, 0s); }
.ch .ico { width: 18px; height: 18px; color: var(--text-3); transition: color .4s; transition-delay: var(--cd, 0s); }
.ch:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 2px; background: var(--line-2); }
.chores.lit .ch { color: #ffe3a3; border-color: rgba(246, 196, 83, .45); background: linear-gradient(180deg, rgba(246, 196, 83, .1), rgba(246, 196, 83, .03)), var(--card); transform: translateY(-2px); }
.chores.lit .ch .ico { color: #f6c453; }
.ch-times { display: inline-flex; align-items: baseline; gap: 10px; color: var(--text-2); }
.ch-x { color: var(--pink); font: 700 2rem/1 var(--display); }
.ch-n { color: var(--text); font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ch-u { max-width: 9ch; font-size: .86rem; line-height: 1.25; }
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: clamp(34px, 5vw, 56px) auto 0; }
.fact { padding: 22px 22px 20px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent), var(--card); border: 1px solid var(--line); }
.fact-k { color: var(--text); font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1.05 var(--display); letter-spacing: -.03em; }
.fact-k small { margin-left: 2px; color: var(--text-3); font-size: .55em; font-weight: 600; }
.fact-t { margin-top: 10px; font-size: .92rem; line-height: 1.55; }
.fact-src { margin-left: 6px; color: #a9c1ff; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- how it works: the steps ---------- */
.uc-steps { display: grid; gap: clamp(40px, 6vw, 88px); margin: 0; padding: 0; list-style: none; counter-reset: st; }
.uc-step { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 4.5vw, 64px); align-items: center; }
.uc-step.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.uc-step.flip .st-text { order: 2; }
.st-n { display: inline-flex; align-items: center; gap: 10px; color: #86ecdb; font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.st-n span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #07101f; font: 800 .9rem/1 var(--display); letter-spacing: 0; }
.st-text h3 { margin-top: 14px; font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.st-text > p { margin-top: 14px; font-size: 1rem; line-height: 1.65; }
.st-pts { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .94rem; }
.st-pts li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.st-pts .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.st-vis { position: relative; }
/* a real screenshot in a window frame, with its highlighter on top */
.shot { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--ink-0); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -36px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.shot img { width: 100%; height: auto; transform: scale(1.015); transition: transform 1.6s var(--ease); }
.uc-step.in .shot img { transform: none; }
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(4, 6, 13, .35)); }
/* the highlighter box: drawn around the part that matters, with its label (positions per screenshot below) */
.uc-hl { position: absolute; z-index: 2; border-radius: 10px; pointer-events: none; opacity: 0;
  border: 2px solid rgba(246, 196, 83, .95); background: rgba(246, 196, 83, .08);
  box-shadow: 0 0 0 9999px rgba(4, 6, 13, 0), 0 0 24px rgba(246, 196, 83, .45);
  transform: scale(.94); transition: opacity .5s .5s var(--ease), transform .6s .5s var(--ease), box-shadow .8s .9s var(--ease); }
.uc-step.in .uc-hl { opacity: 1; transform: none; box-shadow: 0 0 0 9999px rgba(4, 6, 13, .38), 0 0 24px rgba(246, 196, 83, .45); }
.uc-hl-lab { position: absolute; left: -2px; top: -34px; padding: 6px 10px; border-radius: 8px; white-space: nowrap;
  background: #f6c453; color: #1b1406; font: 700 .76rem/1 var(--body); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
.uc-hl.below .uc-hl-lab { top: auto; bottom: -34px; }
.uc-hl.lab-r .uc-hl-lab { left: auto; right: -2px; }
/* the highlighter boxes' places on each screenshot (fractions of the picture) */
.uc-hl-text { left: 30.4%; top: 19.8%; width: 17.6%; height: 6.2%; }
.uc-hl-text2 { left: 5%; top: 42.6%; width: 36.4%; height: 7.8%; }
.uc-hl-voice { left: 8.4%; top: 30.6%; width: 63.6%; height: 17.6%; }
.uc-hl-voice2 { left: 6.6%; top: 12%; width: 22.2%; height: 6.6%; }
.uc-hl-look { left: 9.8%; top: 22.6%; width: 78.3%; height: 20.2%; }
.uc-hl-look2 { left: 9.8%; top: 48.4%; width: 78.3%; height: 50.6%; }
.uc-hl-look3 { left: 63%; top: 52.6%; width: 18.6%; height: 41%; }
.uc-hl-queue { left: 5%; top: 19.2%; width: 90%; height: 18.8%; }
.uc-hl-queue2 { left: 5%; top: 38.8%; width: 90%; height: 30.6%; }
.uc-hl-queue3 { left: 5%; top: 70.6%; width: 90%; height: 15.2%; }
.uc-hl-blur { left: 39.8%; top: 17.4%; width: 14.4%; height: 14.4%; }
.uc-hl-blur2 { left: 71.4%; top: 70%; width: 27.4%; height: 5.6%; }
/* two highlighters on one screenshot take turns, again and again */
.uc-step.in .uc-hl.seq2 { animation: ucSeqA 8s .7s var(--ease) infinite both; }
.uc-step.in .uc-hl.seq2.q2 { animation-name: ucSeqB; }
@keyframes ucSeqA { 0% { opacity: 0; transform: scale(.94); } 6%, 44% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: scale(1.02); } }
.uc-step.in .uc-hl.seq3 { animation: ucSeq3A 11s .7s var(--ease) infinite both; }
.uc-step.in .uc-hl.seq3.q2 { animation-name: ucSeq3B; }
.uc-step.in .uc-hl.seq3.q3 { animation-name: ucSeq3C; }
@keyframes ucSeq3A { 0% { opacity: 0; transform: scale(.94); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: scale(1.02); } }
@keyframes ucSeq3B { 0%, 33% { opacity: 0; transform: scale(.94); } 37%, 62% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: scale(1.02); } }
@keyframes ucSeq3C { 0%, 66% { opacity: 0; transform: scale(.94); } 70%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.02); } }
@keyframes ucSeqB { 0%, 50% { opacity: 0; transform: scale(.94); } 56%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.02); } }
/* step 2: the strike lines drawn over the cut words */
.strike { position: absolute; z-index: 3; height: 3px; border-radius: 3px; background: var(--pink); box-shadow: 0 0 12px rgba(255, 95, 162, .7);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.strike.s1 { left: 31.1%; top: calc(22.9% - 1px); width: 16%; transition-delay: .4s; }
.uc-step.in .strike { transform: scaleX(1); }
/* step 3: the AI voice reading the new line */
.wave { position: absolute; z-index: 3; right: 4%; bottom: 2.5%; display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 14px;
  border-radius: 999px; background: rgba(7, 10, 20, .86); border: 1px solid rgba(91, 140, 255, .45); opacity: 0; transition: opacity .5s 1.2s; }
.wave i { width: 4px; height: 30%; border-radius: 2px; background: linear-gradient(180deg, #5ff0d6, #8b5cf6); }
.uc-step.in .wave { opacity: 1; }
.uc-step.in .wave i { animation: ucWave 1.1s ease-in-out infinite alternate; }
.wave i:nth-child(2) { animation-delay: -.2s !important; } .wave i:nth-child(3) { animation-delay: -.5s !important; }
.wave i:nth-child(4) { animation-delay: -.1s !important; } .wave i:nth-child(5) { animation-delay: -.7s !important; }
.wave i:nth-child(6) { animation-delay: -.3s !important; } .wave i:nth-child(7) { animation-delay: -.9s !important; }
.wave i:nth-child(8) { animation-delay: -.4s !important; } .wave i:nth-child(9) { animation-delay: -.6s !important; }
.wave i:nth-child(10) { animation-delay: -.15s !important; } .wave i:nth-child(11) { animation-delay: -.8s !important; }
.wave i:nth-child(12) { animation-delay: -.35s !important; }
@keyframes ucWave { from { height: 18%; } to { height: 92%; } }

/* step 1: a made-up product window being recorded (no screenshot: the recording itself) */
.uc-mock { position: relative; border-radius: 16px; overflow: hidden; background: #0d1326; border: 1px solid var(--line-2); aspect-ratio: 16 / 10.4;
  box-shadow: 0 30px 80px -36px rgba(0, 0, 0, .95); }
.rm-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--line); }
.rm-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.rm-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--text-3); font-size: .74rem; }
.rm-body { display: grid; grid-template-columns: 22% 1fr; height: calc(100% - 34px); }
.rm-side { display: grid; align-content: start; gap: 10px; padding: 18px 14px; border-right: 1px solid var(--line); }
.rm-side i { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.rm-side i:nth-child(2) { width: 70%; } .rm-side i:nth-child(3) { width: 85%; } .rm-side i:nth-child(4) { width: 60%; }
.rm-main { position: relative; padding: 24px 26px; }
.rm-h { width: 46%; height: 16px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.rm-p { width: 80%; height: 9px; margin-top: 14px; border-radius: 5px; background: rgba(255, 255, 255, .07); }
.rm-p.s { width: 58%; }
.rm-btn { position: absolute; left: 26px; top: 46%; padding: 10px 18px; border-radius: 10px; background: linear-gradient(100deg, #5b8cff, #8b5cf6); color: #fff; font: 700 .86rem/1 var(--body);
  box-shadow: 0 10px 26px -10px rgba(124, 92, 255, .9); }
.rm-new { position: absolute; left: 112px; top: calc(46% + 8px); padding: 4px 8px; border-radius: 6px; background: rgba(246, 196, 83, .16); color: #ffd77d; font: 700 .68rem/1 var(--body);
  letter-spacing: .04em; text-transform: uppercase; }
/* the area being recorded: drawn, then held */
.rm-area { position: absolute; left: 24%; top: 30%; width: 0; height: 0; border: 2px dashed rgba(46, 230, 197, .95); border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(4, 6, 13, 0); transition: width 1s .4s var(--ease), height 1s .4s var(--ease), box-shadow .8s 1.3s; }
.uc-step.in .rm-area { width: 66%; height: 52%; box-shadow: 0 0 0 9999px rgba(4, 6, 13, .45); }
.rm-tag { position: absolute; left: -2px; top: -32px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; white-space: nowrap;
  background: #2ee6c5; color: #04221c; font: 700 .74rem/1 var(--body); opacity: 0; transition: opacity .4s 1.3s; }
.rm-tag .ico { width: 14px; height: 14px; color: #c22; stroke: none; fill: currentColor; }
.uc-step.in .rm-tag { opacity: 1; }
.uc-step.in .rm-tag .ico { animation: ucBlink .9s ease-in-out infinite alternate; }
/* the pointer goes to the new button and clicks; the view zooms there */
.rm-cursor { position: absolute; left: 70%; top: 78%; width: 18px; height: 18px; z-index: 4;
  background: linear-gradient(135deg, #fff 50%, transparent 50%); clip-path: polygon(0 0, 100% 55%, 55% 60%, 35% 100%); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.uc-step.in .rm-cursor { animation: ucMove 4.8s 1.6s var(--ease) infinite; }
@keyframes ucMove { 0% { left: 70%; top: 78%; } 30%, 70% { left: 37%; top: 52%; } 100% { left: 70%; top: 78%; } }
.rm-ripple { position: absolute; left: 37%; top: 52%; width: 44px; height: 44px; margin: -14px 0 0 -14px; border-radius: 50%; border: 3px solid #f6c453; opacity: 0; z-index: 3; }
.uc-step.in .rm-ripple { animation: ucClick 4.8s 1.6s ease-out infinite; }
@keyframes ucClick { 0%, 31% { opacity: 0; transform: scale(.3); } 33% { opacity: 1; } 45% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
.rm-zoom { position: absolute; left: 24%; top: 30%; width: 66%; height: 52%; border-radius: 10px; border: 2px solid rgba(139, 92, 246, .0); z-index: 2; }
.uc-step.in .rm-zoom { animation: ucZoom 4.8s 1.6s var(--ease) infinite; }
@keyframes ucZoom { 0%, 32% { left: 24%; top: 30%; width: 66%; height: 52%; border-color: rgba(139, 92, 246, 0); }
  42%, 68% { left: 27%; top: 44%; width: 26%; height: 22%; border-color: rgba(139, 92, 246, .95); box-shadow: 0 0 22px rgba(139, 92, 246, .6); }
  80%, 100% { left: 24%; top: 30%; width: 66%; height: 52%; border-color: rgba(139, 92, 246, 0); } }

/* ---------- the assistant ---------- */
.agent-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.agent-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.03em; text-wrap: balance; }
.agent-pts { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.agent-pts li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.agent-pts .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.agent-demo { padding: 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(20, 27, 50, .9), rgba(10, 14, 28, .94)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -42px rgba(0, 0, 0, .9); }
.ad-chat { display: grid; gap: 12px; min-height: 420px; align-content: start; }
.ad-msg { display: grid; gap: 6px; max-width: 92%; padding: 12px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.ad-who { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font: 600 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.ad-who .ico { width: 14px; height: 14px; color: var(--teal); }
.ad-msg.you { justify-self: end; background: linear-gradient(135deg, rgba(91, 140, 255, .26), rgba(139, 92, 246, .22)); border: 1px solid rgba(143, 176, 255, .35); color: var(--text); }
.ad-msg.ai { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); }
.ad-say { min-height: 1.5em; }
.ad-say.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--text); animation: ucBlink .6s steps(1) infinite; }
.ad-tools { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.uc-tool { display: grid; grid-template-columns: auto minmax(0, 1fr) 22px; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: .86rem; color: var(--text-2); }
.uc-tool code { padding: 3px 7px; border-radius: 6px; background: rgba(46, 230, 197, .1); color: #8ff3dd; font: 600 .78rem/1.2 var(--mono); }
.uc-tool > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.uc-tool mark { padding: 0 3px; border-radius: 4px; background: rgba(246, 196, 83, .4); color: var(--text); }
.uc-tool::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); justify-self: end; }
.uc-tool.run::after { border-color: var(--blue); border-right-color: transparent; animation: ucSpin .7s linear infinite; }
.uc-tool.ok { border-color: rgba(46, 230, 197, .3); background: rgba(46, 230, 197, .05); }
.uc-tool.ok::after { border: 0; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%2304221c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  animation: ucPop .4s var(--ease) 1; }
@keyframes ucSpin { to { transform: rotate(360deg); } }
.tool-prog { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tool-prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad); }
.tool-make.run .tool-prog i { width: 100%; transition: width 2.2s linear; }
.tool-make.ok .tool-prog i { width: 100%; }
.ad-done { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 10px 14px; border-radius: 14px; color: #0a1b16; font-size: .9rem;
  background: linear-gradient(100deg, #2ee6c5, #33c481); box-shadow: 0 14px 34px -14px rgba(46, 230, 197, .8); }
.ad-done .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.ad-done b { color: inherit; }
/* played in turn: each part hidden until its moment (js/usecase.js adds .show) */
html.js .agent-demo.play .ad-msg.ai, html.js .agent-demo.play .uc-tool, html.js .agent-demo.play .ad-done { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
html.js .agent-demo.play .show { opacity: 1 !important; transform: none !important; }

/* ---------- private by design: the vault ---------- */
.vault { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(90px, .5fr) minmax(0, .7fr); align-items: center; gap: 0; max-width: 980px; margin: 0 auto; }
.vt-pc { position: relative; padding: 22px; border-radius: 24px; background: linear-gradient(180deg, rgba(46, 230, 197, .07), rgba(91, 140, 255, .05)), var(--card);
  border: 1px solid rgba(46, 230, 197, .35); }
.vt-k { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font: 700 1rem/1 var(--display); }
.vt-k .ico { width: 20px; height: 20px; color: var(--teal); }
.vt-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.vt-items li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 14px; background: rgba(7, 10, 20, .6);
  border: 1px solid var(--line); color: var(--text); font-size: .84rem; font-weight: 600; text-align: center;
  opacity: 0; transform: scale(.92); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--vd, 0s); }
.vt-items .ico { width: 22px; height: 22px; color: #8fb3ff; }
.vault.in .vt-items li { opacity: 1; transform: none; }
.vt-ring { position: absolute; inset: -6px; border-radius: 28px; border: 2px solid rgba(46, 230, 197, .4); pointer-events: none; opacity: 0; }
.vault.in .vt-ring { animation: ucRing 2.8s 1.2s ease-out infinite; }
@keyframes ucRing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.06); } }
.vt-path { position: relative; height: 4px; margin: 0 10px; }
.vt-line { position: absolute; inset: 0; border-top: 3px dashed rgba(160, 175, 220, .35); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s 1s var(--ease); }
.vault.in .vt-line { transform: scaleX(1); }
.vt-cross { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  background: var(--pink); color: #fff; box-shadow: 0 0 0 6px rgba(255, 95, 162, .18); transform: scale(0); transition: transform .45s 1.9s var(--ease); }
.vt-cross .ico { width: 20px; height: 20px; stroke-width: 3; }
.vault.in .vt-cross { transform: scale(1); }
.vt-cloud { display: grid; justify-items: center; gap: 6px; padding: 22px 14px; border-radius: 20px; border: 1px dashed var(--line-2); color: var(--text-3); text-align: center;
  transition: opacity .6s 2.2s; }
.vt-cloud .ico { width: 44px; height: 44px; }
.vt-cloud p { color: var(--text-2); font-weight: 600; }
.vt-cloud small { font-size: .78rem; }
.vault.in .vt-cloud { opacity: .55; }

/* ---------- before / after ---------- */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.ba-col { position: relative; padding: 24px 24px 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ba-new { border-color: rgba(46, 230, 197, .4); background: linear-gradient(180deg, rgba(46, 230, 197, .07), transparent 60%), var(--card); }
.ba-k { color: var(--text); font: 700 1.1rem/1.2 var(--display); }
.ba-new .ba-k { color: #8ff3dd; }
.ba-steps { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: ba; }
.ba-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .025);
  font-size: .94rem; color: var(--text-2); opacity: 0; transform: translateX(-10px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--bd, 0s); }
.ba-steps li::before { counter-increment: ba; content: counter(ba); display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--text-2); font: 700 .78rem/1 var(--display); }
.ba-new .ba-steps li { color: var(--text); }
.ba-new .ba-steps li::before { background: var(--grad); color: #07101f; }
.ba.in .ba-steps li { opacity: 1; transform: none; }
.ba-meter { position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: rgba(255, 255, 255, .05); }
.ba-meter i { display: block; height: 100%; width: 0; transition: width 2.4s 1s var(--ease); }
.ba-old .ba-meter i { background: linear-gradient(90deg, #f6c453, #ff5fa2); }
.ba-new .ba-meter i { background: var(--grad); }
.ba.in .ba-old .ba-meter i { width: 100%; }
.ba.in .ba-new .ba-meter i { width: 36%; transition-duration: 1.1s; }

/* ---------- who it's for ---------- */
.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.uc-who-card { padding: 24px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.uc-who-card:hover { transform: translateY(-4px); border-color: rgba(143, 176, 255, .4); box-shadow: 0 24px 50px -28px rgba(91, 140, 255, .55); }
.who-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, rgba(46, 230, 197, .18), rgba(139, 92, 246, .18));
  border: 1px solid rgba(143, 176, 255, .3); color: #b6c9ff; }
.who-ic .ico { width: 22px; height: 22px; }
.uc-who-card h3 { margin-top: 16px; font-size: 1.08rem; letter-spacing: -.01em; }
.uc-who-card p { margin-top: 8px; font-size: .92rem; line-height: 1.55; }

/* ---------- sources ---------- */
.uc-sources { padding-top: clamp(8px, 2vw, 24px) !important; }
.src-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.02em; }
.src-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .88rem; line-height: 1.5; color: var(--text-3); }
.src-list a { display: inline-flex; align-items: center; gap: 6px; color: #a9c1ff; text-decoration: underline; text-underline-offset: 3px; }
.src-list a .ico { width: 14px; height: 14px; }
.src-list li:target { color: var(--text); }
.src-note { margin-top: 12px; color: var(--text-3); font-size: .8rem; }

/* ---------- narrower screens ---------- */
@media (max-width: 980px) {
  .uc-hero-inner, .agent-grid { grid-template-columns: minmax(0, 1fr); }
  .board { max-width: 560px; }
  .uc-step, .uc-step.flip { grid-template-columns: minmax(0, 1fr); }
  .uc-step.flip .st-text { order: 0; }
  .facts3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vault { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .vt-path { height: 56px; margin: 0 auto; width: 4px; }
  .vt-line { border-top: 0; border-left: 3px dashed rgba(160, 175, 220, .35); transform: scaleY(0); transform-origin: 50% 0; }
  .vault.in .vt-line { transform: scaleY(1); }
}
@media (max-width: 620px) {
  .ba { grid-template-columns: minmax(0, 1fr); }
  .who-grid { grid-template-columns: minmax(0, 1fr); }
  .vt-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .bd-th { width: 40px; height: 26px; }
  .uc-hl-lab { font-size: .68rem; padding: 5px 8px; top: -28px; }
  .ad-chat { min-height: 0; }
}

/* ---------- reduced motion: every part shows its end state ---------- */
@media (prefers-reduced-motion: reduce) {
  .ut-grad { background-size: 100% 100%; }
  .board, .why-pill, .ut-line, .uc-sub, .why-facts { animation: none !important; }
  .uc-step .uc-hl, .uc-step .strike, .uc-step .wave, .uc-step .rm-area, .uc-step .rm-tag,
  .vault .vt-items li, .vault .vt-line, .vault .vt-cross, .ba .ba-steps li, .ba .ba-meter i {
    transition: none !important; }
  .uc-step.in .wave i, .uc-step.in .rm-cursor, .uc-step.in .rm-ripple, .uc-step.in .rm-zoom, .vault.in .vt-ring, .uc-step.in .rm-tag .ico { animation: none !important; }
  .uc-step.in .uc-hl.seq2, .uc-step.in .uc-hl.seq3 { animation: none !important; opacity: 1; box-shadow: 0 0 24px rgba(246, 196, 83, .45); }
  .uc-step.in .rm-cursor { left: 37%; top: 52%; }
}
@media (forced-colors: active) {
  .ut-grad { -webkit-text-fill-color: currentColor; background: none; }
  .uc-hl { border-color: Highlight; }
  .uc-hl-lab, .rm-tag { forced-color-adjust: none; }
}
