.demo-request-hero {
    background: radial-gradient(ellipse at 10% 10%, #254951, #122a30 65%);
    padding-block: clamp(2.5rem, 7vw, 6.5rem);
    color: #fff;
}

.demo-request-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 6rem);
}

.demo-request-intro h1 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2rem, 4.25vw, 4.15rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    color: inherit;
}

.demo-request-intro p { max-width: 52ch; margin: 1rem 0; color: #e0e9eb; font-size: clamp(1rem, 1.6vw, 1.23rem); }
.demo-screen-link { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-underline-offset: .25em; }
.demo-screen-link:hover { color: #ffd4a6; }

.demo-request-card {
    color: #162c32;
    background: #fff;
    border: 1px solid #dbe5e6;
    border-top: 4px solid #f19b55;
    border-radius: 1rem;
    padding: clamp(1rem, 3vw, 2rem);
    box-shadow: 0 1.3rem 3.5rem #07171a50;
    scroll-margin-top: 6rem;
}

.demo-request-card h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.demo-request-card > p { margin: .45rem 0 1rem; color: #465d63; }
.demo-request-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.demo-field { display: grid; align-content: start; gap: .28rem; min-width: 0; }
.demo-field:has(textarea, input[type="tel"]), .demo-privacy, .demo-request-form .button { grid-column: 1 / -1; }
.demo-field label { font-weight: 650; font-size: .93rem; }

.demo-field input,
.demo-field textarea {
    width: 100%;
    min-height: 45px;
    border-radius: .5rem;
    padding: .5rem .7rem;
    border: 1px solid #8b9da0;
    color: #162c32;
    background: #f9fbfb;
    font: inherit;
    font-size: 1rem;
}

.demo-field textarea { resize: vertical; }
.demo-field :is(input, textarea):focus { outline: 2px solid #116b71; outline-offset: 2px; }
.demo-field [aria-invalid="true"] { border-color: #a42220; }
.demo-field small, .demo-privacy { color: #465d63; font-size: .84rem; }
.demo-field .demo-field-error { color: #9c211c; }
.demo-privacy { margin: 0; }
.demo-request-form .button { width: 100%; justify-content: center; white-space: normal; font: inherit; font-weight: 700; cursor: pointer; }

.demo-alternative {
    margin-top: 1.1rem;
    padding-top: .85rem;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .75rem;
    align-items: center;
    border-top: 1px solid #dbe5e6;
    font-size: .9rem;
}
.demo-alternative a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: #125a49; text-underline-offset: .22em; }
.demo-request-card .demo-feedback { display: flex; align-items: baseline; gap: .55rem; padding: .65rem .85rem; border-radius: .55rem; }
.demo-request-card .demo-feedback-error { background: #fff0ec; color: #85251d; }
.demo-request-card .demo-feedback-success { background: #e4f4eb; color: #16543d; }

.demo-screen-section { background: #f2f6f7; }
.demo-screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.demo-screen { display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 2.5vw, 1.65rem); border: 1px solid #dbe5e6; border-radius: .85rem; background: #fff; }
.demo-screen h3, .demo-screen p { margin: 0 0 .55rem; }
.demo-screen p { color: #465d63; }
.demo-screen .product-figure { margin: auto 0 0; padding-top: .35rem; min-width: 0; }
.demo-screen .product-image-button img { display: block; width: 100%; height: auto; }

@media (min-width: 821px) {
    .demo-screen:first-child {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        column-gap: 1.5rem;
        align-content: center;
    }
    .demo-screen:first-child .product-figure { grid-column: 2; grid-row: 1 / 3; padding-top: 0; }
    .demo-screen:first-child h3 { align-self: end; }
    .demo-screen:first-child p { align-self: start; }
}

@media (max-width: 820px) {
    .demo-request-grid { grid-template-columns: minmax(0, 1fr); }
    .demo-request-intro h1 { max-width: 22ch; }
}

@media (max-width: 620px) {
    .demo-request-form, .demo-screen-grid { grid-template-columns: minmax(0, 1fr); }
}
