/* Home banner slider (v1080): seven templates, six transitions, shared controls. */
.hs {
    --hs-head: var(--site-header-height, 88px);
    --hs-mx: 0;
    --hs-my: 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hl-bg, #fafaf8);
    outline: none;
}
.hs-track { display: grid; }
.hs-slide {
    --hs-a: #5b3df5;
    --hs-b: #0bb5d6;
    --hs-ink: #5b3df5;
    grid-area: 1 / 1;
    position: relative;
    isolation: isolate;
    min-height: min(100svh, 900px);
    display: flex;
    align-items: center;
    padding: calc(var(--hs-head) + 52px) 0 128px;
    background: var(--hl-bg, #fafaf8);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}
.hs-slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; z-index: 2; }
.hs-slide.is-leaving { visibility: visible; opacity: 1; z-index: 1; animation: hs-leave .9s var(--hl-ease, ease) both; }
.hs-inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.hs-solo .hs-inner { grid-template-columns: minmax(0, 980px); justify-content: center; text-align: center; }
.hs-copy { min-width: 0; }

/* Shared type */
.hs-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem .45rem .6rem; border: 1px solid var(--hl-line, #e6e8ef); background: var(--hl-surface, #fff); border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--hl-text, #3d4456); box-shadow: var(--hl-shadow-sm); margin-bottom: 1.5rem; }
.hs-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hs-a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hs-a) 18%, transparent); animation: hs-pulse 2.4s ease-in-out infinite; }
@keyframes hs-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--hs-a) 4%, transparent); } }
.hs-title { margin: 0; font-family: var(--hl-font-head); font-size: clamp(2.4rem, 1.25rem + 4.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; color: var(--hl-ink, #0f1222); text-wrap: balance; }
.hs-hl { display: inline-block; position: relative; vertical-align: bottom; }
.hs-hl-word { display: inline-block; background: linear-gradient(100deg, var(--hs-b) 0%, var(--hs-a) 75%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hs-hl-word.is-out { animation: hs-word-out .38s var(--hl-ease, ease) both; }
.hs-hl-word.is-in { animation: hs-word-in .5s var(--hl-ease, ease) both; }
@keyframes hs-word-out { to { opacity: 0; transform: translateY(-.35em); filter: blur(6px); } }
@keyframes hs-word-in { from { opacity: 0; transform: translateY(.4em); filter: blur(6px); } }
.hs-lead { margin: 1.4rem 0 0; max-width: 580px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--hl-muted, #5a6275); }
.hs-solo .hs-lead { margin-inline: auto; }
.hs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.1rem; }
.hs-solo .hs-actions { justify-content: center; }
.hs-slide .hs-btn { background: linear-gradient(100deg, var(--hs-a), color-mix(in srgb, var(--hs-a) 70%, var(--hs-b))); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--hs-a) 55%, transparent); }
.hs-slide .hs-btn:hover { filter: brightness(1.06); }
.hs-slide .hl-proof { margin-top: 2.6rem; }

/* Staggered entrance after the first change (the first paint stays static for LCP). */
.hs.is-ready .hs-slide.is-active .hs-r { animation: hs-rise .85s var(--hl-ease, ease) both; animation-delay: calc(var(--i, 0) * 90ms + 180ms); }
.hs.is-ready .hs-slide.is-active .hs-visual { animation: hs-visual-in 1.1s var(--hl-ease, ease) .2s both; }
@keyframes hs-rise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } }
@keyframes hs-visual-in { from { opacity: 0; transform: translateY(20px) scale(.96); } }

/* Transitions: the incoming slide animates over the outgoing one. */
.hs-slide.is-entering[data-transition="fade"] { animation: hs-in-fade .9s ease both; }
.hs-slide.is-entering[data-transition="slide"] { animation: hs-in-slide .95s var(--hl-ease, ease) both; }
.hs-slide.is-entering[data-transition="slide"].is-back { animation-name: hs-in-slide-back; }
.hs-slide.is-entering[data-transition="zoom"] { animation: hs-in-zoom 1s var(--hl-ease, ease) both; }
.hs-slide.is-entering[data-transition="blur"] { animation: hs-in-blur 1s ease both; }
.hs-slide.is-entering[data-transition="wipe"] { animation: hs-in-wipe 1s cubic-bezier(.7, 0, .2, 1) both; }
.hs-slide.is-entering[data-transition="wipe"].is-back { animation-name: hs-in-wipe-back; }
.hs-slide.is-entering[data-transition="portal"] { animation: hs-in-portal 1.15s cubic-bezier(.65, 0, .2, 1) both; }
.hs-slide.is-leaving[data-next="wipe"], .hs-slide.is-leaving[data-next="portal"] { animation: hs-hold 1.15s linear both; }
@keyframes hs-leave { to { opacity: 0; transform: scale(.985); } }
@keyframes hs-hold { to { opacity: 1; } }
@keyframes hs-in-fade { from { opacity: 0; } }
@keyframes hs-in-slide { from { opacity: 0; transform: translateX(7%); } }
@keyframes hs-in-slide-back { from { opacity: 0; transform: translateX(-7%); } }
@keyframes hs-in-zoom { from { opacity: 0; transform: scale(1.09); } }
@keyframes hs-in-blur { from { opacity: 0; filter: blur(26px) saturate(1.4); } }
@keyframes hs-in-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes hs-in-wipe-back { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hs-in-portal { from { clip-path: circle(0% at var(--hs-ox, 70%) 50%); } to { clip-path: circle(150% at var(--hs-ox, 70%) 50%); } }

/* Shared background pieces */
.hs-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hs-gridbg { position: absolute; inset: 0; background-image: linear-gradient(var(--hl-line, #e6e8ef) 1px, transparent 1px), linear-gradient(90deg, var(--hl-line, #e6e8ef) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); opacity: .7; }
.hs-gridbg--fine { background-size: 40px 40px; opacity: .55; }
.hs-glow { position: absolute; width: 680px; height: 680px; right: -160px; top: -140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hs-a) 14%, transparent), color-mix(in srgb, var(--hs-b) 9%, transparent) 45%, transparent 70%); }
.hs-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hs-photo-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 250, 248, .97) 0%, rgba(250, 250, 248, .86) 46%, rgba(250, 250, 248, .3) 100%); }
.hs-photo--dim { opacity: .32; mix-blend-mode: luminosity; }
.hs-photo--soft { opacity: .18; }

/* Dark templates live in a rounded stage under the header, so the header keeps its contrast. */
.hs-dark .hs-stage { position: absolute; inset: calc(var(--hs-head) + 6px) 12px 12px; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 90% at 70% 0%, color-mix(in srgb, var(--hs-raw) 22%, #0a0b1e) 0%, #06071a 55%, #040512 100%); box-shadow: 0 30px 80px -30px rgba(6, 7, 26, .55); }
.hs-dark .hs-title { color: #f5f6ff; }
.hs-dark .hs-lead { color: rgba(226, 230, 245, .78); }
.hs-dark .hs-badge { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(240, 242, 255, .9); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hs-dark .hs-btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #f5f6ff; }
.hs-dark .hs-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }
.hs-dark .hs-inner { padding-inline: clamp(8px, 2vw, 32px); }

/* template_1 board reuses the v1076 board, with pointer depth from hero-slider.js */
.hs-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.hs-board [data-hs-depth], .hs-visual [data-hs-depth] { transition: transform .6s var(--hl-ease, ease); }

/* template_2 / template_3 video */
.hs-video { position: relative; width: 100%; aspect-ratio: 4 / 3.4; }
.hs-video-stage, .hs-video-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.hs-video-stage video { opacity: 0; transition: opacity .6s ease; }
.hs-video.is-loaded video { opacity: 1; }
.hs-video-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--hl-muted); font-size: .9rem; }
.hs-video.is-loaded .hs-video-loader { display: none; }

/* template_4 Aurora */
.hs-aurora { position: absolute; inset: -20%; filter: blur(60px); opacity: .85; }
.hs-aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: hs-aurora 18s ease-in-out infinite alternate; }
.hs-aurora i:nth-child(1) { width: 55%; height: 55%; left: 38%; top: 6%; background: radial-gradient(circle, color-mix(in srgb, var(--hs-raw) 75%, transparent), transparent 65%); }
.hs-aurora i:nth-child(2) { width: 45%; height: 50%; left: 58%; top: 34%; background: radial-gradient(circle, color-mix(in srgb, var(--hs-b) 60%, transparent), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.hs-aurora i:nth-child(3) { width: 40%; height: 40%; left: 10%; top: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hs-a) 35%, transparent), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes hs-aurora { 50% { transform: translate(-8%, 6%) scale(1.15) rotate(20deg); } 100% { transform: translate(6%, -4%) scale(.95) rotate(-10deg); } }
.hs-stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, .7), transparent 60%), radial-gradient(1px 1px at 32% 68%, rgba(255, 255, 255, .5), transparent 60%), radial-gradient(1.5px 1.5px at 74% 18%, rgba(255, 255, 255, .8), transparent 60%), radial-gradient(1px 1px at 86% 62%, rgba(255, 255, 255, .5), transparent 60%), radial-gradient(1px 1px at 52% 40%, rgba(255, 255, 255, .45), transparent 60%), radial-gradient(1.5px 1.5px at 22% 84%, rgba(255, 255, 255, .6), transparent 60%); opacity: .8; animation: hs-twinkle 6s ease-in-out infinite alternate; }
@keyframes hs-twinkle { to { opacity: .35; } }
.hs-floor { position: absolute; left: -40%; right: -40%; bottom: -8%; height: 58%; background-image: linear-gradient(color-mix(in srgb, var(--hs-a) 55%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--hs-a) 55%, transparent) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); opacity: .45; animation: hs-floor 5s linear infinite; }
@keyframes hs-floor { to { background-position: 0 64px; } }
.hs-orb-wrap { position: relative; width: min(100%, 470px); aspect-ratio: 1; }
.hs-orb { position: absolute; inset: 9%; transform-style: preserve-3d; }
.hs-core { position: absolute; inset: 27%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, color-mix(in srgb, var(--hs-b) 85%, #fff) 14%, var(--hs-a) 48%, color-mix(in srgb, var(--hs-raw) 60%, #050616) 82%); box-shadow: 0 0 80px color-mix(in srgb, var(--hs-a) 70%, transparent), 0 0 160px color-mix(in srgb, var(--hs-b) 35%, transparent), inset -18px -24px 50px rgba(0, 0, 0, .45); animation: hs-breathe 6s ease-in-out infinite; }
.hs-core-shine { position: absolute; inset: 27%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .45) 80%, transparent 90%); mix-blend-mode: overlay; animation: hs-spin 7s linear infinite; }
@keyframes hs-breathe { 50% { transform: scale(1.05); } }
.hs-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); }
.hs-ring::after { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: 50%; left: -5px; margin-top: -5px; background: var(--hs-b); box-shadow: 0 0 18px var(--hs-b), 0 0 4px #fff; }
.hs-ring--1 { border-top-color: color-mix(in srgb, var(--hs-b) 85%, transparent); animation: hs-ring1 14s linear infinite; }
.hs-ring--2 { inset: 8%; border-right-color: color-mix(in srgb, var(--hs-a) 90%, transparent); animation: hs-ring2 10s linear infinite; }
.hs-ring--2::after { background: var(--hs-a); box-shadow: 0 0 18px var(--hs-a); }
.hs-ring--3 { inset: 16%; border-style: dashed; border-color: rgba(255, 255, 255, .16); animation: hs-ring3 22s linear infinite; }
.hs-ring--3::after { display: none; }
@keyframes hs-ring1 { from { transform: rotateX(72deg) rotateY(8deg) rotateZ(0); } to { transform: rotateX(72deg) rotateY(8deg) rotateZ(360deg); } }
@keyframes hs-ring2 { from { transform: rotateX(64deg) rotateY(-26deg) rotateZ(360deg); } to { transform: rotateX(64deg) rotateY(-26deg) rotateZ(0); } }
@keyframes hs-ring3 { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes hs-spin { to { transform: rotate(360deg); } }
.hs-hud { position: absolute; min-width: 150px; padding: 12px 16px 13px; border-radius: 16px; background: linear-gradient(140deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); display: grid; gap: 2px; animation: hs-bob 7s ease-in-out infinite; }
.hs-hud em { font: 600 .66rem/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .12em; color: var(--hs-b); font-style: normal; }
.hs-hud strong { font: 800 1.55rem/1.1 var(--hl-font-head); letter-spacing: -.03em; }
.hs-hud span { font-size: .78rem; color: rgba(226, 230, 245, .72); }
.hs-hud--a { top: 4%; left: -4%; }
.hs-hud--b { top: 18%; right: -6%; animation-delay: -2s; }
.hs-hud--c { bottom: 8%; left: 2%; animation-delay: -4s; }
.hs-hud--d { bottom: 2%; right: 4%; animation-delay: -5s; }
@keyframes hs-bob { 50% { translate: 0 -10px; } }

/* template_5 Prisma */
.hs-mesh { position: absolute; inset: 0; overflow: hidden; }
.hs-mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: hs-aurora 20s ease-in-out infinite alternate; }
.hs-mesh i:nth-child(1) { width: 520px; height: 520px; right: 4%; top: 6%; background: color-mix(in srgb, var(--hs-raw) 32%, transparent); }
.hs-mesh i:nth-child(2) { width: 420px; height: 420px; right: 24%; bottom: -8%; background: color-mix(in srgb, var(--hs-b) 26%, transparent); animation-delay: -7s; }
.hs-mesh i:nth-child(3) { width: 360px; height: 360px; left: -6%; top: 10%; background: color-mix(in srgb, var(--hs-a) 12%, transparent); animation-delay: -12s; }
.hs-prism-wrap { position: relative; width: min(100%, 460px); aspect-ratio: 1; display: grid; place-items: center; }
.hs-prism-scene { --hs-size: clamp(170px, 18vw, 230px); width: var(--hs-size); height: var(--hs-size); perspective: 1100px; cursor: grab; touch-action: pan-y; position: relative; z-index: 2; }
.hs-prism-scene.is-dragging { cursor: grabbing; }
.hs-prism { --rx: -18deg; --ry: -32deg; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.hs-face { position: absolute; inset: 0; border-radius: 26px; display: grid; place-content: center; text-align: center; gap: 4px; padding: 18px; background: linear-gradient(145deg, rgba(255, 255, 255, .85), color-mix(in srgb, var(--hs-raw) 16%, rgba(255, 255, 255, .55)) 55%, color-mix(in srgb, var(--hs-b) 22%, rgba(255, 255, 255, .45))); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 0 40px color-mix(in srgb, var(--hs-raw) 14%, transparent), 0 0 0 1px color-mix(in srgb, var(--hs-a) 12%, transparent); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hs-face strong { font: 800 clamp(1.6rem, 2.4vw, 2.3rem)/1 var(--hl-font-head); letter-spacing: -.04em; background: linear-gradient(100deg, var(--hs-b), var(--hs-a)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-face span { font-size: .82rem; font-weight: 600; color: var(--hl-text); }
.hs-face--front { transform: translateZ(calc(var(--hs-size) / 2)); }
.hs-face--back { transform: rotateY(180deg) translateZ(calc(var(--hs-size) / 2)); }
.hs-face--right { transform: rotateY(90deg) translateZ(calc(var(--hs-size) / 2)); }
.hs-face--left { transform: rotateY(-90deg) translateZ(calc(var(--hs-size) / 2)); }
.hs-face--top { transform: rotateX(90deg) translateZ(calc(var(--hs-size) / 2)); background: linear-gradient(135deg, color-mix(in srgb, var(--hs-b) 40%, #fff), color-mix(in srgb, var(--hs-raw) 45%, #fff)); }
.hs-face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--hs-size) / 2)); background: color-mix(in srgb, var(--hs-raw) 30%, #fff); }
.hs-prism-shadow { position: absolute; bottom: 9%; left: 50%; width: 56%; height: 9%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--hs-raw) 35%, rgba(15, 18, 34, .2)), transparent); filter: blur(6px); }
.hs-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .86); border: 1px solid var(--hl-line); box-shadow: var(--hl-shadow-lg); font-size: .84rem; font-weight: 600; color: var(--hl-ink); white-space: nowrap; animation: hs-bob 6s ease-in-out infinite; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hs-chip i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--hs-b), var(--hs-a)); }
.hs-chip--1 { top: 8%; left: 2%; }
.hs-chip--2 { top: 26%; right: -2%; animation-delay: -2s; }
.hs-chip--3 { bottom: 14%; left: 6%; animation-delay: -4s; }
.hs-hint { position: absolute; bottom: 0; left: 50%; translate: -50% 0; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-muted); opacity: .8; display: inline-flex; align-items: center; gap: 8px; }
.hs-hint::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.hs-hint::after { content: ''; width: 22px; height: 1px; background: currentColor; }

/* template_6 Neural */
.hs-neural { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hs-neural-glow { position: absolute; inset: 0; background: radial-gradient(40% 50% at 72% 50%, color-mix(in srgb, var(--hs-raw) 26%, transparent), transparent 70%); }
.hs-console { position: relative; width: min(100%, 400px); padding: 22px; border-radius: 24px; background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px color-mix(in srgb, var(--hs-a) 18%, transparent); }
.hs-console-head { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; color: rgba(226, 230, 245, .66); }
.hs-console-head em { font: 600 .7rem/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; font-style: normal; text-transform: uppercase; }
.hs-live { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--hs-a) 18%, transparent); color: var(--hs-ink); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.hs-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--hs-a); box-shadow: 0 0 10px var(--hs-a); animation: hs-blink 1.4s ease-in-out infinite; }
@keyframes hs-blink { 50% { opacity: .3; } }
.hs-console-main { margin-top: 22px; display: grid; gap: 4px; }
.hs-console-main strong { font: 800 clamp(2.8rem, 4vw, 3.6rem)/1 var(--hl-font-head); letter-spacing: -.05em; background: linear-gradient(100deg, #fff, var(--hs-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-console-main span { color: rgba(226, 230, 245, .74); font-size: .92rem; }
.hs-spark { width: 100%; height: 70px; margin: 14px 0 6px; overflow: visible; }
.hs-spark path { fill: none; stroke: var(--hs-a); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--hs-a)); stroke-dasharray: 420; stroke-dashoffset: 0; }
.hs-slide.is-active .hs-spark path { animation: hs-draw 2.2s var(--hl-ease, ease) both; }
@keyframes hs-draw { from { stroke-dashoffset: 420; } }
.hs-console-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.hs-console-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: .86rem; color: rgba(226, 230, 245, .8); }
.hs-console-list strong { color: #fff; font-family: var(--hl-font-head); }
.hs-console-list i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.hs-console-list i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--hs-b), var(--hs-a)); }
.hs-slide.is-active .hs-console-list i::after { animation: hs-fill 1.6s var(--hl-ease, ease) .3s both; }
@keyframes hs-fill { from { width: 0; } }

/* template_7 Cinético */
.hs-kin { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2vw; overflow: hidden; }
.hs-kin-row { display: flex; align-items: center; gap: 3vw; width: max-content; white-space: nowrap; font: 800 clamp(5rem, 15vw, 15rem)/.95 var(--hl-font-head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1); animation: hs-marquee 48s linear infinite; }
.hs-kin-row b { font-size: .4em; -webkit-text-stroke: 0; color: rgba(255, 255, 255, .12); }
.hs-kin-row--rev { animation-direction: reverse; animation-duration: 56s; }
@keyframes hs-marquee { to { transform: translateX(-50%); } }
.hs-kin--lit .hs-kin-row { color: transparent; -webkit-text-stroke: 1.5px transparent; background: linear-gradient(100deg, var(--hs-b), var(--hs-a)); -webkit-background-clip: text; background-clip: text; }
.hs-kin--lit .hs-kin-row b { color: var(--hs-b); }
.hs-kin--lit { -webkit-mask-image: radial-gradient(circle 240px at var(--hs-px, 50%) var(--hs-py, 45%), #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%); mask-image: radial-gradient(circle 240px at var(--hs-px, 50%) var(--hs-py, 45%), #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%); opacity: .9; }
.hs-spot { position: absolute; inset: 0; background: radial-gradient(circle 420px at var(--hs-px, 50%) var(--hs-py, 45%), color-mix(in srgb, var(--hs-raw) 22%, transparent), transparent 70%), linear-gradient(180deg, rgba(4, 5, 18, .25), rgba(4, 5, 18, .7)); }
.hs-t7 .hs-title { font-size: clamp(2.6rem, 1.3rem + 5vw, 5.4rem); }
.hs-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.6rem; }
.hs-stat { min-width: 140px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; gap: 2px; }
.hs-stat strong { font: 800 1.5rem/1.1 var(--hl-font-head); color: #fff; letter-spacing: -.03em; }
.hs-stat span { font-size: .8rem; color: rgba(226, 230, 245, .7); }
.hs-t7 .hs-hl-word.is-scrambling { background: none; color: var(--hs-ink); -webkit-text-fill-color: currentColor; }

/* Pointer parallax driven by --hs-mx / --hs-my (-.5 to .5) */
.hs-slide.is-active .hs-orb-wrap { transform: translate3d(calc(var(--hs-mx) * -26px), calc(var(--hs-my) * -20px), 0) rotateX(calc(var(--hs-my) * 8deg)) rotateY(calc(var(--hs-mx) * -10deg)); transition: transform .5s var(--hl-ease, ease); }
.hs-slide.is-active .hs-aurora { transform: translate3d(calc(var(--hs-mx) * 40px), calc(var(--hs-my) * 30px), 0); transition: transform 1.2s var(--hl-ease, ease); }
.hs-slide.is-active .hs-console { transform: perspective(900px) rotateY(calc(var(--hs-mx) * -9deg)) rotateX(calc(var(--hs-my) * 7deg)); transition: transform .5s var(--hl-ease, ease); }
.hs-slide.is-active .hs-mesh { transform: translate3d(calc(var(--hs-mx) * -30px), calc(var(--hs-my) * -24px), 0); transition: transform 1s var(--hl-ease, ease); }

/* Controls */
.hs-ui { position: absolute; left: 0; right: 0; bottom: 38px; z-index: 5; display: flex; align-items: center; gap: 22px; }
.hs-counter { font: 600 .9rem/1 var(--hl-font-head); color: var(--hl-muted); display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.hs-counter strong { font-size: 1.35rem; color: var(--hl-ink); letter-spacing: -.02em; }
.hs-dots { display: flex; gap: 10px; flex: 1; min-width: 0; }
.hs-dot { flex: 0 1 132px; min-width: 34px; padding: 10px 0; border: 0; background: none; cursor: pointer; display: grid; gap: 8px; text-align: left; color: var(--hl-muted); font: inherit; }
.hs-dot-bar { display: block; height: 3px; border-radius: 3px; background: var(--hl-line-strong, #d5d9e4); overflow: hidden; }
.hs-dot-bar i { display: block; height: 100%; width: 100%; background: var(--hl-ink); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hs-dot[aria-selected="true"] .hs-dot-bar i { background: linear-gradient(90deg, var(--hs-cb, var(--hl-cyan)), var(--hs-ca, var(--hl-accent))); }
.hs-dot-label { font-size: .76rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .55; transition: opacity .3s, color .3s; }
.hs-dot[aria-selected="true"] .hs-dot-label, .hs-dot:hover .hs-dot-label, .hs-dot:focus-visible .hs-dot-label { opacity: 1; color: var(--hl-ink); }
.hs-nav { display: flex; gap: 8px; margin-left: auto; }
.hs-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hl-line-strong, #d5d9e4); background: var(--hl-surface, #fff); color: var(--hl-ink); cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--hl-ease, ease), background .25s, border-color .25s, color .25s; }
.hs-arrow:hover { transform: translateY(-2px); border-color: var(--hl-ink); }
.hs-arrow .icon-svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hs-pause[aria-pressed="true"] .hs-pause-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.hs-on-dark .hs-ui { padding-inline: clamp(28px, 4vw, 56px); }
.hs-on-dark .hs-counter { color: rgba(226, 230, 245, .6); }
.hs-on-dark .hs-counter strong, .hs-on-dark .hs-dot[aria-selected="true"] .hs-dot-label, .hs-on-dark .hs-dot:hover .hs-dot-label { color: #fff; }
.hs-on-dark .hs-dot { color: rgba(226, 230, 245, .7); }
.hs-on-dark .hs-dot-bar { background: rgba(255, 255, 255, .16); }
.hs-on-dark .hs-dot-bar i { background: #fff; }
.hs-on-dark .hs-arrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.hs-on-dark .hs-arrow:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.hs :focus-visible { outline: 2px solid var(--hl-accent); outline-offset: 3px; }
.hs-on-dark :focus-visible { outline-color: #fff; }

/* Preview inside the admin */
.hs-preview .hs-slide { min-height: 100vh; }

@media (max-width: 960px) {
    .hs-slide { min-height: 0; padding: calc(var(--hs-head) + 40px) 0 112px; align-items: center; }
    .hs-inner { grid-template-columns: 1fr; gap: 28px; }
    .hs-solo .hs-inner { text-align: left; }
    .hs-solo .hs-actions, .hs-stats { justify-content: flex-start; }
    .hs-visual { min-height: 0; }
    .hs-orb-wrap, .hs-prism-wrap { width: min(100%, 360px); margin-inline: auto; }
    .hs-board { width: min(100%, 420px); }
    .hs-dark .hs-stage { inset: calc(var(--hs-head) + 4px) 8px 8px; border-radius: 24px; }
    .hs-dark .hs-inner { padding-inline: 30px; }
    .hs-ui { bottom: 28px; gap: 14px; }
    .hs-on-dark .hs-ui { padding-inline: 32px; }
    .hs-dot-label { display: none; }
    .hs-dot { flex-basis: 40px; }
}
@media (max-width: 600px) {
    .hs-slide { padding-top: calc(var(--hs-head) + 28px); padding-bottom: 104px; }
    .hs-title { font-size: clamp(2.1rem, 1.2rem + 5.4vw, 2.8rem); }
    .hs-t7 .hs-title { font-size: clamp(2.3rem, 1.3rem + 6vw, 3rem); }
    .hs-actions { flex-direction: column; align-items: stretch; }
    .hs-actions .hl-btn { justify-content: center; }
    .hs-visual { display: none; }
    .hs-dark .hs-inner { padding-inline: 26px; }
    .hs-stat { min-width: 0; flex: 1 1 40%; padding: 10px 14px; }
    .hs-counter { display: none; }
    .hs-nav { order: -1; margin-left: 0; }
    .hs-dots { justify-content: flex-start; padding-right: 64px; }
    .hs-arrow { width: 40px; height: 40px; }
    .hs-kin-row { font-size: 6.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hs-slide, .hs-slide *, .hs-slide *::before, .hs-slide *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
