/* ==========================================================================
   LLMsTrack · site.css
   Statik tanıtım sitesi: JavaScript yok, harici kaynak yok.
   Açık/koyu tema prefers-color-scheme ile seçilir.
   ========================================================================== */

/* ---------- Tasarım değişkenleri: açık tema ---------- */
:root {
  color-scheme: light dark;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --surface-3: #eef0f6;
  --border: #e3e6ef;
  --border-strong: #cbd1df;
  --text: #0d1324;
  --text-2: #2c3652;
  --muted: #545e79;

  --brand: #4f46e5;
  --brand-hover: #4338ca;
  --brand-text: #4338ca;
  --brand-soft: #eef0ff;
  --brand-line: #d6dafc;
  --on-brand: #ffffff;

  --accent: #0d9488;
  --accent-text: #0f766e;
  --accent-soft: #e6f6f4;
  --danger-text: #b42318;
  --danger-soft: #fdeceb;
  --warn: #d97706;
  --focus: #4f46e5;

  --glow-1: rgb(99 102 241 / .16);
  --glow-2: rgb(20 184 166 / .12);
  --grid-line: rgb(15 23 42 / .05);
  --header-bg: rgb(255 255 255 / .82);

  --shadow-sm: 0 1px 2px rgb(16 24 40 / .05);
  --shadow-md: 0 1px 2px rgb(16 24 40 / .04), 0 12px 32px -16px rgb(16 24 40 / .2);
  --shadow-lg: 0 2px 8px rgb(16 24 40 / .05), 0 32px 64px -28px rgb(36 40 110 / .34);

  --grad-a: #4f46e5;
  --grad-b: #0f766e;

  /* Kod blokları (iki temada da koyu) */
  --code-bg: #0e1322;
  --code-border: #1f2740;
  --code-head: #151b2e;
  --code-text: #e3e7f3;
  --code-muted: #8d98b8;
  --code-key: #aab4ff;
  --code-str: #6ee7d2;
  --code-num: #fcd77f;
  --code-kw: #f0a8ff;

  /* Metrik renkleri (çizimler) */
  --c-clicks: #4f6bed;
  --c-impr: #8b5cf6;
  --c-ctr: #0d9488;
  --c-pos: #d97706;

  /* Çizim yüzeyleri */
  --ill-window: #ffffff;
  --ill-chrome: #f4f5fa;
  --ill-side: #f8f9fc;
  --ill-stroke: #e2e5ee;
  --ill-skel: #e9ecf3;
  --ill-skel-2: #d6dbe7;
  --ill-text: #1a2138;
  --ill-muted: #67718d;
  --ill-card: #ffffff;
  --ill-active: #eef0ff;
  --ill-shadow: rgb(30 36 80 / .16);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 74rem;
  --gutter: 1rem;
  --header-h: 4rem;
}

/* ---------- Koyu tema ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0e1a;
    --bg-soft: #0d1222;
    --surface: #111729;
    --surface-2: #141b2f;
    --surface-3: #1a2238;
    --border: #232c45;
    --border-strong: #34405f;
    --text: #e9ecf5;
    --text-2: #c9cfe1;
    --muted: #9ea7c0;

    --brand: #5b54ea;
    --brand-hover: #4f46e5;
    --brand-text: #aab3ff;
    --brand-soft: #1a1f4a;
    --brand-line: #2e3577;
    --on-brand: #ffffff;

    --accent: #2dd4bf;
    --accent-text: #5eead4;
    --accent-soft: #0e2a2b;
    --danger-text: #fda29b;
    --danger-soft: #3a1818;
    --warn: #fbbf24;
    --focus: #aab3ff;

    --glow-1: rgb(99 102 241 / .22);
    --glow-2: rgb(20 184 166 / .13);
    --grid-line: rgb(255 255 255 / .04);
    --header-bg: rgb(10 14 26 / .8);

    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    --shadow-md: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px -20px rgb(0 0 0 / .75);
    --shadow-lg: 0 2px 8px rgb(0 0 0 / .35), 0 40px 80px -30px rgb(0 0 0 / .85);

    --grad-a: #aab3ff;
    --grad-b: #5eead4;

    --code-bg: #0b1020;
    --code-border: #232c45;
    --code-head: #121a2d;

    --c-clicks: #7d93ff;
    --c-impr: #b197fc;
    --c-ctr: #2dd4bf;
    --c-pos: #fbbf24;

    --ill-window: #10172a;
    --ill-chrome: #0d1324;
    --ill-side: #0e1527;
    --ill-stroke: #262f4b;
    --ill-skel: #1e2741;
    --ill-skel-2: #2c3758;
    --ill-text: #e6e9f4;
    --ill-muted: #97a1bd;
    --ill-card: #131b30;
    --ill-active: #1d2354;
    --ill-shadow: rgb(0 0 0 / .55);
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

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

img { height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .75rem;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.45rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.08; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.375rem); font-weight: 750; letter-spacing: -.022em; }
h3 { font-size: 1.125rem; font-weight: 650; }

p { margin: 0 0 1rem; text-wrap: pretty; }

ul, ol { margin: 0 0 1rem; }

a {
  color: var(--brand-text);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 650; color: var(--text); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

code, kbd, pre, samp { font-family: var(--font-mono); }

:not(pre) > code {
  font-size: .86em;
  padding: .1em .38em;
  border-radius: 6px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text);
  overflow-wrap: anywhere;
}

::selection { background: rgb(99 102 241 / .25); }

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.22em;
}

/* İçeriğe atla bağlantısı */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 100;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 650;
  text-decoration: none;
}

.skip-link:focus { top: .75rem; }

main:focus { outline: none; }

/* ---------- Yerleşim ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 40em) { :root { --gutter: 1.5rem; } }
@media (min-width: 64em) { :root { --gutter: 2rem; } }

.section { padding-block: clamp(3.5rem, 2.25rem + 5vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p:last-child { margin-bottom: 0; }

.kicker {
  display: block;
  margin-bottom: .6rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-text);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
}

.grid-2 { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 48em) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 56em) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; }
  .split-wide-text { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .split.reverse > :first-child { order: 2; }
  .split.top { align-items: start; }
}

/* Izgara öğeleri uzun kod satırı veya adres yüzünden genişlemesin */
.grid > *,
.split > *,
.hero-grid > *,
.tl-grid > *,
.cta-grid > *,
.code-grid > *,
.legal > *,
.footer-grid > *,
.use-grid > *,
.mini-grid > *,
.flow > * { min-width: 0; }

.stack > * + * { margin-top: 1rem; }

.section-foot { margin: 2rem 0 0; }

.mini-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}

.mini-grid .card { padding: 1.15rem 1.2rem; }
.mini-grid .card-icon { width: 2.25rem; height: 2.25rem; margin-bottom: .75rem; }
.mini-grid .card-icon .icon { width: 1.2rem; height: 1.2rem; }

.code-grid {
  display: grid;
  gap: 0 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: start;
}

.table-title { margin-top: 2.5rem; }
.prose-wide > * { max-width: 52rem; }
.contact-mail { margin: 1.75rem 0 0; }
.card h2.h3 { font-size: 1.125rem; margin-bottom: .5rem; }

/* ---------- Üst bilgi ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--bg); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-right: auto;
  color: var(--text);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark { width: 1.875rem; height: 1.875rem; flex: none; }
.brand-name-b { color: var(--brand-text); }

.nav-desktop { display: none; }

.nav-desktop ul {
  display: flex;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-desktop a {
  display: block;
  padding: .45rem .7rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}

.nav-desktop a:hover { background: var(--surface-3); color: var(--text); }

.nav-desktop a[aria-current="page"] {
  background: var(--surface-3);
  color: var(--text);
  font-weight: 650;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.login-link:hover { color: var(--text); text-decoration: underline; }
.login-link .icon { width: 1rem; height: 1rem; }

/* Mobil menü: <details>, JavaScript gerektirmez */
.nav-mobile > summary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.5rem;
  padding: .45rem .8rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: .9375rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s ease, background-color .15s ease;
}

.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary::marker { content: ""; }
.nav-mobile > summary:hover { border-color: var(--text-2); }
.nav-mobile > summary > span { display: inline-flex; align-items: center; gap: .4rem; }

.nav-mobile[open] .nav-mobile-open,
.nav-mobile:not([open]) .nav-mobile-close { display: none; }

.nav-mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: .5rem var(--gutter) 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.nav-mobile-panel ul {
  display: grid;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.nav-mobile-panel li a {
  display: block;
  padding: .85rem .25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-mobile-panel li a[aria-current="page"] { color: var(--brand-text); font-weight: 700; }
.nav-mobile-panel .login-link { margin-top: 1rem; justify-content: center; width: 100%; font-size: .9375rem; }

@media (min-width: 40em) {
  .header-actions { display: flex; }
  .header-actions .login-link { display: none; }
}

@media (min-width: 68em) {
  .brand { margin-right: 0; }
  .nav-desktop { display: block; margin-left: 1.25rem; }
  .header-actions { margin-left: auto; }
  .header-actions .login-link { display: inline-flex; }
  .nav-mobile { display: none; }
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.btn .icon { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.btn:hover .icon-move { transform: translateX(3px); }

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 1px 2px rgb(16 24 40 / .14), inset 0 1px 0 rgb(255 255 255 / .14);
}

.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover { border-color: var(--text-2); color: var(--text); }

.btn-light { background: #ffffff; color: #2a2775; }
.btn-light:hover { background: #eef0ff; color: #2a2775; }

.btn-ghost-light { border-color: rgb(255 255 255 / .45); color: #ffffff; }
.btn-ghost-light:hover { border-color: #ffffff; color: #ffffff; background: rgb(255 255 255 / .08); }

.btn-sm { min-height: 2.375rem; padding: .5rem .9rem; font-size: .9375rem; }
.btn-lg { min-height: 3.125rem; padding: .85rem 1.4rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 650;
  text-decoration: none;
}

.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Rozetler, çipler, listeler ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.25rem;
  padding: .32rem .8rem .32rem .6rem;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-size: .8438rem;
  font-weight: 650;
}

.eyebrow .icon { width: 1.05rem; height: 1.05rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .12rem .55rem;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.badge-accent { border-color: transparent; background: var(--accent-soft); color: var(--accent-text); }
.badge-neutral { border-color: var(--border); background: var(--surface-3); color: var(--text-2); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: .875rem;
  font-weight: 550;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}

a.chip:hover { border-color: var(--brand-line); color: var(--brand-text); }

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist {
  display: grid;
  gap: .65rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.checklist li { display: flex; align-items: flex-start; gap: .6rem; }
.checklist .icon { margin-top: .2rem; color: var(--accent); }
.checklist.cross .icon { color: var(--danger-text); }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.35rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-2);
  font-size: .9375rem;
  font-weight: 550;
}

.trust .icon { width: 1.15rem; height: 1.15rem; color: var(--accent); }

/* ---------- Kartlar ---------- */
.card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card h3 { margin: 0 0 .4rem; font-size: 1.0625rem; }
.card p { margin: 0; color: var(--muted); font-size: .9688rem; }
.card p + p { margin-top: .6rem; }
.card .card-foot { margin-top: 1rem; }

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

@media (hover: hover) {
  a.card:hover {
    border-color: var(--brand-line);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}

.card-icon {
  display: grid;
  place-items: center;
  width: 2.625rem;
  height: 2.625rem;
  margin-bottom: 1rem;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-text);
}

.card-icon .icon { width: 1.375rem; height: 1.375rem; }
.card-icon.accent { background: var(--accent-soft); color: var(--accent-text); }

.card-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card-row .card-icon { flex: none; margin-bottom: 0; }

.card-lg { padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }

.card-list {
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
  color: var(--text-2);
  font-size: .9375rem;
}

.card-list li { display: flex; gap: .55rem; align-items: flex-start; }
.card .card-list + p { margin-top: .9rem; }
.card-list .icon { width: 1.05rem; height: 1.05rem; margin-top: .22rem; color: var(--accent); }

/* ---------- Kahraman alanı ---------- */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 60% at 12% 0%, var(--glow-1), transparent 70%),
    radial-gradient(45% 55% at 92% 8%, var(--glow-2), transparent 70%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%);
}

.hero { padding-block: clamp(2.75rem, 1.5rem + 5vw, 6rem) clamp(2rem, 1.25rem + 2.5vw, 3.5rem); }

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
}

@media (min-width: 64em) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

.hero h1 {
  font-size: clamp(2.125rem, 1.35rem + 3.6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -.032em;
  max-width: 16ch;
}

.hero .lead { max-width: 37rem; margin-bottom: 1.75rem; }

.grad { color: var(--brand-text); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad {
    background: linear-gradient(95deg, var(--grad-a) 10%, var(--grad-b) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
}

@media (forced-colors: active) {
  .grad { background: none; color: CanvasText; }
}

.cta-note {
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: .875rem;
}

.cta-note a { font-weight: 600; }

.hero-art { position: relative; margin: 0; }

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 24px 40px var(--ill-shadow));
}

.art-caption {
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: .8125rem;
  text-align: center;
}

.page-hero {
  padding-block: clamp(2.75rem, 2rem + 4vw, 5rem) clamp(2.25rem, 1.75rem + 3vw, 3.75rem);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { max-width: 24ch; }
.page-hero .lead { max-width: 46rem; margin-bottom: 0; }

/* ---------- Çizimler (satır içi SVG) ---------- */
.ill { display: block; width: 100%; height: auto; }
.ill text { font-family: var(--font-sans); }
.ill .mono { font-family: var(--font-mono); }
.ill .s-win { fill: var(--ill-window); stroke: var(--ill-stroke); }
.ill .s-chrome { fill: var(--ill-chrome); }
.ill .s-side { fill: var(--ill-side); }
.ill .s-hair { stroke: var(--ill-stroke); fill: none; }
.ill .s-card { fill: var(--ill-card); stroke: var(--ill-stroke); }
.ill .s-soft { fill: var(--surface-2); stroke: var(--ill-stroke); }
.ill .s-sk { fill: var(--ill-skel); }
.ill .s-sk2 { fill: var(--ill-skel-2); }
.ill .s-num { fill: var(--ill-text); opacity: .82; }
.ill .s-tx { fill: var(--ill-text); }
.ill .s-mt { fill: var(--ill-muted); }
.ill .s-bt { fill: var(--brand-text); }
.ill .s-white { fill: #ffffff; }
.ill .s-active { fill: var(--ill-active); }
.ill .s-grid { stroke: var(--ill-stroke); stroke-dasharray: 3 5; fill: none; }
.ill .s-dash { stroke: var(--ill-skel-2); stroke-dasharray: 4 4; fill: none; }
.ill .s-chip { fill: var(--ill-card); stroke: var(--ill-skel-2); stroke-dasharray: 3 3; }
.ill .f-brand { fill: var(--brand); }
.ill .f-clicks { fill: var(--c-clicks); }
.ill .f-impr { fill: var(--c-impr); }
.ill .f-ctr { fill: var(--c-ctr); }
.ill .f-pos { fill: var(--c-pos); }
.ill .dot-1 { fill: #f87171; }
.ill .dot-2 { fill: #fbbf24; }
.ill .dot-3 { fill: #34d399; }
.ill .ln { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln-thin { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln-clicks { stroke: var(--c-clicks); }
.ill .ln-impr { stroke: var(--c-impr); }
.ill .ln-ctr { stroke: var(--c-ctr); }
.ill .ln-pos { stroke: var(--c-pos); }
.ill .ln-prev { stroke: var(--ill-muted); stroke-dasharray: 5 5; opacity: .75; }
.ill .ln-link { fill: none; stroke-width: 2; stroke-linecap: round; opacity: .7; }
.ill .ring { stroke: var(--ill-card); stroke-width: 2.5; }
.ill .ring-muted { fill: var(--ill-card); stroke: var(--ill-muted); stroke-width: 2; }
.ill .st-mt { fill: none; stroke: var(--ill-muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ill .st-clicks-a { stop-color: var(--c-clicks); stop-opacity: .26; }
.ill .st-clicks-b { stop-color: var(--c-clicks); stop-opacity: 0; }
.ill .float { filter: drop-shadow(0 14px 24px var(--ill-shadow)); }

.ill-frame {
  padding: clamp(1rem, .75rem + 1vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.ill-frame figcaption,
.ill-caption {
  margin-top: .85rem;
  color: var(--muted);
  font-size: .8125rem;
}

figure { margin: 0; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: .8125rem;
}

.legend li { display: inline-flex; align-items: center; gap: .4rem; }

.swatch {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  border-radius: 3px;
  background: var(--ill-skel-2);
}

.swatch-line { width: 1rem; height: 3px; border-radius: 2px; }
.swatch-dash { width: 1rem; height: 0; border-top: 2px dashed var(--ill-muted); border-radius: 0; background: none; }
.sw-ok { background: var(--c-ctr); }
.sw-ref { background: var(--c-pos); }
.sw-q { background: var(--ill-skel-2); }
.sw-na { background: transparent; border: 1px dashed var(--border-strong); }
.sw-clicks { background: var(--c-clicks); }
.sw-impr { background: var(--c-impr); }

/* Veri kapsama ızgarası */
.cov-grid {
  display: grid;
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 3px;
}

.cov {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--ill-skel);
}

.cov-ok { background: var(--c-ctr); }
.cov-ok2 { background: var(--c-ctr); opacity: .72; }
.cov-ref { background: var(--c-pos); }
.cov-q { background: var(--ill-skel-2); }
.cov-na { background: transparent; box-shadow: inset 0 0 0 1px var(--border-strong); }

.cov-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .85rem;
  font-size: .8125rem;
  color: var(--muted);
}

.cov-head strong { color: var(--text); font-size: .9375rem; }

.cov-axis {
  display: flex;
  justify-content: space-between;
  margin-top: .5rem;
  color: var(--muted);
  font-size: .75rem;
}

/* Mülk listesi çizimi */
.prop-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.prop-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem .75rem;
  align-items: center;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: .9063rem;
}

.prop-list li:last-child { border-bottom: 0; }
.prop-list code { background: none; border: 0; padding: 0; font-size: .8438rem; overflow-wrap: anywhere; }
.prop-list .prop-type { grid-column: 1; color: var(--muted); font-size: .8125rem; }
.prop-list .badge { grid-column: 2; grid-row: 1 / span 2; }

/* Geçmiş dolum çizelgesi */
.backfill { display: grid; gap: .75rem; }

.bf-track {
  position: relative;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--ill-skel);
  overflow: hidden;
}

.bf-fill {
  position: absolute;
  inset: 0 0 0 38%;
  background: linear-gradient(90deg, rgb(13 148 136 / .35), var(--c-ctr));
}

.bf-ref {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 9%;
  background: repeating-linear-gradient(135deg, var(--c-pos) 0 6px, transparent 6px 10px);
  opacity: .9;
}

.bf-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .8125rem;
}

.bf-notes {
  display: grid;
  gap: .5rem;
  margin: .25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .875rem;
  color: var(--text-2);
}

.bf-notes li { display: flex; gap: .5rem; align-items: center; }

/* ---------- Yapay zekâ sohbet örneği ---------- */
.chat {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-size: .9375rem;
  font-weight: 650;
}

.chat-head .badge { margin-left: auto; }

.chat-avatar {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9px;
  background: linear-gradient(135deg, #5046e6, #0b8fa6);
  color: #ffffff;
}

.chat-avatar .icon { width: 1.1rem; height: 1.1rem; }

.chat-body {
  display: grid;
  gap: .85rem;
  padding: 1.1rem 1rem;
}

.msg {
  max-width: 94%;
  padding: .75rem .9rem;
  border-radius: 14px;
  font-size: .9375rem;
  line-height: 1.55;
}

.msg p { margin: 0 0 .55rem; }
.msg p:last-child { margin-bottom: 0; }

.msg-user {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--brand);
  color: var(--on-brand);
}

.msg-ai {
  justify-self: start;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  background: var(--surface-2);
  color: var(--text);
}

.msg-label {
  display: block;
  margin-bottom: .15rem;
  font-size: .8125rem;
  font-weight: 700;
  opacity: .85;
}

.tool-call {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: start;
  gap: .35rem .6rem;
  padding: .45rem .8rem;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  color: var(--muted);
  font-size: .8125rem;
}

.tool-call code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: .8125rem;
  font-weight: 650;
}

.tool-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.mini-table {
  width: 100%;
  margin: .35rem 0 .6rem;
  border-collapse: collapse;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.mini-table th,
.mini-table td {
  padding: .35rem .4rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.mini-table th { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.mini-table .num { text-align: right; white-space: nowrap; }
.mini-table tr:last-child td { border-bottom: 0; }

.delta-up { color: var(--accent-text); font-weight: 650; }
.delta-down { color: var(--danger-text); font-weight: 650; }

.chat-caption {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: .8125rem;
}

/* ---------- Koyu vurgu bölümü (MCP) ---------- */
.section-ink {
  --bg: #0b1020;
  --surface: #121a31;
  --surface-2: #172039;
  --surface-3: #1e2846;
  --border: #283354;
  --border-strong: #3a4670;
  --text: #eef1fb;
  --text-2: #ccd3e7;
  --muted: #a6afc9;
  --brand: #5b54ea;
  --brand-hover: #4f46e5;
  --brand-text: #b3bbff;
  --brand-soft: #1f2558;
  --brand-line: #343c84;
  --accent-text: #5eead4;
  --accent-soft: #0e2d2e;
  --danger-text: #fda29b;
  --focus: #b3bbff;
  --shadow-lg: 0 2px 8px rgb(0 0 0 / .35), 0 40px 80px -30px rgb(0 0 0 / .85);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(55% 70% at 100% 0%, rgb(79 70 229 / .38), transparent 62%),
    radial-gradient(45% 65% at 0% 100%, rgb(13 148 136 / .24), transparent 60%),
    #0b1020;
  color: var(--text);
}

.section-ink::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}

@media (prefers-color-scheme: dark) {
  .section-ink {
    border-block: 1px solid var(--border);
    background:
      radial-gradient(55% 70% at 100% 0%, rgb(79 70 229 / .32), transparent 62%),
      radial-gradient(45% 65% at 0% 100%, rgb(13 148 136 / .2), transparent 60%),
      #0e1430;
  }
}

.section-ink .lead { color: var(--muted); }

/* ---------- Adımlar ---------- */
.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step h3 { margin-bottom: .4rem; font-size: 1.0625rem; }
.step p { margin: 0; color: var(--muted); font-size: .9688rem; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: .9375rem;
  font-weight: 750;
  box-shadow: 0 0 0 5px var(--brand-soft);
}

/* Ayrıntılı zaman çizelgesi (Nasıl çalışır) */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline > li {
  position: relative;
  padding: 0 0 clamp(3rem, 2.5rem + 2vw, 4.5rem) 3.5rem;
}

.timeline > li:last-child { padding-bottom: 0; }

.timeline > li::before {
  content: "";
  position: absolute;
  top: 3rem;
  bottom: .75rem;
  left: 1.2rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--brand-line), var(--border));
}

.timeline > li:last-child::before { display: none; }

.tl-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 750;
  box-shadow: 0 0 0 6px var(--brand-soft);
}

.tl-grid { display: grid; gap: 1.75rem; }

@media (min-width: 60em) {
  .tl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
}

.tl-grid h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); margin-top: .2rem; }

/* ---------- Özellik satırları ---------- */
.feature-list {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .95rem;
}

.fi {
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-text);
}

.fi .icon { width: 1.25rem; height: 1.25rem; }
.feature-list h3 { margin: .2rem 0 .25rem; font-size: 1rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: .9531rem; }

.feature-block + .feature-block { margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.feature-block h3.feature-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin-bottom: .6rem; }

/* ---------- Kapsam (OAuth izinleri) ---------- */
.scope-list { display: grid; gap: .75rem; }

.scope {
  display: grid;
  gap: .45rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.scope-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.scope code { font-size: .8125rem; }
.scope p { margin: 0; color: var(--muted); font-size: .9375rem; }

.use-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 40em) { .use-grid { grid-template-columns: 1fr 1fr; } }

.use-grid h3 { font-size: 1rem; margin-bottom: .75rem; }
.use-grid .checklist { margin: 0; font-size: .9375rem; }

/* ---------- Güvenlik akış şeması ---------- */
.flow {
  display: grid;
  gap: 0;
  align-items: center;
}

.flow-node {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.flow-node h3 {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .35rem;
  font-size: 1rem;
}

.flow-node h3 .icon { color: var(--brand-text); }
.flow-node p { margin: 0; color: var(--muted); font-size: .9063rem; }

.flow-core {
  border-color: var(--brand-line);
  background: linear-gradient(180deg, var(--brand-soft), var(--surface) 75%);
  box-shadow: var(--shadow-md);
}

.flow-stack { display: grid; gap: .75rem; }

.flow-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .6rem 0;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 650;
  text-align: center;
}

.flow-link .icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--brand-text);
  transform: rotate(90deg);
}

@media (min-width: 64em) {
  .flow { grid-template-columns: minmax(0, 1fr) 8.5rem minmax(0, 1.15fr) 8.5rem minmax(0, 1.2fr); }
  .flow-link { padding: 0 .5rem; }
  .flow-link .icon { transform: none; }
}

/* ---------- Tablolar ---------- */
.table-wrap {
  margin: 0 0 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.table-wrap:focus-visible { outline-offset: 2px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}

caption {
  padding: .85rem 1rem 0;
  color: var(--muted);
  font-size: .8125rem;
  text-align: left;
}

th, td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr:last-child > * { border-bottom: 0; }
td code, th code { white-space: nowrap; }
td.wrap code { white-space: normal; }

/* Dar ekranda tablo satırlarını etiketli kartlara dönüştür */
@media (max-width: 40em) {
  .table-stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .table-stack,
  .table-stack tbody,
  .table-stack tr,
  .table-stack td { display: block; width: 100%; }

  .table-stack tr { padding: .85rem 1rem; border-bottom: 1px solid var(--border); }
  .table-stack tbody tr:last-child { border-bottom: 0; }
  .table-stack td { padding: .15rem 0; border: 0; }
  .table-stack td code { white-space: normal; }

  .table-stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-top: .45rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
}

/* ---------- Kod blokları ---------- */
.code {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--code-border);
  border-radius: var(--radius);
  background: var(--code-bg);
  box-shadow: var(--shadow-md);
}

.code figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 1rem;
  border-bottom: 1px solid var(--code-border);
  background: var(--code-head);
  color: var(--code-muted);
  font-size: .8125rem;
  font-weight: 650;
}

.code-lang {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .02em;
  color: var(--code-muted);
}

.code pre {
  margin: 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  color: var(--code-text);
  font-size: .8438rem;
  line-height: 1.7;
  tab-size: 2;
}

.code pre:focus-visible { outline-offset: -3px; }
.code code { font-family: var(--font-mono); }

.tk-key { color: var(--code-key); }
.tk-str { color: var(--code-str); }
.tk-num { color: var(--code-num); }
.tk-kw { color: var(--code-kw); }
.tk-com { color: var(--code-muted); font-style: italic; }
.tk-flag { color: var(--code-key); }
.tk-var { color: var(--code-num); }
.tk-cmd { color: #ffffff; font-weight: 650; }

/* ---------- SSS ---------- */
.faq-layout {
  display: grid;
  gap: 2.5rem;
}

.faq-layout > * { min-width: 0; }

@media (min-width: 64em) {
  .faq-layout { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3.5rem; align-items: start; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.faq-aside .btn { margin-top: .25rem; overflow-wrap: anywhere; }
.faq-aside .card-list a { color: var(--text-2); }
.faq-aside .card-list a:hover { color: var(--brand-text); }
.faq-group + .faq-group { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.faq-group h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem); margin-bottom: 1rem; scroll-margin-top: calc(var(--header-h) + 1rem); }

.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .15s ease;
}

.faq + .faq { margin-top: .65rem; }
.faq[open] { border-color: var(--brand-line); }

.faq > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::marker { content: ""; }
.faq > summary:hover { color: var(--brand-text); }

.faq > summary::after {
  content: "";
  flex: none;
  width: .55rem;
  height: .55rem;
  margin-top: -.25rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.faq[open] > summary::after { margin-top: .25rem; transform: rotate(-135deg); }

.faq-body {
  padding: 0 1.2rem 1.15rem;
  color: var(--text-2);
}

.faq-body p:last-child,
.faq-body ul:last-child { margin-bottom: 0; }

/* ---------- Metin sayfaları (hukuki) ---------- */
.legal {
  display: grid;
  gap: 2rem;
}

@media (min-width: 64em) {
  .legal { grid-template-columns: 15.5rem minmax(0, 1fr); gap: 4rem; align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.toc {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: .9063rem;
}

.toc h2 {
  margin-bottom: .7rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding-left: 1.2rem;
}

.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--brand-text); text-decoration: underline; }

.prose { max-width: 46rem; }
.prose > :first-child { margin-top: 0; }

.prose h2 {
  margin-top: 2.75rem;
  font-size: clamp(1.25rem, 1.15rem + .5vw, 1.45rem);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.prose h3 { margin-top: 1.75rem; font-size: 1.0625rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--muted); }

.prose blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-2);
  color: var(--text-2);
}

.prose blockquote p:last-child { margin-bottom: 0; }

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: .9375rem;
}

.meta-line span { display: inline-flex; align-items: center; gap: .4rem; }

.callout {
  margin: 1.5rem 0;
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--text-2);
}

.callout p:last-child { margin-bottom: 0; }

.def-list {
  display: grid;
  gap: 0;
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.def-list > div {
  display: grid;
  gap: .15rem .9rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.def-list > div:last-child { border-bottom: 0; }
.def-list dt { color: var(--muted); font-size: .875rem; font-weight: 600; }
.def-list dd { margin: 0; }

@media (min-width: 40em) {
  .def-list > div { grid-template-columns: 11rem minmax(0, 1fr); }
}

/* ---------- Çağrı bandı ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(130deg, #2a2775 0%, #4338ca 48%, #0e6f86 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / .07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .07) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 100% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 100% 0%, #000 20%, transparent 75%);
}

.cta-band h2 { color: #ffffff; max-width: 26ch; }
.cta-band p { color: rgb(255 255 255 / .92); max-width: 40rem; }
.cta-band a:not(.btn) { color: #ffffff; }
.cta-band :focus-visible { outline-color: #ffffff; }

.cta-grid { display: grid; gap: 1.75rem; align-items: center; }

@media (min-width: 60em) {
  .cta-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; }
}

.cta-band .kicker { color: #c9cffd; }

.cta-note-light {
  margin: .9rem 0 0;
  color: rgb(255 255 255 / .92);
  font-size: .9375rem;
}

.cta-side {
  display: grid;
  gap: .1rem;
  justify-items: start;
}

@media (min-width: 60em) {
  .cta-side { justify-items: end; text-align: right; }
}

.cta-section { padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); }

.cta-list {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgb(255 255 255 / .2);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / .07);
  list-style: none;
  font-size: .9531rem;
}

.cta-list li { display: flex; gap: .55rem; align-items: flex-start; }
.cta-list .icon { margin-top: .2rem; color: #7ff0dc; }

/* ---------- 404 ---------- */
.not-found {
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
  text-align: center;
}

.not-found .code-404 {
  display: block;
  margin-bottom: .5rem;
  font-size: clamp(3.5rem, 2.5rem + 6vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--brand-text);
}

.not-found h1,
.not-found .lead { max-width: 34rem; margin-inline: auto; }
.not-found .actions { justify-content: center; margin-top: 2rem; }

/* ---------- Alt bilgi ---------- */
.site-footer {
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: .9375rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 52em) {
  .footer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); gap: 3rem; }
}

.footer-brand p { margin: .9rem 0 0; color: var(--muted); max-width: 24rem; }
.footer-brand .footer-contact { display: flex; align-items: center; gap: .45rem; color: var(--text-2); }
.footer-brand .footer-contact .icon { color: var(--muted); }

.footer-nav {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
}

.footer-title {
  margin-bottom: .9rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a { color: var(--text-2); text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .875rem;
}

.footer-bottom p { margin: 0; }
.footer-tm { flex: 1 1 22rem; max-width: 44rem; font-size: .8125rem; }

/* ---------- Hareket tercihleri ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  a.card:hover { transform: none; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .site-header,
  .skip-link,
  .cta-band,
  .footer-nav,
  .toc { display: none !important; }

  body { background: #ffffff; color: #000000; }
  .section-ink { background: #ffffff; color: #000000; }
  a { color: #000000; }
  .page-hero::before, .page-hero::after, .hero::before, .hero::after { display: none; }
}
