.apd-demo-request {
    --apd-demo-ink: #10213b;
    --apd-demo-muted: #5f6f86;
    --apd-demo-line: #d9e2ef;
    --apd-demo-blue: #275df2;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.78fr);
    gap: clamp(58px, 7vw, 104px);
    align-items: start;
    width: 100%;
    margin: 0 auto;
    padding: clamp(44px, 6vw, 82px) 0 clamp(76px, 9vw, 118px);
    color: var(--apd-demo-ink);
}

.apd-demo-request__intro {
    padding-top: 18px;
}

.apd-demo-request__eyebrow {
    color: var(--apd-demo-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.apd-demo-request h2 {
    max-width: 720px;
    margin: 18px 0 22px;
    color: var(--apd-demo-ink);
    font-size: clamp(36px, 4.3vw, 64px);
    line-height: 1.04;
}

.apd-demo-request__intro > p {
    max-width: 680px;
    margin: 0;
    color: var(--apd-demo-muted);
    font-size: 17px;
    line-height: 1.75;
}

.apd-demo-request__intro ul {
    display: grid;
    gap: 14px;
    margin: 32px 0;
    padding: 0;
    list-style: none;
}

.apd-demo-request__intro li {
    position: relative;
    padding-left: 28px;
    color: #263a55;
    font-weight: 650;
}

.apd-demo-request__intro li::before {
    position: absolute;
    top: 7px;
    left: 0;
    width: 12px;
    height: 7px;
    border-bottom: 2px solid var(--apd-demo-blue);
    border-left: 2px solid var(--apd-demo-blue);
    content: "";
    transform: rotate(-45deg);
}

.apd-demo-request__security {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 640px;
    padding-top: 26px;
    border-top: 1px solid var(--apd-demo-line);
}

.apd-demo-request__security > span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #e8f7f3;
    color: #087f6a;
    font-weight: 900;
}

.apd-demo-request__security p {
    margin: 0;
    color: var(--apd-demo-muted);
    font-size: 13px;
    line-height: 1.65;
}

.apd-demo-request__form {
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--apd-demo-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(27, 54, 91, 0.11);
}

.apd-demo-request form {
    display: grid;
    gap: 18px;
}

.apd-demo-request form > label:not(.apd-demo-request__consent, .apd-demo-request__honeypot) {
    display: grid;
    gap: 8px;
}

.apd-demo-request label > span {
    color: #263a55;
    font-size: 13px;
    font-weight: 750;
}

.apd-demo-request input[type="text"],
.apd-demo-request input[type="email"],
.apd-demo-request select {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #c8d4e3;
    border-radius: 6px;
    background: #fbfcfe;
    color: var(--apd-demo-ink);
    font: inherit;
    box-shadow: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.apd-demo-request input:focus,
.apd-demo-request select:focus {
    border-color: var(--apd-demo-blue);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(39, 93, 242, 0.12);
}

.apd-demo-request__consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
}

.apd-demo-request__consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}

.apd-demo-request__consent span {
    color: var(--apd-demo-muted);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.55;
}

.apd-demo-request__consent.is-optional {
    margin-top: -4px;
    padding: 15px 16px;
    border: 1px solid #dce5f1;
    border-radius: 7px;
    background: #f7f9fd;
}

.apd-demo-request__consent.is-optional span strong {
    color: var(--apd-demo-ink);
}

.apd-demo-request button {
    width: 100%;
    min-height: 50px;
}

.apd-demo-request form > small {
    color: #78879a;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.apd-demo-request__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.apd-demo-message {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-left: 3px solid #7b8ba1;
    background: #f5f7fa;
}

.apd-demo-message.is-success {
    border-left-color: #0b8f76;
    background: #effaf7;
}

.apd-demo-message.is-warning {
    border-left-color: #d88b16;
    background: #fff8ec;
}

.apd-demo-message strong {
    display: block;
    margin-bottom: 4px;
}

.apd-demo-message p {
    margin: 0;
    color: var(--apd-demo-muted);
    font-size: 13px;
    line-height: 1.55;
}

.apd-newsletter-preferences {
    width: min(760px, 100%);
    margin: 0;
    padding: clamp(36px, 6vw, 64px);
    border: 1px solid var(--apd-demo-line, #d9e2ef);
    border-radius: 10px;
    background: #fff;
    color: #10213b;
    box-shadow: 0 24px 70px rgba(27, 54, 91, 0.1);
}

.apd-newsletter-preferences h2 {
    margin: 16px 0;
    color: #10213b;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
}

.apd-newsletter-preferences p {
    max-width: 620px;
    margin: 0 0 28px;
    color: #5f6f86;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 860px) {
    .apd-demo-request {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 40px;
        padding: 58px 0 72px;
    }
}

@media (max-width: 480px) {
    .apd-demo-request__form {
        padding: 22px 18px;
    }
}
