/* ── Newsletter band (node 2:379: cornflower, 288px tall) ── */
.vl-newsletter {
    background: var(--vl-cornflower);
    padding: 100px var(--vl-edge) 60px; /* heading y offset 100 from band top */
}

.vl-newsletter__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: var(--vl-container);
    margin-inline: auto;
}

.vl-newsletter__heading {
    margin: 0;
    font-size: 56px; /* derived: heading is outlined vectors in Figma (nodes 57:26/36:148, 63.7px glyph box) — no live text exists; confirm visually post-deploy */
    font-weight: var(--vl-weight-regular);
    line-height: normal;
}

.vl-newsletter__heading strong {
    font-weight: var(--vl-weight-semibold);
}

.vl-newsletter__signup {
    width: 750px;
    max-width: 100%;
}

/* Form (nodes 57:50–57:53): 58px cream field, ink border, radius 10;
   50px brick submit with right corners rounded. */
.vl-newsletter__form {
    display: flex;
    height: 58px;
}

.vl-newsletter__label {
    position: absolute;
    left: -9999px; /* visually hidden; placeholder carries the visible cue */
}

.vl-newsletter__input {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    background: var(--vl-cream);
    border: 1px solid var(--vl-ink);
    border-right: none;
    border-radius: var(--vl-radius-field) 0 0 var(--vl-radius-field);
    font-family: var(--vl-font);
    font-size: var(--vl-text-input);
    color: var(--vl-ink);
}

.vl-newsletter__input::placeholder {
    color: var(--vl-grey);
}

.vl-newsletter__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background: var(--vl-brick);
    border: 1px solid var(--vl-ink);
    border-radius: 0 var(--vl-radius-field) var(--vl-radius-field) 0;
    cursor: pointer;
}

/* Disclaimer (node 57:55: 12px ink, 16px line-height, underlined link) */
.vl-newsletter__disclaimer {
    margin: 15px 0 0;
    font-size: var(--vl-text-sm);
    line-height: 16px;
}

.vl-newsletter__disclaimer a {
    text-decoration: underline;
}

/* ── Footer panel (node 3:480: ink, 504px tall) ── */
.vl-footer {
    background: var(--vl-ink);
    color: var(--vl-cream); /* paints the masked logo cream */
    padding: 44px var(--vl-edge) 40px; /* logo y 5121 − footer top 5077 = 44 */
    font-size: var(--vl-text-body);
    line-height: 22px;
}

.vl-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.vl-footer__col--info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vl-footer__address {
    margin-top: 29px; /* address y 5194 − logo bottom 5171 = 23 + leading */
    font-style: normal;
}

.vl-footer__phone {
    margin-top: 46px;
    text-decoration: none;
}

.vl-footer__email {
    margin-top: 10px;
    text-decoration: none;
}

.vl-footer__socials {
    display: flex;
    gap: 50px; /* icons at 100px pitch, 50px wide (nodes 3:514/3:529/3:535) */
    list-style: none;
    margin: 50px 0 0;
    padding: 0;
}

.vl-footer__legal {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 45px 0 0;
    padding: 0;
    font-size: var(--vl-text-sm);
    line-height: 16px;
}

.vl-footer__legal a {
    text-decoration: underline;
}

.vl-footer__copyright {
    margin: 15px 0 0;
    font-size: var(--vl-text-sm);
    line-height: 16px;
}

/* Desktop layout from Figma group 3:553 — Premier Guarantee sits UNDER
   Consumer Code (x aligned, 19px gap); ICW 10px lower than CC; the
   WhatHouse awards 2px lower, spanning both rows. Columns 10px apart. */
.vl-footer__accreds {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    column-gap: 10px;
    row-gap: 19px; /* PG y=5226 − CC bottom 5207 */
    align-items: start;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vl-footer__accred--icw {
    grid-column: 1;
    grid-row: 1;
    margin-top: 10px; /* ICW y=5136 vs CC y=5126 */
}

.vl-footer__accred--cc {
    grid-column: 2;
    grid-row: 1;
}

.vl-footer__accred--pg {
    grid-column: 2;
    grid-row: 2;
    justify-self: start; /* PG (124w) left-aligns under CC (128w) */
}

.vl-footer__accred--award {
    grid-row: 1 / span 2;
    margin-top: 2px; /* WhatHouse y=5128 vs CC y=5126 */
}

.vl-footer__accred--gold   { grid-column: 3; }
.vl-footer__accred--bronze { grid-column: 4; }

.vl-footer__col--accreds {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.vl-footer__credit {
    margin: 0;
    font-size: var(--vl-text-sm);
}

/* ── Tablet/mobile (derived) ── */
@media (max-width: 1023px) {
    .vl-newsletter {
        padding: 60px var(--vl-edge);
    }

    .vl-newsletter__inner {
        flex-direction: column;
        gap: 32px;
    }

    .vl-newsletter__heading {
        font-size: 40px;
    }

    .vl-footer__inner {
        flex-direction: column;
    }

    .vl-footer__col--accreds {
        align-items: flex-start;
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .vl-newsletter__input {
        font-size: 20px;
    }

    /* Mobile (derived, Liam 2026-07-21): two columns — ICW with Premier
       Guarantee tucked under it, Consumer Code centred beside that pair,
       awards on their own row. Everything vertically centred. */
    .vl-footer__accreds {
        grid-template-columns: repeat(2, max-content);
        align-items: center;
        row-gap: 24px;
        column-gap: 16px;
    }

    .vl-footer__accred--icw,
    .vl-footer__accred--award {
        margin-top: 0;
    }

    .vl-footer__accred--icw { grid-column: 1; grid-row: 1; }
    .vl-footer__accred--pg  { grid-column: 1; grid-row: 2; }

    .vl-footer__accred--cc {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .vl-footer__accred--gold   { grid-column: 1; grid-row: 3; }
    .vl-footer__accred--bronze { grid-column: 2; grid-row: 3; }
}
