:root {
  --background: #f9f3e9;
  --surface: #fefcf9;
  --on-background: #221b16;
  --primary: #01383e;
  --primary-darken: #012a2f;
  --muted: #68625c;
  --outline: #8a8279;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--on-background);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.5;
}

main {
  flex: 1;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 4rem 1rem 2rem;
  text-align: center;
}

.icon {
  width: 96px;
  height: 96px;
}

h1 {
  margin: 1rem 0 0.5rem;
  color: var(--primary);
  font-size: 2.25rem;
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
}

.status {
  display: inline-block;
  margin: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--surface);
  font-weight: 600;
}

footer {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
}

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

a:hover {
  color: var(--primary-darken);
}

.site-header {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1rem 0;
}

.site-header a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header img {
  width: 32px;
  height: 32px;
}

.document {
  max-width: 44rem;
  padding: 1.5rem 1rem 2rem;
  text-align: start;
  overflow-wrap: break-word;
}

.document h1 {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.document h2 {
  margin: 2rem 0 0.5rem;
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1.3;
}

.document h3 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.0625rem;
}

.document p,
.document ul,
.document ol {
  margin: 0 0 0.75rem;
}

.document ul,
.document ol {
  padding-inline-start: 1.25rem;
}

.document li + li {
  margin-top: 0.25rem;
}

.updated {
  color: var(--muted);
  font-size: 0.875rem;
}

.callout {
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--outline);
}

.callout h2 {
  margin-top: 0;
}

.button {
  display: inline-block;
  margin: 0.25rem 0 0.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-darken);
  color: var(--surface);
}

.document table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.document th,
.document td {
  padding: 0.5rem;
  border-bottom: 1px solid var(--outline);
  text-align: start;
  vertical-align: top;
}

.document th {
  color: var(--primary);
}

.document tbody th {
  font-weight: 600;
}

@media (max-width: 40rem) {
  .document thead {
    display: none;
  }

  .document table,
  .document tbody,
  .document tr,
  .document th,
  .document td {
    display: block;
  }

  .document tr {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--outline);
  }

  .document th,
  .document td {
    padding: 0.25rem 0;
    border: none;
  }

  .document tbody th {
    font-weight: 700;
  }

  .document td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
  }
}
