/* SimBusiness legal pages (Privacy, Terms) -- shares the palette and chrome
   with index.html so the documents feel like part of the site. */

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

:root {
  --bg:      #081420;
  --bg2:     #0d1e30;
  --card:    #0f2035;
  --text:    #e3f1ff;
  --text2:   #9bc3dd;
  --text3:   #5e89a8;
  --cyan:    #22d3ee;
  --gold:    #f5a623;
  --green:   #22c55e;
  --border:  rgba(40, 100, 180, 0.28);
  --border2: rgba(60, 140, 220, 0.45);
  --radius:  12px;
  --font:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-w:   1080px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* -- Buttons (mirrors index.html) -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  line-height: 1.2;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cyan); color: #081420; }
.btn-outline { background: transparent; color: var(--cyan); border: 1.5px solid var(--cyan); }

/* -- Nav (mirrors index.html) -- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 20, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img { width: 30px; height: 30px; }
.nav-logo span { color: var(--cyan); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* -- Document body -- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.legal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.legal h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 14px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text3);
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}

.legal p { color: var(--text2); margin-bottom: 16px; }
.legal ul { color: var(--text2); margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }

/* Callout used for the entertainment-only / not-advice notice */
.legal-callout {
  background: rgba(245, 166, 35, 0.10);
  border: 1px solid rgba(245, 166, 35, 0.45);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 32px;
}
.legal-callout p { color: var(--text); margin: 0; font-size: 15px; }
.legal-callout strong { color: var(--gold); }

.legal-sep { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* -- Footer (mirrors index.html) -- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 30px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo { font-size: 15px; font-weight: 700; color: var(--text2); }
.footer-logo span { color: var(--cyan); }
.footer-logo:hover { text-decoration: none; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text3); transition: color 0.15s; }
.footer-links a:hover { color: var(--text2); text-decoration: none; }

.footer-copy { font-size: 13px; color: var(--text3); }

.footer-disclaimer {
  max-width: var(--max-w);
  margin: 18px auto 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text3);
  text-align: center;
}

@media (max-width: 768px) {
  .legal { padding: 40px 20px 56px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-cta .btn-outline { display: none; }
}
