/* Ermada LogiCore — hukuki ve destek sayfalari icin ortak stil.
   Ayni origin'den servis edilir; harici font, CDN veya izleyici yuklenmez. */

:root {
  --ink: #131313;
  --ink-soft: #3f3f42;
  --muted: #63636b;
  --line: #e6e6e9;
  --line-strong: #d8d8dc;
  --canvas: #ffffff;
  --canvas-alt: #f6f7f8;
  --accent: #f59e0b;
  --accent-ink: #b45309;
  --ok: #16a34a;
  --warn: #b45309;
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
a:hover { color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink);
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: 14.5px; color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  padding: 10px 18px; cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a2c; color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #e08c00; color: var(--ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Document head ---------- */
.doc-head { padding: 52px 0 34px; border-bottom: 1px solid var(--line); background: var(--canvas-alt); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--accent); border-radius: 2px; }
.doc-head h1 { font-size: 38px; line-height: 1.16; letter-spacing: -0.02em; font-weight: 800; }
.doc-lead { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 40em; }
.doc-meta {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 10px;
  font-size: 13px; color: var(--ink-soft);
}
.doc-meta span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}

/* ---------- Prose ---------- */
.doc-body { padding: 44px 0 64px; }
.prose h2 {
  font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700;
  margin: 40px 0 12px; padding-top: 8px; scroll-margin-top: 84px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16.5px; font-weight: 700; margin: 24px 0 8px; scroll-margin-top: 84px; }
.prose p { margin: 0 0 14px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--ink); }
.prose code {
  font-family: Consolas, "Cascadia Mono", ui-monospace, monospace; font-size: 13.5px;
  background: var(--canvas-alt); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

.table-scroll { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
.prose th, .prose td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top;
  color: var(--ink-soft);
}
.prose th { background: var(--canvas-alt); color: var(--ink); font-weight: 700; }

/* ---------- Callouts ---------- */
.callout {
  border: 1px solid var(--line-strong); border-left: 3px solid var(--accent);
  background: var(--canvas-alt); border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 0 0 22px;
}
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.callout-ok { border-left-color: var(--ok); }
.callout-fill { border-left-color: var(--warn); border-style: dashed; border-left-style: solid; }

/* Doldurulacak sirket kunye alanlari */
.fill { font-weight: 600; color: var(--warn); }

/* ---------- Table of contents ---------- */
.toc {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas-alt);
  padding: 18px 20px; margin: 0 0 34px;
}
.toc p { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Definition cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 0 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; background: #fff; }
.card h3 { margin: 0 0 6px; font-size: 15.5px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: step; }
.steps li {
  position: relative; padding: 0 0 0 44px; margin-bottom: 20px; counter-increment: step;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 700;
}
.steps b { display: block; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 40px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.cta-band p { color: #b9b9c0; margin-top: 8px; font-size: 15px; }
.cta-band a.mail { color: var(--accent); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--canvas-alt); padding: 40px 0 28px; }
.footer-top { display: flex; gap: 32px; justify-content: space-between; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15.5px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 6px; }
.footer-note { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 34em; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); gap: 8px 28px; }
.footer-links a, .footer-links button {
  font-size: 14px; color: var(--ink-soft); text-decoration: none;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-family: inherit;
}
.footer-links a:hover, .footer-links button:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .doc-head h1 { font-size: 30px; }
  .toc ol { columns: 1; }
  .site-header .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 12px; }
  .site-nav { margin-left: 0; width: 100%; gap: 14px; }
  .footer-links { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .consent-bar, .cta-band, .site-footer { display: none !important; }
  body { line-height: 1.5; }
  .doc-head { background: none; border-bottom: 1px solid #000; }
}
