/* Waitlist signup block — 3 styles. */

.lyra-bt-wl {
    --lyra-bt-wl-accent: #0f172a;
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}
.lyra-bt-wl *, .lyra-bt-wl *::before, .lyra-bt-wl *::after { box-sizing: border-box; }

.lyra-bt-wl__heading {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}
.lyra-bt-wl__subheading {
    margin: 0 0 18px;
    color: #475569;
    font-size: 15px;
    text-align: center;
}

/* Counter */
.lyra-bt-wl__counter {
    margin: 0 0 18px;
    text-align: center;
}
.lyra-bt-wl__counter-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}
.lyra-bt-wl__counter-fill {
    height: 100%;
    background: var(--lyra-bt-wl-accent);
    transition: width 0.4s ease;
}
.lyra-bt-wl__counter-text {
    font-size: 13px;
    color: #64748b;
}
.lyra-bt-wl__counter-text strong { color: var(--lyra-bt-wl-accent); }

/* Form */
.lyra-bt-wl__form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.lyra-bt-wl__row {
    margin-bottom: 14px;
}
.lyra-bt-wl__row:last-child { margin-bottom: 0; }
.lyra-bt-wl__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.lyra-bt-wl__input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.lyra-bt-wl__input:focus {
    outline: none;
    border-color: var(--lyra-bt-wl-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lyra-bt-wl-accent) 18%, transparent);
}
.lyra-bt-wl__input[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}
.lyra-bt-wl__submit {
    display: inline-block;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--lyra-bt-wl-accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: filter 0.15s;
    font-family: inherit;
}
.lyra-bt-wl__submit:hover { filter: brightness(0.92); }
.lyra-bt-wl__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.lyra-bt-wl__math-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

/* Status (success / error) */
.lyra-bt-wl__status {
    margin-top: 12px;
    font-size: 14px;
    min-height: 1.2em;
}
.lyra-bt-wl__status[data-state="success"] { color: #16a34a; font-weight: 600; }
.lyra-bt-wl__status[data-state="error"]   { color: #dc2626; font-weight: 600; }

/* Full message */
.lyra-bt-wl__full {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
    font-weight: 600;
}
.lyra-bt-wl__full p:last-child { margin-bottom: 0; }

/* ─── Two-column variant ──────────────────────────────────────────── */
.lyra-bt-wl--two_column { max-width: 980px; }
.lyra-bt-wl--two_column .lyra-bt-wl__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.lyra-bt-wl--two_column .lyra-bt-wl__heading,
.lyra-bt-wl--two_column .lyra-bt-wl__subheading { text-align: left; }
.lyra-bt-wl--two_column .lyra-bt-wl__counter    { text-align: left; }

.lyra-bt-wl__benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lyra-bt-wl__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}
.lyra-bt-wl__benefits li:last-child { border-bottom: none; }
.lyra-bt-wl__check {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--lyra-bt-wl-accent) 14%, transparent);
    color: var(--lyra-bt-wl-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

@media (max-width: 720px) {
    .lyra-bt-wl--two_column .lyra-bt-wl__grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Minimal inline variant ──────────────────────────────────────── */
.lyra-bt-wl--minimal_inline { max-width: 520px; }
.lyra-bt-wl--minimal_inline .lyra-bt-wl__form {
    padding: 16px 18px;
}
.lyra-bt-wl__row--minimal {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 8px;
}
.lyra-bt-wl__row--minimal .lyra-bt-wl__input { flex: 1; }
.lyra-bt-wl__row--minimal .lyra-bt-wl__submit { padding: 10px 18px; white-space: nowrap; }
.lyra-bt-wl--minimal_inline .lyra-bt-wl__math {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #64748b;
}
.lyra-bt-wl--minimal_inline .lyra-bt-wl__math-input {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    width: 80px;
}
