/*
  Hukuki metin sayfalarının (gizlilik.html, kosullar.html) ortak stili.
  index.html'in kendi <style> bloğu var ve bilerek dokunulmadı — o sayfa canlıda
  çalışıyor, iki metin sayfası için onu parçalamanın riski kazancından büyük.
  Palet index.html ile birebir aynı; renk değiştirilirse iki yerde değişmeli.
*/

@font-face {
  font-family: 'Bitter'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(fonts/bitter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(fonts/bitter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Franklin'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/librefranklin-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Franklin'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/librefranklin-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f2f5f4;
  --surface: #ffffff;
  --ink: #16221f;
  --ink-soft: #5c6b68;
  --rule: #dce4e2;
  --petrol: #0e6b64;
  --display: 'Bitter', Georgia, 'Times New Roman', serif;
  --body: 'Libre Franklin', 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101a18;
    --surface: #16221f;
    --ink: #e8efed;
    --ink-soft: #9aaba7;
    --rule: #26332f;
    --petrol: #4db3a8;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.masthead { border-bottom: 1px solid var(--rule); background: var(--surface); }
.masthead .wrap { display: flex; align-items: center; gap: 10px; padding: 18px 24px; }
.masthead a { color: var(--petrol); text-decoration: none; font-weight: 500; }
.masthead a:hover { text-decoration: underline; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.masthead .back { margin-left: auto; font-size: 0.9rem; }

main { padding: 40px 0 72px; }

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 6px;
  text-wrap: balance;
}
.updated { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 34px; }

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 38px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
h3 { font-size: 1rem; font-weight: 600; margin: 24px 0 6px; }

p, li { color: var(--ink); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 7px; }
a { color: var(--petrol); }

/*
  Buradaki `.todo` sınıfı kaldırıldı. Sayfalar taslakken doldurulacak yerleri sarıyla
  işaretliyordu; sayfa artık kayda davet ettiği için ziyaretçiye iç not göstermek doğru
  değil. Eksik başlıklar metinde okuyucuya yönelik dille ("henüz belirlenmedi,
  belirlendiğinde yayımlanacaktır") anlatılıyor.

  Neyin eksik olduğunun takibi HTML'de değil `docs/gelistirme-durumu.md`'de.
*/

.note {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--petrol);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 22px 0;
}
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

/* Tablolar dar ekranda sayfayı yatay kaydırmasın; kendi kutusunda kaysın. */
.table-scroll { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.94rem; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
}
th { font-weight: 600; background: var(--surface); }

footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  padding: 22px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
footer a { color: var(--ink-soft); }
