/* ============================================================
   V8 BASE — reset, düz kağıt zemin, tipografi
   ============================================================ */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: var(--leading-tight);
  font-weight: 600;
  letter-spacing: 0.005em;
}

h1 {
  font-size: var(--text-2xl);
}

h2 {
  font-size: var(--text-lg);
}

p {
  margin: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul,
ol {
  padding-left: var(--space-5);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

a,
button {
  touch-action: manipulation;
}

code {
  font-family: var(--font-mono);
}

table {
  border-collapse: collapse;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(12, 52, 231, 0.16);
  color: var(--ink-900);
}

.skiplink {
  position: absolute;
  left: var(--space-4);
  top: -48px;
  z-index: 120;
  padding: var(--space-2) var(--space-4);
  background: var(--brand-fill);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--dur) var(--ease);
}

.skiplink:focus-visible {
  top: var(--space-3);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
