/* Vector Lotties anywhere on the site (assets/lottie/mount.js). The still is the poster and keeps the figure's size;
   the player draws over it and hides it only once its first frame is up. */
.lottie-loop { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: #f5f1e5; line-height: 0 }
.lottie-loop > img { display: block; width: 100%; height: auto }
.lottie-loop > .lottie-player { position: absolute; inset: 0 }
.lottie-loop > .lottie-player svg { display: block; width: 100%; height: 100% }
.lottie-loop[data-state="playing"] > img, .lottie-loop[data-state="paused"] > img { visibility: hidden }
@media (prefers-reduced-motion: reduce) { .lottie-loop > .lottie-player { display: none } .lottie-loop > img { visibility: visible !important } }
/* The product overview's tab loops (/product/). */
.pd-vignette { border-radius: 10px; box-shadow: 0 18px 40px -24px #0008 }
.pd-vignette-note { margin-top: 1.4rem; font-size: .85rem; opacity: .75 }
/* The smart-components gallery (/product/workshops/library/). */
.sc-group .hub-head { margin-bottom: 1.2rem }
/* Three columns at most on a desktop, so a loop is drawn 360px wide or more and its words read at 11px or more. */
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem) }
.sc-card { display: flex; flex-direction: column; min-width: 0; padding: .7rem .7rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fffdf6 }
.sc-card h3 { margin: .85rem .2rem 0; font: 700 1.45rem/1.05 "Archivo Narrow", "Arial Narrow", sans-serif; letter-spacing: -.02em }
.sc-card p, .sc-card ol { margin: .45rem .2rem 0 }
.sc-line { color: #4d5f53 }
.sc-caption { padding: .45rem .6rem; border-left: 3px solid var(--c-workshops-deep, #76500a); background: #f7efd9; font: italic 1.08rem/1.25 "Instrument Serif", Georgia, serif }
.sc-caption small, .sc-say small { display: block; font: 600 .78rem/1.3 "Helvetica Neue", Arial, sans-serif; font-style: normal; letter-spacing: .02em; color: #5b6b60 }
.sc-steps { padding-left: 1.2rem; font-size: .93rem; line-height: 1.4 }
.sc-say { font-weight: 600 }
.sc-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: auto !important; padding-top: .8rem; font-weight: 600 }
.sc-lanes-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: start }
.sc-lane-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: .2rem 1.4rem; margin: 1rem 0 0; padding: 0; list-style: none }
.sc-lane-list li { padding: .55rem 0; border-top: 1px solid var(--line) }
.sc-lane-list b { display: block; font: 700 1.15rem/1.1 "Archivo Narrow", "Arial Narrow", sans-serif }
.sc-lane-list span { display: block; font-size: .88rem; color: #4d5f53 }
.sc-lane-list em { display: block; font: italic 1rem/1.3 "Instrument Serif", Georgia, serif }
@media (max-width: 800px) { .sc-lanes-inner { grid-template-columns: minmax(0, 1fr) } }
/* The homepage library strip (site/parts/home/library-strip.html). */
section.library-strip { padding: clamp(40px,5vw,84px) var(--pad) clamp(44px,5.4vw,92px); border-bottom: 1px solid var(--line) }
.library-strip h2 { max-width: 22ch; font-size: clamp(2.1rem,3.3vw,3.8rem) }
.library-strip > p { margin: 1.4rem 0 0; font-weight: 600 }
/* Three columns at most, as in the gallery: each loop 360px wide or more on a desktop, the whole width on a phone. */
.library-strip .lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin: 1.4rem 0 0; padding: 0; list-style: none }
.library-strip .lib-grid a { display: block; color: inherit; text-decoration: none }
.library-strip .lib-grid b { display: block; margin-top: .6rem; font: 700 1.25rem/1.1 "Archivo Narrow", "Arial Narrow", sans-serif }
.library-strip .lib-grid em { display: block; margin-top: .2rem; font: italic 1.02rem/1.3 "Instrument Serif", Georgia, serif; color: #3e5145 }
.library-strip .lib-grid a:hover b { text-decoration: underline; text-underline-offset: .14em }
.sc-hero-loop { box-shadow: 0 18px 40px -26px #0007 }
/* The homepage's "Your AI, your choice" column: the profile's AI settings, a connection made and a feature switched. */
.pricing-loop { margin-top: 1.2rem; border: 1px solid var(--line) }
/* /product/presentations/: the planned walkthrough and the published link, side by side. */
.present-loops { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(1rem,2vw,1.6rem); max-width: 56rem; margin: 2rem auto 0 }
/* /developers/: how an agent that runs a script appears on the slate. */
.agent-loop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem,3vw,2.4rem); align-items: center; margin: 2.2rem 0 }
.agent-loop p { margin: 0; max-width: 46ch }
@media (max-width: 800px) { .agent-loop { grid-template-columns: minmax(0, 1fr) } }
/* The Smart components hub: where its boards are watched on the real canvas. */
.sc-watch { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 0; padding: 0 var(--pad) clamp(28px,3vw,48px); font-weight: 600 }
