.ttp-ca-wrap,
.ttp-ca-wrap * {
    box-sizing: border-box;
}

.ttp-ca-wrap {
    --ttp-ca-orange: #fa6401;
    --ttp-ca-orange-hover: #ff7a1a;
    --ttp-ca-dark: #111111;
    --ttp-ca-white: #ffffff;
    --ttp-ca-muted: #bdbdbd;
    font-family: Inter, Arial, sans-serif;
}

.ttp-ca-form {
    margin: 0;
}

.ttp-ca-style-dark {
    padding: 34px;
    background: var(--ttp-ca-dark);
    color: var(--ttp-ca-white);
}

.ttp-ca-heading h3 {
    margin: 0 0 18px;
    color: inherit;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.ttp-ca-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.ttp-ca-field {
    display: block;
}

.ttp-ca-field span {
    display: block;
    margin-bottom: 8px;
    color: var(--ttp-ca-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ttp-ca-field input {
    width: 100%;
    min-height: 54px;
    padding: 13px 15px;
    border: 1px solid #d1d1d1;
    border-radius: 0;
    background: var(--ttp-ca-white);
    color: #111111;
    font-size: 16px;
    box-shadow: none;
}

.ttp-ca-submit {
    min-height: 54px;
    padding: 14px 25px;
    border: 2px solid var(--ttp-ca-orange);
    border-radius: 4px;
    background: var(--ttp-ca-orange);
    color: var(--ttp-ca-white);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.ttp-ca-submit:hover,
.ttp-ca-submit:focus-visible {
    border-color: var(--ttp-ca-orange-hover);
    background: var(--ttp-ca-orange-hover);
}

.ttp-ca-submit[disabled] {
    opacity: 0.65;
    cursor: wait;
}

.ttp-ca-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    color: var(--ttp-ca-muted);
    font-size: 12px;
    line-height: 1.5;
}

.ttp-ca-consent input {
    margin-top: 3px;
}

.ttp-ca-message {
    min-height: 22px;
    margin-top: 12px;
    color: var(--ttp-ca-white);
    font-size: 13px;
    font-weight: 700;
}

.ttp-ca-message.is-error {
    color: #ff9b9b;
}

.ttp-ca-message.is-success {
    color: #7ee2a3;
}

.ttp-ca-style-light {
    padding: 34px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #111111;
}

.ttp-ca-style-light .ttp-ca-field span,
.ttp-ca-style-light .ttp-ca-consent {
    color: #666666;
}

.ttp-ca-style-light .ttp-ca-message {
    color: #111111;
}

@media (max-width: 700px) {
    .ttp-ca-style-dark,
    .ttp-ca-style-light {
        padding: 26px 20px;
    }

    .ttp-ca-fields {
        grid-template-columns: 1fr;
    }

    .ttp-ca-submit {
        width: 100%;
    }
}
