* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #e8e8ed;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-shell {
    min-height: 100vh;
}

.form-band {
    scroll-margin-top: 72px;
}

.hero-video {
    margin-left: auto;
    margin-right: auto;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.lead-form {
    display: grid;
    gap: 14px;
}

.lead-field {
    display: grid;
    gap: 6px;
}

.lead-field span {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
}

.lead-form label,
.lead-form label span {
    font-weight: 500 !important;
}

.lead-field input,
.lead-field select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    font-size: 15.5px;
    outline: none;
}

.lead-field input:focus,
.lead-field select:focus {
    border-color: var(--luxury-gold);
    box-shadow: 0 0 0 3px rgba(184, 150, 95, .18);
}

.lead-form button {
    justify-self: center;
    min-height: 54px;
    width: min(100%, 300px);
    margin-top: 6px;
    padding: 0 20px;
    border: 1px solid var(--luxury-border);
    border-radius: 999px;
    background: var(--luxury-gradient);
    color: var(--luxury-champagne);
    box-shadow: var(--luxury-shadow), inset 0 1px 0 rgba(255, 255, 255, .16);
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 850;
}

.lead-form button:disabled {
    cursor: wait;
    opacity: .72;
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

.form-status.is-error {
    color: #9f2a2a;
}

.form-status.is-success {
    color: #146c43;
}

.form-key-points {
    display: block;
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--blue);
    font-weight: 500;
}

.form-copy .form-highlight {
    color: var(--blue);
    font-weight: 900;
    white-space: nowrap;
}

.form-copy .form-urgency {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 12px;
    border-left: 3px solid var(--blue);
    border-radius: 6px;
    background: rgba(0, 113, 227, .08);
    color: var(--blue);
    font-weight: 800;
}

body.modal-open {
    overflow: hidden;
}

.thank-you-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}

.thank-you-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.thank-you-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 19, 15, .58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.thank-you-dialog {
    position: relative;
    width: min(100%, 460px);
    padding: 34px 26px 28px;
    border: 1px solid rgba(184, 150, 95, .42);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(21, 19, 15, .28);
    color: var(--ink);
    text-align: center;
}

.thank-you-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f7;
    color: var(--muted);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.thank-you-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--luxury-gradient);
    color: var(--luxury-champagne);
    font-size: 30px;
    font-weight: 850;
}

.thank-you-dialog h2 {
    margin: 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: 0;
}

.thank-you-dialog p {
    margin: 12px 0 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.thank-you-action {
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid var(--luxury-border);
    border-radius: 999px;
    background: var(--luxury-gradient);
    color: var(--luxury-champagne);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
}

.mobile-sticky-cta.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
}

.mobile-sticky-cta {
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

@media (max-width: 920px) {
    .mobile-sticky-cta {
        display: flex !important;
    }
}

@media (max-width: 430px) {
    body {
        background: #f5f5f7;
    }

    .form-band {
        scroll-margin-top: 118px;
        padding-top: 42px !important;
        padding-bottom: 64px !important;
    }

    .section + .form-band {
        margin-top: 0 !important;
    }

    .form-layout {
        gap: 18px !important;
    }

    .form-copy + div {
        margin-top: 0 !important;
    }

    .form-copy .form-highlight {
        white-space: normal;
    }

    .form-copy .form-urgency {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.45;
    }

    .form-key-points {
        margin-top: 12px;
        margin-bottom: 18px;
        font-size: 14.5px;
    }

    .lead-field {
        scroll-margin-top: 126px;
    }

    .lead-form {
        width: 100%;
        margin-top: 0 !important;
        padding: 26px 16px 18px !important;
        overflow: visible;
    }

    .lead-form::before {
        height: 4px !important;
    }

    .lead-field {
        min-width: 0;
    }

    .lead-field span {
        display: block;
        overflow-wrap: anywhere;
        font-weight: 500 !important;
    }

    .lead-field input,
    .lead-field select {
        width: 100%;
        max-width: 100%;
    }

    .thank-you-dialog {
        padding: 30px 20px 24px;
    }

    .thank-you-dialog h2 {
        font-size: 22px;
    }
}
