/* Colors and lettering follow Wordjack/Views/Theme.swift: Palette and FeltLettering. */
:root, html[data-theme="light"] {
  color-scheme: dark;
  --page-bg: #0d362e;
  --text-light: #fcf4e1;
  --text-muted: #d0dfd4;
  --card-bg: #123f35;
  --header-border: #ffffff26;
}
body {
  min-height: 100vh;
  background-image: url("../img/wordjack-lettering.svg"), radial-gradient(ellipse at 50% 30%, #216e5c, #0d362e 85%);
  background-attachment: fixed;
}
.site-header { gap: 16px; }
.wrap.legal {
  background: #0b3029ed;
  border: 1px solid #f9e5b52e;
  border-radius: 20px;
  padding: 30px;
  margin: 28px auto;
  width: calc(100% - 32px);
  max-width: 640px;
}
.legal { line-height: 1.75; overflow-wrap: anywhere; }
.legal h1 { line-height: 1.2; }
.legal h2 { color: #f5d99f; font-size: 1.25rem; margin-top: 30px; }
a:focus-visible { outline: 2px solid #f5d99f; outline-offset: 5px; }
@media(max-width: 540px) {
  .wrap.legal { padding: 22px 18px; }
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: var(--card-bg);
  text-align: left;
  transition: border-color 0.15s ease;
}

.community-link svg { flex: none; }
.community-link span { display: flex; flex-direction: column; line-height: 1.3; }
.community-link b { color: var(--text-light); font-size: 1rem; }
.community-link:hover { border-color: #ff4500; }
