/* Container — aligned with homepage */
.custom-container {
    margin-inline: auto;
    width: 100%;
    max-width: 80rem;
    min-width: 0;
    padding-inline: 1rem;
    overflow-x: clip;
}

@media (min-width: 640px) {
    .custom-container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .custom-container {
        padding-inline: 2rem;
    }
}

.academy-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #0f172a;
    overflow-x: clip;
}

.academy-page__container {
    padding-top: 0.75rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .academy-page__container {
        padding-top: 1rem;
        padding-bottom: 3.5rem;
    }
}

/* Hero */
.academy-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eff6ff 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(37, 99, 235, 0.06);
}

.academy-hero__glow {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    filter: blur(48px);
    opacity: 0.45;
}

.academy-hero__glow--left {
    top: -3rem;
    right: -2rem;
    width: 12rem;
    height: 12rem;
    background: #93c5fd;
}

.academy-hero__glow--right {
    bottom: -4rem;
    left: -1rem;
    width: 14rem;
    height: 14rem;
    background: #c7d2fe;
}

.academy-hero__inner {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .academy-hero__inner {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 1.5rem;
        align-items: end;
        padding: 2rem;
    }
}

.academy-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    border: 1px solid #bfdbfe;
    background: rgba(255, 255, 255, 0.85);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1d4ed8;
}

.academy-hero__title {
    margin-top: 0.75rem;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.45;
    color: #0f172a;
}

@media (min-width: 768px) {
    .academy-hero__title {
        font-size: 1.75rem;
    }
}

.academy-hero__subtitle {
    margin-top: 0.625rem;
    max-width: 42rem;
    font-size: 0.875rem;
    line-height: 1.9;
    color: #475569;
}

@media (min-width: 768px) {
    .academy-hero__subtitle {
        font-size: 0.9375rem;
    }
}

.academy-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.academy-hero__chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}

.academy-hero__search {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .academy-hero__search {
        margin-top: 0;
    }
}

.academy-hero__search-input {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    padding: 0.7rem 0.9rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.academy-hero__search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.academy-hero__search-btn {
    flex-shrink: 0;
    border-radius: 0.75rem;
    background: #2563eb;
    padding: 0.7rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    transition: background 0.2s;
}

.academy-hero__search-btn:hover {
    background: #1d4ed8;
}

/* Toolbar */
.academy-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
}

.academy-toolbar__count {
    font-size: 0.875rem;
    font-weight: 700;
    color: #334155;
}

.academy-toolbar__hint {
    font-size: 0.75rem;
    color: #64748b;
}

/* Grid */
.academy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .academy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .academy-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* Course card */
.academy-course-card {
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.academy-course-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.1);
}

.academy-course-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.academy-course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.academy-course-card:hover .academy-course-card__media img {
    transform: scale(1.04);
}

.academy-course-card__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.academy-course-card__media-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1;
}

.academy-course-card__placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #f1f5f9 100%);
    color: #2563eb;
}

.academy-course-card__body {
    padding: 1rem 1rem 1.125rem;
}

.academy-course-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.55;
    color: #0f172a;
    transition: color 0.2s;
}

.academy-course-card:hover .academy-course-card__title {
    color: #1d4ed8;
}

.academy-course-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.75;
    color: #64748b;
}

.academy-course-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: #64748b;
}

.academy-course-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.academy-course-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
}

/* Badges */
.academy-price-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0.3rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
}

.academy-price-badge.is-free {
    background: #ecfdf5;
    color: #047857;
}

.academy-price-badge--lg {
    font-size: 1rem;
    padding: 0.45rem 0.9rem;
}

.academy-free-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #047857;
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Show page */
.academy-course-page .academy-layout {
    margin-top: 1.25rem;
}

.academy-course-hero {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.academy-course-hero__media {
    position: relative;
    min-height: 16rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #3b82f6 100%);
}

@media (min-width: 768px) {
    .academy-course-hero__media {
        min-height: 20rem;
    }
}

.academy-course-hero__image,
.academy-course-hero__placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academy-course-hero__placeholder {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.academy-course-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.45) 45%, rgba(15, 23, 42, 0.2) 100%);
}

.academy-course-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: inherit;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: #fff;
}

@media (min-width: 768px) {
    .academy-course-hero__content {
        padding: 2rem;
    }
}

.academy-course-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.academy-course-hero__chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #f8fafc;
    backdrop-filter: blur(4px);
}

.academy-course-hero__title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.45;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .academy-course-hero__title {
        font-size: 2rem;
        max-width: 46rem;
    }
}

.academy-course-hero__lead {
    margin-top: 0.625rem;
    max-width: 42rem;
    font-size: 0.875rem;
    line-height: 1.85;
    color: #e2e8f0;
}

@media (min-width: 768px) {
    .academy-course-hero__lead {
        font-size: 0.9375rem;
    }
}

.academy-course-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.academy-course-hero__stat {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #f1f5f9;
}

.academy-course-hero__stat svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.academy-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .academy-layout {
        grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
        gap: 1.5rem;
        align-items: start;
    }
}

.academy-panel {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.academy-panel__cover {
    aspect-ratio: 21 / 9;
    width: 100%;
    object-fit: cover;
}

.academy-panel__body {
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .academy-panel__body {
        padding: 1.75rem;
    }
}

.academy-panel__title {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.5;
    color: #0f172a;
}

@media (min-width: 768px) {
    .academy-panel__title {
        font-size: 1.625rem;
    }
}

.academy-panel__lead {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.9;
    color: #475569;
}

.academy-section-title {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    font-weight: 800;
    color: #0f172a;
}

.academy-section-title--lined {
    border-right: 4px solid #2563eb;
    padding-right: 0.625rem;
}

.academy-course-about {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: #475569;
}

.academy-curriculum-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.academy-curriculum-head__meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}

.academy-season {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 1rem;
}

.academy-season--card {
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.academy-season + .academy-season {
    margin-top: 0.875rem;
}

.academy-season__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.academy-season__index {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    background: #eff6ff;
    font-size: 0.875rem;
    font-weight: 800;
    color: #1d4ed8;
}

.academy-season__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.academy-season__desc {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #64748b;
}

.academy-season__count {
    flex-shrink: 0;
    border-radius: 9999px;
    background: #f1f5f9;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.academy-lesson-list {
    margin-top: 0.875rem;
    display: grid;
    gap: 0.5rem;
}

.academy-lesson-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.75rem 0.85rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.academy-lesson-row:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
    transform: translateX(-2px);
}

.academy-lesson-row.is-locked {
    opacity: 0.78;
}

.academy-lesson-row.is-locked:hover {
    transform: none;
}

.academy-lesson-row__index {
    display: inline-flex;
    height: 1.75rem;
    width: 1.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.academy-lesson-row__title {
    font-weight: 600;
    color: #0f172a;
}

.academy-lesson-row.is-locked .academy-lesson-row__title {
    color: #64748b;
}

.academy-lesson-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #64748b;
}

.academy-lesson-row__lock-label {
    color: #94a3b8;
}

.academy-lesson-row__play {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #2563eb;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.academy-lesson-row__play svg {
    width: 1rem;
    height: 1rem;
    margin-right: -1px;
}

.academy-lesson-row__play:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.academy-lesson-row__lock {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.academy-lesson-row__lock svg {
    width: 1.125rem;
    height: 1.125rem;
}

.academy-sidebar-card {
    position: sticky;
    top: 6.25rem;
    border-radius: 1.25rem;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 1.25rem;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.academy-instructor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.academy-instructor__avatar {
    height: 3rem;
    width: 3rem;
    flex-shrink: 0;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid #dbeafe;
}

.academy-instructor__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #3b82f6;
}

.academy-instructor__avatar--placeholder svg {
    width: 1.375rem;
    height: 1.375rem;
}

.academy-instructor__label {
    font-size: 0.75rem;
    color: #64748b;
}

.academy-instructor__name {
    margin-top: 0.125rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.academy-sidebar-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.academy-sidebar-card__price-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}

.academy-sidebar-features {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.academy-sidebar-features li {
    position: relative;
    padding-right: 1.125rem;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #475569;
}

.academy-sidebar-features li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.55rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #22c55e;
}

.academy-sidebar-card__actions {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.625rem;
}

@media (min-width: 768px) {
    .academy-sidebar-card {
        padding: 1.5rem;
    }
}

.academy-sidebar-card__stats {
    margin-top: 1rem;
    display: grid;
    gap: 0.625rem;
}

.academy-sidebar-card__stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.academy-sidebar-card__stat strong {
    font-weight: 700;
    color: #0f172a;
}

.academy-btn {
    display: block;
    width: 100%;
    border-radius: 0.75rem;
    padding: 0.8rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.academy-btn:hover {
    transform: translateY(-1px);
}

.academy-btn--primary {
    background: #2563eb;
    color: #fff;
}

.academy-btn--primary:hover {
    background: #1d4ed8;
}

.academy-btn--success {
    background: #059669;
    color: #fff;
}

.academy-btn--success:hover {
    background: #047857;
}

.academy-btn--ghost {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
}

.academy-btn--ghost:hover {
    background: #f8fafc;
}

.academy-alert {
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.academy-alert--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.academy-alert--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.academy-alert--warning {
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.academy-empty {
    border-radius: 1rem;
    border: 1px dashed #cbd5e1;
    background: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

/* Lesson page */
.academy-lesson-list__item a {
    display: block;
    border-radius: 0.625rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: #334155;
    transition: background 0.2s, color 0.2s;
}

.academy-lesson-list__item a:hover {
    background: #f8fafc;
}

.academy-lesson-list__item.is-active a {
    background: #eff6ff;
    font-weight: 700;
    color: #1d4ed8;
}

.academy-video-wrap {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000;
}

.academy-video-wrap iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.academy-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.academy-rich-content p {
    margin-bottom: 0.75rem;
}

.academy-pagination {
    margin-top: 2rem;
}

/* Course page — mobile sticky CTA */
@media (max-width: 1023px) {
    .academy-course-page {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }

    .academy-course-cta--desktop {
        display: none;
    }

    .academy-sidebar-card__price-row {
        display: none;
    }
}

@media (min-width: 1024px) {
    .academy-mobile-cta {
        display: none;
    }
}

.academy-mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, #ffffff 45%);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
}

.academy-mobile-cta__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-inline: auto;
    max-width: 80rem;
}

.academy-mobile-cta__price {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex-shrink: 0;
}

.academy-mobile-cta__price-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
}

.academy-mobile-cta__action {
    min-width: 0;
    flex: 1;
}

.academy-mobile-cta__form {
    width: 100%;
}

.academy-mobile-cta__btn {
    width: 100%;
    border-radius: 9999px;
    padding: 0.8rem 1rem;
    font-size: 0.875rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.academy-mobile-cta__btn.academy-btn--success {
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.22);
}

.academy-mobile-cta__btn.academy-btn--ghost {
    box-shadow: none;
}

/* Checkout page */
.academy-checkout-page .academy-page__container {
    padding-bottom: 3rem;
}

.academy-checkout__back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    transition: color 0.2s;
}

.academy-checkout__back:hover {
    color: #2563eb;
}

.academy-checkout__back svg {
    width: 1rem;
    height: 1rem;
}

.academy-checkout__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .academy-checkout__grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.85fr);
        gap: 1.5rem;
    }
}

.academy-checkout__cover {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}

.academy-checkout__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
}

.academy-checkout__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.academy-checkout__meta div {
    border-radius: 0.75rem;
    background: #f8fafc;
    padding: 0.75rem;
}

.academy-checkout__meta dt {
    font-size: 0.75rem;
    color: #64748b;
}

.academy-checkout__meta dd {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.academy-checkout__payment-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}

.academy-checkout__payment-lead {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #64748b;
}

.academy-checkout__amount-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
    border-radius: 0.875rem;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    padding: 0.9rem 1rem;
}

.academy-checkout__amount-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.academy-checkout__amount-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1d4ed8;
}

.academy-checkout__wallet-box {
    margin-top: 1rem;
    border-radius: 0.875rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1rem;
}

.academy-checkout__wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.academy-checkout__wallet-row strong {
    color: #0f172a;
}

.academy-checkout__wallet-hint {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.75;
    color: #64748b;
}

.academy-checkout__wallet-box .academy-btn {
    margin-top: 0.875rem;
}

.academy-checkout__wallet-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
}

.academy-checkout__wallet-link:hover {
    color: #1d4ed8;
}

.academy-checkout__paid {
    text-align: center;
}

.academy-checkout__paid-icon {
    display: inline-flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #059669;
}

.academy-checkout__paid-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.academy-checkout__paid .academy-checkout__payment-title {
    margin-top: 0.875rem;
}

.academy-checkout__paid .academy-btn {
    margin-top: 1.25rem;
}
