/* Colours are the app's own tokens (mobile/theme/tokens.ts) so the site and the app read as one product. */
:root {
  --bg: rgb(36, 41, 46);
  --paper: rgb(69, 76, 84);
  --navbar: rgb(48, 54, 61);
  --primary: #cacee2;
  --accent: #84bb8c;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

header {
  background: var(--navbar);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

.bar {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bar img { height: 38px; width: auto; }

nav { display: flex; gap: 8px; align-items: center; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}

nav a:hover { color: var(--text); border-color: var(--border); }
nav a[aria-current="page"] { color: var(--text); border-color: var(--border); background: rgba(255, 255, 255, 0.06); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 8px;
}

h2 {
  font-size: 21px;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

h2:first-of-type { border-top: none; padding-top: 0; margin-top: 32px; }

h3 { font-size: 17px; margin: 24px 0 6px; }

p, li { color: var(--muted); }
p { margin: 0 0 16px; }

.lead { font-size: 19px; color: var(--text); margin-bottom: 32px; }
.date { font-size: 15px; color: rgba(255, 255, 255, 0.4); margin: 0 0 32px; }

a { color: var(--accent); }

ul { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

/* The one thing a support page exists for: the address, impossible to miss. */
.contact {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.contact p { margin: 0 0 4px; color: var(--muted); font-size: 15px; }

.contact a {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}

.contact a:hover { text-decoration: underline; }

.faq { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 20px; }
.faq:first-of-type { border-top: none; }
.faq h3 { color: var(--text); margin-top: 0; }
.faq p:last-child { margin-bottom: 0; }

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

footer p { max-width: 760px; margin: 0 auto; font-size: 14px; color: rgba(255, 255, 255, 0.4); }
footer a { color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 26px; }
  main { padding: 28px 20px 48px; }
  .contact a { font-size: 19px; }
}
