/* Quadmate web sayfalari — tanitim sayfasi + magaza zorunlulugu olan yasal sayfalar.
   Bağımsız/statik: paylaşımlı hosting'e olduğu gibi yüklenebilsin diye
   hiçbir dış kaynağa (CDN, font, script) bağlı değil. */

:root {
  --brand: #202368;          /* logodaki lacivert, birebir */
  --brand-light: #454da8;
  --brand-deep: #171a4e;
  --accent: #f73c43;         /* logodaki kırmızı, birebir */
  --accent-soft: #fff1f1;
  --ink: #14152b;
  --muted: #5c5c70;
  --line: #e2e2ec;
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --danger: #c0392b;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 21, 43, 0.06), 0 4px 12px rgba(20, 21, 43, 0.05);
  --shadow-lg: 0 18px 50px rgba(20, 21, 43, 0.16);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- üst şerit ---------- */

/* Önceki hâli lacivert gradyan + 3px kırmızı çizgiydi; renk yükü fazlaydı ve
   içindeki "Q" gerçek logo değil, harfle çizilmiş sahte bir işaretti. Şimdi
   sakin beyaz bir şerit, rengi hero üstleniyor, işaret gerçek logo (logo-mark.png).
   Menüdeki bağlantıların hepsi artık aynı türden: başka sayfaya gider.
   Sayfa içi çapa ("Nasıl çalışır") menüden çıkarıldı — aynı menüde bazı
   bağlantının kaydırıp bazısının sayfa değiştirmesi tutarsızdı. */
header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

header .wrap,
header .wrap-wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--brand); text-decoration: none; line-height: 1;
}
.brand-mark { width: 30px; height: 30px; flex: none; display: block; }

header nav { display: flex; align-items: center; gap: 26px; }
header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
header nav a:hover { color: var(--brand); border-bottom-color: var(--accent); }

/* Dar ekranda bağlantılar ikinci satıra taşıp şeridi şişiriyor ve sayfanın en
   tepesi dağınık görünüyordu. Aynı bağlantıların hepsi alt bilgide var. */
@media (max-width: 700px) {
  header { padding: 11px 0; }
  header nav { display: none; }
}

/* Yalnizca YATAY bosluk. Kisa yazim (padding: 0 …) kullanilirsa dort kenari
   birden ayarladigi icin, main'in dikey boslugunu eziyordu: main bir oge
   secici (zayif), .wrap ise sinif secici (guclu). Sonuc: ust seritle ilk
   baslik arasinda hic bosluk kalmiyordu. */
.wrap { max-width: 780px; margin: 0 auto; padding-inline: clamp(26px, 6vw, 44px); }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding-inline: clamp(26px, 6vw, 44px); }

/* Yalnizca dikey: yatay bosluk .wrap/.wrap-wide'in isi. */
main { padding-block: 60px 88px; }

h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.02em; }
h2 { font-size: clamp(21px, 2.6vw, 25px); margin: 52px 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 24px 0 6px; }

p, li { color: var(--ink); }
.muted { color: var(--muted); }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }

ul { padding-left: 20px; }
li { margin-bottom: 6px; }

a { color: var(--brand-light); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.note {
  background: var(--bg-soft);
  border-left: 3px solid var(--brand-light);
  padding: 15px 18px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}

.warn {
  background: #fdf3f2;
  border-left: 3px solid var(--danger);
  padding: 15px 18px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 10px;
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--brand-light); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  margin-bottom: 14px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap,
footer .wrap-wide { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
