/* Demo scheduling page */
.lp-demo-page .lp-header {
    position: sticky;
}

.lp-demo {
    padding: 2rem 0 4rem;
}

.lp-demo__wrap {
    max-width: 52rem;
}

.lp-demo__intro {
    margin-bottom: 2rem;
}

.lp-demo__intro h1 {
    margin: 0.5rem 0 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lp-demo__lead {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--lp-muted);
}

.lp-demo-form {
    padding: 1.75rem;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 1.25rem;
    box-shadow: var(--lp-shadow);
}

.lp-demo-fieldset {
    margin: 0 0 1.75rem;
    padding: 0;
    border: none;
}

.lp-demo-legend {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lp-text);
}

.lp-required {
    color: #dc2626;
}

.lp-demo-type-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .lp-demo-type-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.lp-demo-type-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 2px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.lp-demo-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lp-demo-type-card .bx {
    font-size: 1.5rem;
    color: var(--lp-accent);
}

.lp-demo-type-card__title {
    font-weight: 600;
    color: var(--lp-text);
}

.lp-demo-type-card__copy {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lp-muted);
}

.lp-demo-type-card:hover {
    border-color: #93c5fd;
}

.lp-demo-type-card.is-selected {
    border-color: var(--lp-accent);
    background: var(--lp-accent-soft);
}

.lp-demo-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .lp-demo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-demo-field:first-child {
        grid-column: 1 / -1;
    }
}

.lp-demo-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lp-text);
}

.lp-demo-field input,
.lp-demo-field select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--lp-text);
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: var(--lp-radius);
}

.lp-demo-field input:focus,
.lp-demo-field select:focus {
    outline: none;
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.lp-demo-hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: var(--lp-muted);
}

.lp-demo-error {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #dc2626;
}

.lp-demo-actions {
    margin-top: 1.75rem;
}

.lp-demo-alert {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--lp-radius-lg);
}

.lp-demo-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.lp-demo-alert--success .bx {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.lp-demo-alert p {
    margin: 0.35rem 0 0;
    font-size: 0.9375rem;
}

/* Honeypot — off-screen, not display:none (some bots skip hidden fields) */
.lp-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
