/* /gizlilik-politikasi · /kullanim-kosullari — okunaklı uzun metin */
.aml-legal {
  --legal-measure: 42rem;
  --legal-rail: 14rem;
  padding: clamp(1.5rem, 3vw, 2.75rem) 1rem 3.5rem;
  color: var(--theme-text, #eee);
  font-family: var(--aml-font-body, inherit);
}

.aml-legal__shell {
  max-width: calc(var(--legal-measure) + var(--legal-rail) + 3rem);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .aml-legal__shell {
    grid-template-columns: var(--legal-rail) minmax(0, 1fr);
    align-items: start;
    gap: 2.5rem;
  }
}

.aml-legal__nav {
  display: none;
}

@media (min-width: 960px) {
  .aml-legal__nav {
    display: block;
    position: sticky;
    top: 5.5rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.85rem;
    border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
    background: color-mix(in srgb, var(--theme-surface, #16161e) 55%, transparent);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
  }

  .aml-legal__nav-title {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--theme-text) 55%, transparent);
  }

  .aml-legal__nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
  }

  .aml-legal__nav a {
    display: block;
    padding: 0.28rem 0.4rem;
    border-radius: 0.4rem;
    font-size: 0.82rem;
    line-height: 1.35;
    color: color-mix(in srgb, var(--theme-text) 72%, transparent);
    text-decoration: none;
    text-wrap: pretty;
  }

  .aml-legal__nav a:hover {
    color: var(--theme-text);
    background: color-mix(in srgb, var(--theme-text) 6%, transparent);
  }
}

.aml-legal__panel {
  padding: clamp(1.15rem, 2.5vw, 1.75rem) clamp(1.1rem, 2.2vw, 1.85rem) 1.85rem;
  border-radius: 1.05rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 14%, transparent);
  background: color-mix(in srgb, var(--theme-surface, #16161e) 62%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent);
  max-width: var(--legal-measure);
}

.aml-legal__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--theme-text) 58%, transparent);
}

.aml-legal__title {
  margin: 0 0 0.65rem;
  font-family: var(--aml-font-display, inherit);
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.05rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.aml-legal__updated {
  margin: 0 0 1.35rem;
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--theme-text) 52%, transparent);
}

.aml-legal__lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--theme-text) 88%, transparent);
  text-wrap: pretty;
}

.aml-legal__section {
  margin: 0 0 1.55rem;
  padding-top: 1.15rem;
  border-top: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  scroll-margin-top: 5.5rem;
}

.aml-legal__section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.aml-legal__section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--aml-font-display, inherit);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-wrap: balance;
}

.aml-legal__section p,
.aml-legal__section li {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  line-height: 1.68;
  color: color-mix(in srgb, var(--theme-text) 82%, transparent);
  text-wrap: pretty;
  max-width: 65ch;
}

.aml-legal__section ul,
.aml-legal__section ol {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.aml-legal__section a {
  color: color-mix(in srgb, var(--theme-accent, #e11) 85%, #fff);
  text-underline-offset: 0.15em;
}

.aml-legal__section a:hover {
  color: var(--theme-text);
}

.aml-legal__note {
  margin: 1.25rem 0 0;
  padding: 0.85rem 0.95rem;
  border-radius: 0.65rem;
  border-left: 3px solid color-mix(in srgb, var(--theme-accent, #e11) 70%, transparent);
  background: color-mix(in srgb, var(--theme-text) 5%, transparent);
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--theme-text) 78%, transparent);
}

.aml-legal__foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  font-size: 0.88rem;
}

.aml-legal__foot-links a {
  color: color-mix(in srgb, var(--theme-text) 70%, transparent);
  text-decoration: none;
}

.aml-legal__foot-links a:hover {
  color: var(--theme-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (prefers-reduced-motion: no-preference) {
  .aml-legal__panel {
    animation: aml-legal-in 0.45s ease both;
  }
}

@keyframes aml-legal-in {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
