:root {
  --ink: #171716;
  --muted: #65615b;
  --paper: #f4f1eb;
  --white: #ffffff;
  --red: #a90914;
  --red-dark: #79050c;
  --copper: #b7793c;
  --line: rgba(23, 23, 22, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --shell: min(1160px, calc(100vw - 64px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(169, 9, 20, 0.08), transparent 27%),
    linear-gradient(90deg, transparent 0 49.94%, rgba(23, 23, 22, 0.025) 50%, transparent 50.06%);
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  font: inherit;
}

::selection {
  color: #ffffff;
  background: var(--red);
}

:focus-visible {
  outline: 3px solid #ec8e83;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-shell {
  width: var(--shell);
  margin-inline: auto;
}

.legal-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.legal-header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.legal-brand {
  flex: 0 0 auto;
}

.legal-brand img {
  width: 190px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.legal-header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.legal-header__actions a {
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.legal-header__actions a:first-child:hover {
  color: var(--red);
}

.legal-header__call {
  padding: 10px 16px;
  color: #ffffff;
  background: var(--ink);
}

.legal-hero {
  position: relative;
  padding: 86px 0 78px;
  color: #ffffff;
  background: var(--ink);
  overflow: hidden;
}

.legal-hero::after {
  position: absolute;
  right: -4vw;
  bottom: -90%;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--serif);
  font-size: clamp(240px, 34vw, 520px);
  line-height: 1;
  content: "Ş";
}

.legal-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.legal-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: #d9a46c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-kicker::before {
  width: 38px;
  height: 2px;
  background: currentColor;
  content: "";
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 7vw, 86px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.legal-hero__lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.65;
}

.legal-updated {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 76px;
  align-items: start;
  padding: 74px 0 112px;
}

.legal-toc {
  position: sticky;
  top: 116px;
  padding: 22px;
  border-top: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.75);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 19px;
}

.legal-toc nav {
  display: grid;
  gap: 2px;
}

.legal-toc a {
  padding: 6px 0;
  color: #5d5a55;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--red);
}

.legal-content {
  min-width: 0;
}

.legal-content > section {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.legal-content > section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 45px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.legal-content h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.legal-content p {
  margin: 0 0 16px;
  color: #494742;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 20px;
  padding-left: 23px;
  color: #494742;
}

.legal-content li + li {
  margin-top: 9px;
}

.legal-content a {
  color: var(--red-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--copper);
  color: #453c33;
  background: #eee4d8;
}

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

.legal-contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  color: #ffffff;
  background: var(--red);
}

.legal-contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.legal-contact-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
}

.legal-contact-card a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: var(--ink);
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.legal-table-wrap {
  width: 100%;
  margin: 22px 0;
  border: 1px solid var(--line);
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.74);
}

.legal-table th,
.legal-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: #ffffff;
  background: var(--ink);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-table td {
  color: #494742;
  font-size: 14px;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-hub-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  color: inherit !important;
  background: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.legal-hub-card:hover {
  border-color: var(--red);
  background: #ffffff;
  transform: translateY(-3px);
}

.legal-hub-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.legal-hub-card h2 {
  margin: 18px 0 8px;
  font-size: 27px;
}

.legal-hub-card p {
  margin: 0;
  font-size: 15px;
}

.legal-hub-card b {
  margin-top: auto;
  padding-top: 16px;
  color: var(--red);
  font-size: 14px;
}

.legal-source-list {
  font-size: 14px;
}

.legal-footer {
  padding: 54px 0 32px;
  color: #ffffff;
  background: var(--ink);
}

.legal-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 38px;
}

.legal-footer__brand img {
  width: min(210px, 100%);
  filter: brightness(0) invert(1);
}

.legal-footer__brand p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.legal-footer .footer-legal {
  padding-top: 0;
  border-top: 0;
}

.legal-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.legal-footer__bottom a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
  }

  .legal-footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 82px;
  }

  .legal-header__inner {
    min-height: 74px;
    gap: 12px;
  }

  .legal-brand img {
    width: 142px;
    max-height: 58px;
  }

  .legal-header__actions {
    gap: 8px;
  }

  .legal-header__actions > a:first-child {
    display: none;
  }

  .legal-header__call {
    padding: 9px 11px;
    font-size: 12px !important;
  }

  .legal-hero {
    padding: 58px 0 54px;
  }

  .legal-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .legal-hero__lead {
    font-size: 16px;
  }

  .legal-layout {
    padding: 42px 0 76px;
  }

  .legal-toc {
    padding: 18px;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .legal-content > section {
    padding-bottom: 38px;
    margin-bottom: 38px;
  }

  .legal-content h2 {
    font-size: 31px;
  }

  .legal-callout {
    padding: 17px;
  }

  .legal-contact-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .legal-contact-card a {
    width: 100%;
  }

  .legal-hub-grid {
    grid-template-columns: 1fr;
  }

  .legal-hub-card {
    min-height: 170px;
  }

  .legal-footer {
    padding-top: 42px;
  }

  .legal-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
