/* Shared layout for the legal pages (privacy.html, terms.html).
   Kept in its own file rather than duplicated inline in both: these two pages are near-identical
   in structure and will be edited together whenever the policy changes. */

.lg-hero {
  position: relative;
  padding: 150px 24px 60px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.lg-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 50% 50%, rgba(201,162,39,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.lg-hero-title {
  font-family: "Cinzel", "Georgia", serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  background: linear-gradient(135deg, #f5d87a 0%, #c9a227 55%, #9a7310 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
}
.lg-updated {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.lg-body { background: var(--bg2); padding: 64px 24px 90px; border-bottom: 1px solid var(--border); }
.lg-content { max-width: 760px; margin: 0 auto; }

/* Short orientation box at the top — the plain-language version of what follows. */
.lg-summary {
  background: rgba(201,162,39,0.06);
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 44px;
}
.lg-summary p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.8; }
.lg-summary strong { color: var(--gold); }

.lg-h2 {
  font-family: "Cinzel", "Georgia", serif;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--gold);
  margin: 44px 0 14px;
  scroll-margin-top: 100px;
}
.lg-h2:first-of-type { margin-top: 0; }
.lg-h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.lg-p { color: var(--text-dim); font-size: 15.5px; line-height: 1.85; margin: 0 0 14px; }
.lg-p strong { color: var(--text); font-weight: 600; }
.lg-p a { color: var(--gold); text-decoration: none; }
.lg-p a:hover { text-decoration: underline; }

.lg-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.lg-list li { color: var(--text-dim); font-size: 15.5px; line-height: 1.75; padding-left: 22px; position: relative; }
.lg-list li::before { content: '›'; position: absolute; left: 0; color: var(--gold); font-size: 18px; line-height: 1.3; }
.lg-list li strong { color: var(--text); font-weight: 600; }

/* Third-party processors: a table is the honest format here — who, and what they receive. */
.lg-table-wrap { overflow-x: auto; margin: 0 0 16px; }
.lg-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.lg-table th, .lg-table td {
  text-align: left; padding: 11px 14px; font-size: 14px; line-height: 1.6;
  border-bottom: 1px solid rgba(201,162,39,0.13);
}
.lg-table th { color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.lg-table td { color: var(--text-dim); }
.lg-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }

.lg-callout {
  background: rgba(224,100,74,0.07);
  border: 1px solid rgba(224,100,74,0.28);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 16px;
}
.lg-callout p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.8; }
.lg-callout strong { color: #e0644a; }

.lg-note { font-size: 13.5px; color: var(--text-dim); line-height: 1.7; font-style: italic; margin: 34px 0 0; }

@media (max-width: 600px) {
  .lg-hero { padding: 118px 20px 48px; }
  .lg-body { padding: 48px 20px 70px; }
  .lg-p, .lg-list li { font-size: 14.5px; }
  .lg-summary { padding: 16px 18px; }
}
