/* ============================================================
   GOODFOODIES — LEGAL PAGES
   ============================================================ */

.legal-page {
    padding-top: 100px;
    padding-bottom: 96px;
    min-height: 70vh;
}

.legal-back {
    margin-bottom: 32px;
}

.legal-back__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--blue);
    transition: gap var(--t), opacity var(--t);
}
.legal-back__link:hover {
    gap: 10px;
    opacity: 0.8;
}

.legal-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.legal-content {
    max-width: 740px;
}

.legal-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray);
}
.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--black);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-section p {
    font-size: 0.93rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 14px;
}
.legal-section ul li {
    font-size: 0.93rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--blue);
    font-weight: 700;
    transition: opacity var(--t);
}
.legal-section a:hover { opacity: 0.75; }

.legal-source {
    font-size: 0.82rem;
    color: var(--gray-text);
    margin-top: 40px;
}
.legal-source a {
    color: var(--blue);
    font-weight: 700;
}
