:root {
    --navy: #202c54;
    --navy-light: #343b65;
    --pink: #d72986;
    --muted: #82889c;
    --content-width: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
}

body {
    margin: 0;
    padding: 0;
    color: #111;
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

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

.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding-right: 12px;
    padding-left: 12px;
}

.site-header {
    height: 35px;
    background: var(--navy);
}

.main-content {
    overflow: hidden;
}

.intro-row,
.content-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

.intro-row {
    align-items: center;
    margin-top: 48px;
    margin-bottom: 48px;
}

.brand-cell,
.store-link-cell {
    display: flex;
    align-items: center;
}

.store-link-cell {
    justify-content: flex-end;
}

.logo {
    display: block;
    width: 200px;
    height: 67px;
    object-fit: contain;
}

.store-link {
    display: inline-block;
    padding: 10px 20px;
    border: 0;
    border-radius: 5px;
    background: var(--pink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.56px;
    line-height: 1.5;
    transition: background-color 160ms ease, transform 160ms ease;
}

.store-link:hover,
.store-link:focus-visible {
    background: var(--navy);
}

.store-link:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(215, 41, 134, 0.35);
    outline-offset: 3px;
}

.content-row {
    align-items: start;
    margin-top: 48px;
    margin-bottom: 48px;
}

.message-column {
    margin-top: 48px;
    margin-bottom: 48px;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 24px;
}

h2 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.sign-off {
    margin-top: 48px;
    margin-bottom: 48px;
}

.image-column {
    min-width: 0;
}

.tools-image {
    display: block;
    width: 100%;
    height: auto;
}

.site-footer {
    color: #fff;
}

.footer-contact {
    background: var(--navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-top: 90px;
    padding-bottom: 74px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    min-width: 0;
}

.contact-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.contact-item a {
    transition: color 160ms ease;
}

.contact-item a:hover,
.contact-item a:focus-visible {
    color: #dce0ec;
}

.footer-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.footer-icon svg {
    width: 28px;
    height: 28px;
    padding: 6px;
    overflow: visible;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    fill: none;
    stroke: var(--navy);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.footer-icon:hover svg {
    background: #fff;
}

.footer-bottom {
    padding: 15px 0;
    background: var(--navy-light);
}

.footer-credit {
    color: var(--muted);
    font-size: 15px;
    transition: color 160ms ease;
}

.footer-credit:hover,
.footer-credit:focus-visible {
    color: #fff;
}

@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .contact-grid {
        padding-top: 40px;
        padding-bottom: 34px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .intro-row,
    .content-row {
        grid-template-columns: 1fr;
    }

    .intro-row {
        row-gap: 24px;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .brand-cell,
    .store-link-cell {
        justify-content: center;
    }

    .content-row {
        row-gap: 16px;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .message-column {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .image-column {
        order: 2;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .site-header {
        height: 28px;
    }

    .logo {
        width: min(200px, 100%);
        height: auto;
    }

    .store-link {
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: 26px;
    }

    .contact-grid {
        padding-right: 24px;
        padding-left: 24px;
    }
}
