/* Yasal sayfaların ortak stili (website-template/legal/legal.css, Fawem token'larıyla).
   Yazı tipleri self-host: sayfalar /assets/css/fonts.css'i yükler. */
:root {
  --nf-bg: #F8F7F3;
  --nf-surface: #FFFFFF;
  --nf-fg: #0A0A0A;
  --nf-muted: #4D4D4D;
  --nf-line: rgba(10, 10, 10, .10);
  --nf-accent: #F3350C;
  --nf-font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --nf-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--nf-bg); }
body { margin: 0; background: var(--nf-bg); color: var(--nf-fg); font-family: var(--nf-font-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
main { max-width: 760px; margin: 0 auto; padding: 80px 24px 120px; }

a { color: var(--nf-accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--nf-accent); outline-offset: 3px; border-radius: 2px; }

.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 32px; font-size: 14px; color: var(--nf-muted); text-decoration: none; transition: color .2s ease-out, transform .25s cubic-bezier(.16, 1, .3, 1); }
.back:hover { color: var(--nf-accent); transform: translateX(-3px); }
.back:active { transform: translateX(-1px); }

h1 { font-family: var(--nf-font-display); font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 8px; text-wrap: balance; }
.lead { color: var(--nf-muted); font-size: 16px; margin: 0 0 8px; text-wrap: pretty; }
.updated { color: var(--nf-muted); font-size: 13px; margin: 0 0 48px; }
h2 { font-family: var(--nf-font-display); font-size: 22px; line-height: 1.3; margin: 48px 0 12px; scroll-margin-top: 24px; text-wrap: balance; }
h3 { font-size: 16px; margin: 28px 0 8px; }
p, li, td, th { color: var(--nf-muted); font-size: 15px; }
p { text-wrap: pretty; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 4px; }
strong, th { color: var(--nf-fg); }
code { font-size: 13px; color: var(--nf-fg); background: rgba(10, 10, 10, .05); padding: 1px 5px; border-radius: 4px; }

.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--nf-line); border-radius: 12px; background: var(--nf-surface);
  box-shadow: 0 1px 2px -1px rgb(10 10 10 / .06), 0 8px 24px -16px rgb(10 10 10 / .14); }
table { border-collapse: collapse; width: 100%; min-width: 600px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--nf-line); font-size: 14px; line-height: 1.6; }
thead th { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: rgba(10, 10, 10, .03); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }

.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1.5px solid var(--nf-fg); border-radius: 999px; background: transparent; color: var(--nf-fg);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s ease-out, color .2s ease-out, transform .25s cubic-bezier(.16, 1, .3, 1); }
.btn:hover { background: var(--nf-fg); color: var(--nf-surface); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--nf-fg); color: var(--nf-surface); }
.btn-solid:hover { background: var(--nf-accent); border-color: var(--nf-accent); }

nav.legal-nav { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--nf-line); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
nav.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- KVKK başvuru formu (yazdırılabilir) ---- */
.kf h2 { font-size: 18px; margin: 32px 0 10px; }
.kf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.kf-field { display: flex; flex-direction: column; font-size: 13px; color: var(--nf-muted); }
.kf-field.kf-wide { grid-column: 1 / -1; }
.kf-line { display: block; height: 30px; border-bottom: 1px solid rgba(10, 10, 10, .4); }
.kf-checks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--nf-fg); }
.kf-checks.kf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.kf-check { display: inline-flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.kf-box { flex: none; width: 14px; height: 14px; margin-top: 3px; border: 1.5px solid var(--nf-fg); border-radius: 3px; }
.kf-sign { margin-top: 36px; }
.kf-small { font-size: 13px; margin-top: 28px; }
.print-hint { font-size: 14px; }

@media (max-width: 560px) {
  .kf-grid, .kf-checks.kf-cols { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4; margin: 14mm 16mm; }
  html, body { background: #fff; }
  body { line-height: 1.45; }
  main { padding: 0; max-width: none; }
  .back, .no-print, nav.legal-nav { display: none !important; }
  h1 { font-size: 22px; margin-bottom: 4px; }
  .kf h2 { font-size: 13.5px; margin: 14px 0 6px; break-after: avoid; }
  p, li { font-size: 11.5px; }
  .kf-grid { gap: 6px 18px; }
  .kf-field { font-size: 10.5px; }
  .kf-line { height: 20px; }
  .kf-checks, .kf-checks.kf-cols { font-size: 11px; gap: 4px 18px; }
  .kf-box { width: 11px; height: 11px; margin-top: 2px; }
  .kf-sign { margin-top: 18px; }
  .kf-small { font-size: 10px; margin-top: 12px; }
  .kf-grid, .kf-checks { break-inside: avoid; }
  .table-scroll { box-shadow: none; overflow: visible; }
  table { min-width: 0; }
  a { color: inherit; text-decoration: none; }
}

/* Fawem: veri sorumlusu kartı */
.facts { list-style: none; padding: 20px 22px; margin: 16px 0; background: var(--nf-surface); border: 1px solid var(--nf-line); border-radius: 16px; }
.facts li + li { margin-top: 6px; }
