/* Guzzi DM Asistanı · yasal sayfalar */
:root {
  --bg: #f7f3ee;
  --surface: #ffffff;
  --ink: #2a201b;
  --muted: #6b5d54;
  --brand: #2a201b;
  --accent: #9c6c47;
  --line: #e6ddd3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1512;
    --surface: #261d19;
    --ink: #f1e9e1;
    --muted: #bba99b;
    --brand: #120d0b;
    --accent: #c99b72;
    --line: #3a2e28;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

header {
  background: var(--brand);
  color: #c99b72;
  padding: 20px 16px;
  text-align: center;
}

header a { color: inherit; text-decoration: none; }

.wordmark {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: 0.35em;
  margin: 0 0 0 0.35em;
  font-weight: 400;
}

.tagline {
  font-size: 11px;
  letter-spacing: 0.4em;
  margin: 2px 0 0 0.4em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
}

h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 6px;
}

h2 {
  font-size: 18px;
  margin: 28px 0 8px;
}

h3 { font-size: 16px; margin: 20px 0 6px; }

p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 4px; }

a { color: var(--accent); }

.meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.lang-switch { font-size: 14px; margin-bottom: 20px; }

.box {
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0 28px; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 0 16px 32px;
}

@media (max-width: 520px) {
  article { padding: 22px 16px; }
  h1 { font-size: 24px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: 0; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td:first-child { font-weight: 600; }
}
