
:root {
  --paper: #fff;
  --ink: #1a1a1a;
  --accent: #0088FF;
  --rule: #e5e0d5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

h1, h2, p, ul {
    margin: 1.5em 0;
}

h1 {
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4em;
  color: #777;
}

h1 + h2, h2 + p {
    margin-top: -1.8em;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 2.5em 0 -1.1em;
}

hr {
  border: none;
  border-top: 1px solid var(--rule);
}

ul {
    list-style: none;
}

ul.bullets {
    list-style: disc;
    padding-left: 1.2em;
}

ul.bullets li {
    margin: 0.4em 0;
}

.center {
  text-align: center;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  padding: 0.3rem 1.5rem;
  border-radius: 2em;
}

.button:hover {
    background: #009900;
}

.button.disabled {
    background: #eee;
    color: #999;
}

.small {
  margin-top: 0.9rem;
  font-size: 0.9rem;
}

.muted {
    color: #777;
}

footer {
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
  text-align: center;
}

.icon {
    width: 64px;
    height: 64px;
    background-image: url(icon.png);
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 18px;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.03);
}

@media (max-width: 600px) {
  body {
    font-size: 18px;
  }
}

/* People directory */

ul.people {
  margin: 1.5em 0;
}

ul.people li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--rule);
}

ul.people li:last-child {
  border-bottom: 1px solid var(--rule);
}

ul.people .who {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

ul.people .who .small {
  margin: 0;
  white-space: nowrap;
}

ul.people img, ul.people .blank {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  flex: none;
}

ul.people .name {
  flex: 1;
  font-weight: 600;
  overflow-wrap: anywhere;
}

ul.devices li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-top: 1px solid var(--rule);
}

ul.devices li:last-child {
  border-bottom: 1px solid var(--rule);
}

h3 {
  margin-bottom: 0.3em;
}
