/*
 * MakeMyMD — statik sayfa tasarım sistemi (kütüphane, rehberler, yazar, ana sayfa anlatısı, şablon makalesi).
 * Kaynak: kökteki DESIGN.md. Kurallar:
 *   - Zemin Canvas Parchment, metin Inkwell; griler her zaman Inkwell/Muted Stone tonları.
 *   - Köşe: kart ve buton 4px, öne çıkan medya çerçevesi 8px. Hap/yuvarlak kart yok.
 *   - Başlıklar tek ağırlık (400), ölçeğe özgü negatif harf aralığı; gövde metninde harf aralığı yok.
 *   - Onyx Outline (#f54e00) yalnızca çerçeveli aksiyon ve link metni; asla dolgu.
 *   - Gölge yalnızca tanımlı çok katmanlı değerler (--shadow-xl, --shadow-subtle).
 *   - Kompakt yoğunluk: öğe aralığı 8px, kart iç boşluğu 12px, sayfa genişliği 1300px.
 * Fontlar: CursorGothic → Inter (sitede yüklü ikame), Lato (yardımcı metin/buton), berkeleyMono → sistem monospace.
 */
:root {
    --color-canvas: #f7f7f4;
    --color-ink: #262510;
    --color-muted: #7a7974;
    --color-deep: #141414;
    --color-pebble: #e6e5e0;
    --color-accent: #f54e00;
    --color-beige: #cdcdc9;

    --font-heading: 'CursorGothic', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-util: 'Lato', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-code: 'berkeleyMono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    --text-caption: 10px;
    --text-body-lg: 14px;
    --text-heading-sm: 22px;
    --text-heading: 26px;
    --text-heading-lg: 36px;
    --text-display: 72px;

    --radius: 4px;
    --radius-prominent: 8px;
    --shadow-xl: rgba(0, 0, 0, 0.14) 0px 28px 70px 0px, rgba(0, 0, 0, 0.1) 0px 14px 32px 0px, rgba(38, 37, 16, 0.1) 0px 0px 0px 1px;
    --shadow-subtle: rgba(38, 37, 16, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.28) 0px 18px 36px -18px;

    --page-max: 1300px;
    --gutter: 28px;
    --section-space: 67px;
    --gap: 8px;
    --card-pad: 12px;
    --hairline: 1px solid var(--color-beige);
}

/* ── Kabuk ─────────────────────────────────────────────── */
.mm-page { background: var(--color-canvas); color: var(--color-ink); font-family: var(--font-heading); }
.mm-wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.mm-section { padding: var(--section-space) 0; }
.mm-section + .mm-section { border-top: var(--hairline); }
.mm-page a { color: inherit; }

/* ── Tipografi ─────────────────────────────────────────── */
.mm-eyebrow {
    font-family: var(--font-code); font-size: 12px; line-height: 1.5; color: var(--color-muted);
    text-transform: uppercase; letter-spacing: 0.06px; display: flex; gap: var(--gap); align-items: center; margin-bottom: 18px;
}
.mm-eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--color-accent); display: inline-block; flex-shrink: 0; }
.mm-display {
    font-family: var(--font-heading); font-weight: 400; font-size: clamp(40px, 5.2vw, var(--text-display));
    line-height: 1; letter-spacing: -0.03em; color: var(--color-deep); text-wrap: balance;
}
.mm-h2 {
    font-family: var(--font-heading); font-weight: 400; font-size: var(--text-heading-lg);
    line-height: 1.1; letter-spacing: -0.45px; color: var(--color-deep); text-wrap: balance;
}
.mm-h3 { font-family: var(--font-heading); font-weight: 400; font-size: var(--text-heading-sm); line-height: 1.25; letter-spacing: -0.08px; color: var(--color-deep); }
.mm-lead { font-size: 18px; line-height: 1.5; color: var(--color-muted); max-width: 620px; margin-top: 18px; }
.mm-meta { font-family: var(--font-code); font-size: 12px; line-height: 1.5; color: var(--color-muted); }
.mm-meta a { text-decoration: underline; text-decoration-color: var(--color-beige); text-underline-offset: 3px; }
.mm-meta a:hover { color: var(--color-ink); text-decoration-color: var(--color-ink); }
.mm-disclaimer { max-width: 72ch; margin-top: 32px; }

/* ── Butonlar ──────────────────────────────────────────── */
.mm-actions { display: flex; flex-wrap: wrap; gap: var(--gap); margin-top: 28px; }
.mm-btn {
    display: inline-flex; align-items: center; gap: var(--gap); font-family: var(--font-util); font-size: var(--text-body-lg);
    font-weight: 600; line-height: 1; padding: 13px 17.5px; border-radius: var(--radius); border: 1px solid transparent;
    text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
/* Birincil aksiyon: DESIGN.md'ye göre dolgusuz, Onyx Outline çerçeveli */
.mm-page .mm-btn-accent, .mm-btn-accent { color: var(--color-accent); border-color: var(--color-accent); background: transparent; }
.mm-btn-accent:hover { background: rgba(245, 78, 0, 0.06); }
.mm-page .mm-btn-line, .mm-btn-line { color: var(--color-ink); border-color: var(--color-muted); background: transparent; }
.mm-btn-line:hover { background: var(--color-pebble); }
.mm-page .mm-link, .mm-link { font-family: var(--font-util); font-weight: 600; font-size: var(--text-body-lg); color: var(--color-accent); text-decoration: none; }
.mm-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Medya çerçevesi: yüzen ürün ekranı ───────────────── */
.mm-frame { position: relative; margin: 0; border-radius: var(--radius-prominent); overflow: hidden; background: var(--color-pebble); box-shadow: var(--shadow-xl); }
.mm-frame::before {
    content: ''; display: block; height: 22px; background-color: var(--color-pebble); border-bottom: 1px solid var(--color-beige);
    background-image: radial-gradient(circle, var(--color-beige) 3.5px, transparent 4px), radial-gradient(circle, var(--color-beige) 3.5px, transparent 4px), radial-gradient(circle, var(--color-beige) 3.5px, transparent 4px);
    background-size: 12px 22px; background-position: 10px 0, 24px 0, 38px 0; background-repeat: no-repeat;
}
.mm-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mm-frame figcaption { font-family: var(--font-code); font-size: 12px; color: var(--color-muted); padding: 8px var(--card-pad); background: var(--color-canvas); border-top: var(--hairline); }

/* Üst üste binen ekranlar (çoklu pencere hissi) */
.mm-stack { position: relative; aspect-ratio: 6 / 5; }
.mm-stack .mm-frame { position: absolute; width: 74%; }
.mm-stack .mm-frame:nth-child(1) { top: 0; right: 0; z-index: 1; }
.mm-stack .mm-frame:nth-child(2) { top: 22%; left: 0; z-index: 2; }
.mm-stack .mm-frame:nth-child(3) { bottom: 0; right: 6%; width: 58%; z-index: 3; }

/* ── Bölünmüş hero / özellik (metin + görsel) ─────────── */
.mm-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 67px; align-items: center; }
.mm-split.is-reverse > :first-child { order: 2; }
.mm-hero { padding: 67px 0; border-bottom: var(--hairline); }

/* ── Kart ızgarası (kütüphane / blog) ─────────────────── */
.mm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 43px 28px; }
.mm-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.mm-card-media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--color-pebble); box-shadow: var(--shadow-subtle); transition: box-shadow .2s, transform .2s; }
.mm-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mm-bands { display: flex; aspect-ratio: 16 / 10; }
/* Kütüphane sayfası: sekmeler + şablon araması (js/library.js); analiz kartındaki görsel bir düğmedir. */
.mm-library-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; border-bottom: var(--hairline); margin-bottom: 43px; }
.mm-library-bar .mm-tabs { margin-top: 0; border-bottom: 0; }
.mm-library-bar .mm-tab { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.mm-library-search { max-width: 280px; margin-bottom: 8px; }
.mm-library-search[hidden], .mm-library-bar [hidden] { display: none; }
.mm-card-open { display: block; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
/* Sekme çubuğunun çizgisi yeter: panel içindeki boş/uyarı kutusu ikinci bir üst çizgi çizmez. */
[data-library-panel] > div > .mm-empty:first-child { border-top: 0; padding-top: 0; }
.mm-card-open:hover .mm-card-media { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.mm-bands i { flex: 1; }
.mm-card:hover .mm-card-media { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
/* Topluluk tasarımlarının kart görseli: kendi yüzey rengi, birincil renkte "Aa" ve 5 kare renk çipi */
.mm-palette { position: relative; aspect-ratio: 16 / 10; }
.mm-palette-aa { position: absolute; left: 20px; top: 12px; font-family: var(--font-heading); font-size: 88px; line-height: 1; letter-spacing: -2.16px; }
.mm-palette-chips { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: repeat(5, 1fr); }
.mm-palette-chips i { display: block; aspect-ratio: 1; box-shadow: inset 0 0 0 1px rgba(38, 37, 16, 0.12); }
.mm-status { display: inline-block; font-family: var(--font-code); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06px; color: var(--color-muted); border: var(--hairline); border-radius: var(--radius); padding: 2px 6px; }
.mm-card-title { font-family: var(--font-heading); font-weight: 400; font-size: 20px; line-height: 1.25; letter-spacing: -0.08px; color: var(--color-deep); }
.mm-card:hover .mm-card-title { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 4px; }
.mm-card-text { font-size: 15px; line-height: 1.5; color: var(--color-muted); }
.mm-card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mm-swatches { display: flex; gap: 4px; }
.mm-swatches span { width: 14px; height: 14px; border-radius: 1.5px; box-shadow: inset 0 0 0 1px rgba(38, 37, 16, 0.12); }

/* Öne çıkan yazı: büyük görsel + metin */
.mm-featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 43px; align-items: end; text-decoration: none; color: inherit; padding-bottom: 43px; border-bottom: var(--hairline); margin-bottom: 43px; }
.mm-featured .mm-card-title { font-size: var(--text-heading-lg); line-height: 1.1; letter-spacing: -0.45px; margin-top: 12px; }
.mm-featured .mm-card-text { margin-top: 12px; }
.mm-featured:hover .mm-card-media { box-shadow: var(--shadow-xl); }

/* ── Sıralı adımlar / satır listesi (hairline) ────────── */
.mm-rows { list-style: none; margin: 28px 0 0; padding: 0; border-top: var(--hairline); counter-reset: row; }
.mm-rows > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: var(--hairline); counter-increment: row; }
.mm-rows > li::before { content: counter(row, decimal-leading-zero); font-family: var(--font-code); font-size: 12px; color: var(--color-accent); padding-top: 6px; }
.mm-rows h3 { margin-bottom: 6px; }
.mm-rows p { font-size: 15px; line-height: 1.55; color: var(--color-muted); }

/* ── Bento (ayrılmış hücreler, kavisiz) ───────────────── */
.mm-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--hairline); border-left: var(--hairline); margin-top: 43px; }
.mm-bento > * { border-right: var(--hairline); border-bottom: var(--hairline); padding: 28px; }
.mm-bento .is-wide { grid-column: span 2; }
.mm-bento .is-media { padding: 0; background: var(--color-pebble); overflow: hidden; }
.mm-bento .is-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; min-height: 260px; }
.mm-bento h3 { margin-bottom: 8px; }
/* Kütüphaneden poster mozaiği (bento medya hücresi) */
.mm-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--color-beige); }
.mm-bento .is-media.mm-mosaic img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
.mm-bento p { font-size: 15px; line-height: 1.55; color: var(--color-muted); }
.mm-bento .mm-meta { margin-bottom: 20px; }

/* ── Kod penceresi (koyu ürün ekranı) ─────────────────── */
.mm-code { border-radius: var(--radius-prominent); overflow: hidden; background: var(--color-deep); box-shadow: var(--shadow-xl); }
.mm-code-bar { display: flex; justify-content: space-between; padding: 10px var(--card-pad); border-bottom: 1px solid rgba(247, 247, 244, 0.1); font-family: var(--font-code); font-size: 12px; color: #9a9890; }
.mm-code pre { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 18px var(--card-pad) 22px; overflow-x: auto; font-family: var(--font-code); font-size: 13px; line-height: 1.63; color: var(--color-canvas); }
.mm-code .k { color: #9a9890; } .mm-code .s { color: #4ade80; } .mm-code .c { color: #c08532; }

/* ── Araç şeridi (Branding Card) ──────────────────────── */
.mm-logos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
/* Branding Card (DESIGN.md): Pebble zemin, 4px köşe, gölge yok; tek renkli logo işareti + ad (metin, taranabilir) */
.mm-logos li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 88px; background: var(--color-pebble); border-radius: var(--radius); padding: 22px var(--card-pad); font-family: var(--font-heading); font-size: 17px; letter-spacing: -0.08px; color: var(--color-ink); }
.mm-logo-mark { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; }

/* ── SSS: iki sütun, akordeon ─────────────────────────── */
.mm-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 67px; }
.mm-faq-list { border-top: var(--hairline); }
.mm-faq-list details { border-bottom: var(--hairline); }
.mm-faq-list summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-family: var(--font-heading); font-size: 18px; line-height: 1.35; color: var(--color-deep); }
.mm-faq-list summary::-webkit-details-marker { display: none; }
.mm-faq-list summary::after { content: '+'; position: absolute; right: 0; top: 17px; font-family: var(--font-code); font-size: 20px; color: var(--color-muted); }
.mm-faq-list details[open] summary::after { content: '–'; color: var(--color-accent); }
.mm-faq-list .faq-a { padding: 0 36px 22px 0; font-size: 15px; line-height: 1.6; color: var(--color-muted); }
.mm-faq-list code { font-family: var(--font-code); font-size: 13px; color: var(--color-ink); }
.mm-faq-list a { color: var(--color-accent); }

/* ── CTA bandı ────────────────────────────────────────── */
.mm-cta { background: var(--color-pebble); border-top: var(--hairline); border-bottom: var(--hairline); }
.mm-cta .mm-split { padding-top: 67px; padding-bottom: 67px; }

/* ── Makale (rehber) ──────────────────────────────────── */
.mm-article { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 67px; padding: 67px 0; }
.mm-toc { position: sticky; top: 88px; align-self: start; }
.mm-toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: var(--hairline); }
.mm-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13px; line-height: 1.4; color: var(--color-muted); text-decoration: none; }
.mm-toc li a:hover { color: var(--color-ink); border-left-color: var(--color-accent); }
.mm-prose { font-size: 17px; line-height: 1.65; color: var(--color-ink); }
.mm-prose > * + * { margin-top: 18px; }
.mm-prose h2 { font-weight: 400; font-size: var(--text-heading); line-height: 1.2; letter-spacing: -0.35px; color: var(--color-deep); margin-top: 56px; padding-top: 28px; border-top: var(--hairline); scroll-margin-top: 88px; }
.mm-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.mm-prose h3 { font-weight: 400; font-size: var(--text-heading-sm); line-height: 1.25; letter-spacing: -0.08px; color: var(--color-deep); margin-top: 36px; scroll-margin-top: 88px; }
.mm-prose ul, .mm-prose ol { padding-left: 22px; }
.mm-prose li + li { margin-top: 6px; }
.mm-prose li::marker { color: var(--color-muted); }
.mm-prose a { color: var(--color-accent); text-underline-offset: 3px; }
.mm-prose strong { font-weight: 600; }
.mm-prose code { font-family: var(--font-code); font-size: 0.84em; background: var(--color-pebble); padding: 1px 5px; border-radius: 1.5px; }
.mm-prose pre { background: var(--color-deep); color: var(--color-canvas); border-radius: var(--radius); padding: 18px var(--card-pad); overflow-x: auto; font-size: 13px; line-height: 1.63; box-shadow: var(--shadow-subtle); }
.mm-prose pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.mm-prose blockquote { border-left: 2px solid var(--color-ink); padding-left: 18px; color: var(--color-muted); }
.mm-prose .table-wrap { overflow-x: auto; border-top: 1px solid var(--color-ink); }
.mm-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mm-prose th { font-family: var(--font-util); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06px; color: var(--color-muted); text-align: left; padding: 10px 12px 10px 0; border-bottom: var(--hairline); }
.mm-prose td { padding: 12px 12px 12px 0; border-bottom: var(--hairline); vertical-align: top; }
.mm-prose hr { border: 0; border-top: var(--hairline); }
.mm-prose figure { margin: 36px 0; }
.mm-prose-wide { max-width: 980px; margin-top: 43px; }

/* Yazar satırı (düz, kavisiz) */
.mm-author { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--color-ink); }
.mm-monogram { width: 48px; height: 48px; border-radius: var(--radius); background: var(--color-ink); color: var(--color-canvas); display: flex; align-items: center; justify-content: center; font-family: var(--font-code); font-size: 14px; }
.mm-author-name { font-size: 18px; letter-spacing: -0.08px; }
.mm-author-name a { text-decoration: none; }
.mm-author-name a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.mm-author p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--color-muted); }

/* Zaman çizelgesi (yazar sayfası) */
.mm-timeline { list-style: none; margin: 28px 0 0; padding: 0; border-top: var(--hairline); }
.mm-timeline li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: var(--hairline); font-size: 16px; line-height: 1.45; }
.mm-timeline .when { font-family: var(--font-code); font-size: 12px; color: var(--color-accent); padding-top: 3px; }

/* Tanım satırları (şablon özeti) */
.mm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-ink); margin: 28px 0 0; }
.mm-facts > div { padding: 14px 12px 14px 0; border-bottom: var(--hairline); }
.mm-facts dt { font-family: var(--font-code); font-size: 12px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.06px; }
.mm-facts dd { margin: 6px 0 0; font-size: 16px; overflow-wrap: anywhere; }

/* Blog yazısı başlığı: geniş başlık + üçlü ekran kapağı */
.mm-title { max-width: 18ch; }
.mm-byline { margin-top: 18px; }
.mm-cover { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 28px; margin-top: 43px; }
.mm-cover > :first-child { grid-row: span 2; }
.mm-cover > :first-child img { aspect-ratio: auto; height: 100%; }
.mm-cover.is-single { grid-template-columns: minmax(0, 1fr); }

/* Breadcrumb */
.mm-crumbs { font-family: var(--font-code); font-size: 12px; color: var(--color-muted); margin-bottom: 28px; }
.mm-crumbs a { color: inherit; text-decoration: none; }
.mm-crumbs a:hover { color: var(--color-ink); }

/* ── Yazar portresi ─────────────────────────────────────
   Sayfa genişliğinde ama çerçeve içinde (DESIGN.md: görseller bileşen sınırlarında kalır, taşan arka plan yok):
   8px köşe + shadow-xl. Ad, fotoğrafın boş duvarında (sol üst) display ölçeğinde; altında yalnızca okunurluk için
   hafif bir ton geçişi. Çerçeve dışında süsleme yok. */
.mm-split.is-top { align-items: start; }
.mm-portrait { margin: 0; }
.mm-portrait-frame { position: relative; }
.mm-portrait-media { position: relative; border-radius: var(--radius-prominent); overflow: hidden; background: var(--color-deep); box-shadow: var(--shadow-xl); }
.mm-portrait-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--focus, 50% 50%); }
.mm-portrait-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(120deg, rgba(20, 20, 20, 0.42) 0%, rgba(20, 20, 20, 0.12) 30%, rgba(20, 20, 20, 0) 48%); }
/* Başlık fotoğrafın boş duvarında (sol üst); genişliği yüzün ve saçın başladığı yere kadar */
.mm-portrait-title { position: absolute; left: 43px; top: 43px; max-width: 30%; z-index: 1; }
.mm-portrait-title .mm-display { color: var(--color-canvas); }
.mm-portrait-role { margin-top: 18px; max-width: 36ch; font-family: var(--font-code); font-size: 12px; line-height: 1.5; color: rgba(247, 247, 244, 0.78); }
.mm-profile-bio { font-family: var(--font-heading); font-size: var(--text-heading); line-height: 1.3; letter-spacing: -0.35px; color: var(--color-ink); max-width: 32ch; text-wrap: pretty; }

/* ── Sekmeler ve filtre çipleri (vitrin, dosya sekmeleri) ─────────────
   Hairline alt çizgi; etkin sekme Inkwell alt çizgiyle. Çipler 4px köşe, dolgusuz. */
.mm-tabs { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 43px; border-bottom: var(--hairline); }
.mm-tab { font-family: var(--font-util); font-size: var(--text-body-lg); font-weight: 600; color: var(--color-muted); text-decoration: none;
    background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 0 0 12px; cursor: pointer; }
.mm-tab:hover { color: var(--color-ink); }
.mm-tab[aria-current], .mm-tab[aria-selected="true"] { color: var(--color-ink); border-bottom-color: var(--color-ink); }
.mm-tabs.is-files { margin-top: 28px; gap: 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.mm-tabs.is-files .mm-tab { font-family: var(--font-code); font-weight: 400; font-size: 13px; white-space: nowrap; }
.mm-chips { display: flex; flex-wrap: wrap; gap: var(--gap); margin-bottom: 28px; }
.mm-chip { font-family: var(--font-util); font-size: 13px; font-weight: 600; color: var(--color-muted); text-decoration: none;
    border: 1px solid var(--color-beige); border-radius: var(--radius); padding: 8px 12px; }
.mm-chip:hover { color: var(--color-ink); border-color: var(--color-muted); }
.mm-chip[aria-current] { color: var(--color-ink); border-color: var(--color-ink); }
.mm-count { font-family: var(--font-code); font-size: 12px; font-weight: 400; color: var(--color-muted); }
.mm-btn.is-small { padding: 7px 10px; font-size: 13px; }
.mm-btn[aria-pressed="true"] { color: var(--color-ink); border-color: var(--color-ink); background: var(--color-pebble); }
.mm-btn[disabled] { opacity: .5; cursor: not-allowed; }
.mm-empty { padding: 43px 0; border-top: var(--hairline); border-bottom: var(--hairline); }
.mm-empty .mm-card-text { margin-top: 8px; max-width: 60ch; }
.mm-status-line { min-height: 18px; margin-top: 12px; }

/* ── Renk şeridi: HEX'siz, yalnızca görsel palet ──────── */
.mm-strip { display: flex; height: 10px; border-radius: 1.5px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(38, 37, 16, 0.12); }
.mm-strip i { flex: 1; }
.mm-strip.is-large { height: 56px; margin-top: 12px; border-radius: var(--radius); }

/* ── Yazar satırı, avatar ─────────────────────────────── */
.mm-author-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; font-size: 15px; }
.mm-author-row a { text-decoration: none; }
.mm-author-row a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 3px; }
.mm-avatar { width: 32px; height: 32px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; font-size: 13px; }
.mm-avatar.is-large { width: 88px; height: 88px; font-size: 28px; }
.mm-profile-head { display: flex; align-items: center; gap: 28px; }
.mm-facts.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-brief-logo { margin-top: 67px; padding-top: 43px; border-top: var(--hairline); max-width: 980px; }
.mm-brief-logo .mm-card-text { margin-top: 12px; max-width: 70ch; }
.mm-disclaimer { margin-top: 43px; max-width: 80ch; }

/* ── Teslim dosyaları: kilitli (bulanık) ya da açık kod penceresi ── */
.mm-files .mm-code { margin-top: 20px; position: relative; }
.mm-files pre { max-height: 520px; overflow: auto; white-space: pre; }
.mm-code.is-locked pre { filter: blur(5px); user-select: none; pointer-events: none; max-height: 360px; overflow: hidden; }
.mm-lock { position: absolute; inset: 42px 0 0; display: flex; flex-direction: column; justify-content: center; padding: 28px 43px;
    background: rgba(20, 20, 20, 0.35); color: var(--color-canvas); }
.mm-lock .mm-eyebrow { color: rgba(247, 247, 244, 0.72); margin-bottom: 12px; }
.mm-lock .mm-h3 { color: var(--color-canvas); }
.mm-lock p { margin-top: 8px; max-width: 52ch; font-size: 15px; line-height: 1.55; color: rgba(247, 247, 244, 0.86); }
.mm-lock .mm-btn-line { color: var(--color-canvas); border-color: rgba(247, 247, 244, 0.5); }
.mm-lock .mm-btn-line:hover { background: rgba(247, 247, 244, 0.08); }
.mm-code-bar button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; margin-left: 12px; }
.mm-code-bar button:hover { color: var(--color-canvas); }

/* ── Yorumlar ve form alanları (DESIGN.md Text Input: şeffaf, Muted Stone çerçeve, 0 köşe) ── */
.mm-comments { list-style: none; margin: 0; padding: 0; border-top: var(--hairline); }
.mm-comments > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: var(--hairline); }
.mm-comments > li.mm-meta { display: block; }
.mm-comment-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.mm-comment-body { margin-top: 6px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.mm-link-btn { font-family: var(--font-util); font-size: 13px; font-weight: 600; color: var(--color-muted); background: none; border: 0; padding: 0; cursor: pointer; }
.mm-link-btn:hover { color: var(--color-ink); }
.mm-field { display: grid; gap: 6px; margin-top: 20px; }
.mm-label { font-family: var(--font-util); font-size: 13px; font-weight: 600; color: var(--color-ink); }
.mm-input, .mm-textarea { width: 100%; font-family: var(--font-code); font-size: 13px; line-height: 1.5; color: var(--color-ink);
    background: transparent; border: 1px solid var(--color-muted); border-radius: 0; padding: 8px; }
.mm-textarea { min-height: 96px; resize: vertical; }
.mm-input:focus, .mm-textarea:focus { outline: 1px solid var(--color-accent); outline-offset: 0; border-color: var(--color-accent); }
.mm-check { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.mm-check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--color-ink); }

/* ── Fiyatlandırma ────────────────────────────────────── */
.mm-billing-toggle { display: inline-flex; border: 1px solid var(--color-muted); border-radius: var(--radius); margin-top: 28px; }
.mm-billing-toggle button { font-family: var(--font-util); font-size: 13px; font-weight: 600; color: var(--color-muted); background: transparent; border: 0;
    padding: 10px 14px; cursor: pointer; }
.mm-billing-toggle button[aria-pressed="true"] { color: var(--color-canvas); background: var(--color-ink); }
.mm-billing-toggle .mm-count { margin-left: 6px; color: inherit; opacity: .8; }
.mm-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 43px; align-items: stretch; }
/* Fiyat sayfası: Ücretsiz, Pro, Ekip, Ajans yan yana; dar ekranda 2, telefonda tek sütun */
.mm-plans.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mm-plans.is-four .mm-plan { padding: 24px; }
.mm-plans.is-four .mm-price-amount { font-size: 48px; }
/* Ücretsiz: düz, hairline. Pro: Elevated Content Card (Pebble zemin, 8px köşe, shadow-xl). */
.mm-plan { display: flex; flex-direction: column; border: var(--hairline); border-radius: var(--radius); padding: 28px; }
.mm-plan.is-featured { background: var(--color-pebble); border-color: transparent; border-radius: var(--radius-prominent); box-shadow: var(--shadow-xl); }
.mm-plan .mm-h3 { margin-top: 8px; }
.mm-price { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; }
.mm-price-amount { font-family: var(--font-heading); font-size: 56px; line-height: 1; letter-spacing: -1.5px; color: var(--color-deep); font-feature-settings: "tnum"; }
.mm-price-note { min-height: 20px; margin-top: 8px; }
.mm-checklist { list-style: none; margin: 28px 0 0; padding: 0; border-top: var(--hairline); flex: 1; }
.mm-checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: var(--hairline); font-size: 15px; line-height: 1.45; }
.mm-checklist li::before { content: '✓'; font-family: var(--font-code); font-size: 13px; color: var(--color-ink); }
.mm-checklist li.is-off { color: var(--color-muted); }
.mm-checklist li.is-off::before { content: '—'; color: var(--color-muted); }
.mm-plan .mm-actions { margin-top: 28px; }
.mm-plan .mm-btn { justify-content: center; width: 100%; }
.mm-addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-top: 28px; padding: 20px 28px;
    border: var(--hairline); border-radius: var(--radius); }
.mm-table-wrap { overflow-x: auto; margin-top: 28px; border-top: 1px solid var(--color-ink); }
.mm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mm-table th { font-family: var(--font-util); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06px; color: var(--color-muted);
    text-align: left; padding: 12px 12px 12px 0; border-bottom: var(--hairline); }
.mm-table td { padding: 14px 12px 14px 0; border-bottom: var(--hairline); vertical-align: top; }
.mm-table td.is-num, .mm-table th.is-num { text-align: right; font-feature-settings: "tnum"; }
.mm-table a { color: var(--color-accent); text-decoration: none; }
.mm-table a:hover { text-decoration: underline; }

/* ── Üyelik sayfası ───────────────────────────────────── */
.mm-account { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 43px; }
.mm-panel { border: var(--hairline); border-radius: var(--radius); padding: 28px; }
.mm-panel .mm-h3 { margin-top: 8px; }
.mm-meter { height: 6px; background: var(--color-pebble); border-radius: 1.5px; overflow: hidden; margin-top: 20px; }
.mm-meter span { display: block; height: 100%; background: var(--color-ink); }
.mm-meter.is-full span { background: var(--color-accent); }
.mm-kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: var(--hairline); font-size: 15px; }
.mm-kv dt { color: var(--color-muted); }
.mm-kv dd { margin: 0; text-align: right; font-feature-settings: "tnum"; }
.mm-notice { margin-top: 28px; padding: 14px 16px; border-left: 2px solid var(--color-ink); background: var(--color-pebble); font-size: 15px; line-height: 1.5; }
.mm-notice.is-error { border-left-color: #c0392b; }
.mm-list-plain { list-style: none; margin: 20px 0 0; padding: 0; border-top: var(--hairline); }
.mm-list-plain li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: var(--hairline); font-size: 15px; }

/* ── Duyarlı ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .mm-plans.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mm-article { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .mm-toc { position: static; }
    .mm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    :root { --gutter: 16px; --section-space: 43px; }
    .mm-split, .mm-faq, .mm-featured { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .mm-split.is-reverse > :first-child { order: 0; }
    .mm-hero { padding: 43px 0; }
    .mm-h2 { font-size: 28px; }
    .mm-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mm-bento { grid-template-columns: minmax(0, 1fr); }
    .mm-bento .is-wide { grid-column: auto; }
    .mm-timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .mm-featured .mm-card-title { font-size: 28px; }
    .mm-cover { grid-template-columns: minmax(0, 1fr); }
    .mm-cover > :first-child { grid-row: auto; }
    .mm-cover > :not(:first-child) { display: none; }
    /* Dar ekran: ad fotoğrafın altına iner; kırpma yüzü merkezde tutar (--focus) */
    .mm-portrait-media img { aspect-ratio: 4 / 3; }
    .mm-portrait-media::after { display: none; }
    .mm-portrait-title { position: static; max-width: none; margin-top: 28px; }
    .mm-portrait-title .mm-display { color: var(--color-deep); }
    .mm-portrait-role { color: var(--color-muted); }
    .mm-profile-bio { font-size: var(--text-heading-sm); letter-spacing: -0.08px; }
    .mm-plans, .mm-plans.is-four, .mm-account { grid-template-columns: minmax(0, 1fr); }
    .mm-addon { grid-template-columns: minmax(0, 1fr); }
    .mm-lock { padding: 20px; }
    .mm-profile-head { align-items: flex-start; flex-direction: column; gap: 20px; }
    .mm-facts.is-three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .mm-grid { grid-template-columns: minmax(0, 1fr); }
    .mm-prose { font-size: 16px; }
    .mm-facts { grid-template-columns: minmax(0, 1fr); }
}
