/* Gravity agent catalog UI, shared by the homepage hero and /explore-agents: the live catalog
   rendered as the landing-page card grid (design: gravity-landing.html, 2026-10-16) plus the app's
   details drawer (dev.gravity.fast/app .sp). Scoped under .gx (grid) and .gx-ov (panel). Rendered by
   /js/agent-catalog.js. */
.gx{margin:40px auto 0;max-width:1180px;text-align:left}
.gx .istack,.gx-ov .istack{flex:none;display:flex;align-items:center}
/* panel tiles (the app's 34px .ti) */
.gx-ov .ti{flex:none;width:34px;height:34px;border-radius:10px;background:#151515;border:1px solid #262626;display:grid;place-items:center;color:#CFCFCF}
.gx-ov .ti + .ti{margin-left:-8px}
.gx-ov .ti img{width:18px;height:18px;object-fit:contain;border-radius:3px}
.gx-ov .ti b{font-size:12px;font-weight:700}
.gx-ov .ti.more{font-size:12px;font-weight:600;color:#BDBDBD}
/* grid: 3 columns, the most-used agent as a 2x2 card */
.gx .egrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gx .ecard,.gx .gx-hero{position:relative;display:flex;flex-direction:column;align-items:stretch;padding:32px;border:1px solid #232323;border-radius:24px;background:#0E0E0E;color:inherit;text-align:left;text-decoration:none;cursor:pointer;min-height:0;transition:border-color .2s;animation:gxRise .45s cubic-bezier(.2,.8,.2,1) both}
.gx .ecard:hover,.gx .ecard:focus-visible,.gx .gx-hero:hover,.gx .gx-hero:focus-visible{border-color:#333}
.gx .gx-hero{grid-column:span 2;grid-row:span 2;min-height:510px}
.gx .ecard-top,.gx .gx-hero-top{display:flex;align-items:center;min-height:50px;padding-right:120px}
.gx .ti{flex:none;width:50px;height:50px;border-radius:12px;border:1px solid #232323;background:#121212;display:grid;place-items:center;color:#E6E6E6}
.gx .ti + .ti{margin-left:-6px}
.gx .ti img{width:26px;height:26px;object-fit:contain;border-radius:4px}
.gx .ti b{font-size:17px;font-weight:700}
.gx .ti.more{font-size:14px;font-weight:600;color:#BDBDBD}
.gx .hflow{display:inline-flex;align-items:center}
.gx .htile{width:60px;height:60px;border-radius:14px;border:1px solid #232323;background:#121212;display:grid;place-items:center;color:#E6E6E6}
.gx .htile img{width:30px;height:30px;object-fit:contain}
.gx .htile b{font-size:20px;font-weight:700}
.gx .hdash{margin:0 8px;color:#7a7a7a}
.gx .hdash line{stroke-dasharray:3 3;animation:gxDash 1.2s linear infinite}
/* top-right arrow that reveals "Try for free" on hover */
.gx .etr{position:absolute;top:36px;right:34px;display:flex;align-items:center;gap:8px;color:#7a7a7a;font-size:20px;line-height:1;transition:color .2s}
.gx .etr .try{font-size:14px;font-weight:500;white-space:nowrap;max-width:0;overflow:hidden;opacity:0;transform:translateX(6px);transition:max-width .3s ease,opacity .25s ease,transform .3s ease}
.gx .go-ar{display:block;width:18px;height:18px;transition:transform .3s ease}
.gx .ecard:hover .etr,.gx .ecard:focus-visible .etr,.gx .gx-hero:hover .etr,.gx .gx-hero:focus-visible .etr{color:#f8b300}
.gx .ecard:hover .etr .try,.gx .ecard:focus-visible .etr .try,.gx .gx-hero:hover .etr .try,.gx .gx-hero:focus-visible .etr .try{max-width:110px;opacity:1;transform:none}
.gx .ecard:hover .go-ar,.gx .gx-hero:hover .go-ar{transform:translateX(3px)}
@media(hover:none){.gx .etr .try{max-width:110px;opacity:1;transform:none}}
/* text */
.gx .ename{display:block;margin-top:40px;font-size:24px;font-weight:600;letter-spacing:-.01em;line-height:1.25;color:#ececec}
.gx .edesc{display:-webkit-box;margin:12px 0 0;font-size:17px;line-height:1.6;color:#a3a3a3;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.gx .gx-hero .body{margin-top:auto}
.gx .hero-k{font-size:14px;letter-spacing:.16em;font-weight:500;text-transform:uppercase;color:#7a7a7a}
.gx .gx-hero h2{margin:10px 0 0;font-size:clamp(30px,3vw,40px);font-weight:600;letter-spacing:-.01em;line-height:1.15;color:#ececec}
.gx .hero-d{display:-webkit-box;margin:12px 0 0;font-size:18px;line-height:1.6;color:#a3a3a3;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.gx .request{margin:40px 0 0;text-align:center;font-size:16px;color:#7a7a7a}
.gx .request a{color:#f8b300;text-decoration:none;font-weight:500;margin-left:4px}
.gx .request a:hover{text-decoration:underline}
.gx .gx-empty{grid-column:1/-1;padding:32px 16px;text-align:center;color:#a3a3a3;font-size:16px}
.gx .gx-empty a{color:#f8b300;font-weight:600}
.gx .gx-empty button{background:none;border:0;padding:0;color:#f8b300;font:inherit;font-weight:600;cursor:pointer}
.gx .is-skel{pointer-events:none;animation:none}
.gx .skel{display:block;height:14px;border-radius:6px;background:linear-gradient(90deg,#141414,#1f1f1f,#141414);background-size:200% 100%;animation:gvSkel 1.2s linear infinite}
@keyframes gxRise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes gxDash{to{stroke-dashoffset:-12}}
@keyframes gvSkel{to{background-position:-200% 0}}
@media(max-width:980px){.gx .egrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.gx .egrid{grid-template-columns:1fr}.gx .gx-hero{grid-column:auto;grid-row:auto;min-height:380px}.gx .ecard,.gx .gx-hero{padding:24px}.gx .etr{top:28px;right:26px}.gx .ecard-top,.gx .gx-hero-top{padding-right:100px}}
@media(prefers-reduced-motion:reduce){.gx .ecard,.gx .gx-hero{animation:none;transition:none}.gx .hdash line,.gx .skel{animation:none}}
/* Agent details side panel: the app's .sp drawer (app.css .drawer-scrim/.sp/.tline/.getbox), fixed to
   the viewport here because the site has no app frame. */
.gx-ov:empty{display:none}
.gx-ov{position:fixed;inset:0;z-index:1000}
.gx-ov .drawer-scrim{position:absolute;inset:0;border:0;padding:0;z-index:40;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:gxFade .3s ease both;cursor:default}
.gx-ov .sp{position:absolute;top:8px;right:8px;bottom:8px;z-index:41;width:min(560px,calc(100% - 16px));display:flex;flex-direction:column;background:#0B0B0B;border:1px solid #1F1F1F;border-radius:20px;box-shadow:-30px 0 80px rgba(0,0,0,.55);overflow:hidden;animation:gxSlide .42s cubic-bezier(.2,.8,.2,1) both;text-align:left;color:#F2F2F2}
.gx-ov .sp-h{display:flex;align-items:center;justify-content:space-between;padding:16px 14px 0 26px;font-size:13px;font-weight:600;color:#7D7D7D}
.gx-ov .icon-btn{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#8A8A8A;flex:none;cursor:pointer}
.gx-ov .icon-btn:hover{background:#1A1A1A;color:#fff}
.gx-ov .sp-b{flex:1;min-height:0;overflow-y:auto;padding:14px 26px 24px;scrollbar-width:thin;scrollbar-color:#242424 transparent}
.gx-ov .sp-b h2{margin:16px 0 8px;font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.015em;text-wrap:balance;color:#F2F2F2}
.gx-ov .sp-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;color:#8C8C8C}
.gx-ov .sp-desc{margin:14px 0 0;color:#A3A3A3;line-height:1.6}
.gx-ov .uc{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#7D7D7D;font-variant-numeric:tabular-nums;white-space:nowrap}
.gx-ov .sp-sec{margin-top:30px}
.gx-ov .dlabel{margin:0 0 14px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#7D7D7D}
.gx-ov .sp-lede{margin:0 0 12px;color:#8C8C8C;font-size:14px}
.gx-ov .tline{list-style:none;margin:0;padding:0}
.gx-ov .tli{position:relative;display:flex;gap:14px;align-items:flex-start;padding-bottom:18px}
.gx-ov .tli:not(:last-child)::before{content:"";position:absolute;left:12px;top:28px;bottom:2px;width:1px;background:#2A2A2A}
.gx-ov .tld{flex:none;width:25px;height:25px;border-radius:50%;border:1px solid #333;background:#121212;color:#CFCFCF;font-size:12px;font-weight:600;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.gx-ov .tlt{padding-top:2px;font-size:15px;line-height:1.45;color:#E6E6E6}
.gx-ov .tlt small{display:block;color:#7D7D7D;margin-top:2px;font-size:13px}
.gx-ov .getbox{display:flex;align-items:flex-start;gap:16px;padding:18px;border:1px solid #232323;border-radius:16px;background:#0F0F0F}
.gx-ov .getbox+.getbox{margin-top:10px}
.gx-ov .cicon{flex:none;width:48px;height:48px;border-radius:14px;background:#1A1A1A;display:grid;place-items:center;color:#E6E6E6}
.gx-ov .cicon img{width:24px;height:24px;object-fit:contain}
.gx-ov .cicon b{font-size:16px}
.gx-ov .gb-m{display:flex;flex-direction:column;gap:4px;min-width:0}
.gx-ov .gb-m b{font-size:16px;font-weight:600;color:#F2F2F2}
.gx-ov .gb-m span{font-size:14px;line-height:1.55;color:#9A9A9A}
.gx-ov .sp-f{padding:16px 26px 18px;border-top:1px solid #1A1A1A;display:flex;align-items:center;justify-content:space-between;gap:12px}
.gx-ov .btn-y{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 20px;border:0;border-radius:999px;background:#f8b300;color:#111;font-size:16px;font-weight:600;text-decoration:none;transition:background .2s}
.gx-ov .btn-y:hover{background:#FFC528;color:#111}
/* "See sample result" (the app's app.css .btn-g/.sp.wide/.sp-sw/.sp-smp): the panel widens and the app's /app/embed
   draws the sample in a frame sized by the height it posts. */
.gx-ov [hidden]{display:none!important}
.gx-ov .btn-g{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:46px;padding:0 22px;border:1px solid #2E2E2E;border-radius:999px;background:transparent;color:#E6E6E6;font:inherit;font-size:15px;font-weight:500;cursor:pointer;transition:background .2s}
.gx-ov .btn-g:hover{background:#151515}
.gx-ov .sp{transition:width .35s cubic-bezier(.2,.8,.2,1)}
.gx-ov .sp.wide{width:min(880px,calc(100% - 16px))}
.gx-ov .sp-f .sp-sw{flex:none;height:48px;padding:0 20px;font-size:15px;gap:8px}
.gx-ov .sp-f .sp-sw svg{flex:none;color:#BDBDBD}
.gx-ov .sp-smp{padding-top:14px;animation:gxFade .35s both}
.gx-ov .sp-smp-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 16px}
.gx-ov .sp-smp-h{display:flex;flex-direction:column;gap:4px;margin:0;min-width:0}
.gx-ov .sp-smp-h b{font-size:22px;font-weight:600;letter-spacing:-.015em;color:#F2F2F2}
.gx-ov .sp-smp-h span{font-size:14.5px;line-height:1.5;color:#8C8C8C}
.gx-ov .sp-smp-wait{margin:0;font-size:14px;color:#7D7D7D}
.gx-ov .sp-smp-f{display:block;width:100%;height:0;border:0;background:transparent;color-scheme:dark}
@media(max-width:480px){.gx-ov .sp-f .sp-sw{padding:0 16px;font-size:14px}.gx-ov .sp-f .sp-sw svg{display:none}}
.gx-ov .ti.lg{width:52px;height:52px;border-radius:15px}
.gx-ov .ti.lg img{width:26px;height:26px}
.gx-ov .ti.lg + .ti.lg{margin-left:-10px}
@keyframes gxFade{from{opacity:0}to{opacity:1}}
@keyframes gxSlide{from{transform:translateX(40px);opacity:0}to{transform:none;opacity:1}}
@media(max-width:700px){.gx-ov .sp-b,.gx-ov .sp-f{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){.gx-ov .sp,.gx-ov .drawer-scrim{animation:none}}
body.gx-lock{overflow:hidden}
.gx-empty button{background:none;border:0;padding:0;color:#f8b300;font:inherit;font-weight:600;cursor:pointer}
