/* ===== Terms Page Styles ===== */
/* Scoped so only applies when body has class="terms-page" */

:root {
  --t-bg: #ffffff;
  --t-fg: #0a0a0a;
  --t-muted: #666666;
  --t-border: #e5e5e5;
  --t-link: #111111;
  --t-link-hover: #000000;
}

body.terms-page {
  background: #E0E0E0;
  color: #0a0a0a !important;  /* force black text */
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.terms-page .terms-wrap {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px;
  color: #0a0a0a !important;  /* double safety */
}


/* Typography */
.terms-wrap h1, 
.terms-wrap h2, 
.terms-wrap h3 {
  line-height: 1.25;
  font-weight: 600;
}

.terms-wrap h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
  text-align: center;
}

.terms-wrap h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.terms-wrap h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 .75rem;
}

.terms-wrap .meta {
  color: var(--t-muted);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Paragraphs & lists */
.terms-wrap p {
  margin: 0 0 1rem;
}

.terms-wrap ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.terms-wrap li + li {
  margin-top: .35rem;
}

/* Links */
.terms-wrap a {
  color: var(--t-link);
  text-decoration: underline;
}
.terms-wrap a:hover {
  color: var(--t-link-hover);
}

/* Callout box */
.terms-wrap .callout {
  border-left: 3px solid var(--t-border);
  padding: .75rem 1rem;
  background: #fafafa;
  margin: 1rem 0 2rem;
  color: #222;
  border-radius: 4px;
}

/* Horizontal rule */
.terms-wrap hr {
  border: 0;
  border-top: 1px solid var(--t-border);
  margin: 2rem 0;
}

/* Footer note */
.terms-wrap footer {
  margin-top: 3rem;
  color: var(--t-muted);
  font-size: .9rem;
  text-align: center;
}
