/*
 * Yasal sayfaların tek stil dosyası.
 *
 * ⚠️ Dış kaynak YOK — ne yazı tipi, ne CSS, ne betik. Sebep ölçülmüş bir
 * risk: gizlilik politikası sayfasının kendisi üçüncü bir sunucuya istek
 * atarsa, o sunucu ziyaretçinin IP'sini görür. "Veri toplamıyoruz" diyen bir
 * sayfanın veri sızdırması, mağaza incelemesinde bulunması en kolay çelişki.
 *
 * ⚠️ Bu yüzden Google Fonts de dahil hiçbir CDN kullanılmıyor; sistem yazı
 * tipleri yeterli.
 */

:root {
  color-scheme: light dark;

  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1c1a17;
  --text2: #4a4640;
  --text3: #6f6a62;
  --line: #e2ded7;
  --accent: #1d5c4a;
  --warnBg: #fdf6e8;
  --warnLine: #e8d5a8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --surface: #201e1b;
    --text: #f2efe9;
    --text2: #c4beb4;
    --text3: #979187;
    --line: #35322d;
    --accent: #6fbfa3;
    --warnBg: #2a2417;
    --warnLine: #4d4128;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.7 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 22px 96px;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header.site .wrap {
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.2px;
}

nav a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  margin-right: 14px;
}

nav a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 8px 0 6px;
  text-wrap: balance;
  letter-spacing: -0.4px;
}

h2 {
  font-size: 20px;
  margin: 38px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  letter-spacing: -0.2px;
}

h3 {
  font-size: 16px;
  margin: 24px 0 6px;
}

p,
li {
  color: var(--text2);
}

strong {
  color: var(--text);
}

.updated {
  color: var(--text3);
  font-size: 14px;
  margin: 0 0 26px;
}

.lead {
  font-size: 17px;
  color: var(--text);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

.scroll {
  overflow-x: auto;
}

th,
td {
  text-align: start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--text);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
  background: var(--surface);
}

.note {
  background: var(--warnBg);
  border: 1px solid var(--warnLine);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 20px 0;
}

.note p:last-child,
.note ul:last-child {
  margin-bottom: 0;
}

.note p:first-child {
  margin-top: 0;
}



footer.site {
  border-top: 1px solid var(--line);
  color: var(--text3);
  font-size: 14px;
  margin-top: 56px;
}

footer.site .wrap {
  padding: 22px;
}

code {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.92em;
}

/*
 * Dil geçişi — üst menünün sonundaki tek bağlantı.
 *
 * ⚠️ Bilerek ayrı bir sınıf: diğer menü bağlantıları sayfalar arasında
 * gezdiriyor, bu ise AYNI sayfanın öbür dilini açıyor. Aynı görünselerdi
 * kullanıcı "Gizlilik" ile "English"i aynı tür eylem sanardı.
 */
nav a.lang {
  margin-right: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--text3);
}

/*
 * ⚠️ `margin-left: auto` DENENDİ VE KALDIRILDI: `nav` flex değil, içindeki
 * bağlantılar satır içi akıyor — otomatik kenar boşluğu satır içi bir öğede
 * hiçbir şey yapmaz. Ayırıcı görevi soldaki çizgi görüyor.
 */
