/* butun sayfalarin ortak parcasi: font, renkler ve ust menu. Scalar sayfasi sandbox.css yuklemedigi icin ayri dosya */
@font-face { font-family: 'Corsa Grotesk'; src: url('/sandbox/fonts/CorsaGrotesk-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Corsa Grotesk'; src: url('/sandbox/fonts/CorsaGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Corsa Grotesk'; src: url('/sandbox/fonts/CorsaGrotesk-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* renkler pay.payguru.com sitesiyle ayni: cyan primary, mor secondary, #222 metin */
:root {
  --primary: #15b0e2;
  --primary-dark: #0f8fbb;
  --secondary: #8069ff;
  --brand: #4884c5;
  --dark: #1c1f26;
  --text: #2a2e37;
  --muted: #5f6673;
  --page: #f5f6fa;
  --surface: #ffffff;
  --border: #e3e6ec;
  --ok: #1d9a47;
  --bad: #d22f40;
  --code-bg: #efedff;
  --code-text: #4b3ccc;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 24, 40, .04), 0 2px 8px rgba(20, 24, 40, .04);
  --font: 'Corsa Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
  font: 15px/1.4 var(--font);
  -webkit-font-smoothing: antialiased;
}
.site-top, .site-top * { box-sizing: border-box; }
.site-top .short { display: none; }
.site-top .in { max-width: 1120px; margin: 0 auto; padding: 0 16px; height: 68px; display: flex; align-items: center; gap: 24px; }
.site-top a { text-decoration: none; }
.site-top .brand { display: flex; align-items: center; gap: 14px; color: var(--dark); flex-shrink: 0; }
.site-top .brand img { height: 36px; display: block; }
.site-top .brand .name { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--border); font-weight: 700; white-space: nowrap; }
.site-top .pill { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--code-text); background: var(--code-bg); padding: 3px 8px; border-radius: 999px; }
.site-top nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-top nav a { color: var(--muted); font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; transition: color .15s, background .15s; }
.site-top nav a:hover { color: var(--dark); background: var(--page); }
.site-top nav a.on { color: var(--dark); background: var(--page); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 8px 8px 0 0; }
.site-top .lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--page); border: 1px solid var(--border); flex-shrink: 0; }
.site-top .lang button { border: 0; background: none; font: 500 13px/1 var(--font); color: var(--muted); padding: 6px 10px; border-radius: 999px; cursor: pointer; box-shadow: none; }
.site-top .lang button:hover { color: var(--dark); background: none; }
.site-top .lang button.on { background: #fff; color: var(--dark); box-shadow: 0 1px 3px rgba(20, 24, 40, .12); }

/* telefon: ilk satir logo + dil, ikinci satir menu (sigmazsa yana kayar, kaydirma cubugu gizli) */
@media (max-width: 860px) {
  .site-top .in { height: auto; flex-wrap: wrap; gap: 0 10px; padding-top: 10px; }
  .site-top .brand { gap: 10px; min-width: 0; }
  .site-top .brand img { height: 28px; }
  .site-top .brand .name { padding-left: 10px; font-size: 14px; gap: 6px; }
  .site-top .pill { font-size: 10px; padding: 2px 6px; }
  .site-top .lang { margin-left: auto; }
  .site-top .lang button { padding: 5px 9px; font-size: 12px; }
  .site-top .full { display: none; }
  .site-top .short { display: inline; }
  .site-top nav { order: 3; width: calc(100% + 32px); margin: 8px -16px 0; padding: 0 12px; overflow-x: auto; scrollbar-width: none; gap: 0; }
  .site-top nav::-webkit-scrollbar { display: none; }
  .site-top nav a { padding: 10px; font-size: 14px; border-radius: 0; }
  .site-top nav a.on { background: none; }
}
@media (max-width: 400px) {
  .site-top .brand .pill { display: none; }
}
@media (max-width: 340px) {
  .site-top nav a { padding: 10px 8px; }
}
