/* Faykit metin sayfaları (muratcan.work/faykit). Renkler sitenin kendi değişkenleri; açık mod varsayılan. */
:root {
  color-scheme: light;
  --bg: #f4f4f1;
  --ink: #26262a;
  --muted: #6b6b70;
  --faint: #8c8c91;
  --blue: #1f6fd1;
  --card: #fafaf8;
  --line: rgba(0, 0, 0, 0.06);
  --dash: rgba(0, 0, 0, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #101113;
  --ink: #e4e4e7;
  --muted: #9a9aa0;
  --faint: #7e7e84;
  --blue: #5b9bef;
  --card: #161719;
  --line: rgba(255, 255, 255, 0.065);
  --dash: rgba(255, 255, 255, 0.18);
}
@view-transition {
  navigation: auto;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}
@media (min-width: 768px) {
  .doc {
    padding: 28px 32px 64px;
  }
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
}
.brand {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.bar-end {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.updated {
  margin-top: 8px;
  font-size: 14px;
  color: var(--faint);
}
.lead {
  margin-top: 12px;
  font-size: 18px;
  color: var(--muted);
}
section {
  margin-top: 28px;
}
h2 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
section p {
  color: var(--muted);
}
section p + p,
section ul + p,
section p + ul {
  margin-top: 10px;
}
section ul {
  padding-left: 20px;
  color: var(--muted);
}
section li + li {
  margin-top: 6px;
}
section b {
  color: var(--ink);
}

.foot {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.foot-title {
  font-weight: 600;
}
.foot ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 8px;
}
.owner {
  margin-top: 16px;
  color: var(--faint);
}
.owner a {
  color: inherit;
}

/* Tema düğmesi: sitenin ana sayfasındakiyle aynı */
.theme-toggle {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--dash);
}
.theme-toggle:active {
  transform: scale(0.92);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.theme-toggle svg {
  position: absolute;
  width: 17px;
  height: 17px;
  transition: opacity 0.25s, transform 0.45s var(--ease);
}
.theme-toggle .sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
:root[data-theme='dark'] .theme-toggle .sun {
  opacity: 1;
  transform: none;
}
:root[data-theme='dark'] .theme-toggle .moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle svg {
    transition: none;
  }
}
