/* Client download entries and non-modal status feedback. */
.nav-primary { display: flex; align-items: center; gap: 8px; }
#clientDownloadNav[hidden] { display: none; }
.hero-download-trigger[hidden] { display: none; }
.hero-actions { position: relative; top: 24px; align-items: center; }
.hero-action {
    position: relative; isolation: isolate; flex: none; display: block;
    width: 200px; max-width: 100%; height: 88px; padding: 6px 6px 32px;
    border: 0; border-radius: 20px; background: transparent;
    color: #fff; font-family: inherit; cursor: pointer;
    transition: transform 0.2s ease;
}
.hero-action:hover { transform: translateY(-3px); }
.hero-action:active { transform: translateY(1px); }
.hero-action:focus-visible { outline: 2px solid #818cf8; outline-offset: 4px; }
.hero-download-decoration {
    position: absolute; z-index: -1; inset: -4px -8px 10px; pointer-events: none;
    background: radial-gradient(circle at 14% 9%, #a5a0ff 0 2px, #818cf855 3px, transparent 6px),
        radial-gradient(circle at 93% 32%, #9a94ff 0 2px, transparent 4px),
        radial-gradient(circle at 5% 85%, #818cf8 0 3px, #818cf833 4px, transparent 7px),
        radial-gradient(ellipse at 50% 60%, #7772ff33, transparent 70%);
}
.hero-download-decoration::before {
    content: ''; position: absolute; inset: 0 -3px 18px;
    border: 1px solid #9994ff55; border-right-color: transparent;
    border-radius: 50%; transform: rotate(-12deg);
}
.hero-download-decoration::after {
    content: ''; position: absolute; top: 6px; right: 13px; width: 13px; height: 13px;
    background: linear-gradient(135deg, #e1deff, #9381f8);
    clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}
.hero-action-label {
    position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center;
    gap: 8px; width: 100%; height: 50px; overflow: hidden;
    border: 2px solid #9690ff; border-radius: 999px;
    background: linear-gradient(180deg, #d9d4ff, #aaa4ff 12%, #8180fa 30%, #6265ee 60%, #7f78ed 88%, #a29af6);
    box-shadow: inset 0 2px 3px #ffffffcc, inset 0 -4px 8px #4d4eb8, 0 5px 0 #4649b2, 0 10px 24px #6366f140;
    color: #fff; font-size: 23px; font-style: italic; font-weight: 800; line-height: 1.2; white-space: nowrap;
    text-shadow: 1px 2px 0 #5753b8, 0 4px 6px #39338d4d;
    transition: filter 0.2s ease;
}
.hero-action-label::before {
    content: ''; position: absolute; z-index: -1; inset: 3px 12px 50%;
    border-top: 1px solid #ffffffcc; border-radius: 999px;
    background: linear-gradient(180deg, #ffffff44, transparent); pointer-events: none;
}
.hero-action-label::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 60%, #ffffff55 72%, #ffffff99 75%, transparent 83%);
    pointer-events: none;
}
.hero-action-label i { font-size: 25px; font-style: normal; filter: drop-shadow(0 2px 1px #49409b55); }
.hero-action:hover .hero-action-label { filter: brightness(1.1); }
.hero-action-secondary .hero-action-label {
    border-color: #b8b9ef;
    background: linear-gradient(180deg, #b5b7df, #8d91c4 18%, #62699e 55%, #7278b0 88%, #959acc);
    box-shadow: inset 0 2px 3px #ffffff99, inset 0 -4px 8px #41497899, 0 5px 0 #424b81, 0 10px 24px #555fa333;
    text-shadow: 1px 2px 0 #4c548a, 0 4px 6px #252e594d;
}
.hero-action-secondary .hero-action-label::before {
    border-top-color: #ffffffaa;
    background: linear-gradient(180deg, #ffffff33, transparent);
}
.hero-action-secondary .hero-action-label::after {
    background: linear-gradient(110deg, transparent 60%, #ffffff2b 72%, #ffffff55 75%, transparent 83%);
}
.hero-download-hint {
    position: absolute; left: 28px; bottom: calc(100% + 2px); padding: 3px 11px;
    border: 1px solid #eeebffb3; border-radius: 999px 999px 999px 4px;
    background: linear-gradient(110deg, #efebff, #c9c5ff 60%, #aeb5ff);
    box-shadow: 0 3px 10px #6366f129; color: #3b3586;
    font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.5px; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
    .hero-action, .hero-action-label { transition: none; }
    .hero-action:hover, .hero-action:active { transform: none; }
}
.nav-download-trigger {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 18px; border: 0; background: transparent;
    color: #fff; font-family: inherit; font-weight: 600; line-height: 1.6; cursor: pointer;
}
.navbar.scrolled .nav-download-trigger { color: #000; }
.nav-download-trigger:focus-visible { outline: 2px solid #3269ff; outline-offset: 3px; }
[data-client-download-trigger]:disabled { opacity: 0.7; cursor: wait; }
.client-download-status {
    position: fixed; z-index: 1100; bottom: 24px; left: 50%; transform: translateX(-50%);
    width: max-content; max-width: calc(100% - 32px); padding: 10px 18px;
    border: 1px solid #818cf866; border-radius: 12px; background: #1b2245;
    color: #e2e8f0; font-size: 13px; line-height: 20px; text-align: center;
}
.client-download-status.is-error { color: #fecaca; }
@media (max-width: 480px) {
    .hero-download-decoration { left: 0; right: 0; }
    .nav-container { padding-inline: 12px; }
    .nav-download-trigger { padding-inline: 12px; }
}
