/* Yasal sayfalar (privacy.html, terms.html) – ana sayfayla aynı renkler ve yazı tipleri */
:root { --ink: #2c3566; --ink-2: #57618f; --muted: #7d86ad; --bg: #fffaf4; --card: #fff; --line: #ece6dc; --primary: #5b5fe0; --shadow: 0 1px 2px rgba(44,53,102,.06), 0 12px 32px -12px rgba(44,53,102,.18); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
a { color: var(--primary); }
.wrap { width: min(860px, 100% - 32px); margin-inline: auto; }
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,250,244,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.15rem; }
.logo img { width: 56px; height: auto; }
.top a.back { font-weight: 700; text-decoration: none; }
.doc { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(22px, 5vw, 48px); margin: 28px 0 40px; min-height: 50vh; overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin: 0 0 4px; }
.sub { color: var(--ink-2); margin: 0 0 6px; }
.updated { color: var(--muted); font-size: .95rem; margin: 0 0 24px; }
.doc h2 { font-size: 1.35rem; margin: 34px 0 10px; scroll-margin-top: 80px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 4px 0; }
.loading { color: var(--muted); }
.toc { background: #f6f3ff; border-radius: 16px; padding: 16px 20px; margin: 0 0 8px; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 0; list-style: none; columns: 2 260px; column-gap: 24px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.table { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f6f3ff; }
mark { background: #fff3b0; padding: 0 2px; border-radius: 3px; }
footer { padding: 0 0 40px; color: var(--muted); font-size: .95rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
footer a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
@media print { .top, .toc, footer nav { display: none; } .doc { box-shadow: none; margin: 0; } body { background: #fff; } }
