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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

header {
  padding: 40px 0 20px;
  text-align: center;
}

header .logo {
  display: inline-block;
}

header .logo img {
  height: 80px;
  width: auto;
}

/* Main content */

main {
  padding: 0 0 60px;
}

h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #111;
}

h2 {
  font-size: 1.4em;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #111;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3em;
}

h3 {
  font-size: 1.1em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #111;
}

p {
  margin-bottom: 1em;
}

a {
  color: #0366d6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Ordered list (spec items) */

main ol {
  list-style-position: outside;
  padding-left: 1.8em;
  margin-bottom: 1em;
}

main ol > li {
  margin-bottom: 1em;
  padding-left: 0.2em;
}

main ul {
  list-style: disc;
  padding-left: 1.8em;
  margin-bottom: 1em;
}

main ul > li {
  margin-bottom: 0.4em;
}

/* Code and monospace */

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
  background: #f5f5f5;
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

pre {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1em;
}

pre code {
  background: none;
  padding: 0;
}

/* Tables */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}

th,
td {
  text-align: left;
  padding: 8px 12px;
  border: 1px solid #ddd;
}

th {
  background: #f5f5f5;
  font-weight: 600;
}

/* FAQ */

strong {
  font-weight: 600;
}

/* Blockquote */

blockquote {
  border-left: 3px solid #ddd;
  padding-left: 16px;
  margin-bottom: 1em;
  color: #555;
}

/* Footer */

footer {
  border-top: 1px solid #eee;
  padding: 30px 0;
  text-align: center;
  color: #777;
  font-size: 0.9em;
}

footer p {
  margin-bottom: 0.4em;
}

footer a {
  color: #555;
}

footer a:hover {
  color: #0366d6;
}

/* Responsive */

@media (max-width: 600px) {
  h1 {
    font-size: 1.6em;
  }

  h2 {
    font-size: 1.2em;
  }

  header {
    padding: 24px 0 12px;
  }

  header .logo img {
    height: 60px;
  }

  table {
    font-size: 0.85em;
  }

  th,
  td {
    padding: 6px 8px;
  }
}
