@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_TTF/SpoqaHanSansNeo-Thin.4cb52f730d1f.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_TTF/SpoqaHanSansNeo-Light.10959d83c4a3.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_TTF/SpoqaHanSansNeo-Regular.2118fb0c3ef4.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_TTF/SpoqaHanSansNeo-Medium.1c177bbda2f6.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_TTF/SpoqaHanSansNeo-Bold.4db68f99b1aa.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_TTF/SpoqaHanSansNeo-Bold.4db68f99b1aa.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

::selection {
    background: #7777ff50;
}

.wm-index-profile-actions {
    position: relative;
    display: flex;
    align-items: center;
}

.wm-index-user-button {
    position: relative;
    display: grid;
    place-items: center;
    padding: 3px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #2f3140;
    cursor: pointer;
    transition: box-shadow 0.5s ease;
}

.wm-index-user-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(243, 240, 255, 0.96), rgba(232, 251, 247, 0.9));
    box-shadow: 0 10px 24px rgba(47, 42, 104, 0.08);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.wm-index-user-button:hover,
.wm-index-user-button:focus-visible {
    background: transparent;
    transform: none;
}

.wm-index-user-button:hover::before,
.wm-index-user-button:focus-visible::before,
.wm-index-profile-actions:has(.wm-index-profile-menu.is-open) .wm-index-user-button::before {
    opacity: 1;
}

.wm-index-avatar,
.wm-index-menu-avatar {
    display: grid;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(135deg, #efe9ff, #e9f7ff);
    box-shadow: inset 0 0 0 1px rgba(var(--wm-theme-primary-rgb), 0.08);
}

.wm-index-avatar {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    transition: border-radius 0.5s ease, box-shadow 0.5s ease;
}

.wm-index-menu-avatar {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    flex: 0 0 auto;
}

.wm-index-avatar-photo,
.wm-index-menu-avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.wm-index-avatar-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.wm-index-user-button:hover .wm-index-avatar,
.wm-index-user-button:focus-visible .wm-index-avatar,
.wm-index-profile-actions:has(.wm-index-profile-menu.is-open) .wm-index-avatar {
    border-radius: 50%;
}

.wm-index-menu-avatar-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.wm-index-profile-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 80;
    display: none;
    width: min(420px, calc(100vw - 32px));
    overflow: visible;
    border: 1px solid #e7e7ec;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    color: #33343f;
    box-shadow: 0 24px 70px rgba(26, 29, 46, 0.16);
    backdrop-filter: blur(14px);
}

.wm-index-profile-menu.is-open {
    display: block;
}

.wm-index-profile-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 26px;
    width: 24px;
    height: 24px;
    border-left: 1px solid #e7e7ec;
    border-top: 1px solid #e7e7ec;
    background: white;
    transform: rotate(45deg);
}

.wm-index-profile-head {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 24px 26px 18px;
}

.wm-index-id-pill {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(var(--wm-theme-primary-rgb), 0.14), rgba(var(--wm-theme-accent-cyan-rgb), 0.14));
    color: var(--wm-theme-primary);
    font-size: 12px;
    font-weight: 800;
}

.wm-index-menu-body {
    border-top: 1px solid #e7e7ec;
    padding: 12px 0;
}

.wm-index-menu-link {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    color: #33343f;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

.wm-index-menu-link:hover {
    background: #f7f5ff;
    color: var(--wm-theme-primary);
}

.wm-index-menu-link svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.wm-index-menu-divider {
    height: 1px;
    margin: 10px 28px;
    background: #e7e7ec;
}

.wm-index-mobile-profile {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 20px 0 14px;
}

.wm-index-mobile-profile-name {
    max-width: 220px;
    overflow: hidden;
    color: darkslateblue;
    font-size: 18px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wm-index-mobile-profile-links {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mouse-circle {
    position: fixed;
    pointer-events: none;
    width: 3vw; /* 이미지 크기 */
    height: 3vw; /* 이미지 크기 */
    background-image: url("/static/main/images/whalemath_whale_stroke.svg"); /* 이미지 경로 설정 */  /* 장고에서 static 파일은 STATIC_URL 경로(/static/) 아래에 서빙되기 때문에 경로는 /static으로 시작 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; /* 이미지가 중앙에 위치하도록 */
    z-index: 9999; /* 다른 요소 위에 나타나도록 설정 */
    left: 0;
    top: 0;
    transform: translate(0%, 0%); /* 이미지를 마우스 포인터 우측 하단에 맞추기 */
    opacity: 0.5; /* 0.5로 변경: 숫자 값이어야 함 */
    transition: transform 0.1s, opacity 0.3s ease; /* opacity 트랜지션 추가 */
}

.mouse-circle.left {
    transform: translate(0%, 0%) scaleX(-1); /* 왼쪽을 바라보게 반전 */
}

@media (max-width: 1023px) {
    .mouse-circle {
        all: unset;
    }
}

/* Profile-style light theme for the main landing page. */
.whalemath-profile-theme {
    font-family: "SpoqaHanSansNeo", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    background: linear-gradient(180deg, #f7f8fc 0%, #f4f6fb 100%) !important;
    color: darkslateblue !important;
}

.whalemath-profile-theme::selection {
    background: rgba(var(--wm-theme-primary-rgb), 0.18);
}

.whalemath-profile-theme #site-header {
    background: rgba(255, 255, 255, 0.86) !important;
    border-bottom: 1px solid rgba(231, 234, 243, 0.95);
    box-shadow: 0 14px 34px rgba(27, 31, 53, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.whalemath-profile-theme #site-header img[src*="whalemath_logo_eng.svg"],
.whalemath-profile-theme footer img[src*="whalemath_logo_eng.svg"] {
    filter: invert(22%) sepia(28%) saturate(816%) hue-rotate(135deg) brightness(84%) contrast(92%);
}

.wm-membership-plan-title {
    font-size: clamp(18px, 2.5vw, 30px);
    line-height: 1.15;
    letter-spacing: 0.15em;
}

.wm-membership-plan-column {
    justify-content: flex-start !important;
    row-gap: 16px;
    padding-top: 16px !important;
}

.wm-membership-plan-heading {
    flex-grow: 0 !important;
    margin-bottom: 0 !important;
}

.wm-membership-plan-action {
    flex-grow: 0;
    padding-block: 16px;
    border-top: 1px solid #eef1f7;
    border-bottom: 1px solid #eef1f7;
}

.wm-pricing-section-spacing {
    padding-block: 60px !important;
}

.wm-pricing-heading-spacing {
    position: relative;
    padding-bottom: 60px !important;
}

.wm-pricing-info-heading {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
    margin-top: 0;
    text-align: right;
    transform: translateY(8px);
}

.wm-pricing-toast {
    position: absolute;
    bottom: 6px;
    left: 50%;
    z-index: 20;
    width: min(calc(100% - 24px), 620px);
    transform: translateX(-50%);
    border: 1px solid rgba(109, 74, 255, 0.32);
    border-radius: 14px;
    background: rgba(246, 243, 255, 0.96);
    color: #2F2A68;
    box-shadow: 0 18px 44px rgba(72, 61, 139, 0.16);
    padding: 14px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    backdrop-filter: blur(14px);
}

.wm-pricing-toast-enter {
    transition: opacity 150ms ease;
}

.wm-pricing-toast-leave {
    transition: opacity 1000ms ease;
}

.wm-pricing-toast-hidden {
    opacity: 0;
}

.wm-pricing-toast-shown {
    opacity: 1;
}

.wm-pricing-choice-group button {
    min-height: 49px;
    min-width: 0;
    white-space: nowrap;
}

.wm-pricing-step-badge {
    flex: 0 0 auto;
    white-space: nowrap;
}

.wm-pricing-step-heading .wm-pricing-step-badge {
    font-size: inherit !important;
    line-height: inherit;
}

.wm-pricing-all-course-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
}

#pricing div:has(> .wm-pricing-choice-group) {
    min-width: 0;
    padding: 18px !important;
}

#pricing div:has(> svg.shrink-0) > .wm-pricing-selection-placeholder {
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

#pricing div:has(> .wm-pricing-feature-copy) {
    --wm-pricing-feature-value-width: 3.6em;
    --wm-pricing-feature-icon-gap: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: stretch;
}

#pricing div:has(> .wm-pricing-feature-copy) > svg.shrink-0 {
    position: absolute;
    top: 50%;
    right: calc(var(--wm-pricing-feature-value-width) + var(--wm-pricing-feature-icon-gap));
    margin-right: 0 !important;
    transform: translateY(-50%);
}

#pricing div:has(> .wm-pricing-feature-copy) > .wm-pricing-feature-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(20px + var(--wm-pricing-feature-icon-gap) + var(--wm-pricing-feature-value-width));
    align-items: center;
    width: 100%;
    min-width: 0;
    font-variant-numeric: tabular-nums;
}

#pricing div:has(> .wm-pricing-feature-copy) .wm-pricing-mobile-row-label {
    grid-column: 1;
    min-width: 0;
}

#pricing div:has(> .wm-pricing-feature-copy) .wm-pricing-mobile-row-value {
    grid-column: 2;
    justify-self: end;
    min-width: var(--wm-pricing-feature-value-width);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wm-pricing-feature-icon {
    color: #483D8B;
    overflow: visible;
    filter: drop-shadow(0 4px 8px rgba(72, 61, 139, 0.2));
}

.wm-pricing-feature-icon-check {
    color: #5B45D9;
}

.wm-pricing-feature-icon-infinite {
    color: #483D8B;
}

.wm-pricing-feature-icon-unavailable {
    color: rgba(72, 61, 139, 0.52);
    filter: none;
}

.wm-pricing-price-cell {
    justify-content: flex-end;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wm-pricing-price-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-left: auto;
}

.wm-pricing-price-content.wm-pricing-selection-placeholder {
    align-items: center;
    width: 100%;
    margin-inline: auto;
    padding-block: 8px;
    word-break: keep-all;
    overflow-wrap: normal;
}

.wm-pricing-selection-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.wm-pricing-selection-message {
    display: inline-flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.35em;
    row-gap: 6px;
    min-width: 0;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: normal;
}

.wm-pricing-selection-message-line {
    white-space: nowrap;
}

.wm-pricing-selection-message-line-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.wm-pricing-selection-arrow {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(246, 243, 255, 0.98), rgba(232, 251, 247, 0.94));
    color: #5B45D9;
    cursor: pointer;
    box-shadow:
        0 10px 24px rgba(72, 61, 139, 0.12),
        0 0 0 1px rgba(109, 74, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition:
        transform 150ms ease,
        background-color 150ms ease,
        box-shadow 150ms ease;
}

.wm-pricing-selection-arrow:hover,
.wm-pricing-selection-arrow:focus-visible {
    background: linear-gradient(135deg, rgba(239, 235, 255, 1), rgba(221, 248, 243, 0.98));
    color: #483D8B;
    box-shadow:
        0 12px 28px rgba(72, 61, 139, 0.16),
        0 0 0 3px rgba(109, 74, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    transform: translateY(-1px);
}

.wm-pricing-step-title {
    font-size: 16px;
}

.wm-pricing-price-value {
    line-height: 1.25;
    font-weight: 800;
}

.wm-pricing-discount-summary {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 8px;
    min-height: 40px;
    margin-top: 0;
    padding-bottom: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}

.wm-pricing-discount-summary .wm-pricing-discount-badge {
    transform: translateY(6px);
}

.wm-pricing-list-price {
    display: inline-block;
    color: rgba(47, 42, 104, 0.58);
    text-decoration-line: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(47, 42, 104, 0.62);
    transform: translateY(8px);
}

.wm-pricing-mobile-list-row,
.wm-pricing-mobile-list-price {
    display: none;
}

.wm-pricing-discount-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}

.wm-pricing-discount-original {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

.wm-pricing-discount-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 7px;
    background: rgba(109, 74, 255, 0.09);
    color: #6D4AFF;
    padding: 3px 4px 2px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.wm-pricing-discount-price {
    color: #483D8B;
    font-size: 20px;
    font-weight: 800;
}

.wm-pricing-period-suffix {
    color: rgba(72, 61, 139, 0.72);
    font-size: 16px;
    font-weight: 700;
    vertical-align: baseline;
}

.wm-pricing-mobile-period-inline {
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(-1px);
    padding: 3px 4px 2px;
    border-radius: 7px;
    background: rgba(232, 251, 247, 0.92);
    color: #483D8B;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.wm-pricing-comparison-grid > div {
    background: rgba(255, 255, 255, 0.7);
}

.wm-pricing-comparison-grid > div:nth-of-type(4n+1) {
    background: transparent;
}

.wm-pricing-comparison-grid > div:nth-of-type(-n+4) {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.wm-pricing-comparison-grid > div:nth-last-of-type(-n+4) {
    padding-bottom: 1.5rem;
}

.wm-pricing-selection-gated-cell {
    display: none !important;
}

.wm-pricing-comparison-grid > div:nth-of-type(4n+1):not(:first-child) > div {
    font-weight: 700;
}

.wm-pricing-comparison-grid div:has(> svg.shrink-0) > span,
.wm-pricing-feature-copy {
    font-weight: 800;
}

.wm-pricing-comparison-grid div:has(> svg.shrink-0).text-slate-300 > span:not(.text-slate-100),
.wm-pricing-mobile-row-value-muted {
    color: rgba(72, 61, 139, 0.58) !important;
    font-weight: 700;
}

@media (min-width: 768px) {
    .wm-pricing-comparison-grid {
        grid-template-columns: 188px repeat(3, minmax(0, 1fr)) !important;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(2) {
        border-top-left-radius: 1.5rem;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4) {
        border-top-right-radius: 1.5rem;
    }

    .wm-pricing-comparison-grid > div:nth-last-of-type(3) {
        border-bottom-left-radius: 1.5rem;
    }

    .wm-pricing-comparison-grid > div:nth-last-of-type(1) {
        border-bottom-right-radius: 1.5rem;
    }

    .wm-pricing-selection-placeholder-cell {
        grid-column: span 3;
        grid-row: span 2;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4n+1):not(:first-child) > div {
        text-align: right;
    }

    .wm-pricing-choice-group {
        flex: 1 1 24rem;
        max-width: 34rem;
        min-width: 0;
        margin-left: auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #pricing div:has(> .wm-pricing-choice-group) {
        gap: 14px;
    }

    #pricing div:has(> .wm-pricing-choice-group) > .wm-pricing-choice-group {
        flex: 1 1 19rem;
        max-width: 30rem;
        margin-left: auto;
    }

    .wm-pricing-choice-group {
        gap: 8px;
    }

    .wm-pricing-choice-group button {
        padding-inline: 10px;
    }
}

@media (max-width: 1023px) {
    .wm-membership-plan-column {
        row-gap: 18px;
        padding-top: 22px !important;
    }

    .wm-membership-plan-action :is(a, button) {
        min-height: 44px;
        font-size: 16px !important;
    }
}

@media (max-width: 767px) {
    .wm-pricing-container {
        padding-inline: 8px !important;
    }

    .wm-pricing-panel {
        border-color: rgba(109, 74, 255, 0.2) !important;
        border-radius: 30px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(232, 240, 255, 0.78)) !important;
        box-shadow: 0 16px 34px rgba(72, 61, 139, 0.08) !important;
        padding: 18px !important;
    }

    .wm-pricing-comparison-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        font-size: 14px;
        align-items: stretch;
        row-gap: 0;
        margin-top: 2px;
        border-radius: 24px;
        background: #fff;
        padding: 0;
        box-shadow: inset 0 0 0 1px rgba(72, 61, 139, 0.04);
    }

    .wm-pricing-comparison-grid > div {
        background: #fff !important;
        min-width: 0;
        padding-inline: 7px !important;
    }

    .wm-pricing-comparison-grid > div:first-child,
    .wm-pricing-section-spacer,
    .wm-pricing-mobile-price-heading-row {
        display: none !important;
    }

    .wm-pricing-mobile-gated-label {
        display: none !important;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(2),
    .wm-pricing-comparison-grid > div:nth-of-type(3),
    .wm-pricing-comparison-grid > div:nth-of-type(4) {
        position: sticky;
        top: 64px;
        z-index: 30;
        min-height: 82px;
        padding: 12px 5px 10px !important;
        border-top: 0;
        border-bottom: 1px solid rgba(72, 61, 139, 0.16);
        background: #fff !important;
        box-shadow: 0 8px 16px rgba(72, 61, 139, 0.04);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .wm-pricing-comparison-grid > div:nth-of-type(2) {
        border-left: 0;
        border-top-left-radius: 16px;
        border-bottom-left-radius: 0;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4) {
        border-right: 0;
        border-top-right-radius: 16px;
        border-bottom-right-radius: 0;
    }

    .wm-pricing-comparison-grid > div:nth-last-of-type(3) {
        border-bottom-left-radius: 16px;
    }

    .wm-pricing-comparison-grid > div:nth-last-of-type(1) {
        border-bottom-right-radius: 16px;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4n+1):not(:first-child) {
        grid-column: 1 / -1;
        padding: 8px 0 0 !important;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4n+1):not(:first-child) > div {
        border-bottom: 0 !important;
        padding: 0 0 0 10px !important;
        text-align: left;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4n+1):not(:first-child) > .text-slate-300 {
        margin-top: 0 !important;
    }

    .wm-pricing-info-heading {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        transform: none;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4n+1):not(:first-child) > div:is(.wm-pricing-info-heading, [class*="text-teal-500"]) {
        margin-top: 8px !important;
    }

    .wm-pricing-mobile-section-heading {
        display: none;
    }

    .wm-membership-plan-column {
        align-items: center;
        justify-content: center !important;
        row-gap: 8px;
        padding-top: 0 !important;
    }

    .wm-membership-plan-title {
        width: 100%;
        color: #483D8B !important;
        -webkit-text-fill-color: currentColor !important;
        background-image: none !important;
        font-size: clamp(16px, 3vw, 18px);
        letter-spacing: 0.045em;
        line-height: 1.1;
        text-align: center;
    }

    .wm-membership-plan-action {
        display: block;
        width: 100%;
        max-width: 96px;
        padding-block: 0;
        border: 0;
    }

    .wm-membership-plan-action :is(a, button) {
        min-height: 28px !important;
        width: 100%;
        padding: 4px 8px !important;
        border-color: rgba(72, 61, 139, 0.18) !important;
        background: rgba(255, 255, 255, 0.86) !important;
        color: #483D8B !important;
        font-size: 12px !important;
        line-height: 1.1;
        white-space: nowrap;
        box-shadow: 0 6px 16px rgba(72, 61, 139, 0.08);
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4n+1):not(:first-child) > div,
    .wm-pricing-mobile-section-heading {
        color: #6D4AFF;
        font-size: 16px !important;
        font-weight: 800;
        line-height: 1.3;
    }

    .wm-pricing-comparison-grid > div:nth-of-type(4n+1):not(:first-child) > div:not(.wm-pricing-info-heading):not([class*="text-teal-500"]) {
        color: rgba(72, 61, 139, 0.62) !important;
        font-size: 13px !important;
        font-weight: 800;
        line-height: 1.3;
    }

    .wm-pricing-mobile-row-label {
        display: none !important;
    }

    .wm-pricing-mobile-row-value {
        min-width: 0;
        margin-left: 0;
        color: #483D8B;
        font-weight: 800;
        text-align: center;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
        font-size: clamp(13px, 3.7vw, 15px);
    }

    .wm-pricing-mobile-row-value-muted {
        color: rgba(72, 61, 139, 0.58);
        font-weight: 700;
    }

    .wm-pricing-discount-summary .wm-pricing-discount-badge,
    .wm-pricing-list-price {
        transform: none;
    }

    .wm-pricing-price-cell {
        --wm-pricing-value-bottom-gap: 7px;
        justify-content: center;
        align-items: flex-end !important;
        min-height: 37px;
        padding: 0 0 var(--wm-pricing-value-bottom-gap) !important;
        text-align: center;
    }

    .wm-pricing-price-content:not(.wm-pricing-selection-placeholder) {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin-left: 0;
    }

    .wm-pricing-selection-placeholder-cell {
        grid-column: span 3;
    }

    .wm-pricing-selection-placeholder-cell .wm-pricing-price-cell {
        margin-top: 8px;
        align-items: center !important;
        padding: 0 !important;
    }

    .wm-pricing-discount-row {
        --wm-pricing-discount-amount-size: clamp(18px, 5.2vw, 21px);
        --wm-pricing-discount-support-size: clamp(16.2px, 4.68vw, 18.9px);
        --wm-pricing-discount-stack-offset: 0px;
        display: inline-grid;
        grid-template-columns: max-content max-content;
        align-items: baseline;
        margin-left: 0;
        min-width: 0;
        justify-content: center;
        column-gap: 0;
        row-gap: 3px;
    }

    .wm-pricing-discount-row-has-list {
        transform: translateY(var(--wm-pricing-discount-stack-offset));
    }

    .wm-pricing-mobile-list-row {
        display: inline-flex;
        grid-column: 1 / -1;
        justify-self: end;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }

    .wm-pricing-mobile-discount-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 3px 4px 2px;
        border-radius: 7px;
        background: rgba(109, 74, 255, 0.09);
        color: #6D4AFF;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.15;
    }

    .wm-pricing-mobile-list-price {
        display: inline-block;
        color: rgba(72, 61, 139, 0.56);
        font-size: var(--wm-pricing-discount-support-size);
        font-weight: 700;
        line-height: 1;
        text-decoration-line: line-through;
        text-decoration-thickness: 1.5px;
        text-decoration-color: rgba(72, 61, 139, 0.52);
        white-space: nowrap;
    }

    .wm-pricing-discount-price {
        display: contents;
        font-size: clamp(12px, 3.45vw, 14px);
        line-height: 1.15;
        white-space: nowrap;
    }

    .wm-pricing-discount-amount {
        grid-column: 1;
        justify-self: end;
        font-size: var(--wm-pricing-discount-amount-size);
        line-height: 1;
    }

    .wm-pricing-period-suffix {
        grid-column: 2;
        justify-self: start;
        margin-left: 0.18em;
        font-size: var(--wm-pricing-discount-support-size);
        white-space: nowrap;
    }

    .wm-pricing-price-value {
        margin-left: 0;
        color: #483D8B;
        font-weight: 800;
        text-align: center;
        white-space: nowrap;
        font-size: clamp(13px, 3.7vw, 15px);
    }

    #pricing div:has(> .wm-pricing-feature-copy) {
        justify-content: center;
        min-height: 37px;
        padding: 0 !important;
    }

    #pricing div:has(> .wm-pricing-feature-copy) > svg.shrink-0 {
        position: static;
        width: 17px;
        height: 17px;
        margin-right: 5px !important;
        transform: none;
    }

    #pricing div:has(> .wm-pricing-feature-copy) > .wm-pricing-feature-copy {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 0;
        font-size: clamp(13px, 3.7vw, 15px);
    }
}

@media (max-width: 639px) {
    .wm-pricing-price-content.wm-pricing-selection-placeholder {
        max-width: 100%;
        font-size: 16px !important;
        line-height: 1.45;
    }

    .wm-pricing-selection-action {
        width: 100%;
    }

    .wm-pricing-selection-message-line-with-arrow {
        gap: 8px;
    }

    .wm-pricing-selection-arrow {
        width: 40px;
        height: 40px;
    }

    .wm-pricing-price-cell {
        --wm-pricing-value-bottom-gap: 6px;
        min-height: 30px;
    }

    .wm-pricing-discount-row {
        --wm-pricing-discount-amount-size: clamp(14.4px, 4.16vw, 16.8px);
        --wm-pricing-discount-support-size: clamp(12.96px, 3.744vw, 15.12px);
        --wm-pricing-discount-stack-offset: 0px;
    }

    #pricing div:has(> .wm-pricing-feature-copy) {
        min-height: 30px;
    }
}

@media (max-width: 499px) {
    .wm-pricing-subscription-label {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .wm-pricing-mobile-period-inline {
        display: inline-flex;
        padding: 3px 4px 2px;
        font-size: 14.3px;
        line-height: 1.15;
    }

    .wm-pricing-discount-row {
        grid-template-columns: max-content;
    }

    .wm-pricing-mobile-list-row,
    .wm-pricing-discount-amount {
        grid-column: 1;
        justify-self: end;
    }

    .wm-pricing-mobile-list-row {
        display: inline-grid;
        justify-items: end;
        gap: 2px;
    }

    .wm-pricing-discount-row .wm-pricing-period-suffix {
        display: none;
    }
}

@media (min-width: 500px) and (max-width: 767px) {
    .wm-pricing-selection-placeholder-cell .wm-pricing-price-cell {
        align-items: center !important;
    }
}

@media (max-width: 399px) {
    .wm-pricing-all-course-button {
        white-space: normal !important;
    }

    .wm-pricing-all-course-label {
        display: inline-grid;
        gap: 0;
        justify-items: center;
        line-height: 1.05;
    }

    .wm-pricing-step-heading {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .wm-pricing-step-heading .wm-pricing-step-badge {
        padding-inline: 6px !important;
        font-size: 13px !important;
    }

    .wm-pricing-step-title {
        min-width: 0;
        white-space: nowrap;
        font-size: 13px;
    }

    .wm-pricing-mobile-row-label {
        font-size: 12px;
    }

    .wm-pricing-discount-badge {
        padding: 3px 4px 2px;
        font-size: 11px;
    }

    .wm-pricing-selection-action {
        width: 100%;
    }

    .wm-pricing-selection-message-line-with-arrow {
        gap: 5px;
    }

    #pricing .px-6:has(.wm-pricing-selection-placeholder) {
        padding-inline: 16px !important;
    }

    .wm-pricing-price-content.wm-pricing-selection-placeholder {
        font-size: 14px !important;
    }

    .wm-pricing-selection-arrow {
        width: 34px;
        height: 34px;
    }

    .wm-pricing-selection-arrow svg {
        width: 16px;
        height: 16px;
    }

    #pricing div:has(> .wm-pricing-feature-copy) {
        --wm-pricing-feature-value-width: auto;
        --wm-pricing-feature-icon-gap: 0;
    }

    .wm-membership-plan-title {
        font-size: clamp(13px, 4vw, 16px);
        letter-spacing: 0.035em;
    }

    .wm-membership-plan-action {
        max-width: 78px;
    }

    .wm-membership-plan-action :is(a, button) {
        min-height: 26px !important;
        padding-inline: 5px !important;
        font-size: 11px !important;
    }

    #pricing div:has(> .wm-pricing-feature-copy) > svg.wm-pricing-feature-icon {
        display: none;
    }

    #pricing div:has(> .wm-pricing-feature-copy) > .wm-pricing-feature-copy,
    .wm-pricing-mobile-row-value,
    .wm-pricing-price-value {
        font-size: 13px;
    }

    .wm-pricing-discount-price {
        font-size: 12px;
    }

}

#pricing svg circle[stroke="orange"] {
    stroke: #6D4AFF;
}

#pricing svg circle[stroke="#fff"] {
    stroke: #483D8B;
}

@media (min-width: 1024px) {
    .wm-membership-plan-title {
        font-size: 30px;
    }
}

.whalemath-profile-theme a,
.whalemath-profile-theme button {
    color: inherit;
}

.whalemath-profile-theme .text-white,
.whalemath-profile-theme .text-slate-50,
.whalemath-profile-theme .text-slate-100,
.whalemath-profile-theme .text-slate-200,
.whalemath-profile-theme .text-slate-300 {
    color: darkslateblue !important;
}

.whalemath-profile-theme .text-slate-400,
.whalemath-profile-theme .text-slate-500 {
    color: #73798c !important;
}

.whalemath-profile-theme .text-transparent.bg-clip-text,
.whalemath-profile-theme .bg-clip-text.text-transparent {
    color: darkslateblue !important;
    background-image: none !important;
    -webkit-text-fill-color: currentColor;
}

.whalemath-profile-theme [class*="from-purple"],
.whalemath-profile-theme [class*="text-purple"],
.whalemath-profile-theme .text-teal-500 {
    color: var(--wm-theme-primary) !important;
    -webkit-text-fill-color: currentColor;
}

.whalemath-profile-theme .wm-pricing-step-badge {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.whalemath-profile-theme .bg-slate-900,
.whalemath-profile-theme .bg-slate-800,
.whalemath-profile-theme .bg-slate-700\/20,
.whalemath-profile-theme [class*="bg-slate-900/"],
.whalemath-profile-theme [class*="bg-slate-800/"] {
    background-color: #ffffff !important;
}

.whalemath-profile-theme [class*="bg-slate-900/15"],
.whalemath-profile-theme [class*="bg-slate-900/30"],
.whalemath-profile-theme [class*="bg-slate-800/30"] {
    background-color: rgba(255, 255, 255, 0.72) !important;
}

.whalemath-profile-theme .bg-purple-500,
.whalemath-profile-theme .hover\:bg-purple-600:hover,
.whalemath-profile-theme .peer-checked\:bg-purple-500:checked,
.whalemath-profile-theme .peer:checked ~ .peer-checked\:bg-purple-500 {
    background-color: var(--wm-theme-primary) !important;
}

.whalemath-profile-theme [class*="linear-gradient(var(--color-slate-900)"],
.whalemath-profile-theme [class*="linear-gradient(var(--color-purple-500)"] {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(var(--wm-theme-primary-rgb), 0.55), rgba(var(--wm-theme-accent-cyan-rgb), 0.36)) border-box !important;
    border-color: transparent !important;
    color: var(--wm-theme-primary) !important;
    box-shadow: 0 10px 24px rgba(var(--wm-theme-primary-rgb), 0.08);
}

.whalemath-profile-theme [class*="hover:drop-shadow"]:hover,
.whalemath-profile-theme [class*="drop-shadow"] {
    filter: none !important;
}

.whalemath-profile-theme main section,
.whalemath-profile-theme .swiper-slide,
.whalemath-profile-theme .relative.h-full.bg-slate-900,
.whalemath-profile-theme [data-highlighter] > div,
.whalemath-profile-theme .horizontal-slide-card {
    border-color: rgba(231, 234, 243, 0.95) !important;
}

.whalemath-profile-theme .relative.h-full.bg-slate-900,
.whalemath-profile-theme .swiper-slide > .relative,
.whalemath-profile-theme .horizontal-slide-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%) !important;
    box-shadow: 0 18px 48px rgba(27, 31, 53, 0.08) !important;
}

.whalemath-profile-theme .horizontal-slide-card {
    border: 0.3rem solid rgba(var(--wm-theme-primary-rgb), 0.22) !important;
}

.whalemath-profile-theme .point-text,
.whalemath-profile-theme .point-text * {
    color: darkslateblue !important;
}

.whalemath-profile-theme #learning-guide > div {
    background: transparent !important;
}

.whalemath-profile-theme [class*="radial-gradient"],
.whalemath-profile-theme [class*="bg-purple-500 rounded-full blur"],
.whalemath-profile-theme [class*="bg-purple-500 before"],
.whalemath-profile-theme [aria-hidden="true"] .bg-purple-500 {
    opacity: 0.22 !important;
}

.whalemath-profile-theme #pricing .wm-pricing-comparison-grid > div {
    background: rgba(255, 255, 255, 0.78) !important;
}

.whalemath-profile-theme #pricing .wm-pricing-comparison-grid > div:nth-of-type(4n+1) {
    background: transparent !important;
}

@media (max-width: 767px) {
    .whalemath-profile-theme #pricing .wm-pricing-comparison-grid,
    .whalemath-profile-theme #pricing .wm-pricing-comparison-grid > div,
    .whalemath-profile-theme #pricing .wm-pricing-comparison-grid > div:nth-of-type(4n+1) {
        background: #fff !important;
    }

    .whalemath-profile-theme #pricing .wm-pricing-panel {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(232, 240, 255, 0.78)) !important;
        border-radius: 30px !important;
        padding: 18px !important;
    }

    .whalemath-profile-theme #pricing .wm-pricing-comparison-grid {
        border-radius: 24px;
    }
}

.whalemath-profile-theme .border-slate-800 {
    border-color: #eef1f7 !important;
}

.whalemath-profile-theme .border-white\/70,
.whalemath-profile-theme .border-white\/30 {
    border-color: rgba(var(--wm-theme-primary-rgb), 0.28) !important;
}

.whalemath-profile-theme .bg-white,
.whalemath-profile-theme [class*="from-white"] {
    background-color: #ffffff !important;
}

.whalemath-profile-theme [class*="before:bg-slate"],
.whalemath-profile-theme [class*="after:"] {
    --tw-bg-opacity: 0;
}

.whalemath-profile-theme .btn,
.whalemath-profile-theme .btn-sm {
    border-color: rgba(var(--wm-theme-primary-rgb), 0.12) !important;
}

.whalemath-profile-theme .btn:hover,
.whalemath-profile-theme .btn-sm:hover {
    background-color: #efe9ff !important;
    color: var(--wm-theme-primary) !important;
}

.whalemath-profile-theme #testimonial canvas {
    opacity: 0.22;
}

.whalemath-profile-theme footer {
    background: transparent !important;
}

.whalemath-profile-theme footer a,
.whalemath-profile-theme footer span,
.whalemath-profile-theme footer div {
    color: #73798c !important;
}

.whalemath-profile-theme footer strong,
.whalemath-profile-theme footer a:hover {
    color: darkslateblue !important;
}

.whalemath-profile-theme #site-header {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom-color: rgba(205, 211, 232, 0.78);
    box-shadow: 0 12px 30px rgba(40, 43, 88, 0.09);
}

.whalemath-profile-theme #site-header .wm-index-brand-lockup {
    align-items: center;
    gap: 12px;
    color: #2f2a68 !important;
    filter: none !important;
}

.whalemath-profile-theme .wm-index-brand-mark {
    align-items: center;
    border-radius: 8px;
    padding: 3px 0;
}

.whalemath-profile-theme .wm-index-brand-logo,
.whalemath-profile-theme #site-header .wm-index-brand-logo,
.whalemath-profile-theme footer img[src*="whalemath_logo_eng_darkslateblue.svg"] {
    width: 112px;
    height: auto;
    filter: none !important;
}

.whalemath-profile-theme .wm-index-brand-copy {
    color: #2f2a68;
    font-weight: 800;
    line-height: 1.22;
}

.whalemath-profile-theme #site-header nav a {
    color: #3b356f !important;
    font-weight: 800;
}

.whalemath-profile-theme #site-header nav a:hover,
.whalemath-profile-theme #site-header nav a:focus-visible {
    color: var(--wm-theme-primary) !important;
}

.whalemath-profile-theme #site-header .wm-index-membership-link,
.whalemath-profile-theme #site-header .wm-index-auth-link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 42px;
    border: 1px solid rgba(153, 153, 255, 0.42) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f3f0ff 58%, #e9fbf7 100%) !important;
    color: #34267f !important;
    font-weight: 800;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.72),
        0 10px 24px rgba(47, 42, 104, 0.1);
    transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
}

.whalemath-profile-theme #site-header .wm-index-membership-link::before,
.whalemath-profile-theme #site-header .wm-index-auth-link::before,
.whalemath-profile-theme .wm-index-course-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.8), transparent 34%),
        linear-gradient(135deg, rgba(244, 240, 255, 0.92), rgba(232, 251, 247, 0.88));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.whalemath-profile-theme #site-header .wm-index-membership-link > *,
.whalemath-profile-theme #site-header .wm-index-auth-link > *,
.whalemath-profile-theme .wm-index-course-button > * {
    position: relative;
    z-index: 1;
    font-weight: inherit;
}

.whalemath-profile-theme #site-header .wm-index-membership-link:hover,
.whalemath-profile-theme #site-header .wm-index-membership-link:focus-visible,
.whalemath-profile-theme #site-header .wm-index-auth-link:hover,
.whalemath-profile-theme #site-header .wm-index-auth-link:focus-visible {
    border-color: rgba(118, 102, 229, 0.62) !important;
    background: linear-gradient(135deg, #ffffff 0%, #efeaff 52%, #e3faf6 100%) !important;
    color: #211a59 !important;
    transform: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.82),
        0 12px 28px rgba(47, 42, 104, 0.14);
}

.whalemath-profile-theme #site-header .wm-index-membership-link:hover::before,
.whalemath-profile-theme #site-header .wm-index-membership-link:focus-visible::before,
.whalemath-profile-theme #site-header .wm-index-auth-link:hover::before,
.whalemath-profile-theme #site-header .wm-index-auth-link:focus-visible::before {
    opacity: 1;
}

.whalemath-profile-theme .wm-index-avatar,
.whalemath-profile-theme .wm-index-menu-avatar {
    background: linear-gradient(135deg, #ffffff 0%, #f0edff 58%, #e9fbf7 100%);
    box-shadow:
        inset 0 0 0 1px rgba(var(--wm-theme-primary-rgb), 0.18),
        0 10px 24px rgba(47, 42, 104, 0.1);
}

.whalemath-profile-theme .wm-index-avatar-logo,
.whalemath-profile-theme .wm-index-menu-avatar-logo {
    filter: saturate(1.18) contrast(1.08);
}

.whalemath-profile-theme .wm-index-hero-title {
    color: #30266f !important;
    text-shadow: 0 2px 18px rgba(255, 255, 255, 0.72);
    -webkit-text-fill-color: currentColor;
}

.whalemath-profile-theme .wm-index-hero-subtitle {
    color: #30266f !important;
    font-weight: 700;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.7),
        0 0 30px rgba(255, 255, 255, 0.5);
}

.whalemath-profile-theme .wm-index-hero-subtitle-line {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.whalemath-profile-theme .wm-index-hero-subtitle-line > * {
    flex: 0 0 auto;
}

.whalemath-profile-theme .wm-index-word-slot {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 4px solid transparent !important;
    outline: 0 !important;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #9999ff 0%, #6d4aff 48%, #3f357f 100%) border-box;
    width: 5.15em !important;
    height: 1.86em !important;
    color: #24175f !important;
    line-height: 1 !important;
    padding: 0 !important;
    transform: none !important;
    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.66),
        0 0 34px rgba(255, 255, 255, 0.36),
        0 14px 28px rgba(var(--wm-theme-primary-rgb), 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)) !important;
}

.whalemath-profile-theme .wm-index-cta-title {
    width: min(100%, 48rem) !important;
    font-weight: 800;
}

.whalemath-profile-theme .wm-index-cta-title > div {
    flex-wrap: wrap;
    justify-content: center;
}

.whalemath-profile-theme .wm-index-cta-title-line {
    white-space: nowrap;
}

.whalemath-profile-theme .wm-index-cta-button {
    min-height: 54px;
    border: 0 !important;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #483d8b 0%, #5b45d9 52%, #6d4aff 100%) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow:
        0 8px 18px rgba(72, 61, 139, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    -webkit-text-fill-color: #fff !important;
}

.whalemath-profile-theme .wm-index-cta-button > * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.whalemath-profile-theme .wm-index-cta-button:hover,
.whalemath-profile-theme .wm-index-cta-button:focus-visible {
    background: linear-gradient(135deg, #3f357f 0%, #5140c8 50%, #6543f4 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow:
        0 10px 24px rgba(72, 61, 139, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    -webkit-text-fill-color: #fff !important;
}

.whalemath-profile-theme .wm-index-cta-arrow {
    display: inline-block;
}

.whalemath-profile-theme .wm-index-course-actions {
    width: min(100%, 28rem);
}

.whalemath-profile-theme .wm-index-course-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: auto !important;
    min-height: 54px;
    padding-inline: 1rem !important;
    border: 1px solid rgba(153, 153, 255, 0.42) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f3f0ff 58%, #e9fbf7 100%) !important;
    color: #2f2a68 !important;
    font-weight: 800;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.72),
        0 10px 24px rgba(47, 42, 104, 0.1);
    transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
}

.whalemath-profile-theme .wm-index-course-button > svg {
    fill: #5a50cf !important;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
    transition: fill 0.5s ease;
}

.whalemath-profile-theme .wm-index-course-arrow {
    display: inline-grid;
    place-items: center;
    width: 1.55em;
    height: 1.55em;
    margin-left: 0.42em;
    border: 1px solid rgba(118, 102, 229, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    color: #4d3d99 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: border-color 0.5s ease, background 0.5s ease, color 0.5s ease, transform 0.5s ease;
}

.whalemath-profile-theme .wm-index-course-arrow-icon {
    width: 0.92em;
    height: 0.92em;
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.whalemath-profile-theme .wm-index-course-button:hover,
.whalemath-profile-theme .wm-index-course-button:focus-visible {
    border-color: rgba(118, 102, 229, 0.62) !important;
    background: linear-gradient(135deg, #ffffff 0%, #efeaff 52%, #e3faf6 100%) !important;
    color: #211a59 !important;
    transform: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.82),
        0 12px 28px rgba(47, 42, 104, 0.14);
}

.whalemath-profile-theme .wm-index-course-button:hover::before,
.whalemath-profile-theme .wm-index-course-button:focus-visible::before {
    opacity: 1;
}

.whalemath-profile-theme .wm-index-course-button:hover > svg,
.whalemath-profile-theme .wm-index-course-button:focus-visible > svg {
    fill: #4d3d99 !important;
}

.whalemath-profile-theme .wm-index-course-button:hover .wm-index-course-arrow,
.whalemath-profile-theme .wm-index-course-button:focus-visible .wm-index-course-arrow {
    border-color: rgba(77, 61, 153, 0.42);
    background: rgba(255, 255, 255, 0.86);
    color: #30266f !important;
    transform: translateX(2px);
}

@media (max-width: 639px) {
    .whalemath-profile-theme .wm-index-brand-logo {
        width: 96px;
    }

    .whalemath-profile-theme .wm-index-hero-title {
        font-size: clamp(27px, 8.6vw, 48px) !important;
        line-height: 1.12 !important;
        white-space: nowrap;
    }

    .whalemath-profile-theme .wm-index-hero-subtitle {
        width: min(100%, 24rem);
        font-size: clamp(18.5px, 5.8vw, 26px) !important;
        line-height: 1.42;
    }

    .whalemath-profile-theme .wm-index-hero-subtitle:not(.wm-index-cta-title) .wm-index-word-slot {
        width: 4.32em !important;
        height: 1.66em !important;
    }

    .wm-pricing-heading-spacing .drop-shadow-\[0_0_5px_orange\].inline-flex {
        font-size: 26px !important;
        line-height: 1.25;
        white-space: nowrap;
    }

    .whalemath-profile-theme .wm-pricing-heading-title {
        font-size: clamp(30px, 9vw, 44px) !important;
        line-height: 1.16 !important;
        white-space: nowrap;
    }

    .whalemath-profile-theme .wm-index-cta-title {
        width: min(100%, 24rem) !important;
        font-size: clamp(17px, 5.35vw, 26px) !important;
        line-height: 1.48;
    }

    .whalemath-profile-theme .wm-index-cta-title > div {
        flex-wrap: nowrap;
    }

    .whalemath-profile-theme .wm-index-cta-title .wm-index-word-slot {
        width: 4.28em !important;
        height: 1.66em !important;
    }

    .whalemath-profile-theme .wm-index-testimonial-quote {
        font-size: clamp(16px, 4.8vw, 20px) !important;
        line-height: 1.48;
        word-break: keep-all;
        overflow-wrap: normal;
    }
}

@media (min-width: 640px) {
    .whalemath-profile-theme .wm-index-word-slot {
        width: 4.85em !important;
        height: 1.78em !important;
    }

    .whalemath-profile-theme .wm-index-course-actions {
        display: grid !important;
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        gap: 1.25rem 1.5rem !important;
        width: min(100%, 32rem);
        max-width: 32rem !important;
    }

    .whalemath-profile-theme .wm-index-course-actions > div {
        margin: 0 !important;
    }

    .whalemath-profile-theme .wm-index-course-actions > div:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: max-content;
    }
}
