:root {
    --ypt-marsala-950: #3d080a;
    --ypt-marsala-900: #540c0f;
    --ypt-marsala-800: #721316;
    --ypt-gold-500: #d8b56d;
    --ypt-gold-400: #e7ca87;
    --ypt-gold-300: #f2dda3;
    --ypt-cream-100: #fff8ed;
    --ypt-cream-150: #fbf2e3;
    --ypt-warm-gray-100: #f8f5ef;
    --ypt-warm-gray-200: #eee7dd;
    --ypt-ink: #211815;
    --ypt-muted: #6d6057;
    --ypt-white: #ffffff;
    --ypt-radius-lg: 30px;
    --ypt-radius-md: 22px;
    --ypt-shadow-soft: 0 24px 80px rgba(45, 21, 14, 0.14);
    --ypt-shadow-card: 0 18px 44px rgba(54, 24, 15, 0.1);
    --ypt-container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.ypt-standalone-page,
.ypt-standalone-page {
    margin: 0;
    min-height: 100vh;
    color: var(--ypt-ink);
    background: var(--ypt-warm-gray-100);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

a {
    color: inherit;
}

.ypt-thankyou {
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 8%, rgba(216, 181, 109, 0.18), transparent 28%),
        linear-gradient(180deg, var(--ypt-marsala-950) 0%, var(--ypt-marsala-900) 47%, var(--ypt-warm-gray-100) 47%, var(--ypt-warm-gray-100) 100%);
}

.ypt-container {
    width: min(100% - 40px, var(--ypt-container));
    margin-inline: auto;
}

.ypt-hero {
    position: relative;
    min-height: 560px;
    padding: 42px 0 62px;
    color: var(--ypt-cream-100);
    isolation: isolate;
}

.ypt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 100%),
        radial-gradient(circle at 85% 20%, rgba(216, 181, 109, 0.2), transparent 23%),
        linear-gradient(145deg, var(--ypt-marsala-950), var(--ypt-marsala-900) 58%, #671216);
    background-size: 42px 42px, auto, auto;
}

.ypt-hero::after {
    content: "YP Track";
    position: absolute;
    right: -36px;
    top: 34px;
    z-index: -2;
    color: rgba(255, 248, 237, 0.035);
    font-size: clamp(84px, 14vw, 190px);
    font-weight: 800;
    letter-spacing: -0.08em;
    white-space: nowrap;
    pointer-events: none;
}

.ypt-hero__glow {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(4px);
    pointer-events: none;
}

.ypt-hero__glow--one {
    width: 240px;
    height: 240px;
    left: 8%;
    top: 8%;
    background: radial-gradient(circle, rgba(216, 181, 109, 0.26), transparent 68%);
}

.ypt-hero__glow--two {
    width: 320px;
    height: 320px;
    right: 7%;
    bottom: -18%;
    background: radial-gradient(circle, rgba(242, 221, 163, 0.15), transparent 70%);
}

.ypt-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
    gap: 42px;
    align-items: center;
    min-height: 455px;
}

.ypt-hero__copy {
    max-width: 690px;
}

.ypt-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 999px;
    color: var(--ypt-gold-300);
    background: rgba(255, 248, 237, 0.06);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ypt-kicker__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--ypt-gold-500);
    box-shadow: 0 0 0 7px rgba(216, 181, 109, 0.12);
}

.ypt-hero h1,
.ypt-section-heading h2,
.ypt-summary-card h2,
.ypt-support-box h2 {
    margin: 0;
    line-height: 1;
    letter-spacing: -0.05em;
}

.ypt-hero h1 {
    max-width: 650px;
    margin-top: 28px;
    font-size: clamp(2.35rem, 5vw, 4.65rem);
    font-weight: 800;
}

.ypt-hero__lead {
    max-width: 640px;
    margin: 22px 0 0;
    color: rgba(255, 248, 237, 0.84);
    font-size: clamp(1.02rem, 1.7vw, 1.24rem);
    line-height: 1.58;
}

.ypt-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    max-width: 645px;
    margin-top: 26px;
    padding: 18px 20px;
    border: 1px solid rgba(216, 181, 109, 0.3);
    border-radius: var(--ypt-radius-md);
    background: rgba(255, 248, 237, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.ypt-alert__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: var(--ypt-marsala-950);
    background: var(--ypt-gold-500);
    font-weight: 800;
}

.ypt-alert p {
    margin: 0;
    color: rgba(255, 248, 237, 0.78);
    font-size: 0.98rem;
    line-height: 1.55;
}

.ypt-summary-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(216, 181, 109, 0.34);
    border-radius: var(--ypt-radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 248, 237, 0.15), rgba(255, 248, 237, 0.07)),
        rgba(61, 8, 10, 0.32);
    box-shadow: 0 34px 100px rgba(15, 4, 5, 0.34);
    backdrop-filter: blur(22px);
}

.ypt-summary-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 248, 237, 0.1);
    border-radius: 24px;
    pointer-events: none;
}

.ypt-logo-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: 162px;
    height: 162px;
    margin: 0 auto 24px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 34% 26%, rgba(216, 181, 109, 0.22), transparent 42%),
        linear-gradient(145deg, rgba(255, 248, 237, 0.1), rgba(255, 248, 237, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 52px rgba(13, 2, 3, 0.22);
}

.ypt-logo-frame img {
    display: block;
    width: 132px;
    height: 132px;
    object-fit: contain;
    border-radius: 22px;
}

.ypt-summary-card__content {
    position: relative;
    text-align: center;
}

.ypt-summary-card__content span {
    display: block;
    margin-bottom: 10px;
    color: var(--ypt-gold-300);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ypt-summary-card h2 {
    color: var(--ypt-cream-100);
    font-size: clamp(1.55rem, 2vw, 2.05rem);
}

.ypt-summary-card p {
    margin: 16px 0 0;
    color: rgba(255, 248, 237, 0.72);
    font-size: 0.98rem;
    line-height: 1.58;
}

.ypt-next {
    position: relative;
    padding: 64px 0 72px;
    background: var(--ypt-warm-gray-100);
}

.ypt-next::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 9% 8%, rgba(216, 181, 109, 0.18), transparent 25%),
        radial-gradient(circle at 92% 60%, rgba(84, 12, 15, 0.08), transparent 32%);
    pointer-events: none;
}

.ypt-next > .ypt-container {
    position: relative;
}

.ypt-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.9fr);
    gap: 24px 42px;
    align-items: end;
    margin-bottom: 28px;
}

.ypt-section-heading span {
    color: var(--ypt-marsala-800);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ypt-section-heading h2 {
    color: var(--ypt-ink);
    font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.ypt-section-heading p {
    grid-column: 2;
    max-width: 610px;
    margin: -8px 0 0;
    color: var(--ypt-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.ypt-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ypt-step {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(84, 12, 15, 0.08);
    border-radius: var(--ypt-radius-md);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--ypt-shadow-card);
}

.ypt-step::after {
    content: "";
    position: absolute;
    right: -44px;
    top: -44px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(216, 181, 109, 0.16);
}

.ypt-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    border-radius: 16px;
    color: var(--ypt-marsala-950);
    background: linear-gradient(145deg, var(--ypt-gold-300), var(--ypt-gold-500));
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(216, 181, 109, 0.3);
}

.ypt-step h3 {
    margin: 0;
    color: var(--ypt-ink);
    font-size: 1.15rem;
    letter-spacing: -0.025em;
}

.ypt-step p {
    margin: 12px 0 0;
    color: var(--ypt-muted);
    font-size: 0.97rem;
    line-height: 1.6;
}

.ypt-support-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-top: 24px;
    padding: 28px;
    border-radius: var(--ypt-radius-lg);
    background:
        linear-gradient(135deg, rgba(84, 12, 15, 0.96), rgba(114, 19, 22, 0.96)),
        var(--ypt-marsala-900);
    color: var(--ypt-cream-100);
    box-shadow: var(--ypt-shadow-soft);
}

.ypt-support-box__label {
    display: block;
    margin-bottom: 9px;
    color: var(--ypt-gold-300);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ypt-support-box h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.45rem);
}

.ypt-support-box p {
    max-width: 660px;
    margin: 12px 0 0;
    color: rgba(255, 248, 237, 0.76);
    font-size: 0.98rem;
    line-height: 1.6;
}

.ypt-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(216, 181, 109, 0.42);
    border-radius: 999px;
    color: var(--ypt-marsala-950);
    background: linear-gradient(145deg, var(--ypt-gold-300), var(--ypt-gold-500));
    box-shadow: 0 18px 38px rgba(13, 2, 3, 0.2);
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.ypt-support-link:hover,
.ypt-support-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(13, 2, 3, 0.28);
    outline: none;
}

@media (max-width: 980px) {
    .ypt-hero {
        min-height: auto;
        padding: 34px 0 52px;
    }

    .ypt-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ypt-summary-card {
        max-width: 560px;
    }

    .ypt-section-heading {
        grid-template-columns: 1fr;
    }

    .ypt-section-heading p {
        grid-column: auto;
        margin-top: 0;
    }

    .ypt-steps {
        grid-template-columns: 1fr;
    }

    .ypt-step {
        min-height: auto;
    }

    .ypt-support-box {
        grid-template-columns: 1fr;
    }

    .ypt-support-link {
        width: fit-content;
    }
}

@media (max-width: 640px) {
    .ypt-container {
        width: min(100% - 28px, var(--ypt-container));
    }

    .ypt-thankyou {
        background:
            radial-gradient(circle at 10% 6%, rgba(216, 181, 109, 0.18), transparent 30%),
            linear-gradient(180deg, var(--ypt-marsala-950) 0%, var(--ypt-marsala-900) 56%, var(--ypt-warm-gray-100) 56%, var(--ypt-warm-gray-100) 100%);
    }

    .ypt-hero {
        padding: 28px 0 42px;
    }

    .ypt-hero::after {
        right: -28px;
        top: 18px;
        font-size: 82px;
        opacity: 0.75;
    }

    .ypt-hero__grid {
        gap: 28px;
    }

    .ypt-kicker {
        font-size: 0.68rem;
        padding: 8px 12px;
    }

    .ypt-hero h1 {
        margin-top: 22px;
        font-size: clamp(2.2rem, 12vw, 3.15rem);
        letter-spacing: -0.045em;
    }

    .ypt-hero__lead {
        font-size: 1rem;
    }

    .ypt-alert {
        padding: 16px;
        border-radius: 18px;
    }

    .ypt-summary-card {
        padding: 20px;
        border-radius: 24px;
    }

    .ypt-logo-frame {
        width: 130px;
        height: 130px;
        margin-bottom: 20px;
        border-radius: 26px;
    }

    .ypt-logo-frame img {
        width: 106px;
        height: 106px;
        border-radius: 18px;
    }

    .ypt-summary-card h2 {
        font-size: 1.55rem;
    }

    .ypt-next {
        padding: 46px 0 54px;
    }

    .ypt-section-heading {
        margin-bottom: 22px;
    }

    .ypt-section-heading h2 {
        font-size: 2rem;
    }

    .ypt-step {
        padding: 20px;
    }

    .ypt-step__number {
        margin-bottom: 18px;
    }

    .ypt-support-box {
        padding: 22px;
        border-radius: 24px;
    }

    .ypt-support-link {
        width: 100%;
        min-height: 50px;
        padding-inline: 14px;
        font-size: 0.92rem;
        white-space: normal;
        text-align: center;
    }
}
