:root {
  color-scheme: dark;
  --bg: #070911;
  --surface: rgba(132, 157, 218, 0.08);
  --surface-strong: rgba(149, 172, 232, 0.12);
  --border: rgba(187, 204, 255, 0.16);
  --text: #f7f8ff;
  --muted: #a5aec2;
  --blue: #82b8ff;
  --purple: #b998ff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(114, 183, 255, 0.15), transparent 30rem),
    radial-gradient(circle at 95% 10%, rgba(185, 152, 255, 0.13), transparent 28rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: #bcd7ff; }

a:hover { color: #fff; }

.shell {
  width: min(100% - 36px, 920px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 9, 17, 0.78);
  backdrop-filter: blur(24px) saturate(1.3);
}

.site-header .shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.35px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  box-shadow: 0 0 22px rgba(114, 183, 255, 0.18);
}

.header-actions { display: flex; align-items: center; gap: 9px; }

.language,
.back-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.language:hover,
.back-link:hover { background: var(--surface-strong); }

.hero {
  padding: 82px 0 54px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 90px;
}

.legal-card {
  min-height: 240px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(145, 170, 232, 0.11), rgba(45, 53, 78, 0.07));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.legal-card:hover {
  border-color: rgba(137, 188, 255, 0.42);
  color: var(--text);
  transform: translateY(-3px);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #07101e;
  background: linear-gradient(135deg, #dcecff, var(--blue), var(--purple));
  font-size: 22px;
  font-weight: 800;
}

.legal-card h2 { margin: 28px 0 9px; font-size: 23px; letter-spacing: -0.025em; }
.legal-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.legal-card span { display: inline-block; margin-top: 21px; color: #c6d9ff; font-size: 14px; font-weight: 700; }

.document {
  padding: 64px 0 100px;
}

.document-header {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.document h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(36px, 6vw, 55px);
}

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

.document section {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(187, 204, 255, 0.11);
  border-radius: 18px;
  background: rgba(132, 157, 218, 0.045);
}

.document h2 { margin: 0 0 12px; font-size: 21px; letter-spacing: -0.02em; }
.document p, .document li { color: #c3c9d8; font-size: 15px; line-height: 1.75; }
.document p { margin: 10px 0 0; }
.document ul { margin: 10px 0 0; padding-left: 20px; }
.document strong { color: var(--text); }

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(130, 184, 255, 0.25);
  border-radius: 15px;
  color: #d7e6ff;
  background: rgba(114, 183, 255, 0.08);
  line-height: 1.6;
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
}

.site-footer .shell { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 15px; }

[data-lang="en"] { display: none; }
html.lang-en [data-lang="tr"] { display: none; }
html.lang-en [data-lang="en"] { display: revert; }

@media (max-width: 680px) {
  .site-header .shell { min-height: 64px; }
  .brand img { width: 36px; height: 36px; }
  .hero { padding-top: 60px; }
  .legal-grid { grid-template-columns: 1fr; }
  .document { padding-top: 45px; }
  .document section { padding: 20px; }
  .site-footer .shell { flex-direction: column; }
}

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