/* ============================================================
   CUMA Engineering — Legal Page Styles (Privacy / Terms)
   ============================================================ */

.legal-hero {
    background: linear-gradient(135deg, var(--black) 0%, #2d1100 100%);
    color: var(--white); padding: 60px 0;
    position: relative; overflow: hidden; text-align: center;
}
.legal-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255,106,0,.12), transparent);
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 10px; }
.legal-hero p  { color: #bbb; font-size: 1rem; max-width: 560px; margin: 0 auto; }
.legal-hero .last-updated {
    display: inline-block; margin-top: 14px;
    font-size: .82rem; color: #888;
}

.legal-content {
    padding: 56px 0 72px;
}

.legal-content .container {
    max-width: 860px;
}

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

.legal-section h2 {
    font-size: 1.3rem; font-weight: 800;
    color: var(--black);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange-lite);
}

.legal-section h3 {
    font-size: 1.05rem; font-weight: 700;
    color: var(--black);
    margin: 20px 0 10px;
}

.legal-section p {
    color: var(--mid-gray);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: .95rem;
}

.legal-section ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 14px;
}
.legal-section ul li {
    color: var(--mid-gray);
    line-height: 1.8;
    margin-bottom: 6px;
    font-size: .93rem;
}

.legal-section ul li strong {
    color: var(--black);
}

.legal-section a {
    color: var(--orange);
    text-decoration: underline;
}
.legal-section a:hover { color: var(--orange-dark); }

@media (max-width: 600px) {
    .legal-hero { padding: 40px 0; }
    .legal-content { padding: 36px 0 56px; }
    .legal-section { margin-bottom: 28px; }
    .legal-section h2 { font-size: 1.1rem; }
    .legal-section p,
    .legal-section ul li { font-size: .9rem; }
}
