/* BookAtlas web sitesi — tek stil dosyası.
   Dış kaynak (font, betik, analitik) yüklenmez; ziyaretçi verisi üçüncü
   taraflara gitmez. */

:root {
  --bg: #f6f1e6;
  --paper: #fffdf8;
  --ink: #17231c;
  --ink-soft: #4a574f;
  --ink-faint: #7b867f;
  --green: #014421;
  --green-2: #0b5a32;
  --mint: #8dc29e;
  --mint-soft: #dcebdf;
  --gold: #b8860b;
  --gold-soft: #f3e6c4;
  --line: rgba(23, 35, 28, 0.12);
  --shadow: 0 1px 2px rgba(23, 35, 28, 0.06), 0 12px 32px rgba(23, 35, 28, 0.08);
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1612;
    --paper: #15201a;
    --ink: #ecf1ec;
    --ink-soft: #b4c0b8;
    --ink-faint: #85928a;
    --green: #9fd3ae;
    --green-2: #7fc194;
    --mint: #3f7d55;
    --mint-soft: #1c2f24;
    --gold: #e0b653;
    --gold-soft: #33290f;
    --line: rgba(236, 241, 236, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--green-2); text-underline-offset: 3px; }
a:hover { color: var(--green); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 10px;
}

/* ── Üst çubuk ─────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  padding: 3px;
  border: 1px solid var(--line);
}
.brand b { color: var(--green); font-weight: 700; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .nav-links a:not(.lang) { display: none; }
}

/* ── Düğmeler ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: #014421;
  color: #fff;
  box-shadow: 0 8px 20px rgba(1, 68, 33, 0.25);
}
.btn-primary:hover { color: #fff; background: #0b5a32; }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
}
.btn-ghost:hover { color: var(--ink); }
.btn-soon {
  border-style: dashed;
  color: var(--ink-faint);
  cursor: default;
}
.btn-soon:hover { transform: none; color: var(--ink-faint); }
.btn small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.1;
}
.btn span { text-align: left; line-height: 1.2; }

/* ── Kahraman bölüm ────────────────────────────────────── */

.hero { padding: 72px 0 56px; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(36px, 4.4vw, 52px); }
.hero h1 em { font-style: italic; color: var(--green); }
.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-soft);
  max-width: 34em;
  margin: 22px 0 30px;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { margin: 16px 0 0; font-size: 14px; color: var(--ink-faint); }

.map-card {
  background: linear-gradient(160deg, #014421 0%, #062c18 100%);
  color: #f2f7f2;
  border-radius: 28px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 60px rgba(1, 44, 22, 0.35);
  transform: rotate(1.2deg);
}
.map-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 14px;
}
.map-card header span { font-family: var(--sans); font-size: 12px; opacity: 0.65; }
.map-card svg { width: 100%; height: auto; }
.map-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.map-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: #e8c66a;
}
.map-stats span { font-size: 12px; opacity: 0.75; }
.map-card figcaption {
  margin-top: 12px;
  font-size: 11px;
  opacity: 0.5;
  text-align: right;
}

@media (max-width: 900px) {
  .hero { padding: 44px 0 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .map-card { transform: none; }
}

/* ── Bölümler ──────────────────────────────────────────── */

section { padding: 64px 0; }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 16px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.features article { background: var(--paper); padding: 26px; }
.features .glyph { font-size: 26px; margin-bottom: 10px; }
.features h3 { font-size: 20px; margin-bottom: 6px; }
.features p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.band {
  background: #014421;
  color: #f2f7f2;
}
.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.band h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.band h2 em { color: #e8c66a; font-style: italic; }
.band p { color: rgba(242, 247, 242, 0.82); font-size: 18px; }
.band .eyebrow { color: #e8c66a; }
.band a { color: #e8c66a; }
.band mark.todo { color: #17231c; }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.shelf li {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 16px;
}
.shelf b { display: block; font-family: var(--serif); font-size: 19px; color: #fff; }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan h3 { font-size: 26px; margin-bottom: 4px; }
.plan .tag { color: var(--ink-faint); font-size: 15px; margin-bottom: 16px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.plan li { margin-bottom: 6px; }
.plan li::marker { color: var(--gold); }

.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.promise li { border-top: 2px solid var(--green); padding-top: 14px; }
.promise b { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }
.promise span { color: var(--ink-soft); font-size: 15px; }

.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

@media (max-width: 900px) {
  section { padding: 48px 0; }
  .steps, .features, .plans { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr; gap: 28px; }
  .promise { grid-template-columns: repeat(2, 1fr); }
}

/* ── Alt bilgi ─────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  font-size: 15px;
  color: var(--ink-soft);
}
.footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 12px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .fine { grid-column: 1 / -1; font-size: 13px; color: var(--ink-faint); }
@media (max-width: 720px) {
  .footer .wrap { grid-template-columns: 1fr; }
}

/* ── Hukuki metin sayfaları ────────────────────────────── */

.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 10px; }
.doc .meta { color: var(--ink-faint); font-size: 15px; margin-bottom: 28px; }
.doc h2 {
  font-size: 25px;
  margin: 40px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.doc h3 { font-size: 19px; margin: 24px 0 8px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc .box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}
.doc .box p:last-child { margin-bottom: 0; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 20px;
}
.doc .table-scroll { overflow-x: auto; }
.doc th, .doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.doc th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.doc-nav a {
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--paper);
}
.doc-nav a[aria-current="page"] {
  background: #014421;
  border-color: #014421;
  color: #fff;
}

.draft {
  background: var(--gold-soft);
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  font-size: 14px;
  padding: 10px 0;
  text-align: center;
}
mark.todo {
  background: var(--gold-soft);
  color: inherit;
  border: 1px dashed var(--gold);
  border-radius: 5px;
  padding: 0 5px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media print {
  .nav, .footer, .doc-nav, .draft { display: none; }
  body { background: #fff; font-size: 12pt; }
}
