/* Match the marketing request form's existing colors, dimensions and fonts. */
.psg-gate {
    --psg-navy: #00143f;
    --psg-ink: #23324b;
    --psg-muted: #586579;
    --psg-line: #d5dce6;
    --psg-soft: #f5f7fb;
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    margin: 24px auto 60px;
    padding: clamp(22px, 4vw, 48px);
    background: #fff;
    border: 1px solid #e3e8ef;
    border-top: 5px solid var(--psg-navy);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 20, 63, .08);
    color: var(--psg-ink);
    font-family: "Pangram", var(--et_global_body_font, Arial), sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}
.psg-gate *, .psg-gate *::before, .psg-gate *::after { box-sizing: border-box; }
.psg-gate h2 {
    margin: 0 0 12px;
    padding: 0;
    color: var(--psg-navy);
    font-family: "Geograph", var(--et_global_heading_font, Arial), sans-serif;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
    text-transform: none;
}
.psg-gate > p:not(.psg-message) {
    margin: 0 0 26px;
    padding: 0;
    color: var(--psg-muted);
    font-size: 15px;
    line-height: 1.6;
}
.psg-gate form { margin: 0; padding: 0; }
.psg-gate label {
    display: block;
    margin: 0 0 26px;
    color: var(--psg-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}
.psg-gate .psg-required { color: #b42332; }
.psg-gate input[type="email"], .psg-gate input[type="text"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    margin: 9px 0 0;
    padding: 12px 15px;
    background: var(--psg-soft);
    border: 1px solid var(--psg-line);
    border-radius: 9px;
    box-shadow: none;
    color: var(--psg-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.psg-gate input::placeholder { color: #6c7a90; opacity: 1; }
.psg-gate input:focus {
    background: #fff;
    border-color: var(--psg-navy);
    box-shadow: 0 0 0 3px rgba(0, 20, 63, .1);
    outline: none;
}
.psg-gate button {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 13px 28px;
    background: var(--psg-navy);
    border: 1px solid var(--psg-navy);
    border-radius: 9px;
    box-shadow: none;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .01em;
    text-align: center;
    text-transform: none;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}
.psg-gate button:hover:not(:disabled) { background: #112c59; }
.psg-gate button:focus-visible { outline: 3px solid #66ab44; outline-offset: 3px; }
.psg-gate button:disabled { opacity: .65; cursor: wait; }
.psg-gate button.psg-again {
    width: auto;
    min-height: 44px;
    margin: 12px auto 0;
    padding: 10px 12px;
    background: transparent;
    border-color: transparent;
    color: var(--psg-navy);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.psg-gate button.psg-again:hover:not(:disabled) { background: var(--psg-soft); }
.psg-gate .psg-message {
    margin: 20px 0 0;
    /* Keep Divi's last-paragraph reset from removing the bottom padding. */
    padding: 12px 15px !important;
    background: var(--psg-soft);
    border-left: 3px solid var(--psg-navy);
    border-radius: 0 7px 7px 0;
    color: var(--psg-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.psg-gate .psg-message:empty { display: none; }
.psg-gate [hidden] { display: none !important; }
@media (max-width: 600px) {
    .psg-gate { margin-top: 16px; padding: 22px 18px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .psg-gate input, .psg-gate button { transition: none; }
}
