/* Sıfırlama, yazı ve sayfa çerçevesi */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ground);
  color: var(--text);
  font: 400 var(--fs-body)/1.5 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--text); color: var(--ground); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
/* Sayfa değişiminde ana bölgeye verilen odak (ekran okuyucular için) görünmesin */
#app:focus { outline: none; }
.muted { color: var(--muted); }
small { font-size: var(--fs-small); }
strong { font-weight: 600; }

.title-xl { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.035em; line-height: 1; }
.title-lg { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.title-md { font-size: var(--fs-title); }
.title-sm { font-size: var(--fs-section); }
.lead { font-size: 18px; line-height: 1.5; max-width: 36em; }

/* Çerçeve: üst bar ve sayfa aynı kenar boşluklarını paylaşır */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap);
  height: 64px; padding: 0 var(--gutter);
  background: var(--ground);
  border-bottom: 1px solid var(--surface);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.tally-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--tally); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--text); }

.page { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 120px; }
.block-first { padding-top: 40px; }
.block { padding-top: 88px; }

/* Düzen yardımcıları */
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.tight { gap: 6px; }
.row.spread { justify-content: space-between; }
.stack { display: grid; gap: var(--gap); align-content: start; }
.grow { flex: 1; min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar { height: 56px; }
  .nav { gap: 14px; }
  .nav a:first-child { display: none; }
  .block { padding-top: 64px; }
  .block-first { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
