/* Academy product foundation: brand-specific shell over the shared UI contract. */
.academy-site {
    --academy-ink: #0b1f3a;
    --academy-blue: #1f6fe0;
    --academy-sky: #3aa0ff;
    --academy-border: #d9e6f5;
    --academy-surface: #f7faff;
    --service-action: #2563eb;
    --service-action-hover: #174fb8;
    --service-action-shadow: rgba(37, 99, 235, 0.2);
}

.academy-site .site-header {
    border-bottom-color: rgba(204, 218, 236, 0.82);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.055);
    backdrop-filter: blur(14px);
}

.academy-site .academy-wordmark {
    min-width: 150px;
    height: 52px;
    gap: 10px;
    text-decoration: none;
}

.academy-site .academy-header-mark {
    position: relative;
    display: inline-flex;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
}

.academy-site .academy-header-mark::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 1px solid rgba(58, 160, 255, 0.22);
    border-radius: 999px;
    pointer-events: none;
}

.academy-site .academy-header-copy {
    display: flex;
    align-items: center;
    min-width: 0;
    line-height: 1;
}

.academy-site .academy-header-copy strong {
    display: flex;
    align-items: baseline;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.academy-site .academy-header-copy strong span:first-child {
    color: var(--academy-sky);
}

.academy-site .academy-header-copy strong span:last-child {
    color: #123a7a;
}

.academy-site main :where(button, [role="button"], a):focus-visible,
.academy-site .site-header :where(button, a):focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.24);
    outline-offset: 3px;
}

.academy-site :where(button, [role="button"], a)[disabled],
.academy-site :where(button, [role="button"], a)[aria-disabled="true"] {
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 1220px) {
    .academy-site .academy-wordmark {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .academy-site .academy-wordmark {
        height: 44px;
    }

    .academy-site .academy-header-mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .academy-site .academy-header-mark .site-logo-image {
        width: 44px;
        height: 44px;
    }

    .academy-site .academy-header-copy strong {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .academy-site *,
    .academy-site *::before,
    .academy-site *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
