:root {
    --primary-gradient: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    --app-height: 100svh;
}

body {
    background: linear-gradient(145deg, #edf4fb 0%, #f6fafc 48%, #fff8ee 100%);
    -webkit-tap-highlight-color: transparent;
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    color: #1e293b;
}

html {
    scrollbar-width: none;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none;
}

body.modal-open {
    overflow: hidden;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: var(--app-height);
    min-height: 100svh;
    min-height: 100dvh;
    background:
        linear-gradient(180deg, rgba(249, 250, 252, 0.4) 0%, rgba(249, 250, 252, 0.3) 100%);
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    position: relative;
    overflow: hidden;
}

.content-area {
    flex: 1 0 auto;
    overflow: visible;
    padding-bottom: 6.6rem;
    padding-top: 1.25rem;
    position: relative;
    z-index: 10;
}

.content-area::-webkit-scrollbar {
    display: none;
}

.safe-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

.hero-intro {
    margin-top: -0.2rem;
}

.hero-promo {
    width: 100%;
    margin: 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.46rem 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 244, 246, 0.92) 100%);
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.1);
}

.hero-promo__text {
    color: #e11d48;
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-promo__icon {
    color: #fb7185;
    font-size: 0.9rem;
    line-height: 1;
    text-shadow: 0 0 10px rgba(251, 113, 133, 0.28);
    flex: 0 0 auto;
}

.hero-promo__line {
    width: 1.25rem;
    height: 2px;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(225, 29, 72, 0) 0%, rgba(225, 29, 72, 0.7) 100%);
}

.hero-promo__line:last-child {
    background: linear-gradient(90deg, rgba(225, 29, 72, 0.7) 0%, rgba(225, 29, 72, 0) 100%);
}

.logo-glow {
    filter: drop-shadow(0 10px 20px rgba(255, 140, 0, 0.4));
}

.hero-logo {
    display: block;
    width: 138px;
    height: 138px;
    object-fit: contain;
}

.header-copy {
    width: 290px;
    transform: translateX(-10px);
    justify-content: center;
}

.club-title {
    font-size: clamp(1.4rem, 3.8vw, 2rem);
}

.contact-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.contact-banner__content {
    max-width: 100%;
    width: 100%;
}

.contact-banner__title {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-banner__subtitle {
    margin: 0.2rem 0 0;
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-banner__row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.contact-banner__icon {
    font-size: 1rem;
    line-height: 1;
}

.contact-banner__text {
    color: #164e63;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 800;
}

.contact-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
    align-self: center;
    padding: 0.85rem 1.2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.22);
}

.floating-cta-wrap {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(100vw, 480px);
    padding: 0 1rem calc(0.85rem + env(safe-area-inset-bottom));
    z-index: 95;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.floating-cta {
    pointer-events: auto;
    width: min(100%, 320px);
    margin: 0 auto;
    border: 0;
    border-radius: 9999px;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #ffffff;
    font-size: 0.96rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.26);
}

.decor-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.mobile-blob {
    display: block;
    position: absolute;
    border-radius: 9999px;
    filter: blur(36px);
    opacity: 0.68;
    animation: mobileBlobFloat 10s ease-in-out infinite alternate;
    mix-blend-mode: multiply;
}

.mobile-blob-1 {
    width: 620px;
    height: 620px;
    top: -210px;
    left: -250px;
    background: radial-gradient(circle, rgba(34, 144, 255, 1) 0%, rgba(34, 144, 255, 0.56) 42%, rgba(34, 144, 255, 0) 80%);
}

.mobile-blob-2 {
    width: 660px;
    height: 660px;
    right: -270px;
    top: 28%;
    background: radial-gradient(circle, rgba(255, 156, 20, 1) 0%, rgba(255, 156, 20, 0.5) 42%, rgba(255, 156, 20, 0) 80%);
    animation-duration: 12s;
}

.mobile-blob-3 {
    width: 640px;
    height: 640px;
    left: -24%;
    bottom: -70px;
    background: radial-gradient(circle, rgba(44, 217, 166, 1) 0%, rgba(44, 217, 166, 0.48) 42%, rgba(44, 217, 166, 0) 80%);
    animation-duration: 11s;
}

.sharp-split {
    background: var(--bg-split);
}

.vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 52%, rgba(255, 255, 255, 0.12) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

@media (hover: none) and (pointer: coarse), (max-width: 428px) {
    .app-container {
        box-shadow: none;
        background:
            linear-gradient(180deg, rgba(249, 250, 252, 0.24) 0%, rgba(249, 250, 252, 0.16) 100%);
    }

    .decor-layer {
        display: block;
    }

    .content-area {
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6rem;
    }

    .hero-intro {
        margin-top: -0.35rem;
    }

    .hero-promo {
        margin-top: 0.82rem;
        gap: 0.3rem;
        padding: 0.42rem 0.55rem;
    }

    .hero-promo__text {
        font-size: 0.88rem;
        letter-spacing: 0.05em;
    }

    .hero-promo__icon {
        font-size: 0.76rem;
    }

    .hero-promo__line {
        width: 0.8rem;
    }

    .logo-glow {
        filter: none;
    }

    .mobile-blob {
        filter: blur(34px);
        opacity: 0.44;
    }

    .include-glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .btn-more,
    .contact-banner__button,
    .modal-close,
    .modal-cta {
        transition: none !important;
    }

    .session-card::before {
        display: none;
    }

    .modal-backdrop {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(15, 23, 42, 0.42);
    }

    .contact-banner__button {
        background: #0f172a;
    }

    .floating-cta-wrap {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
    }

    .floating-cta {
        padding: 0.95rem 1rem;
        font-size: 0.9rem;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
    }
}

.session-card {
    overflow: visible;
}

.session-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--bg-split);
    z-index: 0;
}

.session-card > * {
    position: relative;
    z-index: 1;
}

.session-1 { --bg-split: linear-gradient(105deg, #109fb2 0%, #109fb2 50%, #f4811f 50%, #f4811f 100%); }
.session-2 { --bg-split: linear-gradient(105deg, #fec208 0%, #fec208 50%, #00c5df 50%, #00c5df 100%); }
.session-3 { --bg-split: linear-gradient(105deg, #8cc63f 0%, #8cc63f 50%, #f4811f 50%, #f4811f 100%); }
.session-4 { --bg-split: linear-gradient(105deg, #109fb2 0%, #109fb2 50%, #fec208 50%, #fec208 100%); }
.session-5 { --bg-split: linear-gradient(105deg, #f4811f 0%, #f4811f 50%, #8cc63f 50%, #8cc63f 100%); }
.session-6 { --bg-split: linear-gradient(105deg, #fec208 0%, #fec208 50%, #109fb2 50%, #109fb2 100%); }

.btn-more {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 62%);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 8px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    color: #0f172a;
    transition: all 0.2s ease;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.btn-more:active {
    transform: translate(-50%, 62%) scale(0.98);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.icon-placeholder {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.session-icon {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    object-fit: contain;
}

.bottom-4.session-icon {
    bottom: 0.5rem;
}

.include-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.include-icon-wrap-lg {
    width: 2.9rem;
    height: 2.9rem;
}

.include-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    object-position: center;
    display: block;
}

.include-icon-lg {
    width: 2.45rem;
    height: 2.45rem;
}

.include-text {
    padding-top: 0.125rem;
}

.include-glass {
    margin: 0 auto;
    padding: 1rem 0.9rem 0.78rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 20px 45px rgba(148, 163, 184, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    position: relative;
}

.include-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.36s ease, transform 0.36s ease, visibility 0s linear 0.36s;
}

.include-panel.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.36s ease, transform 0.36s ease, visibility 0s linear 0s;
}

.include-panel--intensive {
    padding: 0;
}

.include-intensive-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    min-height: 3.35rem;
    transform: translateY(-0.18rem);
}

.include-intensive-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.include-intensive-icon {
    width: 2.95rem;
    height: 2.95rem;
    object-fit: contain;
}

.include-intensive-copy {
    text-align: left;
}

.include-intensive-days {
    margin: 0;
    color: #0f172a;
    font-size: 0.82rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.include-intensive-time {
    margin: 0.28rem 0 0;
    color: #0f172a;
    font-size: 1.12rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.include-shift-right {
    padding-left: 0.4rem;
}

.program-switch {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
    padding: 0.28rem;
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.26));
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 18px 36px rgba(148, 163, 184, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.program-switch__thumb {
    position: absolute;
    top: 0.28rem;
    left: 0.28rem;
    width: calc(50% - 0.28rem);
    height: calc(100% - 0.56rem);
    border-radius: 9999px;
    background: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 100%);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.28);
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
    will-change: transform;
}

.program-switch[data-active="intensive"] .program-switch__thumb {
    transform: translateX(100%);
    background: linear-gradient(135deg, #ff8a1f 0%, #ff4f7a 100%);
    box-shadow: 0 12px 24px rgba(255, 95, 61, 0.24);
}

.program-switch__option {
    position: relative;
    z-index: 1;
    min-height: 3.28rem;
    padding: 0.78rem 0.9rem 0.72rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    transition: color 0.28s ease, transform 0.2s ease;
}

.program-switch__option.is-active {
    color: #ffffff;
}

.program-switch__label {
    display: block;
    font-size: 1.02rem;
    line-height: 1.05;
}

.program-switch__meta {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    opacity: 0.82;
}

.program-panels {
    position: relative;
    min-height: 0;
}

.include-glass {
    position: relative;
    transition: height 0.36s ease;
}

.program-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.42s ease, transform 0.42s ease, visibility 0s linear 0.42s;
}

.program-panel.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.42s ease, transform 0.42s ease, visibility 0s linear 0s;
}

.intensive-card {
    position: relative;
}

.intensive-card__body {
    overflow: visible;
    border-radius: 1rem;
    background: linear-gradient(135deg, #102a43 0%, #0f766e 100%);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.intensive-card__copy {
    width: 43%;
    margin-left: auto;
    padding: 0 0.6rem 0.2rem 0;
    align-items: flex-start !important;
    justify-content: center;
    text-align: left !important;
}

.intensive-card--figma .intensive-card__body {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 45%, #22c55e 100%);
    box-shadow: 0 18px 36px rgba(124, 58, 237, 0.18);
}

.intensive-card--tilda .intensive-card__body {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16);
}

.intensive-card--photoshop .intensive-card__body {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #38bdf8 100%);
    box-shadow: 0 18px 36px rgba(29, 78, 216, 0.18);
}

.intensive-card--python .intensive-card__body {
    background: linear-gradient(135deg, #2563eb 0%, #0f766e 52%, #facc15 100%);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.16);
}

.intensive-app-icon {
    position: absolute;
    left: 26%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 9.2rem !important;
    height: 9.2rem !important;
    object-fit: contain;
    pointer-events: none;
}

.intensive-app-icon--tilda {
    width: 8.2rem !important;
    height: 8.2rem !important;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(10px);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-backdrop.is-visible {
    opacity: 1;
}

.modal-sheet {
    position: relative;
    width: min(100%, 28rem);
    max-height: min(85vh, calc(100vh - 2rem));
    overflow: hidden;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.24), transparent 28%),
        linear-gradient(180deg, #fffaf0 0%, #ffffff 42%, #fff7ed 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.26);
    transform: translateY(18px) scale(0.985);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.modal-backdrop.is-visible .modal-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 8;
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    touch-action: manipulation;
}

.modal-body {
    padding: 1.5rem 1.35rem 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    padding-bottom: 3.6rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.modal-kicker {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.modal-title {
    margin: 0.8rem 0 0;
    font-size: 1.6rem;
    line-height: 1.05;
    font-weight: 900;
    color: #0f172a;
}

.modal-text {
    margin: 0.9rem 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #334155;
}

.modal-program {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(251, 191, 36, 0.24);
}

.modal-program-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ea580c;
}

.modal-list {
    margin: 0.8rem 0 0;
    padding-left: 1.1rem;
    color: #334155;
    font-size: 0.93rem;
    line-height: 1.5;
}

.modal-list li + li {
    margin-top: 0.45rem;
}

.modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin-top: -1.25rem;
    padding: 0.8rem 1.35rem 1.35rem;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0) 0%, rgba(255, 247, 237, 0.9) 22%, #fff7ed 100%);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.modal-cta {
    width: 100%;
    border: 0;
    border-radius: 9999px;
    padding: 0.95rem 1.2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 14px 28px rgba(234, 88, 12, 0.26);
    cursor: pointer;
}

.modal-sheet--form {
    max-width: min(100%, 24rem);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    margin-top: 1.15rem;
}

.signup-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.signup-form__label {
    font-size: 0.82rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.signup-form__input {
    width: 100%;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 700;
    outline: none;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.signup-form__input::placeholder {
    color: #94a3b8;
    font-weight: 600;
}

.signup-form__input:focus {
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.signup-form__submit {
    margin-top: -0.2rem;
}

.signup-form__status {
    min-height: 0;
    margin: -0.35rem 0 0;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 700;
}

.signup-form__status:empty {
    display: none;
}

.signup-form__status.is-success {
    color: #15803d;
}

.signup-form__status.is-error {
    color: #dc2626;
}

.signup-form__policy {
    margin: -0.1rem 0 -0.35rem;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
    text-align: left;
}

.signup-form__policy-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f766e;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.modal-sheet--policy {
    width: 100%;
    max-width: min(100vw, 480px);
    max-height: min(94vh, 100dvh);
    margin: auto 0 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateY(100%);
}

.modal-backdrop.is-visible .modal-sheet--policy {
    transform: translateY(0);
}

#privacy-modal {
    align-items: flex-end;
    padding: 0;
}

.modal-section-title {
    margin: 1.15rem 0 0.8rem;
    color: #0f172a;
    font-size: 1.14rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.modal-schedule-block {
    margin-top: 0.1rem;
}

.schedule-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.38rem;
}

.schedule-timeline--common-start {
    padding: 0.72rem 0 0.05rem;
}

.schedule-timeline--common-start .schedule-timeline__line {
    top: 0.74rem;
}

.schedule-timeline--common-end {
    padding: 0.2rem 0 0;
}

.schedule-timeline__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.2) 0%, #e2e8f0 18%, #e2e8f0 82%, rgba(226, 232, 240, 0.2) 100%);
}

.schedule-timeline__line--soft {
    background: linear-gradient(180deg, rgba(191, 219, 254, 0.15) 0%, #dbeafe 18%, #dbeafe 82%, rgba(191, 219, 254, 0.15) 100%);
}

.schedule-branch {
    position: relative;
    width: 100%;
    height: 2.15rem;
    margin-top: 0.02rem;
}

.schedule-branch svg {
    width: 100%;
    height: 100%;
    display: block;
}

.schedule-branch__path {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.schedule-branch__path--left {
    stroke: #86efac;
}

.schedule-branch__path--right {
    stroke: #67e8f9;
}

.modal-schedule-block.schedule-mode-it .schedule-branch__path--left {
    stroke: #cbd5e1;
}

.modal-schedule-block.schedule-mode-it .schedule-branch__path--right {
    stroke: #06b6d4;
}

.modal-schedule-block.schedule-mode-regular .schedule-branch__path--left {
    stroke: #10b981;
}

.modal-schedule-block.schedule-mode-regular .schedule-branch__path--right {
    stroke: #cbd5e1;
}

.schedule-tracks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
    padding: 0 0.05rem;
}

.schedule-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
    padding: 0 0.05rem;
}

.schedule-track__title {
    margin: 0 0 0.02rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.schedule-track--it .schedule-track__title {
    color: #0891b2;
}

.schedule-track--regular .schedule-track__title {
    color: #059669;
}

.schedule-track__line {
    position: absolute;
    top: 0.9rem;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.schedule-track--it .schedule-track__line {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.18) 0%, #67e8f9 18%, #06b6d4 82%, rgba(34, 211, 238, 0.18) 100%);
}

.schedule-track--regular .schedule-track__line {
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.18) 0%, #86efac 18%, #10b981 82%, rgba(52, 211, 153, 0.18) 100%);
}

.modal-schedule-block.schedule-mode-it .schedule-track--regular .schedule-track__line,
.modal-schedule-block.schedule-mode-regular .schedule-track--it .schedule-track__line {
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.16) 0%, #cbd5e1 18%, #94a3b8 82%, rgba(203, 213, 225, 0.16) 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.modal-schedule-block.schedule-mode-it .schedule-track--it .schedule-track__line {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.24) 0%, #67e8f9 18%, #0891b2 82%, rgba(14, 165, 233, 0.24) 100%);
    box-shadow: 0 0 0 1px rgba(207, 250, 254, 0.75), 0 0 10px rgba(6, 182, 212, 0.16);
}

.modal-schedule-block.schedule-mode-regular .schedule-track--regular .schedule-track__line {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.24) 0%, #86efac 18%, #059669 82%, rgba(16, 185, 129, 0.24) 100%);
    box-shadow: 0 0 0 1px rgba(220, 252, 231, 0.75), 0 0 10px rgba(16, 185, 129, 0.14);
}

.modal-schedule-block.schedule-mode-it .schedule-track--regular .schedule-card__body,
.modal-schedule-block.schedule-mode-regular .schedule-track--it .schedule-card__body {
    box-shadow: none;
    border-color: rgba(203, 213, 225, 0.82);
    background: rgba(248, 250, 252, 0.88);
}

.modal-schedule-block.schedule-mode-it .schedule-track--regular .schedule-card__dot,
.modal-schedule-block.schedule-mode-regular .schedule-track--it .schedule-card__dot {
    background: #cbd5e1;
}

.modal-schedule-block.schedule-mode-it .schedule-track--regular .schedule-card__time,
.modal-schedule-block.schedule-mode-regular .schedule-track--it .schedule-card__time {
    color: #94a3b8;
    border-color: rgba(203, 213, 225, 0.9);
    background: rgba(248, 250, 252, 0.96);
}

.modal-schedule-block.schedule-mode-it .schedule-track--regular .schedule-card__label,
.modal-schedule-block.schedule-mode-regular .schedule-track--it .schedule-card__label,
.modal-schedule-block.schedule-mode-it .schedule-track--regular .schedule-track__title,
.modal-schedule-block.schedule-mode-regular .schedule-track--it .schedule-track__title {
    color: #94a3b8;
}

.schedule-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.schedule-card__dot {
    width: 0.64rem;
    height: 0.64rem;
    margin-bottom: -0.18rem;
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.schedule-card__body {
    position: relative;
    width: 100%;
    padding: 0.98rem 0.52rem 0.52rem;
    border-radius: 0.92rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.schedule-card__time {
    position: absolute;
    top: -0.5rem;
    left: 0.38rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.18rem;
    padding: 0.14rem 0.42rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
}

.schedule-card__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
}

.schedule-card--common,
.schedule-card--afternoon {
    width: min(100%, 17rem);
}

.schedule-card--common .schedule-card__dot {
    background: #0f172a;
}

.schedule-card--common .schedule-card__body {
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid #e2e8f0;
}

.schedule-card--common .schedule-card__time {
    color: #94a3b8;
}

.schedule-card--common .schedule-card__label {
    color: #0f172a;
}

.schedule-card--it .schedule-card__dot {
    background: #06b6d4;
}

.schedule-card--it .schedule-card__body {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #cffafe;
}

.schedule-card--it .schedule-card__time {
    color: #06b6d4;
    border-color: rgba(165, 243, 252, 0.95);
    background: rgba(236, 254, 255, 0.98);
}

.schedule-card--regular .schedule-card__dot {
    background: #10b981;
}

.schedule-card--regular .schedule-card__body {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d1fae5;
}

.schedule-card--regular .schedule-card__time {
    color: #10b981;
    border-color: rgba(187, 247, 208, 0.95);
    background: rgba(236, 253, 245, 0.98);
}

.schedule-card--afternoon .schedule-card__dot {
    background: #6366f1;
}

.schedule-card--afternoon .schedule-card__body {
    background: rgba(238, 242, 255, 0.78);
    border: 1px solid #dbeafe;
}

.schedule-card--afternoon .schedule-card__time {
    color: #6366f1;
    border-color: rgba(199, 210, 254, 0.95);
    background: rgba(238, 242, 255, 0.98);
}

.schedule-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.3rem;
    padding: 0.2rem 0.82rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.modal-footer--sheet {
    padding-top: 0.65rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 247, 237, 0) 0%, rgba(255, 247, 237, 0.94) 18%, #fff7ed 100%);
}

.modal-cta--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
}

@media (hover: none) and (pointer: coarse), (max-width: 428px) {
    .modal-sheet--policy {
        width: 100%;
        max-width: 100%;
        max-height: min(94vh, 100dvh);
        border-top-left-radius: 26px;
        border-top-right-radius: 26px;
    }

    #privacy-modal {
        padding: 0;
    }

    .schedule-card__body {
        padding: 0.9rem 0.42rem 0.48rem;
        border-radius: 0.92rem;
    }

    .schedule-card__label {
        font-size: 0.64rem;
    }

    .schedule-card__time {
        top: -0.46rem;
        left: 0.32rem;
        min-height: 1.06rem;
        padding: 0.12rem 0.36rem;
    }

    .schedule-card__time,
    .schedule-pill,
    .schedule-track__title {
        font-size: 0.56rem;
    }

    .schedule-branch {
        height: 1.75rem;
    }
}


@media (min-height: 860px) {
    .modal-backdrop {
        align-items: center;
    }

    .modal-sheet {
        margin: 0;
    }
}

@keyframes mobileBlobFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.34;
    }
    50% {
        transform: translate3d(82px, -104px, 0) scale(1.28);
        opacity: 0.5;
    }
    100% {
        transform: translate3d(-74px, 84px, 0) scale(0.8);
        opacity: 0.38;
    }
}

@media (hover: none) and (pointer: coarse), (max-width: 428px) {
    .content-area {
        padding-top: 1rem;
        padding-bottom: 1.35rem;
    }

    .content-area > div:first-child {
        gap: 1rem !important;
        margin-bottom: 2.2rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .hero-logo {
        width: 124px;
        height: 124px;
    }

    .header-copy {
        width: 250px;
        transform: translateX(-6px);
    }

    .content-area > section:first-of-type {
        margin-top: 0 !important;
        margin-bottom: 2.7rem !important;
    }

    .include-glass {
        padding: 0.9rem 0.7rem 0.68rem;
        border-radius: 26px;
    }

    .include-glass .grid {
        gap: 0.45rem !important;
    }

    .include-intensive-wrap {
        gap: 0.78rem;
        min-height: 3.15rem;
    }

    .include-intensive-icon-wrap {
        width: 3.15rem;
        height: 3.15rem;
    }

    .include-intensive-icon {
        width: 2.6rem;
        height: 2.6rem;
    }

    .include-intensive-days {
        font-size: 0.74rem;
    }

    .include-intensive-time {
        margin-top: 0.24rem;
        font-size: 1rem;
    }

    .program-switch {
        padding: 0.24rem;
    }

    .program-switch__thumb {
        top: 0.24rem;
        left: 0.24rem;
        width: calc(50% - 0.24rem);
        height: calc(100% - 0.48rem);
    }

    .program-switch__option {
        min-height: 3.04rem;
        padding: 0.72rem 0.72rem 0.66rem;
        font-size: 0.8rem;
    }

    .program-switch__label {
        font-size: 0.96rem;
    }

    .program-switch__meta {
        margin-top: 0.22rem;
        font-size: 0.82rem;
    }

    .intensive-card__body {
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    }

    .intensive-app-icon {
        left: 26%;
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 7.8rem !important;
        height: 7.8rem !important;
    }

    .intensive-app-icon--tilda {
        width: 7rem !important;
        height: 7rem !important;
    }

    .intensive-card__copy {
        width: 45%;
        padding: 0 0.5rem 0.16rem 0;
    }

    .space-y-20 {
        gap: 0 !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (hover: none) and (pointer: coarse) and (max-width: 389px), (max-width: 389px) {
    .content-area {
        padding-top: 0.75rem;
    }

    .content-area > div:first-child {
        gap: 0.7rem !important;
        margin-bottom: 1.6rem !important;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .header-copy {
        width: 220px;
        transform: translateX(-4px);
    }

    .include-glass {
        padding: 0.72rem 0.42rem 0.58rem;
    }

    .include-glass .grid {
        gap: 0.18rem !important;
    }

    .include-intensive-wrap {
        gap: 0.62rem;
        min-height: 2.95rem;
    }

    .include-intensive-icon-wrap {
        width: 2.8rem;
        height: 2.8rem;
    }

    .include-intensive-icon {
        width: 2.3rem;
        height: 2.3rem;
    }

    .include-intensive-days {
        font-size: 0.68rem;
    }

    .include-intensive-time {
        margin-top: 0.18rem;
        font-size: 0.88rem;
    }

    .program-switch__option {
        min-height: 2.9rem;
        padding: 0.68rem 0.55rem 0.6rem;
        font-size: 0.72rem;
    }

    .program-switch__label {
        font-size: 0.86rem;
    }

    .program-switch__meta {
        margin-top: 0.18rem;
        font-size: 0.78rem;
    }

    .intensive-card__body {
        border-radius: 0.9rem;
    }

    .intensive-app-icon {
        left: 26%;
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 6.45rem !important;
        height: 6.45rem !important;
    }

    .intensive-app-icon--tilda {
        width: 5.8rem !important;
        height: 5.8rem !important;
    }

    .intensive-card__copy {
        width: 45%;
        padding: 0 0.4rem 0.12rem 0;
    }

    .floating-cta {
        font-size: 0.84rem;
        padding: 0.88rem 0.95rem;
    }
}
