/* Shared subpage layout */
.subpage {
    max-width: 32rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}
@media (min-width: 768px) {
    .subpage {
        max-width: none;
        padding: 3rem 4rem 4rem;
    }
}

/* Terms gets wider (no-op on desktop since subpage is already full-width) */
.subpage-wide {
    max-width: 48rem;
}
@media (min-width: 768px) {
    .subpage-wide {
        max-width: none;
    }
}

/* Top bar */
.subpage-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

/* Back link */
.subpage-back {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease;
}
.subpage-back:hover {
    color: #111827;
}

/* Language toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    border-radius: 9999px;
    padding: 2px;
}
.lang-toggle button {
    padding: 4px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #9ca3af;
}
.lang-toggle button.active {
    background-color: #ef5400;
    color: #fff;
}
