/* Mendtide legal pages — shared minimal stylesheet.
   System font stack, mobile-first, no JS, no tracking.
   Color palette matches the Mendtide app's mauve accent
   without requiring any custom font loads. */

* { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1c1c1e;
  background: #fafaf9;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e4e2;
}

header .brand {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e5594; /* Mendtide mauve */
  text-decoration: none;
}

header .brand:hover {
  color: #5a4378;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 16px 0 8px;
  color: #1c1c1e;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 40px 0 12px;
  color: #1c1c1e;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: #1c1c1e;
}

.meta {
  font-size: 0.875rem;
  color: #6e6e73;
  margin: 0;
}

p {
  margin: 0 0 16px;
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

a {
  color: #6e5594;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #5a4378;
}

strong {
  font-weight: 600;
  color: #1c1c1e;
}

.callout {
  background: #f4f0fa;
  border-left: 3px solid #6e5594;
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 4px;
}

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

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #e5e4e2;
  font-size: 0.875rem;
  color: #6e6e73;
}

footer a {
  color: #6e6e73;
}

footer a + a {
  margin-left: 16px;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #f5f4f1;
    background: #161614;
  }
  header { border-bottom-color: #2a2a28; }
  h1, h2, h3, strong { color: #f5f4f1; }
  .meta, footer, footer a { color: #a8a8ad; }
  header .brand { color: #b89df0; }
  header .brand:hover { color: #d4c1f5; }
  a { color: #b89df0; }
  a:hover { color: #d4c1f5; }
  .callout { background: #221d2e; border-left-color: #b89df0; }
  footer { border-top-color: #2a2a28; }
}
