/* Padding i obramowanie mieszczą się w szerokości elementu. */
* {
    box-sizing: border-box;
}

/* Kolory i czcionka całej strony. */
body {
    margin: 0;
    background: #f5f3ec;
    color: #293c30;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Główny kontener strony. */
.page {
    max-width: 1600px;
    min-height: 100vh;
    margin: auto;
    padding: 36px 6vw 24px;
    display: flex;
    flex-direction: column;
}

/* Nagłówek i stopka: elementy obok siebie. */
header, footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

header {
    flex-wrap: wrap;
    padding-bottom: 26px;
    border-bottom: 1px solid #d9dcd0;
}

/* Wybór języka. Aktywny przycisk ma ciemne tło. */
.languages {
    display: flex;
    gap: 6px;
}

.languages button {
    padding: 8px 12px;
    border: 1px solid #d9dcd0;
    border-radius: 4px;
    background: transparent;
    color: #293c30;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.languages button:hover {
    background: #e8eadd;
}

.languages button[aria-pressed="true"] {
    background: #293c30;
    color: #f5f3ec;
}

.languages button:focus-visible {
    outline: 2px solid #293c30;
    outline-offset: 3px;
}

.brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.09em;
}

.brand span {
    color: #8a947a;
}

.label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .19em;
}

header .label {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7e8f66;
}

/* Główny napis na środku strony. */
main {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 80px 0;
    text-align: center;
}

h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 180px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 24px;
}

.subtitle {
    margin: 0;
    color: #70766b;
    font-size: 22px;
    letter-spacing: 0.04em;
}

footer {
    border-top: 1px solid #d9dcd0;
    padding-top: 22px;
    color: #70766b;
    font-size: 11px;
    line-height: 1.6;
}

footer p {
    margin: 0;
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 8px;
}

.heart {
    color: #889477;
    font-size: 15px;
}

/* Mniejsze napisy i odstępy na telefonach. */
@media (max-width: 700px) {
    .page {
        padding: 24px 7vw;
    }

    header .label {
        font-size: 8px;
        letter-spacing: 0.12em;
    }

    main {
        padding: 52px 0 40px;
    }

    h1 {
        font-size: 80px;
    }

    .subtitle {
        font-size: 18px;
    }

    footer {
        align-items: flex-start;
        font-size: 10px;
        gap: 16px;
    }
}
