/* ═══════════════════ tek başına sayfalar (/sayfa/…, bakım, hata) ═══════════════════ */
@import url('tokens.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  font: 15px/1.6 var(--font); color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }

.site-head {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px); background: var(--glass-strong); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.site-logo img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; font-weight: 600; }
.site-nav a { color: var(--text-2); }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .site-cta, .btn {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent) !important; font-weight: 700;
}
.site-nav .site-cta:hover, .btn:hover { background: var(--accent-hover); text-decoration: none; }

.site-main { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) clamp(16px, 4vw, 32px); }
.kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }

.prose h1 { font: 700 clamp(28px, 5vw, 40px)/1.15 var(--display); letter-spacing: -.03em; margin: 8px 0 18px; color: var(--text); }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.25; color: var(--text); }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose h4 { font-size: 16px; margin: 20px 0 6px; }
.prose p { margin: 0 0 14px; color: var(--text-2); }
.prose ul, .prose ol { margin: 0 0 16px 24px; color: var(--text-2); }
.prose li { margin: 5px 0; }
.prose li::marker { color: var(--hot); }
.prose strong { color: var(--text); }
.prose blockquote { margin: 16px 0; padding: 12px 18px; border-left: 3px solid var(--hot); background: var(--surface-2); border-radius: 0 12px 12px 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 24px 0; }
.prose img { max-width: 100%; border-radius: 14px; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.md-note { margin: 18px 0; padding: 14px 18px; border-radius: 14px; background: var(--accent-soft); font-size: 14px; }
.md-note p:last-child { margin: 0; }
.updated { margin-top: 32px; font-size: 13px; color: var(--text-3); }

body.is-center .site-main { display: grid; place-items: center; text-align: center; }
.hero { max-width: 560px; }
.hero__art { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 30px; display: grid; place-items: center;
             background: var(--surface); box-shadow: var(--shadow-md); }
.hero h1 { font: 700 clamp(28px, 5vw, 38px)/1.15 var(--display); letter-spacing: -.03em; margin: 8px 0 12px; }
.hero .lead { font-size: 17px; color: var(--text-2); margin-bottom: 14px; }
.hero .muted { color: var(--text-3); font-size: 14px; margin-bottom: 18px; }
.script { font: 600 26px/1.1 var(--script); color: var(--hot-text); margin-top: 8px; }

/* ödeme (PayTR iframe'i) */
.pay { max-width: 760px; margin: 0 auto; }
.pay h1 { font: 700 clamp(24px, 4vw, 32px)/1.2 var(--display); letter-spacing: -.02em; margin: 8px 0 8px; }
.pay .lead { color: var(--text-2); margin-bottom: 16px; }
.pay .muted { color: var(--text-3); }
.pay .small { font-size: 13px; margin-top: 12px; }
.pay .mono { font-family: var(--mono); }
.pay__test { color: var(--danger, #c0392b); }
.pay__frame { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pay__frame iframe { display: block; width: 100%; min-height: 640px; border: 0; }

.site-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 18px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3);
}
@media (max-width: 640px) {
  .site-nav a:not(.site-cta) { display: none; }
}
