@font-face {
    font-family: "SpoqaHanSansNeoSubset";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2_Subset/SpoqaHanSansNeo-Thin.c9026604bd1a.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeoSubset";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2_Subset/SpoqaHanSansNeo-Light.de87dfe939de.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeoSubset";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2_Subset/SpoqaHanSansNeo-Regular.6f876d098a68.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeoSubset";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2_Subset/SpoqaHanSansNeo-Medium.9d46d938dff0.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeoSubset";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2_Subset/SpoqaHanSansNeo-Bold.d57ff6f22085.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeoSubset";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2_Subset/SpoqaHanSansNeo-Bold.d57ff6f22085.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2/SpoqaHanSansNeo-Thin.1ee177d888d4.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2/SpoqaHanSansNeo-Light.d87abb297949.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2/SpoqaHanSansNeo-Regular.1c18b9628d7e.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2/SpoqaHanSansNeo-Medium.e6120efad986.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2/SpoqaHanSansNeo-Bold.a82a91780e34.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SpoqaHanSansNeo";
    src: url("../../fonts/SpoqaHanSansNeo_WOFF2/SpoqaHanSansNeo-Bold.a82a91780e34.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

::selection {
    background: rgba(var(--wm-mode-soft-rgb, 119, 119, 255), 0.3137);
}

.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: "SpoqaHanSansNeoSubset", "SpoqaHanSansNeo", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    background: linear-gradient(180deg, var(--wm-mode-surface, #f7f8fc) 0%, var(--wm-mode-soft, #f4f6fb) 100%) !important;
    color: var(--wm-mode-violet, darkslateblue) !important;
}

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

.whalemath-profile-theme footer img[src*="whalemath_logo_kor_white_stroke_no_bg.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 var(--wm-mode-line, #eef1f7);
    border-bottom: 1px solid var(--wm-mode-line, #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(var(--wm-mode-soft-rgb, 246, 243, 255), 0.96);
    color: var(--wm-mode-violet, #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: var(--wm-mode-violet, #483D8B);
    overflow: visible;
    filter: drop-shadow(0 4px 8px rgba(72, 61, 139, 0.2));
}

.wm-pricing-feature-icon-check {
    color: var(--wm-mode-violet, #5B45D9);
}

.wm-pricing-feature-icon-infinite {
    color: var(--wm-mode-violet, #483D8B);
}

.wm-pricing-feature-icon-unavailable {
    color: rgba(var(--wm-mode-violet-rgb, 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(var(--wm-mode-soft-rgb, 246, 243, 255), 0.98), rgba(var(--wm-mode-soft-rgb, 232, 251, 247), 0.94));
    color: var(--wm-mode-violet, #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, var(--wm-mode-soft, rgba(239, 235, 255, 1)), rgba(var(--wm-mode-soft-rgb, 221, 248, 243), 0.98));
    color: var(--wm-mode-violet, #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(var(--wm-mode-violet-rgb, 47, 42, 104), 0.58);
    text-decoration-line: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(var(--wm-mode-violet-rgb, 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: var(--wm-mode-violet, #6D4AFF);
    padding: 3px 4px 2px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.wm-pricing-discount-price {
    color: var(--wm-mode-violet, #483D8B);
    font-size: 20px;
    font-weight: 800;
}

.wm-pricing-period-suffix {
    color: rgba(var(--wm-mode-violet-rgb, 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(var(--wm-mode-soft-rgb, 232, 251, 247), 0.92);
    color: var(--wm-mode-violet, #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(var(--wm-mode-surface-rgb, 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;
}

/* Keep period selection next to the plan headings without adding a table cell. */
.wm-pricing-comparison-grid > .wm-pricing-period-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 24px 0;
}

.wm-pricing-period-picker {
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.wm-pricing-period-picker legend {
    width: 100%;
    margin-bottom: 12px;
    color: var(--wm-mode-muted, #776b91);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.wm-pricing-period-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--wm-mode-line, #dfd5f2);
    border-radius: 16px;
    background: var(--wm-mode-soft, #f0ebf8);
    box-shadow: inset 0 1px 3px #49306f08;
}

.wm-pricing-period-options label {
    position: relative;
    cursor: pointer;
}

.wm-pricing-period-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.wm-pricing-period-options span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 6px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--wm-mode-muted, #776b91);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    transition: background .18s, color .18s, box-shadow .18s;
}

.wm-pricing-period-options input:checked + span {
    border-color: #7654b8;
    background: linear-gradient(135deg, #8966ce, #6846af);
    color: #fff;
    box-shadow: 0 3px 8px #59378d24, inset 0 1px #ffffff38;
}

.wm-pricing-period-options label:hover input:not(:checked) + span {
    background: #ffffff80;
    color: var(--wm-mode-violet, #6443a4);
}

.wm-pricing-period-options input:focus-visible + span {
    outline: 2px solid #6846af;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .wm-pricing-comparison-grid > div.wm-pricing-period-cell {
        align-items: flex-end;
        /* Match the action inset, allowing for the toggle's 5px outer frame. */
        padding-bottom: calc(24px + 16px + 1px - 5px);
    }

    .wm-pricing-period-options span {
        min-height: 48px;
    }
}

@media screen and (forced-colors: none) {
    html[data-wm-theme="dark"] .wm-pricing-period-options input:focus-visible + span {
        outline-color: var(--wm-mode-violet, #c1b0ff);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wm-pricing-period-options span { transition: none; }
}

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

.wm-pricing-comparison-grid.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(n+17) {
    display: none !important;
}

.wm-pricing-comparison-grid.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(n+14):nth-of-type(-n+16) {
    padding-bottom: 1.5rem;
}

.wm-pricing-comparison-grid.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(11) {
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.wm-pricing-comparison-grid.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(14) {
    border-bottom-left-radius: 1.5rem;
}

.wm-pricing-comparison-grid.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(16) {
    border-bottom-right-radius: 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(var(--wm-mode-violet-rgb, 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-weekly-allowance-label {
        font-size: 15px;
        white-space: nowrap;
    }

    .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) {
    .wm-membership-plan-column {
        padding-inline: 12px;
    }

    body .wm-pricing-comparison-grid .wm-membership-plan-action > .wm-cta {
        --cta-space: 8px;
        --cta-icon: 24px;
        font-size: 13px;
    }

    #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):not(.wm-cta) {
        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(var(--wm-mode-surface-rgb, 255, 255, 255), 0.84), rgba(var(--wm-mode-soft-rgb, 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: var(--wm-mode-surface, #fff);
        padding: 0;
        box-shadow: inset 0 0 0 1px rgba(72, 61, 139, 0.04);
    }

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

    .wm-pricing-section-spacer,
    .wm-pricing-mobile-price-heading-row {
        display: none !important;
    }

    .wm-pricing-comparison-grid > .wm-pricing-period-cell {
        grid-column: 1 / -1;
        padding: 18px 12px !important;
        border-radius: 24px 24px 0 0;
    }

    .wm-pricing-period-picker { max-width: 240px; }
    .wm-pricing-period-picker legend { margin-bottom: 8px; }

    .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: var(--wm-mode-surface, #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.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(n+14):nth-of-type(-n+16) {
        padding-bottom: 10px !important;
    }

    .wm-pricing-comparison-grid.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(11) {
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .wm-pricing-comparison-grid.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(14) {
        border-bottom-left-radius: 16px;
    }

    .wm-pricing-comparison-grid.wm-pricing-features-collapsible:not(.wm-pricing-features-visible) > div:nth-of-type(16) {
        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: var(--wm-mode-violet, #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):not(.wm-cta) {
        min-height: 28px !important;
        width: 100%;
        padding: 4px 8px !important;
        border-color: rgba(72, 61, 139, 0.18) !important;
        background: rgba(var(--wm-mode-surface-rgb, 255, 255, 255), 0.86) !important;
        color: var(--wm-mode-violet, #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: var(--wm-mode-violet, #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(var(--wm-mode-violet-rgb, 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: var(--wm-mode-violet, #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(var(--wm-mode-violet-rgb, 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: var(--wm-mode-violet, #6D4AFF);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.15;
    }

    .wm-pricing-mobile-list-price {
        display: inline-block;
        color: rgba(var(--wm-mode-violet-rgb, 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(var(--wm-mode-violet-rgb, 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: var(--wm-mode-violet, #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):not(.wm-cta) {
        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;
    }
}

/* Fit all three plan names to their actual column, including wide tracking. */
@supports (container-type: inline-size) {
    @media (min-width: 768px) {
        .wm-membership-plan-heading {
            container-type: inline-size;
        }

        .wm-membership-plan-title {
            font-size: min(30px, 15cqi);
        }
    }
}

.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: var(--wm-mode-violet, darkslateblue) !important;
}

.whalemath-profile-theme .text-slate-400,
.whalemath-profile-theme .text-slate-500 {
    color: var(--wm-mode-muted, #73798c) !important;
}

.whalemath-profile-theme .text-transparent.bg-clip-text,
.whalemath-profile-theme .bg-clip-text.text-transparent {
    color: var(--wm-mode-violet, 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: var(--wm-mode-surface, #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(var(--wm-mode-surface-rgb, 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-action, #6d4aff) !important;
}

.whalemath-profile-theme [class*="linear-gradient(var(--color-slate-900)"],
.whalemath-profile-theme [class*="linear-gradient(var(--color-purple-500)"] {
    background: linear-gradient(var(--wm-mode-surface, #ffffff), var(--wm-mode-surface, #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(var(--wm-mode-line-rgb, 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, var(--wm-mode-surface, #ffffff) 0%, var(--wm-mode-surface, #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: var(--wm-mode-violet, 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(var(--wm-mode-surface-rgb, 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: var(--wm-mode-surface, #fff) !important;
    }

    .whalemath-profile-theme #pricing .wm-pricing-panel {
        background: linear-gradient(135deg, rgba(var(--wm-mode-surface-rgb, 255, 255, 255), 0.84), rgba(var(--wm-mode-soft-rgb, 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: var(--wm-mode-line, #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: var(--wm-mode-surface, #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: var(--wm-mode-soft, #efe9ff) !important;
    color: var(--wm-theme-primary) !important;
}

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

.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(var(--wm-mode-surface-rgb, 255, 255, 255), 0.8), transparent 34%),
        linear-gradient(135deg, rgba(var(--wm-mode-soft-rgb, 244, 240, 255), 0.92), rgba(var(--wm-mode-soft-rgb, 232, 251, 247), 0.88));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.whalemath-profile-theme .wm-index-course-button > * {
    position: relative;
    z-index: 1;
    font-weight: inherit;
}

.whalemath-profile-theme .wm-index-hero-title {
    color: var(--wm-mode-violet, #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: var(--wm-mode-violet, #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(var(--wm-mode-surface, #ffffff), var(--wm-mode-surface, #ffffff)) padding-box,
        linear-gradient(135deg, #9999ff 0%, #6d4aff 48%, #3f357f 100%) border-box;
    width: 5.15em !important;
    height: 1.86em !important;
    color: var(--wm-mode-violet, #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);
}

.wm-index-trial-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.whalemath-profile-theme .wm-index-trial-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 9px 17px;
    border: 1px solid rgba(var(--wm-mode-line-rgb, 255, 255, 255), 0.85);
    border-radius: 16px;
    background: #5140a4;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(56, 40, 124, .18);
}

.wm-index-trial-bubble::before {
    content: "";
    position: absolute;
    top: -6px;
    left: calc(50% - 6px);
    width: 11px;
    height: 11px;
    border-top: 1px solid rgba(var(--wm-mode-line-rgb, 255, 255, 255), 0.85);
    border-left: 1px solid rgba(var(--wm-mode-line-rgb, 255, 255, 255), 0.85);
    background: inherit;
    transform: rotate(45deg);
}

.whalemath-profile-theme .wm-index-trial-bubble:hover {
    background: #413186;
}

.wm-index-trial-bubble:focus-visible {
    outline: 3px solid var(--wm-mode-line, #fff);
    outline-offset: 4px;
}

.wm-pricing-manage-link { display: inline-block; margin-left: 10px; text-decoration: underline; font-weight: 700; }
.wm-pricing-free-policy { margin: 20px 4px 2px; color: var(--wm-mode-muted, #6d6289); font-size: 13px; line-height: 1.6; text-align: center; word-break: keep-all; }
.whalemath-profile-theme .wm-pricing-choice-group--single { grid-template-columns: minmax(0, 1fr); }

.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(var(--wm-mode-line-rgb, 153, 153, 255), 0.42) !important;
    background: linear-gradient(135deg, var(--wm-mode-surface, #ffffff) 0%, var(--wm-mode-soft, #f3f0ff) 58%, var(--wm-mode-soft, #e9fbf7) 100%) !important;
    color: var(--wm-mode-violet, #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-button.is-coming-soon {
    cursor: not-allowed;
    border-color: rgba(var(--wm-mode-line-rgb, 148, 163, 184), 0.34) !important;
    background: linear-gradient(135deg, rgba(var(--wm-mode-surface-rgb, 255, 255, 255), 0.88), rgba(var(--wm-mode-soft-rgb, 241, 245, 249), 0.82)) !important;
    color: var(--wm-mode-muted, #5f6681) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62), 0 8px 18px rgba(47, 42, 104, 0.07);
}

.whalemath-profile-theme .wm-index-coming-soon-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-left: 0.55em;
    border-radius: 999px;
    background: rgba(91, 69, 217, 0.1);
    color: var(--wm-mode-violet, #5545b6) !important;
    padding: 4px 8px;
    font-size: 0.62em;
    font-weight: 900;
    white-space: nowrap;
}

.whalemath-profile-theme .wm-index-course-button.is-coming-soon:hover,
.whalemath-profile-theme .wm-index-course-button.is-coming-soon:focus-visible {
    transform: none;
}

.whalemath-profile-theme .wm-pricing-course-option.is-coming-soon {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 6px;
    cursor: not-allowed;
    border-color: rgba(var(--wm-mode-line-rgb, 148, 163, 184), 0.48);
    background: rgba(var(--wm-mode-soft-rgb, 241, 245, 249), 0.7);
    color: var(--wm-mode-muted, #747b91);
    opacity: 0.82;
}

.whalemath-profile-theme .wm-pricing-coming-soon-label {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(91, 69, 217, 0.1);
    color: var(--wm-mode-violet, #5545b6);
    padding: 2px 6px;
    font-size: 0.65em;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}

.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(var(--wm-mode-surface-rgb, 255, 255, 255), 0.64);
    color: var(--wm-mode-violet, #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, var(--wm-mode-surface, #ffffff) 0%, var(--wm-mode-soft, #efeaff) 52%, var(--wm-mode-soft, #e3faf6) 100%) !important;
    color: var(--wm-mode-violet, #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(var(--wm-mode-surface-rgb, 255, 255, 255), 0.86);
    color: var(--wm-mode-violet, #30266f) !important;
    transform: translateX(2px);
}

@media (max-width: 639px) {
    .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--single {
        grid-template-columns: max-content;
    }

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

/* Secondary pricing text remains opaque on dark table surfaces. */
@media screen {
    html[data-wm-theme="dark"] .wm-pricing-list-price,
    html[data-wm-theme="dark"] .wm-pricing-mobile-list-price {
        color: var(--wm-mode-muted, #acb7d1);
        text-decoration-color: currentColor;
    }
    html[data-wm-theme="dark"] .wm-pricing-comparison-grid div:has(> svg.shrink-0).text-slate-300 > span:not(.text-slate-100),
    html[data-wm-theme="dark"] .wm-pricing-mobile-row-value-muted {
        color: var(--wm-mode-muted, #acb7d1) !important;
    }
}
@media screen and (max-width: 767px) {
    html[data-wm-theme="dark"] .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: var(--wm-mode-muted, #acb7d1) !important;
    }
}
