/* Terms/Privacy pages are plain scrolling documents, not the map's fixed
   full-viewport canvas app -- style.css (loaded before this) supplies the
   shared color tokens/eve-panel/button styles, and everything here just
   overrides the map-specific "html,body{overflow:hidden}" layout rules and
   adds document typography on top. */

html.legal-html,
body.legal-body {
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-page h1 {
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
}

.legal-page .subtitle {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0 0 2rem;
}

.legal-page h2 {
  font-size: 1rem;
  margin: 2rem 0 0.6rem;
  color: var(--accent);
}

.legal-page p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

.legal-page ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.legal-page li {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 0.4rem;
}

.legal-page a {
  color: var(--accent);
}

.legal-page strong {
  color: var(--text);
}
