/* Velo — tanıtım sitesi. Harici yazı tipi/CDN yok; satır içi stil yok (CSP). */
:root {
  color-scheme: dark;
  --bg: #0B1A33;
  --bg-deep: #071328;
  --surface: #0F2343;
  --surface-2: #14305A;
  --border: rgba(125, 211, 252, .16);
  --border-strong: rgba(125, 211, 252, .32);
  --text: #E8F0FA;
  --muted: #A9BCD6;
  --cyan: #22D3EE;
  --blue: #2563EB;
  --sky: #7DD3FC;
  --link: #67E8F9;
  --ok: #4ADE80;
  --warn: #FBBF24;
  --code-bg: #061024;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .6);
  --grad: linear-gradient(135deg, #22D3EE 0%, #2563EB 100%);
  --grad-text: linear-gradient(100deg, #67E8F9 0%, #22D3EE 35%, #60A5FA 100%);
  --btn-grad: linear-gradient(135deg, #0E7490 0%, #1D4ED8 100%);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #A5F3FC; }
p a svg, li a svg { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; margin-left: .15em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li + li { margin-top: .35em; }
code, kbd, pre { font-family: var(--mono); font-size: .9em; }
:not(pre) > code {
  background: rgba(125, 211, 252, .1);
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 6px;
  padding: .08em .38em;
  overflow-wrap: anywhere;
}
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
::selection { background: rgba(34, 211, 238, .35); color: #fff; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 820px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cyan); color: #04121F; font-weight: 700;
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Üst bilgi ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 19, 40, .88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; padding: 6px 0; }
.brand img { width: 122px; height: auto; }
.nav-links { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-links li { margin: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-weight: 550; font-size: .95rem;
}
.nav-links a:hover { color: var(--text); background: rgba(125, 211, 252, .08); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(34, 211, 238, .12); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 2px; }
.lang-switch a {
  padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  color: var(--muted); text-decoration: none; letter-spacing: .04em;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { background: rgba(34, 211, 238, .16); color: var(--text); }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 959px) {
  .menu-btn { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-deep); border-bottom: 1px solid var(--border);
    padding: 10px 16px 18px; margin: 0;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 12px; font-size: 1rem; }
  .nav-links .nav-cta { display: block; margin-top: 8px; }
  .nav-links .nav-cta a { text-align: center; color: #fff; }
}
@media (min-width: 960px) { .nav-links .nav-cta { display: none; } }
@media (max-width: 380px) { .brand img { width: 104px; } }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--btn-grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(34, 211, 238, .55); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(34, 211, 238, .7); }
.btn-ghost { background: rgba(125, 211, 252, .06); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--text); background: rgba(125, 211, 252, .12); }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 9px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ---------- Kahraman ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .22), rgba(37, 99, 235, .12) 55%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -40% -20%; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .2), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } .hero { padding: 96px 0 80px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .93rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hero-meta svg { width: 18px; height: 18px; color: var(--cyan); }

/* Sohbet maketi (süs; aria-hidden) */
.mock {
  background: linear-gradient(180deg, rgba(20, 48, 90, .9), rgba(11, 26, 51, .95));
  border: 1px solid var(--border-strong); border-radius: 20px; box-shadow: var(--shadow);
  padding: 18px; max-width: 470px; margin: 0 auto; width: 100%;
}
.mock-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.mock-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; color: #04121F; font-size: .95rem; }
.mock-title { font-weight: 700; line-height: 1.25; }
.mock-sub { font-size: .8rem; color: var(--ok); }
.mock-call { margin-left: auto; display: flex; gap: 8px; }
.mock-call span { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--sky); }
.mock-call svg { width: 18px; height: 18px; }
.mock-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 0 8px; }
.bubble { max-width: 82%; padding: 9px 13px 7px; border-radius: 14px; font-size: .93rem; line-height: 1.45; position: relative; }
.bubble .meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: .72rem; color: var(--muted); margin-top: 3px; }
.bubble .meta svg { width: 16px; height: 16px; color: var(--cyan); }
.b-in { background: var(--surface-2); border-top-left-radius: 4px; align-self: flex-start; }
.b-out { background: linear-gradient(135deg, rgba(14, 116, 144, .9), rgba(29, 78, 216, .9)); border-top-right-radius: 4px; align-self: flex-end; }
.b-out .meta { color: #D6EAFE; }
.b-out .meta svg { color: #A5F3FC; }
.b-file { display: flex; align-items: center; gap: 10px; }
.b-file .ficon { width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.b-file .ficon svg { width: 18px; height: 18px; color: #fff; }
.b-file small { display: block; color: #D6EAFE; font-size: .74rem; }
.react { position: absolute; bottom: -12px; left: 10px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: 999px; font-size: .75rem; padding: 0 7px; line-height: 1.6; }
.b-in.has-react { margin-bottom: 10px; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 14px; background: var(--surface-2); border-radius: 14px; border-top-left-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); display: block; }
@media (prefers-reduced-motion: no-preference) {
  .typing i { animation: blink 1.3s infinite ease-in-out; }
  .typing i:nth-child(2) { animation-delay: .18s; }
  .typing i:nth-child(3) { animation-delay: .36s; }
}
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.mock-callbar {
  margin-top: 12px; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3);
  font-size: .85rem;
}
.mock-callbar svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }
.mock-callbar b { font-weight: 700; }
.mock-callbar .pill { margin-left: auto; font-size: .72rem; font-weight: 700; color: #04121F; background: var(--cyan); border-radius: 999px; padding: 2px 8px; }

/* ---------- Bölümler ---------- */
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, rgba(7, 19, 40, .7), rgba(7, 19, 40, .2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 750; margin-bottom: 10px; }

.page-hero { padding: 64px 0 36px; border-bottom: 1px solid var(--border); background: radial-gradient(900px 300px at 85% 0%, rgba(34, 211, 238, .12), transparent 70%); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.page-hero .lead { margin-bottom: 0; }

.grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.grid > *, .hero-grid > *, .flow > *, .feature-block > *, .doc-layout > * { min-width: 0; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: linear-gradient(180deg, rgba(20, 48, 90, .55), rgba(15, 35, 67, .55));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  position: relative;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card p + p, .card p + ul { margin-top: .6em; }
.card ul { color: var(--muted); margin: .6em 0 0; font-size: .95rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; font-size: .93rem; text-decoration: none; }
.card .more svg { width: 16px; height: 16px; }
.card .more:hover { text-decoration: underline; }
a.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .15s ease, transform .15s ease; }
a.card-link:hover { border-color: var(--border-strong); color: inherit; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { a.card-link, a.card-link:hover { transition: none; transform: none; } }
.ficon-lg {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .2), rgba(37, 99, 235, .25)); border: 1px solid rgba(34, 211, 238, .3);
}
.ficon-lg svg { width: 22px; height: 22px; color: var(--sky); }

/* Adımlar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps > li { margin: 0; counter-increment: step; }
.steps .card::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #04121F; font-weight: 800; margin-bottom: 14px;
}

/* Akış şeması */
.flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: stretch; margin-top: 8px; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr auto 1fr auto 1fr; } }
.flow-node { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.flow-node h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.flow-node h3 svg { width: 20px; height: 20px; color: var(--cyan); }
.flow-node ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.flow-node.accent { border-color: rgba(34, 211, 238, .45); box-shadow: 0 0 0 1px rgba(34, 211, 238, .15), 0 20px 50px -30px rgba(34, 211, 238, .6); }
.flow-arrow { display: grid; place-items: center; color: var(--sky); }
.flow-arrow svg { width: 26px; height: 26px; }
@media (max-width: 899px) { .flow-arrow svg { transform: rotate(90deg); } }

/* Listeler */
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 28px; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(34, 211, 238, .18) url("check.svg") center / 11px no-repeat;
}
.cross { list-style: none; padding: 0; }
.cross li { position: relative; padding-left: 28px; color: var(--muted); }
.cross li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(251, 191, 36, .14) url("minus.svg") center / 10px no-repeat;
}

/* Özellik ayrıntıları */
.feature-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 48px 0; border-top: 1px solid var(--border); }
.feature-block:first-of-type { border-top: 0; }
@media (min-width: 960px) { .feature-block { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; } }
.feature-block .fb-head p { color: var(--muted); }
.feature-block .fb-body > h3 { margin-top: 1.4em; }
.feature-block .fb-body > h3:first-child { margin-top: 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.subnav a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: .88rem; color: var(--muted); text-decoration: none; }
.subnav a:hover { color: var(--text); border-color: var(--border-strong); }

/* Uyarı kutuları */
.note {
  border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .07);
  border-radius: var(--radius-sm); padding: 14px 16px; margin: 1.2em 0;
}
.note.warn { border-color: rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .07); }
.note > :last-child { margin-bottom: 0; }
.note strong:first-child { color: var(--text); }

/* Tablolar */
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; border: 1px solid var(--border); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: rgba(125, 211, 252, .07); font-weight: 700; color: var(--text); white-space: nowrap; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }
@media (max-width: 639px) {
  .table-wrap.stack { overflow: visible; }
  .stack table, .stack tbody, .stack tr, .stack td { display: block; width: 100%; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack tr { padding: 10px 14px; border-bottom: 1px solid var(--border); }
  .stack tr:last-child { border-bottom: 0; }
  .stack td { border: 0; padding: 3px 0; }
  .stack td::before { content: attr(data-label); display: block; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sky); }
  .stack td:first-child { color: var(--text); font-weight: 650; }
  .stack td:first-child::before { display: none; }
}

/* Kod */
.code { position: relative; margin: 1em 0 1.4em; }
.code pre {
  margin: 0; background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; overflow-x: auto; line-height: 1.55; font-size: .86rem; color: #DCE7F5;
  tab-size: 2;
}
.code .label {
  display: block; font-family: var(--mono); font-size: .74rem; color: var(--muted);
  padding: 0 0 6px 2px; letter-spacing: .03em;
}
.code pre .c { color: #7F95B5; }
.code pre .s { color: #A5F3FC; }
.copy-btn {
  position: absolute; top: 8px; right: 8px;
  background: rgba(20, 48, 90, .95); border: 1px solid var(--border-strong); color: var(--text);
  border-radius: 8px; font: 600 .76rem/1 var(--font); padding: 7px 10px; cursor: pointer;
}
.code .label + pre + .copy-btn, .code.has-label .copy-btn { top: 30px; }
.copy-btn:hover { background: var(--surface-2); }
.copy-btn.done { color: var(--ok); border-color: rgba(74, 222, 128, .5); }

/* Sekmeler (JS yoksa tüm paneller görünür) */
.tabs [role="tablist"] { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 12px; flex-wrap: wrap; }
.tabs [role="tab"] {
  background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted);
  font: 650 .9rem/1 var(--font); padding: 11px 14px; cursor: pointer; margin-bottom: -1px;
}
.tabs [role="tab"]:hover { color: var(--text); }
.tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: var(--cyan); }
.tabs .tab-title { font-size: .95rem; margin: 1em 0 .2em; }
.tabs.enhanced .tab-title { display: none; }
.tabs [role="tabpanel"][hidden] { display: none; }

/* SSS */
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(15, 35, 67, .55); margin: 0 0 10px; }
.faq summary {
  cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 650; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 18px 16px; color: var(--muted); }
.faq .answer > :last-child { margin-bottom: 0; }
.faq h2 { margin-top: 1.6em; font-size: 1.35rem; }
.faq h2:first-child { margin-top: 0; }

/* Dokümantasyon / yasal düzen */
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 0 72px; }
@media (min-width: 1024px) { .doc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; } }
.toc { font-size: .92rem; }
.toc .toc-title { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 750; margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--border); color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); border-left-color: var(--sky); }
@media (min-width: 1024px) { .toc nav { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; } }
@media (max-width: 1023px) {
  .toc { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; background: rgba(15, 35, 67, .5); }
}
.prose { min-width: 0; }
.prose h2 { margin-top: 2.2em; padding-top: .2em; font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #D3DEEC; }
.prose .meta-line { color: var(--muted); font-size: .9rem; }
.todo { background: rgba(251, 191, 36, .16); border: 1px dashed rgba(251, 191, 36, .6); color: #FDE68A; border-radius: 5px; padding: 0 .3em; }
.anchor { color: inherit; text-decoration: none; }
.anchor:hover { text-decoration: underline; }

/* Harekete geçirici */
.cta-band {
  border: 1px solid var(--border-strong); border-radius: 20px; padding: 36px 24px;
  background: radial-gradient(600px 220px at 15% 0%, rgba(34, 211, 238, .18), transparent 70%), radial-gradient(600px 260px at 100% 100%, rgba(37, 99, 235, .25), transparent 70%), var(--surface);
  display: grid; gap: 20px; align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 44px 44px; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* İstatistik değil: varsayılan sınır kutucukları */
.facts { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.2em 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; background: rgba(15, 35, 67, .5); }
.fact b { display: block; font-size: 1.25rem; color: var(--text); }
.fact span { font-size: .85rem; color: var(--muted); }

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-deep); padding: 48px 0 28px; margin-top: 24px; font-size: .93rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: 6px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid .muted { color: var(--muted); font-size: .88rem; }
.footer-bottom a { color: var(--muted); }
.footer-grid a:hover { color: var(--link); text-decoration: underline; }
.footer-brand img { width: 132px; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); max-width: 30em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: .86rem; }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 24px; }
.notfound .big { font-size: clamp(3.5rem, 12vw, 6rem); font-weight: 800; line-height: 1; margin-bottom: .2em; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.notfound .alt { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }

@media print {
  .site-header, .site-footer, .copy-btn, .menu-btn { display: none !important; }
  body { background: #fff; color: #000; }
}
