/*
  Shared layout for the High Five legal documents (privacy, terms, community
  guidelines). Base tokens, reset, fonts and the language switcher come from
  site.css; this file only adds the long-form document styling.
*/
body {
  background: radial-gradient(120% 90% at 50% 0%, #16241f 0%, var(--bg) 45%)
    no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
  padding: 40px 24px 72px;
}
.doc {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}
header.masthead {
  text-align: center;
  margin-bottom: 40px;
}
.wordmark {
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}
.wordmark span {
  color: var(--accent);
}
h1 {
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  margin: 22px 0 8px;
}
.updated {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
section {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 16px;
}
h2 {
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--text);
}
h2 .idx {
  color: var(--accent);
  margin-right: 8px;
}
h3 {
  font-weight: 700;
  font-size: 15px;
  margin: 16px 0 6px;
  color: var(--text);
}
p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 10px;
}
ul {
  margin: 4px 0 10px 20px;
}
li {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 8px;
}
strong {
  color: var(--text);
  font-weight: 700;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.callout {
  border-left: 3px solid var(--accent);
  background: rgba(78, 222, 163, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0;
}
.callout p {
  color: var(--text);
  margin: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 4px;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  color: var(--muted);
}
th {
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
footer.pagefoot {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}
footer.pagefoot a {
  font-weight: 700;
}
footer.pagefoot .links {
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
footer.pagefoot .links a {
  color: var(--accent);
}
