/* =====================================================================
   Yasal sayfalar: içindekiler + okunaklı metin
   ===================================================================== */

.legal-page .page-head { max-width: 860px; }
.lg-updated { margin-top: 10px !important; font-size: 14px !important; font-weight: 700; color: var(--ink-3) !important; }

.legal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-side { position: sticky; top: 118px; display: grid; gap: 18px; }

.legal-toc { padding: 18px 20px; }
.legal-toc b { font-family: var(--display); font-size: 16px; }
.legal-toc ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 7px; font-size: 15px; font-weight: 600; }
.legal-toc li::marker { color: var(--berry-dk); font-weight: 800; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--berry); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.legal-other { display: grid; gap: 8px; justify-items: start; }
.legal-other span { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink-2); }

.legal-doc { padding: 32px 36px; max-width: 860px; font-size: 16.5px; line-height: 1.7; }
.legal-doc section + section { margin-top: 28px; }
.legal-doc h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    scroll-margin-top: 120px;
}
.lg-n {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--berry);
    border: 2px solid var(--ink);
    font-size: 15px;
}
.legal-doc section { scroll-margin-top: 120px; }
.legal-doc p { margin: 0 0 10px; }
.legal-doc ul { margin: 0 0 10px; padding-left: 22px; display: grid; gap: 7px; }
.legal-doc li::marker { color: var(--berry-dk); }
.legal-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 30px 0 0 !important; padding-top: 18px; border-top: 2px dashed var(--ink-3); font-weight: 700; }

@media (max-width: 900px) {
    .legal-grid { grid-template-columns: 1fr; }
    .legal-side { position: static; }
    .legal-toc { display: none; }
    .legal-other { grid-auto-flow: column; justify-content: start; align-items: center; }
}
@media (max-width: 560px) {
    .legal-doc { padding: 22px 20px; font-size: 16px; }
    .legal-doc h2 { font-size: 20px; }
    .legal-other { grid-auto-flow: row; }
}
