/* Postelk — karşılaştırma sayfaları (/buffer-alternative, /hootsuite-alternative, /later-alternative, /publer-alternative,
   /postiz-alternative) + /best-social-media-scheduling-apis. Yalnız bu sayfalar yükler (head(css="compare.css")); işaretleme
   scripts/generate_marketing_pages.py comparison_page / api_comparison_page. Fiyat sayfasıyla aynı tasarım dili: 4 px ızgara
   (8 · 12 · 16 · 24 · 40 · 72), tablo yerine KUTU KUTU satırlar, sayfa başında küçük etiket YOK (Emre 2026-11-16), SSS paylaşılan
   .m-qa parçası (marketing.css). Renkler variables.css değişkenlerinden; açık tema. */
.cmp {
  --cmp-ink: var(--text, #1E1A15);
  --cmp-mute: var(--text-mute, #4F5B54);
  --cmp-dim: var(--text-dim, #66716B);
  --cmp-line: var(--border, #DCE3DE);
  --cmp-line-soft: #E9EDEA;
  --cmp-fill: var(--bg-elev, #F1F4F2);
  --cmp-card: var(--bg-card, #FFFFFF);
  --cmp-brand: var(--brand, #368067);
  --cmp-brand2: var(--brand2, #286B52);
  --cmp-tint: #EFF6F2;
  color: var(--cmp-ink);
  overflow-x: clip;
}

/* ---------- hero */
.cmp-hero { padding: 72px 0 64px; text-align: center; }
.cmp-hero .m-container { max-width: 880px; }
.cmp-logos { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0 0 28px; }
/* Postelk işareti ince çizgili bir geyik, rakip logoları dolu şekiller: aynı ölçüde bizimki küçük görünür → bizimki 88 px, rakip 60 px
   (2026-11-17 Emre: "onların logoları daha büyük durmasın gözle bakınca") */
.cmp-logo { display: grid; place-items: center; width: 60px; height: 60px; }
.cmp-logo--us { width: 88px; height: 88px; }
.cmp-logo img, .cmp-logo svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.cmp-logo--mono { border-radius: 16px; background: color-mix(in srgb, var(--compare-color) 14%, transparent); color: var(--compare-color); font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.cmp-logos small { color: var(--cmp-dim); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.cmp-hero h1 { max-width: 780px; margin: 0 auto; font-size: clamp(38px, 5vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -.04em; }
.cmp-hero h1 .accent { color: var(--cmp-brand2); }
.cmp-hero__lead { max-width: 680px; margin: 20px auto 0; color: var(--cmp-mute); font-size: 18px; line-height: 1.6; }
.cmp-hero .m-hero__actions { justify-content: center; margin-top: 28px; }
/* "Short answer": solda Postelk logosu, sağda cevap (eski tasarımdaki gibi — cevabı kimin verdiği belli) */
.cmp-answer { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; max-width: 720px; margin: 40px auto 0; padding: 20px 24px; border: 1px solid var(--cmp-line); border-radius: 16px; background: var(--cmp-card); text-align: left; }
.cmp-answer img { display: block; width: 48px; height: 48px; }
.cmp-answer b { display: block; margin-bottom: 6px; color: var(--cmp-ink); font-size: 14px; font-weight: 700; line-height: 1.3; }
.cmp-answer b span { margin-left: 8px; color: var(--cmp-dim); font-size: 12.5px; font-weight: 600; }
.cmp-answer p { margin: 0; color: #2B3630; font-size: 15.5px; line-height: 1.65; }

/* ---------- bölümler */
.cmp-sec { padding: 72px 0; }
.cmp-sec--soft { background: var(--bg-soft, #F5F7F6); border-top: 1px solid var(--cmp-line-soft); border-bottom: 1px solid var(--cmp-line-soft); }
.cmp-sec--first { padding-top: 8px; }
.cmp-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.cmp-head h2, .cmp-inc__head h2, .cmp-fair h2, .cmp-cols h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.cmp-head p { margin: 12px 0 0; color: var(--cmp-mute); font-size: 16.5px; line-height: 1.6; }

/* ---------- karşılaştırma: her hücre ayrı kutu; Postelk sütunu yeşil tonlu */
.cmp-table { display: block; max-width: 1000px; margin: 0 auto; border: 0; border-spacing: 0; font-size: 15px; }
.cmp-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-table thead, .cmp-table tbody { display: block; }
.cmp-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.3fr); gap: 8px; }
.cmp-table tbody tr, .cmp-table thead tr { margin-top: 8px; }
.cmp-table th, .cmp-table td { display: flex; align-items: center; min-width: 0; margin: 0; border: 0; text-align: left; }
.cmp-table thead th { justify-content: center; gap: 10px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--cmp-line); border-radius: 14px; background: var(--cmp-card);
  font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.cmp-table thead th.cmp-corner { border: 0; background: none; }
.cmp-table thead th.cmp-us { border-color: var(--cmp-brand); box-shadow: 0 0 0 1px var(--cmp-brand); }
/* Postelk kilidi: 40 px işaret (yazıya göre 0,104 × yukarı — site geneli kilit kuralı) + 20 px wordmark; rakip işareti 26 px */
.cmp-table thead th img { display: block; width: 40px; height: 40px; flex: 0 0 auto; transform: translateY(-4px); }
.cmp-table thead th .pkword { font-size: 20px; }
.cmp-table thead th .cmp-mark { display: inline-flex; width: 26px; height: 26px; flex: 0 0 auto; }
.cmp-table thead th .cmp-mark svg, .cmp-table thead th .cmp-mark img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.cmp-table thead th .cmp-mark--mono { align-items: center; justify-content: center; border-radius: 8px; background: color-mix(in srgb, var(--compare-color) 16%, transparent); color: var(--compare-color); font-size: 12px; font-weight: 800; }
.cmp-table tbody th { padding: 14px 16px; border-radius: 12px; background: var(--cmp-fill); font-size: 15px; font-weight: 600; line-height: 1.35; }
.cmp-table tbody td { min-height: 54px; padding: 12px 16px; border: 1px solid var(--cmp-line-soft); border-radius: 12px; background: var(--cmp-card); color: #2B3630; font-weight: 500; line-height: 1.45; }
.cmp-table tbody td.cmp-us { border-color: #D9EADF; background: var(--cmp-tint); color: var(--cmp-ink); font-weight: 600; }
.cmp-table tbody td::before { display: none; }
.cmp-note { max-width: 760px; margin: 24px auto 0; color: var(--cmp-dim); font-size: 13px; line-height: 1.65; text-align: center; }
.cmp-note a { color: var(--cmp-brand2); font-weight: 600; white-space: nowrap; }

/* ---------- neden Postelk: kutusuz, üstü ince çizgili sütunlar */
.cmp-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1080px; margin: 0 auto; padding: 0; list-style: none; }
.cmp-reasons li { padding-top: 20px; border-top: 1px solid var(--cmp-line); }
.cmp-reasons h3 { margin: 0 0 8px; font-size: 18px; font-weight: 650; line-height: 1.3; letter-spacing: -.015em; }
.cmp-reasons p { margin: 0; color: var(--cmp-mute); font-size: 15px; line-height: 1.65; }

/* ---------- her planda olanlar */
.cmp-inc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; max-width: 1080px; margin: 0 auto; }
.cmp-inc__head p { max-width: 36ch; margin: 16px 0 0; color: var(--cmp-mute); font-size: 16px; line-height: 1.65; }
.cmp-inc__price { margin: 24px 0 0; color: var(--cmp-mute); font-size: 15px; line-height: 1.3; }
.cmp-inc__price b { margin-right: 2px; color: var(--cmp-ink); font-size: 32px; font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.cmp-inc__head .m-btn { margin-top: 24px; }
.cmp-inc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin: 0; padding: 0; list-style: none; }
.cmp-inc__list li { position: relative; padding-left: 28px; color: #2B3630; font-size: 15px; line-height: 1.5; }
.cmp-inc__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; background: var(--cmp-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5 8.2 14 15.5 6.2' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5 8.2 14 15.5 6.2' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- rakibin iyi olduğu yer: tek kısa paragraf */
.cmp-fair { max-width: 720px; margin: 0 auto; text-align: center; }
.cmp-fair h2 { font-size: clamp(24px, 2.8vw, 30px); }
.cmp-fair p { margin: 16px 0 0; color: var(--cmp-mute); font-size: 16.5px; line-height: 1.7; }

/* ---------- API rehberi */
.cmp-apis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.cmp-api { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--cmp-line); border-radius: 18px; background: var(--cmp-card); }
.cmp-api--us { border-color: var(--cmp-brand); box-shadow: 0 0 0 1px var(--cmp-brand); }
.cmp-api h2 { margin: 0 0 16px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.cmp-api dl { margin: 0 0 16px; }
.cmp-api dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--cmp-line-soft); }
.cmp-api dt { color: var(--cmp-dim); font-size: 13.5px; font-weight: 600; }
.cmp-api dd { margin: 0; font-size: 14.5px; font-weight: 550; line-height: 1.45; }
.cmp-api p { margin: 0 0 20px; color: var(--cmp-mute); font-size: 14.5px; line-height: 1.6; }
.cmp-api a { margin-top: auto; color: var(--cmp-brand2); font-size: 14px; font-weight: 650; }
.cmp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; max-width: 1000px; margin: 0 auto; }
.cmp-cols h2 { font-size: clamp(24px, 2.8vw, 30px); }
.cmp-cols p { margin: 16px 0 0; color: var(--cmp-mute); font-size: 15.5px; line-height: 1.7; }
.cmp-cols p a { color: var(--cmp-brand2); font-weight: 650; }
.cmp-cols ul { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.cmp-cols li { position: relative; padding-left: 20px; color: var(--cmp-mute); font-size: 15.5px; line-height: 1.6; }
.cmp-cols li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cmp-brand); }

/* ---------- duyarlı düzen */
@media (max-width: 980px) {
  .cmp-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .cmp-inc { gap: 48px; }
}
@media (max-width: 800px) {
  .cmp-hero { padding: 48px 0 48px; }
  .cmp-hero__lead { font-size: 16.5px; }
  .cmp-sec { padding: 56px 0; }
  .cmp-sec--first { padding-top: 0; }
  /* satır başlığı tam genişlik, altında iki kutu yan yana (Postelk | rakip); kutuların üstünde kimin olduğu yazar */
  .cmp-table tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-table thead th.cmp-corner { display: none; }
  .cmp-table thead th { min-height: 56px; gap: 8px; padding: 10px 8px; font-size: 15.5px; }
  .cmp-table thead th img { width: 34px; height: 34px; transform: translateY(-3.5px); }
  .cmp-table thead th .pkword { font-size: 18px; }
  .cmp-table tbody tr { margin-top: 16px; }
  .cmp-table tbody th { grid-column: 1 / -1; padding: 10px 4px 2px; background: none; font-size: 15px; }
  .cmp-table tbody td { align-items: flex-start; flex-direction: column; gap: 4px; padding: 12px; font-size: 14.5px; }
  .cmp-table tbody td::before { content: attr(data-who); display: block; color: var(--cmp-dim); font-size: 12px; font-weight: 650; line-height: 1.2; }
  .cmp-inc, .cmp-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cmp-inc__head p { max-width: none; }
  .cmp-apis { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .cmp-reasons, .cmp-inc__list { grid-template-columns: minmax(0, 1fr); }
  .cmp-reasons { gap: 24px; }
  .cmp-logo { width: 52px; height: 52px; }
  .cmp-logo--us { width: 76px; height: 76px; }
  .cmp-answer { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 18px; }
  .cmp-answer img { width: 40px; height: 40px; }
  .cmp-api { padding: 22px 20px; }
}
