.home-hero {
    padding: clamp(32px, 4vw, 53px) 0;
    background: radial-gradient(ellipse at 85% 20%, #e0eee2, transparent 55%), linear-gradient(120deg, #f6f9f3, #edf5ef);
}
.home-hero .hero-grid {grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 62px);}
.home-hero h1 {font-size: clamp(36px, 3.45vw, 45px); line-height: 1.14;}
.home-hero .hero-grid > div > p {margin-top: 19px;}
.home-hero .hero-actions {margin-top: 23px;}
.hero-showcase {
    display: grid; min-width: 0; width: 100%; max-width: 560px; justify-self: end; grid-template-areas: "bar" "panels" "controls";
    border: 1px solid #d2e4d7; border-radius: 22px; background: #fff;
    box-shadow: 0 20px 56px #163e2920; overflow: hidden;
}
.hero-showcase [hidden] {display: none !important;}
.showcase-bar {
    grid-area: bar; display: flex; justify-content: space-between; align-items: center;
    gap: 12px; padding: 9px 16px; min-height: 40px; background: #153e30; color: #fff;
    font-size: 11px; font-weight: 700;
}
.showcase-bar > span:first-child {display: flex; gap: 8px; align-items: center;}
.showcase-bar svg {width: 15px; height: 15px; color: #d6eaa8;}
.showcase-count {font-variant-numeric: tabular-nums; color: #d6eaa8; white-space: nowrap;}
.showcase-panels {grid-area: panels;}
.showcase-visual {background: linear-gradient(135deg,#f1f8f0,#e0efe2); overflow: hidden;}
.showcase-scene {display: block; width: 100%; height: auto; aspect-ratio: 740 / 350; stroke: none; fill: none;}
.showcase-caption {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    min-height: 104px; padding: 10px 16px; border-top: 1px solid #e4ece4;
}
.showcase-category {
    color: #166349; font-weight: 700; font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
}
.showcase-caption h2 {margin: 4px 0; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.3;}
.home-hero .showcase-caption p {margin: 4px 0 0; max-width: 390px; font-size: 11px; line-height: 1.65;}
.showcase-detail {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding-block: 10px;
    color: #166349; font-size: 11px; font-weight: 700; text-decoration: none;
}
.showcase-detail:hover {text-decoration: underline;}
.showcase-detail svg {width: 14px; height: 14px;}
.showcase-controls {
    grid-area: controls; display: flex; align-items: center; justify-content: space-between;
    gap: 8px; padding: 5px 12px; border-top: 1px solid #e4ece4; background: #f8faf7;
}
.showcase-arrows,.showcase-dots {display: flex; align-items: center; gap: 4px;}
.showcase-controls :is(button,a):focus-visible {outline: 2px solid #166349; outline-offset: 2px;}
.showcase-control,.showcase-dot {
    display: grid; place-items: center; color: #166349; cursor: pointer; background: transparent;
}
.showcase-control {width: 36px; height: 36px; padding: 0; border-radius: 8px; border: 1px solid #d2e4d7;}
.showcase-control:hover,.showcase-dot:hover {background: #e3efe5;}
.showcase-control svg {width: 17px; height: 17px;}
.showcase-prev svg {transform: rotate(180deg);}
.showcase-dot {width: 28px; height: 34px; border: 0; border-radius: 6px; padding: 0;}
.showcase-dot span {width: 7px; height: 7px; border-radius: 10px; background: #8ca698;}
.showcase-dot[aria-pressed="true"] span {width: 18px; background: #166349;}
.showcase-sr {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;}
.showcase-scene :is(.scene-float,.scene-flow,.scene-pulse,.scene-bar) {
    animation-delay: var(--scene-delay, 0s);
    animation-duration: 3.2s;
    animation-timing-function: ease-in-out;
}
.hero-showcase[data-scene-running] .showcase-scene :is(.scene-float,.scene-flow,.scene-pulse,.scene-bar) {
    animation-iteration-count: infinite;
}
:is(.hero-showcase[data-scene-running],.showcase-manual) .scene-float {animation-name: scene-float;}
:is(.hero-showcase[data-scene-running],.showcase-manual) .scene-flow {animation-name: scene-flow; animation-timing-function: linear;}
:is(.hero-showcase[data-scene-running],.showcase-manual) .scene-pulse {animation-name: scene-pulse;}
:is(.hero-showcase[data-scene-running],.showcase-manual) .scene-bar {animation-name: scene-bar;}
.scene-pulse,.scene-bar {transform-box: fill-box; transform-origin: center bottom;}
@keyframes scene-float {0%,100% {transform: translateY(0);} 50% {transform: translateY(-6px);}}
@keyframes scene-flow {to {stroke-dashoffset: -68;}}
@keyframes scene-pulse {0%,100% {transform: scale(1); opacity: .85;} 45% {transform: scale(1.7); opacity: .5;}}
@keyframes scene-bar {0%,100% {transform: scaleY(1);} 38% {transform: scaleY(.62);} 76% {transform: scaleY(1.07);}}
@media (min-width: 761px) and (max-width: 1020px) {
    .showcase-caption {min-height: 118px;}
}
@media (max-width: 760px) {
    .home-hero .hero-grid {grid-template-columns: 1fr; gap: 30px;}
    .home-hero h1 {font-size: clamp(33px, 7.6vw, 43px);}
    .hero-showcase {border-radius: 16px; justify-self: start;}
}
@media (max-width: 420px) {
    .showcase-bar,.showcase-caption {padding-inline: 12px;}
    .showcase-caption {display: block; min-height: 122px;}
    .showcase-detail {padding-block: 6px;}
    .showcase-controls {padding-inline: 9px;}
    .showcase-dot {width: 24px;}
    .showcase-dots {gap: 1px;}
    .showcase-control {width: 36px; height: 36px;}
}
@media (prefers-reduced-motion: reduce) {
    .hero-showcase .showcase-scene :is(.scene-float,.scene-flow,.scene-pulse,.scene-bar) {animation: none !important;}
}

[data-showcase-count] {
    display: none !important;
}
