.batt-pl {
    --batt-pl-text: #171717;
    --batt-pl-muted: #626262;
    --batt-pl-line: #dedede;
    --batt-pl-bg: #ffffff;
    --batt-pl-soft: #f5f5f5;
    --batt-pl-accent: #e30613;
    --batt-pl-highlight: #ffd400;
    max-width: 880px;
    margin: 2rem auto;
    color: var(--batt-pl-text);
}

.batt-pl__heading {
    padding: clamp(1.4rem, 4vw, 2.4rem);
    background: var(--batt-pl-text);
    color: #fff;
    border-radius: 18px 18px 0 0;
}

.batt-pl__eyebrow {
    display: inline-block;
    margin-bottom: .55rem;
    color: var(--batt-pl-highlight);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.batt-pl__heading h2 {
    margin: 0 0 .7rem;
    color: #fff;
    font-size: clamp(1.75rem, 5vw, 2.65rem);
    line-height: 1.08;
}

.batt-pl__heading p {
    max-width: 720px;
    margin: 0;
    color: #ededed;
}

.batt-pl__intro {
    max-width: 760px;
}

.batt-pl__intro p + p {
    margin-top: .7rem;
}

.batt-pl__intro strong {
    color: #fff;
}

.batt-pl__notice {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin: 0 0 1.4rem;
    padding: .9rem 1rem;
    background: #fff8d6;
    border: 1px solid #f0d35b;
    border-left: 5px solid var(--batt-pl-highlight);
    border-radius: 10px;
}

.batt-pl__notice-icon {
    flex: 0 0 auto;
    line-height: 1.4;
}

.batt-pl__notice p {
    margin: 0;
    line-height: 1.45;
}

.batt-pl__form {
    padding: clamp(1.3rem, 4vw, 2.4rem);
    background: var(--batt-pl-bg);
    border: 1px solid var(--batt-pl-line);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .07);
}

.batt-pl__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.batt-pl__field {
    margin-bottom: 1.15rem;
}

.batt-pl__field label,
.batt-pl__fieldset legend {
    display: block;
    margin-bottom: .38rem;
    font-weight: 750;
}

.batt-pl__field input,
.batt-pl__field select,
.batt-pl__field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: .75rem .85rem;
    color: var(--batt-pl-text);
    background: #fff;
    border: 1px solid #bdbdbd;
    border-radius: 9px;
    font: inherit;
}

.batt-pl__field textarea {
    min-height: 86px;
    resize: vertical;
}

.batt-pl__field input:focus,
.batt-pl__field select:focus,
.batt-pl__field textarea:focus {
    outline: 3px solid rgba(227, 6, 19, .16);
    border-color: var(--batt-pl-accent);
}

.batt-pl__field small,
.batt-pl__privacy,
.batt-pl__optional {
    color: var(--batt-pl-muted);
}

.batt-pl__field small {
    display: block;
    margin-top: .35rem;
}

.batt-pl__field--amount {
    max-width: 320px;
}

.batt-pl__amount-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid #bdbdbd;
    border-radius: 11px;
}

.batt-pl__amount-wrap:focus-within {
    outline: 3px solid rgba(227, 6, 19, .16);
    border-color: var(--batt-pl-accent);
}

.batt-pl__amount-wrap input {
    min-height: 60px;
    border: 0;
    border-radius: 0;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: right;
}

.batt-pl__amount-wrap input:focus {
    outline: 0;
}

.batt-pl__amount-wrap span {
    padding: 0 1rem 0 .65rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.batt-pl__fieldset {
    margin: .3rem 0 1.2rem;
    padding: 1.1rem;
    background: var(--batt-pl-soft);
    border: 0;
    border-radius: 12px;
}

.batt-pl__fieldset legend {
    padding: 0 .2rem;
}

.batt-pl__fieldset .batt-pl__field:last-child,
.batt-pl__grid .batt-pl__field:last-child {
    margin-bottom: 1.15rem;
}

.batt-pl__submit {
    width: 100%;
    min-height: 54px;
    padding: .85rem 1.1rem;
    color: #fff;
    background: var(--batt-pl-accent);
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 800;
    text-transform: none;
    cursor: pointer;
}

.batt-pl__submit:hover,
.batt-pl__submit:focus-visible {
    filter: brightness(.92);
}

.batt-pl__errors {
    margin: 1rem 0;
    padding: 1rem 1.2rem;
    background: #fff3f3;
    border: 1px solid #efb0b0;
    border-left: 5px solid var(--batt-pl-accent);
    border-radius: 8px;
}

.batt-pl__errors ul {
    margin: .5rem 0 0 1.2rem;
}

.batt-pl__privacy {
    margin: .3rem 0 1rem;
    font-size: .88rem;
    line-height: 1.45;
}

.batt-pl__website {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

@media (max-width: 680px) {
    .batt-pl__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .batt-pl__field--amount {
        max-width: none;
    }
}
