.cws-subscribe-card {
    --cws-primary: #1B9C85;
    --cws-primary-dark: #147A69;
    --cws-primary-deep: #0F5F53;
    --cws-bg: #F6FAF7;
    --cws-border: #E5E7EB;
    --cws-text: #111827;
    --cws-muted: #6B7280;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    color: var(--cws-text);
}

.cws-subscribe-card,
.cws-subscribe-card * {
    box-sizing: border-box;
}

.cws-subscribe-card__inner {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    padding: clamp(22px, 4vw, 34px);
    position: relative;
    overflow: hidden;
}

.cws-subscribe-card__inner::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--cws-primary), var(--cws-primary-dark));
}

.cws-subscribe-card__header {
    margin-bottom: 22px;
}

.cws-subscribe-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 156, 133, 0.10);
    color: var(--cws-primary-deep);
    border: 1px solid rgba(27, 156, 133, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 8px 12px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cws-subscribe-card__title {
    color: var(--cws-text);
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.05;
    margin: 0 0 10px;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.cws-subscribe-card__description {
    color: var(--cws-muted);
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    max-width: 52ch;
}

.cws-subscribe-form {
    display: grid;
    gap: 15px;
}

.cws-field {
    display: grid;
    gap: 8px;
    margin: 0;
}

.cws-field span {
    color: var(--cws-text);
    font-size: 14px;
    font-weight: 750;
}

.cws-field input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--cws-border);
    border-radius: 18px;
    background: #fff;
    color: var(--cws-text);
    font-size: 16px;
    line-height: 1.2;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cws-field input:focus {
    border-color: rgba(27, 156, 133, 0.72);
    box-shadow: 0 0 0 4px rgba(27, 156, 133, 0.12);
    background: #fff;
}

.cws-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: start;
    background: #F9FCFA;
    border: 1px solid rgba(229, 231, 235, 0.85);
    border-radius: 18px;
    padding: 14px;
    margin: 2px 0 0;
    color: var(--cws-muted);
    font-size: 13px;
    line-height: 1.45;
}

.cws-consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--cws-primary);
}

.cws-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cws-primary), var(--cws-primary-dark));
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -0.01em;
    padding: 14px 22px;
    text-decoration: none;
    box-shadow: 0 14px 24px rgba(27, 156, 133, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cws-submit:hover,
.cws-submit:focus {
    color: #fff;
    filter: brightness(1.02);
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(27, 156, 133, 0.28);
}

.cws-notice {
    border-radius: 18px;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.45;
    margin: 0 0 18px;
    padding: 13px 15px;
}

.cws-notice--success {
    background: rgba(27, 156, 133, 0.10);
    border: 1px solid rgba(27, 156, 133, 0.22);
    color: #0F5F53;
}

.cws-notice--error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.16);
    color: #991B1B;
}

@media (max-width: 560px) {
    .cws-subscribe-card__inner {
        border-radius: 20px;
        padding: 22px;
    }

    .cws-subscribe-card__title {
        font-size: 26px;
    }

    .cws-subscribe-card__description {
        font-size: 15px;
    }
}

.cws-submit:disabled,
.cws-submit--loading {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.cws-notice--hidden {
    display: none;
}

.cws-honeypot {
    left: -9999px !important;
    opacity: 0 !important;
    position: absolute !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}

.cws-product-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(27, 156, 133, 0.08);
    border: 1px solid rgba(27, 156, 133, 0.18);
    border-radius: 999px;
    color: var(--cws-primary-deep);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    margin-top: 14px;
    padding: 9px 12px;
}

.cws-field em {
    color: var(--cws-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 650;
}

.cws-interest-group {
    background: #F9FCFA;
    border: 1px solid rgba(229, 231, 235, 0.85);
    border-radius: 18px;
    margin: 2px 0 0;
    padding: 14px;
}

.cws-interest-group legend {
    color: var(--cws-text);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
    padding: 0;
}

.cws-interest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cws-interest-option {
    align-items: center;
    background: #fff;
    border: 1px solid var(--cws-border);
    border-radius: 999px;
    color: var(--cws-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 750;
    gap: 7px;
    line-height: 1;
    padding: 9px 11px;
}

.cws-interest-option input {
    accent-color: var(--cws-primary);
    height: 15px;
    margin: 0;
    width: 15px;
}

.cws-subscribe-card--waitlist .cws-subscribe-card__badge::before {
    content: "↻";
    margin-right: 6px;
}
