/* Mundis landing — OrbitColors tokens (dark dusk mood) */
:root {
  --bg: #0e1220;
  --bg-panel: #1b2340;
  --bg-panel-light: #242c4d;
  --ember: #ff7a45;
  --gold: #ffd37a;
  --cream: #fcf6ec;
  --text: #f4efe6;
  --muted: #8891aa;
  --line: rgba(244, 239, 230, 0.1);
  --glow: rgba(255, 122, 69, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.display { font-family: 'Fraunces', Georgia, serif; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(14px);
  background: rgba(14, 18, 32, 0.72);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--gold), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex; align-items: center; gap: 22px;
  font-size: 0.88rem; color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 0.85rem; font-weight: 600; padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--text);
  transition: border-color .2s, background .2s;
}
.nav-cta:hover {
  border-color: var(--ember);
  background: rgba(255, 122, 69, 0.1);
}

/* ---------- legal pages ---------- */
.legal { padding: 140px 0 100px; min-height: 100vh; }
.legal-inner { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.legal .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.legal .eyebrow .dot { color: var(--ember); }
.legal h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 600; font-style: italic;
  line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.legal .updated {
  font-size: 0.78rem; color: var(--muted); margin-bottom: 36px;
}
.legal h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin: 36px 0 10px;
}
.legal p, .legal li {
  color: var(--muted); font-size: 0.96rem; line-height: 1.7;
  margin-bottom: 12px; white-space: pre-line;
}
.legal ul { margin: 8px 0 18px 1.15rem; color: var(--muted); }
.legal a.inline {
  color: var(--gold); text-decoration: underline; text-underline-offset: 3px;
}
.legal a.inline:hover { color: var(--text); }

/* ---------- footer ---------- */
footer { padding: 40px 32px 28px; border-top: 1px solid var(--line); }
.foot-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding-bottom: 24px;
  max-width: 1120px; margin: 0 auto;
}
.foot-links {
  display: flex; gap: 26px; font-size: 0.85rem; color: var(--muted);
  flex-wrap: wrap; justify-content: center;
}
.foot-links a:hover { color: var(--text); }
.foot-bottom {
  max-width: 1120px; margin: 0 auto;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 0.74rem; color: var(--muted); text-align: center;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .foot-top { flex-direction: column; text-align: center; }
}
