:root {
    --demo-green: var(--color-primary);
    --demo-green-dark: var(--color-primary-hover);
    --demo-green-soft: #e5f1eb;

    --demo-navy: #121e2a;
    --demo-navy-card: #1a2938;

    --demo-cream: #f4efe7;
    --demo-cream-light: #faf8f3;
    --demo-white: #ffffff;

    --demo-text: #17221f;
    --demo-muted: #68736f;

    --demo-accent: #dca75b;

    --demo-radius-sm: 16px;
    --demo-radius-lg: 34px;

}


/* -------------------------------- */
/* BASE                             */
/* -------------------------------- */

.demo-page {
    --page-accent: var(--demo-green);
    --page-muted: var(--demo-muted);
    --cs-h1-size: clamp(2.2rem, 4vw, 4rem);
    --cs-h1-line-height: 1.04;
    --cs-h1-letter-spacing: -0.055em;

    width: min(100%, 1320px);
    margin-inline: auto;
    overflow: hidden;
    color: var(--demo-text);
    background: var(--demo-white);
    font-family: var(--font-body);
}

.demo-page *,
.demo-page *::before,
.demo-page *::after {
    box-sizing: border-box;
}

.demo-container {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}

.demo-section {
    padding: 110px 0;
}

.demo-section--cream {
    background: var(--demo-cream);
}


/* -------------------------------- */
/* BUTTONS                          */
/* -------------------------------- */

.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;
    padding: 0 26px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-family: var(--font-body);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    line-height: 1;
    text-decoration: none;

    transition:
        transform 180ms ease,
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
}

.demo-btn:focus-visible {
    outline: 3px solid rgba(40, 92, 69, 0.25);
    outline-offset: 4px;
}

.demo-btn span {
    transition: transform 180ms ease;
}

.demo-btn:hover span {
    transform: translateX(3px);
}

.demo-btn--primary {
    color: var(--demo-white);
    background: var(--demo-green);
    box-shadow: 0 12px 28px rgba(40, 92, 69, 0.2);
}

.demo-btn--primary:hover {
    background: var(--demo-green-dark);
}

.demo-btn--secondary {
    color: var(--demo-green);
    background: transparent;
    border-color: rgba(40, 92, 69, 0.28);
}

.demo-btn--secondary:hover {
    background: var(--demo-green-soft);
    border-color: var(--demo-green);
}

.demo-btn--outline-light {
    color: var(--demo-white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.demo-btn--outline-light:hover {
    color: var(--demo-navy);
    background: var(--demo-white);
    border-color: var(--demo-white);
}

.demo-btn--light {
    color: var(--demo-green-dark);
    background: var(--demo-white);
}

.demo-btn--light:hover {
    background: #f0f5f2;
}

.demo-btn--full {
    width: 100%;
}

.demo-btn[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
    transform: none;
}


/* -------------------------------- */
/* HERO                             */
/* -------------------------------- */

.demo-hero {
    position: relative;
    padding: 96px 0 88px;
    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(204, 224, 214, 0.8),
            transparent 44%
        ),
        var(--demo-cream-light);
}

.demo-hero::before,
.demo-hero::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    pointer-events: none;
}

.demo-hero::before {
    top: 100px;
    left: -160px;

    width: 320px;
    height: 320px;

    border: 1px solid rgba(40, 92, 69, 0.08);
}

.demo-hero::after {
    right: -200px;
    bottom: -200px;

    width: 460px;
    height: 460px;

    border: 1px solid rgba(40, 92, 69, 0.09);
}

.demo-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 940px;
    text-align: center;
}

.demo-hero h1 {
    max-width: 900px;
    margin: 0 auto;
}

.demo-hero h1 span {
    color: var(--demo-green);
}

.demo-hero__lead {
    max-width: 760px;
    margin: 32px auto 0;
}

.demo-hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 38px;
}

.demo-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    max-width: 680px;
    margin-top: 34px;
    padding: 13px 18px;

    color: #46615a;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(40, 92, 69, 0.12);
    border-radius: 999px;

    font-size: 14px;
    line-height: 1.5;
}

.demo-hero__note svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;

    fill: none;
    stroke: var(--demo-green);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.demo-section__heading--dark h2 {
    color: var(--demo-white);
}

.demo-section__heading--dark > p:not(.eyebrow) {
    color: #aab7c4;
}

/* -------------------------------- */
/* DEMO ACCESS                      */
/* -------------------------------- */

.demo-access-section {
    padding: 110px 0 90px;
    color: var(--demo-white);
    background: var(--demo-navy);
}

.demo-access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    max-width: 1040px;
    margin-inline: auto;
}

.demo-access-card {
    position: relative;
    display: flex;
    flex-direction: column;

    min-height: 570px;
    padding: 36px;

    background: var(--demo-navy-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
}

.demo-access-card--featured {
    border-color: rgba(220, 167, 91, 0.55);
    box-shadow: inset 0 0 0 1px rgba(220, 167, 91, 0.08);
}

.demo-access-card__badge {
    position: absolute;
    top: 24px;
    right: 24px;

    padding: 8px 12px;

    color: #f1c888;
    background: rgba(220, 167, 91, 0.12);
    border: 1px solid rgba(220, 167, 91, 0.28);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.demo-access-card__top {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding-right: 100px;
}

.demo-access-card__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;

    width: 54px;
    height: 54px;

    color: var(--demo-accent);
    background: rgba(220, 167, 91, 0.1);
    border-radius: 15px;
}

.demo-access-card__icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-access-card__label {
    display: block;
    margin-bottom: 7px;

    color: #9eafbd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.demo-access-card h3 {
    --cs-card-heading-size: 27px;

    margin: 0;
    color: var(--demo-white);
}

.demo-access-card__description {
    margin: 30px 0 0;

    color: #afbbc6;
    font-size: 16px;
    line-height: 1.7;
}

.demo-login-data {
    margin: 30px 0;
    padding: 8px 20px;

    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--demo-radius-sm);
}

.demo-login-data__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 62px;
}

.demo-login-data__row + .demo-login-data__row {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.demo-login-data__row span {
    color: #aab7c4;
    font-size: 14px;
}

.demo-login-data__row code {
    color: var(--demo-white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
}

.demo-shop-options {
    display: grid;
    gap: 15px;

    margin: 34px 0;
}

.demo-shop-option {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #d2dae1;
    font-size: 16px;
}

.demo-shop-option__check {
    display: grid;
    place-items: center;

    width: 24px;
    height: 24px;

    color: var(--demo-accent);
    background: rgba(220, 167, 91, 0.1);
    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}

.demo-access-card .demo-btn {
    margin-top: auto;
}

.demo-reset-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    max-width: 840px;
    margin: 34px auto 0;
    padding: 20px 24px;

    color: #c3ced7;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.demo-reset-note svg {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    margin-top: 2px;

    fill: none;
    stroke: var(--demo-accent);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-reset-note strong,
.demo-reset-note span {
    display: block;
}

.demo-reset-note strong {
    margin-bottom: 5px;
    color: var(--demo-white);
    font-size: 15px;
}

.demo-reset-note span {
    color: #9fadb9;
    font-size: 14px;
    line-height: 1.6;
}


/* -------------------------------- */
/* QUICK GUIDE                      */
/* -------------------------------- */

.demo-guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 100px;
    align-items: start;
}

.demo-guide-intro {
    position: sticky;
    top: 120px;
}

.demo-guide-intro h2 {
    margin: 0;
}

.demo-guide-intro > p:not(.eyebrow) {
    margin: 26px 0 0;
}

.demo-steps {
    display: grid;
    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

.demo-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;

    padding: 30px 0;
    border-bottom: 1px solid rgba(40, 92, 69, 0.14);
}

.demo-step:first-child {
    padding-top: 0;
}

.demo-step__number {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;

    color: var(--demo-green);
    background: var(--demo-white);
    border: 1px solid rgba(40, 92, 69, 0.18);
    border-radius: 50%;

    font-size: 16px;
    font-weight: 700;
}

.demo-step__content h3 {
    --cs-card-heading-size: 22px;

    margin: 2px 0 10px;
}

.demo-step__content p {
    margin: 0;

    color: var(--demo-muted);
    font-size: 16px;
    line-height: 1.7;
}


/* -------------------------------- */
/* FREEDOM CALLOUT                  */
/* -------------------------------- */

.demo-freedom-section {
    padding: 90px 0;
    background: var(--demo-white);
}

.demo-freedom-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 46px;
    align-items: center;

    max-width: 1040px;
    margin-inline: auto;
    padding: 54px 60px;

    background: var(--demo-green-soft);
    border-radius: var(--demo-radius-lg);
}

.demo-freedom-card__icon {
    display: grid;
    place-items: center;

    width: 112px;
    height: 112px;

    color: var(--demo-green);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 28px;
}

.demo-freedom-card__icon svg {
    width: 50px;
    height: 50px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-freedom-card__content > span {
    display: block;
    margin-bottom: 14px;

    color: var(--demo-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.demo-freedom-card h2 {
    --cs-section-title-size: clamp(30px, 3vw, 44px);

    max-width: 760px;
    margin: 0;
}

.demo-freedom-card p {
    max-width: 760px;
    margin: 20px 0 0;
    color: #52645f;
}


/* -------------------------------- */
/* FINAL CTA                        */
/* -------------------------------- */

.demo-final-cta {
    padding: 90px 0;
    color: var(--demo-white);
    background: var(--demo-green);
}

.demo-final-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 80px;
    align-items: center;
}

.demo-final-cta__label {
    display: block;
    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.demo-final-cta h2 {
    max-width: 760px;
    margin: 0;
}

.demo-final-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.demo-final-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-body);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    text-decoration: none;
}

.demo-final-cta__link:hover {
    color: var(--demo-white);
}

.demo-final-cta__link span {
    transition: transform 180ms ease;
}

.demo-final-cta__link:hover span {
    transform: translateX(3px);
}


/* -------------------------------- */
/* RESPONSIVE                       */
/* -------------------------------- */

@media (max-width: 1000px) {
    .demo-guide-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .demo-guide-intro {
        position: static;
    }

    .demo-final-cta__inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 820px) {
    .demo-container {
        width: min(100% - 40px, 1180px);
    }

    .demo-section,
    .demo-access-section {
        padding: 85px 0;
    }

    .demo-hero {
        padding: 80px 0 72px;
    }

    .demo-access-grid {
        grid-template-columns: 1fr;
    }

    .demo-access-card {
        min-height: auto;
    }

    .demo-access-card .demo-btn {
        margin-top: 32px;
    }

    .demo-freedom-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px;
    }

    .demo-freedom-card__icon {
        width: 88px;
        height: 88px;
    }
}

@media (max-width: 600px) {
    .demo-container {
        width: calc(100% - 32px);
    }

    .demo-section,
    .demo-access-section {
        padding: 70px 0;
    }

    .demo-hero {
        padding: 64px 0 56px;
    }

    .demo-hero__lead {
        font-size: 17px;
    }

    .demo-hero__actions {
        flex-direction: column;
    }

    .demo-btn {
        width: 100%;
    }

    .demo-hero__note {
        align-items: flex-start;
        border-radius: 18px;
        text-align: left;
    }

    .section-heading h2,
    .demo-guide-intro h2 {
        font-size: 40px;
    }

    .demo-access-card {
        padding: 28px;
    }

    .demo-access-card__badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 24px;
    }

    .demo-access-card__top {
        padding-right: 0;
    }

    .demo-login-data__row {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        padding: 14px 0;
    }

    .demo-reset-note {
        padding: 18px;
    }

    .demo-step {
        grid-template-columns: 46px 1fr;
        gap: 16px;
    }

    .demo-step__number {
        width: 42px;
        height: 42px;
    }

    .demo-freedom-section {
        padding: 60px 0;
    }

    .demo-freedom-card {
        padding: 30px 26px;
        border-radius: 24px;
    }

    .demo-freedom-card h2 {
        font-size: 31px;
    }

    .demo-final-cta {
        padding: 70px 0;
    }

    .demo-final-cta h2 {
        font-size: 40px;
    }

    .demo-final-cta__actions {
        width: 100%;
    }
}
