/* Structavora — Yasal sayfalar ortak stili (site tasarımıyla bütünleşik).
   Token'lar, topbar, footer ve buton stilleri landing.html ile birebir uyumludur;
   böylece çerez politikası / aydınlatma / kullanım şartları sayfaları siteyle aynı
   görünür. İçerik tipografisi (başlık/paragraf/tablo/not) bu dosyada tanımlıdır. */

:root {
  --bg: #f5f7fa;
  --paper: #ffffff;
  --paper-2: #eef2f6;
  --ink: #0c1322;
  --ink-2: #344054;
  --muted: #667085;
  --faint: #8a95a5;
  --line: #dce2ea;
  --line-strong: #c2ccd8;
  --blue: #1f6feb;
  --blue-dark: #1450ad;
  --blue-soft: #eaf1fe;
  --amber: #b76a15;
  --amber-soft: #fcf1e2;
  --slate: #0f1a2c;
  --soft-shadow: 0 14px 38px rgba(15, 26, 44, 0.09);
  --r: 10px;
  --r-lg: 16px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(var(--wrap), calc(100% - 44px)); margin: 0 auto; }

/* ============ Topbar (landing ile aynı) ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0b1426;
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; white-space: nowrap; text-decoration: none; }
.brand-lockup { height: 40px; width: auto; min-height: 20px; flex: 0 0 auto; display: block; }
.nav-mid {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  color: rgba(255, 255, 255, 0.82); font-size: 14.5px; font-weight: 700;
}
.nav-mid a { transition: color 160ms ease; }
.nav-mid a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.topbar .nav-actions .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff;
}
.topbar .nav-actions .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.34);
}

/* ============ Buttons (landing ile aynı) ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--paper); color: var(--ink-2); font-size: 14.5px; font-weight: 800;
  white-space: nowrap; cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 12px 24px rgba(15, 26, 44, 0.09); }
.btn.primary {
  background: linear-gradient(135deg, var(--blue), #2f7bf0); border-color: var(--blue); color: #fff;
  box-shadow: 0 16px 30px rgba(31, 111, 235, 0.32);
}
.btn.primary:hover { box-shadow: 0 20px 40px rgba(31, 111, 235, 0.42); }

/* ============ Legal içerik ============ */
main { padding: 52px 0 64px; }
.legal { width: min(860px, calc(100% - 44px)); margin: 0 auto; }
.legal h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .lede { color: var(--muted); font-size: 15.5px; margin: 0 0 8px; }
.legal .updated { color: var(--faint); font-size: 13px; margin: 0 0 34px; }
.legal h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 36px 0 12px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal a:not(.btn) { color: var(--blue); font-weight: 600; }
.legal a:not(.btn):hover { color: var(--blue-dark); text-decoration: underline; }
.legal strong { font-weight: 700; }
.legal code {
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.86em;
  background: var(--paper-2); padding: 1px 6px; border-radius: 6px; color: var(--ink-2);
}
.legal .note {
  background: var(--blue-soft); border: 1px solid #cfe0ff; border-radius: var(--r);
  padding: 14px 18px; font-size: 14px; color: var(--ink-2); margin: 18px 0;
}
.legal .btn { margin-top: 6px; }
.legal .btn.primary { color: #fff; }

/* Tablolar */
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--paper); font-weight: 700; color: var(--ink-2); }
td { background: var(--paper); }

/* ============ Footer (landing ile aynı) ============ */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 13.5px; background: var(--paper); }
.footer-row { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-weight: 800; color: var(--ink-2); }
.footer-links a:hover { color: var(--blue); }

@media (max-width: 720px) {
  .nav-mid { display: none; }
  .nav { min-height: auto; padding: 13px 0; }
  .brand-lockup { height: 36px; }
  main { padding: 34px 0 48px; }
  .legal h1 { font-size: 26px; }
}
