:root {
  color-scheme: light;
  --bg: #ffffff; --bg-soft: #f6f7f9; --surface: #ffffff;
  --line: #e5e7eb; --fg: #111827; --muted: #5b6472;
  --accent: #1f6feb; --accent-fg: #ffffff;
  --ok: #15803d; --warn: #b45309;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px -12px rgba(16,24,40,.18);
  --radius: 16px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1117; --bg-soft: #131923; --surface: #161c26;
  --line: #262d3a; --fg: #e8ecf3; --muted: #9aa4b2;
  --accent: #58a6ff; --accent-fg: #06182f;
  --ok: #4ade80; --warn: #fbbf24;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.7);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--fg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; position: relative; }

/* Arka plan: sabit konumlu iki radial gradient. Tıklanamaz, boyama dışında hiçbir
   maliyeti yok — animasyon, canvas ve JS yok, yani ölçülecek bir kare süresi de yok.
   Sayfa yolundan türeyen data-bg (0–5) yalnızca ton açısını kaydırır: her sayfa
   biraz farklı görünür, ek bir bayt inmeden. */
#bg-wash {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  --tint: var(--accent);
  background:
    radial-gradient(60vw 50vh at 78% -8%, color-mix(in oklab, var(--tint) 26%, transparent), transparent 70%),
    radial-gradient(48vw 42vh at 6% 4%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 72%);
}
[data-bg="1"] #bg-wash { --tint: color-mix(in oklab, var(--accent) 70%, #16a34a); }
[data-bg="2"] #bg-wash { --tint: color-mix(in oklab, var(--accent) 70%, #a855f7); }
[data-bg="3"] #bg-wash { --tint: color-mix(in oklab, var(--accent) 70%, #f59e0b); }
[data-bg="4"] #bg-wash { --tint: color-mix(in oklab, var(--accent) 70%, #ec4899); }
[data-bg="5"] #bg-wash { --tint: color-mix(in oklab, var(--accent) 70%, #06b6d4); }
header.site-header, main, footer.site-footer, .hero { position: relative; z-index: 1; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
main { padding: 32px 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; margin-right: auto; }
.logo span { color: var(--accent); }
.site-header nav.main { display: flex; gap: 14px; font-size: .92rem; }
.site-header nav.main a:hover { color: var(--accent); }

/* 12 dil: tek satırda kaydırılır, kaydırma çubuğu gizli. */
.langs {
  display: flex; gap: 4px; max-width: 100%; overflow-x: auto;
  scrollbar-width: none; scroll-padding-inline: 8px;
}
.langs::-webkit-scrollbar { display: none; }
.lang {
  flex: 0 0 auto;
  padding: .3rem .55rem; font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 8px; color: var(--muted);
}
.lang.on { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.theme-toggle {
  width: 34px; height: 30px; display: grid; place-items: center; font-size: .95rem;
  cursor: pointer; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--muted); padding: 0;
}
.theme-toggle::before { content: "🌙"; }
:root[data-theme="dark"] .theme-toggle::before { content: "☀️"; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .7rem 1.2rem; font: inherit; font-weight: 600; font-size: .93rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  color: var(--fg); cursor: pointer;
}
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { filter: brightness(1.08); }

h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.22; letter-spacing: -.03em; }
h2 { font-size: 1.18rem; letter-spacing: -.01em; }
.lede { margin-top: .8rem; color: var(--muted); font-size: 1.05rem; max-width: 62ch; }

.hero { padding: 42px 0 28px; }
.hero .actions, .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.4rem; }
.home-hero { padding: 56px 0 34px; }
.home-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); max-width: 24ch; }
.home-hero .lede { font-size: clamp(1.05rem, 1.7vw, 1.18rem); max-width: 60ch; }
.eyebrow {
  display: inline-block; margin-bottom: .9rem;
  padding: .3rem .75rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 8%, transparent);
}

/* Rakam şeridi: dt üstte, dd altta — dl geçerliliği için dt önce yazılıyor. */
.stats {
  display: grid; gap: 12px; margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
/* dt geçerli bir dl için dd'den önce yazılmalı; görselde sayı üstte olsun
   diye sırayı CSS çeviriyor. */
.stats div {
  display: flex; flex-direction: column-reverse;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: color-mix(in oklab, var(--surface) 72%, transparent);
}
.stats dd { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.stats dt { margin-top: .25rem; font-size: .78rem; color: var(--muted); }

/* Vitrin kartı: katalog tek uygulamalıyken ızgara yarım kalıyordu. */
.feature {
  display: flex; gap: 22px; flex-wrap: wrap; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
}
.feature .icon {
  flex: 0 0 72px; width: 72px; height: 72px; display: grid; place-items: center;
  font-size: 2.2rem; border-radius: 18px; background: var(--bg-soft); overflow: hidden;
}
.feature .icon img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { flex: 1 1 320px; }
.feature-body h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.feature-body h3 a:hover { color: var(--accent); }
.feature-tagline { margin-top: .45rem; color: var(--muted); max-width: 60ch; }

/* Yetenek kutuları */
.tile {
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
}
.tile h3 { font-size: 1rem; }
.tile p { margin-top: .4rem; color: var(--muted); font-size: .9rem; }

/* Çalışma biçimi adımları */
ol.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
ol.steps li {
  counter-increment: step; position: relative; padding: 18px 20px 18px 60px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
}
ol.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 28px; height: 28px; display: grid; place-items: center;
  font-size: .88rem; font-weight: 800; border-radius: 9px;
  background: var(--accent); color: var(--accent-fg);
}
ol.steps h3 { font-size: 1rem; }
ol.steps p { margin-top: .3rem; color: var(--muted); font-size: .92rem; }

/* Kategori çipleri */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; font-size: .88rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.chip:hover { border-color: var(--accent); color: var(--fg); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.chip-n { opacity: .6; font-size: .8rem; }

.cta {
  margin-top: 44px; padding: 32px 26px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in oklab, var(--accent) 8%, transparent);
}
.cta p { margin: .6rem auto 0; color: var(--muted); max-width: 54ch; }
.cta .actions { justify-content: center; }

.page-meta { margin-top: 2.4rem; font-size: .82rem; color: var(--muted); }
.page-meta a:hover { color: var(--accent); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
/* Kart başına backdrop-filter yoktu: her kart ayrı bir bulanıklık geçişi demek.
   Yarı saydam zemin aynı görüntüyü boyama maliyeti olmadan veriyor. */
.card {
  position: relative;
  display: flex; gap: 14px; padding: 18px;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
/* Kartın tamamı tıklanabilir ama tek bağlantı başlıkta: ekran okuyucu bir
   bağlantı duyar, fare kullanıcısı kartın her yerine tıklayabilir. Etiket
   bağlantıları üstte kalsın diye onlara ayrıca z-index veriliyor. */
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card .tags a.tag { position: relative; z-index: 1; }
.card h3 a:hover { color: var(--accent); }
a.tag:hover { border-color: var(--accent); color: var(--fg); }
.card .icon {
  flex: 0 0 56px; width: 56px; height: 56px; display: grid; place-items: center;
  font-size: 1.7rem; border-radius: 14px; background: var(--bg-soft); overflow: hidden;
}
.card .icon img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1rem; }
.card p { margin-top: .25rem; color: var(--muted); font-size: .88rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .6rem; }
.tag {
  padding: .18rem .5rem; font-size: .72rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
}

.app-head { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.app-head .icon {
  flex: 0 0 88px; width: 88px; height: 88px; display: grid; place-items: center;
  font-size: 2.6rem; border-radius: 20px; background: var(--bg-soft); overflow: hidden;
}
.app-head .icon img { width: 100%; height: 100%; object-fit: cover; }

.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 28px 0; }
.fact {
  padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
}
.fact dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin-top: .2rem; font-size: .95rem; font-weight: 600; }

section.block { margin-top: 34px; }
section.block > h2 { margin-bottom: .7rem; }
section.block p + p { margin-top: .8rem; }
.prose p { color: var(--fg); }
.prose { max-width: 74ch; }
ul.checks { list-style: none; display: grid; gap: .45rem; }
ul.checks li { padding-left: 1.5rem; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

table.data { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9rem; }
table.data th, table.data td { padding: .6rem .7rem; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* SSS: <details> yerlisi — açma/kapama için JS yok. */
.faq { display: grid; gap: .5rem; margin-top: .9rem; }
.faq details {
  padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details[open] summary { margin-bottom: .5rem; }
.faq p { color: var(--muted); font-size: .92rem; }
.faq p + p { margin-top: .5rem; }

.notice {
  padding: 14px 16px; margin-top: 1rem; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; background: var(--bg-soft); color: var(--muted); font-size: .9rem;
}
.updated { margin-top: .6rem; font-size: .82rem; color: var(--muted); }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--accent); }
.empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty strong { display: block; color: var(--fg); font-size: 1.1rem; margin-bottom: .4rem; }

footer.site-footer {
  margin-top: 64px; padding: 42px 0 0; border-top: 1px solid var(--line);
  background: var(--bg-soft); color: var(--muted); font-size: .86rem;
}
.foot-grid { display: grid; gap: 30px; padding-bottom: 32px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.foot-col h2 {
  margin-bottom: .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--fg);
}
.foot-col a { display: block; padding: .22rem 0; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding: 16px 0 32px; border-top: 1px solid var(--line); font-size: .78rem;
}
.foot-bottom .mini { max-width: 70ch; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 22px; } .wrap { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Yardimci siniflar: CSP style-src 'self' satir ici style niteligini yasakliyor,
   gorunumlerdeki tek kullanimlik style="margin-top:..." bunlarla degistirildi. */
.mt-1 { margin-top: .8rem; }
.mt-2 { margin-top: 1.1rem; }
.mt-3 { margin-top: 1.6rem; }
.shot { border-radius: 12px; border: 1px solid var(--line); }
.foot-tagline { margin-top: .6rem; max-width: 38ch; }
.foot-mail { margin-top: .8rem; }