/* The public pages — landing, privacy, terms. Loaded after palette.css, so every
   colour here is a palette token. Two jobs only: the site footer (who runs this,
   how to reach them, the legal links and the trademark line) and long-form legal
   text. Nothing in the signed-in app reads this file. */

.site-foot {
  width: 100%; max-width: 1040px; margin-inline: auto;
  padding-block: 32px 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-foot a:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }

.foot-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot-cols h2 {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 10px;
}
.foot-cols p { margin: 0 0 6px; }

.foot-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
}
.powered { display: inline-flex; align-items: center; gap: 10px; }
.powered img { width: 26px; height: 26px; border-radius: 6px; flex: none; box-shadow: 0 0 0 1px var(--line-2); }
.powered b {
  font: 700 12px/1.1 Montserrat, "IBM Plex Sans", sans-serif; letter-spacing: .14em;
  color: var(--ink); display: block;
}
.powered small { display: block; font-size: 10px; letter-spacing: .22em; color: var(--muted); margin-top: 2px; }
.foot-tm { margin: 14px 0 0; font-size: 12px; line-height: 1.6; max-width: 80ch; text-wrap: pretty; }

/* ---- legal pages ------------------------------------------------------- */

.legal { padding-inline: 20px; }
.legal-top { max-width: 1040px; margin-inline: auto; padding-block: 22px; }
.legal article { max-width: 70ch; margin: 24px auto 64px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 17px; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 4px; }
.legal address { font-style: normal; }
.legal article a { color: var(--color-accent-deep); }
