@scope (.home-ui) {
.samples{overflow:hidden;padding-block:70px 55px}.samples .section-heading{align-items:center;margin-bottom:8px}.samples h2{font-size:43px}.carousel-controls{display:flex;align-items:center;gap:10px}.carousel-controls>span{font:11px/1.5 DM,Arial,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.07em;color:#999fac;margin-right:13px}.carousel-controls button{width:45px;height:45px;background:#171b25;color:#c8ccd5;border:1px solid #ffffff25;border-radius:50%;display:grid;place-items:center;transition:transform 180ms ease,background 180ms ease}.carousel-controls svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6}.carousel-controls [data-direction=previous] svg{transform:rotate(180deg)}.diagram-stage{position:relative;width:100%;height:545px;touch-action:pan-y;user-select:none;outline-offset:-6px;isolation:isolate;overflow:hidden}.diagram-stage:before,.diagram-stage:after{content:'';position:absolute;top:0;bottom:0;width:13%;z-index:15;pointer-events:none}.diagram-stage:before{left:0;background:linear-gradient(90deg,var(--bg),transparent)}.diagram-stage:after{right:0;background:linear-gradient(270deg,var(--bg),transparent)}.diagram-slide{width:min(65%,760px);margin:22px auto 0;border:1px solid #ffffff2e;border-radius:13px;overflow:hidden;background:#191e28;box-shadow:0 24px 75px #0005}.diagram-slide:not(:first-child){display:none}.diagram-stage[data-enhanced] .diagram-slide{display:block;position:absolute;left:50%;top:0;transform:translateX(-50%);margin-top:22px;transition:transform 350ms cubic-bezier(.22,.68,0,1),opacity 300ms ease,filter 300ms ease;transform-origin:center center}.diagram-stage[data-dragging] .diagram-slide,.diagram-stage[data-keyboard] .diagram-slide{transition:none}.slide-image{height:385px;background:#fff;padding:22px 28px}.slide-image img{width:100%;height:100%;object-fit:contain;pointer-events:none}.diagram-slide figcaption{padding:22px 25px;min-height:98px}.diagram-slide h3{font-size:22px;letter-spacing:-.035em}.diagram-slide p{color:#aab1bd;font-size:13px;margin-top:7px;line-height:1.6}.diagram-dots{display:flex;justify-content:center;gap:3px;margin-top:0}.diagram-dots button{display:grid;place-items:center;min-width:25px;height:36px;background:transparent;border:0;padding:5px;cursor:pointer}.diagram-dots span{display:block;width:5px;height:5px;background:#5b6170;border-radius:9px;transition:background 160ms ease,width 180ms ease}.diagram-dots [aria-pressed=true] span{width:23px;background:#bfb0e5}

.course-gallery .section-heading{display:flex;justify-content:space-between;gap:24px}.course-gallery h2{line-height:1.15}.course-gallery .gallery-link{text-align:center;margin-top:20px}.course-gallery .gallery-brand{display:inline-block;width:25px;height:25px;object-fit:contain;margin-right:9px;vertical-align:middle}.course-gallery .carousel-controls>span{font-size:13px}.course-gallery .diagram-dots button{min-width:32px;min-height:44px}
@media(hover:hover) and (pointer:fine){.carousel-controls button:hover{background:#292c3e}.diagram-dots button:hover span{background:#bfb0e5}}
@media(max-width:1050px){.diagram-stage{height:510px}.slide-image{height:350px}.diagram-slide{width:70%}}
@media(max-width:760px){.samples h2{font-size:36px}.diagram-slide{width:74%}.slide-image{height:300px;padding:18px}.diagram-stage{height:460px}.diagram-slide figcaption{padding:19px 21px}.diagram-slide h3{font-size:20px}.diagram-slide p{font-size:12px}.samples{padding-block:46px 35px}}
@media(max-width:480px){.samples .section-heading{gap:15px}.samples h2{font-size:30px;max-width:230px}.carousel-controls{gap:7px}.carousel-controls>span{display:none}.carousel-controls button{width:36px;height:36px}.carousel-controls svg{width:14px;height:14px}.diagram-slide{width:79%}.slide-image{height:255px;padding:13px}.diagram-slide figcaption{padding:18px;min-height:112px}.diagram-slide h3{font-size:18px;line-height:1.25}.diagram-slide p{font-size:11px;line-height:1.7}.diagram-stage{height:412px}.diagram-stage:before,.diagram-stage:after{width:6%}.diagram-dots{gap:0}.gallery-brand{width:20px!important;height:20px!important}}
@media(max-width:360px){.samples h2{font-size:26px}.slide-image{height:225px}.diagram-stage{height:390px}.diagram-slide figcaption{padding:16px}.diagram-slide h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.diagram-stage .diagram-slide,.diagram-dots span{transition:none!important}}

}
/* Preserve the source carousel heading layout inside the homepage's mobile styles. */
.home-ui .course-gallery .section-heading{flex-direction:row;text-align:left;align-items:center}
.home-ui .course-gallery .carousel-controls{flex-shrink:0}

.home-ui .course-gallery .gallery-brand{filter:brightness(0) invert(1)}
.home-ui .course-gallery .gallery-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 20px;font-size:14px;border-radius:7px;background:#c7baff12;border:1px solid #c7baff3d;color:#d7ccf4;box-shadow:none}
.home-ui #system-design-preview .gallery-button{color:#b9dfd1;background:#acd2c410;border-color:#acd2c43d}
@media(hover:hover) and (pointer:fine){.home-ui .course-gallery .gallery-button:hover{background:#c7baff22}.home-ui #system-design-preview .gallery-button:hover{background:#acd2c420}}
