.legal-page-hero {
    padding: 48px 0 36px;
}

[data-theme="dark"] .legal-page-hero {
    border-bottom-color: #2d2d4e;
}

.legal-page-hero__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .legal-page-hero__title {
    color: #f0ece4;
}

.legal-page-hero__subtitle {
    color: #7a7a7a;
    font-size: 0.95rem;
}

[data-theme="dark"] .legal-page-hero__subtitle {
    color: #8a8aa0;
}

.terms-content {
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #ede0d4;
    border-radius: 12px;
}

[data-theme="dark"] .terms-content {
    background: #1f2937;
    border-color: #334155;
    color: #e2e8f0;
}

.terms-content h4 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    margin-bottom: 30px !important;
    text-align: center;
    border-bottom: 2px solid #ede0d4;
}

.terms-content h5 {
    color: #4a4a4a;
    font-weight: 700;
    margin-top: 2rem;
}

.terms-content h5:first-child {
    margin-top: 0;
}

[data-theme="dark"] .terms-content h5 {
    color: #e2e8f0;
}

.terms-content p,
.terms-content li {
    font-size: 0.95rem;
    color: #555;
    text-align: justify;
}

[data-theme="dark"] .terms-content p,
[data-theme="dark"] .terms-content li {
    color: #cbd5e1;
}

.terms-content ul {
    padding-left: 1.2rem;
    list-style-type: none;
}

.terms-content li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
}

.terms-content li::before {
    content: "•";
    color: #7f5539;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-legal-table {
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #fff;
}

.about-legal-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0.75rem 0.95rem;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.92rem;
}

.about-legal-row:last-child {
    border-bottom: none;
}

.about-legal-row span {
    color: #64748b;
}

.about-legal-row strong {
    color: #0f172a;
    font-weight: 600;
}

[data-theme="dark"] .about-legal-table {
    background: #1f2937;
    border-color: #334155;
}

[data-theme="dark"] .about-legal-row {
    border-color: #334155;
}

[data-theme="dark"] .about-legal-row span {
    color: #94a3b8;
}

[data-theme="dark"] .about-legal-row strong {
    color: #e2e8f0;
}

.terms-content .text-muted {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.85rem;
}

.terms-content::-webkit-scrollbar {
    width: 6px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #ede0d4;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .terms-content {
        padding: 24px;
    }
}

