/* =========================================================================
   arifcetiner.com — tema
   Tek dosya, harici font/CDN yok. Renkler :root üzerinde token olarak durur;
   gece modu hem sistem tercihine hem de data-theme özniteliğine göre çalışır.
   ========================================================================= */

:root {
  /* yüzeyler */
  --bg: #f7f8fa;
  --bg-soft: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f3f5f9;
  --line: #e2e6ee;
  --line-soft: #edf0f5;

  /* metin */
  --text: #111827;
  --text-2: #374151;
  --muted: #6b7280;

  /* vurgu */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #e8efff;
  --accent-contrast: #ffffff;
  --ring: rgba(37, 99, 235, .35);

  /* kod */
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
  --code-inline-bg: #eef2f7;
  --code-inline-text: #b91c1c;

  /* gölge & biçim */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .12), 0 4px 10px rgba(15, 23, 42, .05);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* ölçü */
  --wrap: 72rem;
  --measure: 44rem;
  --header-h: 64px;

  color-scheme: light dark;
}

/* --- gece modu: sistem tercihi (kullanıcı açıkça light seçmediyse) --- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d12;
    --bg-soft: #10141c;
    --surface: #141922;
    --surface-2: #1b212c;
    --line: #262d3a;
    --line-soft: #1e242f;

    --text: #f1f3f7;
    --text-2: #cbd2dd;
    --muted: #9aa3b2;

    --accent: #7aa2ff;
    --accent-hover: #9cb8ff;
    --accent-soft: #1a2436;
    --accent-contrast: #0b0d12;
    --ring: rgba(122, 162, 255, .4);

    --code-bg: #0c1018;
    --code-text: #dbe3f0;
    --code-inline-bg: #1e2532;
    --code-inline-text: #ff9d9d;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, .45);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, .55);
  }
}

/* --- gece modu: kullanıcı seçimi --- */
:root[data-theme="dark"] {
  --bg: #0b0d12;
  --bg-soft: #10141c;
  --surface: #141922;
  --surface-2: #1b212c;
  --line: #262d3a;
  --line-soft: #1e242f;

  --text: #f1f3f7;
  --text-2: #cbd2dd;
  --muted: #9aa3b2;

  --accent: #7aa2ff;
  --accent-hover: #9cb8ff;
  --accent-soft: #1a2436;
  --accent-contrast: #0b0d12;
  --ring: rgba(122, 162, 255, .4);

  --code-bg: #0c1018;
  --code-text: #dbe3f0;
  --code-inline-bg: #1e2532;
  --code-inline-text: #ff9d9d;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, .45);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, .55);
}

/* =========================== temel =========================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  line-height: 1.22;
  letter-spacing: -.021em;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--accent-contrast);
  padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip:focus { left: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================== başlık / menü =========================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: var(--surface); }
}

.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; color: var(--text); flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text { font-weight: 700; font-size: .98rem; letter-spacing: -.02em; }
.brand-text small { font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav a {
  color: var(--text-2); font-size: .9rem; font-weight: 500;
  padding: .45rem .62rem; border-radius: var(--radius-sm);
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

/* tema düğmesi */
.themetoggle {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-2); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.themetoggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.themetoggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.themetoggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .themetoggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .themetoggle .i-moon { display: block; }
}
:root[data-theme="dark"] .themetoggle .i-sun { display: none; }
:root[data-theme="dark"] .themetoggle .i-moon { display: block; }
:root[data-theme="light"] .themetoggle .i-sun { display: block; }
:root[data-theme="light"] .themetoggle .i-moon { display: none; }

/* mobil menü (JS'siz, checkbox ile) */
.navtoggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; gap: .6rem; padding-block: .6rem; }
  .brand { order: 1; margin-right: auto; min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-text, .brand-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .burger {
    display: grid; place-content: center; gap: 5px;
    width: 38px; height: 38px; order: 2;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); cursor: pointer;
  }
  .burger span {
    display: block; width: 17px; height: 2px; border-radius: 2px;
    background: var(--text-2); transition: transform .2s ease, opacity .2s ease;
  }
  .themetoggle { order: 3; }
  .nav {
    order: 4; flex-basis: 100%; width: 100%; margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease, padding .25s ease;
  }
  .nav a { padding: .7rem .8rem; font-size: 1rem; }
  .navtoggle:checked ~ .nav { max-height: 28rem; padding-bottom: .8rem; }
  .navtoggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navtoggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .navtoggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .navtoggle:focus-visible ~ .burger { outline: 2px solid var(--accent); outline-offset: 2px; }
}

/* =========================== hero =========================== */

.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60rem 26rem at 12% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%),
    radial-gradient(48rem 24rem at 92% 0%, color-mix(in srgb, #8b5cf6 12%, transparent), transparent 60%),
    var(--bg-soft);
}
.hero-inner { padding-block: clamp(2.75rem, 7vw, 5rem); max-width: 52rem; }
.hero-main { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.75rem); }
.hero-text { min-width: 0; }
.hero-avatar {
  width: clamp(72px, 10vw, 112px); height: clamp(72px, 10vw, 112px);
  flex: 0 0 auto;
  border-radius: 50%; object-fit: cover; display: block;
  background: var(--surface);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent), var(--shadow-md);
}
/* dar ekranda yan yana düzen metni sıkıştırıyor: avatarı üste al */
@media (max-width: 640px) {
  .hero-main { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .hero-avatar { width: 72px; height: 72px; border-width: 2px; }
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: .3rem .7rem; border-radius: var(--radius-pill); margin: 0 0 1rem;
}
.hero h1 {
  margin: 0 0 .9rem;
  font-size: clamp(2rem, 5.4vw, 3.25rem);
  letter-spacing: -.035em;
}
.hero p { margin: 0; color: var(--text-2); font-size: clamp(1.02rem, 2vw, 1.18rem); max-width: 38rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.hero-stats span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* sayfa başlıkları (arşiv / içerik) */
.page-head { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-head-inner { padding-block: clamp(2rem, 5vw, 3.25rem); }
.page-head h1 { margin: .35rem 0 0; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.page-head .kicker {
  margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--accent);
}
.page-head .lede { margin: .7rem 0 0; color: var(--muted); }

/* =========================== içerik bölümleri =========================== */

.section { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.section-head h2 { margin: 0; font-size: 1.32rem; letter-spacing: -.02em; }
.section-head a { font-size: .9rem; font-weight: 500; white-space: nowrap; }

/* kart ızgarası */
.grid {
  display: grid; gap: 1.35rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

.card-img {
  display: block; aspect-ratio: 16 / 9; background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; display: block; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.3rem; gap: .55rem; }
.card h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.card h3 a { color: var(--text); }
.card:hover h3 a { color: var(--accent); }
.card .excerpt {
  margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .readmore { margin-top: auto; padding-top: .3rem; font-size: .87rem; font-weight: 600; color: var(--accent); }

/* meta satırı */
.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  margin: 0; font-size: .8rem; color: var(--muted);
}
.meta .dot { opacity: .5; }
.chip {
  display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  padding: .16rem .55rem; border-radius: var(--radius-pill);
}
.chip:hover { background: color-mix(in srgb, var(--accent) 18%, var(--accent-soft)); color: var(--accent-hover); }

/* öne çıkan yazı */
.featured {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.featured:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
@media (min-width: 800px) { .featured { grid-template-columns: 1.05fr 1fr; } }
.featured-img { background: var(--surface-2); aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 800px) { .featured-img { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line-soft); } }
.featured-img img { width: 100%; height: 100%; object-fit: contain; padding: 1.75rem; display: block; }
.featured-body { padding: clamp(1.4rem, 3vw, 2.25rem); display: flex; flex-direction: column; justify-content: center; gap: .75rem; }
.featured-body h2 { margin: 0; font-size: clamp(1.35rem, 2.8vw, 1.9rem); }
.featured-body h2 a { color: var(--text); }
.featured-body h2 a:hover { color: var(--accent); }
.featured-body .excerpt { margin: 0; color: var(--text-2); font-size: 1rem; }

/* =========================== yazı sayfası =========================== */

.post { padding-block: clamp(2rem, 5vw, 3rem); }
.post-inner { max-width: var(--measure); margin-inline: auto; }

.post-header { margin-bottom: 1.75rem; }
.post-header h1 { margin: .6rem 0 .8rem; font-size: clamp(1.8rem, 4.6vw, 2.75rem); letter-spacing: -.032em; }
.post-header .meta { font-size: .875rem; }

.post-cover { margin: 0 0 2rem; }
.post-cover img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-2);
  padding: 1.25rem; box-shadow: var(--shadow-sm);
}

.post-body { font-size: 1.075rem; color: var(--text-2); overflow-wrap: anywhere; }
.post-body > :first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.35rem; }
.post-body strong { color: var(--text); font-weight: 650; }
.post-body h2 { margin: 2.5rem 0 .9rem; font-size: 1.5rem; }
.post-body h3 { margin: 2rem 0 .7rem; font-size: 1.22rem; }
.post-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 1.35rem; padding-left: 1.35rem; }
.post-body li { margin-bottom: .45rem; }
.post-body img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.post-body figure { margin: 1.75rem 0; }
.post-body figcaption { margin-top: .6rem; font-size: .85rem; color: var(--muted); text-align: center; }

.post-body blockquote {
  margin: 1.75rem 0; padding: .9rem 1.25rem;
  background: var(--surface-2); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-2);
}
.post-body blockquote p:last-child { margin-bottom: 0; }

/* kod blokları — terminal görünümü, her iki temada koyu */
.post-body pre {
  margin: 0 0 1.5rem; padding: 1.1rem 1.25rem;
  background: var(--code-bg); color: var(--code-text);
  border: 1px solid color-mix(in srgb, var(--code-text) 14%, transparent);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .89rem; line-height: 1.65;
  white-space: pre-wrap; word-break: break-word;
  overflow-x: auto; box-shadow: var(--shadow-sm);
}
.post-body pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.post-body code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .89em; background: var(--code-inline-bg); color: var(--code-inline-text);
  padding: .14em .4em; border-radius: 5px;
}

.post-body table {
  width: 100%; margin: 0 0 1.5rem; border-collapse: collapse;
  font-size: .95rem; display: block; overflow-x: auto;
}
.post-body th, .post-body td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; }
.post-body th { background: var(--surface-2); font-weight: 650; color: var(--text); }

.post-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-footer .label { margin: 0 0 .7rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.tags a {
  display: inline-block; font-size: .82rem; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.tags a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* yazı gezintisi */
.post-nav {
  max-width: var(--measure); margin: 2.5rem auto 0;
  display: grid; gap: .85rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1rem 1.15rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, transform .18s ease;
}
.post-nav a:hover { border-color: var(--accent); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .post-nav a:hover { transform: none; } }
.post-nav .dir { font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.post-nav .t { font-weight: 600; line-height: 1.35; font-size: .97rem; }
.post-nav .next { text-align: right; }

/* =========================== sayfalar & form =========================== */

.page-body { max-width: var(--measure); margin-inline: auto; }

/* iletişim: form yerine e-posta kartı */
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.75rem; padding: 1.25rem 1.4rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-md); }
.contact-icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
}
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-body { min-width: 0; }
.contact-label { margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-value { margin: .2rem 0 0; font-size: 1.08rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-value a { color: var(--text); }
.contact-value a:hover { color: var(--accent); }
@media (max-width: 460px) { .contact-card { flex-direction: column; align-items: flex-start; gap: .85rem; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-size: .97rem; font-weight: 600;
  background: var(--accent); color: var(--accent-contrast);
  border: 0; border-radius: var(--radius-sm);
  padding: .75rem 1.5rem; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-contrast); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--accent); border-color: var(--accent); }

.notice {
  background: var(--surface-2); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
  font-size: .95rem; color: var(--text-2);
}
.notice code { font-size: .88em; background: var(--code-inline-bg); color: var(--code-inline-text); padding: .12em .4em; border-radius: 4px; }

/* =========================== sayfalama =========================== */

.pagination {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.pagination .count { font-size: .88rem; color: var(--muted); }
.pagination .spacer { flex: 0 0 auto; width: 1px; }

/* =========================== alt bilgi =========================== */

.site-footer { margin-top: 2rem; border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-inner {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  padding-block: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; } }
.footer-brand strong { display: block; font-size: 1.05rem; margin-bottom: .5rem; }
.footer-brand p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 26rem; }
.footer-title { margin: 0 0 .7rem; font-size: .76rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.footer-nav a { color: var(--text-2); font-size: .92rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.15rem; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--muted); }

/* =========================== 404 =========================== */
.error-page { text-align: center; padding-block: clamp(3rem, 10vw, 6rem); }
.error-page .code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--accent), #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { margin: 1rem 0 .6rem; font-size: clamp(1.4rem, 4vw, 2rem); }
.error-page p { color: var(--muted); margin: 0 0 1.75rem; }
