/* ============================================================
   Homestocking — shared styles for the Legal Notice / Privacy
   pages. Reuses the design tokens + page shell (nav, footer,
   body background) from styles.css; this adds the prose layout.
   ============================================================ */

.legal-main { flex: 1 0 auto; padding: 28px 0 72px; }

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal .back {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 13px; color: var(--fg-mut);
  margin-bottom: 22px; transition: color .2s;
}
.legal .back:hover { color: var(--green-deep); }
:root[data-theme="dark"] .legal .back:hover { color: var(--beam-2); }

.legal h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0 0 6px;
}
.legal .updated {
  font-family: var(--mono); font-size: 12.5px; color: var(--fg-faint);
  margin: 0 0 36px; letter-spacing: .02em;
}

.legal h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -.01em;
  font-size: 21px; line-height: 1.25; margin: 38px 0 12px;
  padding-top: 22px; border-top: 1px solid var(--line-2);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }

.legal h3 {
  font-family: var(--body); font-weight: 600; font-size: 16px;
  margin: 22px 0 8px;
}

.legal p, .legal li {
  color: var(--fg-soft); font-size: 16px; line-height: 1.7; text-wrap: pretty;
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 0 0 7px; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; }
:root[data-theme="dark"] .legal a { color: var(--beam-2); }
.legal code, .legal .mono { font-family: var(--mono); font-size: .92em; }

/* Bracketed placeholders the operator must fill before launch. */
.legal .fill {
  font-family: var(--mono); font-size: .9em; font-style: normal;
  color: var(--amber); background: var(--tag-green-bg);
  border: 1px dashed var(--green-line); border-radius: 6px; padding: 1px 6px;
}

/* Address / contact block */
.legal address {
  font-style: normal; font-family: var(--mono); font-size: 14.5px;
  line-height: 1.8; color: var(--fg-soft);
  background: var(--input-bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; margin: 0 0 16px;
}
