/* ==========================================================================
   AsistanX marka kiti (/brand-kit) — v1954
   Yalnız bu sayfa yükler; site.css değişkenlerini (--ink, --red, --line…) kullanır.
   ========================================================================== */

.ax-bk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.ax-bk-actions .ax-btn--ghost { border-color: var(--line-2); }

.ax-bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ax-bk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ax-bk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ax-bk-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

/* ---------- logo kartları ---------- */
.ax-bk-logo { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; }
.ax-bk-logo__stage { display: grid; place-items: center; min-height: 220px; padding: 40px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; }
.ax-bk-logo__stage--dark { background-color: var(--dark); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
.ax-bk-logo__stage img { max-width: 260px; max-height: 120px; width: auto; height: auto; }
.ax-bk-logo__stage img.is-mark { max-height: 96px; }
.ax-bk-logo__meta { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 18px 20px; border-top: 1px solid var(--line); }
.ax-bk-logo__meta strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.ax-bk-logo__meta p { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.ax-bk-logo__meta small { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.ax-bk-logo__dl { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 7px 12px; transition: border-color .15s, color .15s; }
.ax-bk-logo__dl:hover { border-color: var(--red); color: var(--red); }

/* ---------- kurallar ---------- */
.ax-bk-rules { margin-top: 56px; }
.ax-bk-rule { border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.ax-bk-rule h3 { font-size: 17px; }
.ax-bk-rule p { font-size: 14.5px; color: var(--ink-2); }
.ax-bk-rule__fig { display: grid; place-items: center; min-height: 150px; background: var(--bg-2); border-radius: 8px; padding: 24px; }

/* güvenli alan: logo etrafında x (ok yüksekliği) kadar boşluk */
.ax-bk-safe { position: relative; padding: 14%; border: 1px dashed var(--red); border-radius: 4px; }
.ax-bk-safe img { width: 180px; display: block; }
.ax-bk-safe::before, .ax-bk-safe::after { content: "x"; position: absolute; font-size: 11px; font-weight: 600; color: var(--red); font-family: var(--font-mono); }
.ax-bk-safe::before { top: 2px; left: 50%; transform: translateX(-50%); }
.ax-bk-safe::after { left: 6px; top: 50%; transform: translateY(-50%); }

.ax-bk-min { display: grid; gap: 14px; justify-items: start; }
.ax-bk-min img { display: block; }
.ax-bk-min span { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }

.ax-bk-bg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.ax-bk-bg div { display: grid; place-items: center; height: 64px; border-radius: 6px; border: 1px solid var(--line); }
.ax-bk-bg img { width: 90px; }

/* yanlış kullanım */
.ax-bk-dont { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.ax-bk-dont__fig { display: grid; place-items: center; height: 120px; padding: 20px; background: var(--bg-2); overflow: hidden; }
.ax-bk-dont__fig img { width: 150px; display: block; }
.ax-bk-dont__fig--stretch img { transform: scaleX(1.45); }
.ax-bk-dont__fig--rotate img { transform: rotate(-14deg); }
.ax-bk-dont__fig--recolor img { filter: hue-rotate(200deg) saturate(1.3); }
.ax-bk-dont__fig--shadow img { filter: drop-shadow(0 6px 6px rgba(0,0,0,.55)); }
.ax-bk-dont__fig--lowc { background: #2a2f36; }
.ax-bk-dont__fig--photo { background: url("visual/after-1.jpg") center / cover; }
.ax-bk-dont span { display: block; padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ax-bk-dont::before { content: "✕"; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; z-index: 1; }

/* ---------- renkler ---------- */
.ax-bk-swatch { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; text-align: left; padding: 0; cursor: pointer; display: grid; grid-template-rows: auto 1fr; font: inherit; color: inherit; transition: border-color .15s, transform .15s; }
.ax-bk-swatch:hover { border-color: var(--ink); transform: translateY(-2px); }
.ax-bk-swatch__chip { height: 120px; border-bottom: 1px solid var(--line); }
.ax-bk-swatch--sm .ax-bk-swatch__chip { height: 72px; }
.ax-bk-swatch__body { padding: 14px 16px; display: grid; gap: 4px; }
.ax-bk-swatch__body strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.ax-bk-swatch__body code { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.ax-bk-swatch__body small { font-size: 12.5px; color: var(--ink-3); }
.ax-bk-swatch__body p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.ax-bk-swatch__copy { font-size: 12px; font-weight: 600; color: var(--red); margin-top: 6px; min-height: 16px; }
.ax-bk-swatch--sm .ax-bk-swatch__body { padding: 12px 14px; }
.ax-bk-swatch--sm .ax-bk-swatch__body strong { font-size: 13.5px; }
.ax-bk-note { margin-top: 24px; font-size: 14px; color: var(--ink-2); padding: 14px 16px; border-left: 3px solid var(--red); background: #fff; border-radius: 0 8px 8px 0; }

/* ---------- yazı tipi ---------- */
.ax-bk-type { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.ax-bk-specimen { border: 1px solid var(--line); border-radius: 10px; padding: 36px; }
.ax-bk-specimen__big { font-size: clamp(72px, 10vw, 128px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ax-bk-specimen__big em { font-style: normal; color: var(--red); }
.ax-bk-specimen__glyphs { margin-top: 20px; font-size: 20px; line-height: 1.5; color: var(--ink-2); letter-spacing: .01em; word-break: break-all; }
.ax-bk-weights { display: grid; border-top: 1px solid var(--line); margin-top: 28px; }
.ax-bk-weights div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ax-bk-weights small { font-size: 12.5px; color: var(--ink-3); font-family: var(--font-mono); }
.ax-bk-weights span { font-size: 22px; letter-spacing: -0.01em; }
.ax-bk-scale { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ax-bk-scale div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ax-bk-scale small { font-size: 12.5px; color: var(--ink-3); font-family: var(--font-mono); white-space: nowrap; }
.ax-bk-scale .h1 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.ax-bk-scale .h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.ax-bk-scale .h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ax-bk-scale .lead { font-size: 18px; color: var(--ink-2); }
.ax-bk-scale .body { font-size: 16px; }
.ax-bk-scale .kicker { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.ax-bk-code { margin-top: 20px; background: var(--dark); color: var(--on-dark); border-radius: 8px; padding: 16px 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.ax-bk-code b { color: #ff6b66; font-weight: 500; }

/* ---------- örnekler ---------- */
.ax-bk-ex { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.ax-bk-ex__head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.ax-bk-ex__body { padding: 24px; display: grid; gap: 12px; align-content: center; justify-items: start; }
.ax-bk-ex__body--dark { background: var(--dark); color: var(--on-dark); }
.ax-bk-ex__body--center { justify-items: center; }
.ax-bk-ex__row { display: flex; flex-wrap: wrap; gap: 10px; }

.ax-bk-card { border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 8px; width: 100%; max-width: 360px; }
.ax-bk-card .ax-kicker { margin-bottom: 0; }
.ax-bk-card strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ax-bk-card p { font-size: 14.5px; color: var(--ink-2); }
.ax-bk-card a { font-size: 13.5px; font-weight: 600; color: var(--red); margin-top: 6px; }

.ax-bk-sig { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; font-size: 14px; line-height: 1.5; width: 100%; }
.ax-bk-sig img { width: 110px; }
.ax-bk-sig strong { display: block; font-size: 15px; }
.ax-bk-sig span { display: block; color: var(--ink-2); }
.ax-bk-sig a { color: var(--red); font-weight: 600; }
.ax-bk-sig__line { border-left: 2px solid var(--red); padding-left: 14px; }

.ax-bk-social { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.ax-bk-social figure { margin: 0; display: grid; gap: 8px; justify-items: center; }
.ax-bk-social figcaption { font-size: 12px; color: var(--ink-3); }
.ax-bk-avatar { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.ax-bk-avatar--dark { background: var(--dark); }
.ax-bk-avatar--light { background: #fff; }
.ax-bk-avatar img { width: 44px; }
.ax-bk-avatar img.is-wide { width: 80px; }
.ax-bk-appicon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; border: 1px solid var(--line); }
.ax-bk-appicon--dark { background: var(--dark); }
.ax-bk-appicon--white { background: #fff; }
.ax-bk-appicon img { width: 26px; }

.ax-bk-cover { width: 100%; aspect-ratio: 3 / 1; background: var(--dark); border-radius: 8px; display: grid; align-content: center; padding: 0 110px 0 28px; gap: 10px; position: relative; overflow: hidden; }
.ax-bk-cover img { width: 130px; position: relative; z-index: 1; }
.ax-bk-cover p { color: var(--on-dark-2); font-size: 13px; max-width: 26ch; position: relative; z-index: 1; }
.ax-bk-cover::after { content: ""; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 56px; height: 112px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ---------- indirme ---------- */
.ax-bk-files { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; max-width: 560px; }
.ax-bk-files a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--on-dark); font-size: 14.5px; }
.ax-bk-files a:hover { color: #fff; }
.ax-bk-files small { color: var(--on-dark-2); font-family: var(--font-mono); font-size: 12px; }

@media (max-width: 1024px) {
  .ax-bk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-bk-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ax-bk-grid, .ax-bk-grid--3, .ax-bk-type { grid-template-columns: 1fr; }
  .ax-bk-logo__stage { min-height: 180px; padding: 28px; }
  .ax-bk-specimen { padding: 24px; }
}
@media (max-width: 560px) {
  .ax-bk-grid--4, .ax-bk-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-bk-sig { grid-template-columns: 1fr; }
}
