:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #16181d;
  --muted: #5c6270;
  --rule: #e4e6eb;
  --link: #1c5bd4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --fg: #e9eaee;
    --muted: #9aa1b1;
    --rule: #262a33;
    --link: #7aa7ff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.top {
  border-bottom: 1px solid var(--rule);
  padding: 20px 24px;
}

.brand {
  color: var(--fg);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 46rem;
  padding: 40px 24px 64px;
}

h1 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px;
}

h2 {
  border-top: 1px solid var(--rule);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  padding-top: 28px;
}

p { margin: 0 0 16px; }

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

.table-scroll {
  margin: 1.5rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
  table-layout: fixed;
}

th,
td {
  border: 1px solid var(--rule);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

thead th {
  font-weight: 600;
}

tbody th {
  font-weight: 600;
}

td .dash {
  color: var(--muted);
}

/* Dar ekranda beş sütun sığmıyor; yatay kaydırma yerine her sağlayıcı bir kart oluyor. Başlık satırı
   kayboluyor, sütun adını hücrenin kendi data-label'ı taşıyor. */
@media (max-width: 40rem) {
  table,
  tbody,
  tbody tr,
  tbody th,
  tbody td {
    display: block;
    width: auto;
  }

  thead {
    display: none;
  }

  tbody tr {
    border: 1px solid var(--rule);
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.9rem;
  }

  tbody th,
  tbody td {
    border: 0;
    padding: 0.2rem 0;
  }

  tbody th {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  tbody td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

.updated,
.switch {
  color: var(--muted);
  font-size: 0.9rem;
}

.docs {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.docs li {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}

.docs span {
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 8px;
}

footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 auto;
  max-width: 46rem;
  padding: 24px;
}

footer p { margin: 0 0 4px; }
