/* YY Base - Reset + typography */
/* Inter font - Latin + Turkish subset (unicode-range) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Inter Medium'), local('Inter-Medium'), url('../fonts/inter-500.woff2') format('woff2');
  /* Basic Latin + Latin Extended-A (Turkish chars) + typographic punctuation */
  unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Inter Bold'), local('Inter-Bold'), url('../fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

body {
  margin: 0;
  font-family: var(--yy-font);
  font-size: var(--yy-fs-base);
  line-height: var(--yy-lh-base);
  color: var(--yy-text);
  background-color: var(--yy-bg);
  background-image:
    radial-gradient(1200px 700px at 80% -10%, rgba(36, 107, 253, 0.30), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(800px 500px at 50% 100%, rgba(58, 141, 255, 0.14), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

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

img {
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}

a {
  color: var(--yy-brand);
  text-decoration: none;
  transition: color var(--yy-dur-fast) var(--yy-ease-out);
}
a:hover {
  color: #5A94FF;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--yy-sp-4);
  font-weight: 700;
  line-height: var(--yy-lh-tight);
  color: var(--yy-text);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--yy-fs-hero); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: var(--yy-fs-xl); }
h4 { font-size: var(--yy-fs-lg); }

p {
  margin: 0 0 var(--yy-sp-4);
}

small { font-size: var(--yy-fs-sm); }
strong, b { font-weight: 700; }

ul, ol {
  margin: 0 0 var(--yy-sp-4);
  padding-left: var(--yy-sp-5);
}
li + li { margin-top: var(--yy-sp-1); }

blockquote {
  margin: 0 0 var(--yy-sp-5);
  padding: var(--yy-sp-4) var(--yy-sp-5);
  border-left: 4px solid var(--yy-brand);
  background: var(--yy-surface);
  border-radius: 0 var(--yy-r-md) var(--yy-r-md) 0;
  color: var(--yy-text-mute);
  font-style: italic;
}

code, pre, kbd {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.92em;
}

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

::selection {
  background: var(--yy-brand);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--yy-brand);
  outline-offset: 3px;
  border-radius: var(--yy-r-sm);
}

button, [type="button"], [type="submit"], [type="reset"] {
  font-family: inherit;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-size: var(--yy-fs-base);
  color: var(--yy-text);
}

textarea { resize: vertical; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--yy-sp-5);
}
th, td {
  padding: var(--yy-sp-3) var(--yy-sp-4);
  text-align: left;
  border-bottom: 1px solid var(--yy-border);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--yy-sp-2);
  z-index: 99;
  background: var(--yy-brand);
  color: white;
  padding: var(--yy-sp-2) var(--yy-sp-4);
  border-radius: var(--yy-r-sm);
  font-weight: 700;
}
.skip-link:focus {
  left: var(--yy-sp-4);
}

/* Screen reader only */
.screen-reader-text, .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
  white-space: nowrap;
}
.screen-reader-text:focus {
  position: static !important;
  width: auto; height: auto;
  margin: 0;
  clip: auto;
  white-space: normal;
}

/* WP admin bar offset */
body.admin-bar { padding-top: 32px; }
body.admin-bar .yy-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar { padding-top: 46px; }
  body.admin-bar .yy-header { top: 46px; }
}
