/**
 * Atex Lab v1 — フッター導線（Support / Privacy Policy / Dev Log）
 * 拡張カードの product-item__support--with-bg と同系統のボタン型リンク。
 * 3 カラム等幅（grid）。
 */
.site-footer-nav {
    margin: 0 0 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.site-footer-nav__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 34rem);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.site-footer-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    width: 100%;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--link);
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-footer-nav__btn:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.11);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

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

.site-footer-nav__btn:focus:not(:focus-visible) {
    outline: none;
}

.site-footer-nav__btn[aria-current="page"] {
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.site-footer-nav__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.site-footer-nav__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:root[data-theme="dark"] .site-footer-nav__btn {
    background: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .site-footer-nav__btn:hover {
    background-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .site-footer-nav__btn[aria-current="page"] {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .site-footer-nav__btn {
        background: rgba(255, 255, 255, 0.08);
    }
    :root:not([data-theme]) .site-footer-nav__btn:hover {
        background-color: rgba(255, 255, 255, 0.14);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    }
    :root:not([data-theme]) .site-footer-nav__btn[aria-current="page"] {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 420px) {
    .site-footer-nav__list {
        gap: 8px;
        width: 100%;
    }
    .site-footer-nav__btn {
        font-size: 12px;
        padding: 6px 6px;
        gap: 4px;
    }
    .site-footer-nav__btn svg {
        width: 16px;
        height: 16px;
    }
}
