/* BuoyLarson — shared legal stylesheet for privacy.html and terms-of-service.html */

.legal-page {
  background-color: #0E1A13;
  color: #E6EDE4;
}

.legal-page {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

.legal-page a {
  color: #F0B98E;
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-header {
  background: linear-gradient(160deg, #0B1410 0%, #143324 60%, #1C4632 100%);
  padding: 72px 24px 56px;
  text-align: center;
  border-bottom: 1px solid #24402F;
}

.legal-header .legal-kicker {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C15A3A;
  margin-bottom: 14px;
}

.legal-header h1 {
  color: #FFFFFF;
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-weight: 600;
  font-size: 2.7rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.legal-header p {
  color: #C9D6C6;
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}

.legal-toc {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 24px;
  text-align: left;
}

.legal-toc .toc-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-toc ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  color: #E6EDE4;
  font-size: 0.9rem;
  background: #1A2C21;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #2A4636;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
  background: #2A4636;
  border-color: #C15A3A;
  text-decoration: none;
}

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

.legal-content {
  padding: 64px 0 24px;
}

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

.legal-content section {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid #24402F;
}

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

.legal-content h2 {
  color: #FFFFFF;
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.legal-content h3 {
  color: #F0B98E;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 22px 0 10px;
}

.legal-content p {
  color: #C9D6C6;
  font-size: 1rem;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  color: #C9D6C6;
  margin: 0 0 18px 22px;
}

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

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

.legal-footer {
  background: #0B1410;
  border-top: 1px solid #24402F;
  padding: 32px 24px;
  text-align: center;
}

.legal-footer p {
  color: #93A48E;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.legal-footer a {
  color: #F0B98E;
}

.legal-back {
  display: inline-block;
  margin-bottom: 14px;
  color: #FFFFFF;
  font-weight: 600;
}

@media (max-width: 760px) {
  .legal-header h1 {
    font-size: 2rem;
  }
  .legal-content h2 {
    font-size: 1.45rem;
  }
}
