.demo-page {
    --demo-border: #dedbd3
}

.demo-page h1,
.demo-page h2,
.demo-page h3 {
    font-weight: 600
}

.demo-hero {
    padding: 4rem 0;
    background: linear-gradient(120deg, #f1ece3, #f7f5f0 55%, #e6ede6);
    border-bottom: 1px solid var(--demo-border)
}

.demo-intro {
    padding-right: 3rem
}

.demo-intro h1 {
    font-size: clamp(2.1rem, 3.6vw, 4rem)
}

.demo-intro .lead {
    max-width: 740px
}

.demo-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    margin: 2rem 0
}

.demo-benefit {
    display: flex;
    gap: .8rem
}

.demo-benefit>span {
    display: flex;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    color: var(--gold)
}

.demo-benefit h2 {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: .35rem
}

.demo-benefit p {
    font-size: .875rem;
    line-height: 1.65;
    margin: 0
}

.demo-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .8rem;
    color: var(--teal)
}

.demo-pills i {
    margin-right: .3rem
}

.demo-form-card {
    background: #fff;
    border: 1px solid var(--demo-border);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 20px 60px #27352b0d
}

.demo-form-card h2 {
    font-size: 1.25rem;
    margin: 0rem 0 .3rem
}

.demo-form-card>p {
    font-size: .875rem; line-height: 1.4; margin-bottom: 8px;
}

.demo-progress {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    border-bottom: 1px solid var(--demo-border);
    padding: 0 0 1rem;
    margin: 0 0 .85rem
}

.demo-progress li {
    font-size: .7rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: .4rem
}

.demo-progress li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eeeae1;
    flex-shrink: 0
}

.demo-progress .current {
    color: var(--teal);
    font-weight: 600
}

.demo-progress .current span {
    background: var(--teal);
    color: #fff
}

.f-label {
    font-size: .8rem;
    font-weight: 600;
    display: block;
    margin-bottom: .45rem
}

.req {
    color: var(--gold)
}

.f-input {
    border: 1px solid #d6d5cf;
    border-radius: 9px;
    padding: .75rem .8rem;
    width: 100%;
    background: #fff;
    color: var(--cream);
    font: inherit;
    font-size: .9rem;
    min-height: 46px
}

.f-input:focus {
    outline: 3px solid #b4523120;
    border-color: var(--gold)
}

.f-input.is-invalid {
    border-color: #b42318
}

.phone-wrap {
    display: flex;
    gap: .55rem
}

.phone-code {
    width: 33%;
    min-width: 100px
}

.phone-num {
    width: 66%
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: var(--gold);
    color: white;
    font: 600 .95rem Inter, sans-serif;
    padding: 1rem;
    min-height: 52px
}

.btn-submit:hover {
    background: #934126
}

.btn-submit:disabled {
    opacity: .6;
    cursor: wait
}

.demo-form-note {
    font-size: .8rem;
    text-align: center;
    margin: 1.2rem 0 0;
    color: var(--muted)
}

.demo-form-note a {
    color: var(--teal);
    font-weight: 600
}

.flow-error {
    background: #fff1ee;
    border: 1px solid #efc6bc;
    color: #9a2919;
    padding: .8rem;
    border-radius: 8px;
    font-size: .85rem;
    margin: 1rem 0
}

.demo-next {
    background: #fff
}

.demo-experience {
    height: 100%;
    border-top: 1px solid var(--demo-border);
    padding: 1.5rem .5rem
}

.demo-experience>span {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold)
}

.demo-experience h3 {
    font-size: 1.1rem;
    margin: 1rem 0 .6rem
}

.demo-experience p {
    font-size: .9rem;
    margin: 0
}

.demo-otp {
    border: 1px solid var(--demo-border);
    border-radius: 24px;
    padding: 2.5rem;
    width: min(460px, calc(100% - 28px));
    max-height: 90dvh;
    overflow: auto;
    text-align: center;
    background: #fff;
    color: var(--cream)
}

.demo-otp::backdrop {
    background: #111b17a6;
    backdrop-filter: blur(5px)
}

.otp-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    border: 0;
    background: #f2f0eb;
    border-radius: 50%;
    width: 34px;
    height: 34px
}

.demo-otp h2 {
    font-size: 1.6rem;
    margin: 1rem 0
}

.demo-otp p {
    font-size: .9rem
}

.demo-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    background: #e4eee7;
    color: var(--teal);
    font-size: 2rem;
    margin: 0 auto 1.5rem
}

.demo-otp-boxes {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin: 1.3rem 0
}

.otp-box {
    width: 54px;
    height: 60px;
    border: 1px solid #c5cec7;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: var(--cream);
    background: #fafbf8
}

.otp-box:focus {
    outline: 3px solid #b4523130;
    border-color: var(--gold)
}

.demo-text-button {
    border: 0;
    background: none;
    color: var(--teal);
    font-size: .85rem;
    font-weight: 600;
    padding: .4rem
}

.demo-text-button:disabled {
    color: var(--muted);
    cursor: default
}

.demo-thanks {
    padding: 4rem 0;
    background: linear-gradient(130deg, #f1ece3, #f7f5f0 60%, #e7eee7)
}

.thanks-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--demo-border);
    border-radius: 26px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px #27352b0a
}

.thanks-card h1 {
    font-size: clamp(2rem, 3.2vw, 3.3rem)
}

.thanks-card .lead {
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.8
}

.thanks-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
    gap: 1.5rem;
    background: #f6f5ef;
    border: 1px solid var(--demo-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0
}

.thanks-steps>div>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #e3e9de;
    border-radius: 50%;
    color: var(--teal);
    margin-bottom: .8rem
}

.thanks-steps h2 {
    font-size: 1rem
}

.thanks-steps p {
    font-size: .85rem;
    margin: 0
}

.thanks-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--demo-border);
    font-size: .875rem
}

.thanks-contact a {
    color: var(--teal)
}

.thanks-contact i {
    margin-right: .4rem
}

#emailDisplay {
    overflow-wrap: anywhere
}

.thanks-explore {
    max-width: 1300px;
    margin: auto
}

.demo-page [hidden] {
    display: none !important
}

@media(max-width:1199.98px) {
    .demo-benefits {
        grid-template-columns: 1fr
    }

    .demo-intro {
        padding-right: 1rem
    }

    .demo-form-card {
        padding: 1.5rem
    }
}

@media(max-width:767.98px) {

    .demo-hero,
    .demo-thanks {
        padding: 2.5rem 0
    }

    .thanks-card {
        padding: 2rem 1.2rem
    }

    .thanks-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .demo-otp {
        padding: 2rem 1.2rem
    }

    .demo-progress li {
        flex-direction: column
    }

    .thanks-contact {
        flex-direction: column
    }

    .demo-benefits {
        gap: 1.2rem
    }

    .demo-form-card {
        padding: 1.3rem
    }

    .demo-pills {
        gap: .8rem
    }
}

.accent {
    color: var(--gold);
}