/* OdoCloudflare — reset, tipografi, iskelet */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--ink-700);
  background: var(--surface-50);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink-900);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
}
h1 { font-size: var(--fs-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semi); }

a { color: var(--brand-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-primary-dark); }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
code, kbd, pre { font-family: var(--font-mono); font-size: 0.875em; }

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(192,48,96,.18); }

/* Kaydirma cubugu */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 99px; border: 2px solid var(--surface-50); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

/* ---------- Iskelet ---------- */

.layout { display: flex; min-height: 100vh; }

.main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  padding: var(--space-md) var(--space-lg) var(--space-xl);
  max-width: var(--container);
  width: 100%;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 6px;
}

.page-subtitle { color: var(--ink-500); font-size: var(--fs-small); margin-top: 4px; }

.muted { color: var(--ink-500); }
.mono  { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.text-right { text-align: right; }
.hidden { display: none !important; }

.stack { display: flex; flex-direction: column; gap: var(--space-md); }
.row   { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.grow  { flex: 1; }

@media (max-width: 1024px) {
  .main { margin-left: 0; }
  .content { padding: var(--space-sm) var(--space-sm) var(--space-lg); }
}
