/* ============================================================
   Legal Pages — business-terms.html, worker-terms.html, privacy.html
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.legal-hero {
    background: #FF880B;
    display: flex;
    flex-direction: column;
}

.legal-hero .hero__nav {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    padding: 28px 80px;
    justify-content: flex-start;
}

.legal-hero .hero__menu {
    align-items: center;
    margin: 0 auto;
}

.legal-hero .hero__signup {
    background: #fff;
    color: #FF880B;
}

.legal-hero__content {
    padding: 72px 80px 96px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

.legal-hero__label::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,0.75);
    border-radius: 1px;
}

.legal-hero__title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 700px;
}

.legal-hero__date {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ── Content wrapper ──────────────────────────────────────── */
.legal-wrapper {
    background: #fff;
    padding: 80px 20px 120px;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

/* ── Intro box ────────────────────────────────────────────── */
.legal-intro {
    font-size: 16px;
    line-height: 1.75;
    color: #4a4155;
    background: #faf7f4;
    border-left: 3px solid #FF880B;
    padding: 20px 24px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 48px;
}

/* ── Sections ─────────────────────────────────────────────── */
.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #171315;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FF880B;
}

.legal-section p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #3c3748;
    margin-bottom: 14px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.legal-section ul li {
    font-size: 15.5px;
    line-height: 1.75;
    color: #3c3748;
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid #f0edf5;
    position: relative;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 19px;
    width: 6px;
    height: 6px;
    background: #FF880B;
    border-radius: 50%;
}

.legal-section ul li:last-child {
    border-bottom: none;
}

/* Sub-bullets (nested) */
.legal-section ul ul {
    margin: 8px 0 0 20px;
}

.legal-section ul ul li {
    padding: 6px 0 6px 16px;
    border-bottom: none;
    font-size: 15px;
}

.legal-section ul ul li::before {
    width: 4px;
    height: 4px;
    top: 14px;
    background: #c0b8cc;
}

/* Contact card */
.legal-note {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 20px 0;
}

.legal-note p {
    margin: 0;
    font-size: 15px;
    color: #78350f;
    line-height: 1.6;
}

.legal-contact {
    background: #faf7f4;
    border: 1px solid #ede9f4;
    border-radius: 10px;
    padding: 24px 28px;
    margin-top: 12px;
}

.legal-contact p {
    margin-bottom: 4px;
    font-size: 15px;
    color: #3c3748;
}

.legal-contact a {
    color: #FF880B;
    text-decoration: none;
}

.legal-contact a:hover {
    text-decoration: underline;
}

.legal-email-link {
    color: #FF880B;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    font-weight: 600;
}

.legal-email-link:hover,
.legal-email-link:focus-visible {
    text-decoration-thickness: 2px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .legal-hero .hero__nav {
        padding: 24px 40px;
    }

    .legal-hero__content {
        padding: 56px 40px 72px;
    }

    .legal-hero__title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .legal-hero .hero__nav {
        padding: 16px 20px;
    }

    .legal-hero__content {
        padding: 40px 20px 56px;
    }

    .legal-hero__title {
        font-size: 30px;
    }

    .legal-wrapper {
        padding: 56px 20px 80px;
    }
}
