/* izgate.com — temel: sıfırlama, tipografi, bağlantı, odak, seçim, kapsayıcı (base.css) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--iz-bg); color: var(--iz-text-2);
  font: 400 var(--iz-body)/var(--iz-body-lh) var(--font); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; /* güvenlik ağı; taşmanın kendisi düzeltilir */
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--iz-heading); }
/* izMail tipografisi: başlık Manrope 700 (H1 56/1.12, H2 36/1.2 — duyarlı değerler tokens.css'te) */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--iz-heading); margin: 0 0 .5em; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--iz-h1); line-height: var(--iz-h1-lh); letter-spacing: -.03em; }
h2 { font-size: var(--iz-h2); line-height: var(--iz-h2-lh); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; line-height: 1.35; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { color: var(--iz-heading); font-weight: 600; }
code, .mono { font-family: var(--mono); font-size: .9em; font-weight: 500; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--iz-focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--iz-selection); color: inherit; }

/* izMail .iz-container: içerik genişliği 1240 (≥1600: 1320) + iki yanda gutter */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(796px + 2 * var(--gutter)); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.lead { font-size: var(--iz-lead); color: var(--iz-text-2); line-height: var(--iz-lead-lh); }

/* Görünürlük animasyonu (site.js .reveal → .in) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Kod örnekleri dar ekranda sayfayı taşırmasın; kendi kutusunda kaydırılır */
pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
pre code { white-space: pre; }
:not(pre) > code { overflow-wrap: anywhere; }
.nw { white-space: nowrap; }
