/* Legal pages & extended footer — Day Strike Trading */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #131313;
  --fg: #f5f5f4;
  --fg-muted: rgba(245, 245, 244, 0.62);
  --fg-faint: rgba(245, 245, 244, 0.32);
  --line: rgba(245, 245, 244, 0.12);
  --line-strong: rgba(245, 245, 244, 0.24);
  --gold: #c9a24a;
  --gold-light: #e8c97a;
  --gold-glow: rgba(201, 162, 74, 0.22);
  --gold-line: rgba(201, 162, 74, 0.18);
  --strike: #6df0ff;
  --t-xs: 11px;
  --t-sm: 13px;
  --t-base: 15px;
  --t-md: 18px;
  --t-lg: 24px;
  --t-xl: 40px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 40px;
  --s-6: 64px;
  --s-7: 96px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  padding: 0 var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  border-bottom: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.88) 100%);
  backdrop-filter: blur(12px);
}

.legal-nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.legal-nav .brand-logo--mark {
  display: block;
  height: 70px;
  width: auto;
  min-width: 54px;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 20px rgba(201, 162, 74, 0.35));
}

.brand-logo--footer {
  width: min(240px, 58vw);
  margin: 0 auto var(--s-5);
  opacity: 0.9;
  filter: drop-shadow(0 4px 28px var(--gold-glow));
}

.footer-brand {
  display: block;
  text-align: center;
  text-decoration: none;
  line-height: 0;
}

.legal-nav-back {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.legal-nav-back:hover { color: var(--gold-light); }

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-6) var(--s-5) var(--s-7);
}

.legal-title {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s-3);
}

.legal-updated {
  font-size: var(--t-xs);
  color: var(--fg-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

.legal-meta {
  font-size: var(--t-sm);
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: var(--s-6);
  padding: var(--s-4) var(--s-4);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-elevated);
}

.legal-section a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover { color: var(--strike); }

.legal-section {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--s-4);
}

.legal-section h3 {
  font-size: var(--t-base);
  font-weight: 600;
  margin: var(--s-4) 0 var(--s-3);
  color: var(--fg);
}

.legal-section p {
  color: var(--fg-muted);
  margin-bottom: var(--s-3);
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  color: var(--fg-muted);
  margin: var(--s-3) 0 var(--s-3) var(--s-4);
}

.legal-section li { margin-bottom: var(--s-2); }

.site-footer {
  border-top: 1px solid var(--gold-line);
  padding: var(--s-7) var(--s-5) var(--s-5);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 74, 0.06), transparent 55%),
    var(--bg);
}

.site-footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
  list-style: none;
}

.site-footer-links a {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.site-footer-links a:hover { color: var(--gold-light); }

.site-footer-copy {
  font-size: var(--t-sm);
  color: var(--fg-muted);
  margin-bottom: var(--s-4);
}

.site-footer-risk {
  font-size: var(--t-xs);
  line-height: 1.65;
  color: var(--fg-faint);
}

@media (max-width: 600px) {
  .legal-nav {
    height: 68px;
    padding: 0 var(--s-4);
  }
  .legal-nav .brand-logo--mark {
    height: 60px;
    max-height: 60px;
    min-width: 46px;
  }
  .legal-main { padding: var(--s-5) var(--s-4) var(--s-6); }
  .legal-title { font-size: var(--t-lg); }
}
