/* Bravura — shared legal stylesheet (privacy + terms) */

.legal-page { background-color: #FBF8F6; color: #191512; }

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

html { font-size: 16px; }

body {
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #FBF8F6;
  color: #191512;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Legal header (div/header element, never a section) */
.legal-header {
  background: linear-gradient(135deg, #7C2D12 0%, #C2410C 100%);
  color: #FFFFFF;
  border-bottom: 4px solid #F97316;
}

.legal-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 26px 24px 44px;
}

.legal-header .brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.legal-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.legal-header .home-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FED7AA;
  border: 1px solid #F97316;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-header .home-link:hover { background: #F97316; color: #FFFFFF; }

.legal-header h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.legal-header .subtitle {
  color: #FED7AA;
  font-size: 1.02rem;
}

/* Content */
.legal-content { padding: 40px 0 60px; }

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

/* Table of contents */
.toc {
  background: #FFFFFF;
  border: 1px solid #EADDD3;
  border-left: 4px solid #F97316;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc h2 {
  font-size: 1.15rem;
  color: #C2410C;
  margin-bottom: 14px;
}

.toc ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.toc a {
  color: #4A3B31;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.toc a:hover { color: #C2410C; }

/* Sections */
.legal-content section { margin-bottom: 42px; }

/* Scope isolation: prevent any homepage section styling from leaking */
.legal-page .legal-content section { background-color: transparent !important; }

.legal-content h2 {
  color: #C2410C;
  font-size: 1.6rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FED7AA;
}

.legal-content h3 {
  color: #191512;
  font-size: 1.15rem;
  margin: 20px 0 8px;
}

.legal-content p {
  color: #4A3B31;
  margin-bottom: 16px;
}

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

.legal-content ul li,
.legal-content ol li {
  margin-bottom: 8px;
  list-style: disc;
}

.legal-content ol li { list-style: decimal; }

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

/* Footer */
.legal-footer {
  background: #2A1607;
  color: #F5E8DF;
  border-top: 4px solid #F97316;
  padding: 26px 24px;
}

.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.legal-footer a { color: #FED7AA; font-weight: 600; }
.legal-footer a:hover { color: #F97316; }

@media (max-width: 640px) {
  .legal-header h1 { font-size: 2rem; }
  .toc ul { grid-template-columns: 1fr; }
}
