/* ═══ CyphraShop Legal Pages ═══ */
/* Standalone stylesheet for /page/* legal content */

.legal-wrapper {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0a1a 0%, #0d1117 100%);
    font-family: 'Outfit', sans-serif;
    color: #c9d1d9;
}

/* ── Top Bar ── */
.legal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 24px 0;
}
.legal-topbar .brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.legal-topbar .brand span { color: #00e6ff; }
.legal-topbar .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #8b949e;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s ease;
}
.legal-topbar .back-btn:hover {
    background: rgba(0,230,255,0.08);
    border-color: rgba(0,230,255,0.25);
    color: #00e6ff;
}
.legal-topbar .back-btn svg { width: 16px; height: 16px; }

/* ── Content Area ── */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 100px;
}

/* ── Title Block ── */
.legal-title-block {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-title-block h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.legal-title-block .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: #6e7681;
}
.legal-title-block .meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #6e7681;
}

/* ── Section Headings ── */
.legal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #e6edf3;
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 3px solid #00e6ff;
    line-height: 1.4;
}

/* ── Body Text ── */
.legal-content p {
    font-size: 0.93rem;
    line-height: 1.8;
    color: #9ca3af;
    margin: 0 0 16px;
}

/* ── Lists ── */
.legal-content ul {
    padding-left: 0;
    margin: 12px 0 20px;
    list-style: none;
}
.legal-content li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #9ca3af;
}
.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e6ff;
    opacity: 0.6;
}
.legal-content li strong {
    color: #c9d1d9;
    font-weight: 600;
}

/* ── Links ── */
.legal-content a {
    color: #00e6ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,230,255,0.2);
    transition: 0.2s;
}
.legal-content a:hover {
    border-bottom-color: #00e6ff;
}

/* ── Callout Box ── */
.legal-callout {
    background: rgba(0,230,255,0.04);
    border: 1px solid rgba(0,230,255,0.12);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 24px 0 32px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.legal-callout .callout-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: #00e6ff;
}
.legal-callout p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #b0c4d8;
}
.legal-callout strong { color: #e6edf3; }

/* ── Table (Refund) ── */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}
.legal-table th,
.legal-table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.legal-table th {
    background: rgba(255,255,255,0.03);
    color: #e6edf3;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.legal-table td { color: #9ca3af; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:hover td { background: rgba(255,255,255,0.02); }

.badge-yes { color: #4ade80; font-weight: 600; }
.badge-no { color: #f87171; font-weight: 600; }
.badge-case { color: #fbbf24; font-weight: 600; }

/* ── Footer ── */
.legal-footer {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
    font-size: 0.78rem;
    color: #484f58;
}
.legal-footer a { color: #6e7681; text-decoration: none; }
.legal-footer a:hover { color: #00e6ff; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .legal-content { padding: 32px 16px 60px; }
    .legal-title-block h1 { font-size: 1.7rem; }
    .legal-content h2 { font-size: 1.1rem; }
    .legal-topbar { padding: 20px 16px 0; }
    .legal-table th, .legal-table td { padding: 10px 14px; font-size: 0.82rem; }
}
