/* Layout for the privacy policy and the public delete-account page.
   Shares the approved landing palette; legal copy and links stay in plain HTML. */
:root {
  --ink: var(--fr-ink);
  --mute: var(--fr-muted);
  --line: var(--fr-line);
  --paper: var(--fr-canvas);
  --navy: var(--fr-accent);
}

body { background: var(--paper); color: var(--ink); }
.connection-logo { width: auto; height: 36px; max-width: none; flex: none; }
html[data-theme="dark"] .connection-logo { filter: brightness(0) invert(1); }
.blog-header { border-bottom: 1px solid var(--line); padding: 22px 0 0; background: var(--paper); }
.blog-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.blog-side-start { grid-column: 1; }
.brand-home {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.35rem;
}
.brand-home:hover { color: var(--ink); }
.brand-domain { color: var(--mute); font-weight: 650; }
.blog-side-end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sign-in { color: var(--ink); font-weight: 600; text-decoration: none; }
.sign-in:hover { color: var(--ink); text-decoration: underline; }
.blog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 14px 0 0;
}
.blog-nav a {
  color: var(--mute);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
}
.blog-nav a:hover,
.blog-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: currentColor; }
.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}
.theme-toggle .ico { grid-area: 1 / 1; width: 20px; height: 20px; }
.theme-toggle .theme-sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
.legal { padding: 2rem 0 3rem; }
.legal-body { max-width: 42rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.35rem; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal li { margin: 0.35rem 0; }
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; background: var(--paper); }
.crew { color: var(--mute); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.9rem; margin: 0; padding: 0; }
.footer-links a { color: var(--navy); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .blog-header { padding-top: 16px; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-side-start { display: none; }
  .brand-home { grid-column: 1; justify-self: start; }
  .blog-side-end { grid-column: 1; justify-self: end; }
  .blog-nav { gap: 8px 16px; }
}
