*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--c-bg);
    color: var(--c-ink);
    overflow-wrap: break-word;
}

.page-wrap {
    width: 100%;
    max-width: 46rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.page-wrap--wide {
    max-width: 62rem;
}

.masthead {
    position: relative;
    padding: 2.75rem 1.25rem 2rem;
    background: var(--c-bg);
    text-align: center;
}

.masthead__lang {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.menu {
    margin-top: 1.4rem;
}

.menu__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero {
    padding: 2.5rem 0 4.5rem;
    text-align: center;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.section {
    padding: 4rem 0 4.5rem;
    scroll-margin-top: 1rem;
}

.section:focus {
    outline: none;
}

.section--paper {
    background: var(--c-paper);
}

.section--bg {
    background: var(--c-bg);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.faq {
    margin-top: 2rem;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.site-foot {
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.site-foot__brand {
    margin: 0 auto 1rem;
}

.site-foot__name,
.site-foot__contacts,
.site-foot__legal,
.site-foot__links,
.site-foot__copy {
    margin: 0 0 0.9rem;
}

.site-foot__copy {
    margin-bottom: 0;
}

.legal {
    padding: 3rem 0 4.5rem;
}

@media (max-width: 640px) {
    body {
        font-size: 1rem;
    }

    .masthead {
        padding-top: 3.4rem;
    }

    .masthead__lang {
        top: 0.85rem;
        right: 0.85rem;
    }

    .menu__list {
        gap: 0.35rem 1.1rem;
    }

    .hero {
        padding-top: 1.5rem;
    }

    .section {
        padding: 3rem 0 3.5rem;
    }

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

    .hero__actions .button,
    .action-row .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button {
        transition: none;
    }
}

urlset {
    display: block;
    max-width: 46rem;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
    background: hsl(56, 36%, 95%);
    color: hsl(56, 18%, 14%);
    font-family: "Lexend", "Segoe UI", Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

urlset::before {
    content: "IKARIA SP Z O O \2014 Sitemap";
    display: block;
    margin-bottom: 1.25rem;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.9rem;
    font-weight: 600;
    text-align: center;
    color: hsl(56, 18%, 14%);
}

urlset::after {
    content: "";
    display: block;
    height: 24px;
    margin-top: 2rem;
    background-image:
        radial-gradient(15.36px at 50% 21.6px, hsl(56, 34%, 88%) 99%, transparent 101%),
        radial-gradient(15.36px at 50% -9.6px, transparent 99%, hsl(56, 34%, 88%) 101%);
    background-position: calc(50% - 24px) 0, 50% 12px;
    background-size: 48px 100%;
    background-repeat: repeat, repeat-x;
}

url {
    display: block;
    margin: 0 0 0.9rem;
    padding: 1rem 1.25rem;
    border: 1px solid hsl(56, 16%, 79%);
    border-top: 3px solid hsl(56, 40%, 32%);
    background: hsl(56, 28%, 98%);
    color: hsl(56, 18%, 14%);
}

loc {
    display: block;
    font-weight: 500;
    color: hsl(236, 35%, 40%);
}

lastmod,
changefreq,
priority {
    display: inline-block;
    margin-right: 1rem;
    font-size: 0.85rem;
    color: hsl(56, 9%, 32%);
}
