/* Kök alan adının yasal sayfaları (tools/legal-site). Davet sayfasıyla (deploy/invite/invite.css) aynı renkler ve yazı
   ailesi; yazı tipi indirilmez, sistem yazısına düşer. Betik yok. */
:root {
  --bg: #f7f4ef;
  --card: #ffffff;
  --text: #1f1b17;
  --muted: #6b635a;
  --primary: #c54223;
  --border: rgba(31, 27, 23, .1);
  --stripe: rgba(31, 27, 23, .035);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171513;
    --card: #221f1c;
    --text: #f3eee8;
    --muted: #aba298;
    --primary: #f27f61;
    --border: rgba(255, 245, 235, .09);
    --stripe: rgba(255, 245, 235, .04);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--primary); text-underline-offset: 2px; }

.top, .card, .foot { width: 100%; max-width: 760px; margin: 0 auto; }

.top { padding: 8px 4px 16px; }
.brand { font-weight: 700; letter-spacing: .02em; text-decoration: none; font-size: 18px; }

.card {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  overflow-wrap: anywhere;
}

.card.home { max-width: 480px; text-align: center; padding: 32px 24px; }
.home ul { list-style: none; padding: 0; margin: 20px 0 0; }
.home li { margin: 10px 0; }

h1 { margin: 0 0 8px; font-size: 24px; line-height: 1.3; }
h2 { margin: 28px 0 8px; font-size: 18px; line-height: 1.35; }
h3 { margin: 20px 0 6px; font-size: 16px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 4px 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }

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

.table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }
tbody tr:nth-child(odd) { background: var(--stripe); }
tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 560px) {
  .table { border: 0; border-radius: 0; overflow: visible; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tbody tr { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 12px; background: none; }
  tbody tr:nth-child(odd) { background: none; }
  td { border-bottom: 1px solid var(--border); }
  td:first-child { font-weight: 600; }
}

.foot { padding: 20px 4px 8px; color: var(--muted); font-size: 14px; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 12px; }
.foot p { margin: 4px 0; }
[aria-current="page"] { color: var(--text); font-weight: 600; }
