body {
    margin: 0;
    background: #fbf7f2;
    color: #24181f;
    font: 16px/1.5 system-ui, sans-serif;
}

body > header,
body > footer {
    background: #22171d;
    color: #fff8f1;
}

body > header a,
body > footer a {
    color: inherit;
    text-decoration: none;
}

body > header a:hover,
body > footer a:hover {
    text-decoration: underline;
}

body > header a:focus-visible,
body > footer a:focus-visible {
    outline: 3px solid #e485a9;
    outline-offset: 4px;
}

body > header .wrap,
body > footer .wrap {
    width: min(1376px, calc(100% - 72px));
    margin-inline: auto;
}

body > header .bar,
body > header .menu,
body > footer nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

body > header .bar {
    justify-content: space-between;
    gap: 20px;
    padding-block: 13px;
}

body > header .menu {
    gap: 12px 24px;
    font-weight: 700;
}

body > header .logo img {
    display: block;
    width: 232px;
    height: auto;
}

body > header .btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 9px 17px;
    background: #a00040;
    color: white;
    border-radius: 7px;
    font-weight: 750;
}

body > footer {
    padding-block: 23px;
}

body > footer nav {
    gap: 7px 18px;
    margin-top: 13px;
}

@media (max-width: 680px) {
    body > header .wrap,
    body > footer .wrap { width: calc(100% - 32px); }
    body > header .logo img { width: 185px; max-width: 100%; }
    body > header .bar { gap: 8px 12px; }
    body > header .bar > .btn { font-size: .78rem; padding-inline: 9px; }
    body > header .menu { order: 1; width: 100%; gap: 6px 15px; font-size: .83rem; }
}
