/* =====================================================
   GCM – Legal Pages (Terms & Privacy Policy)
   Scoped under .gcm-legal — no cross-page conflicts
   ===================================================== */

.gcm-legal {
  --lg-primary:    #f59e0b;
  --lg-primary-dk: #d97706;
  --lg-dark:       #111827;
  --lg-text:       #374151;
  --lg-muted:      #6b7280;
  --lg-bg:         #f9fafb;
  --lg-white:      #ffffff;
  --lg-border:     #e5e7eb;
  --lg-radius:     14px;
  --lg-shadow:     0 4px 24px rgba(0,0,0,.07);
  --lg-warn-bg:    #fff7ed;
  --lg-warn-border:#fed7aa;
  --lg-warn-text:  #9a3412;

  font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
  color: var(--lg-text);
  line-height: 1.75;
  background: var(--lg-white);
}

.gcm-legal *, .gcm-legal *::before, .gcm-legal *::after {
  box-sizing: border-box;
}

/* ── Disclaimer Banner ── */
.gcm-legal__disclaimer {
  background: var(--lg-warn-bg);
  border: 2px solid var(--lg-warn-border);
  border-radius: var(--lg-radius);
  padding: 20px 24px;
  margin: 0 auto 40px;
  max-width: 860px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.gcm-legal__disclaimer-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.gcm-legal__disclaimer-body h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--lg-warn-text);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.gcm-legal__disclaimer-body p {
  margin: 0 0 8px;
  font-size: .92rem;
  color: var(--lg-warn-text);
  font-weight: 500;
}

.gcm-legal__disclaimer-body a {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 16px;
  background: var(--lg-warn-text);
  color: #fff !important;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
  transition: opacity .2s;
}

.gcm-legal__disclaimer-body a:hover { opacity: .85; }

/* ── Hero ── */
.gcm-legal__hero {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  padding: 64px 24px 48px;
  text-align: center;
}

.gcm-legal__hero-eyebrow {
  display: inline-block;
  background: var(--lg-primary);
  color: #000;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.gcm-legal__hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}

.gcm-legal__hero p {
  color: #9ca3af;
  font-size: .95rem;
  margin: 0;
}

/* ── Container ── */
.gcm-legal__wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

/* ── TOC ── */
.gcm-legal__toc {
  background: var(--lg-bg);
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  padding: 24px 28px;
  margin-bottom: 48px;
}

.gcm-legal__toc h2 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lg-muted);
  margin: 0 0 14px;
}

.gcm-legal__toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px 24px;
}

.gcm-legal__toc ol li {
  font-size: .88rem;
}

.gcm-legal__toc ol li a {
  color: var(--lg-primary-dk);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

.gcm-legal__toc ol li a:hover { color: var(--lg-dark); }

/* ── Sections ── */
.gcm-legal__section {
  margin-bottom: 44px;
  scroll-margin-top: 80px;
}

.gcm-legal__section h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--lg-dark);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lg-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.gcm-legal__section h2 .sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--lg-primary);
  color: #000;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.gcm-legal__section p,
.gcm-legal__section li {
  font-size: .93rem;
  color: var(--lg-text);
  margin: 0 0 10px;
}

.gcm-legal__section ul,
.gcm-legal__section ol {
  padding-left: 22px;
  margin: 8px 0 14px;
}

.gcm-legal__section li { margin-bottom: 6px; }

.gcm-legal__section strong { color: var(--lg-dark); }

.gcm-legal__section a {
  color: var(--lg-primary-dk);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Highlight box ── */
.gcm-legal__highlight {
  background: #fffbeb;
  border-left: 4px solid var(--lg-primary);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: .9rem;
  font-weight: 600;
  color: #78350f;
}

/* ── Contact card ── */
.gcm-legal__contact-card {
  background: var(--lg-dark);
  border-radius: var(--lg-radius);
  padding: 28px 32px;
  color: #e5e7eb;
  font-size: .92rem;
}

.gcm-legal__contact-card h3 {
  color: var(--lg-primary);
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
}

.gcm-legal__contact-card a {
  color: var(--lg-primary) !important;
  text-decoration: none;
  font-weight: 700;
}

/* ── Footer bar ── */
.gcm-legal__footer-bar {
  text-align: center;
  padding: 24px;
  font-size: .82rem;
  color: var(--lg-muted);
  border-top: 1px solid var(--lg-border);
  margin-top: 40px;
}

.gcm-legal__footer-bar strong { color: var(--lg-dark); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .gcm-legal__disclaimer { flex-direction: column; gap: 10px; }
  .gcm-legal__toc ol     { grid-template-columns: 1fr; }
  .gcm-legal__hero       { padding: 44px 16px 36px; }
  .gcm-legal__wrap       { padding: 32px 16px 56px; }
  .gcm-legal__contact-card { padding: 20px; }
}
