/* Legal document pages (privacy policy / terms of service).
   Intentionally isolated from ../style.css: legal pages must keep rendering
   correctly even if the marketing LP is redesigned. No external resources. */

:root {
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2rem 1.25rem 4rem;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic UI", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 2rem 0 0.75rem;
}

p {
  margin: 0 0 0.9rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

ul {
  margin: 0 0 0.9rem;
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.5rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

a {
  color: #0a66c2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.legal-date {
  margin-top: 2rem;
  color: #555555;
}

.note {
  color: #777777;
  font-size: 0.9rem;
}

.legal-footer {
  max-width: 720px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.legal-footer a {
  color: #555555;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #e6e6e6;
    background-color: #121212;
  }

  a {
    color: #6cb2ff;
  }

  .legal-date,
  .note,
  .legal-footer a {
    color: #a0a0a0;
  }

  .legal-footer {
    border-top-color: #2a2a2a;
  }
}
