/* yasal.css: /yasal/ altındaki sayfaların ortak stili (portal index.html ile aynı renk ve yazı dili). */
:root {
  --bg: #0e0f12;
  --bg-2: #15171c;
  --bg-3: #1b1e24;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #efeae2;
  --muted: #aaa49b;
  --faint: #8a857c;
  --accent: #f5862a;
  --lime: #d4ff3f;
  --ok: #4ade80;
  --err: #ff8a7a;
  --radius: 20px;
  --fs-s: 13px;
  --fs-m: 16px;
  --fs-l: 20px;
  --fs-xl: 32px;
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font: 500 var(--fs-m)/1.6 var(--body);
  overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 12% -8%, rgba(245, 134, 42, .12), transparent 70%),
    radial-gradient(55rem 30rem at 92% -4%, rgba(212, 255, 63, .07), transparent 70%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 100% 48px,
    var(--bg);
}
a { color: inherit; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- başlık ---------- */
header.top { padding: 28px 0 8px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .02em; color: var(--muted); font-size: var(--fs-s); min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--text); }
.langlink, .lang button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  font: 700 var(--fs-s)/1 var(--body); letter-spacing: .06em; text-decoration: none; cursor: pointer;
}
.langlink:hover, .lang button:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.lang { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.lang button { border-color: transparent; min-height: 36px; }
.lang button[aria-pressed="true"] { background: var(--text); color: #111; }

/* ---------- belge düzeni ---------- */
.doc { padding: 36px 0 56px; }
.doc > .wrap { display: grid; gap: 32px; }
@media (min-width: 980px) { .doc > .wrap { grid-template-columns: 220px minmax(0, 1fr); align-items: start; } }
.side { font-size: var(--fs-s); }
@media (min-width: 980px) { .side { position: sticky; top: 24px; } }
.side p { margin: 0 0 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 980px) { .side ul { flex-direction: column; } }
.side a {
  display: flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 12px;
  color: var(--muted); text-decoration: none; border: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.side a:hover { color: var(--text); border-color: var(--line-2); }
.side a[aria-current="page"] { color: var(--text); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.prose { max-width: 760px; min-width: 0; }
.eyebrow { margin: 0 0 12px; font-size: var(--fs-s); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.prose h1 { margin: 0; font: 800 clamp(40px, 6vw, 60px)/.98 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.prose .lede { margin: 18px 0 0; font-size: var(--fs-l); color: var(--muted); }
.prose .meta { margin: 14px 0 0; color: var(--faint); font-size: var(--fs-s); }
.prose h2 { margin: 40px 0 10px; font: 800 var(--fs-l)/1.2 var(--display); letter-spacing: -.01em; }
.prose h3 { margin: 26px 0 6px; font: 700 var(--fs-m)/1.3 var(--body); color: var(--text); }
.prose p, .prose li { color: #d9d4cb; overflow-wrap: anywhere; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--text); text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 3px; }
.prose a:hover { color: #fff; text-decoration-color: var(--accent); }
.prose strong { color: var(--text); }
.callout {
  margin: 22px 0; padding: 16px 18px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.callout p { margin: 4px 0; }
.lang-sep { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line-2); }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-m); min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #d9d4cb; }
th { color: var(--text); font-weight: 700; background: rgba(255,255,255,.03); }
tr:last-child td { border-bottom: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--accent); color: #1f0f03; text-decoration: none !important;
  font: 800 var(--fs-l)/1 var(--display); letter-spacing: .01em;
  box-shadow: 0 10px 24px -12px var(--accent);
}
.btn:hover { filter: brightness(1.06); color: #1f0f03 !important; }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn[disabled] { opacity: .55; cursor: progress; filter: none; }

/* ---------- altbilgi (portal ile aynı) ---------- */
footer.site { border-top: 1px solid var(--line); padding: 26px 0 32px; color: var(--faint); font-size: var(--fs-s); }
footer.site .wrap { display: grid; gap: 14px; }
.notice { margin: 0; max-width: 820px; color: var(--muted); line-height: 1.55; }
.notice b { color: var(--text); }
.notice.en { color: var(--faint); }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0 -10px; padding: 0; list-style: none; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
.legal-links a:hover { color: var(--text); text-decoration-color: var(--accent); }
.footmeta { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

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