/* Rehber sayfaları: ana sayfanın tasarım dili (index.html), uzun metin için daraltılmış sütun. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(font/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(font/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(font/Inter-Bold.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(font/JetBrainsMono-Regular.woff2) format("woff2"); }

:root {
  --bg: #0c0d10;
  --card: #15171c;
  --line: #23262e;
  --line-2: #2e323c;
  --fg: #e8eaed;
  --muted: #9aa0ab;
  --dim: #6b717d;
  --accent: #4d8dff;
  --ok: #3ecf8e;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.7 Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: .92em; }

.top {
  position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line);
  background: rgba(12, 13, 16, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.top .in { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.btn:hover { text-decoration: none; background: #6199ff; }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; margin-left: auto; }

article { max-width: 760px; margin: 0 auto; padding: 32px 24px 72px; }
.crumbs { font: 13px/1.5 var(--mono); color: var(--dim); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 16px; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.015em; margin: 56px 0 12px; scroll-margin-top: 76px; }
h3 { font-size: 19px; margin: 32px 0 8px; }
p, li { color: #c9cdd4; }
strong { color: var(--fg); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.meta { font: 13px/1.5 var(--mono); color: var(--dim); }

.answer {
  border: 1px solid rgba(77, 141, 255, .45); background: rgba(77, 141, 255, .07);
  border-radius: 14px; padding: 18px 22px; margin: 28px 0;
}
.answer p { margin: 0; color: var(--fg); }
.answer b { color: var(--accent); font-weight: 600; }

.toc { border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; background: var(--card); margin: 28px 0; }
.toc b { font-size: 14px; color: var(--muted); font-weight: 600; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc li { margin: 4px 0; }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
ol.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font: 600 15px/1 Inter, sans-serif; color: var(--accent);
  background: rgba(77, 141, 255, .12); border: 1px solid rgba(77, 141, 255, .3);
}
ol.steps > li b { display: block; color: var(--fg); }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0; }
figure { margin: 0; }
figure .ph { border-radius: 22px; padding: 7px; background: #050608; border: 1px solid var(--line-2); max-width: 300px; margin: 0 auto; }
figure img { border-radius: 16px; width: 100%; height: auto; aspect-ratio: 540 / 1143; }
figcaption { text-align: center; color: var(--dim); font-size: 14px; margin-top: 10px; }

.note { border-left: 3px solid var(--line-2); padding: 2px 0 2px 16px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px; border-top: 1px solid var(--line); }
th { color: var(--fg); font-weight: 600; }
td { color: #c9cdd4; }
.table-wrap { overflow-x: auto; }

.cta-box {
  margin: 56px 0 0; padding: 32px 24px; text-align: center; border: 1px solid var(--line); border-radius: 20px;
  background: radial-gradient(420px 220px at 50% 0%, rgba(61, 123, 255, .2), transparent 70%), var(--card);
}
.cta-box h2 { margin: 0 0 8px; }
.cta-box p { color: var(--muted); margin: 0 0 20px; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
details p { margin: 0 0 16px; }

.related { display: grid; gap: 12px; margin-top: 16px; }
.related a {
  display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--card); color: var(--fg); font-weight: 600;
}
.related a span { display: block; color: var(--dim); font-weight: 400; font-size: 14px; }
.related a:hover { border-color: var(--line-2); text-decoration: none; }

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

@media (max-width: 560px) {
  .top .in, article { padding-left: 16px; padding-right: 16px; }
  footer { padding-left: 16px; padding-right: 16px; }
  .shots { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
