/* /gizlilik and /privacy: long text on the site's dark ground, set for reading. */

.legal {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin: 0 auto;
  padding: var(--gutter);
  padding-bottom: max(calc(var(--gutter) * 2), env(safe-area-inset-bottom));
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.legal .top {
  margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
}

.legal .wordmark a {
  color: var(--ink);
  text-decoration: none;
}

/* On these pages TR / EN are links to the other page, styled like the home page's buttons. */
.legal .lang a {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
}

.legal .lang a:hover {
  color: var(--ink);
}

.legal .lang a[aria-current="page"] {
  color: var(--button-ink);
  background: var(--ink);
}

.legal .lang a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.legal h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 760;
  font-variation-settings: "wdth" 80;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal .updated {
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
}

.legal h2 {
  margin: 2.75rem 0 0.8rem;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 680;
  font-variation-settings: "wdth" 90;
  line-height: 1.2;
  color: var(--ink);
}

.legal h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--ink);
}

.legal p,
.legal ul,
.legal ol {
  margin: 0 0 1rem;
}

.legal ul,
.legal ol {
  padding-left: 1.3rem;
}

.legal li {
  margin-bottom: 0.45rem;
}

.legal li::marker {
  color: var(--glow);
}

.legal strong {
  color: var(--ink);
  font-weight: 620;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: rgba(244, 251, 250, 0.4);
  overflow-wrap: anywhere;
}

.legal a:hover {
  text-decoration-color: var(--glow);
}

.legal a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}

/* The company's details, set apart. */
.legal .card {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(244, 251, 250, 0.16);
  border-radius: 14px;
  background: rgba(20, 28, 31, 0.6);
}

.legal .card p {
  margin: 0 0 0.35rem;
}

.legal .card p:last-child {
  margin: 0;
}

/* Who processes what: a table on wide screens, stacked rows on phones. */
.legal .table-wrap {
  margin: 0 0 1.25rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal th,
.legal td {
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-bottom: 1px solid rgba(244, 251, 250, 0.12);
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--ink);
  font-weight: 620;
}

.legal td:first-child {
  color: var(--ink);
  font-weight: 560;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .legal thead {
    display: none;
  }

  .legal tr {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(244, 251, 250, 0.12);
  }

  .legal th,
  .legal td {
    display: block;
    padding: 0.1rem 0;
    border: 0;
  }

  .legal td:first-child {
    white-space: normal;
  }
}

.legal .back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 251, 250, 0.12);
  font-size: 0.95rem;
}
