/* baocampus.com: one stylesheet for every page. System fonts only, so a
   phone on a weak connection downloads no font. */
:root {
  color-scheme: light;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --paper: #f5f5f4;
  /* The deep green of the baobab in the logo. */
  --accent: #007b58;
  --accent-pressed: #00624a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

/* On the narrowest phones the links move under the name rather than
   squeezing "Se connecter" onto two lines. */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 0.5rem;
  padding: 0.5rem 0.625rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 1.75rem;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-left: auto;
}

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.4375rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.top nav .sign-in {
  border: 1px solid var(--accent);
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

h1 {
  margin: 0.5rem 0 1rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

li {
  margin: 0.375rem 0;
}

.updated,
.release {
  color: var(--muted);
  font-size: 0.9375rem;
}

.download {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.download:hover,
.download:active {
  background: var(--accent-pressed);
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

footer {
  padding: 1rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.5rem;
}
