/* MerLM tanıtım sitesi — ortak biçim. Renk vurguları tema-*.css'te.
   Tek renk modu: koyu tema YOK, prefers-color-scheme kullanılmaz.
   Motif: logodaki E kolları = defter satırı. Vurgu çizgileri bu satırlardan gelir. */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap;
  src: url(yazi/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap;
  src: url(yazi/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap;
  src: url(yazi/ibm-plex-sans-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap;
  src: url(yazi/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap;
  src: url(yazi/ibm-plex-sans-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap;
  src: url(yazi/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --murekkep: #15171C;     /* logodaki M */
  --metin-2: #4B515C;      /* ikincil metin, beyazda 8:1 */
  --metin-3: #5B616E;
  --kagit: #FFFFFF;
  --zemin-2: #F3F5F4;      /* bant zemini, serin gri (krem değil) */
  --cizgi: #DDE1DF;
  --hata: #B42318;
  --genislik: 1120px;
  --kenar: 24px;
  --yazi: "Plex", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--kagit); color: var(--murekkep);
  font: 400 17px/1.6 var(--yazi); font-feature-settings: "tnum" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vurgu-metin); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--odak); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(36px, 5.2vw, 58px); letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0; }
.sar { max-width: var(--genislik); margin: 0 auto; padding: 0 var(--kenar); }
.gizli-ozel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.atla { position: absolute; left: -10000px; }
.atla:focus { left: 16px; top: 12px; background: var(--kagit); padding: 8px 12px; z-index: 10; }

/* ── düğmeler ───────────────────────────────────── */
.dugme {
  display: inline-block; padding: 13px 22px; border-radius: 6px; border: 2px solid var(--dugme);
  background: var(--dugme); color: #fff; font: 600 16px/1.2 var(--yazi); text-decoration: none;
  cursor: pointer;
}
.dugme:hover { background: var(--dugme-ust); border-color: var(--dugme-ust); text-decoration: none; }
.dugme.ikinci { background: transparent; color: var(--dugme); }
.dugme.ikinci:hover { background: var(--vurgu-zemin); }

/* ── üst şerit ──────────────────────────────────── */
.ust { border-bottom: 1px solid var(--cizgi); background: var(--kagit); }
.ust .sar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.marka { display: flex; align-items: center; gap: 10px; color: var(--murekkep); text-decoration: none;
  font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.marka img { width: 36px; height: 36px; }
.ust nav { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.ust nav a { color: var(--murekkep); text-decoration: none; font-weight: 500; font-size: 16px; }
.ust nav a:hover { color: var(--vurgu-metin); }
.ust nav .dugme { color: #fff; padding: 9px 16px; }

/* ── açılış ─────────────────────────────────────── */
.acilis { padding: 72px 0 80px; }
.acilis .sar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.acilis .giris { font-size: 19px; color: var(--metin-2); margin-top: 22px; max-width: 34em; }
.acilis .eylem { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 700 kalınlık YOK: fontsource'un 700 alt kümesinde Türkçe locl 'i' glifi eksik,
   noktasız çıkıyor (15 Kas 2026 çekimde görüldü). En kalın 600. */
.nb { white-space: nowrap; }
.genis-ekran { margin-top: 56px; }
.ozellik .telefon { justify-self: center; }

/* Defter satırı: üründe yazılan bir soru, altında logodaki E kolu kalınlığında çizgi. */
.soru-satiri { margin-top: 30px; max-width: 30em; }
.soru-satiri .yazilan {
  display: block; font-size: 20px; font-weight: 500; padding: 0 0 10px;
  border-bottom: 6px solid var(--vurgu);
}
.soru-satiri .yazilan::after {
  content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 3px;
  vertical-align: -0.15em; background: var(--murekkep); animation: imlec 1.1s steps(1) 6;
}
.soru-satiri small { display: block; margin-top: 10px; color: var(--metin-3); font-size: 15px; }
@keyframes imlec { 50% { opacity: 0; } }

/* ── defter zemini ─────────────────────────────────
   Açılış bir kâğıt cari hesap defteri: 40 px'lik satır çizgileri, solda çift
   kenar çizgisi, sağda Borç / Alacak / Bakiye sütunları. Program penceresi
   defterin üstünde durur. Bantlar aynı kâğıdın soluk hâli. */
.acilis {
  --satir: 40px;
  position: relative; isolation: isolate; overflow: hidden;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--satir) - 1px),
              var(--defter-cizgi) calc(var(--satir) - 1px) var(--satir));
}
.acilis::before {                    /* defterin çift kenar çizgisi */
  content: ""; position: absolute; top: 0; bottom: 0; z-index: -1; width: 4px;
  left: max(6px, calc((100% - var(--genislik)) / 2 + var(--kenar) - 30px));
  border-left: 1px solid var(--defter-kenar); border-right: 1px solid var(--defter-kenar);
}
.defter {
  /* Defter sayfası tam olarak sağ sütun (ekran görüntüsü) kadar: 5fr/7fr ızgara,
     56 px ara, içerik genişliğinde biter. Sayfa kenarına uzarsa geniş ekranda
     sütunlar pencereden kopuyordu (1920 px, 15 Kas). */
  --sol: calc(50% - min(50%, var(--genislik) / 2) + var(--kenar));
  --ic: calc(min(100%, var(--genislik)) - 2 * var(--kenar));
  position: absolute; z-index: -1; top: 0;
  left: calc(var(--sol) + (var(--ic) - 56px) * 5 / 12 + 56px);
  right: var(--sol);
  font-size: 13.5px; line-height: 1; color: var(--defter-yazi);
  font-variant-numeric: tabular-nums; user-select: none; pointer-events: none;
}
.defter-hesap { height: var(--satir); display: flex; align-items: flex-end; padding: 0 10px 11px; font-weight: 500; }
.defter-satir { height: var(--satir); display: grid; grid-template-columns: 54px minmax(0, 1fr) 92px 92px 100px; }
.defter-satir span { display: flex; align-items: flex-end; padding: 0 10px 11px; white-space: nowrap; overflow: hidden; }
.defter-satir span:nth-child(n+3) { justify-content: flex-end; border-left: 1px solid var(--defter-cizgi); }
.defter-satir span:nth-child(5) { border-left: 3px double var(--defter-kenar); }
.defter-baslik { font-weight: 500; box-shadow: inset 0 -2px 0 var(--defter-kenar); }
.acilis .ekran .cerceve { background: var(--kagit);
  box-shadow: 0 1px 2px rgba(21, 23, 28, .08), 0 18px 40px -18px rgba(0, 36, 102, .35); }
.ucretsiz { margin-top: 18px; font-size: 16px; color: var(--metin-2); max-width: 30em; }
.ucretsiz strong { color: var(--murekkep); font-weight: 600; }

.bolum.bant {
  background-color: var(--defter-zemin);
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, var(--defter-cizgi) 39px 40px);
}

/* Ekran görüntüsü çerçevesi: uygulama penceresi gibi, süssüz. */
.ekran { margin: 0; }
.ekran .cerceve { border: 1px solid var(--cizgi); border-radius: 6px; overflow: hidden; background: var(--zemin-2); }
.ekran .cerceve a { display: block; cursor: zoom-in; }   /* dokununca tam boyut */
.ekran figcaption { font-size: 15px; color: var(--metin-3); margin-top: 10px; }
.ekran.telefon { max-width: 300px; }
.ekran.telefon .cerceve { border-radius: 18px; border-width: 6px; border-color: var(--murekkep); }

/* ── bölümler ───────────────────────────────────── */
.bolum { padding: 88px 0; }
.bolum-bas { max-width: 40em; margin-bottom: 48px; }
.bolum-bas p { margin-top: 14px; font-size: 19px; color: var(--metin-2); }

.ozellik { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.ozellik + .ozellik { margin-top: 80px; }
.ozellik.ters > :first-child { order: 2; }
.ozellik p { margin-top: 12px; color: var(--metin-2); }
.ozellik ul { margin: 16px 0 0; padding: 0; list-style: none; }
.ozellik li { padding: 7px 0 7px 22px; position: relative; }
.ozellik li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 3px; background: var(--vurgu); }


/* Veri yerinde kalır bandı */
.yerel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.yerel h3 { padding-top: 16px; border-top: 3px solid var(--murekkep); }
.yerel p { margin-top: 10px; color: var(--metin-2); font-size: 16px; }

/* ── paketler ───────────────────────────────────── */
.paketler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--cizgi); }
.paket { padding: 32px 28px 36px; display: flex; flex-direction: column; }
.paket + .paket { border-left: 1px solid var(--cizgi); }
.paket:first-child { padding-left: 0; }
.paket:last-child { padding-right: 0; }
.paket h3 { font-size: 24px; }
.paket h3::before { content: ""; display: block; height: 6px; background: var(--vurgu); margin-bottom: 22px; }
.paket:nth-child(1) h3::before { width: 100%; }
.paket:nth-child(2) h3::before { width: 62%; }
.paket:nth-child(3) h3::before { width: 100%; }
.paket .kime { color: var(--metin-2); margin-top: 8px; font-size: 16px; min-height: 3.2em; }
.fiyat { margin-top: 20px; font-variant-numeric: tabular-nums; }
.fiyat strong { font-size: 40px; font-weight: 600; letter-spacing: -0.02em;
  border-bottom: 4px double var(--vurgu); }           /* defterde toplamın çift çizgisi */
.ilk-ay { margin-top: 12px; font-weight: 600; color: var(--vurgu-metin); font-size: 16px; }
.fiyat span { color: var(--metin-2); font-size: 16px; margin-left: 4px; }
.paket ul { list-style: none; margin: 22px 0 28px; padding: 0; flex: 1; }
.paket li { padding: 9px 0; border-bottom: 1px solid var(--cizgi); font-size: 16px; }
.paket li:first-child { border-top: 1px solid var(--cizgi); }
.paket li.onceki { color: var(--metin-2); }
.paket .dugme { align-self: flex-start; }
.fiyat-notu { margin: 18px 0 0; color: var(--metin-2); font-size: 15px; max-width: 72ch; }

/* Karşılaştırma: defter tablosu */
.tablo-sar { margin-top: 64px; overflow-x: auto; }
table.karsilastir { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.karsilastir caption { text-align: left; font-weight: 600; font-size: 21px; padding-bottom: 16px; }
.karsilastir th, .karsilastir td { padding: 12px 14px; border-bottom: 1px solid var(--cizgi); text-align: left; }
.karsilastir thead th { border-bottom: 3px solid var(--murekkep); font-weight: 600; }
.karsilastir tbody th { font-weight: 400; }
.karsilastir tr.fiyat-satiri th { font-weight: 600; }
.karsilastir td.d, .karsilastir th.d { text-align: center; width: 13%; }
.karsilastir td.var { color: var(--vurgu-metin); font-weight: 600; }
.karsilastir td.yok { color: var(--metin-3); }
.karsilastir tr.fiyat-satiri td { font-weight: 600; font-variant-numeric: tabular-nums; border-bottom: 3px double var(--murekkep); }

/* ── adımlar (gerçek sıra: numara anlamlı) ───────── */
.adimlar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: adim; }
.adimlar li { counter-increment: adim; padding-top: 16px; border-top: 3px solid var(--vurgu); }
.adimlar li::before { content: counter(adim); display: block; font-size: 34px; font-weight: 600; line-height: 1; margin-bottom: 14px; color: var(--murekkep); }
.adimlar p { margin-top: 8px; color: var(--metin-2); font-size: 16px; }

/* ── SSS ────────────────────────────────────────── */
.sss { max-width: 760px; border-top: 1px solid var(--cizgi); }
.sss details { border-bottom: 1px solid var(--cizgi); }
.sss summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--vurgu-metin); }
.sss details[open] summary::after { content: "−"; }
.sss details p { padding: 0 0 20px; color: var(--metin-2); max-width: 40em; }

/* ── form ───────────────────────────────────────── */
.form-sayfa { padding: 64px 0 96px; }
.form-sayfa .sar { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; }
.form-sayfa h1 { font-size: clamp(32px, 4vw, 44px); }
.form-sayfa .giris { margin-top: 14px; color: var(--metin-2); font-size: 18px; max-width: 34em; }
form.basvuru { margin-top: 36px; display: grid; gap: 22px; max-width: 560px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.secenekler { display: grid; gap: 10px; }
.secenek { display: flex; gap: 12px; align-items: center; border: 1px solid var(--cizgi); border-radius: 6px; padding: 14px 16px; cursor: pointer; }
.secenek:has(input:checked) { border-color: var(--vurgu); background: var(--vurgu-zemin); box-shadow: inset 4px 0 0 var(--vurgu); }
.secenek input { width: 18px; height: 18px; accent-color: var(--dugme); margin: 0; }
.secenek .ad { font-weight: 600; }
.secenek .tutar { margin-left: auto; color: var(--metin-2); font-variant-numeric: tabular-nums; font-size: 16px; }
.alan label { display: block; font-weight: 600; margin-bottom: 6px; }
.alan .ipucu { font-weight: 400; color: var(--metin-3); font-size: 15px; }
.alan input, .alan textarea {
  width: 100%; font: 400 17px/1.4 var(--yazi); color: var(--murekkep); background: var(--kagit);
  border: 1px solid #B9BFBC; border-radius: 6px; padding: 12px 14px;
}
.alan textarea { min-height: 110px; resize: vertical; }
.alan input:focus, .alan textarea:focus { outline: 3px solid var(--odak); outline-offset: 0; border-color: transparent; }
.alan.hatali input, .alan.hatali textarea { border-color: var(--hata); }
.hata-yazi { color: var(--hata); font-size: 15px; margin-top: 6px; }
.onay { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.onay input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--dugme); flex: none; }
.ozet-kutu { border-top: 6px solid var(--vurgu); padding-top: 20px; align-self: start; position: sticky; top: 24px; }
.ozet-kutu h2 { font-size: 21px; }
.ozet-kutu ol { margin: 14px 0 0; padding-left: 20px; color: var(--metin-2); font-size: 16px; }
.ozet-kutu li { padding: 4px 0; }
.uyari-kutu { border-left: 4px solid var(--hata); background: #FEF3F2; padding: 12px 16px; margin-top: 24px; }

/* düz metin sayfaları */
.metin { padding: 64px 0 96px; }
.metin .sar > * { max-width: 44em; }
.metin h1 { font-size: clamp(30px, 4vw, 42px); }
.metin h2 { font-size: 22px; margin-top: 36px; }
.metin p, .metin ul { margin-top: 14px; color: var(--metin-2); }
.havale { margin-top: 28px; border: 1px solid var(--cizgi); border-radius: 6px; padding: 20px 22px; }
.havale dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 12px 0 0; }
.havale dt { color: var(--metin-3); }
.havale dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ── alt ────────────────────────────────────────── */
.alt { border-top: 4px double var(--murekkep); padding: 40px 0 48px; font-size: 15px; color: var(--metin-3); }
.alt .sar { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.alt .marka { font-size: 17px; }
.alt .marka img { width: 28px; height: 28px; }
.alt a { color: var(--metin-2); }
.alt .sag { margin-left: auto; display: flex; gap: 24px; flex-wrap: wrap; }

/* ── dar ekran ─────────────────────────────────── */
@media (max-width: 900px) {
  .defter { display: none; }
  .acilis .sar, .ozellik, .form-sayfa .sar { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ozellik.ters > :first-child { order: 0; }
  .yerel, .adimlar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .paketler { grid-template-columns: minmax(0, 1fr); }
  .paket, .paket:first-child, .paket:last-child { padding: 32px 0; }
  .paket + .paket { border-left: 0; border-top: 1px solid var(--cizgi); }
  .paket .kime { min-height: 0; }
  .ozet-kutu { position: static; }
}
@media (max-width: 640px) {
  :root { --kenar: 16px; }
  body { font-size: 16px; }
  .ust .sar { gap: 12px; }
  .ust nav a:not(.dugme) { display: none; }
  .acilis { padding: 44px 0 56px; }
  .acilis::before { display: none; }
  .bolum { padding: 60px 0; }
  .yerel, .adimlar { grid-template-columns: minmax(0, 1fr); }
  .ekran.telefon { max-width: 240px; }
  /* Karşılaştırma tablosu telefonda yana kaymasın: ekrana sığar, özellik adı kırılır. */
  table.karsilastir { min-width: 0; font-size: 14px; }
  .karsilastir th, .karsilastir td { padding: 10px 6px; }
  .karsilastir td.d, .karsilastir th.d { width: 60px; white-space: nowrap; }
  .karsilastir caption { font-size: 19px; }
  .tablo-sar { margin-top: 48px; }
  .fiyat strong { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .soru-satiri .yazilan::after { animation: none; }
}
