/* Reset ve temel öğeler */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-3xl); line-height: var(--lh-tight); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-2xl); line-height: var(--lh-tight); font-weight: 700; }
h4 { font-size: var(--fs-lg); line-height: var(--lh-tight); font-weight: 700; }

/* Odak görünürlüğü — accessibility-mobile-first zorunlu kural */
:focus-visible {
  outline: 3px solid var(--c-blue);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  background: var(--c-blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-6); } }

.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;
}

::selection { background: var(--c-blue-soft); color: var(--c-blue-dark); }

/* Yatay taşmaların önüne geçmek için geniş içerik konteynerleri */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
