/* Lokalta AR ortak stil: renkler, yazı tipleri, butonlar, üst bar ve alt bilgi.
   Ana sayfa, kurulum rehberleri ve yasal sayfaların hepsi bu dosyayı kullanır.
   Marka renkleri (colors.txt): #222831 lacivert · #393E46 antrasit · #00ADB5 turkuaz · #EEEEEE açık gri.
   Turkuaz açık zeminde yazı için fazla açık kalır (kontrast 2.4:1). Yazıda --accent-text (koyu turkuaz),
   dolgu ve süslemede --accent kullanılır. Turkuaz dolgu üstündeki yazı lacivert (--accent-ink) olur. */

/* ---------- Yazı tipleri (kendi sunucumuzdan, OFL lisanslı) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/fraunces-latin-ext-wght-normal.woff2) format("woff2-variations");
  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: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/fraunces-latin-wght-normal.woff2) format("woff2-variations");
  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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  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; }

/* ---------- Renkler ---------- */
:root {
  --bg: #eeeeee; --bg2: #e4e5e7; --panel: #f9f9f9; --ink: #222831; --ink2: #393e46; --muted: #5e646c; --line: #dadbdd; --line2: #c6c9cd;
  --accent: #00adb5; --accent2: #009aa1; --accent-soft: #d2edee; --accent-ink: #222831; --accent-text: #00747b; --accent-inv: #00adb5;
  --btn: #222831; --btn-ink: #eeeeee;
  --ok: #1f7a4d; --ok-soft: #dcefe4; --warn: #8a5300; --warn-soft: #fbebd3; --bad: #b3261e; --bad-soft: #fde7e5; --focus: #00747b;
  --code: #222831; --code-ink: #eeeeee;
  --foot: #222831; --foot-ink: #b9bcc1; --foot-head: #eeeeee; --foot-line: #393e46;
  --shadow-sm: 0 1px 2px rgba(34,40,49,.07); --shadow: 0 1px 2px rgba(34,40,49,.06), 0 12px 32px -8px rgba(34,40,49,.16); --shadow-lg: 0 30px 80px -20px rgba(34,40,49,.38);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #222831; --bg2: #1b2027; --panel: #2a3038; --ink: #eeeeee; --ink2: #c8cbcf; --muted: #9aa0a8; --line: #393e46; --line2: #4a505a;
    --accent: #00adb5; --accent2: #19c3cb; --accent-soft: #11393e; --accent-ink: #222831; --accent-text: #00adb5; --accent-inv: #00747b;
    --btn: #eeeeee; --btn-ink: #222831;
    --ok: #5cc493; --ok-soft: #173326; --warn: #f0b45a; --warn-soft: #33291a; --bad: #ff8a80; --bad-soft: #3a1c1a; --focus: #00adb5;
    --code: #171b21; --code-ink: #eeeeee;
    --foot: #1b2027; --foot-ink: #a9aeb5; --foot-head: #eeeeee; --foot-line: #393e46;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -8px rgba(0,0,0,.5); --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #222831; --bg2: #1b2027; --panel: #2a3038; --ink: #eeeeee; --ink2: #c8cbcf; --muted: #9aa0a8; --line: #393e46; --line2: #4a505a;
  --accent: #00adb5; --accent2: #19c3cb; --accent-soft: #11393e; --accent-ink: #222831; --accent-text: #00adb5; --accent-inv: #00747b;
  --btn: #eeeeee; --btn-ink: #222831;
  --ok: #5cc493; --ok-soft: #173326; --warn: #f0b45a; --warn-soft: #33291a; --bad: #ff8a80; --bad-soft: #3a1c1a; --focus: #00adb5;
  --code: #171b21; --code-ink: #eeeeee;
  --foot: #1b2027; --foot-ink: #a9aeb5; --foot-head: #eeeeee; --foot-line: #393e46;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -8px rgba(0,0,0,.5); --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, svg { display: block; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 22px; background: var(--btn); color: var(--btn-ink); font: 600 15px/1.1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s, opacity .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.accent:hover { background: var(--accent2); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.sm { padding: 10px 16px; font-size: 14px; }
.btn svg { flex-shrink: 0; }

/* ---------- Logo ---------- */
/* Açık zeminde koyu logo, koyu zeminde (karanlık mod, alt bilgi) açık logo */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 26px; width: auto; }
.logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .on-light { display: none; } :root:not([data-theme="light"]) .logo .on-dark { display: block; } }
:root[data-theme="dark"] .logo .on-light { display: none; }
:root[data-theme="dark"] .logo .on-dark { display: block; }

/* ---------- Üst bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
nav.links { display: none; gap: 26px; font-size: 15px; color: var(--ink2); }
nav.links a { text-decoration: none; position: relative; padding: 4px 0; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); }
nav.links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--accent); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top .login { font-size: 14.5px; text-decoration: none; color: var(--ink2); padding: 8px 6px; }
.top .login:hover { color: var(--ink); }
.chip-btn { background: none; border: 1px solid var(--line2); color: var(--ink2); border-radius: 999px; padding: 6px 11px; font: 600 12.5px/1 var(--sans); cursor: pointer; }
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line2); background: none; color: var(--ink); cursor: pointer; }
.top .cta { display: none; }
@media (max-width: 560px) { .top .login { display: none; } }
@media (min-width: 560px) { .top .cta { display: inline-flex; } }
@media (min-width: 1040px) { nav.links { display: flex; } .menu-btn { display: none; } }
.sheet { position: fixed; inset: 68px 0 auto 0; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: grid; gap: 2px; box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; }
.sheet a { text-decoration: none; font-size: 18px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.sheet a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }
.sheet .btn { margin-top: 14px; border-bottom: 0; }

/* ---------- Alt bilgi ---------- */
footer.site { background: var(--foot); color: var(--foot-ink); padding: 56px 0 40px; font-size: 14.5px; line-height: 1.6; }
footer.site .cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
footer.site .about { grid-column: 1 / -1; }
@media (min-width: 820px) { footer.site .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } footer.site .about { grid-column: auto; } }
footer.site .logo img { height: 28px; }
footer.site h4 { margin: 0 0 14px; font: 600 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--foot-head); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--foot-head); text-decoration: underline; text-underline-offset: 3px; }
footer.site .about p { margin: 16px 0 0; max-width: 28em; }
footer.site .kunye { margin: 36px 0 0; font-size: 13px; line-height: 1.65; max-width: 62em; }
footer.site .kunye a { color: var(--foot-head); }
footer.site .payband { margin-top: 18px; max-width: 100%; }
footer.site .payband img { height: 24px; width: auto; max-width: 100%; }
footer.site .base { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--foot-line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; }
