/* Career Fixx — home packages: "Choose Your Growth Plan" */
html body section.cfx-pk {
    padding: 56px 0 52px;
    background:
        radial-gradient(520px 320px at 4% 8%, rgba(190, 160, 255, .35), transparent 70%),
        radial-gradient(520px 320px at 96% 40%, rgba(190, 160, 255, .25), transparent 70%),
        linear-gradient(180deg, #f6f0ff, #fbf9ff);
}
html[data-theme="dark"] body section.cfx-pk { background: radial-gradient(rgba(123, 47, 247, .13) 1px, transparent 1.6px) 0 0 / 24px 24px, #151029; }

.cfx-pk-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.cfx-pk-badge { display: inline-block; margin-bottom: 12px; padding: 8px 24px; border-radius: 999px; background: #e9defc; color: #5b21b6; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
html[data-theme="dark"] .cfx-pk-badge { background: rgba(124, 58, 237, .25); color: #d8c5ff; }
html body section.cfx-pk .cfx-pk-head .title { margin: 0 0 8px; color: #140a45; font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.15; }
html[data-theme="dark"] body section.cfx-pk .cfx-pk-head .title { color: #fff; }
html body section.cfx-pk .cfx-pk-head .title span { color: #6d1fd1; }
html[data-theme="dark"] body section.cfx-pk .cfx-pk-head .title span { color: #b88cff; }
html body section.cfx-pk .cfx-pk-head p { margin: 0; color: var(--sl-text); font-size: 17px; text-align: center; }
html body section.cfx-pk .cfx-pk-head p::after { content: ''; display: block; width: 72px; height: 4px; margin: 16px auto 0; border-radius: 99px; background: #6d1fd1; }

.cfx-pk-grid { display: grid; gap: 16px; }
.cfx-pk-top { display: grid; grid-template-columns: 330fr 370fr 730fr; grid-template-rows: repeat(2, minmax(150px, auto)); gap: 16px; min-height: 322px; }
.cfx-pk-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cfx-pk-card {
    --bg: linear-gradient(135deg, #f3e8fe, #e9dbfb 60%, #d8c3fb);
    --ink: #1c0f55; --sub: #3a2d6e; --btn-bg: #5b14b8; --btn-ink: #fff; --btn-line: #5b14b8;
    position: relative; display: block; overflow: hidden; border: 1px solid rgba(255, 255, 255, .8); border-radius: 24px; background: var(--bg);
    box-shadow: 0 12px 30px rgba(60, 25, 130, .14), inset 0 1px 0 rgba(255, 255, 255, .7);
    text-decoration: none; transition: transform .3s ease, box-shadow .3s ease;
}
.cfx-pk-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(60, 25, 130, .24); }

.cfx-pk-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 18px 20px; }
html body section.cfx-pk .cfx-pk-card h3 { margin: 0 0 6px; color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1.15; }
html body section.cfx-pk .cfx-pk-card p { margin: 0 0 12px; max-width: 58%; color: var(--sub); font-size: 13px; line-height: 1.4; text-align: left; }
html body section.cfx-pk .cfx-pk-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 7px 18px; border: 2px solid var(--btn-line); border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-size: 13px; font-weight: 800; white-space: nowrap; transition: gap .3s ease; }
.cfx-pk-card:hover .cfx-pk-btn { gap: 14px; }
.cfx-pk-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: #3a1c9c; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cfx-pk-tag b { font-size: 22px; line-height: 1; }

.cfx-pk-art { position: absolute; z-index: 1; width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(20, 5, 60, .25)); }

/* grid placement */
.cfx-pk-mini     { grid-column: 1; grid-row: 1; }
.cfx-pk-basic    { grid-column: 1; grid-row: 2; }
.cfx-pk-standard { grid-column: 2; grid-row: 1 / span 2; }
.cfx-pk-prime    { grid-column: 3; grid-row: 1 / span 2; }
.cfx-pk-infinity { min-height: 266px; }
.cfx-pk-legacy   { min-height: 266px; }

/* small cards */
.cfx-pk-mini .cfx-pk-art, .cfx-pk-basic .cfx-pk-art { right: 8px; bottom: 4px; height: 84%; }
html body section.cfx-pk .cfx-pk-mini h3, html body section.cfx-pk .cfx-pk-basic h3 { font-size: 20px; }
html body section.cfx-pk .cfx-pk-mini p, html body section.cfx-pk .cfx-pk-basic p { max-width: 52%; }
.cfx-pk-mini { --bg: linear-gradient(160deg, #f3e8fe 0%, #efe2fc 55%, #d8c3fb 100%); }
.cfx-pk-basic { --bg: linear-gradient(160deg, #e6f5f4 0%, #e1f2f2 55%, #cfe7e8 100%); --ink: #12392d; --sub: #35574c; --btn-bg: transparent; --btn-ink: #0f5b43; --btn-line: #0f5b43; }

/* standard */
.cfx-pk-standard { --bg: linear-gradient(170deg, #fff0ea 0%, #fde6d4 50%, #fed3ab 100%); --ink: #3d1d0f; --sub: #5e4434; --btn-bg: transparent; --btn-ink: #b13d0a; --btn-line: #c2511f; }
.cfx-pk-standard .cfx-pk-copy { justify-content: center; padding: 24px 18px; }
html body section.cfx-pk .cfx-pk-standard h3 { font-size: 24px; }
html body section.cfx-pk .cfx-pk-standard p { max-width: 50%; margin-bottom: 16px; font-size: 14px; }
html body section.cfx-pk .cfx-pk-standard .cfx-pk-btn { margin-top: 0; padding: 9px 22px; font-size: 15px; }
.cfx-pk-standard .cfx-pk-art { top: 50%; right: -4px; bottom: auto; height: 58%; transform: translateY(-50%); }

/* prime: deep blue on the left, light sky glow along the bottom and right */
.cfx-pk-prime { --bg: radial-gradient(520px 200px at 62% 112%, rgba(120, 180, 255, .75), transparent 70%), radial-gradient(420px 260px at 100% 55%, rgba(110, 165, 245, .7), transparent 70%), radial-gradient(360px 200px at 8% 0%, rgba(70, 120, 240, .8), transparent 70%), linear-gradient(115deg, #2c63e6 0%, #1741b7 24%, #1b4fc4 60%, #3a73ec 100%); --ink: #fff; --sub: #e4edff; --btn-bg: #fff; --btn-ink: #1b3fa8; --btn-line: #fff; }
.cfx-pk-prime .cfx-pk-copy { justify-content: center; padding: 28px 40px; }
html body section.cfx-pk .cfx-pk-prime h3 { margin-bottom: 10px; font-size: clamp(28px, 2.9vw, 46px); letter-spacing: -.01em; }
html body section.cfx-pk .cfx-pk-prime p { max-width: 55%; margin-bottom: 22px; font-size: 19px; }
html body section.cfx-pk .cfx-pk-prime .cfx-pk-btn { margin-top: 0; padding: 12px 30px; font-size: 20px; }
.cfx-pk-prime .cfx-pk-tag { color: #2a2aa8; }
.cfx-pk-prime .cfx-pk-tag i { color: #2a2aa8; }
.cfx-pk-prime .cfx-pk-art { right: 0; bottom: -4px; height: 90%; }

/* infinity + legacy */
.cfx-pk-infinity, .cfx-pk-legacy { --ink: #fff; --sub: #ffe9ea; --btn-bg: #fff; --btn-ink: #a50f1a; --btn-line: #fff; }
.cfx-pk-infinity { --bg: radial-gradient(520px 220px at 62% 108%, rgba(235, 100, 112, .75), transparent 70%), radial-gradient(380px 220px at 0% 0%, rgba(215, 55, 70, .8), transparent 70%), linear-gradient(120deg, #c92f3f 0%, #b81c30 38%, #c0283a 75%, #d94858 100%); }
.cfx-pk-legacy { --bg: radial-gradient(520px 220px at 62% 112%, rgba(14, 140, 80, .85), transparent 70%), radial-gradient(380px 220px at 0% 0%, rgba(24, 100, 66, .8), transparent 70%), linear-gradient(115deg, #0f5236 0%, #094b30 38%, #05482b 75%, #0a6a40 100%); --sub: #e0f6e9; --btn-ink: #0b4a2a; }
.cfx-pk-infinity .cfx-pk-copy, .cfx-pk-legacy .cfx-pk-copy { justify-content: center; padding: 26px 34px; }
html body section.cfx-pk .cfx-pk-infinity h3, html body section.cfx-pk .cfx-pk-legacy h3 { margin-bottom: 8px; font-size: clamp(28px, 3vw, 42px); }
html body section.cfx-pk .cfx-pk-infinity p, html body section.cfx-pk .cfx-pk-legacy p { max-width: 52%; margin-bottom: 20px; font-size: 17px; }
html body section.cfx-pk .cfx-pk-infinity .cfx-pk-btn, html body section.cfx-pk .cfx-pk-legacy .cfx-pk-btn { margin-top: 0; padding: 11px 28px; font-size: 18px; }
.cfx-pk-infinity .cfx-pk-tag { background: #ffd7d9; color: #8d0f19; }
.cfx-pk-legacy .cfx-pk-tag { background: #f3e2a9; color: #5b4300; }
.cfx-pk-infinity .cfx-pk-art, .cfx-pk-legacy .cfx-pk-art { right: 14px; bottom: 4px; height: 96%; }

html body section.cfx-pk .cfx-pk-card:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; }

@media (max-width: 1199.98px) {
    .cfx-pk-top { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .cfx-pk-mini, .cfx-pk-basic { grid-column: auto; grid-row: auto; min-height: 190px; }
    .cfx-pk-standard { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
    .cfx-pk-prime { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
    .cfx-pk-bottom { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    /* every card is the same compact size as Mini / Basic: full width, text left, box right */
    .cfx-pk-top { grid-template-columns: minmax(0, 1fr); }
    .cfx-pk-top .cfx-pk-card { grid-column: 1; grid-row: auto; width: 100%; }
    html body section.cfx-pk .cfx-pk-card { min-height: 190px; border-radius: 20px; }
    html body section.cfx-pk .cfx-pk-card .cfx-pk-copy { justify-content: center; padding: 18px 20px; }
    html body section.cfx-pk .cfx-pk-card h3 { margin-bottom: 6px; font-size: 20px; }
    html body section.cfx-pk .cfx-pk-card p { max-width: 52%; margin-bottom: 12px; font-size: 13px; }
    html body section.cfx-pk .cfx-pk-card .cfx-pk-btn { margin-top: 0; padding: 7px 18px; font-size: 13px; }
    html body section.cfx-pk .cfx-pk-card .cfx-pk-tag { margin-bottom: 8px; padding: 5px 12px; font-size: 11px; }
    html body section.cfx-pk .cfx-pk-card .cfx-pk-tag b { font-size: 16px; }
    html body section.cfx-pk .cfx-pk-card .cfx-pk-art { top: auto; right: 8px; bottom: 4px; height: 84%; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cfx-pk-card, .cfx-pk-btn { transition: none; } }
