  @font-face {
    font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/hanken-grotesk-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/hanken-grotesk-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
    src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
    src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  :root {
    --bg: #F7F7F5;
    --bg-alt: #EFEFEC;
    --panel: #FFFFFF;
    --panel-2: #F1F1EE;
    --code: #F3F3F0;
    --line: #E3E3DF;
    --line-2: #DEDED9;
    --line-3: #D2D2CC;
    --row: #EEEEEB;
    --text: #16171A;
    --text-2: #2A2C31;
    --muted: #4A4C52;
    --muted-2: #5E6066;
    --faint: #606369;
    --faint-2: #66696F;
    /* oklch desteklemeyen tarayıcılar için hex; destekleyenlerde aşağıda oklch */
    --accent: #007241;
    --accent-hover: #00602f;
    --accent-soft: rgba(0, 114, 65, 0.12);
    --accent-ink: #FFFFFF;
    --amber: #8a5600;
    --amber-soft: rgba(138, 86, 0, 0.12);
    --hover: #EDEDEA;
    --shadow: rgba(22, 23, 26, 0.14);
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --sans: 'Hanken Grotesk', Helvetica, Arial, sans-serif;
    color-scheme: light;
  }
  @supports (color: oklch(0 0 0)) {
    :root {
      --accent: oklch(0.49 0.12 155);
      --accent-hover: oklch(0.43 0.12 155);
      --accent-soft: oklch(0.49 0.12 155 / 0.12);
      --amber: oklch(0.5 0.12 70);
      --amber-soft: oklch(0.5 0.12 70 / 0.12);
    }
  }


/* Alt sayfalar (rehber, yasal metin, 404) için ortak stil; ana sayfa kendi satır içi stilini kullanır. */
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--text); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; width: 100%; }
@media (max-width: 520px) { .wrap { padding-left: 16px; padding-right: 16px; } }

header.site { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { display: flex; align-items: center; gap: 32px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.logo-mark { width: 16px; height: 16px; border: 2px solid var(--text); display: inline-block; position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 7px; height: 7px; background: var(--accent); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; border-radius: 4px; text-decoration: none; white-space: nowrap; padding: 10px 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-lg { padding: 15px 22px; font-size: 16px; }

article.doc { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.kicker { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.04em; margin: 0 0 14px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 20px; text-wrap: balance; }
.doc .lead { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 0 40px; text-wrap: pretty; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; font-weight: 700; margin: 48px 0 14px; text-wrap: balance; }
.doc h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.doc p { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; border-top: 1px solid var(--line-2); padding: 10px 12px 10px 0; line-height: 1.55; }
.doc th { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--faint-2); }
.table-scroll { overflow-x: auto; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--faint-2); margin: 0 0 32px; }
.callout { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--panel); border-radius: 4px; padding: 18px 20px; margin: 32px 0; }
.callout p:last-child { margin-bottom: 0; }
.cta { border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); padding: 28px; margin-top: 56px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta h2 { margin: 0; }
.cta p { margin: 0; color: var(--muted); }
/* Menü: ana sayfalarla aynı (landing.css); dar ekranda açılır menü (landing.js) */
.btn-sm { padding: 10px 16px; font-size: 14px; }
.nav-links { display: flex; gap: 20px; font-size: 14px; flex: 1; }
.nav-links a { color: var(--muted-2); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-login { font-size: 14px; color: var(--muted-2); padding: 10px 8px; text-decoration: none; }
.nav-login:hover { color: var(--text); }
.nav-toggle { display: none; font: inherit; font-size: 14px; color: var(--text); background: transparent; border: 1px solid var(--line-3); border-radius: 4px; padding: 9px 12px; cursor: pointer; align-items: center; gap: 8px; }
.nav-toggle .bars { width: 14px; height: 10px; position: relative; display: inline-block; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding-top: 8px; padding-bottom: 16px; display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.mobile-nav li:last-child a { border-bottom: 0; color: var(--muted-2); }
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-toggle { display: inline-flex; } }
@media (min-width: 861px) { .mobile-nav { display: none !important; } }
@media (max-width: 420px) { .nav-actions .nav-login { display: none; } .nav-toggle .txt { display: none; } }
.nav-text { font-size: 14px; color: var(--muted-2); text-decoration: none; padding: 10px 8px; }
.nav-text:hover, .nav-text[aria-current="page"] { color: var(--text); }
.doc .guide-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.doc .guide-list li { margin: 0; }
.guide-list a { display: block; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); padding: 14px 16px; text-decoration: none; }
.guide-list a:hover { border-color: var(--line-3); color: var(--text); }
.guide-list b { display: block; font-size: 16px; font-weight: 600; color: var(--text); }
.guide-list span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.related { margin-top: 56px; }
.related h2 { margin-top: 0; }
.related p { margin-top: 12px; font-size: 14px; }

footer.site { border-top: 1px solid var(--line); }
.foot { padding-top: 40px; padding-bottom: 32px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr); gap: 32px 40px; font-size: 13.5px; color: var(--faint-2); }
.foot .logo { color: var(--text); text-decoration: none; }
.foot-brand p { margin: 14px 0 0; max-width: 300px; line-height: 1.55; }
.foot h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--faint-2); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .foot-all { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line); padding: 18px 0 28px; font-size: 12.5px; color: var(--faint-2); }
@media (max-width: 900px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; } }
