/* Demo-specific CSS: only placement; every look comes from the theme. */

/* "More step controls": the circle that data-on-step grows. */
.grower { position: relative; display: inline-block; --d: 160; margin: 120px 0 90px; transition: transform 0.4s ease; }
.stepnote { margin: 0 auto; }

/* The oscillator sheet keeps a little less room above new content. */
#oscillator { --k-camera-top: 30; }

/* The dark divider: the density plot as a faint background (.fill). */
.k-scene .subfill { opacity: 0.6; mix-blend-mode: multiply; }
.subfill ~ * { position: relative; }

/* Arrow styles: smaller arrowheads on the dense diagram. */
#arrows { --k-arrow-head: 0.8; }
.arrowdemo { width: 1420px; margin: 0 auto; }

/* Video: the playing video and, below it, the still that opens as a popup. */
.vids { display: flex; flex-direction: column; gap: 30px; }
.vids video { width: 100%; }
.vids .vidpop { width: 360px; }

/* Components. */
.k-scene.demo-glyph { --k-glyph: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273.5%27 y=%273.5%27 width=%277%27 height=%277%27 rx=%271.5%27/%3E%3Crect x=%2713.5%27 y=%273.5%27 width=%277%27 height=%277%27 rx=%271.5%27/%3E%3Crect x=%273.5%27 y=%2713.5%27 width=%277%27 height=%277%27 rx=%271.5%27/%3E%3Crect x=%2713.5%27 y=%2713.5%27 width=%277%27 height=%277%27 rx=%271.5%27/%3E%3C/svg%3E"); }
.cardcol { display: flex; flex-direction: column; gap: 22px; }
.k-scene .card h3 { margin: 0 0 6px; font-size: 34px; }
.k-scene .card p { margin: 0; font-size: 30px; }
.stats + .stats { margin-top: 22px; }
.k-scene p.chips { margin-top: 30px; }
.codecard + .codecard { margin-top: 28px; }
.callout + .checklist { margin-top: 28px; }

/* Popups: open, the box's text left and the detail right. */
.popdemo { margin-top: 10px; }
.popdemo > .card { display: grid; grid-template-columns: 1fr 260px; column-gap: 30px; }
.popdemo > .card > img { grid-column: 2; grid-row: 1 / 4; width: 260px; }
.popdemo + .footrow { margin-top: 60px; }
.k-scene .popdemo > .card.k-popup-open > img { grid-column: 1; grid-row: 3; width: 360px; margin-top: 30px; }
.k-scene .card.k-popup-open { display: grid; grid-template-columns: 520px 1fr; column-gap: 60px; align-content: start; padding: 40px 56px; }
.card.k-popup-open > :not(.popup-only) { grid-column: 1; }
.card.k-popup-open > .popup-only { grid-column: 2; grid-row: 1 / 4; }
.card.k-popup-open .stats { margin-bottom: 30px; }
.badge .popup-only p { font-size: 34px; }
.outlook b { font-size: 60px; }
.outlook span { font-size: 28px; }

/* Sheet without glass: the first screen is a full slide, the video the second. */
#plainsheet ul { margin-bottom: 800px; }
#plainsheet .bottomline { bottom: auto; top: 872px; }
#plainsheet figure { margin: 0 auto 200px; width: 1560px; }
#plainsheet video { display: block; width: 100%; border-radius: var(--k-radius); }
