:root {
    --navy: #04142f;
    --blue: #0039a6;
    --ink: #16283d;
    --muted: #657486;
    --line: #d8e0ea;
    --soft: #f3f6fa;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    font:
        14px/1.65 Inter,
        Arial,
        sans-serif;
    color: var(--ink);
    background: white;
}

h1,
h2,
h3,
p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

.shell {
    width: min(1180px, calc(100% - 96px));
    margin: auto;
}

header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.nav {
    height: 116px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brands {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.partner-label {
    font-size: 8px;
    line-height: 1;
    letter-spacing: 2px;
    font-weight: 600;
    color: #66798e;
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 23px;
}

.nimbl-link {
    display: block;
    background: #1a2d39;
    border-radius: 4px;
    padding: 10px 14px;
}

.nimbl-logo {
    display: block;
    width: 115px;
    height: 39px;
}

.brand-divider {
    width: 1px;
    height: 36px;
    background: var(--line);
}

.fuelsmart-logo {
    display: block;
    width: 205px;
    height: 61px;
    object-fit: contain;
}

.nav nav {
    display: flex;
    gap: 27px;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
}

.nav-enroll {
    color: var(--blue);
}

/* .login {
                            border: 1px solid var(--line);
                            padding: 11px 15px;
                            border-radius: 5px;
                            background: #f5f8fc;
                            color: var(--blue);
                            font-size: 11px;
                            font-weight: 600
                        }

                        .login span {
                            margin-left: 12px
                        } */

.hero {
    background: var(--navy);
    color: white;
}

.hero-layout {
    max-width: 1600px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.85fr 1.25fr;
    align-items: center;
    min-height: 570px;
}

.hero-copy {
    padding: 66px 45px 58px max(48px, calc((100vw - 1180px) / 2));
}

.eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
    font-weight: 650;
    color: var(--blue);
    margin-bottom: 21px;
}

.hero .eyebrow {
    color: #8db8e9;
    font-size: 8px;
    letter-spacing: 1.65px;
}

h1 {
    font-size: clamp(38px, 4.2vw, 65px);
    font-weight: 550;
    line-height: 1.07;
    letter-spacing: -2.7px;
}

h1 em {
    font-style: normal;
    color: #99d1ff;
}

.hero-lead {
    color: #bdcee1;
    font-size: 14px;
    line-height: 1.85;
    max-width: 310px;
    margin-top: 25px;
}

.primary-link {
    display: inline-flex;
    gap: 36px;
    align-items: center;
    padding: 15px 19px;
    border-radius: 4px;
    background: #fff;
    color: var(--navy);
    font-size: 12px;
    font-weight: 650;
    margin-top: 28px;
}

.primary-link:hover {
    background: #dceeff;
}

.hero-footnote {
    font-size: 8px;
    letter-spacing: 1.55px;
    color: #7792b0;
    margin-top: 42px;
}

.hero-visual {
    margin: 0;
    padding: 34px 30px 34px 0;
    min-width: 0;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    aspect-ratio: 1.5;
    object-fit: contain;
    background: #0e2643;
}

.hero-visual figcaption {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 18px;
    color: #a5bad1;
    font-size: 9px;
}

.hero-visual figcaption span:first-child {
    letter-spacing: 1.5px;
    font-size: 8px;
}

.benefits {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 90px;
    padding-top: 76px;
    padding-bottom: 76px;
}

h2 {
    font-size: 37px;
    line-height: 1.15;
    letter-spacing: -1.4px;
    font-weight: 550;
}

.section-title > p:last-child {
    max-width: 290px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.benefit-list article {
    display: flex;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.benefit-list article:first-child {
    padding-top: 0;
}

.benefit-list article > span {
    font-size: 10px;
    color: var(--blue);
    padding-top: 4px;
}

.benefit-list h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.benefit-list p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.85;
    max-width: 420px;
    margin-top: 8px;
}

.access-section {
    background: var(--soft);
    border-top: 1px solid #e4eaf2;
    padding: 74px 0;
}

.access-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.25fr;
    gap: 86px;
    align-items: start;
}

.access-copy {
    padding-top: 18px;
}

.access-copy > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 315px;
    margin-top: 24px;
}

.access-process {
    display: grid;
    gap: 14px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    max-width: 300px;
    font-size: 10px;
    font-weight: 500;
    color: #516c89;
}

.enroll {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 12px 40px #04142f05;
}

.form-heading {
    margin-bottom: 26px;
}

.form-heading h2 {
    font-size: 24px;
    letter-spacing: -0.7px;
}

.form-heading p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 16px;
}

label {
    font-size: 11px;
    font-weight: 600;
}

.optional {
    font-size: 10px;
    font-weight: 400;
    color: #7b8992;
}

input:not([type="checkbox"]),
textarea {
    display: block;
    width: 100%;
    border: 1px solid #ccd7e5;
    background: #fbfcfe;
    border-radius: 4px;
    padding: 12px;
    margin-top: 8px;
    color: var(--ink);
    font-size: 12px;
    min-height: 43px;
}

input::placeholder,
textarea::placeholder {
    color: #87959e;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.wide {
    grid-column: 1/-1;
}

.consent {
    display: flex;
    gap: 9px;
    font-weight: 400;
    color: #657580;
    line-height: 1.6;
    font-size: 10px;
    margin: 20px 0;
}

.consent input {
    accent-color: var(--blue);
    margin: 2px 0 0;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.submit {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    border: 0;
    border-radius: 4px;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 650;
}

.submit:hover {
    background: #062b79;
}

.preview-note {
    text-align: center;
    font-size: 9px;
    color: #75818b;
    margin: 12px 0 0;
}

.status {
    font-size: 12px;
    line-height: 1.6;
    padding: 12px;
    background: #edf5ff;
    border-radius: 4px;
    margin-top: 12px;
}

.status[hidden] {
    display: none;
}

/* footer {
                        padding-top: 25px;
                        padding-bottom: 25px;
                        display: flex;
                        justify-content: space-between;
                        font-size: 10px;
                        color: var(--muted)
                    }

                    footer strong {
                        font-size: 16px;
                        font-weight: 500;
                        margin-left: 6px
                    } */

dialog {
    border: 0;
    border-radius: 10px;
    padding: 36px;
    max-width: 420px;
    color: var(--navy);
    box-shadow: 0 20px 100px #0003;
}

dialog::backdrop {
    background: #061e31aa;
}

dialog h2 {
    font-size: 23px;
}

dialog > p:last-child {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
    margin-top: 16px;
}

.form-eyebrow {
    font-size: 9px;
    letter-spacing: 1.7px;
    color: var(--blue);
    margin-bottom: 14px;
}

#close-dialog {
    position: absolute;
    right: 12px;
    top: 8px;
    background: none;
    border: 0;
    font-size: 25px;
    color: var(--navy);
}

:focus-visible {
    outline: 3px solid #006ed1;
    outline-offset: 4px;
}

@media (min-width: 1600px) {
    .hero-copy {
        padding-left: 80px;
    }
}

@media (max-width: 1100px) {
    .shell {
        width: calc(100% - 56px);
    }

    .hero-copy {
        padding-left: 28px;
        padding-right: 25px;
    }

    .hero-layout {
        min-height: 500px;
    }

    .nav nav {
        gap: 18px;
    }

    .nav nav > a:first-child {
        display: none;
    }

    .benefits,
    .access-layout {
        gap: 45px;
    }

    .hero-visual {
        padding-right: 28px;
    }

    h1 {
        font-size: 46px;
    }
}

@media (max-width: 760px) {
    .shell {
        width: calc(100% - 36px);
    }

    .nav {
        height: 100px;
        gap: 15px;
    }

    .partner-label {
        font-size: 7px;
        letter-spacing: 1.6px;
    }

    .partner-logos {
        gap: 13px;
    }

    .nimbl-link {
        padding: 8px 10px;
    }

    .nimbl-logo {
        width: 82px;
        height: 28px;
    }

    .fuelsmart-logo {
        width: 143px;
        height: 44px;
    }

    .brand-divider {
        height: 28px;
    }

    .nav nav > a {
        display: none;
    }

    /* .login {
                                font-size: 10px;
                                padding: 9px
                            } */

    /* .login span {
                                display: none
                            } */

    .hero-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-copy {
        padding: 43px 24px 35px;
    }

    .hero .eyebrow {
        margin-bottom: 20px;
    }

    h1 {
        font-size: 49px;
        letter-spacing: -2px;
    }

    .hero-lead {
        max-width: 350px;
    }

    .hero-footnote {
        display: none;
    }

    .hero-visual {
        padding: 0 18px 25px;
    }

    .hero-visual figcaption {
        font-size: 8px;
        padding-top: 12px;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 45px;
        padding-bottom: 45px;
    }

    h2 {
        font-size: 32px;
    }

    .section-title h2 br {
        display: none;
    }

    .section-title > p:last-child {
        max-width: 400px;
        margin-top: 14px;
    }

    .benefit-list article {
        gap: 20px;
    }

    .access-section {
        padding: 45px 0;
    }

    .access-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .access-copy {
        padding: 0;
    }

    .access-copy h2 br {
        display: none;
    }

    .access-copy > p:not(.eyebrow) {
        max-width: 430px;
        margin-top: 17px;
    }

    .access-process {
        display: none;
    }

    .enroll {
        padding: 25px 22px;
    }

    .form-heading h2 {
        font-size: 22px;
    }

    /* 
                        footer {
                            gap: 20px;
                            font-size: 9px
                        } */
}

@media (max-width: 390px) {
    .nav {
        height: auto;
        min-height: 100px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 16px 0;
        gap: 14px;
    }

    .brands {
        align-items: center;
    }

    .nav nav {
        margin-left: auto;
        margin-right: auto;
    }

    .fields {
        grid-template-columns: 1fr;
    }

    .wide {
        grid-column: auto;
    }

    h1 {
        font-size: 44px;
    }

    .hero-visual figcaption {
        flex-direction: column;
        gap: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Nimbl client benefit announcement */
.client-offer {
    margin: 35px 30px 35px 0;
    background: linear-gradient(135deg, #10396a, #0b2446 75%);
    border: 1px solid #ffffff30;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 22px 70px #0002;
}

.offer-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 29px;
    border-bottom: 1px solid #ffffff20;
    color: #a6c4e4;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.6px;
}

.offer-badge {
    background: #efe78a;
    color: #1a2d39;
    padding: 6px 9px;
    border-radius: 3px;
    font-size: 8px;
    letter-spacing: 0.9px;
    white-space: nowrap;
}

.offer-brands {
    display: flex;
    align-items: center;
    gap: 23px;
    padding: 30px 36px 0;
}

.offer-brands a {
    display: block;
}

.offer-nimbl {
    width: 120px;
    height: auto;
    display: block;
}

.offer-plus {
    font-size: 23px;
    font-weight: 300;
    color: #7798b9;
}

.offer-fuelsmart-wrap {
    background: #fff;
    border-radius: 5px;
    padding: 8px 15px;
    display: block;
}

.offer-fuelsmart {
    width: 190px;
    height: 55px;
    object-fit: contain;
    display: block;
}

.offer-body {
    padding: 30px 36px 32px;
}

.offer-kicker {
    font-size: 8px;
    letter-spacing: 1.65px;
    color: #b1cce8;
    font-weight: 600;
    margin-bottom: 16px;
}

.offer-body h2 {
    font-size: clamp(35px, 3.6vw, 56px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 550;
    color: #fff;
}

.offer-body h2 em {
    font-style: normal;
    color: #efe78a;
}

.offer-description {
    font-size: 17px;
    line-height: 1.7;
    color: #e3edf7;
    max-width: 430px;
    margin-top: 23px;
}

.offer-description strong {
    font-weight: 650;
    color: #fff;
}

.offer-detail {
    font-size: 12px;
    line-height: 1.8;
    color: #abc3dc;
    max-width: 360px;
    margin-top: 11px;
}

.offer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 15px 18px;
    margin-top: 26px;
    border-radius: 4px;
    color: #1a2d39;
    background: #efe78a;
    font-size: 12px;
    font-weight: 650;
}

.offer-cta:hover {
    background: #fbf5ac;
}

.offer-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 36px;
    background: #04142f38;
    border-top: 1px solid #ffffff18;
    font-size: 7px;
    letter-spacing: 1.2px;
    color: #8aa8c8;
}

@media (max-width: 1100px) {
    .offer-brands {
        gap: 16px;
        padding: 25px 25px 0;
    }

    .offer-body {
        padding: 25px;
    }

    .offer-nimbl {
        width: 100px;
    }

    .offer-fuelsmart {
        width: 155px;
        height: 46px;
    }

    .offer-fuelsmart-wrap {
        padding: 6px 9px;
    }

    .offer-topline {
        padding: 16px 25px;
    }

    .offer-footer {
        padding: 16px 25px;
    }

    .offer-description {
        font-size: 15px;
    }
}

@media (max-width: 760px) {
    .client-offer {
        margin: 0 18px 30px;
    }

    .offer-body h2 {
        font-size: 43px;
    }

    .offer-topline {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .offer-badge {
        font-size: 7px;
    }

    .offer-brands {
        justify-content: center;
    }

    .offer-nimbl {
        width: 110px;
    }

    .offer-fuelsmart {
        width: 164px;
    }

    .offer-footer {
        font-size: 6px;
        letter-spacing: 1px;
    }
}

@media (max-width: 390px) {
    .offer-brands {
        gap: 14px;
        padding: 24px 18px 0;
    }

    .offer-nimbl {
        width: 90px;
    }

    .offer-fuelsmart {
        width: 145px;
    }

    .offer-body {
        padding: 25px 22px;
    }

    .offer-body h2 {
        font-size: 37px;
    }

    .offer-topline {
        padding: 15px 18px;
        gap: 8px;
    }

    .offer-badge {
        font-size: 6px;
    }

    .offer-footer {
        padding: 15px 20px;
    }
}

/* Transparent reverse logo for the dark announcement panel. */
.offer-fuelsmart-wrap {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.offer-fuelsmart {
    filter: brightness(0) invert(1);
    width: 215px;
    height: 65px;
}

@media (max-width: 1100px) {
    .offer-fuelsmart {
        width: 180px;
        height: 55px;
    }
}

@media (max-width: 760px) {
    .offer-fuelsmart {
        width: 190px;
        height: 58px;
    }
}

@media (max-width: 390px) {
    .offer-fuelsmart {
        width: 158px;
        height: 48px;
    }
}

.renewal-benefit {
    margin-top: 22px;
    padding: 16px 18px;
    background: #ffffff08;
    border: 1px solid #ffffff24;
    border-left: 3px solid #efe78a;
    border-radius: 4px;
}

.renewal-benefit strong {
    display: block;
    color: #efe78a;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.25px;
}

.renewal-benefit p {
    font-size: 12px;
    color: #d0dfef;
    line-height: 1.75;
    margin-top: 5px;
    max-width: 440px;
}

/* Original-color Nimbl logo without a badge; unified dark partner header. */
header {
    background: #0b2039;
    border-bottom: 1px solid #ffffff1a;
    color: #e8f0f8;
}

.partner-label {
    color: #91a8c2;
}

.nimbl-link {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.nimbl-logo {
    width: 127px;
    height: 44px;
}

.brand-plus {
    display: block;
    color: #8ba6c4;
    font-size: 24px;
    line-height: 1;
    font-weight: 300;
}

.fuelsmart-logo {
    filter: brightness(0) invert(1);
}

.nav-enroll {
    color: #b5dcff;
}

.nav nav > a:hover {
    color: #fff;
}

@media (max-width: 760px) {
    .nimbl-link {
        padding: 0;
    }

    .nimbl-logo {
        width: 96px;
        height: 33px;
    }

    .brand-plus {
        font-size: 20px;
    }
}

/* Preserve the original transparent FuelSmart Pro artwork and brand colors. */
.fuelsmart-logo,
.offer-fuelsmart {
    filter: none;
}

.offer-fuelsmart-wrap {
    background: transparent;
}

/* Unified palette: one navy, neutral surfaces, one action blue. */
:root {
    --navy: #10283f;
    --blue: #1769aa;
    --ink: #172b3e;
    --muted: #657382;
    --line: #dce2e7;
    --soft: #f5f6f7;
}

body {
    background: var(--soft);
}

header,
.hero,
.client-offer {
    background: var(--navy);
}

header {
    border-bottom: 1px solid #ffffff20;
}

.client-offer {
    border: 1px solid #ffffff30;
    box-shadow: none;
}

.offer-topline,
.offer-footer {
    background: transparent;
    border-color: #ffffff25;
}

.offer-badge {
    background: #ffffff10;
    color: #e5ebf0;
    border: 1px solid #ffffff25;
}

.hero h1 em,
.offer-body h2 em {
    color: #fff;
}

.hero .eyebrow,
.partner-label,
.hero-footnote,
.offer-topline,
.offer-kicker,
.offer-footer {
    color: #a9b6c3;
}

.hero-lead,
.offer-detail,
.renewal-benefit p {
    color: #bdc8d2;
}

.offer-description {
    color: #e5ebf0;
}

.renewal-benefit {
    background: transparent;
    border-color: #ffffff28;
    border-left-color: #a9b6c3;
}

.renewal-benefit strong {
    color: #fff;
}

.primary-link,
.offer-cta,
.submit {
    background: var(--blue);
    color: #fff;
}

.primary-link:hover,
.offer-cta:hover,
.submit:hover {
    background: #12588f;
}

.nav-enroll {
    color: #e5ebf0;
}

/* .login {
                            background: transparent;
                            border-color: #ffffff35;
                            color: #e5ebf0
                        } */

.benefits,
.access-section {
    background: var(--soft);
}

.access-section {
    border-top: 1px solid var(--line);
}

.enroll {
    background: #fff;
    border-color: var(--line);
    box-shadow: none;
}

.status {
    background: #f0f3f6;
    color: var(--ink);
}

/* footer {
                        background: var(--soft)
                    } */

.offer-fuelsmart-wrap,
.nimbl-link {
    background: transparent;
}

/* Restrained brand-gold highlights on the unified navy palette. */
:root {
    --gold: #efe78a;
}

.offer-body h2 em,
.renewal-benefit strong {
    color: var(--gold);
}

.offer-badge {
    background: var(--gold);
    color: #172b3e;
    border-color: var(--gold);
}

.renewal-benefit {
    border-left-color: var(--gold);
}

.brand-plus,
.offer-plus {
    color: var(--gold);
}

.offer-kicker {
    color: var(--gold);
}

/* Clean FuelSmart Pro-only top navigation. */
header {
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.nav {
    height: 96px;
}

.header-brand {
    display: block;
    flex-shrink: 0;
}

.header-brand .fuelsmart-logo {
    width: 235px;
    height: 70px;
    filter: none;
}

.nav-enroll {
    color: var(--blue);
}

/* header .login {
                                background: #f5f6f7;
                                border-color: var(--line);
                                color: var(--blue)
                            }

                            header .login:hover {
                                background: #eaf0f5
                            } */

.nav nav > a:hover {
    color: var(--blue);
}

@media (max-width: 760px) {
    .nav {
        height: 85px;
    }

    .header-brand .fuelsmart-logo {
        width: 200px;
        height: 60px;
    }

    .nav nav {
        margin: 0;
    }

    .nav {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0;
        min-height: 0;
    }
}

@media (max-width: 390px) {
    .header-brand .fuelsmart-logo {
        width: 180px;
        height: 55px;
    }
}

/* Gold emphasis for the primary savings benefit. */
.hero h1 em {
    color: var(--gold, #efe78a);
}

/* Mobile app downloads. */
.store-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.store-badges a {
    display: block;
    flex-shrink: 0;
}

@media (max-width: 760px) {
}

.site-footer .footer-wrap {
    width: min(1240px, calc(100% - 96px));
    margin: auto;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.site-footer .footer-brand img {
    display: block;
    width: 230px;
    height: 70px;
    object-fit: contain;
    object-position: left center;
}

.site-footer .footer-brand p {
    margin: 14px 0;
    font-size: 12px;
    color: #657486;
}

.site-footer h3 {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 650;
    color: #04142f;
    letter-spacing: normal;
    margin: 10px 0 18px;
}

.site-footer .footer-grid a {
    display: block;
    margin: 10px 0;
    font-size: 11px;
    color: #657486;
}

.site-footer a:hover {
    color: #0039a6;
}

.site-footer .footer-stores {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.site-footer .footer-grid .footer-store {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin: 0;
    flex-shrink: 0;
}

.site-footer .footer-store img {
    display: block;
    object-fit: contain;
}

.site-footer .footer-grid .google {
    margin-left: -10px;
}

.site-footer .footer-store:hover {
    opacity: 0.85;
}

.site-footer .footer-note {
    font-size: 11px;
    color: #657486;
    margin-top: 8px;
}

.site-footer .footer-bottom {
    border-top: 1px solid #d8e0ea;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 9px;
    color: #657486;
    padding: 22px 0;
}

.site-footer .footer-bottom > div {
    display: flex;
    gap: 25px;
}

@media (max-width: 1100px) {
    .site-footer .footer-wrap {
        width: calc(100% - 56px);
    }
}

@media (max-width: 850px) {
    .site-footer .footer-grid {
        gap: 25px;
        grid-template-columns: 1.3fr 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .site-footer .footer-wrap {
        width: calc(100% - 36px);
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .site-footer .footer-brand,
    .site-footer .footer-grid > div:last-child {
        grid-column: 1/-1;
    }

    .site-footer .footer-stores {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .site-footer .footer-grid .google {
        margin-left: 0;
    }

    .site-footer .apple img {
        width: 132px;
        height: 44px;
    }

    .site-footer .google img {
        width: 171px;
        height: 66px;
    }

    .site-footer .footer-bottom {
        flex-wrap: wrap;
    }

    a.store-badge.google-badge {
        min-height: revert-rule;
    }

    .store-badges .google-badge img {
        object-fit: initial;
    }

    a.store-badge.google-badge {
        min-height: stretch;
    }
}

/* Equal sizing for the matching 200 × 60 store artwork. */
.site-footer .footer-stores {
    gap: 12px;
}

.site-footer .footer-grid .footer-store {
    width: 160px;
    min-height: 48px;
    margin: 0;
}

.site-footer .footer-store img {
    width: 160px;
    height: 48px;
    object-fit: contain;
}

.site-footer .footer-grid .google {
    margin-left: 0;
}
