/* akiciemir.github.io — tema ve yerleşim */

:root {
  --s2: 8px; --s4: 16px; --s6: 24px;
  --t12: 0.75rem; --t14: 0.875rem; --t16: 1rem;
  --t32: 2rem; --t48: 3rem;
  --r-sm: 6px; --r-md: 10px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
}

:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d10;
  --line: #242a32;
  --text: #e9ecf1;
  --muted: #9aa4b2;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #fafbfc;
  --line: #e2e6ea;
  --text: #12161c;
  --muted: #576271;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--t16)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}

:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s4) var(--s6);
}
.mark { display: block; width: 28px; height: 28px; border-radius: var(--r-sm); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: transparent; color: var(--text); cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: color-mix(in srgb, var(--text) 6%, transparent); border-color: var(--muted); }

[data-theme="dark"] .i-sun { display: none; }
[data-theme="light"] .i-moon { display: none; }

.hello {
  min-height: calc(100vh - 92px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s2); padding: var(--s6); text-align: center;
}
.hello h1 { margin: 0; font-size: var(--t48); font-weight: 700; letter-spacing: -0.02em; }
.hello p { margin: 0; color: var(--muted); font: var(--t14)/1 var(--mono); }

.nf {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s2); padding: var(--s6); text-align: center;
}
.nf h1 { margin: 0; font-size: var(--t32); font-weight: 700; }
.nf p { margin: 0; color: var(--muted); font: var(--t14)/1 var(--mono); }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}