/* ══════════════════════════════════════════════════
   BLACKBOARD — LEGAL & INFO PAGE STYLES
   Shared by faqs.html, privacy.html, gdpr.html,
   terms.html and cookies.html.
══════════════════════════════════════════════════ */

:root {
  --void:      #060608;
  --deep:      #0d0d10;
  --surface:   #14141a;
  --raised:    #1e1e26;
  --line:      #3a3a44;
  --line-soft: #2c2c34;
  --ghost:     #d4d4dc;
  --smoke:     #e8e8ec;
  --chalk:     #f7f7f5;
  --white:     #ffffff;
  --cream:     #f8f7f4;
  --warm:      #ede9e0;
  --purple:    #4B0082;
  --gold:      #DAA520;
  --gold-soft: #e8c878;

  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   20px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:   cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--chalk);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.75;
  font-size: var(--text-base);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  opacity: 0.3;
  mix-blend-mode: overlay;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 800;
  height: 64px;
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 36px; width: auto; }
.nav-back {
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--smoke);
  transition: color 0.2s;
}
.nav-back:hover { color: var(--white); }

/* LEGAL HERO */
.legal-hero {
  padding: 100px 60px 72px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(218, 165, 32, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 30% 100%, rgba(75, 0, 130, 0.10) 0%, transparent 60%),
    var(--void);
}
.legal-hero-inner { max-width: 980px; margin: 0 auto; }
.legal-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.legal-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 22px;
}
.legal-hero p.lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--white);
  max-width: 740px;
  font-weight: 300;
}
.legal-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: var(--text-sm);
  color: var(--smoke);
}
.legal-meta span strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 6px;
  font-weight: 500;
}

/* MAIN CONTENT */
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 60px;
}
.legal-body h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--white);
  margin: 64px 0 22px;
  letter-spacing: -0.005em;
  line-height: 1.25;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--gold-soft);
  margin: 36px 0 14px;
  letter-spacing: .02em;
}
.legal-body p {
  font-size: var(--text-base);
  color: var(--chalk);
  margin-bottom: 20px;
  line-height: 1.75;
}
.legal-body p:last-child { margin-bottom: 0; }
.legal-body strong { color: var(--white); font-weight: 600; }
.legal-body em { color: var(--smoke); font-style: italic; }
.legal-body ul, .legal-body ol {
  margin: 14px 0 28px 24px;
  color: var(--chalk);
  font-size: var(--text-base);
}
.legal-body li {
  margin-bottom: 12px;
  line-height: 1.75;
  padding-left: 6px;
}
.legal-body li::marker { color: var(--gold-soft); }
.legal-body a.inline {
  color: var(--gold);
  border-bottom: 1px solid rgba(218, 165, 32, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.legal-body a.inline:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

/* TABLES */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 36px;
  font-size: var(--text-sm);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}
.legal-table th, .legal-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  color: var(--chalk);
  line-height: 1.65;
}
.legal-table th:last-child, .legal-table td:last-child { border-right: none; }
.legal-table thead th {
  background: var(--raised);
  color: var(--gold-soft);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.legal-table strong { color: var(--white); font-weight: 600; }

/* FAQ STYLE */
.faq-section { margin-bottom: 64px; }
.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: var(--text-md);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.faq-a {
  color: var(--chalk);
  font-size: var(--text-base);
  line-height: 1.75;
}

/* CALLOUT BOX */
.callout {
  background: linear-gradient(135deg, var(--surface) 0%, var(--raised) 100%);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  margin: 28px 0;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.callout p {
  color: var(--chalk);
  margin-bottom: 0;
}
.callout p + p { margin-top: 10px; }
.callout strong { color: var(--gold-soft); }

/* CONTACT BLOCK */
.contact-block {
  margin-top: 56px;
  padding: 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--raised) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.contact-block h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--white);
  font-size: var(--text-lg);
}
.contact-block p {
  margin-bottom: 10px;
  color: var(--chalk);
}
.contact-block p:last-child { margin-bottom: 0; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 64px 60px 36px;
  background: var(--deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--smoke);
  line-height: 1.7;
  max-width: 220px;
  margin-bottom: 10px;
}
.footer-brand em {
  font-style: italic;
  color: var(--gold);
  font-size: var(--text-sm);
}
.footer-col h4 {
  font-size: var(--text-xs);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--smoke);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--smoke);
}
.footer-socials { display: flex; gap: 22px; }
.footer-socials a {
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .legal-hero { padding: 64px 24px 48px; }
  .legal-body { padding: 56px 24px; }
  .legal-body h2 { font-size: 24px; }
  .footer { padding: 48px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 14px 16px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .legal-hero h1 { font-size: 32px; }
  .legal-meta { gap: 20px; }
  .legal-hero p.lede { font-size: var(--text-md); }
}
