:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #1d2730;
}

main {
  max-width: 42rem;
  margin: 12vh auto;
  padding: 2.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem #14202b1a;
}

.eyebrow {
  color: #526676;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: .25rem 0 1rem;
}

section {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #dce2e7;
}

.status {
  display: inline-block;
  width: .65rem;
  height: .65rem;
  margin-right: .45rem;
  border-radius: 50%;
  background: #24945b;
}

.progress {
  position: relative;
  width: 100%;
  height: 3rem;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #dce2e7;
  box-shadow: 0 .5rem 2rem #14202b26;
}

.progress__fill {
  width: 0;
  height: 100%;
  background: #24945b;
  transition: width .12s linear;
}

.progress__value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111820;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #10161b;
    color: #e8edf1;
  }

  main {
    background: #182129;
  }

  .progress {
    background: #33404a;
  }

  .progress__value {
    color: #f4f7f9;
  }
}
