:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5f6b7a;
  --line: #d9e0e8;
  --paper: #ffffff;
  --soft: #eef4f8;
  --page: #f6f8fb;
  --veil: rgba(255, 255, 255, .94);
  --code-ink: #12344a;
  --code-bg: #e7eef4;
  --primary: #176b87;
  --primary-dark: #0e4c61;
  --accent: #b8872b;
  --green: #23875a;
}

/* Koyu tema. Isletim sistemi tercihi ve /belgeler/ tarafindaki tema anahtari (data-theme)
   ayni belirteclere baglanir; boylece iki yuzey arasinda gecerken tema degismez. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #e8eef5;
    --muted: #9aa9ba;
    --line: #26323f;
    --paper: #141c25;
    --soft: #1a242f;
    --page: #0d141b;
    --veil: rgba(20, 28, 37, .94);
    --code-ink: #cfe3ef;
    --code-bg: #1d2935;
    /* Beyaz metin tasiyan yuzeyler (marka rozeti, birincil dugme) bu iki belirtecten
       boyandigi icin koyu temada da yeterince derin kalirlar. */
    --primary: #1a7d9b;
    --primary-dark: #14647d;
    --accent: #d8ab55;
    --green: #2f8f66;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8eef5;
  --muted: #9aa9ba;
  --line: #26323f;
  --paper: #141c25;
  --soft: #1a242f;
  --page: #0d141b;
  --veil: rgba(20, 28, 37, .94);
  --code-ink: #cfe3ef;
  --code-bg: #1d2935;
  --primary: #1a7d9b;
  --primary-dark: #14647d;
  --accent: #d8ab55;
  --green: #2f8f66;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: var(--veil);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--green));
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a { text-decoration: none; }
nav a:hover { color: var(--primary); }

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 52px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.actions, .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.btn.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn:hover { transform: translateY(-1px); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin: 34px 0 0;
}

.facts div, .steps article, .status-panel, .download {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.facts div { padding: 14px; }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 4px 0 0; font-weight: 800; }

.hero-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 26px 70px rgba(24, 41, 62, .18);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.band, .split, .gallery, .download {
  margin: 0 0 34px;
  padding: clamp(28px, 5vw, 46px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps article { padding: 22px; }

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-dark);
  font-weight: 900;
}

.steps p, .split p, .download p {
  color: var(--muted);
  line-height: 1.65;
}

code {
  overflow-wrap: anywhere;
  color: var(--code-ink);
  background: var(--code-bg);
  border-radius: 6px;
  padding: 2px 6px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: start;
}

.status-panel {
  padding: 10px;
}

.status-panel div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.status-panel div:last-child { border-bottom: 0; }
.status-panel span { color: var(--muted); text-align: right; }

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shots figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.shots img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.shots figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 750;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
}

footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  .hero, .split, .steps, .shots, .download { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .download { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  main { width: min(100% - 28px, 1180px); }
  h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: center; }
}
