/* =========================================================
   DEĞİŞİM GRUP — Yasal metin sayfaları
   ========================================================= */

:root {
  --orange: #f58220;
  --orange-dark: #dd6c0a;
  --ink: #23262b;
  --ink-2: #4a4f57;
  --gray: #7b818b;
  --line: #e8eaee;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ff-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --maxw: 900px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Üst bar ---------- */
.doc-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.doc-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.doc-head img { width: 152px; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 17px;
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}
.back svg { width: 15px; height: 15px; }
.back:hover {
  color: var(--orange-dark);
  border-color: rgba(245,130,32,.4);
  background: rgba(245,130,32,.06);
  transform: translateX(-2px);
}

/* ---------- Başlık ---------- */
.doc-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 340px at 12% -30%, rgba(245,130,32,.14), transparent 66%),
    radial-gradient(700px 300px at 92% -10%, rgba(123,129,139,.12), transparent 65%),
    var(--bg-soft);
  padding: 54px 0 40px;
}
.doc-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: rgba(245,130,32,.1);
  border: 1px solid rgba(245,130,32,.22);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 18px;
}
.doc-hero h1 {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.4vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0;
}
.doc-hero .sub {
  margin: 14px 0 0;
  font-size: 14.6px;
  color: var(--gray);
  max-width: 640px;
}

/* ---------- İçerik ---------- */
.doc-body {
  padding: 44px 0 70px;
}
.doc-body p {
  margin: 0 0 16px;
}
.doc-body h2 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.32;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 40px 0 14px;
  padding-left: 15px;
  border-left: 3px solid var(--orange);
}
.doc-body h3 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 32px 0 12px;
}
.doc-body h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  margin: 26px 0 10px;
}
.doc-body > *:first-child { margin-top: 0; }

.doc-body ul, .doc-body ol {
  margin: 0 0 18px;
  padding-left: 4px;
  list-style: none;
}
.doc-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}
.doc-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .6;
}
.doc-body ol {
  list-style: decimal;
  padding-left: 22px;
}
.doc-body ol li { margin-bottom: 9px; padding-left: 4px; }
.doc-body ol li::marker { color: var(--orange-dark); font-weight: 600; }

.doc-body strong, .doc-body b { color: var(--ink); font-weight: 600; }

.doc-body a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.doc-body a:hover { color: var(--orange); }

/* tablolar */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.doc-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.6px;
  min-width: 520px;
}
.doc-body table td,
.doc-body table th {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 13px 16px;
  vertical-align: top;
  text-align: left;
}
.doc-body table td:last-child,
.doc-body table th:last-child { border-right: 0; }
.doc-body table tr:last-child td { border-bottom: 0; }
.doc-body table tr:nth-child(odd) td { background: #fbfbfc; }
.doc-body table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
/* form kutucukları */
.doc-body table td.tick,
.doc-body table th.tick { width: 54px; text-align: center; }
.doc-body table td.tick::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1.5px solid #c9ccd3;
  border-radius: 4px;
  background: #fff;
  vertical-align: middle;
}
.doc-body table p { margin: 0 0 6px; }
.doc-body table p:last-child { margin-bottom: 0; }

/* bilgi kutusu */
.note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.6px;
  color: var(--ink-2);
  margin: 0 0 30px;
}
.note strong { color: var(--ink); }

/* diğer metinler */
.doc-more {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 46px;
}
.doc-more h2 {
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.doc-more ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 6px 20px;
}
.doc-more ul li { padding: 0; margin: 0; }
.doc-more ul li::before { display: none; }
.doc-more a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.2px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 9px 12px 9px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.doc-more a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .45;
  flex: none;
  transition: opacity .25s, transform .25s;
}
.doc-more a:hover {
  color: var(--orange-dark);
  background: rgba(245,130,32,.06);
  border-color: rgba(245,130,32,.18);
  transform: translateX(3px);
}
.doc-more a:hover::before { opacity: 1; transform: scale(1.35); }
.doc-more .ext { width: 13px; height: 13px; margin-left: auto; opacity: .5; flex: none; }

/* ---------- Alt bilgi ---------- */
.doc-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 26px 0;
  font-size: 13px;
  color: var(--gray);
}
.doc-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  align-items: center;
}
.doc-foot .legal-name { color: var(--ink-2); font-weight: 500; }
.doc-foot b { color: var(--ink-2); font-weight: 600; }

/* ---------- Giriş animasyonu ---------- */
.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .8s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .06s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .26s; }

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .doc-head img { width: 128px; }
  .back { padding: 8px 13px; font-size: 13px; }
  .doc-hero { padding: 36px 0 30px; }
  .doc-body { padding: 32px 0 54px; }
  .doc-more ul { grid-template-columns: 1fr; }
  .doc-foot .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .rise { opacity: 1; transform: none; }
}

@media print {
  .doc-head, .doc-more, .back { display: none; }
  body { font-size: 11.5pt; }
}
