/* DavetCevap · davetcevap.com
   Harici yazı tipi, çerez veya izleme betiği kullanılmaz. */

:root {
  --bg: #faf6ef;
  --bg-soft: #f3ece0;
  --surface: #ffffff;
  --ink: #2a2420;
  --muted: #6f655b;
  --line: #e7dccb;
  --gold: #a87b3d;
  --gold-dark: #7d5a28;
  --gold-soft: #f1e4cc;
  --green: #4f7a52;
  --mark: #fff1b8;
  --mark-ink: #5b4300;
  --shadow: 0 18px 50px rgba(92, 66, 30, .10);
  --radius: 22px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1815;
    --bg-soft: #24201c;
    --surface: #2a2521;
    --ink: #f3ece2;
    --muted: #b9ad9f;
    --line: #3e3630;
    --gold: #d6aa6a;
    --gold-dark: #e8c48e;
    --gold-soft: #3a2f22;
    --green: #8fbf92;
    --mark: #4a3d12;
    --mark-ink: #ffe9a3;
    --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }
.narrow { width: min(100% - 32px, 760px); margin-inline: auto; }

/* Üst menü */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a { white-space: nowrap; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }
@media (max-width: 420px) { .nav { gap: 12px; font-size: 14px; } .brand { font-size: 18px; gap: 8px; } .brand img { width: 30px; height: 30px; } }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { color: var(--bg); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { color: var(--ink); }
.btn-muted { border-color: var(--line); color: var(--muted); background: var(--bg-soft); cursor: default; }
.btn-muted:hover { transform: none; }

/* Ana sayfa */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--gold-dark); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(36px, 6vw, 58px); }
.hero .lead { margin: 20px 0 28px; font-size: 19px; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.small-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(100%, 340px); border-radius: 26%; box-shadow: var(--shadow); }
.app-icon-link { display: block; border-radius: 26%; transition: transform .18s ease; }
.app-icon-link:hover { transform: translateY(-3px); }
.app-icon-link:focus-visible { border-radius: 26%; }
@media (max-width: 820px) {
  .hero { padding: 40px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
  .hero-art img { width: 168px; }
}

.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 38px); }
.section-head p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-dark); }
.icon svg { width: 22px; height: 22px; }

.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; list-style: none; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; margin-bottom: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.check { list-style: none; padding: 0; margin: 14px 0 0; }
.check li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--muted); font-size: 16px; }
.check li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.business-card { max-width: 780px; }
.business-card dl { margin: 0; display: grid; gap: 18px; }
.business-card dl > div { display: grid; grid-template-columns: minmax(150px, 200px) 1fr; gap: 18px; }
.business-card dt { color: var(--muted); font-size: 15px; font-weight: 650; }
.business-card dd { margin: 0; }
@media (max-width: 600px) {
  .business-card dl > div { grid-template-columns: 1fr; gap: 2px; }
}

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold-dark); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Yasal sayfalar */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 25px; margin: 44px 0 10px; padding-top: 8px; }
.doc h3 { font-size: 19px; margin: 26px 0 6px; font-family: var(--sans); font-weight: 650; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--bg-soft); font-weight: 650; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 0 0 12px; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.callout { background: var(--gold-soft); border-radius: 16px; padding: 16px 20px; margin: 18px 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

/* Yayından önce doldurulacak alanlar */
mark.ph { background: var(--mark); color: var(--mark-ink); padding: 0 4px; border-radius: 4px; }

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
