/* ==========================================================
   02 · BASE — reset, element varsayılanları, erişilebilirlik
   ========================================================== */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; padding: 0; }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img, video, svg { display: block; max-width: 100%; }
  img { height: auto; }
  ul[role="list"], ol { list-style: none; }
  a { color: inherit; }
  button, input, select { font: inherit; color: inherit; }
  [hidden] { display: none !important; }

  h1, h2, h3 { font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }

  :focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

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

  .skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--color-navy); color: #fff; padding: 10px 16px; border-radius: 8px;
    text-decoration: none; transition: top .2s;
  }
  .skip-link:focus { top: 12px; }

  /* Inline SVG ikonlar: çizgi stili, renk currentColor'dan gelir */
  .icon {
    width: 22px; height: 22px; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .icon--sm { width: 16px; height: 16px; stroke-width: 1.8; }

  .text-accent { color: var(--color-accent); }
  .text-blue { color: var(--color-blue); }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
}
