/* Shared styling for the policy and contact pages.
   Neutral dark, matching the direction the forum theme moved in. */

:root {
  --bg:       #0F0F11;
  --surface:  #17171A;
  --line:     #2E2E34;
  --text:     #E9E9EC;
  --muted:    #9A9AA3;
  --accent:   #E04FA8;
}

* { box-sizing: border-box }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none }
a:hover { text-decoration: underline }

.wrap { width: min(820px, 92%); margin: 0 auto; padding: 48px 0 72px }

header.top {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
header.top .wrap { padding: 16px 0; display: flex; align-items: center; gap: 20px }
header.top img { height: 34px; width: auto }
header.top nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap }
header.top nav a {
  color: var(--muted); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
header.top nav a:hover { color: var(--text); text-decoration: none }

h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; margin: 0 0 6px }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 36px }
h2 {
  font-size: 19px; font-weight: 700; margin: 36px 0 10px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
h2:first-of-type { border-top: 0; padding-top: 0 }
p, li { color: #D4D4DA }
ul { padding-left: 20px }
li { margin: 6px 0 }

table { width: 100%; border-collapse: collapse; margin: 14px 0 }
th, td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em }
code {
  background: var(--surface); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 4px; font-size: 14px;
}

.note {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 14px 18px; margin: 24px 0;
}
.note p { margin: 0; color: var(--muted); font-size: 15px }

footer.btm {
  border-top: 1px solid var(--line); padding: 26px 0;
  color: var(--muted); font-size: 14px;
}
footer.btm .wrap { padding: 0; display: flex; gap: 20px; flex-wrap: wrap }
footer.btm a { color: var(--muted) }
