/* css/legal-page.css - extends static-page.css for longer legal documents
   (privacy-policy.html, terms-of-service.html) that need numbered sections,
   tables, and rights-card grids beyond what a simple content page needs. */

.legal-page-container {
    max-width: 880px;
}

.legal-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--slate-grey);
    font-size: var(--font-sm);
    margin-top: 8px;
}

.legal-dates .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--slate-grey);
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.legal-section-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00E5FF;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

.legal-section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--soft-white);
}

.legal-body {
    color: var(--slate-grey);
    font-size: var(--font-sm);
    line-height: 1.7;
}

.legal-body p {
    margin: 0 0 14px;
}

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

.legal-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: #00E5FF;
    margin: 20px 0 10px;
}

.legal-body h3:first-child {
    margin-top: 0;
}

.legal-body h4 {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--soft-white);
    margin: 14px 0 8px;
}

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

.legal-body ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.legal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00E5FF;
}

.legal-note {
    font-size: 12px;
    color: var(--slate-grey);
    font-style: italic;
    opacity: 0.85;
}

.legal-highlight {
    text-align: center;
    font-weight: 600;
    color: #00E5FF;
    font-size: var(--font-md);
}

/* Usage table */
.legal-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.legal-table th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #00E5FF;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.25);
}

.legal-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--card-border);
    vertical-align: top;
}

.legal-table td:first-child {
    color: var(--soft-white);
    font-weight: 500;
    white-space: nowrap;
}

/* Rights cards */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px 0;
}

.rights-card {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-left: 3px solid #00E5FF;
    border-radius: 10px;
    padding: 16px;
}

.rights-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--soft-white);
    margin: 0 0 6px;
}

.rights-card h4 i {
    color: #00E5FF;
}

.rights-card p {
    margin: 0;
    font-size: 13px;
    color: var(--slate-grey);
}

/* Contact cards */
.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.legal-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 18px;
}

.legal-contact-card h4 {
    margin: 0 0 10px;
    font-size: 13px;
    color: #00E5FF;
}

.legal-contact-card p {
    margin: 0;
    font-size: 13px;
    color: var(--soft-white);
    line-height: 1.6;
}

.legal-contact-card a {
    color: #00E5FF;
    text-decoration: none;
}

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

@media (max-width: 767px) {
    .rights-grid,
    .legal-contact-grid {
        grid-template-columns: 1fr;
    }
    .legal-section-header h2 {
        font-size: 17px;
    }
}
