/* Kitcho — tüm sayfalarda ortak: renkler, yazı tipi, üst menü, butonlar, alt bilgi.
   Alt sayfalar (gizlilik, koşullar, açık rıza, iletişim) kendi iç düzenlerini
   korur; bu dosya onların satır içi stilinden SONRA yüklenip ortak parçaları ezer. */

:root {
  --primary: #FF5A36;
  --primary-dark: #E8431F;
  --primary-deep: #FF3D00;
  --primary-subtle: #FFE4DA;
  --peach: #FFB36B;
  --success: #4C9A5B;
  --bg: #FFF8F3;
  --surface: #FFFFFF;
  --ink: #2A1C14;
  --text-primary: #2A1C14;
  --text-secondary: #7A6A5E;
  --border: #F1E6DD;
  --display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-lg: 32px;
  --shadow-card: 0 1px 0 rgba(42, 28, 20, 0.04), 0 18px 48px -24px rgba(42, 28, 20, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Üst menü ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.topbar.scrolled {
  background: rgba(255, 248, 243, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.topbar .logo img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 16px -8px rgba(255, 61, 0, .6); }
.topbar .logo span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.topbar .menu { display: flex; gap: 28px; }
.topbar .menu a { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s; }
.topbar .menu a:hover { color: var(--ink); }

/* Alt sayfaların eski satır içi `nav {}` kuralı (yapışkan, dolgulu) menü ve
   alt bilgideki <nav> öğelerine de uyuyordu — burada sıfırlanıyor. */
.topbar nav, .site-footer nav { position: static; padding: 0; background: none; box-shadow: none; transition: none; z-index: auto; }

/* Alt sayfaların başlıkları da ana sayfayla aynı yazı tipinde. */
.page-hero h1, .doc h2 { font-family: var(--display); letter-spacing: -0.03em; }

/* ---------- App Store butonu ---------- */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  padding: 10px 18px 10px 14px;
  line-height: 1.05;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 12px 28px -14px rgba(42, 28, 20, .7);
}
.store-btn:hover { transform: translateY(-2px); background: #000; box-shadow: 0 18px 34px -16px rgba(42, 28, 20, .8); }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: .01em; }
.store-btn strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.store-btn.compact { padding: 8px 14px 8px 11px; border-radius: 12px; box-shadow: none; }
.store-btn.compact svg { width: 18px; height: 18px; }
.store-btn.compact strong { font-size: 14px; }

/* ---------- Alt bilgi ---------- */
footer.site-footer { padding: 56px 0 36px; border-top: 1px solid var(--border); background: var(--bg); }
.site-footer .sf-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .sf-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.site-footer .sf-brand img { width: 32px; height: 32px; border-radius: 9px; }
.site-footer .sf-brand span { font-family: var(--display); font-weight: 800; font-size: 20px; }
.site-footer .sf-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .sf-links a { color: var(--text-secondary); text-decoration: none; font-size: 14.5px; }
.site-footer .sf-links a:hover { color: var(--primary-dark); }
.site-footer .sf-bottom {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--text-secondary); font-size: 13.5px;
}

@media (max-width: 860px) {
  .topbar .menu { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-footer .sf-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
