/* Metanail Complex — Shared Legal Page Styles */
:root {
  --brand-deep: #1a3a5c;
  --brand-mid: #1f6491;
  --brand-accent: #0aa89e;
  --brand-gold: #f5c842;
  --bg-gray: #f4f7fb;
  --text-main: #1a1f2e;
  --text-muted: #4a566d;
  --border-soft: #e0e7f0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.75; color: var(--text-main);
  background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: #fff; border-bottom: 1px solid var(--border-soft);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(15,37,87,.07);
}
.nav-wrap {
  max-width: 1200px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand {
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: 20px; color: var(--brand-deep); flex-shrink: 0;
}
.brand sup { font-size: 11px; font-family: 'DM Sans', sans-serif; color: var(--brand-accent); }
.nav-links { display: none; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-main); font-weight: 600; font-size: 15px; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-cta {
  background: var(--brand-gold); color: var(--text-main); padding: 10px 18px;
  border-radius: 8px; font-weight: 800; font-size: 13px;
  border: 2px solid var(--text-main); box-shadow: 0 3px 0 var(--text-main);
  transition: all .15s ease; white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--text-main); text-decoration: none; }

/* Legal Hero */
.legal-page-hero {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 100%);
  padding: 60px 16px 44px; text-align: center;
}
.legal-page-hero h1 {
  font-family: 'Playfair Display', serif; color: #fff;
  font-size: 2rem; font-weight: 800; margin-bottom: 10px;
}
@media (min-width: 768px) { .legal-page-hero h1 { font-size: 2.6rem; } }
.legal-page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; }

/* Legal Content */
.legal-content { padding: 50px 16px 70px; }
.legal-inner { max-width: 860px; margin: 0 auto; }
.legal-card {
  background: #fafbfd; border-radius: 12px;
  padding: 32px 24px; box-shadow: 0 2px 18px rgba(0,0,0,.06);
}
@media (min-width: 600px) { .legal-card { padding: 36px 40px; } }
.legal-card h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--brand-deep);
  margin-top: 2rem; margin-bottom: 0.75rem;
  border-left: 4px solid var(--brand-accent); padding-left: 12px;
}
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card p, .legal-card li { font-size: 0.97rem; color: var(--text-muted); line-height: 1.85; }
.legal-card ul { padding-left: 20px; margin-bottom: 1em; }
.legal-card ul li { margin-bottom: 6px; }
.last-updated {
  display: inline-block; background: #e6f0ff; color: var(--brand-deep);
  border-radius: 20px; padding: 4px 16px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 22px;
}
.warning-box {
  background: #fff8e1; border-left: 4px solid #f9a825;
  border-radius: 6px; padding: 18px 22px; margin: 24px 0;
}
.warning-box p { margin: 0; color: #5d4037; font-weight: 500; }

/* Footer */
.site-footer { background: #111827; color: #b8c4d4; padding: 36px 16px 24px; font-size: 14px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-col h5 { color: var(--brand-gold); font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 10px; }
.footer-col h6 { color: #fff; font-size: 14px; margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.footer-col a { color: #b8c4d4; display: block; padding: 4px 0; font-size: 14px; }
.footer-col a:hover { color: var(--brand-gold); text-decoration: none; }
.disclaimer { border-top: 1px solid #2a3244; padding-top: 18px; font-size: 12px; color: #6b7c9a; line-height: 1.7; }
.disclaimer p { margin-bottom: 10px; }
