:root {
  --ink: var(--snoire-noir-ink);
  --muted: var(--snoire-text-muted);
  --line: var(--snoire-border);
  --soft: var(--snoire-paper);
  --accent: var(--snoire-deep-teal);
  --accent-soft: #edf8f9;
  font-family: var(--snoire-font-brand);
  color: var(--ink);
  background: var(--snoire-white);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--snoire-white); line-height: 1.68; }
a { color: inherit; text-decoration: none; }
.docs-wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

/* Sade ürün çubuğu: Docs, landing'in ikinci kopyası değildir. */
.docs-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.docs-nav-inner { min-height: 64px; display: flex; align-items: center; gap: 28px; }
.docs-brand { --snoire-lockup-wordmark-width: 148px; flex: none; }
.docs-nav nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.docs-nav nav a { color: #46545e; font-size: 12px; font-weight: 700; }
.docs-nav nav a:hover { color: var(--accent); }
.docs-language { flex: none; min-height: 38px; display: inline-flex; align-items: center; padding: 0 9px; border: 1px solid #bcc7cd; border-radius: 6px; background: #fff; }
.docs-language select { border: 0; outline: 0; background: transparent; color: var(--ink); font: 700 11px/1 "IBM Plex Mono", monospace; cursor: pointer; }
.docs-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid #bcc7cd; border-radius: 6px; color: var(--ink); background: #fff; font-size: 12px; font-weight: 700; }
.docs-button:hover { border-color: #7e8d96; }
.docs-button-dark { color: #fff; border-color: var(--ink); background: var(--ink); }
.docs-button-cyan { color: #fff; border-color: var(--accent); background: var(--accent); }

/* Başlık alanı kısa ve bilgi odaklıdır. */
.docs-hero { padding: 54px 0 42px; border-bottom: 1px solid var(--line); background: #fff; }
.docs-hero-inner { max-width: 820px; margin-left: max(20px, calc((100% - 1080px) / 2 + 240px)); margin-right: 20px; }
.docs-breadcrumb { display: flex; gap: 8px; color: #7a8790; font-size: 12px; }
.docs-breadcrumb a { color: var(--accent); }
.docs-hero h1 { margin: 14px 0 10px; font-size: clamp(32px, 4vw, 44px); line-height: 1.12; letter-spacing: -.035em; }
.docs-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; }
.docs-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font: 500 11px/1.5 "IBM Plex Mono", monospace; }
.docs-meta b { margin-right: 5px; color: var(--ink); }

.docs-layout { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 46px; padding-top: 44px; padding-bottom: 80px; }
.docs-toc { position: sticky; top: 82px; align-self: start; display: flex; flex-direction: column; max-height: calc(100vh - 98px); overflow-y: auto; padding-bottom: 10px; }
.docs-toc b { margin-bottom: 9px; font-size: 12px; }
.docs-toc a { padding: 6px 9px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.docs-toc a:hover { border-left-color: var(--accent); color: var(--ink); }
.docs-toc-group { margin: 12px 0 4px; color: #8a969e; font: 700 8px/1.4 "IBM Plex Mono", monospace; letter-spacing: .1em; }
.docs-content { min-width: 0; }
.docs-content > section { scroll-margin-top: 90px; padding: 0 0 54px; margin: 0 0 54px; border-bottom: 1px solid var(--line); }
.docs-kicker { color: var(--accent); font: 700 9px/1.3 "IBM Plex Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.docs-content h2 { max-width: 760px; margin: 10px 0 13px; font-size: clamp(25px, 3vw, 34px); line-height: 1.18; letter-spacing: -.03em; }
.docs-content h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.4; }
.docs-content p { max-width: 780px; color: var(--muted); font-size: 14px; }
.docs-content code { padding: 2px 5px; border: 1px solid #d5e7e9; border-radius: 4px; color: #086a78; background: var(--accent-soft); font: 600 11px/1.5 "IBM Plex Mono", monospace; overflow-wrap: anywhere; }
.docs-content pre { width: 100%; max-width: 100%; margin: 10px 0 0; padding: 13px 15px; overflow-x: auto; border: 1px solid #d5e7e9; border-radius: 6px; background: var(--accent-soft); }
.docs-content pre code { padding: 0; border: 0; background: transparent; white-space: pre; overflow-wrap: normal; }
.docs-text-link { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Özellik kapsamı ve kurulum ayrıntıları görsel kart yerine erişilebilir tabloda tutulur. */
.docs-table-wrap { width: 100%; max-width: 100%; margin: 22px 0; overflow-x: auto; contain: inline-size; border-top: 1px solid var(--line); }
.docs-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.55; }
.docs-table th, .docs-table td { padding: 11px 13px 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.docs-table th { color: #73808a; font: 700 9px/1.4 "IBM Plex Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.docs-table td:first-child { color: var(--accent); font: 700 9px/1.5 "IBM Plex Mono", monospace; text-transform: uppercase; }
.docs-table td:nth-child(2) { color: var(--ink); font-weight: 700; }
.docs-table td:last-child { color: var(--muted); }
.docs-table a { text-decoration: underline; text-decoration-color: #bfd0d5; text-underline-offset: 2px; }
.docs-list { max-width: 780px; padding: 0; margin: 22px 0; list-style: none; border-top: 1px solid var(--line); }
.docs-list li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.docs-list li::before { position: absolute; left: 2px; top: 14px; content: "✓"; color: var(--accent); font-weight: 800; }

/* Ön koşullar kart değil, okunabilir kontrol listesidir. */
.docs-check-grid { margin-top: 24px; border-top: 1px solid var(--line); }
.docs-check-grid > div { display: grid; grid-template-columns: 28px 160px 1fr; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.docs-check-grid span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #b9c7cd; border-radius: 50%; color: var(--accent); font: 700 9px/1 "IBM Plex Mono", monospace; }
.docs-check-grid b { font-size: 13px; }
.docs-check-grid p { margin: 0; font-size: 12px; }
.docs-note, .docs-warning { margin-top: 22px; padding: 13px 15px; border-left: 3px solid var(--accent); color: #43535d; background: var(--soft); font-size: 12px; }
.docs-warning { border-left-color: #c68a2e; }

.docs-steps { display: flex; flex-direction: column; padding: 0; margin: 23px 0; list-style: none; border-top: 1px solid var(--line); }
.docs-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.docs-steps li > div { min-width: 0; }
.docs-steps li > span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #b9c7cd; border-radius: 50%; color: var(--accent); font: 700 9px/1 "IBM Plex Mono", monospace; }
.docs-steps b { font-size: 13px; }
.docs-steps p { margin: 2px 0 0; font-size: 12px; }
.docs-steps-large li { padding: 17px 0; }

/* Yalnız karşılaştırma gerektiğinde iki sade blok. */
.docs-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.docs-methods article { padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.docs-method-tag { margin-bottom: 10px; color: var(--accent); font: 700 9px/1.3 "IBM Plex Mono", monospace; letter-spacing: .08em; }
.docs-methods p, .docs-methods small { color: var(--muted); font-size: 12px; }
.docs-methods code { display: block; width: fit-content; margin: 10px 0; }
.docs-methods small { display: block; }
.docs-path { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 20px 0; color: var(--muted); font: 600 11px/1.5 "IBM Plex Mono", monospace; }
.docs-path span { padding: 3px 0; border-bottom: 1px solid #bfd0d5; }
.docs-path i { color: #9aa6ad; font-style: normal; }
.docs-small { font-size: 12px !important; }

/* Sonuç ve kota bölümleri düz referans satırlarıdır. */
.docs-result-grid { margin-top: 22px; border-top: 1px solid var(--line); }
.docs-result-grid article { display: grid; grid-template-columns: 145px 200px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.docs-result-grid article > span { color: var(--muted); font: 700 9px/1.5 "IBM Plex Mono", monospace; }
.docs-result-grid .bad > span { color: #9e3e39; }
.docs-result-grid .good > span { color: #177355; }
.docs-result-grid .neutral > span { color: #7a6327; }
.docs-result-grid h3, .docs-result-grid p { margin: 0; }
.docs-result-grid p { font-size: 12px; }
.docs-quota-grid { display: grid; grid-template-columns: repeat(3,1fr); margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.docs-quota-grid article { padding: 15px 18px 15px 0; border-right: 1px solid var(--line); }
.docs-quota-grid article:not(:first-child) { padding-left: 18px; }
.docs-quota-grid article:last-child { border-right: 0; }
.docs-quota-grid strong { font-size: 27px; line-height: 1; }
.docs-quota-grid span { display: block; margin-top: 5px; color: var(--accent); font: 700 9px/1.3 "IBM Plex Mono", monospace; }
.docs-quota-grid p { margin: 8px 0 0; font-size: 11px; }
.docs-faq details { border-top: 1px solid var(--line); }
.docs-faq details:last-child { border-bottom: 1px solid var(--line); }
.docs-faq summary { padding: 16px 28px 16px 0; cursor: pointer; font-size: 13px; font-weight: 700; }
.docs-faq p { margin: -3px 0 17px; font-size: 12px; }
.docs-next { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 0 0 !important; margin-bottom: 0 !important; border-bottom: 0 !important; }
.docs-next h2 { margin-bottom: 4px; font-size: 24px; }
.docs-next p { margin: 0; }
footer { border-top: 1px solid var(--line); background: var(--soft); }
.docs-footer { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.docs-footer p { margin: 0 auto 0 0; color: var(--muted); font-size: 11px; }
.docs-footer a { color: var(--accent); font-size: 11px; font-weight: 700; }

@media (max-width: 900px) {
  .docs-nav nav { display: none; }
  .docs-language { margin-left: auto; }
  .docs-hero-inner { max-width: none; margin-inline: auto; }
  .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .docs-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; max-height: none; overflow: visible; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .docs-toc b { grid-column: 1 / -1; }
  .docs-toc-group { grid-column: 1 / -1; }
  .docs-result-grid article { grid-template-columns: 120px 180px 1fr; }
}
@media (max-width: 620px) {
  .docs-wrap { width: min(100% - 28px, 1080px); }
  .docs-nav-inner { min-height: 58px; gap: 12px; }
  .docs-brand { --snoire-lockup-wordmark-width: 110px; }
  .docs-nav .docs-button { min-height: 34px; padding-inline: 10px; }
  .docs-language { min-height: 34px; }
  .docs-hero { padding: 35px 0 28px; }
  .docs-hero h1 { font-size: 32px; }
  .docs-meta { flex-direction: column; gap: 5px; }
  .docs-content > section { padding-bottom: 43px; margin-bottom: 43px; }
  .docs-table { min-width: 610px; }
  .docs-check-grid > div { grid-template-columns: 27px 1fr; }
  .docs-check-grid p { grid-column: 2; }
  .docs-methods { grid-template-columns: 1fr; gap: 14px; }
  .docs-result-grid article { grid-template-columns: 1fr; gap: 5px; }
  .docs-quota-grid { grid-template-columns: 1fr; }
  .docs-quota-grid article, .docs-quota-grid article:not(:first-child) { padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-quota-grid article:last-child { border-bottom: 0; }
  .docs-next { align-items: flex-start; flex-direction: column; }
  .docs-footer { align-items: flex-start; flex-direction: column; padding-block: 22px; }
}
@media print {
  .docs-nav, .docs-toc, .docs-next, footer { display: none; }
  .docs-hero { padding: 20px 0; }
  .docs-layout { display: block; padding-top: 20px; }
  .docs-content > section { break-inside: avoid; }
}
