.aku-footer {
    --aku-footer-text: var(--aku-ink, #0f1c2e);
    --aku-footer-muted: var(--aku-muted, #526074);
    --aku-footer-rule: var(--aku-border, #e8e4ef);
    --aku-footer-paper: var(--aku-paper, #fff);
    --aku-footer-accent: var(--aku-primary, #6d28d9);
    --aku-footer-tint: #f5f1fe;
    --aku-footer-link: var(--aku-footer-accent);
    --studio-focus: var(--aku-footer-link);
    color: var(--aku-footer-text);
    background: var(--aku-footer-paper);
    border-block-start: 1px solid var(--aku-footer-rule);
    font-size: .9375rem;
    line-height: 1.55;
    text-align: start;
}

html[data-theme="dark"] .aku-footer {
    --aku-footer-text: #f6f4ff;
    --aku-footer-muted: #cdc6dd;
    --aku-footer-rule: #3e3650;
    --aku-footer-paper: #1e1a2b;
    --aku-footer-tint: #30234c;
    --aku-footer-link: #dcc8ff;
}

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

.aku-footer__container {
    max-inline-size: 82rem;
    margin-inline: auto;
    padding: 2.25rem clamp(1rem, 4vw, 2.75rem) 1.125rem;
}

.aku-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem 2.25rem;
    margin-block-end: clamp(1.875rem, 4vw, 3rem);
    padding: clamp(1rem, 2.8vw, 1.875rem);
    border: 1px solid var(--aku-footer-rule);
    border-radius: 16px;
    background: var(--aku-footer-tint);
}

.aku-footer__intro {
    display: flex;
    align-items: flex-start;
    gap: .95rem;
    min-inline-size: 0;
}

.aku-footer__cta-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    block-size: 46px;
    border-radius: 12px;
    background: var(--aku-footer-accent);
    color: #fff;
}

body .aku-footer__intro h2 {
    margin: 0 0 .25rem;
    color: var(--aku-footer-text);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 650;
    line-height: 1.22;
}

.aku-footer__intro p {
    margin: 0;
    color: var(--aku-footer-muted);
    font-size: .9375rem;
}

.aku-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

body .aku-footer .aku-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-block-size: 44px;
    padding: .65rem .95rem;
    border: 1px solid var(--aku-footer-rule);
    border-radius: 10px;
    background: var(--aku-footer-paper);
    color: var(--aku-footer-text);
    font: inherit;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

body .aku-footer .aku-footer__button:hover {
    border-color: var(--aku-footer-link);
    color: var(--aku-footer-link);
}

body .aku-footer .aku-footer__button--primary {
    border-color: transparent;
    background: var(--aku-footer-accent);
    color: #fff;
}

body .aku-footer .aku-footer__button--primary:hover {
    border-color: transparent;
    background: #5b21b6;
    color: #fff;
}

[dir="rtl"] .aku-footer__cta-actions svg {
    transform: scaleX(-1);
}

.aku-footer__main {
    display: grid;
    grid-template-columns: minmax(18rem, .75fr) minmax(0, 2.4fr);
    gap: 1.75rem clamp(1.25rem, 4vw, 3.25rem);
}

.aku-footer__brand,
.aku-footer__columns nav {
    min-inline-size: 0;
}

.aku-footer__logo {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
}

.aku-footer__baseline {
    margin: .7rem 0 .24rem;
    color: var(--aku-footer-text);
    font-size: 1rem;
    font-weight: 650;
}

.aku-footer__description {
    max-inline-size: 40ch;
    margin: 0;
    color: var(--aku-footer-muted);
    font-size: .875rem;
}

.aku-footer__social {
    margin-block-start: .85rem;
}

.aku-footer__social strong {
    display: block;
    margin-block-end: .35rem;
    color: var(--aku-footer-text);
    font-size: .75rem;
    font-weight: 650;
}

.aku-footer__social div {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

body .aku-footer__social a {
    display: grid;
    place-items: center;
    inline-size: 44px;
    block-size: 44px;
    color: var(--aku-footer-link);
    border: 1px solid var(--aku-footer-rule);
    border-radius: 10px;
}

.aku-footer__social a:hover {
    background: var(--aku-footer-tint);
}

.aku-footer__social svg {
    width: 16px;
    height: 16px;
}

.aku-footer__columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.85rem, 2vw, 1.625rem);
}

body .aku-footer__columns h3 {
    margin: .35rem 0 .55rem;
    color: var(--aku-footer-text);
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.35;
}

.aku-footer__columns ul,
.aku-footer__language-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body .aku-footer__columns a,
body .aku-footer__language-list a {
    display: inline-flex;
    align-items: center;
    min-block-size: 33px;
    padding-block: .2rem;
    color: var(--aku-footer-muted);
    font-size: .875rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-decoration: none;
}

body .aku-footer__columns a:hover,
body .aku-footer__language-list a:hover {
    color: var(--aku-footer-link);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.aku-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    margin-block-start: clamp(1.5rem, 3vw, 2.25rem);
    padding-block-start: .75rem;
    border-block-start: 1px solid var(--aku-footer-rule);
}

.aku-footer__copyright {
    margin: 0;
    color: var(--aku-footer-muted);
    font-size: .8125rem;
}

.aku-footer__utilities {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .85rem;
    align-items: flex-start;
    min-inline-size: 0;
}

.aku-footer__utility {
    position: relative;
    min-inline-size: 0;
}

.aku-footer__utility summary,
body .aku-footer__utility-link {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-block-size: 44px;
    padding: 0 .25rem;
    color: var(--aku-footer-text);
    font-size: .8125rem;
    font-weight: 625;
    list-style: none;
    cursor: pointer;
    text-decoration: none;
}

body .aku-footer__utility-link:hover {
    color: var(--aku-footer-link);
    text-decoration: underline;
}

.aku-footer__utility summary::-webkit-details-marker {
    display: none;
}

.aku-footer__utility summary::after {
    content: '';
    inline-size: .42rem;
    block-size: .42rem;
    margin: -.2rem .18rem 0;
    border-block-end: 1.5px solid currentColor;
    border-inline-end: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.aku-footer__utility[open] summary::after {
    margin-block-start: .15rem;
    transform: rotate(-135deg);
}

.aku-footer__languages summary svg,
.aku-footer__languages summary [lang] {
    color: var(--aku-footer-link);
}

.aku-footer__newsletter,
.aku-footer .aku-footer__language-list {
    position: absolute;
    z-index: 2;
    inset-block-end: calc(100% + .25rem);
    inset-inline-end: 0;
    inline-size: 22rem;
    padding: .875rem;
    background: var(--aku-footer-paper);
    border: 1px solid var(--aku-footer-rule);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgb(22 16 43 / 9%);
}

.aku-footer .aku-footer__language-list {
    inline-size: 10rem;
}

.aku-footer__language-list a {
    padding-inline: .35rem;
}

body .aku-footer__language-list a[aria-current] {
    color: var(--aku-footer-link);
    font-weight: 650;
}

.aku-footer__newsletter p {
    margin: 0 0 .7rem;
    color: var(--aku-footer-muted);
    font-size: .8125rem;
}

.aku-footer__newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .6rem;
    margin: 0;
}

.aku-footer__newsletter-form input[type="email"] {
    inline-size: 100%;
    min-inline-size: 0;
    padding: .55rem .6rem;
    border: 1px solid var(--aku-footer-rule);
    border-radius: 10px;
    background: var(--aku-footer-paper);
    color: var(--aku-footer-text);
    font-size: 1rem;
}

.aku-footer__consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: var(--aku-footer-muted);
    font-size: .8125rem;
}

.aku-footer .aku-footer__consent input[type="checkbox"] {
    appearance: auto !important;
    display: block !important;
    position: static !important;
    flex: 0 0 18px;
    block-size: 18px;
    margin: .12rem 0 0;
    opacity: 1 !important;
    accent-color: var(--aku-footer-accent);
}

.aku-footer :focus-visible {
    outline: 2px solid var(--aku-footer-link);
    outline-offset: 3px;
}

@media (max-width: 960px) {
    .aku-footer__main {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 820px) {
    .aku-footer__newsletter,
    .aku-footer .aku-footer__language-list {
        position: static;
        inline-size: 100%;
        box-shadow: none;
    }
}

@media (max-width: 640px) {
    .aku-footer__container {
        padding-block-start: 1.25rem;
    }

    .aku-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.1rem;
    }

    body .aku-footer__columns a,
    body .aku-footer__language-list a {
        min-block-size: 44px;
    }

    .aku-footer__utilities {
        inline-size: 100%;
    }

    .aku-footer__utility {
        max-inline-size: 100%;
    }
}

@media (max-width: 400px) {
    .aku-footer__cta {
        row-gap: .85rem;
    }

    .aku-footer__cta-actions {
        inline-size: 100%;
    }

    .aku-footer__cta-actions .aku-footer__button {
        flex: 1 1 100%;
    }

    .aku-footer__newsletter-form {
        grid-template-columns: minmax(0, 1fr);
    }
}
