body.demo-page,
body.demo-page main {
    min-height: 100%;
    color: #17201d;
    background: #f7f2e8;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.demo-page .navbar {
    background: rgba(247, 242, 232, 0.94) !important;
    border-bottom: 1px solid rgba(23, 32, 29, 0.1) !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

body.demo-page .nav-btn-secondary,
body.demo-page .mobile-nav-toggle {
    background: #fffdf8;
    border-color: rgba(23, 32, 29, 0.14);
}

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

body.demo-page .demo-v2.landing-hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    margin: 0;
    padding: calc(var(--landing-nav-space) + 48px) 0 72px;
    overflow: visible;
    background: #f7f2e8;
    filter: none;
}

body.demo-page .demo-v2.landing-hero::after {
    display: none;
}

.demo-v2 .landing-shell {
    width: min(1180px, calc(100% - 48px));
}

.demo-v2 .demo-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: 20px;
    align-items: stretch;
}

.demo-v2 .demo-copy,
.demo-v2 .demo-card {
    min-width: 0;
    border: 1px solid rgba(23, 32, 29, 0.12);
    border-radius: 30px;
}

.demo-v2 .demo-copy {
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(44px, 5vw, 68px);
    background: #edbd64;
}

.demo-v2 .hero-eyebrow {
    align-self: flex-start;
    margin: 0 0 22px;
    padding: 8px 12px;
    color: #173f38;
    background: rgba(255, 253, 248, 0.5);
    border: 1px solid rgba(23, 63, 56, 0.12);
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.demo-v2 .demo-copy h1 {
    max-width: 610px;
    margin: 0;
    color: #17201d;
    font-family: inherit;
    font-size: clamp(46px, 4.6vw, 66px);
    font-weight: 820;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-wrap: balance;
}

.demo-v2 .demo-copy > p {
    max-width: 570px;
    margin: 26px 0 0;
    color: #34433d;
    font-size: 18px;
    line-height: 1.62;
}

.demo-v2 .hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 38px;
    padding: 22px 24px;
    color: #173f38;
    background: #dcefe6;
    border: 1px solid rgba(23, 63, 56, 0.12);
    border-radius: 22px;
}

.demo-v2 .hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
}

.demo-v2 .hero-proof span::before {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    content: "";
    background: #2f7468;
    border-radius: 50%;
}

.demo-v2 .demo-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 4vw, 52px);
    background: #fffdf8;
    box-shadow: 0 18px 48px rgba(32, 43, 38, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.demo-v2 .demo-card h2 {
    margin: 0;
    color: #17201d;
    font-family: inherit;
    font-size: clamp(28px, 2.7vw, 38px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.demo-v2 .demo-subtitle {
    max-width: 520px;
    margin: 12px 0 28px;
    color: #5f6964;
    font-size: 15px;
    line-height: 1.58;
}

.demo-v2 .demo-form {
    gap: 10px;
}

.demo-v2 .demo-form label {
    margin-top: 4px;
    color: #25312c;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.demo-v2 .demo-form input,
.demo-v2 .demo-form textarea {
    width: 100%;
    min-width: 0;
    padding: 14px 15px;
    color: #17201d;
    background: #f8f5ed;
    border: 1px solid rgba(23, 32, 29, 0.18);
    border-radius: 13px;
    box-shadow: none;
    font: 500 16px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.demo-v2 .demo-form input {
    min-height: 52px;
}

.demo-v2 .demo-form textarea {
    min-height: 128px;
    resize: vertical;
}

.demo-v2 .demo-form input::placeholder,
.demo-v2 .demo-form textarea::placeholder {
    color: #7b837f;
    opacity: 1;
}

.demo-v2 .demo-form input:focus,
.demo-v2 .demo-form textarea:focus {
    outline: none;
    border-color: #2f7468;
    box-shadow: 0 0 0 4px rgba(47, 116, 104, 0.14);
}

.demo-v2 .demo-submit {
    width: 100%;
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    padding: 7px 8px 7px 24px;
    color: #fffdf8;
    background: #2f7468;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(23, 63, 56, 0.14);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    transition: background-color 160ms ease, transform 160ms ease;
}

.demo-v2 .demo-submit:hover {
    background: #285f56;
    transform: translateY(-1px);
}

.demo-v2 .demo-submit:focus-visible {
    outline: 3px solid rgba(47, 116, 104, 0.38);
    outline-offset: 4px;
}

.demo-v2 .demo-submit-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-grid;
    place-items: center;
    color: #173f38;
    background: #f2c96d;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    transition: transform 160ms ease;
}

.demo-v2 .demo-submit:hover .demo-submit-icon {
    transform: translate(1px, -1px);
}

.demo-v2 .demo-error {
    margin: 0 0 18px;
    padding: 13px 15px;
    color: #842d28;
    background: #fff0ed;
    border: 1px solid rgba(132, 45, 40, 0.2);
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.45;
}

.demo-v2 .demo-success {
    padding-block: 24px;
}

.demo-v2 .demo-success p {
    margin: 14px 0 26px;
    color: #5f6964;
    font-size: 16px;
}

.demo-v2 .demo-success .landing-btn {
    min-height: 54px;
    padding: 15px 22px;
    color: #fffdf8;
    background: #2f7468;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
}

@media (max-width: 900px) {
    body.demo-page .demo-v2.landing-hero {
        padding: calc(var(--landing-nav-space) + 32px) 0 56px;
    }

    .demo-v2 .demo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .demo-v2 .demo-copy {
        min-height: auto;
        padding: 48px;
    }

    .demo-v2 .demo-card {
        padding: 44px 48px 48px;
    }
}

@media (max-width: 640px) {
    body.demo-page .demo-v2.landing-hero {
        padding: calc(var(--landing-nav-space) + 22px) 0 40px;
    }

    .demo-v2 .landing-shell {
        width: min(100% - 28px, 1180px);
    }

    .demo-v2 .demo-grid {
        gap: 14px;
    }

    .demo-v2 .demo-copy,
    .demo-v2 .demo-card {
        border-radius: 24px;
    }

    .demo-v2 .demo-copy {
        padding: 34px 24px;
    }

    .demo-v2 .demo-copy h1 {
        font-size: clamp(36px, 11vw, 46px);
        line-height: 1.02;
    }

    .demo-v2 .demo-copy > p {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.58;
    }

    .demo-v2 .hero-proof {
        gap: 10px 14px;
        margin-top: 28px;
        padding: 18px;
        border-radius: 18px;
    }

    .demo-v2 .hero-proof span {
        font-size: 13px;
    }

    .demo-v2 .demo-card {
        padding: 32px 22px 26px;
    }

    .demo-v2 .demo-subtitle {
        margin-bottom: 22px;
    }

    .demo-v2 .demo-submit {
        min-width: 0;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .demo-v2 .demo-submit,
    .demo-v2 .demo-submit-icon {
        transition: none;
    }
}
