* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #F3EAD8;
  background-color: #16110C;
  overflow-x: hidden;
}

.legal-header {
  background-color: #241C12;
  border-bottom: 3px solid #C98A3D;
}

.legal-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-home {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  color: #F0E2C8;
  text-decoration: none;
  letter-spacing: 0.1em;
}

.legal-home:hover {
  color: #C98A3D;
}

.legal-badge {
  background-color: #C98A3D;
  color: #16110C;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 7px 16px;
  border-radius: 3px;
}

.legal-content .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page .legal-content section {
  background-color: transparent !important;
}

.legal-content h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  color: #F3EAD8;
  margin-top: 58px;
  margin-bottom: 12px;
  line-height: 1.15;
}

.legal-content .legal-intro {
  color: #F3EAD8;
  font-size: 18px;
  margin-bottom: 12px;
}

.legal-content .last-updated {
  color: #F0E2C8;
  font-size: 14px;
  margin-bottom: 38px;
}

.toc {
  background-color: #241C12;
  border: 1px solid #C98A3D;
  padding: 28px 32px;
  margin: 36px 0 54px;
  border-radius: 3px;
}

.toc h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: #F0E2C8;
  margin-bottom: 16px;
}

.toc ol {
  margin-left: 22px;
}

.toc li {
  margin-bottom: 9px;
  color: #F3EAD8;
  font-size: 15.5px;
}

.toc li:last-child {
  margin-bottom: 0;
}

.toc a {
  color: #F0E2C8;
  text-decoration: none;
}

.toc a:hover {
  color: #C98A3D;
  text-decoration: underline;
}

.legal-content section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  color: #F0E2C8;
  margin: 46px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #C98A3D;
}

.legal-content section p {
  color: #F3EAD8;
  margin-bottom: 16px;
}

.legal-content section p:last-child {
  margin-bottom: 28px;
}

.legal-content section ul,
.legal-content section ol {
  margin: 0 0 16px 24px;
  color: #F3EAD8;
}

.legal-content section li {
  margin-bottom: 8px;
}

.legal-content section strong {
  color: #F0E2C8;
  font-weight: 700;
}

.legal-footer {
  background-color: #241C12;
  border-top: 3px solid #C98A3D;
  margin-top: 64px;
  padding: 38px 0;
}

.legal-footer .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.legal-footer p {
  color: #F0E2C8;
  font-size: 14px;
  margin-bottom: 6px;
}

.legal-footer a {
  color: #F0E2C8;
  text-decoration: underline;
}

.legal-footer a:hover {
  color: #C98A3D;
}

@media (max-width: 560px) {
  .legal-content h1 {
    font-size: 34px;
  }

  .legal-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .toc {
    padding: 22px 20px;
  }
}
