/* Text pages (gizlilik.html, yardim.html): long-form reading on the landing's palette.
   Loaded after style.css; no scripts on these pages. */

.doc {
  padding: 140px 0 96px;
}
.doc .wrap {
  max-width: 820px;
}
.doc .eyebrow {
  color: var(--logo);
  margin-bottom: 14px;
}
.doc h1 {
  font: 600 clamp(36px, 6vw, 60px) / 1.05 var(--sans);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.doc .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mute-d);
  max-width: 640px;
}
.doc .meta {
  margin-top: 18px;
  color: var(--mute-d);
}
.doc .toc {
  margin: 44px 0 8px;
  padding: 22px 24px;
  border: 1px solid var(--line-d);
  border-radius: 18px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  font-size: 14.5px;
}
.doc .toc a {
  color: var(--mute-d);
}
.doc .toc a:hover {
  color: var(--clarity);
}
.doc section {
  padding-top: 48px;
  scroll-margin-top: 80px;
}
.doc h2 {
  font: 600 24px/1.25 var(--sans);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.doc h3 {
  font: 600 17px/1.35 var(--sans);
  margin: 22px 0 8px;
}
.doc p,
.doc li {
  color: rgba(230, 238, 239, 0.82);
  line-height: 1.7;
}
.doc p + p {
  margin-top: 12px;
}
.doc ul,
.doc ol {
  margin: 10px 0 0 20px;
  display: grid;
  gap: 6px;
}
.doc strong {
  color: var(--clarity);
  font-weight: 600;
}
.doc a.inline {
  color: var(--clarity);
  text-decoration: underline;
  text-decoration-color: var(--logo);
  text-underline-offset: 3px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14.5px;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line-d);
  line-height: 1.55;
}
.doc th {
  color: var(--mute-d);
  font-weight: 500;
  font-size: 13px;
}
.doc td {
  color: rgba(230, 238, 239, 0.82);
}

/* Questions (yardim.html) */
.doc .faq {
  margin-top: 6px;
  border-top: 1px solid var(--line-d);
}
.doc details {
  border-bottom: 1px solid var(--line-d);
}
.doc summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  position: relative;
  font: 500 16.5px/1.4 var(--sans);
}
.doc summary::-webkit-details-marker {
  display: none;
}
.doc summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  font: 400 24px/1 var(--sans);
  color: var(--logo);
  transition: transform 0.25s;
}
.doc details[open] summary::after {
  transform: rotate(45deg);
}
.doc summary:focus-visible {
  outline: 2px solid var(--logo);
  outline-offset: 4px;
  border-radius: 4px;
}
.doc details > div {
  padding: 0 0 20px;
}
.doc mark.todo {
  /* Placeholder still to be filled in before go-live. */
  background: rgba(255, 91, 5, 0.18);
  color: var(--clarity);
  border-radius: 4px;
  padding: 0 4px;
}
.doc .contact {
  margin-top: 56px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(230, 238, 239, 0.04);
  border: 1px solid var(--line-d);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.doc .contact p {
  margin: 0;
}

@media (max-width: 600px) {
  .doc {
    padding-top: 110px;
  }
  .doc .toc {
    grid-template-columns: 1fr;
  }
  .doc table,
  .doc thead,
  .doc tbody,
  .doc tr,
  .doc th,
  .doc td {
    display: block;
  }
  .doc thead {
    display: none;
  }
  .doc td {
    border: 0;
    padding: 4px 0;
  }
  .doc tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-d);
  }
}
@media (prefers-reduced-motion: reduce) {
  .doc summary::after {
    transition: none;
  }
}

/* Contact cards (iletisim.html) */
.doc .contact-cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.doc .ccard {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line-d);
  background: rgba(230, 238, 239, 0.03);
  transition: border-color 0.2s;
}
.doc a.ccard:hover {
  border-color: var(--logo);
}
.doc .ccard span {
  color: var(--logo);
}
.doc .ccard b {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  color: var(--clarity);
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .doc .contact-cards {
    grid-template-columns: 1fr;
  }
}
