/* Editools — shared styles for the legal/content pages (Privacy, Terms).
   Token-based only; no inline styles (CSP-safe). Reuses .topbar / .hub-footer
   / .language-switch from shared.css. */

.legal-main { max-width: 760px; margin: 0 auto; padding: 56px 22px 96px; }

.legal-back {
  color: var(--ink-soft); text-decoration: none; font-size: var(--text-small);
  font-weight: 600; letter-spacing: .2px;
}
.legal-back:hover { color: var(--ink); }

.legal-eyebrow {
  display: block; text-transform: uppercase; letter-spacing: 1.5px;
  font-size: var(--text-micro); font-weight: 700; color: var(--accent); margin-bottom: 12px;
}
.legal-main h1 { font-size: 34px; line-height: 1.15; margin: 0 0 10px; color: var(--ink); }
.legal-updated { font-size: var(--text-small); color: var(--muted); margin: 0 0 8px; }

.legal-disclaimer {
  margin: 22px 0 36px; padding: 14px 16px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: var(--text-small); line-height: 1.6; color: var(--ink-soft);
}

.legal-main h2 {
  font-size: 19px; line-height: 1.3; margin: 38px 0 12px; color: var(--ink);
}
.legal-main p { font-size: var(--text-body); line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.legal-main ul { margin: 0 0 14px; padding-left: 20px; }
.legal-main li { font-size: var(--text-body); line-height: 1.7; color: var(--ink-soft); margin-bottom: 8px; }
.legal-main a { color: var(--accent); }
.legal-main strong { color: var(--ink); font-weight: 600; }
.legal-main code {
  font-family: "DM Mono", ui-monospace, monospace; font-size: 0.9em;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 1px 5px; color: var(--ink);
}

/* Small "this is an aid, not final compliance" line for utility tools. */
.tool-disclaimer {
  display: block; margin: 14px 0 0;
  font-size: var(--text-small); line-height: 1.55; color: var(--muted);
}

.legal-foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-foot-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: var(--text-small); font-weight: 600;
}
.legal-foot-nav a:hover { color: var(--ink); }

/* Footer layout — match the home footer on the inner pages (legal/about/tools).
   The home gets these from styles.css; here we mirror them so every page's
   footer looks identical (centered container, spread row, uppercase). */
.hub-footer {
  width: min(1200px, 100%); margin: 30px auto 0; padding: 0 28px;
  position: relative; z-index: 20; min-height: 105px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  color: var(--g-2); font-size: 11px; text-transform: uppercase; letter-spacing: .7px; font-weight: 700;
}
@media (max-width: 680px) {
  .hub-footer {
    padding: 25px 16px; min-height: 125px; margin-top: 20px;
    flex-wrap: wrap; justify-content: center;
  }
  .hub-footer > span:first-child { width: 100%; text-align: center; }
}

/* Footer credit ("… by Julian Fazio") */
.footer-author { color: var(--ink-soft); text-decoration: none; font-weight: 700; }
.footer-author:hover { color: var(--ink); }

/* ---- About / Made by page (subtle, contained cyan nod to the personal brand) ---- */
.made-by-page { --mb-accent: #10b5df; }
.made-by-bio p { font-size: var(--text-emphasis); line-height: 1.65; color: var(--ink); margin: 0 0 16px; }
.made-by-outro { margin: 28px 0 0; font-size: var(--text-body); line-height: 1.65; color: var(--ink-soft); }
.made-by-outro a { color: var(--mb-accent); text-decoration: none; font-weight: 600; }
.made-by-outro a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .legal-main { padding: 36px 18px 72px; }
  .legal-main h1 { font-size: 28px; }
}
