/* ==========================================================================
   Site 6: the site-wide chrome of the home-6 redesign (Oct 2026)
   Header (partials/main_menu.php), footer (partials/footer.php) and the
   signup modal's look (partials/account_modal.php). Loaded on every page of
   layouts.main, layouts.guides and layouts.stats, so it must not style
   anything outside .s6-header, .s6-footer and #accountModal.

   Same tokens and faces as /home-6 (the25-home6.css) and the Landing 6 kit
   (the25-landing6.css): Nunito Sans Black display, DM Sans text, #0967f2.
   Behaviour: js/the25-site6.js.
   ========================================================================== */

@font-face {
    font-family: "Nunito Sans S6";
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
    src: url("../fonts/Nunito_Sans/nunito-sans-latin-900.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans S6";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/DM_Sans/dm-sans-v11-latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans S6";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/DM_Sans/dm-sans-v11-latin-700.woff2") format("woff2");
}

.s6-header,
.s6-footer,
#accountModal {
    --s6-ink: #0d1b2e;
    --s6-body: #465366;
    --s6-muted: #6b7688;
    --s6-line: #dce3ec;
    --s6-paper: #ffffff;
    --s6-haze: #f1f5fa;
    --s6-blue: #0967f2;
    --s6-blue-deep: #0648b5;
    --s6-blue-soft: #e6f0ff;
    --s6-navy: #0b1734;
    --s6-navy-2: #12224a;
    --s6-sky: #5ea8ff;
    --s6-link-on-dark: #8fc0ff;
    --s6-amber: #ffc66b;
    --s6-ico-accent: #ffd60a; /* the bolt yellow of the logo */
    --s6-display: "Nunito Sans S6", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --s6-text: "DM Sans S6", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

/* ==========================================================================
   Buttons (header, footer, mobile panel)
   ========================================================================== */

.s6-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-family: var(--s6-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.s6-btn:active {
    transform: translateY(1px);
}

.s6-btn--primary {
    background: var(--s6-blue);
    color: #fff;
}

.s6-btn--primary:hover,
.s6-btn--primary:focus-visible {
    background: var(--s6-blue-deep);
    color: #fff;
}

.s6-btn--outline {
    border-color: var(--s6-line);
    background: var(--s6-paper);
    color: var(--s6-ink);
}

.s6-btn--outline:hover {
    border-color: var(--s6-ink);
    color: var(--s6-ink);
}

.s6-btn--ghost {
    border-color: var(--s6-line);
    background: transparent;
    color: var(--s6-ink);
}

.s6-btn--dark {
    border-color: rgba(255, 255, 255, .22);
    background: transparent;
    color: #fff;
}

.s6-btn--dark:hover {
    border-color: #fff;
    color: #fff;
}

.s6-header a:focus-visible,
.s6-header button:focus-visible,
.s6-footer a:focus-visible,
.s6-footer button:focus-visible {
    outline: 3px solid rgba(9, 103, 242, .45);
    outline-offset: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.s6-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    font-family: var(--s6-text);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.s6-header.is-scrolled {
    border-bottom-color: var(--s6-line);
    box-shadow: 0 6px 24px rgba(13, 27, 46, .06);
}

.s6-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.s6-header-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    width: min(100% - 48px, 1320px);
    height: 72px;
    margin-inline: auto;
}

.s6-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    color: var(--s6-ink);
    font-family: var(--s6-display);
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
}

.s6-logo img {
    display: block;
    width: auto;
    height: 30px;
    max-width: none;
}

.s6-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
}

.s6-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.s6-nav-item {
    position: relative;
}

.s6-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--s6-ink);
    font-family: var(--s6-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.s6-nav-link:hover,
.s6-has-menu.is-open > .s6-nav-link {
    background: var(--s6-haze);
    color: var(--s6-ink);
}

.s6-nav-link .fa-chevron-down,
.s6-lang-btn .fa-chevron-down,
.s6-footer-lang .fa-chevron-up {
    font-size: 10px;
    opacity: .6;
    transition: transform .2s ease;
}

.s6-has-menu.is-open > button .fa-chevron-down,
.s6-has-menu.is-open > button .fa-chevron-up {
    transform: rotate(180deg);
}

/* Dropdown panels */
.s6-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 5;
    border: 1px solid var(--s6-line);
    border-radius: 18px;
    background: var(--s6-paper);
    box-shadow: 0 24px 60px rgba(13, 27, 46, .14), 0 2px 6px rgba(13, 27, 46, .05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}

.s6-has-menu.is-open > .s6-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .16s ease, transform .16s ease, visibility 0s;
}

/* Invisible bridge so the pointer can travel from the button to the panel */
.s6-menu::before {
    position: absolute;
    top: -12px;
    right: 0;
    left: 0;
    height: 12px;
    content: "";
}

.s6-nav .s6-menu {
    display: grid;
    grid-auto-flow: column;
    gap: 6px;
    padding: 14px;
}

.s6-menu--product {
    grid-template-columns: repeat(2, 300px);
}

/* With the "Link in Bio" column (a third group) */
.s6-menu--product.s6-menu--wide {
    grid-template-columns: repeat(3, 300px);
}

/* Three 300px columns reach past the right edge on a small desktop: the
   panel starts beside the logo, not at the left of the window. */
@media (min-width: 1080px) and (max-width: 1199.98px) {
    .s6-menu--product.s6-menu--wide {
        grid-template-columns: repeat(3, 264px);
    }
}

.s6-menu--solutions {
    grid-template-columns: repeat(2, 290px);
}

.s6-menu--resources {
    grid-template-columns: repeat(2, 240px);
}

.s6-menu-group {
    padding: 4px;
}

.s6-menu-title {
    margin: 4px 10px 8px;
    color: var(--s6-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.s6-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 12px;
    color: var(--s6-ink);
    text-decoration: none;
    transition: background-color .14s ease;
}

.s6-menu-link:hover,
.s6-menu-link:focus-visible {
    background: var(--s6-haze);
    color: var(--s6-ink);
}

.s6-menu-icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    background: var(--s6-haze);
    color: var(--s6-ink);
}

.s6-menu-icon img {
    width: 22px;
    height: 22px;
}

/* Our own icons (Helpers\Site6Icons): an ink outline and one shape in the logo yellow */
.s6-ico {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    transition: transform .18s ease;
}

/* The token lives on the header and footer; the fallback is the same yellow, for an
   icon used in a page body. */
.s6-ico-a {
    fill: var(--s6-ico-accent, #ffd60a);
}

/* The logo phone leans; so does an icon under the pointer */
.s6-menu-link:hover .s6-ico,
.s6-menu-link:focus-visible .s6-ico {
    transform: rotate(-8deg);
}

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

.s6-menu-link:hover .s6-menu-icon {
    background: var(--s6-paper);
    box-shadow: 0 0 0 1px var(--s6-line);
}

.s6-menu-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.s6-menu-text b {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

.s6-menu-text small {
    margin-top: 2px;
    color: var(--s6-muted);
    font-size: 13px;
    line-height: 1.35;
}

.s6-new {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #e4f6ee;
    color: #0b7a4d;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    vertical-align: 2px;
}

/* Right side */
.s6-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.s6-login {
    padding: 10px 10px;
    color: var(--s6-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.s6-login:hover {
    color: var(--s6-blue-deep);
}

.s6-lang,
.s6-account {
    position: relative;
}

.s6-lang-btn,
.s6-avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--s6-ink);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
}

.s6-lang-btn:hover,
.s6-lang.is-open .s6-lang-btn {
    background: var(--s6-haze);
}

.s6-avatar-btn {
    padding: 2px;
    border-radius: 50%;
}

.s6-avatar-btn img {
    display: block;
    width: 36px;
    height: 36px;
    border: 2px solid var(--s6-paper);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--s6-line);
    object-fit: cover;
}

.s6-menu--lang,
.s6-menu--account {
    right: 0;
    left: auto;
    min-width: 200px;
    padding: 8px;
}

.s6-menu--lang a,
.s6-menu--account a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--s6-ink);
    font-size: 14.5px;
    font-weight: 400;
    text-decoration: none;
}

.s6-menu--lang a:hover,
.s6-menu--account a:hover {
    background: var(--s6-haze);
    color: var(--s6-ink);
}

.s6-menu--lang a[aria-current],
.s6-menu--flang a[aria-current] {
    font-weight: 700;
}

.s6-menu--account .s6-ico {
    width: 20px;
    height: 20px;
}

.s6-menu-sep {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--s6-line);
}

/* Burger (mobile only) */
.s6-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1.5px solid var(--s6-line);
    border-radius: 10px;
    background: var(--s6-paper);
    cursor: pointer;
}

.s6-burger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--s6-ink);
    transition: transform .2s ease, opacity .2s ease;
}

.s6-header.is-menu-open .s6-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.s6-header.is-menu-open .s6-burger span:nth-child(2) {
    opacity: 0;
}

.s6-header.is-menu-open .s6-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.s6-nav-langs,
.s6-nav-cta {
    display: none;
}

/* Tighter desktop */
@media (max-width: 1240px) {
    .s6-header-bar {
        gap: 18px;
    }

    .s6-nav-link {
        padding: 10px 10px;
    }
}

/* Mobile and tablet: the nav becomes a full-height panel under the bar */
@media (max-width: 1079.98px) {
    /* A backdrop-filter would make the header the containing block of the
       fixed nav panel and clip it to the 64px bar. */
    .s6-header {
        background: var(--s6-paper);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .s6-header-bar {
        width: min(100% - 32px, 1320px);
        height: 64px;
    }

    .s6-burger {
        display: inline-flex;
    }

    .s6-hide-sm {
        display: none !important;
    }

    .s6-nav {
        position: fixed;
        top: 64px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 24px;
        overflow-y: auto;
        background: var(--s6-paper);
        overscroll-behavior: contain;
    }

    .s6-header.is-menu-open .s6-nav {
        display: flex;
    }

    .s6-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .s6-nav-item {
        border-bottom: 1px solid var(--s6-line);
    }

    .s6-nav-link {
        justify-content: space-between;
        width: 100%;
        padding: 16px 4px;
        border-radius: 0;
        font-size: 17px;
    }

    .s6-nav-link:hover,
    .s6-has-menu.is-open > .s6-nav-link {
        background: transparent;
    }

    .s6-nav .s6-menu {
        position: static;
        display: none;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        padding: 0 0 12px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .s6-nav .s6-has-menu.is-open > .s6-menu {
        display: grid;
    }

    .s6-menu::before {
        display: none;
    }

    .s6-menu-group {
        padding: 0;
    }

    .s6-menu-title {
        margin: 10px 4px 6px;
    }

    .s6-menu-link {
        padding: 8px 4px;
    }

    .s6-nav-langs {
        display: block;
        margin-top: 18px;
    }

    .s6-nav-langs ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 4px;
    }

    .s6-nav-langs a {
        display: inline-block;
        padding: 7px 12px;
        border: 1px solid var(--s6-line);
        border-radius: 999px;
        color: var(--s6-ink);
        font-size: 14px;
        text-decoration: none;
    }

    .s6-nav-langs a[aria-current] {
        border-color: var(--s6-ink);
        font-weight: 700;
    }

    .s6-nav-cta {
        display: grid;
        gap: 10px;
        margin-top: auto;
        padding-top: 24px;
    }

    .s6-nav-cta .s6-btn {
        min-height: 50px;
        font-size: 16px;
    }

    .s6-lang {
        display: none;
    }

    /* The page behind the open menu must not scroll. html is the scroller
       (see the phone rule below), so it has to be locked too. */
    :root:has(body.s6-menu-locked),
    body.s6-menu-locked {
        overflow: hidden !important;
    }
}

/* Korean: break lines between words, never inside one (default CJK line breaking splits
   Hangul words, e.g. "링크" / "의" in a headline). Long URLs and code still wrap. */
html:lang(ko) body {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* the25-public.css (phones) puts overflow-x: hidden on html AND body, body with
   !important. That makes body its own scroll container, so nothing sticky
   (the header, a page's sticky filter bar) ever sticks on a phone. `clip`
   still hides sideways overflow without creating a scroll container. Browsers
   without `clip` ignore it and keep today's behaviour. */
@media (max-width: 767.98px) {
    body {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }
}

@media (max-width: 419.98px) {
    .s6-hide-xs {
        display: none !important;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* #footer-main: the old footer's id rule (the25-public.css) would win otherwise */
.s6-footer,
#footer-main.s6-footer {
    position: relative;
    padding: 72px 0 32px;
    border-top: 0;
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(9, 103, 242, .28), transparent 60%),
        var(--s6-navy);
    color: rgba(255, 255, 255, .72);
    font-family: var(--s6-text);
    font-size: 15px;
    line-height: 1.6;
}

.s6-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.s6-footer p {
    margin: 0;
}

.s6-footer a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.s6-footer a:hover {
    color: #fff;
}

.s6-footer-wrap {
    width: min(100% - 48px, 1320px);
    margin-inline: auto;
}

.s6-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.s6-footer-logo img {
    display: block;
    width: auto;
    height: 32px;
}

.s6-footer-logo span {
    color: #fff;
    font-family: var(--s6-display);
    font-size: 22px;
    font-weight: 900;
}

.s6-footer-pitch {
    max-width: 22ch;
    margin-top: 20px !important;
    color: #fff;
    font-family: var(--s6-display);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.01em;
}

.s6-footer-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.s6-footer-amazon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 10px 16px 10px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.s6-footer-amazon img {
    width: 26px;
    height: 26px;
    padding: 3px;
    border-radius: 7px;
    background: #fff;
}

.s6-footer-amazon span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.s6-footer-amazon b {
    color: #fff;
    font-size: 14.5px;
}

.s6-footer-amazon small {
    color: rgba(255, 255, 255, .6);
    font-size: 12.5px;
}

.s6-footer-stores {
    display: grid;
    gap: 10px;
    min-width: 300px;
}

.s6-footer-stores a {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 12px 18px 12px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    transition: background-color .18s ease, border-color .18s ease;
}

.s6-footer-stores a:hover {
    border-color: rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .09);
}

.s6-footer-stores i {
    grid-row: span 2;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    background: #fff;
    color: var(--s6-ink);
    font-size: 19px;
}

.s6-footer-store-name {
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
}

.s6-footer-store-score {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    line-height: 1.3;
}

.s6-footer-store-score b {
    color: #fff;
}

.s6-footer-store-score small {
    color: rgba(255, 255, 255, .6);
    font-size: 12.5px;
}

/* Five stars filled to --s6-stars (0-5) */
.s6-stars {
    --s6-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E");
    position: relative;
    display: inline-block;
    width: 70px;
    height: 13px;
    background: linear-gradient(90deg, var(--s6-amber) calc(var(--s6-stars, 0) / 5 * 100%), rgba(255, 255, 255, .25) 0);
    -webkit-mask: var(--s6-star) 0 0 / 14px 13px repeat-x;
    mask: var(--s6-star) 0 0 / 14px 13px repeat-x;
}

.s6-footer-cols {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
    padding: 48px 0;
}

.s6-footer-head {
    margin-bottom: 14px !important;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.s6-footer-col li + li {
    margin-top: 9px;
}

.s6-footer-col a {
    font-size: 15px;
}

.s6-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13.5px;
}

.s6-footer-legal {
    color: rgba(255, 255, 255, .55);
}

.s6-footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    align-items: center;
}

.s6-footer-policies a {
    color: rgba(255, 255, 255, .7);
}

.s6-footer-lang {
    position: relative;
}

.s6-footer-lang > button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.s6-menu--flang {
    top: auto;
    right: 0;
    bottom: calc(100% + 10px);
    left: auto;
    min-width: 190px;
    padding: 8px;
    transform: translateY(-6px);
}

.s6-menu--flang::before {
    top: auto;
    bottom: -12px;
}

.s6-menu--flang a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--s6-ink);
}

.s6-menu--flang a:hover {
    background: var(--s6-haze);
    color: var(--s6-ink);
}

@media (max-width: 1079.98px) {
    .s6-footer-top {
        grid-template-columns: 1fr;
    }

    .s6-footer-stores {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }

    .s6-footer-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .s6-footer {
        padding-top: 56px;
    }

    .s6-footer-wrap {
        width: min(100% - 32px, 1320px);
    }

    .s6-footer-stores {
        grid-template-columns: 1fr;
    }

    .s6-footer-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .s6-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   The header is sticky now, so sidebars that stuck at top: 0 start below it:
   the API docs nav (pages/api.php) and the guides nav (the25-guides.css).
   ========================================================================== */

.doc-sidebar,
.guides-sidebar {
    top: 72px !important;
    max-height: calc(100vh - 72px);
}

@media (max-width: 1079.98px) {
    .doc-sidebar,
    .guides-sidebar {
        top: 64px !important;
        max-height: calc(100vh - 64px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .s6-header *,
    .s6-footer * {
        transition: none !important;
    }
}
