/* Shared public footer. Uses the existing paper/lime design tokens. */
.ps-site-footer {
    padding: 48px 0 22px;
    background: var(--ps-soft);
    color: var(--ps-ink);
}
.ps-site-footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.1fr;
    gap: 56px;
    padding-bottom: 40px;
}
.ps-site-footer-main > * { min-width: 0; }
.ps-site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
}
.ps-site-footer-logo img {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}
.ps-site-footer-logo span {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}
.ps-site-footer-brand p {
    margin-top: 18px;
    color: var(--ps-muted);
    font-size: 16px;
    line-height: 1.65;
}
.ps-site-footer-main h2 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.015em;
    text-wrap: initial;
}
.ps-site-footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ps-site-footer-nav a {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 0;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 5px;
    transition: text-decoration-color 150ms ease;
}
.ps-site-footer-help {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 100%;
    min-height: 48px;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    background: var(--ps-lime);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    transition: background-color 150ms ease;
}
.ps-site-footer-help svg { width: 20px; height: 20px; }
.ps-site-footer-legal {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 32px;
    row-gap: 8px;
    padding-top: 14px;
    color: var(--ps-muted);
    font-size: 13px;
    line-height: 1.6;
}
.ps-site-footer-copyright { white-space: nowrap; }
.ps-site-footer-legal nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.ps-site-footer-legal nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color 150ms ease;
}
.ps-site-footer-trademark { grid-column: 1 / -1; max-width: 80ch; }
.ps-site-footer a:focus-visible {
    outline: 3px solid #617824;
    outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
    .ps-site-footer-nav a:hover,
    .ps-site-footer-legal nav a:hover { text-decoration-color: currentColor; }
    .ps-site-footer-help:hover { background: #c9ef42; }
}
@media (max-width: 1000px) {
    .ps-site-footer-main { grid-template-columns: 1.1fr 1fr 1.1fr; gap: 30px; }
    .ps-site-footer-main h2 { font-size: 16px; }
    .ps-site-footer-help { gap: 12px; }
}
@media (max-width: 760px) {
    .ps-site-footer { padding-top: 36px; }
    .ps-site-footer-main { grid-template-columns: 1fr 1fr; gap: 30px 28px; padding-bottom: 30px; }
    .ps-site-footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 32px; }
    .ps-site-footer-logo { flex: none; }
    .ps-site-footer-brand p { margin-top: 0; font-size: 14px; }
    .ps-site-footer-legal { grid-template-columns: 1fr; row-gap: 6px; }
    .ps-site-footer-legal nav { column-gap: 24px; row-gap: 0; }
    .ps-site-footer-trademark { margin-top: 2px; }
}
@media (max-width: 480px) {
    .ps-site-footer-main { grid-template-columns: 1fr; gap: 28px; }
    .ps-site-footer-brand { grid-column: auto; display: block; }
    .ps-site-footer-brand p { margin-top: 14px; font-size: 15px; }
    .ps-site-footer-main h2 { margin-bottom: 6px; font-size: 17px; }
    .ps-site-footer-nav a { font-size: 15px; }
    .ps-site-footer-help { width: 100%; margin-top: 12px; }
    .ps-site-footer-legal nav { display: grid; grid-template-columns: 1fr; }
    .ps-site-footer-legal { row-gap: 8px; }
    .ps-site-footer-legal nav a { width: fit-content; }
}
@media (prefers-reduced-motion: reduce) {
    .ps-site-footer a { transition: none; }
}
