
:root {
    --white: #f8fbff;
    --text: #dce7f5;
    --muted: #97a8bf;
    --cyan: #3edfff;
    --blue: #4c8cff;
    --violet: #7558ff;
    --purple: #b94cff;
    --pink: #ef5bd6;
    --green: #49e6b3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #07101c;
    color: var(--white);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

button,
a {
    font: inherit;
}

button {
    color: inherit;
}

.practice-app {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

/* =========================================================
   FULL PAGE CINEMATIC BACKGROUND
========================================================= */

.page-background {
    position: absolute;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
}

.background-image {
    position: absolute;
    inset: 0;
    min-height: 100%;
    background-image:
        url('/assets/img/paths/backgrounds/background.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    filter:
        saturate(1.08)
        contrast(1.02)
        brightness(.96);
    transform: scale(1.01);
}

.background-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(5, 10, 20, .14) 0%,
            rgba(5, 10, 20, .20) 22%,
            rgba(5, 10, 20, .42) 60%,
            rgba(5, 10, 20, .76) 100%
        ),
        radial-gradient(
            circle at 50% 15%,
            rgba(5, 12, 24, .10),
            rgba(5, 12, 24, .46) 58%,
            rgba(5, 12, 24, .74) 100%
        );
}

.background-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(120px);
    opacity: .30;
}

.background-glow-left {
    width: 500px;
    height: 500px;
    top: 160px;
    left: -280px;
    background: #7b45ff;
}

.background-glow-right {
    width: 500px;
    height: 500px;
    top: 110px;
    right: -270px;
    background: #1d98ff;
}

.background-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 62px 62px;
    opacity: .62;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.95),
            rgba(0,0,0,.55) 70%,
            transparent 100%
        );
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.95),
            rgba(0,0,0,.55) 70%,
            transparent 100%
        );
}

/* =========================================================
   HEADER
========================================================= */

.practice-header {
    position: relative;
    z-index: 20;
    width: min(1500px, calc(100% - 64px));
    min-height: 92px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: fit-content;
    color: white;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    width: 48px;
    height: 52px;
}

.brand-mark span {
    position: absolute;
    width: 33px;
    height: 12px;
    border-radius: 5px;
    transform:
        skewY(-28deg)
        rotate(-14deg);
}

.brand-mark-top {
    top: 6px;
    left: 8px;
    background:
        linear-gradient(
            90deg,
            #38dcff,
            #488cff
        );
}

.brand-mark-middle {
    top: 20px;
    left: 4px;
    background:
        linear-gradient(
            90deg,
            #4c8dff,
            #7d5aff
        );
}

.brand-mark-bottom {
    top: 34px;
    left: 10px;
    background:
        linear-gradient(
            90deg,
            #805dff,
            #e653d4
        );
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font:
        800 29px/1
        Manrope,
        sans-serif;
    letter-spacing: -.8px;
}

.brand-copy span {
    margin-top: 4px;
    margin-left: 2px;
    color: #bdc9db;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 5px;
}

.main-nav {
    display: flex;
    gap: 50px;
}

.main-nav a {
    position: relative;
    padding: 36px 0 17px;
    color: #b3bfd0;
    text-decoration: none;
    font-size: 13px;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            #c14cff,
            #34d9ff
        );
    box-shadow:
        0 0 14px
        rgba(73, 175, 255, .65);
}

.header-account {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #a8b6c9;
    font-size: 11px;
}

.login-btn {
    min-width: 93px;
    height: 40px;
    border:
        1px solid
        rgba(134, 169, 229, .46);
    border-radius: 14px;
    background:
        rgba(8, 20, 39, .53);
    color: white;
    backdrop-filter: blur(12px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    z-index: 4;
    width: min(1060px, calc(100% - 40px));
    margin: 28px auto 0;
    text-align: center;
}

.product-slogan {
    margin-bottom: 12px;
    color: #94a5be;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-shadow:
        0 2px 12px
        rgba(0,0,0,.45);
}

.hero-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 17px;
    color: #cfdaea;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4.6px;
}

.hero-eyebrow span {
    width: 35px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(118, 165, 255, .84)
        );
}

.hero-eyebrow strong {
    color: #82c5ff;
}

.hero h1 {
    margin: 0;
    font:
        800 clamp(50px, 5.7vw, 82px)/.98
        Manrope,
        sans-serif;
    letter-spacing: -4px;
    text-shadow:
        0 10px 30px
        rgba(0,0,0,.24);
}

.hero h1 em {
    font-style: normal;
    background:
        linear-gradient(
            90deg,
            #70e5ff,
            #598cff 45%,
            #765eff 72%,
            #d95ae2
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero > p {
    max-width: 770px;
    margin: 20px auto 0;
    color: #c8d4e5;
    font-size: 17px;
    line-height: 1.65;
    text-shadow:
        0 3px 16px
        rgba(0,0,0,.44);
}

/* =========================================================
   PROFESSION CAROUSEL
========================================================= */

.paths-section {
    position: relative;
    z-index: 5;
    width:
        min(
            1580px,
            calc(100% - 16px)
        );
    margin: 29px auto 0;
}

.path-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 18px 24px 38px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
}

.path-carousel::-webkit-scrollbar {
    display: none;
}

.path-carousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.path-card {
    --accent: #4bd4ff;

    position: relative;
    flex: 0 0 316px;
    min-height: 438px;
    overflow: hidden;
    padding: 0;

    border:
        1px solid
        rgba(130, 171, 240, .44);

    border-radius: 21px;

    background: #0a1425;

    color: white;
    text-align: left;

    cursor: pointer;

    isolation: isolate;
    scroll-snap-align: center;

    box-shadow:
        0 24px 64px
        rgba(0,0,0,.34);

    transition:
        transform .30s cubic-bezier(.2,.7,.2,1),
        border-color .30s ease,
        box-shadow .30s ease;
}

.accent-magenta { --accent: #ec5dde; }
.accent-cyan { --accent: #3de1ff; }
.accent-violet { --accent: #8b6aff; }
.accent-blue { --accent: #5b99ff; }
.accent-pink { --accent: #ff6cae; }
.accent-purple { --accent: #bd5dff; }
.accent-green { --accent: #4be7b5; }

.path-card:hover {
    transform:
        translateY(-8px)
        scale(1.012);

    border-color:
        var(--accent);

    box-shadow:
        0 32px 80px
        rgba(0,0,0,.42),
        0 0 40px
        color-mix(
            in srgb,
            var(--accent) 20%,
            transparent
        );
}

.path-card.selected {
    transform:
        translateY(-10px)
        scale(1.018);

    border-color:
        var(--accent);

    box-shadow:
        0 35px 85px
        rgba(0,0,0,.44),
        0 0 0 1px
        color-mix(
            in srgb,
            var(--accent) 52%,
            transparent
        ),
        0 0 32px
        color-mix(
            in srgb,
            var(--accent) 42%,
            transparent
        );
}

.path-image {
    position: absolute;
    inset: 0;
    z-index: -4;

    background-image:
        var(--path-image);

    background-size: cover;
    background-position: center top;

    filter:
        saturate(1.10)
        contrast(1.02)
        brightness(1.11);

    transition:
        transform .72s
        cubic-bezier(.2,.7,.2,1),
        filter .30s ease;
}

.path-card:hover .path-image,
.path-card.selected .path-image {
    transform:
        scale(1.075);

    filter:
        saturate(1.18)
        brightness(1.16);
}

.path-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        linear-gradient(
            180deg,
            rgba(5,10,20,.03) 0%,
            rgba(5,10,20,.07) 30%,
            rgba(5,10,20,.38) 55%,
            rgba(5,10,20,.91) 78%,
            rgba(5,10,20,.97) 100%
        );
}

.path-card-glow {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        radial-gradient(
            circle at 25% 12%,
            color-mix(
                in srgb,
                var(--accent) 22%,
                transparent
            ),
            transparent 32%
        );
}

.path-topline {
    position: absolute;
    top: 15px;
    left: 16px;
    right: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.path-number {
    color: rgba(255,255,255,.82);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.active-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 8px;

    border:
        1px solid
        rgba(255,255,255,.17);

    border-radius: 999px;

    background:
        rgba(4, 10, 20, .48);

    backdrop-filter:
        blur(10px);

    color: rgba(255,255,255,.88);

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
}

.active-pill i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow:
        0 0 9px
        var(--accent);
}

.selected-indicator {
    position: absolute;
    top: 48px;
    right: 16px;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 5px 8px;

    border:
        1px solid
        var(--accent);

    border-radius: 999px;

    background:
        rgba(5,12,24,.68);

    backdrop-filter:
        blur(11px);

    color: white;

    font-size: 8px;

    opacity: 0;
    transform: translateY(-6px);

    transition:
        opacity .22s ease,
        transform .22s ease;
}

.selected-indicator span {
    width: 15px;
    height: 15px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--accent);
    color: #07111f;

    font-size: 9px;
    font-weight: 900;
}

.path-card.selected
.selected-indicator {
    opacity: 1;
    transform: none;
}

.path-content {
    position: absolute;
    left: 21px;
    right: 21px;
    bottom: 21px;
}

.path-content::before {
    content: "";
    position: absolute;
    inset: -18px -18px -16px;
    z-index: -1;
    border-radius: 18px;
    background:
        linear-gradient(
            180deg,
            rgba(5, 11, 22, .08),
            rgba(5, 11, 22, .54) 34%,
            rgba(5, 11, 22, .82) 100%
        );
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.path-content small {
    display: block;
    margin-bottom: 6px;

    color: var(--accent);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.path-content h3 {
    margin: 0;

    font:
        800 25px/1.07
        Manrope,
        sans-serif;

    letter-spacing: -.8px;
}

.path-content p {
    min-height: 59px;
    margin: 10px 0 0;

    color:
        rgba(230,238,248,.80);

    font-size: 11px;
    line-height: 1.55;
}

.path-action {
    margin-top: 16px;
    padding-top: 13px;

    border-top:
        1px solid
        rgba(255,255,255,.13);

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 10px;
    font-weight: 600;
}

.path-action i {
    font-style: normal;

    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.26);

    border-radius: 50%;

    background:
        rgba(5,12,24,.36);
}

.carousel-control {
    position: absolute;
    top: calc(50% - 22px);
    z-index: 8;

    width: 46px;
    height: 46px;

    border:
        1px solid
        rgba(154, 186, 240, .48);

    border-radius: 50%;

    background:
        rgba(7, 18, 35, .78);

    backdrop-filter:
        blur(13px);

    color: #f1f6ff;
    font-size: 18px;

    cursor: pointer;

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.30);

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.carousel-control:hover {
    transform: scale(1.06);
    border-color:
        rgba(87, 206, 255, .76);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* =========================================================
   JOURNEY
========================================================= */

.journey-section {
    position: relative;
    z-index: 5;

    width:
        min(
            1120px,
            calc(100% - 40px)
        );

    margin:
        3px auto 0;
}

.journey-note {
    position: absolute;
    left: -140px;
    top: 5px;

    width: 120px;

    transform: rotate(-7deg);

    color: #d1d8e8;

    font-family:
        "Segoe Print",
        "Comic Sans MS",
        cursive;

    font-size: 14px;

    opacity: .82;
}

.journey-note span,
.journey-note strong {
    display: block;
    font-weight: 400;
}

.journey-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 13px;
}

.journey-step {
    min-height: 88px;

    padding:
        15px 16px;

    display: flex;
    align-items: center;

    gap: 12px;

    border:
        1px solid
        rgba(138, 177, 239, .36);

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(21, 42, 73, .80),
            rgba(7, 17, 31, .82)
        );

    backdrop-filter:
        blur(13px);

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.035);
}

.journey-step.active {
    border-color:
        rgba(83, 164, 255, .70);

    background:
        linear-gradient(
            135deg,
            rgba(51, 84, 168, .44),
            rgba(8, 20, 37, .86)
        );
}

.step-number {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(143, 180, 239, .56);

    border-radius: 50%;

    color: #d8e4f6;

    background:
        rgba(255,255,255,.03);

    font-size: 11px;
}

.journey-step.active
.step-number {
    border: 0;

    background:
        linear-gradient(
            135deg,
            #40e4ff,
            #6552ff
        );

    box-shadow:
        0 0 18px
        rgba(66, 167, 255, .55);
}

.journey-step strong {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
}

.journey-step p {
    margin: 0;
    color: #97a7bd;
    font-size: 9px;
}

/* =========================================================
   FEATURES
========================================================= */

.feature-section {
    position: relative;
    z-index: 5;

    width:
        min(
            1010px,
            calc(100% - 40px)
        );

    margin:
        19px auto 0;

    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 11px;
}

.feature-card {
    min-height: 130px;

    padding:
        18px 14px;

    border:
        1px solid
        rgba(144, 178, 235, .31);

    border-radius: 17px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(102, 84, 255, .14),
            transparent 43%
        ),
        linear-gradient(
            145deg,
            rgba(18, 36, 65, .80),
            rgba(7, 16, 29, .82)
        );

    text-align: center;

    backdrop-filter:
        blur(12px);
}

.feature-icon {
    margin-bottom: 10px;
    color: #d15fff;
    font-size: 23px;

    text-shadow:
        0 0 17px
        rgba(198, 76, 255, .58);
}

.feature-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
}

.feature-card p {
    margin: 0;
    color: #8e9eb5;
    font-size: 8.5px;
    line-height: 1.48;
}

/* =========================================================
   CTA
========================================================= */

.continue-section {
    position: relative;
    z-index: 6;

    width:
        min(
            520px,
            calc(100% - 40px)
        );

    margin:
        25px auto 0;

    text-align: center;
}

.selection-message {
    min-height: 18px;
    margin-bottom: 10px;
    color: #9aaac0;
    font-size: 10px;
}

.selection-message.has-selection {
    color: #c0d0e7;
}

.continue-btn {
    position: relative;

    width: 100%;
    height: 60px;

    overflow: hidden;

    border: 0;
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 17px;

    background:
        linear-gradient(
            100deg,
            #4ce7ff,
            #4f8fff 47%,
            #a83bff
        );

    color: white;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 18px 50px
        rgba(80, 91, 255, .38),
        0 0 25px
        rgba(67, 207, 255, .14);

    cursor: pointer;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        opacity .22s ease;
}

.continue-btn::before {
    content: "";

    position: absolute;

    top: -80%;
    left: -35%;

    width: 28%;
    height: 260%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.30),
            transparent
        );

    transform: rotate(20deg);

    animation:
        buttonShimmer
        3.8s
        ease-in-out
        infinite;
}

.continue-btn:hover:not(:disabled) {
    transform:
        translateY(-2px);

    box-shadow:
        0 22px 64px
        rgba(92, 73, 255, .48),
        0 0 31px
        rgba(62, 211, 255, .22);
}

.continue-btn:disabled {
    opacity: .30;
    box-shadow: none;
    cursor: not-allowed;
}

.continue-arrow {
    font-size: 19px;

    transition:
        transform .2s ease;
}

.continue-btn:hover:not(:disabled)
.continue-arrow {
    transform:
        translateX(4px);
}

.continue-section small {
    display: block;

    margin-top: 8px;

    color: #718198;

    font-size: 8px;
}

/* =========================================================
   FOOTER LINE
========================================================= */

.practice-philosophy {
    position: relative;
    z-index: 5;

    width:
        min(
            780px,
            calc(100% - 40px)
        );

    margin:
        32px auto 42px;

    text-align: center;
}

.practice-philosophy p {
    margin: 0;

    color: #8495ad;

    font-size: 9px;

    letter-spacing: .4px;
}

.practice-philosophy strong {
    color: #c0d0e6;
}

/* =========================================================
   MOTION
========================================================= */

@keyframes buttonShimmer {
    0%,
    55% {
        left: -38%;
        opacity: 0;
    }

    62% {
        opacity: 1;
    }

    78%,
    100% {
        left: 118%;
        opacity: 0;
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1280px) {

    .path-card {
        flex-basis: 272px;
        min-height: 392px;
    }

    .journey-note {
        display: none;
    }

}

@media (max-width: 1000px) {

    .practice-header {
        width:
            min(
                100% - 36px,
                1200px
            );

        grid-template-columns:
            1fr auto;
    }

    .main-nav {
        display: none;
    }

    .journey-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .feature-section {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .feature-card:last-child {
        grid-column: span 2;
    }

}

@media (max-width: 720px) {

    .practice-header {
        min-height: 80px;
    }

    .header-account span {
        display: none;
    }

    .hero {
        margin-top: 24px;
    }

    .product-slogan {
        font-size: 7px;
        letter-spacing: 2.1px;
    }

    .hero-eyebrow {
        font-size: 7px;
        letter-spacing: 2.3px;
    }

    .hero-eyebrow span {
        display: none;
    }

    .hero h1 {
        font-size:
            clamp(
                42px,
                13vw,
                61px
            );

        letter-spacing: -2.6px;
    }

    .hero > p {
        font-size: 14px;
        line-height: 1.6;
    }

    .paths-section {
        margin-top: 24px;
    }

    .path-carousel {
        padding-left: 12px;
        padding-right: 12px;
    }

    .path-card {
        flex-basis:
            min(
                82vw,
                310px
            );

        min-height: 420px;
    }

    .carousel-control {
        display: none;
    }

    .journey-grid,
    .feature-section {
        grid-template-columns: 1fr;
    }

    .feature-card:last-child {
        grid-column: auto;
    }

}

@media (max-width: 460px) {

    .practice-header {
        width:
            calc(100% - 24px);
    }

    .brand-copy strong {
        font-size: 23px;
    }

    .brand-copy span {
        font-size: 7px;
        letter-spacing: 4px;
    }

    .brand-mark {
        transform: scale(.88);
        transform-origin: left center;
    }

    .login-btn {
        min-width: auto;
        padding: 0 12px;
        font-size: 10px;
    }

    .hero,
    .journey-section,
    .feature-section,
    .continue-section,
    .practice-philosophy {
        width:
            calc(100% - 24px);
    }

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }

}

.carousel-control.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(.92);
}

.carousel-control {
    transition:
        transform .2s ease,
        border-color .2s ease,
        opacity .2s ease,
        visibility .2s ease;
}

.paths-section::before,
.paths-section::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 38px;
    width: 70px;
    z-index: 6;
    pointer-events: none;
}

.paths-section::before {
    left: 0;
    background: linear-gradient(90deg, rgba(5, 12, 23, .58), transparent);
}

.paths-section::after {
    right: 0;
    background: linear-gradient(270deg, rgba(5, 12, 23, .58), transparent);
}

@media (max-width: 1280px) {
    .path-card {
        flex-basis: 298px;
        min-height: 420px;
    }
}

@media (max-width: 720px) {
    .path-card {
        flex-basis: min(84vw, 320px);
        min-height: 430px;
    }

    .path-content h3 {
        font-size: 24px;
    }

    .path-content p {
        font-size: 11px;
    }
}


/* =========================================================
   V0.3.2 — FINAL HOMEPAGE MOTION POLISH
========================================================= */

:root {
    --bg-parallax-x: 0px;
    --bg-parallax-y: 0px;
}

/* Subtle mouse-driven movement of the main cinematic background. */
.background-image {
    transform:
        translate3d(
            var(--bg-parallax-x),
            var(--bg-parallax-y),
            0
        )
        scale(1.035);
    transition:
        transform .25s ease-out,
        filter .35s ease;
    will-change: transform;
}

/* Slow cinematic zoom on profession imagery. */
.path-image {
    transition:
        transform 1.15s cubic-bezier(.16,.74,.18,1),
        filter .38s ease;
    will-change: transform;
}

.path-card:hover .path-image,
.path-card.selected .path-image {
    transform: scale(1.105);
}

/* Selected profession gets a restrained premium breathing glow. */
.path-card.selected {
    animation:
        selectedCardBreath
        3.8s
        ease-in-out
        infinite;
}

.path-card.selected::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        0 0 18px
        color-mix(
            in srgb,
            var(--accent) 24%,
            transparent
        );
    opacity: .45;
    animation:
        selectedEdgeBreath
        3.8s
        ease-in-out
        infinite;
}

/* Gentle moving glow behind the page, without looking like a game UI. */
.background-glow-left {
    animation:
        ambientDriftLeft
        13s
        ease-in-out
        infinite alternate;
}

.background-glow-right {
    animation:
        ambientDriftRight
        15s
        ease-in-out
        infinite alternate;
}

.hero h1,
.hero > p,
.product-slogan,
.hero-eyebrow {
    animation:
        heroReveal
        .78s
        cubic-bezier(.2,.75,.2,1)
        both;
}

.product-slogan {
    animation-delay: .03s;
}

.hero-eyebrow {
    animation-delay: .10s;
}

.hero h1 {
    animation-delay: .17s;
}

.hero > p {
    animation-delay: .25s;
}

@keyframes selectedCardBreath {
    0%,
    100% {
        box-shadow:
            0 35px 85px rgba(0,0,0,.44),
            0 0 0 1px
            color-mix(
                in srgb,
                var(--accent) 48%,
                transparent
            ),
            0 0 28px
            color-mix(
                in srgb,
                var(--accent) 34%,
                transparent
            );
    }

    50% {
        box-shadow:
            0 38px 92px rgba(0,0,0,.48),
            0 0 0 1px
            color-mix(
                in srgb,
                var(--accent) 72%,
                transparent
            ),
            0 0 44px
            color-mix(
                in srgb,
                var(--accent) 48%,
                transparent
            );
    }
}

@keyframes selectedEdgeBreath {
    0%,
    100% {
        opacity: .28;
        transform: scale(.998);
    }

    50% {
        opacity: .62;
        transform: scale(1.004);
    }
}

@keyframes ambientDriftLeft {
    from {
        transform: translate3d(-18px, 0, 0) scale(.96);
    }

    to {
        transform: translate3d(28px, 18px, 0) scale(1.06);
    }
}

@keyframes ambientDriftRight {
    from {
        transform: translate3d(14px, -10px, 0) scale(1.02);
    }

    to {
        transform: translate3d(-26px, 20px, 0) scale(.96);
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Touch devices should not receive cursor-driven parallax assumptions. */
@media (hover: none), (pointer: coarse) {
    .background-image {
        transform: scale(1.035);
    }

    .path-card:hover .path-image {
        transform: none;
    }
}

/* Accessibility: all decorative motion stops cleanly. */
@media (prefers-reduced-motion: reduce) {
    .background-image,
    .background-glow-left,
    .background-glow-right,
    .path-card.selected,
    .path-card.selected::after,
    .hero h1,
    .hero > p,
    .product-slogan,
    .hero-eyebrow {
        animation: none !important;
        transform: none !important;
    }
}


/* =========================================================
   V0.3.3 — MOBILE / TABLET FINAL POLISH
   Desktop rules above remain unchanged.
========================================================= */

@media (max-width: 820px) {

    /* Keep the cinematic background, but protect text readability. */
    .background-image {
        background-position: 49% top;
        filter:
            saturate(1.04)
            contrast(1.02)
            brightness(.88);
    }

    .background-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 9, 18, .27) 0%,
                rgba(4, 9, 18, .35) 28%,
                rgba(4, 9, 18, .54) 62%,
                rgba(4, 9, 18, .78) 100%
            ),
            radial-gradient(
                circle at 50% 20%,
                rgba(5, 12, 24, .12),
                rgba(5, 12, 24, .44) 58%,
                rgba(5, 12, 24, .72) 100%
            );
    }

    .practice-header {
        width: calc(100% - 28px);
        min-height: 82px;
    }

    .hero {
        width: calc(100% - 28px);
        margin-top: 18px;
    }

    .product-slogan {
        margin-bottom: 10px;
        font-size: 6.8px;
        line-height: 1.45;
        letter-spacing: 2px;
    }

    .hero-eyebrow {
        margin-bottom: 13px;
        font-size: 6.7px;
        line-height: 1.45;
        letter-spacing: 2px;
    }

    .hero h1 {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(40px, 11.3vw, 52px);
        line-height: 1.01;
        letter-spacing: -2.2px;
    }

    .hero > p {
        max-width: 590px;
        margin-top: 17px;
        font-size: 13.5px;
        line-height: 1.58;
    }

    .paths-section {
        margin-top: 16px;
    }

    .path-carousel {
        gap: 12px;
        padding:
            14px
            14px
            28px;
        scroll-padding-left: 14px;
    }

    .path-card {
        flex-basis: min(82vw, 312px);
        min-height: 410px;
        border-radius: 20px;
    }

    .path-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .path-content h3 {
        font-size: 23px;
    }

    .path-content p {
        min-height: 52px;
        font-size: 10.5px;
        line-height: 1.48;
    }

    .path-content small {
        font-size: 8.5px;
    }

    .path-action {
        margin-top: 13px;
        padding-top: 11px;
        font-size: 9.5px;
    }

    .journey-section {
        margin-top: 0;
    }

    .journey-grid {
        gap: 10px;
    }

    .journey-step {
        min-height: 76px;
    }

    .feature-section {
        margin-top: 15px;
        gap: 10px;
    }

    .feature-card {
        min-height: 118px;
    }

    .continue-section {
        margin-top: 20px;
    }

    .practice-philosophy {
        margin-top: 28px;
    }
}


@media (max-width: 520px) {

    /* iPhone / compact Android portrait tuning. */
    .background-image {
        background-position: 48% top;
        transform: scale(1.055) !important;
    }

    .background-grid {
        opacity: .42;
    }

    .practice-header {
        width: calc(100% - 22px);
        min-height: 78px;
    }

    .brand {
        gap: 9px;
    }

    .brand-mark {
        transform: scale(.82);
        transform-origin: left center;
        margin-right: -6px;
    }

    .brand-copy strong {
        font-size: 22px;
    }

    .brand-copy span {
        margin-top: 3px;
        font-size: 6.5px;
        letter-spacing: 3.6px;
    }

    .login-btn {
        min-width: 78px;
        height: 37px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: 10px;
    }

    .hero {
        width: calc(100% - 24px);
        margin-top: 12px;
    }

    .product-slogan {
        margin-bottom: 9px;
        font-size: 6.2px;
        letter-spacing: 1.7px;
    }

    .hero-eyebrow {
        margin-bottom: 11px;
        font-size: 6.2px;
        letter-spacing: 1.65px;
    }

    .hero h1 {
        font-size: clamp(38px, 10.9vw, 48px);
        line-height: 1.015;
        letter-spacing: -1.9px;
    }

    .hero > p {
        max-width: 410px;
        margin-top: 15px;
        font-size: 12.8px;
        line-height: 1.55;
    }

    .paths-section {
        width: 100%;
        margin-top: 12px;
    }

    .path-carousel {
        padding:
            12px
            12px
            24px;
    }

    .path-card {
        flex-basis: min(84vw, 306px);
        min-height: 402px;
    }

    .path-topline {
        top: 13px;
        left: 14px;
        right: 14px;
    }

    .selected-indicator {
        top: 44px;
        right: 14px;
    }

    .path-content {
        left: 17px;
        right: 17px;
        bottom: 17px;
    }

    .path-content::before {
        inset: -16px -15px -14px;
    }

    .path-content h3 {
        font-size: 22px;
    }

    .path-content p {
        min-height: 48px;
        font-size: 10.2px;
        line-height: 1.46;
    }

    .journey-section,
    .feature-section,
    .continue-section,
    .practice-philosophy {
        width: calc(100% - 24px);
    }

    .journey-step {
        padding: 13px 14px;
    }

    .feature-card {
        padding: 16px 13px;
    }

    .continue-btn {
        height: 56px;
    }
}


@media (max-width: 380px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero > p {
        font-size: 12.3px;
    }

    .path-card {
        flex-basis: 86vw;
        min-height: 392px;
    }
}


/* =========================================================
   V0.6.3 — PERFORMANCE POLISH
   Reduces expensive compositing while keeping the visual style.
========================================================= */
@media (max-width: 820px) {
    .current-path,
    .level-card,
    .goal-card,
    .question-panel,
    .calibration-side,
    .onboarding-actions,
    .goals-actions,
    .calibration-result {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}


/* Replace large GPU blur layers with radial gradients. */
.background-glow {
    filter: none !important;
    opacity: .34;
}

.background-glow-left {
    background: radial-gradient(circle, rgba(123,69,255,.58) 0%, rgba(123,69,255,.18) 42%, transparent 72%);
}

.background-glow-right {
    background: radial-gradient(circle, rgba(29,152,255,.55) 0%, rgba(29,152,255,.16) 42%, transparent 72%);
}

/* Off-screen sections do not need full rendering during initial paint. */
.journey-section,
.feature-section,
.practice-philosophy {
    content-visibility: auto;
    contain-intrinsic-size: 1px 420px;
}

@media (max-width: 820px) {
    .path-card,
    .journey-step,
    .feature-card {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}


/* =========================================================
   v0.21 · Dynamic profession background / accessibility
========================================================= */
.landing-skip-link {
    position:fixed;
    z-index:9999;
    left:14px;
    top:-60px;
    padding:9px 12px;
    border-radius:9px;
    background:#fff;
    color:#07111f;
    text-decoration:none;
    font-size:10px;
    font-weight:850;
}
.landing-skip-link:focus { top:14px; }
.background-image {
    transition:
        opacity .58s ease,
        filter .58s ease,
        transform 1.05s cubic-bezier(.2,.7,.2,1),
        background-image .01s linear .28s;
    will-change:transform,opacity,filter;
}
.background-image.is-switching {
    opacity:.24;
    filter:saturate(.86) contrast(1.01) brightness(.86);
    transform:scale(1.025) translate(var(--bg-parallax-x,0),var(--bg-parallax-y,0));
}
.background-image.has-profession-background {
    opacity:1;
    filter:saturate(1.07) contrast(1.02) brightness(.90);
}
.path-card.is-previewing:not(.selected) {
    border-color:color-mix(in srgb,var(--accent) 52%,transparent);
}
:focus-visible {
    outline:2px solid rgba(82,214,255,.95);
    outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
    *,*::before,*::after{
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important;
    }
}

/* =========================================================
   v0.21.1 · Conversion + performance polish
========================================================= */

/* Two-layer cinematic background: no background-image swap flash. */
.background-image-layer {
    opacity:0;
    transform:
        translate3d(var(--bg-parallax-x,0),var(--bg-parallax-y,0),0)
        scale(1.025);
    transition:
        opacity 1.35s cubic-bezier(.2,.7,.2,1),
        transform 7.8s cubic-bezier(.18,.68,.22,1),
        filter .65s ease;
    will-change:opacity,transform;
    backface-visibility:hidden;
    contain:paint;
}
.background-image-layer.is-active {
    opacity:1;
    transform:
        translate3d(var(--bg-parallax-x,0),var(--bg-parallax-y,0),0)
        scale(1.055);
}
.background-image-layer.has-profession-background {
    filter:saturate(1.06) contrast(1.02) brightness(.91);
}
.background-image-layer:not(.is-active) {
    pointer-events:none;
}

/* Old single-layer switch state is no longer used. */
.background-image.is-switching {
    opacity:inherit;
}

.hero-live-question {
    width:min(760px,100%);
    margin:18px auto 0;
    padding:11px 14px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:999px;
    background:rgba(6,15,28,.42);
    backdrop-filter:blur(12px);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-align:center;
}
.hero-live-question span {
    flex:0 0 auto;
    color:#58dcff;
    font-size:7.5px;
    font-weight:900;
    letter-spacing:1.1px;
}
.hero-live-question strong {
    color:#dce8f5;
    font-size:10px;
    font-weight:700;
    line-height:1.4;
}

.landing-practice-preview {
    width:min(1180px,calc(100% - 42px));
    margin:52px auto 0;
    padding:24px;
    display:grid;
    grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr);
    gap:22px;
    border:1px solid rgba(83,214,255,.13);
    border-radius:22px;
    background:
        radial-gradient(circle at 12% 10%,rgba(69,210,255,.07),transparent 30%),
        linear-gradient(145deg,rgba(8,20,37,.90),rgba(4,12,24,.94));
    box-shadow:0 25px 70px rgba(0,0,0,.22);
    content-visibility:auto;
    contain-intrinsic-size:620px;
}
.landing-preview-copy > span {
    color:#5fdcff;
    font-size:8px;
    font-weight:900;
    letter-spacing:1.15px;
}
.landing-preview-copy h2 {
    margin:7px 0 0;
    font:800 clamp(27px,3vw,42px)/1.05 Manrope,sans-serif;
    letter-spacing:-1.4px;
}
.landing-preview-copy p {
    margin:13px 0 0;
    color:#a5b5c9;
    font-size:12px;
    line-height:1.65;
}
.landing-preview-copy small {
    display:block;
    margin-top:17px;
    color:#788ca5;
    font-size:8px;
    font-weight:850;
    letter-spacing:.9px;
}
.landing-preview-card {
    padding:15px;
    border:1px solid rgba(255,255,255,.065);
    border-radius:16px;
    background:rgba(3,10,20,.58);
}
.landing-preview-options {
    display:grid;
    gap:8px;
}
.landing-preview-option {
    width:100%;
    min-height:54px;
    padding:10px 12px;
    display:grid;
    grid-template-columns:30px minmax(0,1fr);
    align-items:center;
    gap:10px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:11px;
    background:rgba(255,255,255,.014);
    color:#c4d1e0;
    text-align:left;
    cursor:pointer;
    transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
.landing-preview-option:hover {
    transform:translateY(-1px);
    border-color:rgba(83,214,255,.25);
}
.landing-preview-option.selected {
    border-color:rgba(83,214,255,.42);
    background:rgba(83,214,255,.055);
}
.landing-preview-option > span {
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.10);
    border-radius:50%;
    color:#7f94ad;
    font-size:8px;
    font-weight:850;
}
.landing-preview-option.selected > span {
    border-color:#55d9ff;
    color:#55d9ff;
}
.landing-preview-option strong {
    font-size:10.5px;
    line-height:1.45;
}
.landing-preview-consequence {
    margin-top:10px;
    padding:13px;
    border:1px solid rgba(167,113,255,.16);
    border-radius:12px;
    background:rgba(167,113,255,.035);
}
.landing-preview-consequence > span {
    color:#b78cff;
    font-size:7.5px;
    font-weight:900;
    letter-spacing:1px;
}
.landing-preview-consequence strong {
    display:block;
    margin-top:5px;
    color:#eef5ff;
    font-size:12px;
}
.landing-preview-consequence p {
    margin:6px 0 0;
    color:#93a7be;
    font-size:9.5px;
    line-height:1.55;
}
.landing-preview-consequence button {
    margin-top:10px;
    min-height:36px;
    padding:0 11px;
    border:0;
    border-radius:999px;
    background:linear-gradient(90deg,#46d8ff,#7f7dff 55%,#db53da);
    color:#fff;
    font:800 9px/1 Inter,sans-serif;
    cursor:pointer;
}

.practice-system-loop {
    width:min(1180px,calc(100% - 42px));
    margin:14px auto 0;
    padding:13px 16px;
    display:grid;
    grid-template-columns:repeat(9,auto);
    justify-content:center;
    align-items:center;
    gap:13px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:15px;
    background:rgba(6,15,28,.55);
    content-visibility:auto;
    contain-intrinsic-size:100px;
}
.practice-system-loop > div {
    min-width:105px;
    text-align:center;
}
.practice-system-loop > div span {
    display:block;
    color:#637991;
    font-size:7px;
    font-weight:900;
}
.practice-system-loop > div strong {
    display:block;
    margin-top:3px;
    color:#dce8f5;
    font-size:10px;
}
.practice-system-loop > div small {
    display:block;
    margin-top:3px;
    color:#72879f;
    font-size:7.5px;
    line-height:1.35;
}
.practice-system-loop > i {
    color:#566b83;
    font-style:normal;
    font-size:10px;
}

/* Avoid large offscreen paint work. */
.journey-section,
.feature-section,
.continue-section,
.practice-philosophy {
    content-visibility:auto;
    contain-intrinsic-size:400px;
}

.path-card.reveal-ready {
    opacity:0;
    transform:translateY(14px) scale(.99);
}
.path-card.reveal-ready.is-revealed {
    opacity:1;
    transform:translateY(0) scale(1);
    transition:
        opacity .42s ease,
        transform .5s cubic-bezier(.2,.7,.2,1),
        border-color .3s ease,
        box-shadow .3s ease;
}
.path-card.reveal-ready.is-revealed:hover {
    transform:translateY(-8px) scale(1.012);
}
.path-card.reveal-ready.is-revealed.selected {
    transform:translateY(-10px) scale(1.018);
}

@media(max-width:900px){
    .landing-practice-preview {
        grid-template-columns:1fr;
    }
    .practice-system-loop {
        grid-template-columns:repeat(5,minmax(0,1fr));
        gap:8px;
    }
    .practice-system-loop > i { display:none; }
    .practice-system-loop > div { min-width:0; }
}

@media(max-width:620px){
    .hero-live-question {
        align-items:flex-start;
        border-radius:14px;
        flex-direction:column;
        text-align:left;
    }
    .landing-practice-preview,
    .practice-system-loop {
        width:calc(100% - 24px);
    }
    .landing-practice-preview {
        padding:16px;
    }
    .practice-system-loop {
        grid-template-columns:1fr;
        padding:10px;
    }
    .practice-system-loop > div {
        padding:7px 8px;
        display:grid;
        grid-template-columns:26px 90px 1fr;
        align-items:center;
        gap:5px;
        text-align:left;
    }
    .practice-system-loop > div span,
    .practice-system-loop > div strong,
    .practice-system-loop > div small {
        margin:0;
    }
}

@media(prefers-reduced-motion:reduce){
    .background-image-layer {
        transition:none!important;
        transform:none!important;
    }
    .path-card.reveal-ready,
    .path-card.reveal-ready.is-revealed {
        opacity:1;
        transform:none;
    }
}
/* Specificity guard against the older single-layer profession state. */
.background-image-layer.has-profession-background:not(.is-active) { opacity:0; }
.background-image-layer.is-active { opacity:1; }

/* v0.22 identity entry points */
.header-account{display:flex;align-items:center;gap:9px}.header-account a{text-decoration:none}.header-register{min-height:36px;padding:0 12px;display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:10px;color:#92a7bf;font-size:9px;font-weight:850}.header-register:hover{border-color:rgba(74,214,255,.22);color:#fff}.login-btn{min-height:36px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(117,190,255,.22);border-radius:10px;background:rgba(255,255,255,.015);color:#eef7ff!important;font-size:9px;font-weight:850}.login-btn:hover{border-color:rgba(74,214,255,.42);background:rgba(74,214,255,.04)}


/* v0.23.3c — readable landing / onboarding typography */
.journey-step strong{font-size:14px!important;line-height:1.35!important}
.journey-step p{font-size:13.5px!important;line-height:1.48!important;min-height:auto!important}
.feature-card strong{font-size:14px!important;line-height:1.35!important}
.feature-card p{font-size:13.5px!important;line-height:1.5!important}
.landing-preview-copy>span{font-size:11.5px!important}
.landing-preview-copy p{font-size:14px!important;line-height:1.55!important}
.landing-preview-copy small{font-size:11.5px!important}
.landing-preview-option>span{font-size:11px!important}
.landing-preview-option strong{font-size:13.5px!important;line-height:1.45!important}
.practice-system-loop small{font-size:12.5px!important;line-height:1.45!important}
.selection-message,.continue-section>small{font-size:13px!important;line-height:1.45!important}
@media(max-width:760px){
 .journey-step strong,.feature-card strong{font-size:14px!important}
 .journey-step p,.feature-card p{font-size:13px!important}
 .landing-preview-copy p{font-size:13.5px!important}
 .practice-system-loop small{font-size:12px!important}
}


/* v0.23.4 — spacious onboarding composition */
.practice-system-loop{width:min(1320px,calc(100% - 48px))!important;padding:14px 20px!important;gap:18px!important}
.practice-system-loop>div{padding:0 8px!important}
.journey-section{width:min(1320px,calc(100% - 48px))!important;margin-top:18px!important}
.journey-grid{gap:16px!important}
.journey-step{min-height:108px!important;padding:19px 20px!important;gap:15px!important}
.step-number{width:39px!important;height:39px!important;font-size:13px!important}
.feature-section{width:min(1240px,calc(100% - 48px))!important;gap:14px!important;margin-top:20px!important}
.feature-card{min-height:154px!important;padding:22px 18px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.feature-icon{font-size:25px!important;margin-bottom:12px!important}
@media(max-width:1100px){
 .practice-system-loop,.journey-section,.feature-section{width:min(100% - 32px,1040px)!important}
 .journey-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .feature-section{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
 .practice-system-loop,.journey-section,.feature-section{width:calc(100% - 24px)!important}
 .journey-grid,.feature-section{grid-template-columns:1fr!important}
 .journey-step,.feature-card{min-height:auto!important}
}

/* v0.23.30 — landing/onboarding readability floor */
.brand-copy span,.product-slogan,.hero-eyebrow,.path-number,.active-pill,.selected-indicator,
.selected-indicator span,.path-content small,.journey-step p,.continue-section small,
.practice-philosophy p,.hero-live-question span,.landing-preview-copy>span,.landing-preview-copy small,
.landing-preview-option>span,.landing-preview-consequence>span,.practice-system-loop>div span,
.practice-system-loop>div small{font-size:12.5px!important;line-height:1.45}
.path-content p,.feature-card p,.landing-preview-consequence p{font-size:14px!important;line-height:1.55!important}
.header-account,.login-btn,.header-register,.path-action{font-size:14px!important}
.step-number,.journey-step strong,.feature-card strong,.selection-message,.hero-live-question strong,
.landing-preview-option strong,.practice-system-loop>div strong,.practice-system-loop>i{font-size:13.5px!important}
@media(max-width:680px){
  .path-content p,.feature-card p,.landing-preview-consequence p{font-size:13.5px!important}
  .header-account,.login-btn,.header-register,.path-action{font-size:13.5px!important}
}
