/* Sistem yazı tipi; dış kaynak yok. Boyutlar rem: tarayıcı yazı boyutuna uyar. */
:root {
  --bg: #fffdf9;
  --fg: #1c1a17;
  --muted: #4d4740;
  --link: #8a3f00;
  --accent: #7a3e00;
  --accent-fg: #ffffff;
  --card: #f6efe6;
  --border: #d3c6b6;
  --focus: #0047b3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161412;
    --fg: #f3eee8;
    --muted: #cfc6bb;
    --link: #ffb877;
    --accent: #ffb877;
    --accent-fg: #2a1600;
    --card: #221e1a;
    --border: #4a423a;
    --focus: #9cc2ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main, .site-header nav, .site-footer { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
main { padding-bottom: 3rem; }
main:focus { outline: none; }

h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 2.25rem; margin: 2rem 0 .5rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; padding-top: .75rem; border-top: 1px solid var(--border); }
h3 { font-size: 1.15rem; margin: .75rem 0 .25rem; }

a { color: var(--link); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.skip { position: absolute; left: 1rem; top: -10rem; padding: .5rem 1rem; background: var(--accent); color: var(--accent-fg); z-index: 10; }
.skip:focus { top: .5rem; }

.site-header { border-bottom: 1px solid var(--border); }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; min-height: 3.5rem; }
.site-header a { padding: .5rem 0; }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; margin-inline-end: auto; }
.brand:hover { text-decoration: underline; }

.lead { font-size: 1.2rem; color: var(--muted); }

.actions, .links, .cards { list-style: none; padding: 0; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin: 1.25rem 0; }
.actions a { display: inline-block; padding: .5rem 0; min-height: 2.75rem; }
.button { background: var(--accent); color: var(--accent-fg) !important; text-decoration: none; border-radius: .5rem; padding: .6rem 1.1rem !important; font-weight: 600; }
.button:hover { text-decoration: underline; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: .25rem 1.25rem .75rem; }
.card p { margin: .25rem 0 .5rem; }

.links li { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.links a { font-weight: 600; }
.handle { color: var(--muted); }

.email { font-size: 1.2rem; font-weight: 600; word-break: break-word; }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); padding-top: 1rem; padding-bottom: 2rem; font-size: .95rem; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.site-header .lang { margin-inline-start: auto; }
.brand { margin-inline-end: 0; }

.stats { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: .75rem 1rem; }
.stat dd { margin: 0; font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.stat dt { color: var(--muted); }
.note { color: var(--muted); font-size: .95rem; }
.handle { word-break: break-word; }
