/* Privacy and Terms pages. Same palette as home.css, app.css, services.css and shell.css:
   change all five together (test/legal.test.mjs checks them). */
:root {
  --lg-accent: #3DDC6B;
  --lg-link: #0B6B2E;
  --lg-ink: #14201A;
  --lg-muted: #46544B;
  --lg-ground: #EEF2EC;
  --lg-card: #FFFFFF;
  --lg-tint: #EAFBF0;
  --lg-note: #E6ECE7;
  --lg-border: #7A8D81;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--lg-ground);
  color: var(--lg-ink);
  font: 400 1rem/1.6 "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.lg-head {
  background: var(--lg-ink);
  color: #fff;
  padding: calc(14px + env(safe-area-inset-top, 0)) 20px 0;
}
.lg-head-row { display: flex; align-items: center; justify-content: space-between; max-width: 44rem; margin: 0 auto; }
.lg-logo { display: block; height: 56px; width: auto; }
.lg-back {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px;
  color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.lg-line { display: block; height: 3px; margin: 14px -20px 0; background: var(--lg-accent); }
main { max-width: 44rem; margin: 0 auto; padding: 24px 20px 40px; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 6px; font-weight: 700; }
h2 { font-size: 1.2rem; line-height: 1.3; margin: 32px 0 8px; font-weight: 700; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 6px; }
.lg-date { color: var(--lg-muted); margin-bottom: 20px; }
.lg-short { background: var(--lg-tint); border-left: 4px solid var(--lg-link); padding: 14px 16px; border-radius: 6px; margin-bottom: 8px; }
.lg-short p:last-child { margin-bottom: 0; }
.lg-note { background: var(--lg-note); padding: 12px 14px; border-radius: 6px; color: var(--lg-ink); }
.lg-jump { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; padding: 0; list-style: none; }
.lg-jump a { display: inline-flex; align-items: center; min-height: 48px; }
a { color: var(--lg-link); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--lg-ink); outline-offset: 2px; border-radius: 2px; }
.lg-head a:focus-visible { outline-color: var(--lg-accent); }
.lg-foot { max-width: 44rem; margin: 0 auto; padding: 0 20px 32px; color: var(--lg-muted); }
.lg-foot a { display: inline-flex; align-items: center; min-height: 48px; margin-right: 16px; }
.lg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px;
  background: var(--lg-accent); color: var(--lg-ink); font-weight: 700; text-decoration: none; }
.lg-btn:focus-visible { outline: 3px solid var(--lg-ink); outline-offset: 2px; }
