html, body {
    margin: 0;
    padding: 0;
    background: #040408;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.heart-stage {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.heart-stage.visible {
    opacity: 1;
}

.heart-stage canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.pt-content {
    position: relative;
    z-index: 2;
    padding: 9em clamp(2em, 8vw, 10em) 0;
    min-height: 220vh;
}

.custom-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4em;
    flex-wrap: wrap;
}

.custom-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: clamp(3.5em, 9vw, 7em);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    display: inline-block;
}

.custom-heading .letter-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.1;
}

.custom-heading .letter {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition:
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        opacity   0.6s ease-out;
    transition-delay: calc(var(--i) * 60ms);
}

.custom-heading.is-in .letter {
    transform: translateY(0);
    opacity: 1;
}

.custom-side {
    flex: 0 1 28em;
    text-align: right;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(0.95em, 1.05vw, 1.05em);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.01em;
    margin: 0 0 0.6em;
}

.custom-side .reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity   0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 0.045s);
}

.custom-side.is-in .reveal-word {
    opacity: 1;
    transform: translateY(0);
}

/* Wide statement line above the types section */
.custom-why {
    margin: 50vh 0 0 auto;
    width: 100%;
    max-width: 60em;
    box-sizing: border-box;
    text-align: right;
}

.custom-why-text {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: clamp(1.6em, 3.2vw, 2.6em);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
    text-align: right;
    transition: color 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-why-text.is-faded {
    color: rgba(255, 255, 255, 0.55);
}

/* Custom dev types: stacked rows with hover description */
.custom-types {
    margin: 26vh 0 12vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.custom-type {
    display: grid;
    grid-template-columns: clamp(3.5em, 7vw, 6em) 1fr auto;
    gap: clamp(2em, 4vw, 4em);
    padding: 2.6em 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    align-items: center;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity   0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-type:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.custom-type.is-in {
    opacity: 1;
    transform: translateY(0);
}

.custom-type-num {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: clamp(1em, 1.1vw, 1.15em);
    letter-spacing: 0.08em;
    color: #b89cff;
    line-height: 1.2;
}

.custom-type-desc {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(0.9em, 1.05vw, 1.05em);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: left;
    max-width: 32em;
    justify-self: start;
    margin-left: clamp(3em, 8vw, 8em);
    pointer-events: none;
}

.custom-type-desc .reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity   0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 0.035s);
}

.custom-type:hover .custom-type-desc .reveal-word {
    opacity: 1;
    transform: translateY(0);
}

.custom-type-end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35em;
}

.custom-type-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(0.7em, 0.85vw, 0.85em);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b89cff;
}

.custom-type-title {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: clamp(2.4em, 4.2vw, 3.6em);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    color: #fff;
    text-align: right;
}

/* CTA */
.cta-section {
    position: relative;
    z-index: 2;
    margin-top: clamp(1em, 3vh, 3em);
    padding: clamp(0.5em, 2vh, 1.5em) clamp(2em, 5vw, 5em) clamp(14em, 30vh, 22em);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
}
.cta-section.visible { pointer-events: auto; }

.cta-inner {
    max-width: 50em;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.4em;
    text-align: right;
    padding: 2.8em 3em 2.6em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2em;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    z-index: 2;
}
.cta-section.visible .cta-inner { opacity: 1; }

.cta-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4em, 4.4vw, 4em);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
    white-space: nowrap;
}
.cta-heading .letter-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.1;
}
.cta-heading .letter {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        opacity   0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i) * 55ms);
}
.cta-section.visible .cta-heading .letter {
    transform: translateY(0);
    opacity: 1;
}

.cta-description {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.18em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    max-width: 28em;
    visibility: hidden;
}
.cta-description[data-split] { visibility: visible; }
.cta-description .cta-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i, 0) * 0.045s + 0.35s);
}
.cta-section.visible .cta-description .cta-word {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.9em 1.6em;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1em;
    color: #fff;
    background: #8a67ff;
    border: 1px solid #8a67ff;
    border-radius: 999px;
    text-decoration: none;
    opacity: 0;
    transform: translateX(160px) scale(1);
    transform-origin: right center;
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s,
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s,
        background-color 0.25s ease,
        border-color 0.25s ease;
}
.cta-section.visible .cta-button {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.cta-button:hover {
    transform: translateX(0) scale(1.2);
    background: #0a0a0f;
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}
.cta-button svg { transition: transform 0.25s ease; }
.cta-button:hover svg { transform: translate(2px, -2px); }

.cta-heading-br { display: none; }

/* Desktop: CTA section hidden. Mobile keeps it (see media query below). */
@media (min-width: 769px) {
    .cta-section { display: none !important; }
}

@media (max-width: 768px) {
    .pt-content {
        padding: 7em 1.5em 0;
    }
    .custom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5em;
    }
    .custom-heading {
        font-size: clamp(2.6em, 13vw, 4.6em);
        line-height: 1;
    }
    .custom-side {
        text-align: right;
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 2.5em;
    }
    .custom-why {
        margin: 28vh 0 18vh auto;
    }

    /* Type rows: large title left-aligned, price and description hidden
       behind a tap, revealing with word-by-word stagger. */
    .custom-types {
        margin: 0 0 18vh;
    }
    .custom-type {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 3vh 0.1em;
        opacity: 1;
        transform: none;
        cursor: pointer;
    }
    .custom-type-num {
        font-size: 0.78rem;
        letter-spacing: 0.1em;
        opacity: 0.65;
        margin-bottom: 0.4em;
    }
    .custom-type-end {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .custom-type-title {
        order: 0;
        text-align: left;
        font-size: clamp(2.2em, 9vw, 3em);
        line-height: 1.05;
    }
    .custom-type-price {
        order: 1;
        font-size: 0.75rem;
        letter-spacing: 0.06em;
        max-height: 0;
        overflow: hidden;
        margin: 0;
        transition:
            max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            margin-top 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .custom-type.is-spotlight .custom-type-price {
        max-height: 5em;
        margin-top: 0.55em;
    }
    .custom-type-price .reveal-word {
        display: inline-block;
        opacity: 0;
        transform: translateY(22px);
        transition:
            opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: calc(var(--i) * 0.05s);
    }
    .custom-type.is-spotlight .custom-type-price .reveal-word {
        opacity: 1;
        transform: translateY(0);
    }
    .custom-type-desc {
        order: 1;
        max-width: 100%;
        margin: 0;
        margin-left: 0;
        font-size: 0.95rem;
        max-height: 0;
        overflow: hidden;
        transition:
            max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            margin-top 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: auto;
    }
    .custom-type.is-spotlight .custom-type-desc {
        max-height: 30em;
        margin-top: 0.7em;
    }
    .custom-type.is-spotlight .custom-type-desc .reveal-word {
        opacity: 1;
        transform: translateY(0);
    }

    /* CTA: center-stacked, full-width card, heading line break active. */
    .cta-section {
        margin-top: 0 !important;
        padding: 2em 1.4em 11em !important;
        pointer-events: auto !important;
        justify-content: center !important;
        align-items: stretch !important;
    }
    .cta-inner {
        width: 100% !important;
        max-width: none !important;
        align-items: stretch !important;
        text-align: center !important;
        padding: 2em 1.6em 2em !important;
        gap: 1.2em !important;
    }
    .cta-heading {
        font-size: clamp(2em, 7vw, 2.6em) !important;
        white-space: normal !important;
        text-align: center !important;
    }
    .cta-heading-br {
        display: inline !important;
    }
    .cta-description {
        max-width: 100% !important;
        text-align: center !important;
    }
    .cta-button {
        align-self: center !important;
    }
}
