/* Yazı tipleri sitenin kendisinden gelir; ziyaretçi bilgisi üçüncü taraflara gitmez. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/Inter-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/Inter-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/Inter-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-display: swap; src: url('/fonts/DMSerifDisplay-Regular.ttf') format('truetype'); }

:root {
  --bg: #FAF8F6;
  --surface: #FFFFFF;
  --border: #ECE8E4;
  --text: #1A1A1A;
  --muted: #777777;
  --accent: #E5484D;
  --accent-soft: #FFE5E3;
  --on-accent-soft: #B4232A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E10;
    --surface: #18181C;
    --border: #26262C;
    --text: #F2F0EE;
    --muted: #8A8A8E;
    --accent: #FF5A5F;
    --accent-soft: #2A1415;
    --on-accent-soft: #FF8A8E;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

header.brand img { width: 44px; height: 44px; border-radius: 12px; }
header.brand span { font-family: 'DM Serif Display', serif; font-size: 22px; }
header.brand nav { margin-left: auto; }

header.brand nav a {
  color: var(--on-accent-soft);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.1;
  margin: 0 0 8px;
}

.updated { color: var(--muted); margin: 0 0 28px; }

.summary {
  background: var(--accent-soft);
  color: var(--on-accent-soft);
  border-radius: 20px;
  padding: 18px 20px;
  font-weight: 500;
  margin-bottom: 28px;
}

section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

section h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 6px;
}

section p, section li { color: var(--muted); margin: 6px 0; }
section ul { padding-left: 20px; margin: 8px 0 0; }
section strong { color: var(--text); font-weight: 600; }
section a { color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
section a:hover { text-decoration: underline; }

footer { color: var(--muted); font-size: 14px; text-align: center; margin-top: 32px; }
