/* Desk Ritual — yasal ve destek sayfaları. Sistem yazı tipi, betik yok. */
:root {
  --brand: #347B70;
  --brand-deep: #285653;
  --brand-soft: #E3F1EB;
  --bg: #FBFAF8;
  --card: #FFFFFF;
  --text: #202B29;
  --muted: #5C6864;
  --border: #DDE8E2;
  --warn-bg: #F9ECE3;
  --warn-text: #8D5942;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #7CC3B4;
    --brand-deep: #A9DCCF;
    --brand-soft: #1C3431;
    --bg: #111816;
    --card: #18211F;
    --text: #E8EEEC;
    --muted: #A7B4AF;
    --border: #2C3A36;
    --warn-bg: #3A2A22;
    --warn-text: #F1C9B4;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--border); background: var(--card); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 700; color: var(--brand-deep); text-decoration: none; font-size: 1.125rem; padding: 10px 0; }
nav.top { display: flex; flex-wrap: wrap; gap: 0 4px; }
nav.top a { display: inline-block; padding: 10px 8px; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
nav.top a[aria-current="page"] { color: var(--brand-deep); font-weight: 600; }
main { padding: 24px 0 48px; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 8px; color: var(--brand-deep); }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2em 0 0.5em; }
h3 { font-size: 1.0625rem; margin: 1.5em 0 0.25em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
a { color: var(--brand); text-underline-offset: 2px; }
.meta { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.5em; }
.lead { font-size: 1.125rem; }
.note { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; margin: 1.25em 0; }
.placeholder { background: var(--warn-bg); color: var(--warn-text); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.cards { list-style: none; padding: 0; display: grid; gap: 12px; }
.cards a { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; text-decoration: none; color: var(--text); min-height: 44px; }
.cards a strong { color: var(--brand-deep); display: block; }
.cards a span { color: var(--muted); font-size: 0.9375rem; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1em 0 1.5em; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
thead th { background: var(--brand-soft); color: var(--text); }
tbody tr:last-child td { border-bottom: 0; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin: 0 0 10px; }
summary { cursor: pointer; padding: 12px 16px; min-height: 44px; font-weight: 600; }
details > div { padding: 0 16px 4px; }
footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.875rem; padding: 20px 0 32px; }
footer.site a { color: var(--muted); }
footer.site p { margin: 0 0 0.5em; }
