/* jigPop! site. System fonts only, nothing loaded from other hosts.
   Brand colour is DMC 807 Peacock Blue: AccentDark (#1C616E) in the app's
   asset catalog. Its lighter tint, AccentColor (#64ABBA), carries links in
   dark mode, where #1C616E is too dark to read. */

:root {
  color-scheme: light dark;
  --brand: #1C616E;
  --bg: #F7F9FA;
  --surface: #FFFFFF;
  --text: #1D2326;
  --muted: #5B666B;
  --rule: #DDE3E6;
  --link: #1C616E;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121516;
    --surface: #1C2022;
    --text: #E8ECEE;
    --muted: #A2ADB2;
    --rule: #2E3538;
    --link: #64ABBA;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border-top: 6px solid var(--brand);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

h1, h2 { line-height: 1.2; }
h1 { font-size: 1.9rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.4rem; }

.home { text-align: center; }

.icon {
  display: block;
  width: 9rem;
  height: 9rem;
  margin: 0 auto 1.5rem;
  border-radius: 22.37%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.subtitle {
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

@media (prefers-color-scheme: dark) {
  .subtitle { color: var(--link); }
}

.lede { margin: 0 auto 2rem; max-width: 32rem; }

.links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.links a { font-weight: 600; }

.back { margin: 0 0 2rem; font-size: 0.95rem; }

/* The support page's first section sits right under the h1, which already
   leaves its own gap; the contact line below it needs the gap a heading
   would have given it. */
h1 + section > h2:first-child { margin-top: 1.25rem; }
.contact-intro { margin-top: 2rem; }

.contact {
  font-size: 1.25rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.effective { color: var(--muted); margin: 0 0 1.5rem; }

footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1.25rem;
}

footer nav { margin-bottom: 0.4rem; }
footer nav a { margin: 0 0.6rem; }
