.axis-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem 1rem;
    font-family: var(--axis-text);
    font-size: .85rem;
}
.axis-footer-legal a {
    color: #e4e9de;
    text-underline-offset: .22em;
}
.axis-footer-legal a:hover { color: #ffe09d; }

.axis-cookie-notice {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    pointer-events: auto;
    padding: 6px 29px 6px 8px;
    border: 1px solid #cfc4a8;
    border-radius: 10px;
    background: #fffcf1;
    color: #193f35;
    box-shadow: 0 5px 22px #153e3230;
    font: 500 .8rem/1.3 var(--axis-text, system-ui);
}
@media (max-width: 350px) {
    .axis-cookie-notice {
        flex-direction: column;
        align-items: flex-start;
    }
}

.axis-cookie-notice[hidden] { display: none; }
.axis-cookie-notice p { min-width: 0; margin: 0; }
.axis-cookie-notice a {
    color: #1a4f3d;
    font-weight: 700;
    text-underline-offset: .16em;
}
.axis-cookie-ok {
    flex: 0 0 auto;
    width: max-content;
    padding: 3px 6px;
    border: 1px solid #315548;
    border-radius: 6px;
    background: #215142;
    color: #fffaf0;
    font: 700 .75rem/1 var(--axis-text, system-ui);
    cursor: pointer;
}
.axis-cookie-close {
    position: absolute;
    inset: 2px 2px auto auto;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #345548;
    cursor: pointer;
}
.axis-cookie-close svg { width: 12px; height: 12px; }
.axis-cookie-ok:hover { background: #163e32; }
.axis-cookie-close:hover { background: #eee9d8; }
.axis-cookie-notice :focus-visible,
.axis-legal-page :focus-visible {
    outline: 2px solid #806023;
    outline-offset: 2px;
}
@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: Fraunces;
    src: url("../fonts/fraunces-latin.woff2") format("woff2");
    font-weight: 500 800;
    font-display: swap;
}

.axis-legal-page {
    margin: 0;
    color: #193e34;
    background: #f3eee1;
    font: 400 1rem/1.65 "DM Sans", sans-serif;
}
.axis-legal-page a { color: #235844; text-underline-offset: .18em; overflow-wrap: anywhere; }
.axis-legal-wrap { width: min(800px, calc(100% - 28px)); margin-inline: auto; }
.axis-legal-header { padding: 1rem 0; background: #143b32; }
.axis-legal-header a { color: #fff5db; font-weight: 700; }
.axis-legal-content {
    box-sizing: border-box;
    margin-block: clamp(16px, 5vw, 56px) 24px;
    padding: clamp(20px, 5vw, 50px);
    border: 1px solid #d9ccb0;
    border-radius: 18px;
    background: #fffcf3;
}
.axis-legal-page h1,
.axis-legal-page h2 {
    margin: 0 0 .5em;
    color: #173e34;
    font: 650 clamp(2rem, 5vw, 3rem)/1.06 Fraunces, Georgia, serif;
}
.axis-legal-page h2 {
    margin-top: 1.35em;
    font-size: clamp(1.27rem, 3vw, 1.55rem);
    line-height: 1.2;
}
.axis-legal-page p { margin: .65rem 0; }
.axis-legal-date { color: #4b6054; font-size: .88rem; }
.axis-legal-footer { padding-bottom: 2rem; }
.axis-legal-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
#cookies { scroll-margin-block-start: 1rem; }
