/* ===========================================================================
   Sarı Araba — tanıtım sitesi
   Marka renkleri ve köşe yarıçapları uygulamanın kendi tasarım sisteminden
   gelir (constants/theme.ts). Sayfa, oyunun kendi dilini konuşur: ilan
   kartları, plaka, piyasa şeridi ve ekspertiz şeması.
   =========================================================================== */

:root {
  /* Nötrler sarıya doğru hafifçe kaydırılmış — düz gri değil, kağıt tonu. */
  --ground: #f4f2ec;
  --surface: #ffffff;
  --surface-alt: #faf8f3;
  --ink: #14141a;
  --ink-soft: #2b2b33;
  --body: #3c3b35;
  --muted: #6d6b63;
  --faint: #97948b;
  --line: #dedad0;
  --line-strong: #c3bfb2;

  --sari: #ffd21c;
  --sari-deep: #d8a900;
  --mavi: #23688f;
  --mavi-deep: #17516f;
  --yesil: #17815e;
  --turuncu: #d98324;
  --kirmizi: #cf4444;

  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;

  --step--2: 0.72rem;
  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.85rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.9rem, 1.9rem + 4.6vw, 6rem);

  --shell: 1120px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);

  /* Sahne renkleri temaya göre DEĞİŞMEZ: üst şerit, piyasa şeridi ve ekspertiz
     bölümü her iki temada da koyu kalır. Marka logosu sarı harflerle koyu zemin
     için çizilmiştir ve ekspertiz şeması koyu zeminde okunacak şekilde ayarlıdır. */
  --stage: #14141a;
  --stage-2: #1b1b22;
  --stage-line: #2e2e37;
  --stage-text: #c9c5bb;
  --stage-text-strong: #f0ede5;
  --stage-text-dim: #8b8880;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #101216;
    --surface: #181b21;
    --surface-alt: #14171c;
    --ink: #f0ede5;
    --ink-soft: #d6d2c8;
    --body: #c5c2b9;
    --muted: #918e86;
    --faint: #6f6c65;
    --line: #282c34;
    --line-strong: #3a3f49;
    --sari: #ffd21c;
    --sari-deep: #f5c500;
    --mavi: #57a3cd;
    --mavi-deep: #3585b1;
    --yesil: #45c095;
    --turuncu: #e8a049;
    --kirmizi: #e46a6a;
  }
}

:root[data-theme="dark"] {
  --ground: #101216;
  --surface: #181b21;
  --surface-alt: #14171c;
  --ink: #f0ede5;
  --ink-soft: #d6d2c8;
  --body: #c5c2b9;
  --muted: #918e86;
  --faint: #6f6c65;
  --line: #282c34;
  --line-strong: #3a3f49;
  --sari: #ffd21c;
  --sari-deep: #f5c500;
  --mavi: #57a3cd;
  --mavi-deep: #3585b1;
  --yesil: #45c095;
  --turuncu: #e8a049;
  --kirmizi: #e46a6a;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

/* Anton yalnızca büyük başlıklarda: dar, yüksek kontrastlı, ilan afişi karakteri. */
.display {
  font-family: Anton, "Archivo Black", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

a { color: var(--mavi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--mavi-deep); }

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

.shell { width: min(100% - calc(var(--pad) * 2), var(--shell)); margin-inline: auto; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric: tabular-nums;
}

.tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——————————————————————— Üst şerit ——————————————————————— */
/* Logo sarı harflerle koyu zemin için çizilmiş; şerit her iki temada koyu kalır. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 20, 26, 0.94); /* sabit koyu: logo sarı harfli */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 210, 28, 0.22);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
}
.topbar img { height: 32px; width: auto; }
.topbar nav { display: flex; gap: 1.4rem; align-items: center; font-size: 0.9rem; font-weight: 500; }
.topbar nav a { color: #cfccc3; text-decoration: none; }
.topbar nav a:hover { color: var(--sari); }
@media (max-width: 700px) { .topbar nav .hide-sm { display: none; } }

/* ——————————————————————— Hero ——————————————————————— */
.hero {
  position: relative;
  background: var(--sari);
  padding-block: clamp(2.75rem, 7vw, 5.5rem);
  overflow: hidden;
}
/* Zemin dokusu: ilan sayfası kılavuz çizgileri. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 20, 26, 0.05) 1px, transparent 1px);
  background-size: 100% 2.25rem;
  pointer-events: none;
}
.hero .shell { position: relative; display: grid; gap: clamp(2.25rem, 5vw, 4rem); }
@media (min-width: 940px) { .hero .shell { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.hero .tag { color: #7a6410; }
.hero h1 { color: #14141a; font-size: var(--step-4); }
.hero h1 em { font-style: normal; color: var(--mavi-deep); }
.hero .lede { color: #453c1c; font-size: var(--step-1); max-width: 36ch; line-height: 1.5; }

.plate {
  display: inline-flex;
  border: 2px solid #14141a;
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(20, 20, 26, 0.3);
}
.plate .eu {
  background: var(--mavi-deep);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.35rem 0.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.plate .no {
  color: #14141a;
  padding: 0.35rem 0.9rem;
  font-family: Anton, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
}

/* Mağaza butonları */
.stores { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #14141a;
  color: #fff;
  border: 2px solid #14141a;
  border-radius: var(--r-md);
  padding: 0.6rem 1.1rem;
  text-decoration: none;
  min-width: 200px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.store:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 rgba(20, 20, 26, 0.22); }
.store svg { flex: none; }
.store-copy { display: flex; flex-direction: column; line-height: 1.15; }
.store-copy small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.store-copy strong { font-family: Anton, sans-serif; font-size: 1.05rem; font-weight: 400; letter-spacing: 0.02em; }
.store[aria-disabled="true"] {
  background: transparent;
  color: #14141a;
  border-style: dashed;
  border-color: rgba(20, 20, 26, 0.4);
  cursor: default;
}
.store[aria-disabled="true"]:hover { transform: none; box-shadow: none; color: #14141a; }
.hero .soon { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7a6410; }
@media (prefers-reduced-motion: reduce) { .store { transition: none; } }

/* ——————————————————————— Telefon: uygulamanın birebir kopyası ———————————————————————
   Renkler, boşluklar ve kart düzeni uygulamanın kendi tasarım sisteminden gelir
   (constants/theme.ts): siyah üst bar + sarı çizgi, açık gri zemin (#F5F5F5),
   beyaz ilan kartları, mavi fiyat (#23688F), "ÖNE ÇIKAN" sarı rozet, alt sekme
   çubuğu. Bu blok her iki temada da SABİT açık kalır — telefon içinde uygulama
   kendi ışığında görünür. */
.phone-wrap { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.phone-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a6410;
}
.phone {
  position: relative;
  width: min(100%, 300px);
  background: #0c0c10;
  border-radius: 40px;
  padding: 11px;
  box-shadow:
    inset 0 0 0 2px #2a2a30,
    0 30px 70px -20px rgba(20, 20, 26, 0.55);
}
.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #0c0c10;
  border-radius: 999px;
  z-index: 5;
}
.app {
  background: #F5F5F5;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}

/* Üst bar — MarketHeader: siyah zemin, sarı alt çizgi */
.app-head {
  background: #000;
  border-bottom: 3px solid var(--sari);
  padding: 1.7rem 0.85rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-wordmark { height: 22px; width: auto; }
.app-actions { display: flex; align-items: center; gap: 0.65rem; color: #fff; }
.app-actions svg { width: 18px; height: 18px; }
.app-bell { position: relative; display: inline-flex; }
.app-dot {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 13px; height: 13px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--kirmizi);
  border: 1.5px solid #000;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 600;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* Arama satırı */
.app-search { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.7rem 0.5rem; }
.app-searchbox {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #DCDCDC;
  border-radius: var(--r-md);
  padding: 0.5rem 0.6rem;
  font-size: 0.68rem;
  color: #999;
}
.app-searchbox svg { width: 13px; height: 13px; color: #999; flex: none; }
.app-filter {
  width: 34px; height: 32px;
  display: grid; place-items: center;
  background: #000; color: #fff;
  border-radius: var(--r-md);
}
.app-filter svg { width: 15px; height: 15px; }

/* Kategori çipleri */
.app-chips { display: flex; gap: 0.35rem; padding: 0 0.7rem 0.55rem; overflow: hidden; }
.app-chip {
  flex: none;
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #DCDCDC;
  color: #6B6B6B;
  white-space: nowrap;
}
.app-chip.on { background: var(--sari); border-color: var(--sari-deep); color: #1D1D1D; }

/* İlan akışı */
.app-feed { flex: 1; overflow: hidden; position: relative; }
.app-feed::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40px;
  background: linear-gradient(transparent, #F5F5F5);
  pointer-events: none;
}
.app-feed-track {
  display: grid;
  gap: 0.6rem;
  padding: 0.15rem 0.7rem 0.7rem;
  animation: app-scroll 30s linear infinite;
}
@keyframes app-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* İlan kartı — ListingCard.tsx: kapak fotoğrafı, mavi fiyat, künye, alt satır */
.lc {
  background: #fff;
  border: 1px solid #DCDCDC;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.04);
}
.lc-shot {
  position: relative;
  height: 116px;
  background: #fff;
}
/* Oyunun 3B modellerinden render edilmiş stüdyo fotoğrafı (beyaz zemin) */
.lc-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-badge {
  position: absolute;
  left: 8px; top: 8px;
  background: var(--sari);
  color: #1D1D1D;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.24rem 0.4rem;
  border-radius: var(--r-sm);
}
.lc-fav {
  position: absolute;
  right: 8px; top: 8px;
  width: 30px; height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #1D1D1D;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lc-fav svg { width: 15px; height: 15px; }
.lc-fav.on { color: var(--kirmizi); }
.lc-body { padding: 0.6rem 0.7rem 0.65rem; }
.lc-title { margin: 0; font-size: 0.78rem; font-weight: 600; color: #303030; }
.lc-pro {
  display: inline-block;
  margin-top: 0.28rem;
  background: #F0F8FF;
  border: 1px solid #B0E0E6;
  color: #4682B4;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.14rem 0.34rem;
  border-radius: 4px;
}
.lc-price {
  margin-top: 0.3rem;
  color: var(--mavi);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.lc-facts { margin-top: 0.3rem; font-size: 0.66rem; font-weight: 600; color: #6B6B6B; }
.lc-facts i { color: #bdbdbd; font-style: normal; padding: 0 0.28rem; }
.lc-foot {
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid #ECECEC;
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: #999;
}

/* Alt sekme çubuğu */
.app-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid #DCDCDC;
  padding: 0.4rem 0.2rem 0.55rem;
}
.app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: #9a9a9a;
  font-size: 0.52rem;
  font-weight: 600;
}
.app-tab svg { width: 19px; height: 19px; }
.app-tab.on { color: #000; }
.app-tab.sell i { color: #6B6B6B; }
.app-plus {
  width: 34px; height: 34px;
  margin-top: -12px;
  border-radius: 999px;
  background: var(--sari);
  border: 3px solid #fff;
  color: #1D1D1D;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(20, 20, 26, 0.25);
}
.app-plus svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  .app-feed-track { animation: none; }
}

/* ——————————————————————— Piyasa şeridi ——————————————————————— */
.ticker {
  background: var(--stage);
  border-block: 2px solid var(--sari);
  overflow: hidden;
  padding-block: 0.55rem;
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 38s linear infinite;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #b9b5aa;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker b { color: var(--stage-text-strong); font-weight: 600; }
.ticker .up { color: #3ddc9a; }
.ticker .down { color: #ff8a8a; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .feed-track { animation: none; }
  .feed { height: auto; }
}

/* ——————————————————————— Bölümler ——————————————————————— */
section { padding-block: clamp(3.25rem, 8vw, 6rem); }
.section-head { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); max-width: 62ch; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); }

.alt { background: var(--surface-alt); border-block: 1px solid var(--line); }

/* Ekspertiz: sayfanın kalbi, koyu sahne */
.dark-stage { background: var(--stage); color: var(--stage-text); }
.dark-stage h2 { color: #fff; }
.dark-stage .tag { color: var(--sari); }
.dark-stage .section-head p { color: #a5a199; }

.exp-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .exp-grid { grid-template-columns: 1.05fr 0.95fr; } }

/* Ekspertiz sahnesi: gerçek 3B araç modeli */
.stage-viewer {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 15%, #23232d 0%, var(--stage-2) 55%, #101015 100%);
  border: 1px solid var(--stage-line);
  border-radius: var(--r-lg);
  padding: clamp(0.75rem, 2vw, 1.1rem);
  overflow: hidden;
}
.stage-viewer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 210, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 210, 28, 0.05) 1px, transparent 1px);
  background-size: 2.25rem 2.25rem;
  pointer-events: none;
}
.car-viewer {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 300px;
  background: transparent;
  --poster-color: transparent;
  border-radius: var(--r-md);
}
.viewer-badge {
  position: absolute;
  top: clamp(1rem, 2.5vw, 1.5rem);
  left: clamp(1rem, 2.5vw, 1.5rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(20, 20, 26, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--stage-line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stage-text);
  pointer-events: none;
}
.viewer-badge .dot { width: 6px; height: 6px; background: var(--sari); }
.viewer-caption {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  margin-top: 0.4rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--stage-text-dim);
}

.exp-readout { display: grid; gap: 0.9rem; }
.readout-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--stage-line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.readout-row span:first-child { color: var(--stage-text-dim); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }
.readout-row span:last-child { color: var(--stage-text-strong); font-weight: 600; }
.readout-row.hit span:last-child { color: var(--sari); }
.exp-note { color: #a5a199; font-size: 0.95rem; margin-top: 0.5rem; }
#part-name { color: var(--sari); font-weight: 600; }

/* Adımlar */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { background: var(--surface); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 0.5rem; align-content: start; }
.step-no {
  font-family: Anton, sans-serif;
  font-size: 1.05rem;
  color: #14141a;
  background: var(--sari);
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
}
.step h3 { font-size: var(--step-1); }
.step p { color: var(--muted); font-size: 0.96rem; }

/* Özellik tablosu */
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.spec-row { display: grid; gap: 0.3rem; padding: 1.2rem var(--pad); border-top: 1px solid var(--line); }
.spec-row:first-child { border-top: 0; }
@media (min-width: 760px) { .spec-row { grid-template-columns: 210px 1fr; gap: 1.75rem; align-items: start; } }
.spec-row dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.25rem;
}
.spec-row dd { margin: 0; color: var(--muted); }
.spec-row dd strong { display: block; font-family: Anton, sans-serif; font-weight: 400; letter-spacing: 0.01em; color: var(--ink); font-size: var(--step-1); margin-bottom: 0.3rem; }

/* İndirme şeridi */
.band {
  background: var(--sari);
  border: 2px solid var(--stage);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4.5vw, 3rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 860px) { .band { grid-template-columns: 1.15fr auto; } }
.band h2 { color: #14141a; font-size: var(--step-2); }
.band p { color: #453c1c; max-width: 46ch; margin-top: 0.5rem; }
.band .store { background: var(--stage); color: #fff; border-color: var(--stage); }
.band .store[aria-disabled="true"] { background: transparent; color: #14141a; border-color: rgba(20, 20, 26, 0.4); }

/* SSS */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.05rem 1.2rem; }
details + details { margin-top: 0.55rem; }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: "IBM Plex Mono", monospace; font-size: 1.25rem; color: var(--muted); line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 0.75rem; color: var(--muted); font-size: 0.96rem; }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--surface-alt); padding-block: 2.75rem; }
.foot-grid { display: grid; gap: 1.9rem; }
@media (min-width: 740px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.foot-brand { display: inline-block; background: #14141a; padding: 0.5rem 0.7rem; border-radius: var(--r-md); margin-bottom: 0.85rem; }
.foot-brand img { height: 28px; width: auto; }
.foot-social { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1rem; }
.foot-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--body);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}
.foot-social a:hover { color: var(--mavi); }
.foot-social svg { flex: none; }
footer h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 0.65rem;
}
footer ul { list-style: none; display: grid; gap: 0.45rem; font-size: 0.93rem; }
footer a { color: var(--body); text-decoration: none; }
footer a:hover { color: var(--mavi); text-decoration: underline; }
.foot-note {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* Yasal / içerik sayfaları */
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.doc h1 { font-size: var(--step-3); margin-bottom: 0.4rem; }
.doc .updated { font-family: "IBM Plex Mono", monospace; font-size: var(--step--1); color: var(--muted); margin-bottom: 2rem; }
.doc h2 { font-size: var(--step-1); margin-top: 2.25rem; margin-bottom: 0.6rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.5rem; }
.doc p { margin-bottom: 0.9rem; max-width: 72ch; }
.doc ul { max-width: 72ch; padding-left: 1.2rem; list-style: disc; }
.doc li { margin-bottom: 0.5rem; }
.notice {
  border-left: 4px solid var(--sari);
  background: color-mix(in srgb, var(--sari) 13%, transparent);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: 1.5rem;
}
.notice strong { color: var(--ink); }
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

/* Scroll ile beliriş */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
