:root {
  --accent: #2962ff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

header h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

header a {
  color: var(--text);
  text-decoration: none;
}

main {
  flex: 1;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: min(256px, 60vw);
  height: auto;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0 1rem;
}

.badges img {
  height: 56px;
  width: auto;
  display: block;
}

.links {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.links a,
main a {
  color: var(--accent);
  text-decoration: none;
}

.links a:hover,
main a:hover {
  text-decoration: underline;
}

footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Support page */
.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  padding: 0.5rem;
}

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

.bsg-logo {
  width: min(320px, 80vw);
  height: auto;
  margin-bottom: 1rem;
}

/* Privacy policy page */
.prose {
  text-align: left;
  line-height: 1.6;
}

.prose h1 {
  font-size: 1.5rem;
}

.prose h2 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}
