/* Focused captures of the real console, using fictional design-preview data. */
.usp-grid > .usp-card { min-width: 0; }
.usp-figure.usp-app-preview {
  aspect-ratio: 16 / 10;
  width: 100%;
  min-width: 0;
  background: #f3effa;
  box-shadow: none;
}
.pv-shell {
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  padding: 18px;
  display: grid;
  place-items: center;
}
.usp-app-preview .app-capture {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: 16px;
  animation: none;
  transform: none;
}
.usp-card:hover .usp-app-preview .app-capture { transform: none; }
@media (max-width: 640px) {
  .pv-shell { padding: 12px 10px; }
  .usp-app-preview .app-capture { border-radius: 10px; }
}

/* AI categorisation: the review panel leads the section, Jimmy works through the rows. */
.ai-stage { position: relative; width: min(100%, 1160px); margin: 132px auto 0; text-align: left; }
.ai-stage [hidden] { display: none !important; }
.ai-jimmy { position: absolute; right: 92px; bottom: 100%; margin-bottom: -38px; width: 132px; height: auto; z-index: 0; filter: drop-shadow(0 10px 16px rgba(35, 29, 46, 0.18)); }
.ai-say { position: absolute; right: 238px; bottom: 100%; margin: 0 0 30px; z-index: 3; width: max-content; max-width: 340px; padding: 13px 18px; background: var(--velo-ink); border-radius: 18px; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.28; letter-spacing: -0.015em; filter: drop-shadow(0 12px 16px rgba(35, 29, 46, 0.28)); }
.ai-say::after { content: ""; position: absolute; right: -13px; top: 50%; width: 14px; height: 18px; margin-top: -9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath fill='%23231d2e' d='M0 0C4 4 9 6.5 12.6 8c1.2.5 1.2 1.5 0 2C9 11.5 4 14 0 18z'/%3E%3C/svg%3E") center / contain no-repeat; }
.usp-card.ai-card, .usp-card.ai-card:hover { z-index: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 34px; padding: 24px; transform: none; }
.ai-body { display: flex; flex-direction: column; justify-content: center; padding: 14px 2px 10px 14px; }
.usp-card p.ai-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(35, 29, 46, 0.1); font-size: 14.5px; line-height: 1.4; color: rgba(35, 29, 46, 0.56); }
.ai-figure { position: relative; min-width: 0; padding: 18px; background: #f3effa; border-radius: 11px; }
.ai-console { padding: 18px 18px 8px; background: #fff; border-radius: 16px; }
.ai-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; padding-right: 62px; }
.ai-status { display: flex; align-items: center; gap: 8px; font-size: 20px; letter-spacing: -0.022em; line-height: 1.15; }
.ai-status strong, .ai-status b { font-weight: 500; }
.ai-status b { font-variant-numeric: tabular-nums; }
.ai-status .ai-spark { width: 22px; height: 22px; }
.ai-spark { flex: none; width: 15px; height: 15px; fill: var(--velo-violet); }
.ai-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ai-left { font-size: 13px; color: rgba(35, 29, 46, 0.56); white-space: nowrap; }
.ai-left b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ai-all, .ai-accept { border: 0; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; padding: 8px 14px; white-space: nowrap; cursor: pointer; }
.ai-all { background: var(--velo-ink); color: #fff; }
.ai-accept { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 11px; background: #f3effa; color: var(--velo-ink); transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease; }
.ai-accept:hover { background: var(--velo-violet); color: #fff; transform: translateY(-1px); }
.ai-accept:active { transform: scale(0.94); }
.ai-accept::before, .ai-act .ai-chip::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.ai-act .ai-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 11px; border-radius: 999px; background: var(--velo-violet); color: #fff; font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; }
.is-just .ai-act .ai-chip { animation: ai-accepted 0.42s cubic-bezier(.22, .61, .36, 1); }
.is-just .ai-act .ai-chip::before { animation: ai-tick 0.36s 0.08s ease-out backwards; }
.is-just .ai-act .ai-chip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: ai-ring 0.62s ease-out forwards; }
.ai-table tr.is-just { animation: ai-flash 0.8s ease-out; }
.ai-all:disabled { opacity: 0.5; cursor: default; }
.ai-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.ai-table th { padding: 10px 8px; border-bottom: 1px solid rgba(35, 29, 46, 0.1); font-size: 13px; font-weight: 500; color: rgba(35, 29, 46, 0.56); }
.ai-table td { padding: 9px 8px; border-bottom: 1px solid rgba(35, 29, 46, 0.1); vertical-align: middle; }
.ai-table tbody tr:last-child td { border-bottom: 0; }
.ai-table td:last-child { text-align: right; }
.ai-name { font-weight: 500; white-space: nowrap; }
.ai-vendor { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; line-height: 1.2; color: rgba(35, 29, 46, 0.56); }
.is-waiting .ai-vendor { visibility: hidden; }
.ai-chip { display: inline-block; padding: 3px 9px; border-radius: 7px; background: #f3effa; color: rgba(35, 29, 46, 0.72); font-size: 13px; white-space: nowrap; }
.ai-arrow { width: 26px; padding-left: 0 !important; padding-right: 0 !important; }
.ai-arrow svg { display: block; width: 18px; height: 18px; fill: none; stroke: var(--velo-violet); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ai-result { position: relative; }
.ai-pick { position: relative; display: inline-flex; align-items: center; max-width: 100%; border-radius: 999px; background: var(--velo-bright); }
.ai-pick .ai-spark { position: absolute; left: 10px; pointer-events: none; }
.ai-pick select { appearance: none; -webkit-appearance: none; max-width: 100%; border: 0; border-radius: 999px; padding: 7px 30px 7px 31px; color: var(--velo-ink); font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231d2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 13px no-repeat; }
.is-done .ai-pick { background: #f3effa; }
.is-done .ai-pick select { background-image: none; padding-right: 14px; cursor: default; }
.is-done .ai-name { color: rgba(35, 29, 46, 0.56); }
.is-waiting .ai-pick, .is-waiting .ai-accept { visibility: hidden; }
.is-waiting .ai-arrow svg { stroke: rgba(35, 29, 46, 0.2); }
.is-waiting .ai-result::before { content: ""; position: absolute; left: 8px; top: 50%; width: 118px; height: 30px; margin-top: -15px; border-radius: 999px; background: #f3effa; }
.is-pending .ai-all { opacity: 0.4; pointer-events: none; }
.is-pending .ai-jimmy { animation: ai-jimmy 1.5s ease-in-out infinite; }
.ai-table tr.is-reading { background: linear-gradient(100deg, transparent 28%, rgba(139, 111, 232, 0.2) 50%, transparent 72%) 130% 0 / 220% 100% no-repeat; animation: ai-sweep 0.68s linear; }
.is-fresh .ai-pick { animation: ai-pop 0.42s cubic-bezier(.22, .61, .36, 1); }
.is-fresh .ai-spark { animation: ai-glint 0.72s ease-out; }
@keyframes ai-accepted { 0% { transform: scale(0.82); } 60% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes ai-tick { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ai-ring { from { box-shadow: 0 0 0 0 rgba(139, 111, 232, 0.55); } to { box-shadow: 0 0 0 12px rgba(139, 111, 232, 0); } }
@keyframes ai-flash { from { background-color: rgba(226, 211, 255, 0.75); } to { background-color: transparent; } }
@keyframes ai-sweep { to { background-position: -30% 0; } }
@keyframes ai-pop { 0% { transform: scale(0.78); opacity: 0; } 65% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ai-glint { 0% { transform: scale(0.4) rotate(-45deg); } 55% { transform: scale(1.4) rotate(12deg); } 100% { transform: none; } }
@keyframes ai-jimmy { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.usp-grid.usp-minor { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.usp-minor .usp-card { padding: 14px 14px 20px; }
.usp-minor .usp-figure.usp-app-preview { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.usp-minor .pv-shell { padding: 10px; }
.usp-minor .usp-app-preview .app-capture { border-radius: 8px; }
.usp-minor .usp-body { padding: 0 4px; }
.usp-minor .usp-card h3 { margin-bottom: 5px; font-size: 21.6px; line-height: 1.1; }
.usp-minor .usp-card p { font-size: 15.5px; line-height: 1.4; }
@media (max-width: 1060px) {
  .ai-before, .ai-arrow { display: none; }
}
@media (max-width: 860px) {
  .ai-stage { margin-top: 128px; }
  .usp-card.ai-card, .usp-card.ai-card:hover { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; }
  .ai-body { padding: 6px 6px 0; }
  .ai-jimmy { right: 14px; width: 96px; margin-bottom: -28px; }
  .ai-say { right: 116px; margin-bottom: 22px; width: auto; max-width: min(240px, calc(100% - 124px)); padding: 11px 14px; font-size: 14.5px; }
  .usp-grid.usp-minor { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
}
@media (max-width: 640px) {
  .ai-figure { padding: 10px; }
  .ai-console { padding: 12px 10px 4px; }
  .ai-head { padding-right: 0; margin-top: 26px; }
  .ai-status { font-size: 18px; }
  .ai-tools { width: 100%; margin-left: 0; justify-content: space-between; }
  .ai-table, .ai-table tbody { display: block; }
  .ai-table thead { display: none; }
  .ai-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px 8px; padding: 10px 4px; border-bottom: 1px solid rgba(35, 29, 46, 0.1); }
  .ai-table tbody tr:last-child { border-bottom: 0; }
  .ai-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .ai-table td.ai-before, .ai-table td.ai-arrow { display: none; }
  .ai-table td.ai-name { grid-column: 1 / -1; }
  .ai-vendor { display: inline; margin: 0 0 0 7px; }
  .is-waiting .ai-result::before { left: 0; }
  .ai-pick select { padding-left: 28px; padding-right: 24px; font-size: 13px; background-position: right 8px center; }
  .ai-accept, .ai-act .ai-chip { padding: 7px 11px 7px 9px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-pending .ai-jimmy, .ai-table tr.is-reading, .ai-table tr.is-just, .is-fresh .ai-pick, .is-fresh .ai-spark, .is-just .ai-act .ai-chip, .is-just .ai-act .ai-chip::before, .is-just .ai-act .ai-chip::after { animation: none; }
}
