:root {
  --navy: #0f2442;
  --blue: #346A8A;
  --apps: #4a78a3;
  --ink: #0f1c2e;
  --muted: #5b6b80;
  --line: #e3e9f0;
  --bg: #f5f7fa;
  --white: #ffffff;
  --surface: #ffffff;
  --strong: #0f2442;
  --body: #2c3a4d;
  --chip: #eef3f8;
  --chip-hover: #e2eaf2;
  --accent-solid: #0f2442;
  --header-bg: rgba(245, 247, 250, 0.82);
  --header-line: rgba(15, 36, 66, 0.08);
  --pill-line: rgba(15, 36, 66, 0.15);
  --hover-line: #cfdbe7;
  --input-bg: #fafcfe;
  --input-line: #d5dee8;
  --placeholder: #8a97a8;
  --err: #b4232c;
}
:root[data-theme="dark"] {
  --bg: #0a1424;
  --surface: #111f33;
  --ink: #e4ebf3;
  --strong: #e4ebf3;
  --body: #c3cedb;
  --muted: #93a3b8;
  --line: #1e2f46;
  --blue: #79a9c9;
  --apps: #7fa8cf;
  --chip: #19293f;
  --chip-hover: #22364f;
  --accent-solid: #2a4c73;
  --header-bg: rgba(10, 20, 36, 0.8);
  --header-line: rgba(255, 255, 255, 0.07);
  --pill-line: rgba(255, 255, 255, 0.16);
  --hover-line: #2d4462;
  --input-bg: #0d192b;
  --input-line: #2a3d57;
  --placeholder: #6d7d92;
  --err: #ff8f8f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-transform: lowercase;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--header-line);
}
.nav { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 500; color: var(--strong); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .b { color: var(--apps); }
.nav-right { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-right a { color: var(--muted); }
.nav-right a:hover, .nav-right a.on { color: var(--strong); text-decoration: none; }
.lang { display: inline-flex; border: 1px solid var(--pill-line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  text-transform: inherit; color: var(--muted); padding: 5px 10px; border-radius: 999px;
}
.lang button.on { background: var(--accent-solid); color: var(--white); }
.theme-toggle {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pill-line);
  background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.theme-toggle:hover { color: var(--strong); background: var(--chip); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .sun, [data-theme="dark"] .theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }

.hero {
  background: linear-gradient(100deg, #0a1f3f 0%, #2a4a6e 30%, #6c8399 65%, #b7c0c8 100%);
  color: var(--white); padding: 56px 0 60px;
}
[data-theme="dark"] .hero { background: linear-gradient(100deg, #071530 0%, #1c3555 30%, #3d5570 65%, #66788b 100%); }
.hero .wrap { display: flex; align-items: center; gap: 22px; }
.hero img { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 20px 40px -16px rgba(10,26,51,0.6); flex: none; }
.hero .app { font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.8); }
.hero h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.hero .updated { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,0.75); }

main { padding: 48px 0 80px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 40px; }
.doc > *:first-child { margin-top: 0; }
.doc h2 { margin-top: 36px; font-size: 22px; letter-spacing: -0.02em; color: var(--strong); }
.doc h3 { margin-top: 22px; font-size: 17px; color: var(--strong); }
.doc p, .doc ul { margin-top: 12px; color: var(--body); font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); }
.lead { font-size: 17.5px !important; }
.note { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--chip); font-size: 15.5px; }
.note p { margin-top: 0; }
.toc { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-size: 14px; font-weight: 600; color: var(--strong); background: var(--chip); padding: 6px 12px; border-radius: 999px; }
.toc a:hover { text-decoration: none; background: var(--chip-hover); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card h3 { font-size: 17px; color: var(--strong); }
.card p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.contact-box {
  margin-bottom: 24px; padding: 28px 32px; border-radius: 22px; color: var(--white);
  background: linear-gradient(100deg, #0a1f3f 0%, #2a4a6e 55%, #6c8399 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.contact-box h2 { font-size: 22px; letter-spacing: -0.02em; }
.contact-box p { margin-top: 4px; color: rgba(255,255,255,0.8); font-size: 15.5px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; background: var(--white); color: var(--navy);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.contact-box .support-form, .contact-box .sf-done { flex-basis: 100%; }
.support-form { display: grid; gap: 12px; }
.support-form label { display: block; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.support-form input[type=text], .support-form input[type=email], .support-form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 15.5px; text-transform: none; color: var(--ink);
  padding: 11px 14px; border-radius: 12px; border: 1px solid transparent; background: rgba(255,255,255,0.96); outline: none;
}
.support-form textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.support-form ::placeholder { text-transform: lowercase; color: #8a97a8; }
.support-form input:focus, .support-form textarea:focus { border-color: #9fc8dd; box-shadow: 0 0 0 3px rgba(159,200,221,0.35); }
.support-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.sf-status { font-size: 14px; color: rgba(255,255,255,0.85); }
.sf-status.err { color: #ffd2d2; }
.support-form .btn { border: 0; cursor: pointer; font-family: inherit; text-transform: inherit; }
.support-form .btn:disabled { opacity: .6; cursor: default; transform: none; }
.sf-done { padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,0.12); }
.sf-done strong { font-size: 17px; }
.sf-done p { margin-top: 2px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 16.5px; color: var(--strong); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; color: var(--apps); }
details[open] summary::after { content: "−"; }
details .ans { padding: 0 0 18px; }
details .ans p, details .ans ul { margin-top: 8px; }
details .ans p:first-child { margin-top: 0; }

[data-lang-block] { display: none; }
html[lang="en"] [data-lang-block="en"], html[lang="tr"] [data-lang-block="tr"] { display: block; }

footer { padding: 32px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }

@media (max-width: 700px) {
  .doc { padding: 26px 22px; }
  .cards { grid-template-columns: 1fr; }
  .sf-row { grid-template-columns: 1fr; }
  .contact-box { padding: 24px 22px; }
  .nav-right a.hide-sm { display: none; }
  .hero img { width: 64px; height: 64px; border-radius: 15px; }
}
