@charset "UTF-8";
/* =====================================================================
   V3 · TEMEL — yazı tipleri, sıfırlama, tipografi, odak, erişilebilirlik
   ===================================================================== */

/* Geist — OFL, Vercel. Değişken ağırlık 100–900, Latin Ext + Kiril. */
@font-face {
  font-family: "Geist";
  src: url("../../fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Geist'te ₺ yok: IBM Plex Sans'tan (OFL) türetilmiş tek glifli alt küme.
   unicode-range sayesinde yalnız ₺ çizilirken devreye girer. */
@font-face {
  font-family: "GM Lira Sign";
  src: url("../../fonts/lira-sign.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+20BA;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: var(--topbar-h);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-base);
  line-height: var(--lh-body);
  font-weight: var(--w-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-weight: var(--w-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); font-weight: var(--w-semibold); letter-spacing: -0.01em; }
h4 { font-size: var(--t-md); font-weight: var(--w-semibold); letter-spacing: -0.005em; }
h5, h6 { font-size: var(--t-base); font-weight: var(--w-semibold); letter-spacing: 0; }

p { margin: 0; }
p + p { margin-top: var(--s-3); }
small { font-size: var(--t-xs); }
strong, b { font-weight: var(--w-semibold); }

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

img, svg, video, canvas { display: block; max-width: 100%; }
svg:not([width]) { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:disabled { cursor: not-allowed; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }

table { border-collapse: collapse; width: 100%; }

[hidden] { display: none !important; } /* Gizleme her bileşen display kuralının önünde kalmalı (tek bilinçli istisna). */

/* Odak: yalnız klavyede görünür; her yüzeyde okunur iki katlı halka */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--r-1);
}

::selection { background: var(--accent-soft); color: var(--ink); }

/* Kaydırma çubuğu: sakin, temaya uyumlu */
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-full); border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* Rakamlar: hizalı, sabit genişlik */
.num, .tabular, .stat-value, td.amount, .amount { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* Küçük, büyük harfli etiket — Stüdyo imzası */
.eyebrow, .label-caps {
  font-size: var(--t-xs);
  font-weight: var(--w-medium);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-3);
}

.text-muted { color: var(--ink-3); }
.text-secondary { color: var(--ink-2); }
.text-danger { color: var(--neg); }
.text-success { color: var(--pos); }
.text-warning { color: var(--warn); }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.prose { max-width: var(--w-prose); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-4); z-index: var(--z-toast);
  padding: var(--s-2) var(--s-4); background: var(--ink); color: var(--ink-inverse);
  border-radius: var(--r-1); transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }
main[tabindex="-1"]:focus { outline: none; } /* Atlama hedefi: kap odaklanır, halka içerikte gerekmez */

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

/* iOS odak yakınlaştırma önlemi: 16 px altındaki alana odaklanınca Safari sayfayı büyütür ve
   pencereler ekrandan taşar. Bileşen/görünüm kuralları ne derse desin telefonda alanlar en az 16 px.
   Önem işareti: #id'li ve bileşen özgüllüğündeki daha küçük yazı boyutlarını da kapsasın (belgelenmiş istisna). */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea { font-size: 16px !important; }
}
