/* Legal pages only (terms.html, privacy.html). Separate from styles.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #1d1d1f;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: #FB0A7B; text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #FB0A7B; outline-offset: 2px; border-radius: 3px; }

.draft-banner {
  background: #fff4c2;
  border-bottom: 1px solid #f0d76a;
  color: #5c4500;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  padding: 10px 16px;
}
.legal-header { max-width: 720px; margin: 0 auto; padding: 28px 20px 4px; }
.legal-logo { display: inline-block; }
.legal-logo img { display: block; height: 34px; width: auto; }

.legal { max-width: 720px; margin: 0 auto; padding: 8px 20px 48px; }
.legal h1, .legal h2, .legal h3 {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.legal h1 { font-size: 40px; margin: 24px 0 12px; }
.legal h2 {
  font-size: 22px;
  margin: 40px 0 10px;
  padding-top: 20px;
  border-top: 1px solid #f1f1f3;
}
.legal h3 { font-size: 18px; margin: 28px 0 8px; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal li::marker { color: #FB0A7B; }
.legal strong { font-weight: 600; color: #111; }

.callout {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid #FB0A7B;
  background: #fff5fa;
  border-radius: 0 12px 12px 0;
}

.confirm {
  background: #fff1a8;
  color: #6b4e00;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.legal-footer {
  border-top: 1px solid #eee;
  text-align: center;
  padding: 24px 20px 40px;
  font-size: 15px;
  color: #6e6e73;
}
.legal-footer nav { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.legal-footer a { color: #FB0A7B; text-decoration: none; font-weight: 600; }
.legal-footer a[aria-current="page"] { text-decoration: underline; }
.legal-footer p { margin: 10px 0 0; }

@media (max-width: 600px) {
  .legal-header { padding-top: 20px; }
  .legal-logo img { height: 28px; }
  .legal h1 { font-size: 32px; }
  .legal h2 { font-size: 20px; margin-top: 32px; }
  .draft-banner { font-size: 14px; }
}

/* Filled in with a recommended default; founder still confirms. Lighter than .confirm. */
.rec {
  background: #fff9dc;
  border-bottom: 2px dotted #e8c84a;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.rec-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #8a6d00;
  background: #fff1a8;
  border-radius: 999px;
  padding: 0 7px;
  margin-left: 2px;
  vertical-align: 1px;
  white-space: nowrap;
}

/* footer wrap fix (Oct 24 2026): on narrow phones the links wrap as two clean pairs with no stray dot */
.legal-footer .lf-grp { display: inline-flex; gap: 12px; white-space: nowrap; }
@media (max-width: 389px) { .legal-footer nav { row-gap: 8px; } .legal-footer .lf-mid { display: none; } .legal-footer .lf-grp { flex-basis: 100%; justify-content: center; } }
