/* DEKA — Politika sayfaları
   Klasik kurumsal yasal döküman tipografisi.
   Geniş okuma alanı, sade hiyerarşi, minimal renk. */

:root {
  --bg:          oklch(0.135 0.014 62);
  --bg-2:        oklch(0.17 0.015 62);
  --ink:         oklch(0.94 0.014 70);
  --ink-2:       oklch(0.80 0.014 68);
  --muted:       oklch(0.58 0.014 65);
  --muted-2:     oklch(0.44 0.012 65);
  --accent:      oklch(0.72 0.11 65);
  --hair:        color-mix(in oklch, var(--ink) 14%, transparent);
  --hair-2:      color-mix(in oklch, var(--ink) 7%, transparent);
  --ease:        cubic-bezier(.22,.61,.36,1);
  --disp:        'Fraunces', serif;
  --sans:        'Hanken Grotesk', sans-serif;
  --mono:        'IBM Plex Mono', monospace;
  --maxw:        780px;
}
@supports not (color: oklch(0 0 0)) {
  :root {
    --bg:      #221e19;
    --bg-2:    #2c261e;
    --ink:     #ede8df;
    --ink-2:   #c8bfad;
    --muted:   #948a77;
    --muted-2: #696154;
    --accent:  #c4a062;
    --hair:    rgba(237,232,223,0.14);
    --hair-2:  rgba(237,232,223,0.07);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.78;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hair);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .25s, text-decoration-color .25s;
}
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
::selection { background: var(--ink); color: var(--bg); }
img { max-width: 100%; display: block; }

/* Skip link */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 10001;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; outline: 2px solid var(--accent); outline-offset: 3px; color: var(--bg); }

/* NAV — sade üst bar */
.policy-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--hair-2);
}
.policy-nav .brand {
  font-family: var(--disp); font-weight: 400; font-size: 17px;
  letter-spacing: .34em; padding-left: .34em; color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
.policy-nav .brand:hover { color: var(--ink); text-decoration: none; }
.policy-nav .brand-mark { width: 22px; height: 22px; filter: invert(1) sepia(0.25) saturate(1.1); }
.policy-nav .back {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.policy-nav .back:hover { color: var(--ink); text-decoration: none; }

/* MAIN */
.policy-main {
  flex: 1;
  padding: clamp(80px, 12vh, 160px) clamp(28px, 5vw, 32px) clamp(96px, 14vh, 180px);
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}

/* HEADER — büyük başlık + tarih (etiket yok) */
.policy-header {
  margin-bottom: clamp(72px, 10vh, 120px);
}
.policy-header h1 {
  font-family: var(--disp); font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 3.4rem);
  line-height: 1.06; letter-spacing: -.02em;
  color: var(--ink);
}
.policy-header .meta {
  margin-top: 32px;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted-2);
  letter-spacing: .04em;
  line-height: 1.9;
}
.policy-header .meta span { display: block; }

/* SECTIONS */
.policy-article > section {
  margin-bottom: clamp(56px, 8vh, 88px);
  scroll-margin-top: 32px;
}
.policy-article h2 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}
.policy-article h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 32px 0 14px;
}

.policy-article p {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.82;
  margin-bottom: 16px;
}
.policy-article p strong { color: var(--ink); font-weight: 500; }
.policy-article p em { font-style: italic; color: var(--ink-2); }
.policy-article p code,
.policy-article li code,
.policy-article td code {
  font-family: var(--mono); font-size: .86em;
  color: var(--ink); letter-spacing: 0;
}

/* Listeler — sade, az kullanılır */
.policy-article ul, .policy-article ol {
  margin: 14px 0 22px 0;
  padding-left: 24px;
  color: var(--ink-2);
}
.policy-article li { margin-bottom: 10px; line-height: 1.76; }
.policy-article ul { list-style: none; padding-left: 0; }
.policy-article ul > li {
  position: relative; padding-left: 20px;
}
.policy-article ul > li::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--muted); font-weight: 400;
}
.policy-article ol { list-style: none; counter-reset: art; padding-left: 0; }
.policy-article ol > li {
  position: relative; padding-left: 36px; counter-increment: art;
}
.policy-article ol > li::before {
  content: counter(art, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--mono); font-size: .76em;
  color: var(--muted); font-weight: 400;
  letter-spacing: .04em;
}

/* Tablolar — sade, çizgisel */
.policy-article table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 14px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.policy-article th, .policy-article td {
  padding: 16px 20px 16px 0;
  text-align: left;
  border-bottom: 1px solid var(--hair-2);
  vertical-align: top;
  line-height: 1.65;
}
.policy-article th {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
  padding-top: 18px; padding-bottom: 14px;
}
.policy-article td { color: var(--ink-2); }
.policy-article tr:last-child td { border-bottom: 0; }

/* Veri Sorumlusu — sade definition list */
.vs-card {
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid var(--hair-2);
  border-bottom: 1px solid var(--hair-2);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px 28px;
  align-items: baseline;
}
.vs-card dt {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.vs-card dd { font-size: 15px; color: var(--ink); }
.vs-card dd a { color: var(--ink); }

/* Hakların listesi (a, b, c, ç...) — Türkçe alfabetik */
ol.tr-alpha { list-style: none; padding-left: 0; }
ol.tr-alpha > li {
  position: relative; padding-left: 32px;
  margin-bottom: 12px;
}
ol.tr-alpha > li::before {
  position: absolute; left: 0; top: 1px;
  font-family: var(--mono); font-size: .82em;
  color: var(--muted); font-weight: 400;
}
ol.tr-alpha > li:nth-child(1)::before { content: "a."; }
ol.tr-alpha > li:nth-child(2)::before { content: "b."; }
ol.tr-alpha > li:nth-child(3)::before { content: "c."; }
ol.tr-alpha > li:nth-child(4)::before { content: "ç."; }
ol.tr-alpha > li:nth-child(5)::before { content: "d."; }
ol.tr-alpha > li:nth-child(6)::before { content: "e."; }
ol.tr-alpha > li:nth-child(7)::before { content: "f."; }
ol.tr-alpha > li:nth-child(8)::before { content: "g."; }
ol.tr-alpha > li:nth-child(9)::before { content: "ğ."; }
ol.tr-alpha > li:nth-child(10)::before { content: "h."; }

/* FOOTER */
.policy-footer {
  border-top: 1px solid var(--hair-2);
  padding: 40px clamp(28px, 5vw, 64px) max(40px, calc(env(safe-area-inset-bottom) + 28px));
  margin-top: 80px;
}
.policy-footer-in {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 22px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2);
}
.policy-footer-links {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.policy-footer-links a {
  color: var(--muted); transition: color .25s;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
}
.policy-footer-links a:hover { color: var(--ink); }
.policy-footer-links a.active { color: var(--ink); }

/* Focus */
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .policy-main { padding-top: clamp(56px, 9vh, 96px); padding-bottom: clamp(72px, 11vh, 120px); }
  .policy-article p { font-size: 14.5px; line-height: 1.78; }
  .policy-article h2 { font-size: 10.5px; letter-spacing: .26em; margin-bottom: 22px; }
  .policy-article table {
    display: block; overflow-x: auto;
  }
  .policy-article th, .policy-article td {
    padding: 14px 16px 14px 0; font-size: 13px;
    white-space: nowrap;
  }
  .vs-card { grid-template-columns: 1fr; gap: 4px 0; padding: 18px 0; }
  .vs-card dt { margin-top: 14px; }
  .vs-card dt:first-child { margin-top: 0; }
}
