:root {
  --charcoal: #16120F;
  --ink: #221B16;
  --copper: #B0633B;
  --pale: #D9A97C;
  --cream: #F2EDE6;
  --soft: #E3D9CA;
  --hairline: #3A2E24;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #16120F;
  color: #F2EDE6;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #B0633B;
  color: #F2EDE6;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #D9A97C;
  outline-offset: 3px;
}

.legal-header {
  background-color: #16120F;
  border-bottom: 2px solid #B0633B;
  padding: 22px 0;
}

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

.legal-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: #D9A97C;
  text-decoration: none;
}

.legal-home-link {
  color: #F2EDE6;
  text-decoration: none;
  border: 1px solid #B0633B;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-family: 'Inter', Georgia, serif;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.legal-home-link:hover {
  background-color: #B0633B;
  color: #F2EDE6;
}

.legal-title {
  max-width: 940px;
  margin: 0 auto;
  padding: 64px 24px 28px;
}

.legal-title h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 42px;
  line-height: 1.15;
  color: #F2EDE6;
}

.legal-title .meta {
  color: #D9A97C;
  margin-top: 16px;
  font-size: 15px;
}

.legal-toc {
  max-width: 940px;
  margin: 24px auto 0;
  padding: 30px 24px;
  background-color: #221B16;
  border: 1px solid #3A2E24;
  border-radius: 14px;
}

.legal-toc h2 {
  color: #D9A97C;
  font-size: 14px;
  font-family: 'Inter', Georgia, serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.legal-toc ol {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}

.legal-toc li {
  margin: 0;
}

.legal-toc a {
  color: #F2EDE6;
  text-decoration: none;
  font-size: 15px;
  font-family: 'Inter', Georgia, serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.legal-toc a::before {
  content: "";
  width: 9px;
  height: 9px;
  background: #B0633B;
  flex-shrink: 0;
}

.legal-toc a:hover {
  color: #D9A97C;
}

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

.legal-content section {
  padding: 46px 0;
  border-bottom: 1px solid #B0633B;
  background-color: transparent !important;
}

.legal-content section:last-of-type {
  border-bottom: none;
}

.legal-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 27px;
  line-height: 1.25;
  color: #D9A97C;
  margin-bottom: 18px;
  scroll-margin-top: 20px;
}

.legal-content h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  color: #F2EDE6;
  margin: 24px 0 10px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 26px;
}

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

.legal-content strong {
  color: #F2EDE6;
}

.legal-footer {
  background-color: #16120F;
  border-top: 2px solid #B0633B;
  margin-top: 48px;
}

.legal-footer-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 42px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-footer-inner .home-link {
  color: #D9A97C;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Inter', Georgia, serif;
  border: 1px solid #B0633B;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.legal-footer-inner .home-link:hover {
  background-color: #B0633B;
  color: #F2EDE6;
}

.legal-footer-inner p {
  color: #F2EDE6;
  font-size: 14px;
  font-family: 'Inter', Georgia, serif;
  max-width: 480px;
}

.legal-footer-strip {
  background-color: #B0633B;
  padding: 18px 0;
  text-align: center;
}

.legal-footer-strip p {
  color: #F2EDE6;
  font-size: 14px;
  font-family: 'Inter', Georgia, serif;
}

@media (max-width: 720px) {
  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-title h1 {
    font-size: 32px;
  }

  .legal-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
